/* ===========================================================
   KARFOOK — Shared design tokens & components (multi-page)
   Theme: Chow Sang Sang / Chow Tai Fook goldsmith luxury —
          espresso #17110C, ivory #F7F1E3, antique-gold #C6A254,
          bronze #AD7A34, deep-red #8C2232 accents.
   Type: Fraunces (display) / Inter (body) / JetBrains Mono (utility)

   Shared across: index.html, memorial.html, products.html, prebook.html.
   Extracted from the original single-page KarFook-preview so every page
   inherits the same espresso/cream/amber language, nav and footer.
=========================================================== */

:root {
  --charcoal: #17110C;
  --charcoal-soft: #241A12;
  --bone: #F7F1E3;
  --bone-dim: #E7DAC0;
  --amber: #AD7A34;
  --amber-bright: #D8B675;
  --taupe: #625041;
  --gold: #C6A254;
  --rust: #8C2232;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

em { font-style: italic; font-family: var(--font-display); }

/* Refined serif tracking — elegant goldsmith display headings */
.hero__title, .page-hero__title, .section-title, .series-section__zh,
.products-cta__title, .colour-chart__title, .intro__lead, .story__stat-num {
  letter-spacing: -0.012em;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--rust); color: var(--bone); }
.btn--solid:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--bone); border-color: rgba(242,232,213,0.4); }
.btn--ghost:hover { border-color: var(--bone); transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: var(--charcoal); border-color: rgba(26,20,16,0.25); }
.btn--ghost-dark:hover { border-color: var(--charcoal); }
.btn--full { width: 100%; justify-content: center; }

