/* ============================================================
   CTPE V3 — "Living Estate"
   Bright editorial design system · Fraunces / Inter / Space Grotesk
   Porcelain base · Forest accent blocks · Refined gold + copper
============================================================ */

/* ------------------------------------------------------------
   1. TOKENS
------------------------------------------------------------ */
:root {
  /* Colour */
  --porcelain:       #F7F3EC;
  --porcelain-deep:  #EFE8DC;
  --paper:           #FDFBF7;
  --forest:          #122B1D;
  --forest-soft:     #1B3A28;
  --forest-mist:     #2E4A38;
  --ink:             #1C1A16;
  --ink-soft:        #55504A;
  --gold:            #B8933E;
  --gold-bright:     #D4AF54;
  --copper:          #A65E2E;
  --line:            rgba(28, 26, 22, 0.14);
  --line-strong:     rgba(28, 26, 22, 0.3);
  --line-light:      rgba(247, 243, 236, 0.18);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, sans-serif;
  --font-mono:    "Space Grotesk", "SF Mono", monospace;

  /* Scale */
  --text-hero:    clamp(3rem, 8.5vw, 7.5rem);
  --text-h2:      clamp(2.2rem, 5vw, 4.2rem);
  --text-h3:      clamp(1.3rem, 2.2vw, 1.75rem);
  --text-body:    clamp(0.98rem, 1.1vw, 1.08rem);
  --text-mono:    0.78rem;

  /* Rhythm */
  --space-section: clamp(6rem, 12vw, 11rem);
  --container:     min(88vw, 1360px);
  --container-narrow: min(84vw, 1040px);

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);

  /* Arch mask — the signature photo shape */
  --arch: 999px 999px 24px 24px;
}

/* ------------------------------------------------------------
   2. RESET / BASE
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  /* Paper texture baked into the body background — no extra
     fixed compositing layer, tiles cheaply while scrolling */
  background-color: var(--porcelain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: var(--container); margin-inline: auto; }
.container--narrow { width: var(--container-narrow); margin-inline: auto; }

/* ------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
------------------------------------------------------------ */
.mono-tag {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.mono-tag::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}
.mono-tag--bare::before { display: none; }
.dark-block .mono-tag { color: var(--gold-bright); }

.display-h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 380;
  font-variation-settings: "opsz" 100;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display-h2 em {
  font-style: italic;
  font-weight: 340;
  color: var(--copper);
}
.dark-block .display-h2 { color: var(--porcelain); }
.dark-block .display-h2 em { color: var(--gold-bright); }

.body-text { color: var(--ink-soft); max-width: 56ch; }
.dark-block .body-text { color: rgba(247, 243, 236, 0.72); }

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .mono-tag { margin-bottom: 1.4rem; }
.section-head--center { text-align: center; }
.section-head--center .mono-tag { justify-content: center; }
.section-head--center .mono-tag::before { display: none; }

/* Split-text reveal — spans are JS-created, so no-JS users always
   see the heading. CSS transitions do the animating (no per-frame JS). */
.split-lines .line-mask { overflow: hidden; display: block; }
.split-lines .line {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.split-lines.is-inview .line { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .split-lines .line { transform: none; }
}

/* ------------------------------------------------------------
   4. CURSOR + CURTAIN + SPINE (global chrome)
------------------------------------------------------------ */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(184, 147, 62, 0.85);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s;
  opacity: 0;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover { width: 44px; height: 44px; opacity: 0.55; }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* Curtain page transition — a light, minimal loading veil (no
   solid colour block: just a soft porcelain scrim + the pour icon) */
.curtain {
  position: fixed;
  inset: 0;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9000;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.curtain.is-entering { transform-origin: bottom; }

/* Teapot-pour loader, shown while the curtain covers the viewport */
.curtain__pour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.curtain__pour-svg { width: clamp(200px, 26vw, 300px); height: auto; overflow: visible; color: var(--forest); }
.curtain__pour-cap {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pour-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pour-fill { fill: rgba(166, 94, 46, 0.1); }
.pour-stream { fill: none; stroke: var(--copper); stroke-width: 1.3; stroke-linecap: round; opacity: 0.55; stroke-dasharray: 2 4; }
.pour-pot { transform-origin: 40px 62px; animation: pour-pot-tilt 1.4s ease-in-out infinite; }
.pour-drop {
  fill: var(--copper);
  offset-path: path("M101,30 C112,45 125,63 136,81");
  animation: pour-drop-fall 1.4s cubic-bezier(0.55, 0, 0.85, 0.35) infinite;
}
.pour-drop--2 { animation-delay: 0.28s; }
.pour-drop--3 { animation-delay: 0.56s; }
.pour-steam { fill: none; stroke: var(--ink-soft); stroke-width: 1.3; stroke-linecap: round; opacity: 0; animation: pour-steam-rise 2.8s ease-in-out infinite; }
.pour-steam--2 { animation-delay: 0.5s; }
.pour-steam--3 { animation-delay: 1s; }

@keyframes pour-pot-tilt {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes pour-drop-fall {
  0%   { offset-distance: 0%; opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes pour-steam-rise {
  0%   { opacity: 0; transform: translateY(6px); }
  30%  { opacity: 0.55; }
  70%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .pour-pot, .pour-drop, .pour-steam { animation: none; }
  .pour-drop, .pour-steam { opacity: 0; }
}

/* Leaf-thread spine — fixed rail, grows with scroll */
.spine {
  position: fixed;
  left: clamp(0.8rem, 2.2vw, 2.4rem);
  top: 0;
  height: 100vh;
  width: 2px;
  z-index: 60;
  pointer-events: none;
}
.spine__track {
  position: absolute;
  inset: 0;
  background: var(--line);
}
.spine__progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(var(--gold), var(--copper));
  transform: scaleY(0);
  transform-origin: top;
}
.spine__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(212, 175, 84, 0.25);
  transform: translate(-50%, -50%);
}
.spine__label {
  position: absolute;
  left: 14px;
  bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
@media (max-width: 900px) { .spine { display: none; } }

/* Section jump-nav — homepage only, desktop only. A slim icon
   rail on the left (clear of the .spine rail), which expands to
   reveal labels on hover and collapses when the pointer leaves. */
.section-nav {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2.4rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 650;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 15px;
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 45px -25px rgba(18, 43, 29, 0.35);
  overflow: hidden;
  transition: padding-left 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}
.section-nav:hover { padding-left: 26px; box-shadow: 0 24px 55px -22px rgba(18, 43, 29, 0.4); }
.section-nav:empty { display: none; }
.section-nav__item {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding: 6px 2px;
}
.section-nav__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: color 0.3s, transform 0.3s;
}
.section-nav__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.section-nav__item:hover .section-nav__icon { color: var(--copper); transform: scale(1.12); }
.section-nav__item.is-active .section-nav__icon { color: var(--gold); }
.section-nav__icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
}
.section-nav__item.is-active .section-nav__icon::before {
  animation: nav-pulse 2.2s ease-in-out infinite;
}
.section-nav__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--ink-soft);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(4px);
  transition: opacity 0.35s var(--ease-soft), transform 0.35s var(--ease-soft), max-width 0.45s var(--ease-soft);
}
.section-nav:hover .section-nav__label { max-width: 160px; opacity: 1; transform: translateX(0); }
.section-nav__item.is-active .section-nav__label { color: var(--forest); }

@keyframes nav-pulse {
  0%   { transform: scale(0.75); opacity: 0.4; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .section-nav__icon::before { animation: none; }
}
@media (max-width: 1100px) {
  .section-nav { display: none; }
}

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--porcelain);
  display: grid;
  place-items: center;
  z-index: 700;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), background 0.3s;
  box-shadow: 0 12px 30px -12px rgba(18, 43, 29, 0.5);
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: var(--forest); }

