﻿/* =============================================
   CHURI — main.css
   churibkk.com
   ============================================= */

/* === TOKENS === */
:root {
  /* Official brand palette — from Churi color guide 2026-07 */
  --navy:            #122D48;
  --navy-deep:       #0D1F33;
  --navy-mid:        #1B3D5C;
  --dusty:           #7F959F;
  --dusty-light:     #9EB0BA;
  --dusty-pale:      #C8D5DA;
  --ivory:           #F0EDE8;
  --cream:           #EAE6DE;
  --cream-warm:      #E4E0D7;
  --sand:            #C8C2B8;
  --bark:            #2A231E;
  --bark-mid:        #4A3F37;
  --bark-light:      #706358;
  --gold:            #E3BF6A;
  --gold-bright:     #E3BF6A;
  --blush:           #F0C0C8;
  --blush-deep:      #C48E8E;
  --blush-pale:      #FAE8E8;
  --lilac:           #BBA8CC;
  --lilac-pale:      #EDE6F4;
  --sage:            #8FA88F;
  --sage-pale:       #D4E6D0;
  --white:           #FDFBF8;

  --font-serif:   'Cormorant Garamond', 'LXGW WenKai TC', 'DFKai-SB', 'PingFang TC', 'Times New Roman', serif;
  --font-italic:  'Crimson Pro', 'Cormorant Garamond', 'LXGW WenKai TC', 'DFKai-SB', 'PingFang TC', serif;
  --font-sans:    'LXGW WenKai TC', 'Microsoft JhengHei', 'PingFang TC', sans-serif;

  --section-pad: 112px;
  --max-w:       900px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--bark);
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: url('/assets/cursor-flower.png') 18 18, auto;
}

a, button, [role="button"], .card, .contact-card, .ig-tile {
  cursor: url('/assets/cursor-flower.png') 18 18, pointer;
}

/* === LANGUAGE TOGGLE === */
body[data-lang="zh"] .en { display: none !important; }
body[data-lang="en"] .zh { display: none !important; }

/* === SHARED TYPOGRAPHY === */
.eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dusty);
  margin-bottom: 16px;
}

.heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--bark);
  line-height: 1.3;
  margin-bottom: 28px;
}

.heading--light { color: var(--ivory); }

.prose {
  font-size: 16px;
  line-height: 2.05;
  color: var(--bark-light);
  max-width: 620px;
}

.prose p + p { margin-top: 22px; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section        { padding: var(--section-pad) 40px; }
.section--navy  { background: var(--navy-deep); color: var(--ivory); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream-warm); }

.rule { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.rule-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand) 30%, var(--sand) 70%, transparent);
}

/* === NAV === */
#mainNav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 52px;
  background: transparent;
  border-bottom: none;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

#mainNav.scrolled {
  padding: 0 52px;
  background: rgba(245, 242, 236, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(217, 209, 196, 0.4);
}

/* Logo */
.nav-logo { display: flex; align-items: center; }

.nav-logo-light { display: block; height: 150px; width: auto; }
.nav-logo-dark  { display: none;  height: 150px; width: auto; }

#mainNav.scrolled .nav-logo-light { display: none; }
#mainNav.scrolled .nav-logo-dark  { display: block; }

/* Links */
.nav-right { display: flex; align-items: center; gap: 36px; }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 400; color: rgba(245,242,236,0.85); transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

#mainNav.scrolled .nav-links a { color: var(--bark-light); }
#mainNav.scrolled .nav-links a:hover,
#mainNav.scrolled .nav-links a.active { color: var(--navy); }

/* Lang toggle */
.lang-btn {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: rgba(245,242,236,0.85);
  background: none; border: 1px solid rgba(245,242,236,0.5);
  padding: 5px 10px; transition: all 0.3s;
}

.lang-btn:hover { color: #fff; border-color: #fff; }

#mainNav.scrolled .lang-btn { color: var(--bark-light); border-color: var(--sand); }
#mainNav.scrolled .lang-btn:hover { color: var(--navy); border-color: var(--navy); }

@media (max-width: 860px) {
  .nav-logo-light { height: 120px; }
  .nav-logo-dark  { height: 120px; }
}

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}