/* ===================== Nav (shared, injected by site.js) ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: center;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
/* Sub-pages (non-hero) start with a solid nav so links stay legible over bone content */
.nav--solid,
.nav.is-scrolled {
  padding: 0.9rem 2rem;
  background: rgba(26,20,16,0.72);
  backdrop-filter: blur(14px);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__mark { display: flex; flex-direction: column; line-height: 1; }
.nav__mark-logo {
  height: 24px; width: auto; display: block;
  transition: height 0.4s var(--ease);
}
.nav.is-scrolled .nav__mark-logo, .nav--solid .nav__mark-logo { height: 20px; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.88rem;
  color: var(--bone-dim);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-current { color: var(--bone); }
.nav__links a.is-current::after { width: 100%; }
.nav__cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--gold);
  padding: 0.6rem 1.3rem;
  border-radius: 2px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__cta:hover { background: var(--bone); transform: translateY(-1px); }
.nav__lang {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  background: transparent;
  border: 1px solid rgba(242,232,213,0.35);
  border-radius: 2px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__lang:hover { border-color: var(--gold); color: var(--bone); }
@media (max-width: 880px) {
  /* Multi-page nav must stay usable on mobile — keep the links, just tighten them
     and drop the redundant CTA (the Pre-book link covers it). */
  .nav { padding: 0.9rem 1.1rem; }
  .nav__inner { flex-wrap: wrap; gap: 0.4rem 1.1rem; }
  .nav__links { gap: 1.1rem; order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .nav__links a { font-size: 0.8rem; }
  .nav__cta { display: none; }
}

/* ===================== Hero (home) ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#ash-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  pointer-events: none;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.04;
  color: var(--bone);
  margin: 0 0 1.8rem;
  max-width: 14ch;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line--em { font-style: italic; color: var(--amber-bright); }
.hero__sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 520px;
  margin: 0 0 2.4rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; pointer-events: auto; }
.hero__scroll-hint {
  position: absolute;
  bottom: 2.4rem; left: 2rem;
  z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
}
.hero__scroll-hint span {
  display: block;
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
.hero__scroll-hint p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.4); opacity: 1; }
}
@media (max-width: 600px) {
  .hero__scroll-hint { display: none; }
  .hero { height: auto; min-height: 100vh; align-items: flex-start; }
  .hero__content { padding-top: 8rem; padding-bottom: 4rem; }
}

/* ===================== Page header (sub-pages) ===================== */
.page-hero {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  padding: 11rem 2rem 5rem;
}
.page-hero__inner { max-width: var(--container); margin: 0 auto; }
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--bone);
  margin: 0 0 1.4rem;
  max-width: 18ch;
}
.page-hero__title em { color: var(--amber-bright); font-style: italic; }
.page-hero__sub {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 60ch;
  margin: 0;
}
@media (max-width: 600px) {
  .page-hero { padding: 8.5rem 1.4rem 3.5rem; }
}

/* ===================== Shared section bits ===================== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 1rem;
}
.section-eyebrow--light { color: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 1.9rem;
}
.section-title--light { color: var(--bone); }
.section-title em { color: var(--amber); font-style: italic; }
.section-title--light em { color: var(--amber-bright); }

/* ===================== Home: concept intro strip ===================== */
.intro {
  padding: 8.5rem 2rem;
  background: var(--bone);
}
.intro__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
.intro__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--charcoal);
  margin: 0;
}
.intro__lead em { color: var(--amber); font-style: italic; }
.intro__body p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--taupe);
  margin: 0 0 1.2rem;
  max-width: 54ch;
}
.intro__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 880px) {
  .intro { padding: 5rem 1.4rem; }
  .intro__inner { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ===================== Home: series preview grid ===================== */
.series-preview { padding: 8.5rem 2rem; background: var(--charcoal); }
.series-preview__inner { max-width: var(--container); margin: 0 auto; }
.series-preview__grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.series-tile {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  background: var(--charcoal-soft);
  border: 1px solid rgba(242,232,213,0.08);
  border-radius: 6px;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.series-tile:hover { transform: translateY(-6px); border-color: rgba(212,175,122,0.4); }
.series-tile__zh {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
  margin: 0 0 0.3rem;
}
.series-tile__en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.series-tile__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--bone-dim);
  margin: 0 0 1.4rem;
}
.series-tile__link {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--amber-bright);
  transition: color 0.3s var(--ease);
}
.series-tile__link:hover { color: var(--bone); }
@media (max-width: 880px) {
  .series-preview { padding: 5rem 1.4rem; }
  .series-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== Story (shared: memorial + home) ===================== */
.story { padding: 8rem 2rem; background: var(--bone); }
.story--dark { background: var(--charcoal); }
.story__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}
.story__inner--reverse .story__media { order: 2; }
.story__portrait {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(26,20,16,0.35);
  transform: rotate(-1.2deg);
}
.story__portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__portrait-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--bone);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
}
.story__para {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--taupe);
  margin: 0 0 1.3rem;
  max-width: 54ch;
}
.story--dark .story__para { color: var(--bone-dim); }
.story__stat-row {
  display: flex;
  gap: 2.6rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(107,86,69,0.25);
  flex-wrap: wrap;
}
.story__stat { display: flex; flex-direction: column; gap: 0.35rem; }
.story__stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--amber);
  font-style: italic;
}
.story__stat-label {
  font-size: 0.82rem;
  color: var(--taupe);
  max-width: 16ch;
  line-height: 1.35;
}
.story--dark .story__stat-label { color: var(--bone-dim); }
@media (max-width: 880px) {
  .story__inner { grid-template-columns: 1fr; gap: 3rem; }
  .story { padding: 5.5rem 1.4rem; }
  .story__inner--reverse .story__media { order: 0; }
}

/* ===================== Process / steps (shared) ===================== */
.process { padding: 8rem 2rem; background: var(--charcoal); position: relative; }
.process--light { background: var(--bone); }
.process__inner { max-width: var(--container); margin: 0 auto; }
.process__steps { margin-top: 4rem; display: flex; flex-direction: column; }
.process__step {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  gap: 2rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid rgba(242,232,213,0.1);
}
.process__step:first-child { border-top: 1px solid rgba(242,232,213,0.1); }
.process--light .process__step { border-color: rgba(107,86,69,0.2); }
.process__step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.process--light .process__step-num { color: var(--rust); }
.process__step-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bone);
  margin: 0 0 0.6rem;
}
.process--light .process__step-body h3 { color: var(--charcoal); }
.process__step-body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--bone-dim);
  margin: 0;
  max-width: 60ch;
}
.process--light .process__step-body p { color: var(--taupe); }
.process__step-glyph {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(184,118,62,0.35);
  text-align: right;
  font-weight: 300;
}
@media (max-width: 720px) {
  .process { padding: 5.5rem 1.4rem; }
  .process__step {
    grid-template-columns: 50px 1fr;
    grid-template-areas: "num glyph" "body body";
    row-gap: 0.8rem;
  }
  .process__step-num { grid-area: num; }
  .process__step-glyph { grid-area: glyph; font-size: 1.8rem; text-align: right; }
  .process__step-body { grid-area: body; }
}