/* Scroll progress bar (top) */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 8000;
}

/* ------------------------------------------------------------
   5. HEADER
------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background 0.4s, box-shadow 0.4s, transform 0.45s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(253, 251, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav__logo img { height: 52px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--copper); }

.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: var(--forest);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.nav__cta:hover { background: var(--gold); color: var(--forest); }
.nav__cta::after { display: none; }

/* Dropdown trigger + chevron.
   .nav__drop stretches to the full header height (not just its own
   link text) so the hover area reaches all the way down to the
   panel's top edge — otherwise there's a dead zone between the
   shrink-wrapped link and the panel below it, and the menu closes
   the instant the cursor crosses that gap on the way down. */
.nav__drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 84px; /* matches .nav__inner / .nav__mega-panel's top, so the
                   hoverable trigger reaches the panel with no gap */
}
.nav__drop .nav__link { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav__chevron {
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease-out), color 0.3s;
  transform: translateY(1px);
}
.nav__drop:hover .nav__chevron,
.nav__drop:focus-within .nav__chevron { transform: translateY(1px) rotate(180deg); color: var(--copper); }

/* Mega menu — multiple labeled columns + a highlighted "featured"
   panel, matching the richer dropdown from the previous site,
   reskinned to the porcelain/gold/Fraunces system. */
.nav__mega-panel {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  width: min(900px, 94vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 2rem 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0 1.7rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s, pointer-events 0s 0.3s;
  box-shadow: 0 32px 80px -20px rgba(18, 43, 29, 0.3);
  z-index: 550;
}
.nav__drop:hover .nav__mega-panel,
.nav__drop:focus-within .nav__mega-panel,
.nav__mega-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  /* Small "hover intent" delay so a quick pointer sweep across the
     nav bar doesn't flash the panel open — it only opens once the
     cursor actually settles on the trigger. Focus (keyboard) skips
     the delay so it stays instant for accessibility. */
  transition-delay: 0.15s;
}
.nav__drop:focus-within .nav__mega-panel {
  transition-delay: 0s;
}
.nav__mega-col + .nav__mega-col { border-left: 1px solid var(--line); padding-left: 1.7rem; }
.nav__mega-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.nav__mega-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  margin-inline: -0.7rem;
  margin-bottom: 0.1rem;
  transition: background 0.25s, transform 0.25s;
}
.nav__mega-link:hover { background: var(--porcelain); transform: translateX(4px); }
.nav__mega-link-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  transition: color 0.2s;
}
.nav__mega-link:hover .nav__mega-link-title { color: var(--copper); }
.nav__mega-link-desc { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.4; }

.nav__mega-featured {
  border-left: 1px solid var(--line);
  padding-left: 1.7rem;
  display: flex;
  align-items: stretch;
  min-width: 168px;
}
.nav__mega-featured a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem 1.3rem;
  border-radius: 14px;
  background-color: var(--porcelain-deep);
  border: 1px solid rgba(212, 175, 84, 0.4);
  transition: transform 0.25s;
  width: 100%;
  overflow: hidden;
}
.nav__mega-featured a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}
.nav__mega-featured a:hover {
  transform: translateY(-2px);
}

/* Black, rounded "chip" behind the copy only — the rest of the card
   stays transparent so the background photo shows through fully. */
.nav__mega-featured-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(10, 10, 10, 0.82);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}
.nav__mega-featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.nav__mega-featured-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 420;
  color: #FFFFFF;
  line-height: 1.2;
}
.nav__mega-featured-arrow {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-top: 0.2rem;
  transition: transform 0.2s;
}
.nav__mega-featured a:hover .nav__mega-featured-arrow { transform: translateX(4px); }

/* Hamburger + mobile menu */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 600;
}
.nav__burger span {
  width: 26px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 550;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  padding: 6rem clamp(1.5rem, 8vw, 4rem);
  gap: 0.4rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-soft);
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--porcelain);
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.mobile-menu a .idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-bright);
}
.mobile-menu .mobile-menu__cta {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold-bright);
  align-self: flex-start;
  padding: 1rem 2rem;
  border-radius: 999px;
}

