:root {
  --paper: #f4f0e6;
  --paper-light: #fbf8f1;
  --ink: #1d2922;
  --ink-soft: #536057;
  --tea: #385b44;
  --tea-dark: #20372a;
  --moss: #718263;
  --gold: #a6874e;
  --clay: #a45539;
  --line: rgba(39, 58, 45, 0.16);
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { max-width: 1240px; margin: 0 auto; padding-left: 42px; padding-right: 42px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 42px;
  color: #fff;
  transition: background .35s, color .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--ink);
  background: rgba(244, 240, 230, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-seal {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: "Ma Shan Zheng", cursive;
  font-size: 24px;
}
.brand strong { display: block; font-family: var(--serif); letter-spacing: .15em; font-size: 17px; }
.brand small { display: block; font-size: 8px; letter-spacing: .22em; opacity: .68; }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .1em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; background: none; border: 0; color: currentColor; }

.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background: var(--tea-dark);
}
.hero-track {
  height: 100%;
  display: flex;
  transition: transform .9s var(--ease);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.hero-slide--garden { background-image: url("assets/longjing-garden.jpg"); }
.hero-slide--harvest { background-image: url("assets/tea-harvest.jpg"); background-position: center 44%; }
.hero-slide--ink {
  background:
    radial-gradient(circle at 72% 22%, rgba(201, 188, 148, .28), transparent 25%),
    linear-gradient(145deg, #617362 0%, #2d4434 48%, #172a20 100%);
}
.ink-mountain { position: absolute; inset: 0; overflow: hidden; }
.ink-mountain span {
  position: absolute;
  width: 68vw;
  height: 68vw;
  border-radius: 43% 57% 62% 38%;
  background: rgba(12, 29, 19, .24);
  transform: rotate(38deg);
}
.ink-mountain span:nth-child(1) { left: -18%; bottom: -55%; }
.ink-mountain span:nth-child(2) { left: 32%; bottom: -61%; background: rgba(10, 25, 17, .34); }
.ink-mountain span:nth-child(3) { right: -35%; bottom: -52%; background: rgba(7, 19, 12, .38); }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 15, .72) 0%, rgba(10, 22, 15, .25) 58%, rgba(10, 22, 15, .15)), linear-gradient(0deg, rgba(8, 18, 12, .52), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 42px 13vh;
  color: #fff;
}
.eyebrow, .section-kicker {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.hero .eyebrow { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.hero h1, .hero h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .05em;
  text-shadow: 0 4px 28px rgba(0,0,0,.24);
}
.hero-copy { max-width: 610px; margin: 24px 0 28px; color: rgba(255,255,255,.8); font-size: 16px; }
.text-link { text-decoration: none; display: inline-flex; gap: 14px; align-items: center; font-family: var(--serif); letter-spacing: .13em; }
.text-link span { transition: transform .3s; }
.text-link:hover span { transform: translate(5px, 5px); }
.hero-controls {
  position: absolute;
  right: 42px;
  bottom: 45px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.hero-arrow {
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(0,0,0,.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
}
.hero-arrow:hover { background: rgba(255,255,255,.18); }
.hero-dots { display: flex; gap: 9px; }
.hero-dot { width: 24px; height: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dot.active { width: 48px; background: #fff; }
.scroll-hint {
  position: absolute;
  left: 42px;
  bottom: 46px;
  z-index: 5;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .38em;
  writing-mode: vertical-rl;
}

.intro { padding-top: 125px; padding-bottom: 118px; text-align: center; max-width: 850px; }
.intro h2, .section-heading h2, .feature-copy h2, .ritual-heading h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.35;
  margin: 10px 0 18px;
  letter-spacing: .06em;
}
.gold-line { width: 54px; height: 1px; background: var(--gold); margin: 0 auto 24px; }
.intro > p:last-of-type { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; line-height: 2.2; }
.intro-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-stats div { padding: 24px 8px; border-right: 1px solid var(--line); }
.intro-stats div:last-child { border-right: 0; }
.intro-stats strong { display: block; color: var(--tea); font-family: var(--serif); font-size: 28px; }
.intro-stats span { color: var(--ink-soft); font-size: 11px; letter-spacing: .16em; }

.tea-map { padding-bottom: 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 42px; }
.section-heading > p { max-width: 470px; color: var(--ink-soft); font-size: 14px; }
.tea-filters { display: flex; gap: 10px; margin-bottom: 25px; }
.filter-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
}
.filter-button.active, .filter-button:hover { color: #fff; background: var(--tea); border-color: var(--tea); }
.tea-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 350px;
  gap: 18px;
}
.tea-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff;
  transition: transform .5s var(--ease), opacity .35s;
}
.tea-card:hover { transform: translateY(-5px); }
.tea-card.is-hidden { display: none; }
.tea-card:nth-child(1), .tea-card:nth-child(4) { grid-column: span 7; }
.tea-card:nth-child(2), .tea-card:nth-child(3) { grid-column: span 5; }
.tea-card:nth-child(5), .tea-card:nth-child(6) { grid-column: span 6; }
.tea-card--green { background: linear-gradient(135deg, #78936f, #2c543b); }
.tea-card--white { background: linear-gradient(135deg, #d5cfb9, #8b8c72); }
.tea-card--yellow { background: linear-gradient(135deg, #c7a84e, #7e6a2d); }
.tea-card--oolong { background: linear-gradient(135deg, #875f3f, #3f3124); }
.tea-card--black { background: linear-gradient(135deg, #9e4e36, #4e241c); }
.tea-card--dark { background: linear-gradient(135deg, #504d42, #1f2821); }
.tea-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,18,13,.75), transparent 68%);
}
.tea-card-copy { position: absolute; inset: auto 28px 25px; z-index: 2; }
.tea-card-copy > p:first-of-type { font-family: var(--serif); font-size: 10px; letter-spacing: .2em; opacity: .68; }
.tea-card h3 { font-family: var(--serif); font-size: 31px; margin: 2px 0; }
.tea-number { position: absolute; right: 0; bottom: 2px; font-family: var(--serif); font-size: 64px; opacity: .1; }
.tea-notes { font-size: 13px; letter-spacing: .12em; }
.tea-example { font-size: 11px; opacity: .66; margin-top: 5px; }
.tea-art { position: absolute; inset: 0; }
.leaf { position: absolute; width: 145px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 100% 0 100% 0; transform: rotate(-24deg); }
.leaf::after { content: ""; position: absolute; left: 10%; top: 50%; width: 80%; height: 1px; background: rgba(255,255,255,.22); }
.leaf-a { right: 12%; top: 23%; }
.leaf-b { right: 28%; top: 43%; transform: rotate(20deg) scale(.72); }
.tea-bud { position: absolute; right: 19%; top: 16%; font-family: "Ma Shan Zheng", cursive; font-size: 170px; color: rgba(255,255,255,.13); transform: rotate(9deg); }
.sun-ring, .sunset-disc, .tea-cake { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.sun-ring { width: 185px; height: 185px; right: 12%; top: 12%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 55px rgba(255,255,255,.03); }
.rock-line { position: absolute; inset: 17% 8% auto auto; width: 58%; height: 50%; border: 1px solid rgba(255,255,255,.22); border-radius: 63% 37% 56% 44%; transform: rotate(-12deg); }
.sunset-disc { width: 210px; height: 210px; right: 8%; top: 8%; background: rgba(238,181,121,.18); }
.tea-cake { width: 210px; height: 210px; right: 8%; top: 7%; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.12); font-family: "Ma Shan Zheng", cursive; font-size: 90px; }

.quote-band { padding: 110px 30px; text-align: center; background: var(--paper-light); border-block: 1px solid var(--line); }
.quote-mark { display: block; color: rgba(166,135,78,.25); font-family: Georgia, serif; font-size: 110px; height: 70px; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(24px, 3vw, 37px); letter-spacing: .08em; }
.quote-band p { margin-top: 18px; color: var(--ink-soft); font-size: 12px; letter-spacing: .18em; }

.mountains { padding-top: 130px; padding-bottom: 40px; }
.feature-row { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; margin-bottom: 140px; }
.feature-row--reverse .feature-image { order: 2; }
.feature-row--reverse .feature-copy { order: 1; }
.photo-frame { position: relative; padding: 14px; border: 1px solid var(--line); background: var(--paper-light); }
.photo-frame img { width: 100%; height: 570px; object-fit: cover; filter: saturate(.78) contrast(.98); }
.photo-caption { position: absolute; left: -28px; bottom: 70px; padding: 8px 16px; background: var(--paper); color: var(--tea); font-family: var(--serif); font-size: 9px; letter-spacing: .24em; transform: rotate(-90deg); transform-origin: left bottom; }
.feature-number { display: block; color: rgba(56,91,68,.12); font-family: Georgia, serif; font-size: 106px; line-height: .7; }
.feature-copy > p:not(.section-kicker) { margin: 20px 0 30px; color: var(--ink-soft); font-family: var(--serif); line-height: 2.1; }
.terroir-list { border-top: 1px solid var(--line); }
.terroir-list div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terroir-list dt { font-family: var(--serif); font-weight: 700; color: var(--tea); }
.terroir-list dd { color: var(--ink-soft); font-size: 13px; }
.craft-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.craft-chain span { padding: 8px 14px; border: 1px solid var(--line); background: var(--paper-light); font-family: var(--serif); }
.craft-chain i { color: var(--gold); font-style: normal; }

.ritual { padding: 130px 0; background: var(--tea-dark); color: #e9e5da; }
.ritual-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.ritual-heading > p:last-child { color: rgba(255,255,255,.6); max-width: 420px; }
.ritual-stage { display: grid; grid-template-columns: 260px 1fr; min-height: 480px; background: #ece7db; color: var(--ink); }
.tea-vessel { position: relative; overflow: hidden; background: linear-gradient(145deg, #7d8f76, #465e4d); }
.vessel-body { position: absolute; left: 50%; bottom: 95px; width: 155px; height: 105px; border-radius: 20px 20px 65px 65px; background: #ded5c2; transform: translateX(-50%); box-shadow: inset -15px -9px rgba(80,65,50,.09), 0 25px 30px rgba(0,0,0,.2); }
.vessel-lid { position: absolute; z-index: 2; left: 50%; bottom: 190px; width: 108px; height: 24px; border-radius: 50%; background: #eee8dc; transform: translateX(-50%); }
.vessel-lid::after { content: ""; position: absolute; width: 25px; height: 15px; left: 42px; top: -10px; border-radius: 50% 50% 20% 20%; background: #d5cbb9; }
.steam { position: absolute; bottom: 225px; width: 38px; height: 110px; border-left: 2px solid rgba(255,255,255,.42); border-radius: 50%; }
.steam-a { left: 44%; transform: rotate(-8deg); }
.steam-b { left: 58%; bottom: 240px; transform: rotate(12deg) scale(.7); }
.ritual-content { padding: 38px 40px; }
.step-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.step-tab { padding: 7px 11px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 12px; }
.step-tab.active { color: var(--tea); border-bottom-color: var(--tea); font-weight: 600; }
.step-en { color: var(--gold); font-family: var(--serif); font-size: 10px; letter-spacing: .28em; }
.step-panel h3 { margin: 10px 0 16px; font-family: var(--serif); font-size: 30px; }
.step-panel > p:last-of-type { color: var(--ink-soft); font-size: 14px; }
.step-metrics { display: flex; gap: 38px; margin-top: 35px; }
.step-metrics span { color: var(--ink-soft); font-size: 11px; }
.step-metrics strong { display: block; color: var(--tea); font-family: var(--serif); font-size: 23px; }

.timeline { padding-top: 130px; padding-bottom: 130px; }
.timeline-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.timeline-item { position: relative; padding: 42px 26px 20px 0; }
.timeline-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline-item time { color: var(--gold); font-family: "Ma Shan Zheng", cursive; font-size: 44px; }
.timeline-item h3 { font-family: var(--serif); font-size: 20px; margin: 2px 0 10px; }
.timeline-item p { color: var(--ink-soft); font-size: 13px; max-width: 230px; }

.closing { position: relative; overflow: hidden; padding: 135px 30px; text-align: center; background: #ddd6c6; }
.closing h2 { font-family: "Ma Shan Zheng", cursive; font-size: clamp(50px, 8vw, 90px); font-weight: 400; }
.closing > p:not(.section-kicker) { color: var(--ink-soft); }
.back-top { display: inline-block; margin-top: 30px; text-decoration: none; border-bottom: 1px solid currentColor; font-family: var(--serif); font-size: 13px; }
.closing-leaf { position: absolute; width: 420px; height: 140px; border: 1px solid rgba(56,91,68,.12); border-radius: 100% 0 100% 0; right: -60px; top: 60px; transform: rotate(-18deg); }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 42px; color: rgba(255,255,255,.55); background: #18251d; font-size: 11px; }
.site-footer div { display: flex; gap: 14px; align-items: baseline; }
.site-footer strong { color: #fff; font-family: var(--serif); font-size: 17px; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { padding: 20px 22px; }
  .menu-toggle { display: grid; gap: 6px; width: 38px; height: 38px; place-content: center; cursor: pointer; }
  .menu-toggle span { display: block; width: 21px; height: 1px; background: currentColor; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 22px 22px;
    color: var(--ink);
    background: rgba(244,240,230,.97);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .section-shell { padding-left: 22px; padding-right: 22px; }
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .scroll-hint { display: none; }
  .hero-controls { right: 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .tea-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
  .tea-card:nth-child(n) { grid-column: span 1; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; gap: 50px; }
  .feature-row--reverse .feature-image { order: 0; }
  .feature-row--reverse .feature-copy { order: 1; }
  .photo-frame img { height: 480px; }
  .ritual-inner { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 600px) {
  .brand small { display: none; }
  .brand-seal { width: 36px; height: 36px; }
  .hero { min-height: 640px; }
  .hero h1, .hero h2 { font-size: 42px; }
  .hero-copy { font-size: 14px; }
  .hero-controls { left: 22px; right: auto; }
  .hero-arrow { display: none; }
  .intro { padding-top: 90px; padding-bottom: 90px; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .intro-stats div:nth-child(2) { border-right: 0; }
  .intro-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tea-grid { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .tea-filters { overflow-x: auto; padding-bottom: 5px; }
  .filter-button { flex: 0 0 auto; }
  .quote-band { padding: 80px 22px; }
  .mountains { padding-top: 90px; }
  .feature-row { margin-bottom: 100px; }
  .photo-frame img { height: 410px; }
  .ritual { padding: 90px 0; }
  .ritual-stage { grid-template-columns: 1fr; }
  .tea-vessel { height: 330px; }
  .ritual-content { padding: 30px 24px 38px; }
  .step-tabs { margin-bottom: 32px; }
  .timeline { padding-top: 90px; padding-bottom: 90px; }
  .timeline-track { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .timeline-item { padding: 10px 0 34px 28px; }
  .timeline-item::before { top: 21px; left: -5px; }
  .site-footer { padding: 38px 22px; }
  .site-footer div { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