/* ===================== Memorial: colour options ===================== */
.colors { padding: 8rem 2rem; background: var(--bone); }
.colors__inner { max-width: var(--container); margin: 0 auto; }
.colors__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.color-swatch { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.color-swatch__dot {
  width: 74px; height: 74px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(26,20,16,0.12), 0 14px 26px -14px rgba(26,20,16,0.45);
}
.color-swatch__label { font-size: 0.86rem; color: var(--charcoal); font-weight: 500; }
.color-swatch__sub { font-family: var(--font-mono); font-size: 0.68rem; color: var(--taupe); letter-spacing: 0.04em; }
.colors__note {
  margin-top: 3.2rem;
  padding: 1.6rem 1.8rem;
  background: rgba(184,118,62,0.08);
  border-left: 2px solid var(--amber);
  border-radius: 0 3px 3px 0;
}
.colors__note p { margin: 0; font-size: 0.95rem; color: var(--taupe); line-height: 1.6; }
.colors__note strong { color: var(--charcoal); }
@media (max-width: 720px) {
  .colors { padding: 5.5rem 1.4rem; }
  .colors__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Memorial imagery integration (2026-07-04) ---- */
.color-swatch__img {
  width: 100%; max-width: 104px; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(26,20,16,0.10), 0 14px 26px -14px rgba(26,20,16,0.45);
}
.process__step-vignette {
  width: 96px; height: 96px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 14px 24px -15px rgba(26,20,16,0.55);
}
.process--light .process__step-vignette { box-shadow: 0 14px 24px -15px rgba(107,86,69,0.4); }
@media (max-width: 720px) { .process__step-vignette { width: 60px; height: 60px; } }
.page-hero__macro { max-width: 460px; margin: 2.8rem auto 0; }
.page-hero__macro img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px;
  box-shadow: 0 34px 66px -32px rgba(26,20,16,0.6);
}

/* ===================== Products: series & poem cards ===================== */
.series-section { padding: 6.5rem 2rem; }
.series-section:nth-of-type(even) { background: var(--bone); }
.series-section:nth-of-type(odd) { background: #EFE6D2; }
.series-section__inner { max-width: var(--container); margin: 0 auto; }
.series-section__head { max-width: 640px; margin-bottom: 3.2rem; }
.series-section__zh {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--charcoal);
  margin: 0 0 0.4rem;
}
.series-section__en {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 1rem;
}
.series-section__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--taupe);
  margin: 0;
}
.pieces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.poem-card {
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border: 1px solid rgba(107,86,69,0.14);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 44px -30px rgba(26,20,16,0.4);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.series-section:nth-of-type(even) .poem-card { background: #FBF5E9; }
.poem-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -28px rgba(26,20,16,0.5); }
.poem-card__img {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  filter: saturate(0.98);
  transition: filter 0.5s var(--ease);
}
.poem-card:hover .poem-card__img { filter: saturate(1.05); }
.poem-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.poem-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0;
}
.poem-card__name-en {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.poem-card__poem {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--taupe);
  margin: 0.2rem 0 0;
  border-top: 1px solid rgba(107,86,69,0.16);
  padding-top: 0.9rem;
}
.poem-card__tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--rust);
  padding-top: 0.4rem;
}
.products-cta {
  padding: 6rem 2rem 7rem;
  background: var(--charcoal);
  text-align: center;
}
.products-cta__inner { max-width: 640px; margin: 0 auto; }
.products-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--bone);
  margin: 0 0 1rem;
}
.products-cta__title em { color: var(--amber-bright); font-style: italic; }
.products-cta__sub { color: var(--bone-dim); line-height: 1.7; margin: 0 0 2rem; }
/* ---- Choose your colour: 12-tone crystal chart ---- */
.colour-chart {
  max-width: 860px;
  margin: 4.5rem auto 0;
  text-align: center;
}
.colour-chart__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--charcoal);
  margin: 0.5rem 0 1rem;
}
.colour-chart__title em { color: var(--amber); font-style: italic; }
.colour-chart__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--taupe);
  margin: 0 auto 2.2rem;
  max-width: 56ch;
}
.colour-chart__figure {
  margin: 0;
  padding: 1.4rem 1.4rem 0.8rem;
  background: #fff;
  border: 1px solid rgba(107,86,69,0.16);
  border-radius: 10px;
  box-shadow: 0 24px 50px -32px rgba(26,20,16,0.4);
}
.colour-chart__figure img { width: 100%; height: auto; display: block; border-radius: 4px; }
.colour-chart__note {
  margin: 1.6rem auto 0;
  max-width: 60ch;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--taupe);
}
@media (max-width: 880px) {
  .series-section { padding: 4.5rem 1.4rem; }
  .pieces-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .colour-chart { margin-top: 3.4rem; }
}
@media (max-width: 540px) {
  .pieces-grid { grid-template-columns: 1fr; }
  .colour-chart__figure { padding: 0.9rem 0.9rem 0.5rem; }
}