/* Mobile menu subcategory accordions (injected by main.js from the
   desktop mega-menu config) */
.mobile-menu__group { display: flex; flex-direction: column; }
.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-menu__row a { flex: 1; }
.mobile-menu__toggle {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(247, 243, 236, 0.25);
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.mobile-menu__group.is-open .mobile-menu__toggle {
  transform: rotate(180deg);
  background: rgba(247, 243, 236, 0.08);
}
.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-left: 2.2rem;
  transition: max-height 0.45s var(--ease-soft), opacity 0.35s, padding 0.35s;
}
.mobile-menu__group.is-open .mobile-menu__sub {
  max-height: 620px;
  opacity: 1;
  padding-block: 0.4rem 0.9rem;
}
.mobile-menu__sub-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.8rem;
}
.mobile-menu__sub-label:first-child { margin-top: 0.2rem; }
.mobile-menu .mobile-menu__sub a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(247, 243, 236, 0.85);
  padding-block: 0.4rem;
  display: block;
}
.mobile-menu .mobile-menu__sub a:active { color: var(--gold-bright); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ------------------------------------------------------------
   6. BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-out);
  will-change: transform;
}
.btn .btn__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}
.btn span:not(.btn__fill), .btn svg { position: relative; z-index: 1; }
.btn:hover .btn__fill { transform: scaleY(1); }

.btn--forest { background: var(--forest); color: var(--porcelain); }
.btn--forest .btn__fill { background: var(--gold); }
.btn--forest:hover { color: var(--forest); }

.btn--gold { background: var(--gold); color: var(--forest); }
.btn--gold .btn__fill { background: var(--forest); }
.btn--gold:hover { color: var(--porcelain); }

.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost .btn__fill { background: var(--forest); }
.btn--ghost:hover { color: var(--porcelain); border-color: var(--forest); }

.btn--ghost-light { border: 1px solid var(--line-light); color: var(--porcelain); }
.btn--ghost-light .btn__fill { background: var(--gold-bright); }
.btn--ghost-light:hover { color: var(--forest); border-color: var(--gold-bright); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.link-arrow .arr { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(6px); }

/* ------------------------------------------------------------
   7. HERO — cinematic pinned intro
------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Pre-rounded and scaled up 1.03 so corners start offscreen —
   the scroll effect then only animates `scale`, which stays fully
   GPU-composited (no border-radius repaints per frame). */
.hero__media {
  position: absolute;
  inset: 0;
  border-radius: clamp(18px, 2.5vw, 32px);
  transform: scale(1.03);
  will-change: transform;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,43,29,0.25) 0%, rgba(18,43,29,0.12) 40%, rgba(18,43,29,0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--porcelain);
  padding-inline: 1.5rem;
}
.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero__tag::before, .hero__tag::after {
  content: "";
  width: 3rem; height: 1px;
  background: var(--gold-bright);
  opacity: 0.6;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__headline em {
  font-style: italic;
  font-weight: 320;
  color: var(--gold-bright);
}
.hero__sub {
  margin-top: 2rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(247, 243, 236, 0.85);
  max-width: 44ch;
  margin-inline: auto;
}
.hero__ctas {
  margin-top: 2.8rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.7);
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: rgba(247, 243, 236, 0.35);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%; height: 100%;
  background: var(--gold-bright);
  animation: scrollDrip 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDrip { to { top: 100%; } }

/* ------------------------------------------------------------
   8. MARQUEE
------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.3rem;
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.marquee--forest {
  background: var(--forest);
  border-color: rgba(247,243,236,0.1);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee--forest .marquee__item { color: rgba(247,243,236,0.6); }
.marquee__sep { color: var(--gold); font-size: 1.1em; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   9. SECTIONS — shared
------------------------------------------------------------ */
.section { padding-block: var(--space-section); position: relative; z-index: 2; }
.dark-block {
  background: var(--forest);
  color: var(--porcelain);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(0.6rem, 1.5vw, 1.4rem);
}

/* Arch-masked photo */
.arch-img {
  border-radius: var(--arch);
  overflow: hidden;
  position: relative;
}
.arch-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

/* Rectangular-frame variant — plain rounded rectangle, no arch mask */
.arch-img--rect {
  border-radius: 20px;
}

/* 3-up image gallery */
.gallery-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-trio__item { aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .gallery-trio { grid-template-columns: 1fr; }
}

/* Self-drawing line icons — JS primes dash offsets, CSS animates */
.draw-icon { width: 64px; height: 64px; color: var(--gold); }
.draw-icon path, .draw-icon circle, .draw-icon rect, .draw-icon line, .draw-icon polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1.3s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 140ms);
}
.draw-icon.is-inview path, .draw-icon.is-inview circle, .draw-icon.is-inview rect,
.draw-icon.is-inview line, .draw-icon.is-inview polyline {
  stroke-dashoffset: 0 !important;
}
.draw-icon .gold-dot { fill: var(--copper); stroke: none; }

/* ------------------------------------------------------------
   10. WHO WE ARE
------------------------------------------------------------ */
.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.who__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 360;
  line-height: 1.3;
  color: var(--ink);
  margin-block: 2rem 1.6rem;
}
.who__quote em { font-style: italic; color: var(--copper); }
.who__media { position: relative; }
/* Rectangular frame, sized to match the source photo's actual
   landscape ratio (~3:2) — the previous 4:5 portrait crop was
   cutting the people out of frame on a wide shot */
.who__media .arch-img {
  aspect-ratio: 3 / 2;
  border-radius: clamp(16px, 2vw, 28px);
}
.who__badge {
  position: absolute;
  bottom: 2rem;
  left: -1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 50px -20px rgba(18,43,29,0.3);
}
.who__badge-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--forest);
  line-height: 1;
}
.who__badge-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Stats row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--forest);
  line-height: 1;
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}
.stat__num::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.stat.is-inview .stat__num::after {
  transform: scaleX(1);
  transition: transform 1s var(--ease-out) 0.4s;
}
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dark-block .stat__num { color: var(--porcelain); }
.dark-block .stat__label { color: rgba(247,243,236,0.55); }