.nav-burger span {
  display: block; width: 22px; height: 1px;
  background: rgba(245, 242, 236, 0.85); transition: all 0.3s;
}
#mainNav.scrolled .nav-burger span { background: var(--bark); }

/* Mobile full-screen nav */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--ivory); z-index: 200;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 28px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 300; letter-spacing: 3px;
  color: var(--navy); transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--dusty); }

.mobile-nav-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none;
  font-size: 28px; color: var(--bark-light);
}

.mobile-lang {
  display: flex; gap: 16px;
}

.mobile-lang button {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--bark-light); background: none; border: 1px solid var(--sand);
  padding: 6px 14px;
}

.mobile-lang button.active {
  color: var(--navy); border-color: var(--navy);
}

/* === HOME HERO === */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 140px 40px 100px;
  position: relative; overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 140% 90% at 20% 30%, #162444 0%, transparent 55%),
    radial-gradient(ellipse 110% 75% at 75% 55%, #1c3158 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 50% 85%, #24406a 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 82% 15%, #2a5080 0%, transparent 45%);
}

.hero-floral { position: absolute; inset: 0; pointer-events: none; }
.hero-floral svg,
.hero-floral img { position: absolute; }

.hero-grain {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.65;
}

.hero-content { position: relative; z-index: 1; }

.hero-pre {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 300;
  letter-spacing: 12px; color: var(--dusty-light);
  margin-bottom: 20px; opacity: 0.65;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(88px, 15vw, 190px);
  font-weight: 300; letter-spacing: 22px;
  color: #fff; line-height: 0.88; margin-bottom: 52px;
  text-shadow: 0 4px 80px rgba(20, 30, 56, 0.35);
}

.hero-tagline-en {
  font-family: var(--font-italic);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 300; font-style: italic;
  color: var(--dusty-light); letter-spacing: 1.5px; margin-bottom: 12px;
}

.hero-tagline-cn {
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--dusty); font-weight: 300;
  letter-spacing: 5px; opacity: 0.75;
}

.hero-cta {
  display: flex; gap: 16px; justify-content: center; margin-top: 40px;
}

.hero-ig-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--dusty-light); border: 1px solid rgba(158,176,186,0.35);
  padding: 10px 20px; transition: all 0.35s;
}

.hero-ig-btn svg { width: 15px; height: 15px; }

.hero-ig-btn:hover {
  color: var(--gold); border-color: rgba(227,191,106,0.5);
}

.hero-scroll {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%); z-index: 1;
}

.hero-scroll span {
  display: block; width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--dusty));
  animation: drift 2.4s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { opacity: 0.15; transform: scaleY(0.7); }
  50%       { opacity: 0.5;  transform: scaleY(1.2); }
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 110px 60px 52px;
  background: var(--navy-deep);
  text-align: left;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 30% 50%, #1a2d52 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 70% 40%, #223862 0%, transparent 55%);
}

.page-hero-floral { position: absolute; inset: 0; pointer-events: none; }
.page-hero-floral svg,
.page-hero-floral img { position: absolute; }

.page-hero-content { position: relative; z-index: 1; }

.page-hero-content { max-width: var(--max-w); margin: 0 auto; width: 100%; }

.page-hero-rule {
  width: 40px; height: 1px;
  background: var(--gold); opacity: 0.6;
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 300; letter-spacing: 10px;
  color: #fff; margin-bottom: 14px;
}

.page-hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--dusty); letter-spacing: 1.5px;
}

/* === HOME — INTRO STRIP === */
.intro-strip {
  padding: 80px 40px; text-align: center;
}

.intro-strip .heading {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 20px;
}

.intro-strip .prose {
  max-width: 560px; margin: 0 auto;
  text-align: center;
}

/* === COLLECTION CARDS === */
.cards-section {
  padding: var(--section-pad) 40px;
  background: var(--cream-warm);
}

.cards-header {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}

.see-all {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--dusty); border-bottom: 1px solid var(--dusty);
  padding-bottom: 2px; transition: color 0.3s, border-color 0.3s;
}

.see-all:hover { color: var(--navy); border-color: var(--navy); }

.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}

.card {
  padding: 36px 28px; background: var(--white);
  border: 1px solid rgba(217, 209, 196, 0.6);
  position: relative; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s;
}