/* ===================== Booking / pre-book ===================== */
.book { padding: 7rem 2rem 8rem; background: var(--charcoal); }
.book__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
}
.book__sub {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.book__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.book__list li {
  font-size: 0.92rem;
  color: var(--bone-dim);
  padding-left: 1.6rem;
  position: relative;
}
.book__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.35rem;
}
.book__note {
  margin: 1.8rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--bone-dim);
}
.book__note strong { font-family: var(--font-display); color: var(--gold); font-weight: 500; letter-spacing: 0; }

.book__form {
  background: var(--bone);
  border-radius: 6px;
  padding: 2.6rem;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
}
.book__progress { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.book__progress-dot {
  height: 3px; flex: 1;
  background: rgba(107,86,69,0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.book__progress-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.book__progress-dot.is-active::after { transform: scaleX(1); }
.book__step { display: none; flex-direction: column; gap: 1.3rem; }
.book__step.is-active { display: flex; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(107,86,69,0.3);
  border-radius: 3px;
  background: #fff;
  color: var(--charcoal);
  transition: border-color 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--amber); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #a99c8c; }
.book__step-actions { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.book__step-actions .btn { flex: 1; }
.book__success { display: none; text-align: center; padding: 2rem 0; }
.book__success.is-active { display: block; }
.book__success-glyph {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.4rem;
}
.book__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}
.book__success p { color: var(--taupe); font-size: 0.95rem; max-width: 32ch; margin: 0 auto; }
@media (max-width: 880px) {
  .book { padding: 5rem 1.4rem 6rem; }
  .book__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .book__form { padding: 1.8rem; }
}

/* ===================== Footer (shared, injected by site.js) ===================== */
.footer {
  background: var(--charcoal-soft);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(242,232,213,0.08);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(242,232,213,0.08);
}
.footer__mark span { font-family: var(--font-display); font-size: 1.4rem; color: var(--bone); }
.footer__mark p { font-size: 0.85rem; color: var(--taupe); margin-top: 0.6rem; max-width: 30ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.footer__col a { font-size: 0.88rem; color: var(--bone-dim); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--bone); }
.footer__bottom { max-width: var(--container); margin: 1.6rem auto 0; font-size: 0.78rem; color: var(--taupe); }
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ===================== Reveal utility ===================== */
/* Elements are visible by default; site.js only hides + animates them when GSAP
   is present, and always re-reveals anything left in view (never stuck invisible). */
[data-reveal] { will-change: opacity, transform; }

/* ===================== Direct answer (AEO answer-first) ===================== */
.direct-answer {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--taupe);
  max-width: 58ch;
  margin: 0.9rem 0 1.8rem;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--amber);
  background: rgba(184,118,62,0.10);
  border-radius: 0 4px 4px 0;
}
.story--dark .direct-answer,
.process .direct-answer { color: var(--bone-dim); background: rgba(184,118,62,0.08); }
.page-hero .direct-answer { color: var(--bone-dim); background: rgba(184,118,62,0.14); }
.process--light .direct-answer,
.story--light .direct-answer,
.about--light .direct-answer { color: var(--charcoal); background: rgba(184,118,62,0.13); border-left: 4px solid var(--amber); box-shadow: 0 2px 12px rgba(26,20,16,0.07); }

/* ===================== FAQ ===================== */
.faq { padding: 8rem 2rem; background: var(--bone); }
.faq__inner { max-width: var(--container); margin: 0 auto; }
.faq__list { margin-top: 3rem; }
.faq__item {
  border-bottom: 1px solid rgba(107,86,69,0.18);
  padding: 1.6rem 0;
}
.faq__item:first-child { border-top: 1px solid rgba(107,86,69,0.18); }
.faq__q {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 0.55rem;
}
.faq__q-zh {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--taupe);
  margin-left: 0.4rem;
}
.faq__a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--taupe);
  max-width: 70ch;
}
@media (max-width: 720px) { .faq { padding: 5rem 1.4rem; } }

