/* ──────────────────────────────────────────────────────────────────
   Phuket Hideouts — brand site v1 stylesheet
   Locked palette + typography per BRAND.md. Mobile-first, single-file.
   Used by: web/index.html, web/hideouts/, web/hidden-routes/, web/about/, web/experiences/
   ────────────────────────────────────────────────────────────────── */

:root {
  --cream:        #F5EFE2;
  --cream-warm:   #EFE7D4;
  --charcoal:     #1B1B1B;
  --charcoal-80:  rgba(27, 27, 27, 0.80);
  --charcoal-60:  rgba(27, 27, 27, 0.60);
  --brass:        #B8935A;
  --brass-soft:   rgba(184, 147, 90, 0.16);
  --brass-mid:    rgba(184, 147, 90, 0.45);
  --teal:         #0E3B3B;
  --terracotta:   #C75D3F;
  --rule:         rgba(27, 27, 27, 0.10);
  --rule-soft:    rgba(27, 27, 27, 0.06);
  --inset:        max(20px, 5vw);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-orientation: from-image;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Nav ────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--inset);
  background: rgba(245, 239, 226, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-nav-mono {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav-mono img {
  width: 38px;
  height: auto;
}
.site-nav-mono .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.site-nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}
.site-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
  border-bottom-color: var(--brass);
  color: var(--brass);
}
@media (max-width: 480px) {
  .site-nav-mono .wordmark { display: none; }
  .site-nav-links { gap: 16px; }
  .site-nav-links a { font-size: 11px; letter-spacing: 0.16em; }
}

/* ── Hero (homepage + pillar pages) ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(0.98);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 27, 27, 0.20) 0%,
    rgba(27, 27, 27, 0.00) 35%,
    rgba(245, 239, 226, 0.85) 88%,
    var(--cream) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px var(--inset) 64px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.8vw, 26px);
  line-height: 1.4;
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--charcoal);
}
.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--brass-mid);
  border: 0;
  margin: 20px auto;
}
.hero-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--charcoal-80);
  max-width: 540px;
  margin: 0 auto;
}

/* Pillar-page hero — shorter than homepage hero. */
.hero.is-pillar {
  min-height: 56vh;
  min-height: 56svh;
}
.hero.is-pillar .hero-title {
  font-size: clamp(34px, 6.5vw, 56px);
}

/* Story hero — light text + scrim so the title reads over a high-contrast
   photo (bright sky AND dark limestone). Charcoal alone vanished on the rock. */
.hero.is-story .hero-eyebrow {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero.is-story .hero-title {
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.38);
}
.hero.is-story .hero-sub {
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.36), 0 4px 18px rgba(0, 0, 0, 0.32);
}

/* ── Section container ──────────────────────────────────────────── */
.section {
  padding: 72px var(--inset);
  max-width: 980px;
  margin: 0 auto;
}
.section-narrow {
  max-width: 720px;
}
.section-wide {
  max-width: 1120px;
}
.section > .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(30px, 5.2vw, 44px);
  margin-bottom: 14px;
}
.section .sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.5;
  color: var(--charcoal-80);
  margin-bottom: 24px;
}
.section p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  margin-bottom: 16px;
}
.section p:last-child { margin-bottom: 0; }

.sect-rule {
  width: 72px;
  height: 1px;
  background: var(--brass-mid);
  border: 0;
  margin: 0 0 32px;
}
.sect-rule-full {
  width: 100%;
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ── Intro prose block (homepage + pillar intros) ──────────────── */
.lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 680px;
}
.lede p { font-size: inherit; line-height: inherit; margin-bottom: 18px; }

/* ── Pillar cards (two-up on homepage) ───────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}
@media (min-width: 760px) {
  .pillars { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.pillar-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 27, 27, 0.08);
}
.pillar-card-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.pillar-card-body {
  padding: 28px clamp(20px, 3.5vw, 36px) 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pillar-card .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 10px;
}
.pillar-card h3 {
  font-size: clamp(26px, 3.6vw, 32px);
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--charcoal-80);
}
.pillar-card .cta {
  margin-top: auto;
  align-self: flex-start;
}

/* ── CTA buttons + text-links ────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
  background: var(--brass);
  padding: 14px 24px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cta:hover,
.cta:focus-visible {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal);
  background: transparent;
  padding: 14px 22px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.cta-ghost:hover,
.cta-ghost:focus-visible {
  background: var(--brass);
  color: var(--cream);
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  padding: 6px 0;
  border-bottom: 1px solid var(--brass-mid);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cta-link:hover,
.cta-link:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* ── Founders mini ──────────────────────────────────────────────── */
.founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .founders { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.founder h3 {
  font-size: clamp(22px, 2.8vw, 26px);
  margin-bottom: 8px;
}
.founder .role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 10px;
}
.founder p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal-80);
}

