:root {
  --bg: #f5f1e8;
  --surface: #fbf8f2;
  --surface-strong: #f1ebe0;
  --text: #161616;
  --muted: #5e5b55;
  --line: rgba(22, 22, 22, 0.12);
  --accent: #7d6942;
  --accent-dark: #5f4f31;
  --ink: #111111;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(17, 17, 17, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.section-head h1,
.hero-copy h1,
.page-hero-copy h1,
.cta-panel h2,
.panel h3,
.lot-copy h3,
.card h3,
.split-copy h2,
.timeline-card h3,
.faq-title,
.contact-card h3 {
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head h2,
.section-head h1,
.split-copy h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.section-head p,
.hero-copy p,
.page-hero-copy p,
.split-copy p,
.cta-panel p,
.meta-list,
.card p,
.timeline-card p,
.faq-answer,
.contact-card p,
.lot-meta,
.stat p,
.inline-note {
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-accent {
  background: var(--accent);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

.brand small {
  display: block;
  font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 0.98rem;
  color: var(--muted);
}

.nav a.active,
.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  top: 27px;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 34px 0 72px;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.auction-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.hero-card,
.page-hero-card,
.feature-card,
.panel,
.timeline-card,
.contact-card,
.news-card,
.lot-card,
.stat-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media,
.page-hero-media,
.split-media img,
.news-card img,
.lot-card img,
.feature-card img,
.card-media {
  min-height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-copy,
.page-hero-copy {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.hero-card {
  overflow: hidden;
  position: relative;
  min-height: 640px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.62)),
    url("../images/hero-home.jpg") center/cover;
  color: var(--white);
}

.hero-card .hero-copy p,
.hero-card .meta-list,
.hero-card .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.hero-card .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.stats-grid,
.card-grid,
.news-grid,
.lots-grid,
.contact-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

[data-slideshow] {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-slideshow {
  height: 550px !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-slideshow .hero-card {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 550px !important;
  max-height: 550px !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease;
  z-index: 1 !important;
  margin: 0 !important;
  pointer-events: none;
  visibility: hidden;
  display: block !important;
  clear: none !important;
  float: none !important;
}

.hero-slideshow .hero-card.active {
  opacity: 1 !important;
  z-index: 2 !important;
  pointer-events: auto;
  visibility: visible;
}

[data-slideshow] .gallery-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

[data-slideshow] .gallery-card.active {
  opacity: 1;
  position: relative;
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  padding: 28px;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
  margin-bottom: 8px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.news-grid,
.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.lots-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.news-card,
.contact-card,
.lot-card {
  overflow: hidden;
}

.card-copy,
.news-copy,
.contact-copy,
.lot-copy {
  padding: 24px;
}

.card h3,
.news-card h3,
.contact-card h3,
.lot-copy h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
}

.meta-list,
.lot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.94rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
}

.split-grid {
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-panel {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: min(300px, calc(100% - 32px));
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
}

.floating-panel strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.timeline-card {
  padding: 28px;
}

.timeline-step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
}

.panel {
  padding: 32px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.auction-hero-grid {
  align-items: stretch;
}

.auction-card {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0.68)),
    url("../images/auction-hero.jpg") center/cover;
  min-height: 560px;
  color: var(--white);
}

.auction-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.auction-meta .panel {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.auction-meta .panel h3,
.auction-card .meta-list,
.auction-card .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.countdown {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.countdown-box {
  min-width: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.countdown-box strong {
  display: block;
  font-size: 1.65rem;
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.faq-title {
  font-size: 1.08rem;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, padding 0.24s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 24px 22px;
}

.cta-panel {
  padding: 44px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 14px 16px;
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.inline-note {
  font-size: 0.92rem;
}

.footer {
  margin-top: 72px;
  padding: 0 0 28px;
  border-top: none;
}

.footer-top {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.footer-top span {
  font-weight: bold;
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
  font-size: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.footer p,
.footer li,
.footer a {
  color: var(--muted);
  font-size: 0.96rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-contact {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.footer-contact strong {
  display: block;
  margin-bottom: 8px;
  font-family: "PMingLiU", "Songti TC", Georgia, serif;
  font-size: 1.2rem;
}

.footer-contact a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .stats-grid,
  .card-grid,
  .feature-grid,
  .news-grid,
  .timeline,
  .lots-grid,
  .contact-grid,
  .footer-grid,
  .panel-grid,
  .cta-panel,
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .auction-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card,
  .auction-card {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(251, 248, 242, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-copy,
  .page-hero-copy,
  .cta-panel,
  .panel,
  .timeline-card {
    padding: 32px;
  }

  .stats-grid,
  .card-grid,
  .feature-grid,
  .news-grid,
  .timeline,
  .lots-grid,
  .contact-grid,
  .panel-grid,
  .cta-panel,
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .auction-hero-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy,
  .page-hero-copy,
  .cta-panel,
  .panel,
  .timeline-card,
  .card-copy,
  .news-copy,
  .contact-copy,
  .lot-copy,
  .stat-card {
    padding: 24px;
  }

  .countdown-box {
    min-width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
  }

  .hero-card,
  .auction-card {
    min-height: 480px;
  }
}