/* ===================== About (E-E-A-T) ===================== */
.about { padding: 6rem 2rem; background: var(--charcoal-soft); }
.about__inner { max-width: var(--container); margin: 0 auto; }
.about__body {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}
.about__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--bone-dim);
  margin: 0 0 1rem;
}
.about__text p:last-child { margin-bottom: 0; }
.about__facts {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.6rem;
  border: 1px solid rgba(212,175,122,0.2);
  border-radius: 4px;
}
.about__fact { display: flex; flex-direction: column; gap: 0.22rem; }
.about__fact-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.about__fact-value {
  font-size: 0.9rem;
  color: var(--bone);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .about { padding: 5rem 1.4rem; }
  .about__body { grid-template-columns: 1fr; gap: 2rem; }
}

.page-hero__q { font-size: 1.5rem; font-weight: 600; line-height: 1.3; color: var(--bone); margin: 2rem 0 0.6rem; max-width: 58ch; }
.page-hero__q em { color: var(--amber-bright); font-style: italic; }

/* ============================================================
   v9 — LIGHT JEWELLERY-HOUSE THEME (Chow Tai Fook direction)
   Cream-dominant background, warm-taupe body copy, whisper
   champagne-gold accents only, ghost buttons + a single quiet
   near-black primary CTA, and AT MOST ONE dark espresso gravitas
   band (.products-cta). Photographic hero (no WebGL). Memorial
   calm preserved. This layer supersedes the earlier dark styling.
   ============================================================ */
:root {
  --paper: #FAF6EC;        /* default page background (light-dominant) */
  --cream-2: #F1E9D8;      /* soft alt cream for footer / band separation */
  --taupe-text: #796E65;   /* CTF-signature warm body text */
  --espresso: #241A12;     /* single dark gravitas band + display headings */
  --champagne: #B78E6C;    /* whisper gold — hairlines, small labels, accents */
  --ink-btn: #17110C;      /* quiet near-black primary CTA */
}

/* ---- Base: light-dominant, warm taupe copy ---- */
body { background: var(--paper); color: var(--taupe-text); }

/* ---- Buttons: ghost/outline default, ONE quiet near-black primary ---- */
.btn--solid { background: var(--ink-btn); color: var(--bone); border-color: var(--ink-btn); }
.btn--solid:hover { background: var(--espresso); color: var(--bone); border-color: var(--espresso); transform: translateY(-2px); }
.btn--ghost, .btn--ghost-dark { background: transparent; color: var(--espresso); border-color: rgba(121,110,101,0.45); }
.btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--espresso); background: rgba(183,142,108,0.08); }

/* ---- Nav: light + frosted; darken the gold wordmark so it reads on cream ---- */
.nav { background: rgba(250,246,236,0.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(36,26,18,0.06); }
.nav--solid, .nav.is-scrolled { background: rgba(250,246,236,0.93); border-bottom-color: rgba(36,26,18,0.08); }
.nav__mark-logo { filter: brightness(0.44) saturate(0.92) contrast(1.05); }
.nav__links a { color: var(--espresso); opacity: 0.7; }
.nav__links a:hover, .nav__links a.is-current { opacity: 1; color: var(--espresso); }
.nav__links a::after { background: var(--champagne); }
.nav__lang { color: var(--espresso); border-color: rgba(36,26,18,0.28); }
.nav__lang:hover { border-color: var(--champagne); color: var(--espresso); }
.nav__cta { background: transparent; color: var(--espresso); border: 1px solid var(--champagne); }
.nav__cta:hover { background: var(--espresso); color: var(--bone); }

/* ---- HERO (home): light, photographic, two-column ---- */
.hero { height: auto; min-height: 0; background: var(--paper); padding: 8.5rem 2rem 5.5rem; overflow: visible; }
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.8rem;
  align-items: center;
}
.hero__content { position: static; z-index: auto; padding: 0; max-width: none; margin: 0; pointer-events: auto; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 46px 92px -48px rgba(36,26,18,0.5);
}
.hero__eyebrow { color: var(--champagne); }
.hero__title { color: var(--espresso); font-weight: 400; max-width: 15ch; }
.hero__title-line--em { color: var(--taupe-text); font-style: italic; }  /* dropped gold italic → calm tonal taupe */
.hero__sub { color: var(--taupe-text); }
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; padding: 7.5rem 1.4rem 3.5rem; align-items: center; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__content { padding: 0; }
  .hero__media { max-width: 440px; }
}