.card:hover { border-color: var(--dusty); transform: translateY(-4px); }

.card-name {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 400;
  color: var(--bark); letter-spacing: 2px;
}

.card-cn {
  font-size: 14px; font-weight: 400;
  margin: 4px 0 8px;
}

.card-age {
  font-size: 13px; color: var(--bark-light);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}

.card-desc {
  font-size: 15px; color: var(--bark-light); line-height: 1.85;
}

/* Card type accents */
.card--seed { border-top: 3px solid var(--dusty); }
.card--seed::before {
  content: ''; position: absolute; top: 0; right: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(174,202,224,0.18) 0%, transparent 70%);
}
.card--seed .card-cn { color: var(--dusty); }

.card--leaf { border-top: 3px solid var(--sage); }
.card--leaf::before {
  content: ''; position: absolute; top: 0; right: -16px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,168,143,0.15) 0%, transparent 70%);
}
.card--leaf .card-cn { color: var(--sage); }

.card--bloom { border-top: 3px solid var(--blush-deep); }
.card--bloom::before {
  content: ''; position: absolute; top: 0; right: -24px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,192,200,0.18) 0%, transparent 70%);
}
.card--bloom .card-cn { color: var(--blush-deep); }

/* === SERIES JOURNEY (homepage) === */
.series-journey {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 820px; margin: 0 auto;
  padding: 20px 0 40px;
}
.sj-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 16px;
}
.sj-connector {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding-top: 52px; gap: 5px; flex-shrink: 0;
}
.sj-connector span {
  display: block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--dusty-pale);
}

/* Seed visual */
.sj-visual { position: relative; width: 80px; height: 80px; margin-bottom: 20px; }
.sj-visual--seed { display: flex; align-items: center; justify-content: center; }
.sj-seed-glow {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,191,106,0.35) 0%, rgba(240,186,80,0.12) 45%, transparent 75%);
  animation: seedPulse 3s ease-in-out infinite;
}
.sj-seed-core {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #C8A86B, #7A5830);
  position: relative; z-index: 1;
  box-shadow: 0 2px 8px rgba(122,88,48,0.35);
}
@keyframes seedPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Leaf visual */
.sj-visual--leaf {
  display: flex; align-items: flex-end; justify-content: center;
}
.sj-leaf-soil {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 10px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(122,88,48,0.2) 0%, transparent 70%);
}
.sj-leaf-sprout { width: 40px; height: 48px; position: relative; z-index: 1; }
.sj-leaf-sprout svg { width: 100%; height: 100%; }

/* Bloom visual */
.sj-visual--bloom { display: flex; align-items: center; justify-content: center; }
.sj-flower { width: 72px; height: 72px; object-fit: contain; }

.sj-name-en {
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: 2px;
  color: var(--dusty); margin-bottom: 4px;
}
.sj-name-cn {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 400; letter-spacing: 3px;
  color: var(--bark); margin-bottom: 10px;
}
.sj-products {
  font-size: 14px; letter-spacing: 1.5px; color: var(--bark-light);
  line-height: 1.7; margin-bottom: 8px;
}
.sj-desc {
  font-family: var(--font-serif);
  font-size: 14px; color: var(--dusty);
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .series-journey { flex-direction: column; align-items: center; gap: 0; }
  .sj-connector { flex-direction: row; padding-top: 0; gap: 5px; margin: 12px 0; }
  .sj-item { padding: 0; }
}

/* Aux cards (Pair, Pal, Kit) */
.card--aux {
  border: 1px dashed var(--sand);
  background: transparent;
}
.card--aux:hover { border-color: var(--dusty); transform: translateY(-4px); }