/* ── Program-card grid (hidden-routes) ──────────────────────────── */
.programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 760px) {
  .programs { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.program-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  padding: 32px clamp(22px, 3.5vw, 36px) 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 27, 27, 0.08);
}
.program-card .length {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 9vw, 88px);
  line-height: 1;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.program-card .length-unit {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: block;
  margin-bottom: 18px;
}
.program-card .presents {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 8px;
}
.program-card h3 {
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.18;
  margin-bottom: 14px;
}
.program-card .destinations {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  margin-bottom: 16px;
}
.program-card .pitch {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.program-card .activities {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.program-card .activities li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--charcoal-80);
  border-top: 1px solid var(--rule-soft);
}
.program-card .activities li:last-child {
  border-bottom: 1px solid var(--rule-soft);
}
.program-card .activities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--brass);
}
.program-card-thumb {
  margin: 6px 0 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}
.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-orientation: from-image;
  filter: saturate(1.03);
  transition: transform 0.45s ease;
}
.program-card:hover .program-card-thumb img {
  transform: scale(1.02);
}
.program-card .evenings {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--charcoal-80);
  margin: 0 0 22px;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--brass-mid);
}
.program-card .samples {
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
}
.program-card .samples-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 6px;
}
.program-card .sample-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15.5px;
  color: var(--charcoal);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.program-card .sample-link:last-child {
  border-bottom: none;
}
.program-card .sample-link:hover,
.program-card .sample-link:focus-visible {
  color: var(--brass);
  padding-left: 4px;
}
.program-card .cta-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ── How it works ───────────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
.steps li {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .steps li { border-top: 1px solid var(--brass-mid); padding: 24px 0 0; }
}
.steps .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.steps h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.steps p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal-80);
  margin: 0;
}

/* ── Layer chooser (Hidden Routes hub: Routes · Excursions · Experiences) ── */
.layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (min-width: 760px) {
  .layers { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}
.layer-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  padding: 26px clamp(20px, 3vw, 30px) 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.layer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 27, 27, 0.08);
}
.layer-card.is-current {
  background: var(--cream);
  border-color: var(--brass-mid);
}
.layer-card .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}
.layer-card .eyebrow[lang="zh"],
.layer-card .eyebrow[lang="th"] { letter-spacing: 0.10em; }
.layer-card h3 {
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.16;
  margin-bottom: 10px;
}
.layer-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--charcoal-80);
  margin: 0 0 18px;
}
.layer-card .layer-link { margin-top: auto; align-self: flex-start; }

/* ── Email-capture form ─────────────────────────────────────────── */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin-top: 8px;
}
@media (min-width: 560px) {
  .email-form { flex-direction: row; align-items: stretch; }
}
.email-form input[type="email"] {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--brass-mid);
  border-radius: 2px;
  color: var(--charcoal);
  min-height: 48px;
}
.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}
.email-form input[type="email"]::placeholder {
  color: var(--charcoal-60);
}
.email-form .cta {
  white-space: nowrap;
  justify-content: center;
}
.email-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ── Inline CTA row + cta-block ──────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 56px var(--inset);
  background: var(--cream-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-block h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 8px;
}
.cta-block p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--charcoal-80);
  margin: 0 auto 22px;
  max-width: 560px;
}