/* ---- Sub-page heros: light ---- */
.page-hero { background: var(--paper); }
.page-hero__eyebrow { color: var(--champagne); }
.page-hero__title { color: var(--espresso); font-weight: 400; }
.page-hero__title em { color: var(--taupe-text); font-style: italic; }
.page-hero__sub { color: var(--taupe-text); }
.page-hero__q { color: var(--espresso); font-weight: 500; }
.page-hero__q em { color: var(--taupe-text); font-style: italic; }
.page-hero__macro img { box-shadow: 0 34px 66px -36px rgba(36,26,18,0.42); }

/* ---- Section eyebrows / titles: whisper-gold label, espresso serif title ---- */
.section-eyebrow, .section-eyebrow--light { color: var(--champagne); }
.section-title, .section-title--light { color: var(--espresso); }
.section-title em, .section-title--light em { color: var(--taupe-text); font-style: italic; }

/* ---- Direct answer (AEO) — light, champagne rule ---- */
.direct-answer { color: var(--taupe-text); border-left-color: var(--champagne); background: rgba(183,142,108,0.09); }
.story--dark .direct-answer, .page-hero .direct-answer, .process .direct-answer {
  color: var(--taupe-text); background: rgba(183,142,108,0.09);
}

/* ---- Intro (home) — retune to taupe/espresso ---- */
.intro__lead { color: var(--espresso); }
.intro__lead em { color: var(--taupe-text); font-style: italic; }
.intro__body p { color: var(--taupe-text); }