.card--pair { border-top: 2px dashed #C9B08C; }
.card--pair .card-cn { color: #A08660; }

.card--pal  { border-top: 2px dashed var(--lilac); }
.card--pal  .card-cn { color: #8A7DA8; }

.card--kit  { border-top: 2px dashed var(--sage); }
.card--kit  .card-cn { color: #5E9B8E; }

/* === QUOTE INTERLUDE === */
.quote-section {
  padding: 130px 40px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--navy-deep);
}

.quote-florals { position: absolute; inset: 0; pointer-events: none; }
.quote-florals svg,
.quote-florals img { position: absolute; }

/* Center large flower — the wow */
.quote-fl-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; opacity: 0.13;
}

.quote-fl1 { top: 4%;  left: 2%;  width: 180px; opacity: 0.10; transform: rotate(-14deg); }
.quote-fl2 { top: 8%;  right: 4%; width: 150px; opacity: 0.09; transform: rotate(22deg); }
.quote-fl3 { bottom: 8%;  left: 8%;  width: 160px; opacity: 0.09; transform: rotate(-20deg); }
.quote-fl4 { bottom: 5%;  right: 3%; width: 140px; opacity: 0.08; transform: rotate(12deg); }

.quote-text {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 300;
  color: var(--ivory); letter-spacing: 2px; line-height: 1.3;
}

.quote-sub {
  display: block; margin-top: 22px; position: relative; z-index: 1;
  font-family: var(--font-sans); font-style: normal; font-weight: 300;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--gold); letter-spacing: 5px;
}

/* === IG SECTION === */
.ig-section { padding: 80px 40px; background: var(--ivory); }

.ig-section-inner { max-width: var(--max-w); margin: 0 auto; }

.ig-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }

.ig-handle {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 300;
  color: var(--navy); letter-spacing: 2px;
}

.ig-handle a { transition: color 0.3s; }
.ig-handle a:hover { color: var(--dusty); }

.ig-follow {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--dusty); border-bottom: 1px solid var(--dusty);
  padding-bottom: 2px; transition: all 0.3s;
}

.ig-follow:hover { color: var(--navy); border-color: var(--navy); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ig-tile {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--dusty-pale) 0%, var(--cream-warm) 100%);
  border: 1px solid rgba(217, 209, 196, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.ig-tile:hover { transform: scale(1.025); box-shadow: 0 8px 32px rgba(28,49,89,0.12); }

.ig-tile-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 16px;
}

.ig-tile-label {
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--bark-light); opacity: 0.6;
}

.ig-tile-sub {
  font-family: var(--font-sans);
  font-size: 13px; letter-spacing: 1.5px; color: var(--bark-light); opacity: 0.45;
}