/* ── Pillar-page rentals section ─────────────────────────────────── */
.rentals-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .rentals-row { grid-template-columns: 1fr auto; gap: 40px; }
}
.rentals-row p {
  margin: 0;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-foot {
  background: var(--cream-warm);
  padding: 56px var(--inset) 48px;
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid var(--brass-mid);
}
.site-foot-mono {
  width: 92px;
  margin: 0 auto 20px;
}
.site-foot-rule {
  width: 40px;
  height: 1px;
  background: var(--brass-mid);
  margin: 16px auto;
  border: 0;
}
.site-foot-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.5;
  max-width: 460px;
  margin: 0 auto 20px;
  color: var(--charcoal-80);
}
.site-foot-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 2;
  color: var(--charcoal-80);
}
.site-foot-meta a {
  color: var(--brass);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-foot-meta a:hover { border-bottom-color: var(--brass); }
.site-foot-name {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-top: 24px;
}
/* Thai operator line — fine print, ~half the footer body size, always shown */
.site-foot-about {
  font-family: 'Inter', 'Noto Sans Thai', 'Thonburi', 'Leelawadee UI', 'Tahoma', sans-serif;
  font-size: 10px;
  line-height: 1.85;
  color: var(--charcoal-60);
  max-width: 560px;
  margin: 22px auto 0;
  letter-spacing: 0.01em;
}

/* ── Utilities ──────────────────────────────────────────────────── */
.center { text-align: center; }
.flow > * + * { margin-top: 18px; }

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}

/* ── Language switch (EN / 中文 / ไทย) ────────────────────────────── */
html[data-lang="en"] [data-t="zh"], html[data-lang="en"] [data-t="th"] { display: none; }
html[data-lang="zh"] [data-t="en"], html[data-lang="zh"] [data-t="th"] { display: none; }
html[data-lang="th"] [data-t="en"], html[data-lang="th"] [data-t="zh"] { display: none; }

.lang-switch { display: inline-flex; align-items: center; gap: 7px; }
.lang-opt {
  font-family: 'Inter', 'Noto Sans SC', 'Noto Sans Thai', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  font-weight: 500;
  background: none;
  border: 0;
  padding: 4px 0;
  line-height: 1;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-opt:hover,
.lang-opt:focus-visible { color: var(--brass); }
.lang-opt.is-active { color: var(--brass); border-bottom-color: var(--brass); }
.lang-sep { color: var(--brass-mid); font-size: 11px; user-select: none; }
@media (max-width: 480px) {
  .lang-opt { font-size: 11px; letter-spacing: 0.05em; }
  .lang-switch { gap: 5px; }
}

/* Chinese typography — brand fonts (Cormorant/Inter) carry no CJK glyphs */
[lang="zh"] {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, sans-serif;
}
h1[lang="zh"], h2[lang="zh"], h3[lang="zh"], h4[lang="zh"],
[lang="zh"] h1, [lang="zh"] h2, [lang="zh"] h3, [lang="zh"] h4 {
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  letter-spacing: 0;
}
/* wide Latin tracking reads too airy on CJK — tighten labels/eyebrows */
.hero-eyebrow[lang="zh"], .hero-meta[lang="zh"],
.eyebrow[lang="zh"], .role[lang="zh"], .presents[lang="zh"],
.length-unit[lang="zh"], .samples-label[lang="zh"],
.destinations[lang="zh"], .site-foot-name[lang="zh"] {
  letter-spacing: 0.12em;
}
/* Cormorant italic has no CJK face — keep Chinese display type upright serif */
.hero-sub[lang="zh"], .sub[lang="zh"], .pitch[lang="zh"], .evenings[lang="zh"],
.site-foot-tag[lang="zh"], .cta-block p[lang="zh"], .lede p[lang="zh"] {
  font-style: normal;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
}

/* Thai typography — brand fonts (Cormorant/Inter) carry no Thai glyphs */
[lang="th"] {
  font-family: 'Noto Sans Thai', 'Inter', sans-serif;
}
h1[lang="th"], h2[lang="th"], h3[lang="th"], h4[lang="th"],
[lang="th"] h1, [lang="th"] h2, [lang="th"] h3, [lang="th"] h4 {
  font-family: 'Noto Serif Thai', 'Cormorant Garamond', serif;
  letter-spacing: 0;
}
.hero-eyebrow[lang="th"], .hero-meta[lang="th"],
.eyebrow[lang="th"], .role[lang="th"], .presents[lang="th"],
.length-unit[lang="th"], .samples-label[lang="th"],
.destinations[lang="th"], .site-foot-name[lang="th"] {
  letter-spacing: 0.04em;
}
.hero-sub[lang="th"], .sub[lang="th"], .pitch[lang="th"], .evenings[lang="th"],
.site-foot-tag[lang="th"], .cta-block p[lang="th"], .lede p[lang="th"] {
  font-style: normal;
  font-family: 'Noto Serif Thai', 'Cormorant Garamond', serif;
}

/* ── Our Story / About page — editorial article + components ──────── */
/* Hero, nav, footer, toggle + visibility rules are inherited from the
   shared styles above. Only the article-body components live here.    */
.story-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--inset);
}
.story-article section { padding: 38px 0; }
.story-article p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  margin-bottom: 1.1em;
}
.story-article p:last-child { margin-bottom: 0; }
.story-article h2 {
  font-size: clamp(25px, 4vw, 34px);
  margin: 0 0 0.5em;
}
.story-article strong { font-weight: 600; }