/* ------------------------------------------------------------
   11. PRODUCTS — expanding rows
------------------------------------------------------------ */
.prod-rows { border-top: 1px solid var(--line); }
.prod-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.prod-row:hover { padding-left: 1rem; }
.prod-row__idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--copper);
  letter-spacing: 0.1em;
}
.prod-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 370;
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.3s;
}
.prod-row:hover .prod-row__title { color: var(--copper); }
.prod-row__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 30ch;
}
.prod-row__arrow {
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.prod-row:hover .prod-row__arrow {
  background: var(--forest);
  color: var(--porcelain);
  transform: rotate(-45deg);
}
/* Floating hover image */
.prod-row__img {
  position: absolute;
  right: clamp(6rem, 14vw, 12rem);
  top: 50%;
  width: clamp(180px, 20vw, 280px);
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(-50%) scale(0.85) rotate(-4deg);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(18,43,29,0.45);
}
.prod-row__img img { width: 100%; height: 100%; object-fit: cover; }
.prod-row:hover .prod-row__img {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(2deg);
}
@media (max-width: 900px) {
  .prod-row { grid-template-columns: auto 1fr auto; }
  .prod-row__desc, .prod-row__img { display: none; }
}

/* ------------------------------------------------------------
   12. FORMATS — pinned horizontal gallery
------------------------------------------------------------ */
/* The whole pinned section is vertically centered as one unit within
   100vh — previously the intro's huge top/bottom padding plus tall
   panels added up to well over one viewport, so panels were cut off
   at the bottom for the entire pin duration (never scrollable into
   view). Centering + shrinking the intro + vh-capped panel height
   guarantees everything fits in the frame from the first moment. */
.formats {
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.formats__intro { padding-block: 0 clamp(1.5rem, 3vw, 2.2rem); }
.formats__viewport { position: relative; }
.formats__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  padding-inline: clamp(1.5rem, 6vw, 6rem);
  width: max-content;
  will-change: transform;
}
.format-panel {
  position: relative;
  height: clamp(280px, 46vh, 440px);
  width: auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}
.format-panel img {
  position: absolute;
  inset: 0;
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.format-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,43,29,0) 35%, rgba(18,43,29,0.78) 100%);
}
.format-panel__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--porcelain);
  width: 100%;
}
.format-panel__idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.6rem;
}
.format-panel__title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 380;
  line-height: 1.15;
}
.format-panel__desc {
  font-size: 0.88rem;
  color: rgba(247,243,236,0.78);
  margin-top: 0.6rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s;
}
.format-panel:hover .format-panel__desc { max-height: 120px; opacity: 1; }
.format-panel__new {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--gold-bright);
  color: var(--forest);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

/* Mobile: native swipe with scroll-snap instead of the pinned scrub */
@media (max-width: 899px) {
  .formats__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .formats__viewport::-webkit-scrollbar { display: none; }
  .format-panel {
    width: 78vw;
    height: auto;
    scroll-snap-align: center;
  }
  .format-panel__desc { max-height: none; opacity: 1; }
}

/* ------------------------------------------------------------
   13. CAPABILITIES — dark spotlight duo
------------------------------------------------------------ */
.cap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
/* Fixed 2 x 2 layout (Inside Our Facility, services.html) — keeps the
   four capability cards as a balanced block instead of one wide row. */
.cap__grid--2x2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
  .cap__grid--2x2 { grid-template-columns: 1fr; }
}
.cap-card {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  overflow: hidden;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: clamp(460px, 44vw, 620px);
  justify-content: flex-end;
  isolation: isolate;
  transition: border-color 0.4s;
}
.cap-card:hover { border-color: rgba(212, 175, 84, 0.5); }
.cap-card__img {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cap-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.cap-card:hover .cap-card__img img { transform: scale(1.05); }
.cap-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Lighter at top so more of the photo actually reads, only
     darkening toward the bottom where the text sits */
  background: linear-gradient(180deg, rgba(18,43,29,0.05) 0%, rgba(18,43,29,0.12) 40%, rgba(18,43,29,0.94) 100%);
}
.cap-card__new {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 84, 0.5);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 380;
  color: var(--porcelain);
}
.cap-card p { font-size: 0.92rem; color: rgba(247,243,236,0.75); }
.cap-card .link-arrow { margin-top: 0.2rem; }

/* Bento showcase (Tea Formats page) — reuses .cap-card's full-bleed
   photo treatment but with an explicit grid so specific tiles (the
   two new capabilities) can be sized as the hero of the layout. */
.format-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.cap-card--span2 { grid-column: span 2; }
.cap-card--span3 {
  grid-column: 1 / -1;
  min-height: clamp(280px, 24vw, 360px);
}
@media (max-width: 900px) {
  .format-showcase { grid-template-columns: 1fr; }
  .cap-card--span2, .cap-card--span3 { grid-column: span 1; }
}

/* ------------------------------------------------------------
   14. WHO WE SERVE — chip cards
------------------------------------------------------------ */
.serve__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.serve-chip {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 2.2rem 1.8rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.serve-chip:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(18,43,29,0.3);
  border-color: var(--gold);
}
.serve-chip .draw-icon { width: 52px; height: 52px; margin-bottom: 1.4rem; color: var(--forest); }
.serve-chip h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 420;
  margin-bottom: 0.6rem;
}
.serve-chip p { font-size: 0.9rem; color: var(--ink-soft); }