/* ---- Series preview (home): dark tiles → white cards on light ---- */
.series-preview { background: var(--paper); }
.series-tile { background: #fff; border-color: rgba(36,26,18,0.08); box-shadow: 0 12px 34px -22px rgba(36,26,18,0.22); }
.series-tile:hover { transform: translateY(-6px); border-color: rgba(183,142,108,0.42); box-shadow: 0 26px 52px -26px rgba(36,26,18,0.24); }
.series-tile__zh { color: var(--espresso); }
.series-tile__en { color: var(--champagne); }
.series-tile__desc { color: var(--taupe-text); }
.series-tile__link { color: var(--espresso); }
.series-tile__link:hover { color: var(--champagne); }

/* ---- Story (incl. former dark variant) → light ---- */
.story--dark { background: var(--paper); }
.story__para, .story--dark .story__para { color: var(--taupe-text); }
.story__stat-num { color: var(--champagne); }
.story__stat-label, .story--dark .story__stat-label { color: var(--taupe-text); }

/* ---- Process (used as --light) — champagne step numerals ---- */
.process--light .process__step-num { color: var(--champagne); }
.process__step-glyph { color: rgba(183,142,108,0.4); }

/* ---- Products: series-sections + poem cards — retune ---- */
.series-section:nth-of-type(odd) { background: var(--cream-2); }
.series-section__zh { color: var(--espresso); }
.series-section__en { color: var(--champagne); }
.series-section__desc { color: var(--taupe-text); }
.poem-card { background: #fff; }
.series-section:nth-of-type(even) .poem-card { background: #FFFDF8; }
.poem-card__name { color: var(--espresso); }
.poem-card__name-en { color: var(--champagne); }
.poem-card__poem { color: var(--taupe-text); }
.poem-card__tag { color: var(--champagne); }

/* ---- Memorial colour options (light) ---- */
.colors__note { border-left-color: var(--champagne); background: rgba(183,142,108,0.08); }
.colour-chart__title em { color: var(--taupe-text); font-style: italic; }
.colour-chart__lead, .colour-chart__note { color: var(--taupe-text); }

/* ---- THE ONE DARK GRAVITAS BAND: .products-cta (espresso) ---- */
.products-cta { background: var(--espresso); }
.products-cta__title { color: var(--bone); }
.products-cta__title em { color: var(--champagne); font-style: italic; }
.products-cta__sub { color: var(--bone-dim); }
.products-cta .btn--solid { background: var(--bone); color: var(--espresso); border-color: var(--bone); }
.products-cta .btn--solid:hover { background: var(--champagne); color: var(--espresso); border-color: var(--champagne); }
.products-cta .btn--ghost, .products-cta .btn--ghost-dark { color: var(--bone); border-color: rgba(247,241,227,0.4); }

/* ---- Booking (prebook): dark → light, white form card ---- */
.book { background: var(--paper); }
.book__sub, .book__list li, .book__note { color: var(--taupe-text); }
.book__list li::before { color: var(--champagne); }
.book__note strong { color: var(--espresso); }
.book__form { background: #fff; box-shadow: 0 30px 70px -40px rgba(36,26,18,0.28); }
.book__progress-dot::after { background: var(--champagne); }
.field input, .field select, .field textarea { border-color: rgba(121,110,101,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--champagne); }
.book__success-glyph { background: var(--espresso); color: var(--bone); }

/* ---- About (E-E-A-T): dark → light ---- */
.about { background: var(--paper); }
.about__text p { color: var(--taupe-text); }
.about__facts { border-color: rgba(183,142,108,0.35); }
.about__fact-label { color: var(--champagne); }
.about__fact-value { color: var(--espresso); }

/* ---- FAQ (light) — retune body copy ---- */
.faq__q { color: var(--espresso); }
.faq__q-zh, .faq__a { color: var(--taupe-text); }

/* ---- Footer: dark → light, champagne hairline crown ---- */
.footer { background: var(--cream-2); border-top: none; position: relative; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne) 30%, var(--champagne) 70%, transparent);
}
.footer__inner { border-bottom-color: rgba(36,26,18,0.10); }
.footer__mark span { color: var(--espresso); }
.footer__mark p, .footer__col a, .footer__bottom { color: var(--taupe-text); }
.footer__col h4 { color: var(--champagne); }
.footer__col a:hover { color: var(--espresso); }

/* ===================== Mobile sticky action bar (≤720px) ===================== */
/* WhatsApp / Call / Pre-book pinned to the thumb zone — the luxury-mobile
   conversion pattern (Baymard). Hidden on desktop; safe-area padded for the
   iOS home indicator (pairs with viewport-fit=cover in each page <meta>). */
.mobilebar { display: none; }
@media (max-width: 720px) {
  .mobilebar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: block;
    background: rgba(250,246,236,0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -6px 24px rgba(36,26,18,0.10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobilebar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--champagne) 30%, var(--champagne) 70%, transparent);
  }
  .mobilebar__inner { display: flex; align-items: stretch; }
  .mobilebar__btn {
    flex: 1 1 0;
    min-height: 56px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    padding: 0.5rem 0.35rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--espresso);
    transition: background 0.25s var(--ease);
  }
  .mobilebar__btn svg { width: 21px; height: 21px; color: var(--champagne); }
  .mobilebar__btn + .mobilebar__btn { border-left: 1px solid rgba(183,142,108,0.22); }
  .mobilebar__btn:active { background: rgba(183,142,108,0.10); }
  .mobilebar__btn--book { background: var(--rust); color: var(--bone); }
  .mobilebar__btn--book svg { color: var(--bone); }
  .mobilebar__btn--book:active { background: #7a1d2b; }
  /* clear the fixed bar so page content + footer never hide behind it */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .footer__bottom { padding-bottom: 1.4rem; }
}

/* ===================== Mobile refinement pass ===================== */
/* Grounded in the mobile-emulation assessment: the hero focal point was
   collapsing to the bottom edge (ring + cat-shadow lost in top bokeh) on the
   narrow column; CTAs ran ragged; sections inherited desktop's sparse rhythm. */
@media (max-width: 900px) {
  /* Crop the portrait hero tighter and drop the focal onto the ring/cat-shadow.
     height:auto is REQUIRED — the <img height="1152"> attr otherwise overrides
     aspect-ratio and makes object-position a no-op (verified: 1152px→259px). */
  .hero__media img { height: auto; aspect-ratio: 4/3; object-position: center 78%; }
}
@media (max-width: 720px) {
  /* Tighten vertical rhythm so the 1-col stack doesn't become dead-scroll */
  .intro, .series-preview, .faq, .about { padding-top: 3.4rem; padding-bottom: 3.4rem; }
  .intro__inner { gap: 1.6rem; }
}
@media (max-width: 600px) {
  /* Hero CTAs stack full-width — bigger thumb targets, cleaner than side-by-side */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* Calmer, balanced heading line-breaks on narrow screens */
  .section-title, .section-title--light, .products-cta__title, .intro__lead { text-wrap: balance; }
  .hero { padding-top: 6.8rem; padding-bottom: 2.2rem; }
}