.story-pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(25px, 4.4vw, 38px);
  line-height: 1.22;
  color: var(--teal);
  text-align: center;
  max-width: 680px;
  margin: 10px auto;
  padding: 30px var(--inset);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.story-pull[lang="zh"] { font-family: 'Noto Serif SC', 'Cormorant Garamond', serif; }
.story-pull[lang="th"] { font-family: 'Noto Serif Thai', 'Cormorant Garamond', serif; }

.story-midimg {
  width: 100%;
  max-width: 680px;
  margin: 14px auto 6px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}
.story-cap {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14.5px;
  color: var(--charcoal-60);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 8px;
}
.story-cap[lang="zh"] { font-style: normal; font-family: 'Noto Serif SC', serif; }
.story-cap[lang="th"] { font-style: normal; font-family: 'Noto Serif Thai', serif; }

.story-net { list-style: none; margin: 0.4em 0 1em; padding: 0; }
.story-net li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--charcoal-80);
}
.story-net li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--brass);
  border-radius: 50%;
}

.story-weave {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 10px 0 4px;
}
.story-weave .w {
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: #fff;
  padding: 14px 16px;
}
.story-weave .w .pl { font-family: 'Cormorant Garamond', serif; font-size: 21px; }
.story-weave .w .pl[lang="zh"] { font-family: 'Noto Serif SC', 'Cormorant Garamond', serif; }
.story-weave .w .pl[lang="th"] { font-family: 'Noto Serif Thai', 'Cormorant Garamond', serif; }
.story-weave .w .ds { font-size: 13px; color: var(--charcoal-60); margin-top: 2px; line-height: 1.5; }
.story-weave .w.soon { border-style: dashed; }
.story-weave .w.soon .pl { color: var(--charcoal-60); }

.story-cta {
  background: var(--teal);
  color: var(--cream);
  border-radius: 6px;
  max-width: 680px;
  margin: 30px auto 10px;
  padding: 32px clamp(20px, 4vw, 36px);
  text-align: center;
}
.story-cta h3 {
  color: var(--cream);
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: 0.3em;
}
.story-cta p {
  color: rgba(245, 239, 226, 0.85);
  font-size: 15px;
  max-width: 46ch;
  margin: 0 auto 1.2em;
}
.story-cta .btn {
  display: inline-block;
  background: var(--brass);
  color: #1B1B1B;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}
.story-cta .btn:hover,
.story-cta .btn:focus-visible { background: var(--terracotta); color: var(--cream); }

.story-fig { margin: 0; }

/* ── Scroll reveal — progressive enhancement ─────────────────────────
   Only active when scripts add `.js-reveal` to <html>, and only when the
   user hasn't asked for reduced motion (gated in each page's head script).
   No JS / no support / reduced motion → elements stay fully visible.    */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Mobile nav (hamburger) — the flat 5-item nav collapses below 1024px ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 38px;
  padding: 8px 7px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .site-nav { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .site-nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 0 10px;
  }
  .site-nav-links.is-open { display: flex; }
  .site-nav-links a {
    width: 100%;
    padding: 12px 2px;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 13px;
    letter-spacing: 0.16em;
  }
  .site-nav-links a[aria-current="page"] { color: var(--brass); }
  .site-nav-links .lang-switch { padding: 14px 0 2px; }
}