/* ------------------------------------------------------------
   15. SERVICES — numbered rows with photo reveal
------------------------------------------------------------ */
.services__layout {
  display: grid;
  grid-template-columns: 1fr clamp(260px, 26vw, 380px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding-left 0.4s var(--ease-out);
}
.svc-row:hover, .svc-row.is-active { padding-left: 0.8rem; }
.svc-row__idx {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--copper);
}
.svc-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 390;
  color: var(--ink);
  transition: color 0.3s;
}
.svc-row:hover .svc-row__title, .svc-row.is-active .svc-row__title { color: var(--copper); }
.svc-row__desc {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 52ch;
}
.services__media {
  position: sticky;
  top: 120px;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
}
.services__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft);
}
.services__media img.is-visible { opacity: 1; }
@media (max-width: 900px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__media { display: none; }
}

/* Homepage-only: process shown as a horizontal sequence with
   large photos side by side, connected by a numbered thread —
   used instead of .services__layout (that pattern stays on
   services.html / tea-processing.html where a single sticky
   image works better alongside longer copy). */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.process-step__num {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--copper);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.process-step:hover .process-step__num {
  background: var(--forest);
  color: var(--gold-bright);
  border-color: var(--forest);
}
.process-step__img {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
}
.process-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.process-step:hover .process-step__img img { transform: scale(1.06); }
.process-step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 440;
  color: var(--ink);
  line-height: 1.25;
}
.process-step__desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 1000px) {
  .process-track {
    grid-template-columns: repeat(5, 68vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .process-track::-webkit-scrollbar { display: none; }
  .process-track::before { display: none; }
  .process-step { scroll-snap-align: start; }
}

/* ------------------------------------------------------------
   16. WHY US — sticky split
------------------------------------------------------------ */
.why__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 7vw, 7rem);
}
.why__sticky { position: sticky; top: 130px; align-self: start; }
.why__items { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.why-item {
  border-left: 1px solid var(--line-light);
  padding-left: 1.8rem;
  position: relative;
}
.why-item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 0.4rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--porcelain);
  margin-bottom: 0.5rem;
}
.why-item p { font-size: 0.92rem; color: rgba(247,243,236,0.7); max-width: 48ch; }
@media (max-width: 900px) {
  .why__layout { grid-template-columns: 1fr; }
  .why__sticky { position: static; }
}

/* ------------------------------------------------------------
   17. SUSTAINABILITY — full-bleed parallax
------------------------------------------------------------ */
.sustain {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(0.6rem, 1.5vw, 1.4rem);
  z-index: 2;
}
.sustain__bg {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.sustain__bg img { width: 100%; height: 100%; object-fit: cover; }
.sustain__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,43,29,0.72) 0%, rgba(18,43,29,0.25) 70%);
}
.sustain__panel {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: clamp(1.5rem, 7vw, 7rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(247, 243, 236, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(247,243,236,0.18);
  border-radius: 24px;
  color: var(--porcelain);
}
.sustain__panel .display-h2 { color: var(--porcelain); }
.sustain__panel .display-h2 em { color: var(--gold-bright); }
.sustain__list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.sustain__list li {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: rgba(247,243,236,0.82);
}
.sustain__bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ------------------------------------------------------------
   18. KNOWLEDGE — editorial cards
------------------------------------------------------------ */
.know__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.know-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  transform-style: preserve-3d;
}
.know-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(18,43,29,0.35);
}
.know-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.know-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.know-card:hover .know-card__img img { transform: scale(1.07); }
.know-card__body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.know-card__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
}
.know-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 420; }
.know-card p { font-size: 0.9rem; color: var(--ink-soft); flex: 1; }

/* ------------------------------------------------------------
   19. ENQUIRY FORM
------------------------------------------------------------ */
.enquiry__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.enquiry__contact { margin-top: 2.4rem; display: grid; gap: 1.4rem; }
.enquiry__contact-item {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.enquiry__contact-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
}
.enquiry__contact-item a:hover { color: var(--copper); }

.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 1.5rem 0 0.7rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 90px; }
.field label {
  position: absolute;
  left: 0;
  top: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
  transition: top 0.3s var(--ease-out), font-size 0.3s var(--ease-out), color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label,
.field select.has-value ~ label {
  top: 0;
  font-size: 0.62rem;
  color: var(--copper);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
@media (max-width: 700px) { .form__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   20. FOUNDER
------------------------------------------------------------ */
.founder__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.founder__grid .arch-img { aspect-ratio: 4 / 5; }
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 350;
  font-style: italic;
  line-height: 1.45;
  color: var(--porcelain);
  position: relative;
  padding-top: 3rem;
}
.founder__quote::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-size: 6rem;
  font-style: normal;
  color: var(--gold-bright);
  opacity: 0.4;
  line-height: 1;
}
.founder__sig {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.founder__sig-line { width: 56px; height: 1px; background: var(--gold-bright); }
.founder__sig strong { display: block; font-family: var(--font-display); font-weight: 500; }
.founder__sig span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(247,243,236,0.55); }

/* ------------------------------------------------------------
   21. FOOTER
------------------------------------------------------------ */
.footer {
  background: var(--forest);
  color: var(--porcelain);
  margin-top: var(--space-section);
  padding-top: clamp(4rem, 8vw, 7rem);
  position: relative;
  z-index: 2;
}
.footer__big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 350;
  line-height: 1.08;
  max-width: 16ch;
}
.footer__big em { font-style: italic; color: var(--gold-bright); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(247,243,236,0.14);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer__logo img { height: 60px; width: auto; }
.footer__tagline { margin-top: 1.2rem; font-size: 0.9rem; color: rgba(247,243,236,0.65); max-width: 30ch; }
.footer__cert { margin-top: 1.6rem; }
.footer__cert img { height: 64px; width: auto; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
}
.footer__col-list { list-style: none; display: grid; gap: 0.65rem; }
.footer__col-list a {
  font-size: 0.92rem;
  color: rgba(247,243,236,0.72);
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
}
.footer__col-list a:hover { color: var(--gold-bright); padding-left: 6px; }
.footer__bottom {
  border-top: 1px solid rgba(247,243,236,0.14);
  padding-block: 1.6rem;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.45);
}
.footer__bottom-inner a { color: rgba(247,243,236,0.7); }
.footer__bottom-inner a:hover { color: var(--gold-bright); }
@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ecomit credit bar — sits below the footer bottom (injected by main.js) */
.ecomit-credit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
@keyframes ecomit-glare {
  0%   { transform: translateX(-100%) skewX(-20deg); opacity: 0; }
  5%   { opacity: 1; }
  30%  { transform: translateX(400%) skewX(-20deg); opacity: 0; }
  100% { transform: translateX(400%) skewX(-20deg); opacity: 0; }
}
.ecomit-credit-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  animation: ecomit-glare 5s ease-in-out infinite;
  pointer-events: none;
}
.ecomit-credit-label { color: rgba(255, 255, 255, 0.45); }
.ecomit-credit-sep { color: rgba(255, 255, 255, 0.2); font-size: 11px; }
.ecomit-credit-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  line-height: 1;
}
.ecomit-credit-logo {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.ecomit-credit-link:hover .ecomit-credit-logo { opacity: 1; }
.ecomit-credit-wordmark {
  display: inline-flex;
  align-items: center;
  overflow: visible;
  text-transform: none;
}
.ecomit-wl {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}
@keyframes ecomit-wave {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-4px); }
}
.ecomit-credit-link:hover .ecomit-wl {
  color: rgba(255, 255, 255, 1);
  animation: ecomit-wave 0.6s ease both;
}