/* Tile colour variants */
.ig-tile--ivory   { background: linear-gradient(145deg, var(--cream) 0%, var(--cream-warm) 100%); }
.ig-tile--dusty   { background: linear-gradient(145deg, var(--dusty-pale) 0%, #cddee9 100%); }
.ig-tile--blush   { background: linear-gradient(145deg, var(--blush-pale) 0%, #f5d5d5 100%); }
.ig-tile--sage    { background: linear-gradient(145deg, var(--sage-pale) 0%, #c6ddc4 100%); }
.ig-tile--lilac   { background: linear-gradient(145deg, var(--lilac-pale) 0%, #ddd3ed 100%); }
.ig-tile--gold    { background: linear-gradient(145deg, #f7edd9 0%, #f0e0bb 100%); }

.ig-tile--large {
  grid-column: span 2;
  grid-row: span 2;
}

.ig-tile--large .ig-tile-label { font-size: 14px; letter-spacing: 4px; opacity: 0.7; }
.ig-tile--large .ig-tile-sub   { font-size: 13px; opacity: 0.5; }
.ig-tile svg,
.ig-tile .ig-tile-flower { width: 30px; height: 30px; opacity: 0.22; }

.ig-tile--large svg,
.ig-tile--large .ig-tile-flower { width: 52px; height: 52px; opacity: 0.18; }

/* === FOOTER === */
footer {
  background: var(--navy-deep);
  padding: 80px 40px 48px;
}

.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}

.footer-logo-img {
  height: 240px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
  grid-column: 2; grid-row: 1;
  justify-self: center;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 300;
  font-style: italic;
  color: rgba(245, 242, 236, 0.55);
  letter-spacing: 2px;
  line-height: 1.9;
  grid-column: 1; grid-row: 1;
  align-self: center;
}

.footer-social-row {
  display: flex; align-items: center; gap: 36px;
  margin-top: 4px;
}

.footer-social-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 1px;
  color: rgba(245, 242, 236, 0.65); transition: color 0.3s;
  text-decoration: none;
}

.footer-social-link svg {
  width: 18px; height: 18px;
  stroke: rgba(245, 242, 236, 0.4);
  fill: none; transition: stroke 0.3s;
}

.footer-social-link:hover { color: var(--gold); }
.footer-social-link:hover svg { stroke: var(--gold); }

.footer-cols {
  display: flex; gap: 64px;
  text-align: left;
  grid-column: 3; grid-row: 1;
  align-self: center;
  justify-self: end;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: 4px;
}

.footer-nav {
  display: flex; flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px; letter-spacing: 1px;
  color: rgba(245, 242, 236, 0.6); transition: color 0.3s;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 28px;
    justify-items: center;
    text-align: center;
  }
  .footer-logo-img { grid-column: 1; grid-row: 1; justify-self: center; }
  .footer-tagline { grid-column: 1; grid-row: 3; text-align: center; align-self: auto; }
  .footer-cols { grid-column: 1; grid-row: 2; flex-direction: column; gap: 28px; align-items: center; text-align: center; justify-self: center; }
  .footer-nav { align-items: center; }
}

.footer-bottom {
  max-width: var(--max-w); margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 242, 236, 0.05);
  text-align: center;
}

.footer-copy {
  font-size: 13px; color: rgba(245, 242, 236, 0.2);
  letter-spacing: 1px;
}

/* === STORY PAGE — Etymology === */
.ety-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}

.ety-chain { display: flex; flex-direction: column; }

.ety-node {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 20px; align-items: baseline; padding: 18px 0;
}

.ety-node + .ety-node { border-top: 1px solid var(--dusty-pale); }

.ety-term {
  font-family: 'Noto Sans Thai', var(--font-serif);
  font-size: 17px; font-weight: 400;
  color: var(--bark); text-align: right;
}

.ety-gloss {
  font-size: 15px; color: var(--bark-light); line-height: 1.65;
}

.ety-node.final {
  border-top: 2px solid var(--navy) !important;
  padding-top: 24px; margin-top: 8px;
}

.ety-node.final .ety-term {
  font-size: 26px; color: var(--navy);
  font-weight: 500; letter-spacing: 2px;
}

.ety-node.final .ety-gloss {
  font-family: var(--font-serif); font-size: 17px; color: var(--bark);
}

.ety-brand-line {
  margin-top: 6px; font-size: 13px;
  color: var(--dusty); letter-spacing: 3px;
}

/* === STORY PAGE — About === */
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; margin-top: 52px;
}

.about-col h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 400;
  color: var(--dusty-light); margin-bottom: 18px; letter-spacing: 1px;
}

.about-col p {
  font-size: 14px; line-height: 1.95;
  color: rgba(245, 242, 236, 0.72);
}

.about-col p + p { margin-top: 16px; }

/* Pillars */
.pillars {
  display: flex; gap: 0;
  margin-top: 72px; padding-top: 56px;
  border-top: 1px solid rgba(245, 242, 236, 0.07);
}

.pillar { flex: 1; text-align: center; padding: 0 20px; }
.pillar + .pillar { border-left: 1px solid rgba(245, 242, 236, 0.06); }

.pillar-word {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 300;
  color: var(--dusty-light); letter-spacing: 3px; margin-bottom: 10px;
}

.pillar-desc {
  font-size: 14px; color: rgba(245, 242, 236, 0.55); line-height: 1.75;
}

/* === COLLECTIONS PAGE — Growth strip === */
.growth-strip {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 52px; margin: 64px 0 80px;
}

.growth-node { display: flex; flex-direction: column; align-items: center; }

.growth-orb { border-radius: 50%; transition: transform 0.5s; }
.growth-node:hover .growth-orb { transform: scale(1.07); }

.orb-seed {
  width: 50px; height: 50px;
  background: radial-gradient(circle at 40% 38%, var(--dusty-light) 0%, var(--dusty) 100%);
  box-shadow: 0 4px 20px rgba(139, 173, 196, 0.25);
}

.orb-leaf {
  width: 78px; height: 78px;
  background: radial-gradient(circle at 42% 38%, var(--sage-pale) 0%, var(--sage) 100%);
  box-shadow: 0 6px 28px rgba(143, 168, 143, 0.22);
}

.orb-bloom {
  width: 114px; height: 114px;
  background: radial-gradient(circle at 38% 36%, var(--blush-pale) 0%, var(--blush) 55%, var(--blush-deep) 100%);
  box-shadow: 0 8px 44px rgba(240, 192, 200, 0.32);
}

.growth-connector {
  width: 44px; height: 1px; margin-bottom: 64px;
  background: linear-gradient(to right, var(--dusty), var(--sand));
  opacity: 0.4;
}

.growth-label { margin-top: 20px; text-align: center; }

.growth-en {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 400;
  color: var(--bark); letter-spacing: 2px;
}

.growth-cn  { font-size: 14px; color: var(--bark-light); margin-top: 3px; }
.growth-age { font-size: 13px; color: var(--dusty); margin-top: 3px; letter-spacing: 1px; }

.coming-soon-tag {
  display: inline-block;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--bark-light); border: 1px solid var(--sand);
  padding: 6px 14px; margin-bottom: 32px;
}

/* Aux cards grid */
.cards-grid-aux {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* === CONTACT PAGE === */
.contact-intro {
  padding: var(--section-pad) 40px;
  text-align: center;
}

.contact-intro .heading { text-align: center; }
.contact-intro .prose { margin: 0 auto; text-align: center; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 700px; margin: 52px auto 0;
}

.contact-card {
  padding: 48px 40px; border: 1px solid var(--sand);
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start; background: var(--white);
  transition: border-color 0.35s, transform 0.35s;
}

.contact-card:hover { border-color: var(--dusty); transform: translateY(-3px); }

.contact-card-icon { width: 44px; height: 44px; color: var(--navy); }
.contact-card-icon svg { width: 100%; height: 100%; }

.contact-platform {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 400;
  letter-spacing: 2px; color: var(--bark);
}

.contact-handle {
  font-size: 14px; color: var(--bark-light); letter-spacing: 1px;
}

.contact-desc {
  font-size: 15px; color: var(--bark-light); line-height: 1.85;
}

.contact-cta {
  display: inline-block; margin-top: 4px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--dusty);
  padding-bottom: 2px; transition: all 0.3s;
}

.contact-cta:hover { color: var(--dusty); border-color: var(--navy); }

/* === BACK TO TOP === */
#backToTop {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18, 45, 72, 0.72);
  border: 1px solid rgba(245, 242, 236, 0.18);
  color: rgba(245, 242, 236, 0.85);
  font-size: 17px; font-family: var(--font-serif);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s, background 0.3s;
  backdrop-filter: blur(8px);
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: rgba(18, 45, 72, 0.95); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.95s cubic-bezier(0.23,1,0.32,1),
              transform 0.95s cubic-bezier(0.23,1,0.32,1);
}

.reveal.on { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* === TOUCH BLOOM === */
.touch-bloom {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  background-image: url('/assets/churi-flower.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: touch-bloom-anim 0.65s ease-out forwards;
}
@keyframes touch-bloom-anim {
  0%   { transform: scale(0.2) rotate(-20deg); opacity: 0.9; }
  55%  { transform: scale(1.1) rotate(8deg);  opacity: 0.7; }
  100% { transform: scale(1.5) rotate(15deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* === RESPONSIVE === */
@media (max-width: 860px) {
  :root { --section-pad: 72px; }

  .container { padding: 0 20px; }
  .prose p { text-align: left !important; }
  .prose br { display: none; }

  #mainNav { padding: 16px 24px; }
  #mainNav.scrolled { padding: 12px 24px; }
  .nav-links, .lang-btn { display: none; }
  .nav-burger { display: flex; }

  .cards-grid, .cards-grid-aux { grid-template-columns: 1fr; }
  .cards-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ety-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-cols { grid-template-columns: 1fr; gap: 32px; }
  .pillars { flex-direction: column; gap: 28px; }
  .pillar + .pillar { border-left: none; border-top: 1px solid rgba(245,242,236,0.06); padding-top: 28px; }
  .footer-inner { column-gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .growth-strip { gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 520px) {
  .growth-strip { flex-direction: column; align-items: center; gap: 24px; }
  .growth-connector { display: none; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-tile--large { grid-column: span 2; grid-row: span 1; }
  .hero-brand { letter-spacing: 12px; }
}