/* ------------------------------------------------------------
   22. INNER PAGE — hero banner + breadcrumb
------------------------------------------------------------ */
.page-hero {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero__crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.page-hero__crumb a:hover { color: var(--copper); }
.page-hero__crumb .sep { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 360;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.page-hero h1 em { font-style: italic; color: var(--copper); }
.page-hero__sub { max-width: 48ch; color: var(--ink-soft); }

/* Editorial masthead: headline left, intro copy bottom-aligned right,
   closed with a hairline — no banner image competing for attention */
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid .page-hero__sub {
  margin: 0 0 0.5rem;
  position: relative;
  padding-top: 1.2rem;
}
.page-hero__grid .page-hero__sub::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
@media (max-width: 800px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .page-hero__grid .page-hero__sub { margin-bottom: 0; }
}

/* ------------------------------------------------------------
   23. REGIONS MAP (tea-regions.html)
------------------------------------------------------------ */
.map-section { padding-block: clamp(3rem, 6vw, 5rem) var(--space-section); }
.map__layout {
  display: grid;
  grid-template-columns: minmax(300px, 480px) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.map__svg-wrap { position: sticky; top: 110px; }
.map__svg-wrap svg { width: 100%; height: auto; overflow: visible; }
.district-shape {
  fill: var(--porcelain-deep);
  stroke: var(--line);
  stroke-width: 0.08;
  opacity: 0.55;
  pointer-events: none;
}
.region-shape {
  fill: var(--porcelain-deep);
  stroke: var(--line-strong);
  stroke-width: 0.12;
  cursor: pointer;
  transition: fill 0.35s, stroke 0.35s, filter 0.35s;
}
.region-shape:hover, .region-shape.is-active {
  fill: var(--forest);
  stroke: var(--gold);
  filter: drop-shadow(0 4px 10px rgba(18,43,29,0.35));
}
.region-shape:focus { outline: none; }
.region-shape:focus-visible { stroke: var(--copper); stroke-width: 0.2; }
.region-label {
  font-family: var(--font-mono);
  font-size: 1.15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ink-soft);
  pointer-events: none;
  transition: fill 0.3s;
}
.region-label.is-active { fill: var(--gold-bright); }
.region-dot { fill: var(--copper); pointer-events: none; }
.region-dot--marker { pointer-events: auto; }

.region-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.region-panel__img {
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.8rem;
}
.region-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.region-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 380;
}
.region-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-block: 1.4rem;
  padding-block: 1.2rem;
  border-block: 1px solid var(--line);
}
.region-panel__meta .m { display: grid; gap: 0.15rem; }
.region-panel__meta .m .k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
}
.region-panel__meta .m .v { font-family: var(--font-mono); font-size: 1rem; color: var(--forest); }
.region-panel p.desc { color: var(--ink-soft); }
.region-panel__notes { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.region-panel__notes span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: var(--ink-soft);
}
.region-list-mobile { display: none; }
@media (max-width: 900px) {
  .map__layout { grid-template-columns: 1fr; }
  .map__svg-wrap { position: static; max-width: 380px; margin-inline: auto; }
}

/* ------------------------------------------------------------
   24b. SHARED INNER-PAGE COMPONENTS
------------------------------------------------------------ */

/* Narrow prose block used across inner pages */
.content-block { max-width: 62ch; }
.content-block .mono-tag { margin-bottom: 1.2rem; }
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 380;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.content-block p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.content-block p:last-of-type { margin-bottom: 0; }
.dark-block .content-block h2 { color: var(--porcelain); }
.dark-block .content-block p { color: rgba(247,243,236,0.72); }

/* Full-width hero image band (history-of-ceylon-tea.html) */
.hero-banner {
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner__cap {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Alternating image/text row (history-of-ceylon-tea.html) — images
   are shown plain (no crop, no card frame) and capped to a modest
   width so they read as archival photos, not banner art. Both
   columns start flush at the same top edge for a consistent,
   aligned rhythm regardless of each photo's natural proportions. */
.history-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.history-row__media {
  width: 100%;
  max-width: 300px;
  justify-self: start;
}
.history-row__media img {
  width: 100%;
  height: auto;
  display: block;
}
.history-row--reverse .history-row__media { order: 2; justify-self: end; }
.history-row--reverse .history-row__text { order: 1; }
@media (max-width: 800px) {
  .history-row { grid-template-columns: 1fr; }
  .history-row__media,
  .history-row--reverse .history-row__media { max-width: 240px; justify-self: center; }
  .history-row--reverse .history-row__media,
  .history-row--reverse .history-row__text { order: initial; }
}

/* CTA banner */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--forest);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(2rem, 5vw, 4rem);
  color: var(--porcelain);
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.cta-banner p { color: rgba(247,243,236,0.7); font-size: 0.94rem; }

/* Numbered step list (process/capability pages) */
.step-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.step-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line-light);
}
.step-list__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-bright);
  padding-top: 0.3rem;
}
.step-list__item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 420;
  color: var(--porcelain);
  margin-bottom: 0.5rem;
}
.step-list__item p { color: rgba(247,243,236,0.72); font-size: 0.92rem; max-width: 56ch; }
/* Light-background variant */
.section:not(.dark-block) .step-list { border-top-color: var(--line); }
.section:not(.dark-block) .step-list__item { border-bottom-color: var(--line); }
.section:not(.dark-block) .step-list__num { color: var(--copper); }
.section:not(.dark-block) .step-list__item h3 { color: var(--ink); }
.section:not(.dark-block) .step-list__item p { color: var(--ink-soft); }

/* Tea / brand cards (tea types, signature teas) */
.tea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.tea-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.tea-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18,43,29,0.35); }
.tea-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.tea-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.tea-card:hover .tea-card__img img { transform: scale(1.07); }
.tea-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tea-card__body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 420; }
.tea-card__body p { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.dark-block .tea-card { background: rgba(247,243,236,0.05); border-color: var(--line-light); }
.dark-block .tea-card__body p { color: rgba(247,243,236,0.68); }

/* Brand gallery lightbox (Signature Teas) */
.gallery-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.gallery-trigger:hover { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.gallery-trigger .cam { font-size: 0.85rem; line-height: 1; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 43, 29, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox__panel {
  display: flex;
  flex-direction: column;
  width: min(940px, 94vw);
  max-height: min(80vh, 760px);
  background: var(--forest);
  border: 1px solid var(--line-light);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.65);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}
.gallery-lightbox.is-open .gallery-lightbox__panel { transform: none; }
.gallery-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.4rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-light);
}
.gallery-lightbox__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 420;
  color: var(--porcelain);
}
.gallery-lightbox__count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  margin-left: 0.9rem;
}
.gallery-lightbox__close {
  background: none;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  color: var(--porcelain);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.gallery-lightbox__close:hover { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.gallery-lightbox__grid {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 4vw, 3rem);
}
.gallery-lightbox__grid figure {
  margin: 0;
  width: min(280px, 44vw);
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(247, 243, 236, 0.06);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.gallery-lightbox__grid figure.is-in { opacity: 1; transform: none; }
.gallery-lightbox__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.gallery-lightbox__grid figure:hover img { transform: scale(1.05); }
.gallery-lightbox__zoom {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 43, 29, 0.92);
  cursor: zoom-out;
}
.gallery-lightbox__zoom.is-open { display: flex; }
.gallery-lightbox__zoom img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}
body.gallery-lock { overflow: hidden; }

/* Feature badge (New Capability) */
.feature-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--gold-bright);
  color: var(--forest);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

/* Certification badge */
.cert-badge {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.cert-badge img { height: 70px; width: auto; flex-shrink: 0; }
.cert-badge__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.cert-badge__name { font-family: var(--font-display); font-size: 1.15rem; margin-block: 0.2rem; }
.cert-badge__desc { font-size: 0.86rem; color: var(--ink-soft); }

/* World map (About page) — animated export routes radiating from
   Colombo (the hub) out to every partner country, on a dotted
   world backdrop. Coordinates use a 75×38 unit space matching the
   dotted-map background asset. */
.world-map { position: relative; border-radius: 24px; overflow: hidden; background: var(--forest); padding: clamp(2rem, 5vw, 4rem); }
.world-map__content { position: relative; z-index: 2; }
.world-map__map {
  position: relative;
  width: 100%;
  aspect-ratio: 75 / 38;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.18) 100%);
  border: 1px solid rgba(212, 175, 84, 0.18);
  margin-bottom: clamp(1.6rem, 3vw, 2.2rem);
}
.world-map__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.export-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.export-map__svg .route-line {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 0.28;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 1.6s var(--ease-soft), opacity 0.3s;
}
.export-map__svg.is-inview .route-line { opacity: 0.6; stroke-dashoffset: 0; }
.export-map__svg .route-line--secondary { stroke: var(--copper); }
.export-map__svg .route-dot { fill: var(--gold-bright); }
.export-map__svg .route-dot--secondary { fill: var(--copper); }
.export-map__svg .marker-dot { fill: var(--gold-bright); }
.export-map__svg .marker-dot--secondary { fill: var(--copper); }
.export-map__svg .marker-hub { fill: var(--porcelain); }
.export-map__svg .marker-pulse { fill: var(--gold-bright); opacity: 0.5; }
.export-map__svg .marker-pulse--secondary { fill: var(--copper); opacity: 0.5; }
.export-map__svg text {
  font-family: var(--font-mono);
  font-size: 0.85px;
  fill: rgba(247, 243, 236, 0.85);
}
.export-map__svg text.label--secondary { fill: rgba(214, 148, 102, 0.9); }
.export-map__svg .label-hub { font-size: 1.1px; fill: var(--gold-bright); }
@media (max-width: 640px) {
  .export-map__svg text { display: none; }
}
.export-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.export-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.75);
}
.export-map__legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--gold-bright); }
.export-map__legend-dot--secondary { background: var(--copper); }
.world-map__countries { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.world-map__countries span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(247,243,236,0.25);
  color: rgba(247,243,236,0.85);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.world-map__group-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}
.world-map__group-title:first-child { margin-top: 0; }

/* Map embed (Contact page) */
.map-embed { width: 100%; height: 420px; border-radius: 20px; overflow: hidden; margin-top: 1.6rem; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* Coin flip decorative element (iced tea page) */
.coin-flip { width: 140px; height: 140px; margin-inline: auto; perspective: 1000px; }
.coin-flip__inner {
  position: relative; width: 100%; height: 100%;
  border-radius: 50%;
  animation: coinSpin 6s linear infinite;
  transform-style: preserve-3d;
}
.coin-flip__face {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  border: 3px solid var(--gold);
}
.coin-flip__face img { width: 100%; height: 100%; object-fit: cover; }
.coin-flip__face--back { transform: rotateY(180deg); }
@keyframes coinSpin { to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .coin-flip__inner { animation: none; } }

/* Process timeline (tea-processing.html) — pinned photo + steps */
.process-layout {
  display: grid;
  grid-template-columns: 1fr clamp(260px, 30vw, 400px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.process-media {
  position: sticky;
  top: 120px;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
}
.process-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft);
}
.process-media img.is-visible { opacity: 1; }
@media (max-width: 900px) {
  .process-layout { grid-template-columns: 1fr; }
  .process-media { display: none; }
}

/* Group split (about page brand block) */
.group-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.group-split .arch-img { aspect-ratio: 4 / 5; }
.group-split .arch-img.arch-img--wide { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .group-split { grid-template-columns: 1fr; } }

/* Accordion (products page) */
.accordion-rows { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------
   24. REVEAL / MOTION defaults (JS adds .is-inview)
------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-inview { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   25. MOBILE OPTIMIZATIONS — consolidated small-screen overrides
------------------------------------------------------------ */

/* Horizontal swipe carousels (formats gallery, process steps) —
   make native touch scrolling bulletproof on iOS:
   · no transform/will-change on or inside the scroll container
   · explicit touch-action so the browser owns the pan gesture
   · proximity snap (mandatory can refuse to scroll mid-gesture) */
@media (max-width: 1000px) {
  .process-track {
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4vw;
  }
  /* The scroller itself must never carry the reveal transform —
     an animated transform on a scroll container breaks touch
     scrolling in iOS Safari. Keep the opacity fade only. */
  .process-track[data-reveal] { transform: none; }
}
@media (max-width: 899px) {
  .formats__viewport {
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6vw;
  }
  .formats__track { will-change: auto; }
}

/* Two-column editorial grids that previously never stacked */
@media (max-width: 900px) {
  .who__grid,
  .founder__grid,
  .enquiry__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  /* Keep the tall 4:5 portrait images from dominating the viewport
     once stacked — cap and center them */
  .founder__grid .arch-img,
  .group-split .arch-img {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }
  /* Badge was offset past the container's left edge */
  .who__badge { left: 1rem; bottom: 1.2rem; padding: 0.9rem 1.2rem; }
  .who__badge-num { font-size: 1.7rem; }
  /* Sticky columns don't make sense in a single-column flow */
  .map__svg-wrap, .services__media, .process-media { position: static; }
}

@media (max-width: 640px) {
  /* Tighter vertical rhythm + a little more usable width */
  :root {
    --space-section: clamp(4rem, 14vw, 6rem);
    --container: min(92vw, 1360px);
    --container-narrow: min(90vw, 1040px);
  }

  /* Hero: small-viewport units avoid the mobile address-bar jump,
     and the scroll cue overlaps CTAs on short screens */
  .hero { height: 100svh; min-height: 560px; }
  .hero__scroll { display: none; }
  .hero__tag::before, .hero__tag::after { width: 1.6rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: min(100%, 320px); justify-content: center; }

  /* Header: slightly shorter bar + smaller logo */
  .nav__inner { height: 68px; }
  .nav__logo img { height: 42px; }
  .nav__drop { height: 68px; }
  html { scroll-padding-top: 84px; }

  /* Mobile menu: scrollable on short screens, safe-area aware */
  .mobile-menu {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 6.5rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .mobile-menu a { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }

  /* Cards & panels sized for phone viewports */
  .cap-card { min-height: 380px; padding: 1.8rem; }
  .cap-card--span3 { min-height: 280px; }
  .region-panel { min-height: 0; }
  .format-panel { width: 84vw; }
  .format-panel__body { padding: 1.4rem; }

  /* Stats: two per row reads better than a ragged wrap */
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

  /* Footer: single column below small-tablet width */
  .footer__cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer__big { font-size: clamp(2rem, 9vw, 2.6rem); }

  /* Forms & maps */
  .map-embed { height: 300px; }
  .cert-badge { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* World map: give the dotted map a little more height on phones */
  .world-map { padding: 1.4rem; }
  .world-map__countries span { padding: 0.4rem 0.8rem; font-size: 0.66rem; }

  /* CTA banner stacks with the button full-width */
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* Lightbox grid: single column of larger images */
  .gallery-lightbox__grid figure { width: 100%; max-width: 340px; }

  /* Dark blocks: keep the rounded inset without eating width */
  .dark-block { margin-inline: 0.5rem; }

  /* Expanding product rows: tighter tap-friendly layout */
  .prod-row__arrow { width: 42px; height: 42px; }
  .prod-row:hover { padding-left: 0; }
}

/* Very small phones */
@media (max-width: 380px) {
  :root { --text-hero: clamp(2.4rem, 12vw, 3rem); }
  .page-hero h1 { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .stats-row { grid-template-columns: 1fr; }
}

/* Touch devices: content revealed on hover must be visible by default */
@media (hover: none) {
  .format-panel__desc { max-height: none; opacity: 1; }
  .prod-row:hover { padding-left: 0; }
}

/* ------------------------------------------------------------
   26. REDUCED MOTION — everything degrades to simple fades
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-dot, .spine { display: none; }
  .marquee__track { animation: none; }
  .hero__media img { transform: none; }
}

/* ------------------------------------------------------------
   27. CERTIFICATION LIST + LOGO GRID (About page)
------------------------------------------------------------ */
.cert-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.cert-list li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}
.cert-list li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.cert-list li span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 380px;
}
.cert-grid__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}
.cert-grid__item img {
  width: 100%;
  max-width: 200px;
  height: 175px;
  object-fit: contain;
}
.cert-grid__item figcaption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
