/* ===== KAYAJ Design System ===== */
/* Brand tokens – mirrored in tailwind-config.js */
:root {
  --color-brand: #0D5C46;
  --color-brand-light: #10b981;
  --color-brand-dark: #064e3b;
  --color-gold: #D4AF37;
  --color-gold-dark: #b8860b;
  --color-bg: #f8faf9;
  --color-surface: #ffffff;
  --color-fg: #1a1f2e;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f0faf5 0%, #ffffff 30%, #fafdfb 100%);
  color: var(--color-fg);
  font-family: "Noto Sans TC", "Noto Sans HK", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ===== Skip Link ===== */
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px; background: var(--color-brand); color: white;
  padding: 10px 16px; font-weight: 700; font-size: 14px;
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.04); }
.nav {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
  font-weight: 700; font-size: 20px; letter-spacing: 0.02em;
  color: var(--color-brand);
}
.brand-mark {
  height: 46px;
  width: auto;
  display: inline-flex;
  align-items: center;
  background: transparent;
  overflow: visible;
}
.brand-logo-img { height: 100%; width: auto; object-fit: contain; padding: 0; }
.brand .brand-mark:has(img) + span { display: none; }

.nav-links {
  display: flex; align-items: center; gap: 18px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  font-size: 14px; font-weight: 500; color: var(--color-muted);
}
.nav-links a {
  position: relative; padding: 6px 0;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--color-brand); border-radius: 999px;
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--color-fg); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--color-brand); font-weight: 600; }
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Language Switch */
.language-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--color-surface);
}
.language-switch button {
  min-width: 40px; min-height: 34px; border: 0; border-radius: 999px;
  background: transparent; color: var(--color-muted);
  font-size: 12px; font-weight: 650; letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.language-switch button:hover { color: var(--color-fg); }
.language-switch button[aria-pressed="true"] {
  background: var(--color-brand); color: white;
}

/* Mobile Menu */
.menu-button {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--color-border); border-radius: 12px;
  background: var(--color-surface); color: var(--color-fg);
  font-size: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: 14px; letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid rgba(212,175,55,0.6); outline-offset: 3px;
}
.btn:disabled, button:disabled, .btn[aria-busy="true"] { cursor: not-allowed; opacity: 0.5; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, #0a4a38 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(13, 92, 70, 0.25), 0 2px 6px rgba(13, 92, 70, 0.12);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(13, 92, 70, 0.32), 0 4px 10px rgba(13, 92, 70, 0.16);
  background: linear-gradient(135deg, #0f6b52 0%, var(--color-brand) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #e2c458 0%, var(--color-gold) 100%);
  color: #3d2e00;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.btn-gold:hover {
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #ebd06a 0%, #d4af37 100%);
}

.btn-secondary {
  background: var(--color-surface); color: var(--color-fg);
  border-color: var(--color-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
  border-color: rgba(13,92,70,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.btn-ghost {
  background: transparent; color: var(--color-brand);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(13,92,70,0.05); }

.btn-link {
  background: transparent; border: 0; padding-inline: 8px;
  min-height: 46px; color: var(--color-muted); font-weight: 650;
}
.btn-link:hover { color: var(--color-fg); transform: translateY(-1px); }

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 15px; }

/* ===== Typography ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
  color: var(--color-brand);
  font-size: 13px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 32px; height: 2px;
  background: var(--color-brand); border-radius: 999px;
}
h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display);
  letter-spacing: -0.02em; line-height: 1.15;
  color: var(--color-fg);
}
h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin-bottom: 20px; }
h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; margin-bottom: 12px; }
p { margin: 0; }
/* Hero title: extra prominent (scaled -20%) */
.hero h1,
.hero-copy h1 {
  font-size: clamp(48px, 7.2vw, 96px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 8px;
}
.lead {
  color: var(--color-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  max-width: 70ch;
  margin-bottom: 24px;
}
.subtle { color: var(--color-muted); line-height: 1.6; }
.mono { font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; }

/* ===== Layout ===== */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section.tight { padding: clamp(56px, 8vw, 100px) 0; }

/* ===== Hero ===== */
.hero { padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; min-height: 90vh; display: flex; align-items: center; }
.hero.subpage-hero { min-height: 60vh; padding: clamp(100px, 15vw, 200px) 0 clamp(60px, 10vw, 120px); }
.hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,92,70,0.04) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.85fr);
  gap: clamp(60px, 10vw, 120px);
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 32px; max-width: 760px; }
.hero-actions, .action-row {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}

/* Hero Product Card */
.hero-product {
  min-height: 680px; position: relative;
  border-radius: 40px;
  border: 1px solid rgba(212,175,55,0.25);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,250,252,0.85)),
    radial-gradient(circle at 60% 20%, rgba(212,175,55,0.2), transparent 70%);
  box-shadow: 0 32px 90px rgba(0,57,43,0.1), 0 8px 30px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.hero-product:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 100px rgba(0,57,43,0.15), 0 12px 40px rgba(0,0,0,0.06);
}
.hero-product::before {
  content: ''; position: absolute;
  inset: auto 5% 80px 10%; height: 50%;
  background:
    radial-gradient(circle at 60% 40%, rgba(212,175,55,0.25), transparent 60%),
    radial-gradient(circle at 40% 50%, rgba(13,92,70,0.15), transparent 70%);
  filter: blur(20px); border-radius: 999px;
}

/* ===== Hero background video (homepage) ===== */
.hero-video .hero-grid { grid-template-columns: 1fr; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(8,28,24,0.80) 0%, rgba(8,28,24,0.55) 42%, rgba(8,28,24,0.18) 76%, rgba(8,28,24,0.40) 100%);
}
.hero-video .hero-copy { position: relative; z-index: 2; }
.hero-video .hero-copy h1,
.hero-video .hero-copy .lead { color: #ffffff; }
.hero-video .hero-copy .lead { opacity: 0.92; }
.hero-video .hero-copy .gradient-text {
  background-image: linear-gradient(92deg, #f4d67a 0%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-video .trust-item strong { color: #ffffff; }
.hero-video .trust-item span { color: rgba(255,255,255,0.82); }
.hero-video .btn-link { color: #ffffff; }
@media (max-width: 900px) {
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(8,28,24,0.55) 0%, rgba(8,28,24,0.80) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}

/* ===== 2026 scientific wellness visual refresh ===== */
:root {
  --color-brand: #0b5b46;
  --color-brand-light: #14745a;
  --color-brand-dark: #063b30;
  --color-gold: #b9962e;
  --color-gold-dark: #8f711b;
  --color-bg: #f4f7f5;
  --color-surface: #ffffff;
  --color-fg: #17211d;
  --color-muted: #4f5b55;
  --color-border: #d7ded9;
  --radius-xl: 6px;
  --radius-2xl: 8px;
  --radius-3xl: 8px;
  --shadow-sm: 0 8px 24px rgba(6, 59, 48, 0.06);
  --shadow-md: 0 18px 48px rgba(6, 59, 48, 0.12);
}

html { background: var(--color-bg); }
body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 16px;
  line-height: 1.65;
}
h1, h2, h3, h4,
.hero h1, .hero-copy h1 { letter-spacing: 0; }
h1, .hero h1, .hero-copy h1 { font-size: 64px; line-height: 1.04; }
h2 { font-size: 40px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
.lead { color: var(--color-muted); font-size: 17px; line-height: 1.72; max-width: 70ch; }
.subtle { color: var(--color-muted); }
.container { max-width: 1280px; padding-inline: 40px; }
.container-narrow { max-width: 960px; padding-inline: 40px; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(11,91,70,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(6,59,48,.07); }
.nav { max-width: 1280px; min-height: 76px; gap: 22px; }
.nav-links { gap: 24px; color: #33423b; font-weight: 600; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 0; }
.nav-links a::after { border-radius: 0; }
.nav-more { position: relative; display: inline-flex; align-items: center; }
.nav-more summary {
  list-style: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; color: #33423b; font-size: 14px; font-weight: 600;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.nav-more-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 210px; padding: 8px;
  border: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow-md); border-radius: 8px;
}
.nav-more-menu a { display: flex; padding: 10px 12px; border-radius: 6px; }
.nav-more-menu a:hover { background: #edf4f1; }
.nav-contact-link,
.nav-member-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #b9c7c0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand);
  flex: 0 0 auto;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.nav-contact-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-contact-link:hover,
.nav-contact-link:focus-visible {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11,91,70,.18);
}
.nav-contact-link:focus-visible {
  outline: 3px solid rgba(185,150,46,.42);
  outline-offset: 3px;
}
.menu-button { border-radius: 6px; font-size: 0; }
.menu-button::before, .menu-button::after, .menu-button { background-repeat: no-repeat; }
.menu-button::before { content: ''; width: 20px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-button::after { content: ''; position: absolute; width: 20px; border-top: 2px solid currentColor; }

.language-switch { border-radius: 999px; background: #f5f7f6; }
.btn { border-radius: 7px; min-height: 46px; padding: 11px 20px; letter-spacing: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-brand); box-shadow: 0 8px 20px rgba(11,91,70,.2); }
.btn-primary:hover { background: var(--color-brand-dark); box-shadow: 0 10px 24px rgba(11,91,70,.25); }
.btn-secondary { background: #fff; border-color: #b9c7c0; color: var(--color-brand-dark); }
.btn-gold { background: var(--color-gold); }
.btn-link { color: var(--color-brand); }

.eyebrow { letter-spacing: .08em; color: var(--color-brand); }
.eyebrow::before { border-radius: 0; }
.hero { min-height: auto; padding: 112px 0; background: #edf3f0; }
.hero.subpage-hero { min-height: 360px !important; padding: 96px 0 64px !important; }
.hero::before, .hero::after, .partnership-panel::before, .partnership-panel::after, .cta-panel::before { display: none; }
.hero-grid { gap: 72px; }
.hero-copy { gap: 22px; }

.card, .product-card, .panel,
.faq-panel, .faq-support, .faq-item, .news-card, .list-item {
  border-radius: 8px;
  border-color: var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card:hover, .product-card:hover, .news-card:hover {
  transform: translateY(-2px); border-color: #aac0b6; box-shadow: var(--shadow-md);
}
.panel-highlight, .partnership-panel, .cta-panel { background: #eef4f1; border-color: #cad8d1; }
.tag, .status { box-shadow: none; letter-spacing: 0; }

.product-card { grid-template-rows: 300px 1fr; }
.product-media { min-height: 300px; padding: 34px; background: #eef3f0; }
.product-image { width: min(78%, 210px); max-height: 250px; filter: drop-shadow(0 20px 26px rgba(6,59,48,.2)); }
.product-image-pair .product-image { width: min(42%, 130px); }
.product-body { padding: 26px; gap: 14px; align-content: start; }
.product-body .btn { margin-top: auto; justify-self: start; }
.product-detail-gallery {
  border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible;
}
.product-detail-gallery::before { display: block; inset: auto 8% 8% 8%; height: 62%; background: #dfe9e4; filter: none; border-radius: 50%; }
.product-detail-gallery:hover { transform: none; box-shadow: none; }

.page-header { background: #eaf1ed; border-bottom-color: #d2ded8; }
.page-header h1 { font-size: 48px; }
.step:not(.is-active) .step-text strong { color: #59665f; }
.step:not(.is-active) .step-num { color: #526159; border-color: #a8b6af; background: #fff; }
.step-connector { background: #b9c6c0; }

.faq-section { background: #f4f7f5; }
.faq-panel, .faq-support { box-shadow: none; }
.faq-tag { color: var(--color-brand-dark); background: #e5efea; border-color: #c5d6ce; }
.faq-item { padding: 0 22px; box-shadow: none; }
.faq-item:has(.faq-question[aria-expanded="true"]) { background: #fff; border-left: 4px solid var(--color-brand); box-shadow: var(--shadow-sm); }
.faq-question { color: #17211d; }
.faq-answer { color: #45524c; }

.event-item { border-radius: 8px; cursor: pointer; box-shadow: none; }
.event-item img { aspect-ratio: 4 / 3 !important; object-position: center; }
.event-item:nth-child(3) img { object-position: 50% 42%; }
.event-cap { background: linear-gradient(180deg, transparent, rgba(6,39,31,.86)); }

.footer { padding: 64px 0 48px; color: rgba(255,255,255,.76); background: var(--color-brand-dark); border-top: 0; }
.footer strong, .footer .brand { color: #fff; }
.footer .subtle { color: rgba(255,255,255,.68); }
.footer a:hover { color: #e5c865; }

.ai-assistant { right: 24px; bottom: 24px; }
.ai-toggle { width: 48px; height: 48px; font-size: 16px; background: var(--color-brand); box-shadow: 0 10px 26px rgba(6,59,48,.28); }
.ai-panel { bottom: 60px; border-radius: 8px; }
body.has-commerce-bar .ai-assistant { bottom: 112px; }
body.form-focused .ai-assistant { opacity: 0; pointer-events: none; }
.commerce-bar { bottom: 12px; }
.commerce-bar-inner { border-radius: 8px; background: #fff; backdrop-filter: none; }

.animate-fade-up { animation: refreshLift .28s ease-out both; }
.animate-fade-in { animation: fadeIn .26s ease-out both; }
.stagger > * { opacity: 1; animation: none; }
@keyframes refreshLift { from { transform: translateY(8px); } to { transform: translateY(0); } }

/* Homepage cinematic hero */
.hero-video {
  min-height: min(820px, calc(100vh - 76px)); padding: 78px 0; color: #fff;
  background: #082f27 url("video/optimized/kayaj-nature-poster.jpg") center/cover no-repeat;
}
.hero-video .hero-grid { grid-template-columns: minmax(0, .96fr) minmax(420px, .72fr); }
.hero-video .hero-copy { max-width: 690px; }
.hero-video .hero-copy h1 { color: #fff; margin: 0; }
.hero-video .hero-copy .lead { color: rgba(255,255,255,.88); max-width: 58ch; }
.hero-video-overlay { background: linear-gradient(90deg, rgba(4,34,27,.84) 0%, rgba(4,34,27,.63) 48%, rgba(4,34,27,.26) 100%); }
.hero-video .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
.hero-products-stage { position: relative; min-height: 520px; z-index: 2; align-self: end; }
.hero-products-stage::before {
  content: ''; position: absolute; left: 5%; right: 0; bottom: 42px; height: 120px;
  background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.26); border-radius: 50%;
  filter: blur(.2px); transform: perspective(500px) rotateX(64deg);
}
.hero-stage-product { position: absolute; bottom: 78px; object-fit: contain; filter: drop-shadow(0 28px 30px rgba(0,0,0,.4)); }
.hero-stage-product.slim { width: 170px; left: 3%; bottom: 60px; z-index: 2; }
.hero-stage-product.skin { width: 160px; right: 0; bottom: 56px; z-index: 2; }
.hero-video-control {
  position: absolute; right: 28px; bottom: 28px; z-index: 5; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(4,34,27,.5);
}
.hero-video-control:focus-visible { outline: 3px solid #e3c85c; outline-offset: 3px; }
.trust-band { background: var(--color-brand-dark); color: #fff; }
.trust-band .trust-badge-strip { border: 0; border-radius: 0; background: transparent; }
.trust-band .trust-badge { background: transparent; color: #fff; border-right: 1px solid rgba(255,255,255,.16); }
.trust-band .trust-badge:last-child { border-right: 0; }
.trust-band .trust-badge strong, .trust-band .trust-badge svg { color: #fff; opacity: 1; }
.trust-band .trust-badge span { color: rgba(255,255,255,.7); }

.media-story { display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 1fr); gap: 56px; align-items: center; }
.media-frame { width: 100%; aspect-ratio: 16/9; background: #092d25; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-md); }
.media-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #071f1a; }
.media-copy { display: grid; gap: 16px; }
.media-points { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.media-points li { padding-left: 22px; position: relative; color: var(--color-muted); }
.media-points li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; background: var(--color-gold); }
.video-disclaimer { color: #4f5b55; border-left-color: var(--color-gold); }

.team-card { border-radius: 8px; }
.team-card details { margin-top: 12px; }
.team-card summary { color: var(--color-brand); font-weight: 700; cursor: pointer; }
.brand-photo { display: block; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-md); }
.brand-photo img { width: 100%; min-height: 480px; height: 100%; object-fit: cover; object-position: center; }
.team-card details .subtle { margin-top: 12px; }

@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-actions > .btn { display: none; }
  .hero-video .hero-grid { grid-template-columns: 1fr minmax(330px, .6fr); gap: 28px; }
  .hero-stage-product.slim { width: 145px; }
  .hero-stage-product.skin { width: 140px; }
}

@media (max-width: 900px) {
  .container, .container-narrow, .nav { padding-inline: 28px; }
  h1, .hero h1, .hero-copy h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }
  .menu-button { display: grid !important; place-items: center; position: relative; }
  .nav-links {
    position: fixed; inset: 76px 0 0; display: none; padding: 24px 28px 40px; background: #fff;
    box-shadow: none; border: 0; border-radius: 0; flex-direction: column; align-items: stretch;
    gap: 2px; overflow-y: auto; max-height: calc(100vh - 76px); font-size: 16px;
  }
  .nav-links.is-open { display: flex !important; }
  .nav-links a { min-height: 50px; padding: 10px 4px; border-bottom: 1px solid #e6ece9; }
  .nav-more { display: block; }
  .nav-more summary { min-height: 50px; width: 100%; }
  .nav-more-menu { position: static; width: auto; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .nav-actions { margin-left: auto; }
  .hero-video { min-height: 760px; padding: 70px 0 20px; }
  .hero-video .hero-grid { grid-template-columns: 1fr; }
  .hero-video .hero-copy { max-width: 670px; }
  .hero-products-stage { min-height: 310px; width: min(520px, 100%); margin-left: auto; }
  .hero-stage-product { bottom: 45px; }
  .hero-stage-product.slim { width: 120px; bottom: 38px; }
  .hero-stage-product.skin { width: 115px; bottom: 36px; }
  .hero-products-stage::before { bottom: 16px; height: 84px; }
  .media-story { grid-template-columns: 1fr; gap: 28px; }
  .media-frame { max-width: 640px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container, .container-narrow, .nav { padding-inline: 20px; }
  h1, .hero h1, .hero-copy h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 18px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 52px 0; }
  .nav-actions .language-switch { display: none; }
  .nav-contact-link, .nav-member-link { display: none; }
  .hero.subpage-hero { min-height: 280px !important; padding: 72px 0 48px !important; }
  .hero-video {
    min-height: 720px; padding-top: 58px;
    background-image: url("video/optimized/kayaj-nature-poster-mobile.jpg");
  }
  .hero-video-overlay { background: linear-gradient(180deg, rgba(4,34,27,.68), rgba(4,34,27,.86)); }
  .hero-video .hero-copy { gap: 16px; }
  .hero-video .hero-copy .lead { font-size: 15px; line-height: 1.62; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 44px; padding-inline: 16px; }
  .hero-products-stage { min-height: 260px; }
  .hero-stage-product.slim { width: 100px; }
  .hero-stage-product.skin { width: 96px; }
  .hero-video-control { right: 16px; bottom: 16px; }
  .trust-band .trust-badge { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .trust-band .trust-badge:last-child { border-bottom: 0; }
  .product-card { grid-template-rows: 250px 1fr; }
  .product-media { min-height: 250px; }
  .faq-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .faq-tag { flex: 0 0 auto; }
  .faq-answer { margin-right: 0; }
  .ai-assistant { right: 16px; bottom: 16px; }
  .ai-toggle { width: 44px; height: 44px; font-size: 14px; }
  body.has-commerce-bar .ai-assistant { bottom: 102px; }
  .commerce-bar { padding-inline: 12px; }
  .commerce-bar-inner { flex-direction: row; align-items: center; }
  .commerce-bar-inner .btn-secondary { display: none; }
  .commerce-bar-inner strong { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Content-led layouts for public information and conversion pages. */
.projects-page .grid-3,
body:has(a[aria-current="page"][href^="projects.html"]) main .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
body:has(a[aria-current="page"][href^="projects.html"]) main .grid-3 > .card {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body:has(a[aria-current="page"][href^="projects.html"]) main .grid-3 > .card:hover { transform: none; box-shadow: none; }
body:has(a[aria-current="page"][href^="projects.html"]) main .grid-3 > .card h3 { color: var(--color-brand-dark); }

.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-card { min-height: 360px; padding: 220px 28px 28px; position: relative; overflow: hidden; align-content: start; }
.news-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 190px;
  background: #dfe8e4 center/cover no-repeat;
}
.news-card:nth-child(1)::before { background-image: url("events/event-01.webp"); }
.news-card:nth-child(2)::before { background-image: url("events/event-02.webp"); }
.news-card:nth-child(3)::before { background-image: url("events/event-03.webp"); background-position: center 42%; }
.news-card:nth-child(4)::before { background-image: url("events/event-04.webp"); }
.news-card:nth-child(5)::before { background-image: url("events/event-05.webp"); }
.news-card:nth-child(6)::before { background-image: url("events/event-06.webp"); }

.form input, .form select, .form textarea {
  border-radius: 7px; border-color: #bdcac4; background: #fff; color: var(--color-fg);
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(11,91,70,.12);
}
.booking-panel { background: #fff; }
.trust-card, .contact-card { border-radius: 8px; box-shadow: none; }
.topic-card { border-radius: 8px; }
.topic-card:has(input:checked) { border-color: var(--color-brand); background: #edf4f1; }
.member-layout .panel, .auth-card, .benefits-card { border-radius: 8px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body:has(a[aria-current="page"][href^="projects.html"]) main .grid-3 > .card { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .news-card { min-height: 330px; padding: 198px 20px 22px; }
  .news-card::before { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none !important; }
  .animate-fade-up, .animate-fade-in { animation: none !important; }
}

/* ===== Inline video disclaimer ===== */
.video-disclaimer {
  margin-top: 16px; font-size: 13px; line-height: 1.6;
  color: var(--color-muted);
  border-left: 3px solid var(--color-gold);
  padding: 4px 0 4px 12px;
}
.brand-relationship {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  place-items: center;
}
.brand-relationship-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-3xl) - 10px);
  border: 1px solid rgba(13,92,70,0.12);
  background:
    linear-gradient(135deg, rgba(13,92,70,0.05), rgba(212,175,55,0.08));
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 26px);
}
.brand-parent-frame {
  width: min(520px, 100%);
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(212,175,55,0.22);
  background:
    radial-gradient(circle at 20% 15%, rgba(212,175,55,0.16), transparent 58%),
    radial-gradient(circle at 75% 60%, rgba(13,92,70,0.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
  box-shadow: 0 24px 70px rgba(0,57,43,0.14), 0 8px 26px rgba(0,0,0,0.05);
  padding: clamp(18px, 3vw, 24px);
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-content: center;
  gap: 14px;
}
.brand-logo-slot {
  width: 100%;
  display: grid;
  place-items: center;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand-logo-slot.child { padding: 0; border-radius: 0; }
.brand-relationship-logo {
  width: min(320px, 86%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,57,43,0.12));
}
.brand-relationship-logo.parent { width: min(340px, 90%); opacity: 0.98; }
.brand-relationship-logo.child { width: min(280px, 78%); }
.brand-relationship-link {
  width: 100%;
  height: 52px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
}
.brand-relationship-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(13,92,70,0.18);
  border: 1px solid rgba(13,92,70,0.28);
}
.brand-relationship-dot.bottom {
  background: rgba(212,175,55,0.22);
  border-color: rgba(212,175,55,0.36);
}
.brand-relationship-line-v {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(13,92,70,0.18), rgba(212,175,55,0.32));
  border-radius: 999px;
}
.brand-child-card {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,0.22);
  background:
    radial-gradient(circle at 50% 35%, rgba(212,175,55,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.86));
  box-shadow: 0 14px 34px rgba(0,57,43,0.12), 0 1px 0 rgba(255,255,255,0.7) inset;
  padding: 10px;
}
@media (max-width: 1024px) {
  .brand-relationship-link { height: 46px; }
  .brand-relationship-logo.parent { width: min(320px, 92%); }
  .brand-relationship-logo.child { width: min(260px, 82%); }
}
@media (max-width: 600px) {
  .brand-relationship { padding: 16px; }
  .brand-relationship-inner { padding: 16px; }
  .brand-parent-frame { border-radius: 22px; padding: 16px; gap: 12px; }
  .brand-logo-slot { padding: 12px 12px; border-radius: 16px; }
  .brand-child-card { border-radius: 18px; padding: 8px; }
  .brand-relationship-link { height: 40px; }
  .brand-relationship-dot { width: 9px; height: 9px; }
  .brand-relationship-logo.parent { width: min(300px, 96%); }
  .brand-relationship-logo.child { width: min(240px, 88%); }
}
.hero-product-img {
  position: absolute; right: 48px; top: 160px;
  width: min(50%, 280px); max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(13,92,70,0.25));
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-product:hover .hero-product-img {
  transform: translateY(-12px) scale(1.03);
}
.hero-product-img.secondary {
  right: 220px; top: 280px;
  width: min(35%, 190px); opacity: 0.9;
  filter: drop-shadow(0 24px 48px rgba(13,92,70,0.15));
}
.hero-product:hover .hero-product-img.secondary {
  transform: translateY(-8px) scale(1.02);
}

/* Hero overlay cards */
.hero-card {
  position: absolute; z-index: 2;
  left: 40px; right: 40px; width: auto;
  padding: 28px; border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-2xl);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.hero-card.top { top: 40px; }
.hero-card.bottom { bottom: 40px; }
.hero-card h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }

/* ===== Trust Line ===== */
.trust-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.trust-item {
  padding: 18px 16px; border: 1px solid var(--color-border);
  border-radius: 16px; background: var(--color-surface);
  transition: all 0.25s ease;
}
.trust-item:hover {
  border-color: rgba(13,92,70,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.trust-item strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--color-brand); }
.trust-item span { color: var(--color-muted); font-size: 13px; line-height: 1.5; }

/* ===== Cards ===== */
.card, .product-card, .panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card, .panel { padding: clamp(22px, 3vw, 32px); }
.card:hover, .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,92,70,0.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px rgba(0,57,43,0.1);
}

/* Product Card */
.product-card {
  overflow: hidden; display: grid;
  min-height: 100%;
  grid-template-rows: minmax(240px, auto) 1fr;
}
.product-media {
  min-height: 240px; display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(circle at 50% 35%, rgba(212,175,55,0.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f8faf8 100%);
}
.product-image { width: min(72%, 180px); max-height: 220px; object-fit: contain; filter: drop-shadow(0 20px 36px rgba(13,92,70,0.12)); }
.product-image.tall { width: min(66%, 160px); }
.product-image.wide { width: min(85%, 240px); }
.product-image-pair { display: flex; align-items: center; justify-content: center; gap: 12px; }
.product-image-pair .product-image { width: min(40%, 110px); }
.product-detail-gallery .product-front { right: 70px; top: 60px; width: min(40%, 220px); }
.product-detail-gallery .product-back { right: 240px; top: 120px; width: min(34%, 180px); }
.product-body { padding: 22px; display: grid; gap: 12px; }

/* ===== Tags & Badges ===== */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .status {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.tag {
  background: rgba(13,92,70,0.07); color: #0a4a38;
  border-color: rgba(13,92,70,0.15);
}
.status {
  background: rgba(212,175,55,0.1); color: #7a6200;
  border-color: rgba(212,175,55,0.25);
}

/* ===== Stats ===== */
.stat-board {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-border);
}
.stat {
  padding: 22px 18px; background: var(--color-surface);
  transition: background 0.2s ease;
}
.stat:hover { background: #fafdfb; }
.stat strong { display: block; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; color: var(--color-brand); }
.stat span { color: var(--color-muted); font-size: 13px; line-height: 1.4; }

/* ===== Split Layout ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
}
.split > *,
.cta-inner > * { min-width: 0; }
.split.align-start { align-items: start; }

/* ===== Grid ===== */
.grid-gap { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ===== Timeline ===== */
.timeline { display: grid; gap: 16px; }
.timeline-item {
  display: grid; grid-template-columns: 100px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--color-border);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-item time { color: var(--color-brand); font-weight: 750; font-size: 14px; }

/* ===== Tabs & Filters ===== */
.tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-button, .filter-button {
  min-height: 42px; padding: 10px 18px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--color-surface); color: var(--color-muted);
  font-weight: 650; font-size: 14px;
  transition: all 0.25s ease;
}
.tab-button:hover, .filter-button:hover {
  border-color: rgba(13,92,70,0.3); color: var(--color-fg);
}
.tab-button[aria-selected="true"], .filter-button.is-active {
  color: white; background: var(--color-brand); border-color: var(--color-brand);
}
.tab-panel[hidden], .faq-answer[hidden] { display: none; }

/* ===== Forms ===== */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--color-fg); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--color-border); border-radius: 14px;
  background: var(--color-surface); color: var(--color-fg);
  transition: all 0.2s ease;
  font-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(13,92,70,0.08);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(13,92,70,0.3); }
.field textarea { min-height: 140px; resize: vertical; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}
.field .error { min-height: 18px; color: #ef4444; font-size: 12px; }
.notice {
  border: 1px solid rgba(13,92,70,0.2); border-radius: 16px;
  background: rgba(13,92,70,0.04); padding: 16px 18px;
  color: var(--color-brand); font-size: 14px;
}

/* ===== Input with icon (user-friendly forms) ===== */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap.align-top { align-items: flex-start; }
.input-wrap .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}
.input-wrap.align-top .input-icon {
  top: 12px;
  transform: none;
}
.input-wrap input,
.input-wrap textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-fg);
  transition: all 0.2s ease;
  font-size: 14px;
  line-height: 1.5;
}
.input-wrap textarea { min-height: 90px; resize: vertical; padding-top: 10px; }
.input-wrap input:focus,
.input-wrap textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(13,92,70,0.08);
}
.input-wrap input:focus + .input-icon,
.input-wrap input:hover ~ .input-icon,
.input-wrap textarea:focus ~ .input-icon { color: var(--color-brand); }
/* Fallback selector for icon visibility on focus */
.input-wrap:focus-within .input-icon { color: var(--color-brand); }
.input-wrap input[aria-invalid="true"],
.input-wrap textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.form-hint {
  font-size: 12px;
  color: var(--color-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.req { color: #ef4444; margin-left: 2px; }
.form-block { margin-bottom: 20px; }
.form-block:last-child { margin-bottom: 0; }
.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-muted);
}
.form-row-between .check {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.form-row-between .check input { width: 16px; height: 16px; accent-color: var(--color-brand); cursor: pointer; }
.link-muted { color: var(--color-muted); text-decoration: none; transition: color 0.2s ease; }
.link-muted:hover { color: var(--color-brand); }
.form-tip { font-size: 12px; color: var(--color-muted); margin: 0; line-height: 1.5; }
.form-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 8px; flex-wrap: wrap;
}
.btn-block { width: 100%; }

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-submit-row .btn { width: 100%; }
}

/* ===== Stepper (Booking flow) ===== */
.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  list-style: none;
  padding: 24px 32px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 16px rgba(0,0,0,0.02);
}
.step {
  display: flex; align-items: center; gap: 14px;
  flex: 1 1 0;
  min-width: 0;
}
.step-connector {
  flex: 0 0 40px;
  height: 2px;
  margin: 0 4px;
  background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-border) 100%);
  border-radius: 999px;
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-muted);
  font-weight: 800; font-size: 15px;
  flex: 0 0 auto;
  transition: all 0.3s ease;
}
.step.is-active .step-num,
.step.is-done .step-num {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: white;
  box-shadow: 0 6px 18px rgba(13,92,70,0.25);
}
.step-text {
  display: grid; gap: 2px;
  min-width: 0;
}
.step-text strong { font-size: 15px; color: var(--color-fg); font-weight: 700; }
.step-text .subtle { font-size: 12px; line-height: 1.4; }
.step:not(.is-active) .step-text strong { color: var(--color-muted); }
@media (max-width: 720px) {
  .stepper { flex-direction: column; align-items: stretch; padding: 18px; gap: 12px; }
  .step-connector { display: none; }
  .step-text strong { font-size: 14px; }
}

/* ===== Booking Layout ===== */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
@media (max-width: 960px) {
  .booking-layout { grid-template-columns: 1fr; }
}
.booking-aside {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 96px;
  width: 100%;
  min-width: 0;
}
@media (max-width: 960px) { .booking-aside { position: static; } }

.trust-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  width: 100%;
  min-width: 0;
  transition: all 0.25s ease;
}
.trust-card:hover {
  border-color: rgba(13,92,70,0.25);
  box-shadow: 0 6px 16px rgba(0,57,43,0.05);
  transform: translateY(-1px);
}
.trust-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13,92,70,0.1), rgba(13,92,70,0.04));
  color: var(--color-brand);
  flex: 0 0 36px;
  min-width: 36px;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-card-body {
  min-width: 0;
  display: block;
  width: 100%;
}
.trust-card h3 {
  font-size: 14px;
  line-height: 1.35;
  margin: 2px 0 4px;
  font-weight: 700;
  color: var(--color-fg);
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}
.trust-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--color-muted);
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  margin: 0;
  width: 100%;
  max-width: 100%;
  hyphens: none;
}
.contact-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,92,70,0.05), rgba(212,175,55,0.06));
  border: 1px solid rgba(13,92,70,0.12);
  margin-top: 4px;
  width: 100%;
  min-width: 0;
}
.contact-card p {
  word-break: normal;
  overflow-wrap: normal;
  font-size: 12px;
  line-height: 1.7;
  white-space: normal;
  width: 100%;
}
.contact-card strong { color: var(--color-fg); font-weight: 700; }

.booking-panel {
  padding: clamp(20px, 3vw, 28px) !important;
}
.form-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.form-header h2 { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 4px; }
.form-header .subtle { font-size: 13px; line-height: 1.55; }

/* ===== Topic Cards (visual radio) ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } }
.topic-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  cursor: pointer;
  transition: all 0.25s ease;
}
.topic-card:hover {
  border-color: rgba(13,92,70,0.3);
  box-shadow: 0 6px 16px rgba(0,57,43,0.06);
  transform: translateY(-1px);
}
.topic-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  margin: 0;
  width: 100%; height: 100%;
}
.topic-card:has(input:checked) {
  border-color: var(--color-brand);
  background: linear-gradient(135deg, rgba(13,92,70,0.04), rgba(13,92,70,0.01));
  box-shadow: 0 0 0 4px rgba(13,92,70,0.08), 0 8px 20px rgba(13,92,70,0.1);
}
.topic-card:has(input:focus-visible) {
  outline: 3px solid rgba(212,175,55,0.6);
  outline-offset: 2px;
}
.topic-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13,92,70,0.1), rgba(13,92,70,0.04));
  color: var(--color-brand);
  flex: 0 0 auto;
  transition: all 0.25s ease;
}
.topic-icon svg { width: 18px; height: 18px; }
.topic-card:has(input:checked) .topic-icon {
  background: var(--color-brand);
  color: white;
}
.topic-text { display: grid; gap: 1px; min-width: 0; }
.topic-text strong { font-size: 13.5px; font-weight: 700; color: var(--color-fg); line-height: 1.2; word-break: normal; overflow-wrap: normal; }
.topic-text em { font-size: 11.5px; color: var(--color-muted); font-style: normal; line-height: 1.4; word-break: normal; overflow-wrap: normal; }

/* ===== Member Page Layout ===== */
.member-layout { display: block; }
.member-auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 960px) {
  .member-auth-wrap { grid-template-columns: 1fr; }
}
.member-panel { padding: clamp(24px, 4vw, 36px) !important; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  background: rgba(13,92,70,0.04);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.auth-tab {
  border: 0; background: transparent;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  color: var(--color-muted);
  transition: all 0.2s ease;
  cursor: pointer;
}
.auth-tab:hover { color: var(--color-fg); }
.auth-tab.is-active {
  background: var(--color-surface);
  color: var(--color-brand);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 20px 0;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--color-border);
}
.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) { .social-row { grid-template-columns: 1fr; } }
.social-row .btn { font-weight: 600; font-size: 13px; }
.social-row .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-foot { font-size: 12px; color: var(--color-muted); margin: 16px 0 0; text-align: center; line-height: 1.5; }

/* ===== Member benefits card ===== */
.benefits-card {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-3xl);
  background:
    linear-gradient(145deg, rgba(13,92,70,0.95) 0%, rgba(6,78,59,0.95) 100%),
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.4), transparent 60%);
  color: white;
  box-shadow: 0 24px 60px rgba(13,92,70,0.18);
  overflow: hidden;
}
.benefits-card::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,175,55,0.25) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.benefits-card::after {
  content: '';
  position: absolute; bottom: -30%; left: -15%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.benefits-card > * { position: relative; z-index: 1; }
.benefits-card .eyebrow { color: var(--color-gold); }
.benefits-card .eyebrow::before { background: var(--color-gold); }
.benefits-card h2 { color: white; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 0; }
.benefits-card .subtle { color: rgba(255,255,255,0.78); }
.benefits-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 14px;
}
.benefits-list li {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 14px; align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s ease;
}
.benefits-list li:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}
.benefit-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--color-gold);
  color: #3d2e00;
  flex: 0 0 auto;
  margin-top: 2px;
}
.benefits-list li strong { font-size: 14px; font-weight: 700; color: white; display: block; line-height: 1.3; }
.benefits-list li .subtle { font-size: 12px; line-height: 1.5; margin-top: 2px; }

/* ===== Dashboard ===== */
.dashboard-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.dashboard-header .member-name { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 4px; }
.dashboard-header .subtle { font-size: 14px; }
.stat-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .stat-board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-board { grid-template-columns: 1fr; } }
.stat {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  padding: 22px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(13,92,70,0.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 32px rgba(0,57,43,0.08);
}
.stat-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13,92,70,0.1), rgba(13,92,70,0.04));
  color: var(--color-brand);
  margin-bottom: 4px;
}
.stat strong { font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--color-fg); line-height: 1; letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--color-muted); }

/* ===== Quick Actions ===== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-actions { grid-template-columns: 1fr; } }
.quick-action {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  color: var(--color-fg);
  text-decoration: none;
  transition: all 0.25s ease;
}
.quick-action:hover {
  border-color: rgba(13,92,70,0.25);
  background: linear-gradient(135deg, rgba(13,92,70,0.02), rgba(13,92,70,0.005));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,57,43,0.06);
}
.qa-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  color: white;
  flex: 0 0 auto;
}
.quick-action strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.quick-action .subtle { font-size: 12px; line-height: 1.4; }

/* ===== Card with head badge ===== */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-head h3 { font-size: 18px; margin-bottom: 0; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 8px;
  border-radius: 999px;
  background: rgba(13,92,70,0.1);
  color: var(--color-brand);
  font-size: 12px; font-weight: 800;
}
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.card-link:hover { gap: 8px; }
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13,92,70,0.1), rgba(13,92,70,0.04));
  color: var(--color-brand);
  margin-bottom: 14px;
}

/* ===== Page Header (compact, no hero) ===== */
.page-header {
  padding: clamp(80px, 10vw, 120px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(180deg, #f0faf5 0%, rgba(240,250,245,0) 100%);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 12px; }
.page-header .lead { max-width: 820px; }
.member-value-head {
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  align-items: start;
}
.member-value-head h2 {
  white-space: normal !important;
  max-width: none;
}
.member-value-head .lead {
  max-width: none;
  margin-top: 36px;
  justify-self: end;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .page-header { padding-top: 88px; padding-bottom: 28px; }
  .member-value-head { grid-template-columns: 1fr; gap: 18px; }
  .member-value-head .lead { margin-top: 0; justify-self: start; white-space: normal; }
}

/* ===== FAQ ===== */
.faq-section {
  padding-top: clamp(72px, 9vw, 108px) !important;
}
.faq-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.faq-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.faq-panel,
.faq-support {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,249,0.92));
  box-shadow: 0 12px 32px rgba(0,57,43,0.06);
}
.faq-panel strong,
.faq-support strong {
  font-size: 16px;
  line-height: 1.3;
}
.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13,92,70,0.12);
  background: rgba(13,92,70,0.05);
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.faq-actions {
  margin-top: 4px;
}
.faq-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.faq-content-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px;
}
.faq-content-head h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-bottom: 0;
}
.faq-lead {
  margin-top: 12px;
  margin-bottom: 0;
  max-width: 68ch;
}
.faq-content-head .subtle {
  max-width: 34ch;
  text-align: right;
}
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,251,250,0.96));
  padding: 4px 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 22px rgba(0,57,43,0.05);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.faq-item:hover {
  border-color: rgba(13,92,70,0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 36px rgba(0,57,43,0.09);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(13,92,70,0.28);
  background: linear-gradient(180deg, rgba(13,92,70,0.045), rgba(255,255,255,0.98) 60%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 44px rgba(0,57,43,0.1);
}
.faq-question {
  width: 100%; min-height: 40px; padding: 22px 0;
  border: 0; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left; color: var(--color-fg); font-weight: 700;
  font-size: clamp(15px, 1.6vw, 17px); line-height: 1.45;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--color-brand); }
.faq-question svg {
  flex: 0 0 auto;
  width: 34px; height: 34px; padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(13,92,70,0.07);
  color: var(--color-brand);
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}
.faq-question:hover svg { background: rgba(13,92,70,0.12); }
.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
  background: var(--color-brand);
  color: #fff;
}
.faq-answer {
  padding: 0 0 24px; margin-right: 54px;
  color: var(--color-muted);
  max-width: 70ch; line-height: 1.8; font-size: 15px;
  animation: faqReveal 0.32s ease;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
  .faq-shell {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
  }
  .faq-content-head {
    align-items: start;
    flex-direction: column;
  }
  .faq-content-head .subtle {
    max-width: none;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .faq-panel,
  .faq-support {
    padding: 18px;
    border-radius: 18px;
  }
  .faq-item { padding: 2px 18px; }
  .faq-answer { margin-right: 44px; }
}

/* ===== Event Gallery ===== */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(170px, 15vw, 220px);
  grid-auto-flow: dense;
  gap: 16px;
}
.event-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--color-border);
  background: #eef2f0; cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px rgba(0,57,43,0.05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.event-item:hover {
  transform: translateY(-3px);
  border-color: rgba(13,92,70,0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px rgba(0,57,43,0.12);
}
.event-item img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .45s ease;
}
.event-item:hover img { transform: scale(1.05); }
.event-item.feature { grid-column: span 2; grid-row: span 2; }
.event-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(180deg, transparent, rgba(4,26,19,0.78));
  pointer-events: none;
}
.event-cap .badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,.22); color: #fff;
}
@media (max-width: 900px) {
  .event-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 34vw, 220px); }
  .event-item.feature { grid-column: auto; grid-row: auto; }
}
@media (max-width: 560px) {
  .event-gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center; padding: 24px;
  background: rgba(6,20,15,0.9); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; animation: fadeIn .2s ease; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 86vh;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ===== Commerce Bar ===== */
.commerce-bar {
  position: sticky; bottom: 20px; z-index: 20;
  max-width: 1280px; margin: 0 auto 20px; padding: 0 32px;
  pointer-events: none;
}
.commerce-bar-inner {
  pointer-events: auto;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 14px 20px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 20px 50px rgba(0,57,43,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== AI Assistant ===== */
.ai-assistant {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
}
.ai-toggle {
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand) 0%, #0a4a38 100%);
  color: white; font-size: 22px; font-weight: 700;
  box-shadow: 0 12px 36px rgba(13,92,70,0.3);
  transition: all 0.3s ease;
}
.ai-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 44px rgba(13,92,70,0.4);
}
.ai-toggle[aria-expanded="true"] {
  background: var(--color-fg);
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}
.ai-panel {
  position: absolute; right: 0; bottom: 72px;
  width: min(380px, calc(100vw - 48px));
  border: 1px solid var(--color-border); border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  overflow: hidden;
}
.ai-panel[hidden] { display: none; }
.ai-panel header { padding: 18px 20px; background: rgba(13,92,70,0.04); border-bottom: 1px solid var(--color-border); }
.ai-panel .messages { display: grid; gap: 10px; padding: 16px; max-height: 280px; overflow-y: auto; }
.message {
  padding: 12px 16px; border-radius: 16px;
  background: #f3f4f6; color: var(--color-muted);
  font-size: 14px; line-height: 1.5;
}
.ai-panel form {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 12px 16px; border-top: 1px solid var(--color-border);
}
.ai-panel input {
  min-width: 0; border: 1.5px solid var(--color-border);
  border-radius: 999px; padding: 10px 14px; font-size: 14px;
}
.ai-panel input:focus { outline: none; border-color: var(--color-brand); }
.ai-error { grid-column: 1/-1; color: #ef4444; font-size: 12px; min-height: 16px; }

/* ===== News Cards ===== */
.news-grid { display: grid; gap: 24px; }
.news-card {
  padding: 28px; border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); background: var(--color-surface);
  transition: all 0.25s ease;
  display: grid; gap: 10px;
}
.news-card:hover {
  border-color: rgba(13,92,70,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.news-card time { color: var(--color-brand); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.news-card h3 { font-size: 20px; line-height: 1.3; }

/* ===== List items (member center) ===== */
.list { display: grid; gap: 12px; }
.list-item {
  display: grid; gap: 6px; padding: 16px 18px;
  border: 1px solid var(--color-border); border-radius: 16px;
  background: var(--color-surface);
  transition: all 0.2s ease;
}
.list-item:hover { border-color: rgba(13,92,70,0.15); }
.list-item strong { font-weight: 750; }
.list-item .meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--color-muted); font-size: 13px; }

/* ===== Panel highlight ===== */
.panel-highlight {
  background: linear-gradient(135deg, rgba(13,92,70,0.03) 0%, rgba(212,175,55,0.04) 100%);
  border-color: rgba(212,175,55,0.2);
}

/* ===== Footer ===== */
.footer {
  padding: 56px 0 40px; border-top: 1px solid var(--color-border);
  color: var(--color-muted); background: #fafdfb;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(120px, 160px));
  gap: 32px;
}
.footer a { transition: color 0.2s ease; }
.footer a:hover { color: var(--color-brand); }

/* ===== Animations ===== */
.animate-fade-up { animation: fadeUp 0.6s ease-out both; }
.animate-fade-in { animation: fadeIn 0.5s ease-out both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stagger children */
.stagger > * { opacity: 0; animation: fadeUp 0.5s ease-out forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

/* ===== Gradient text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== CMS Panel ===== */
.cms-panel { display: grid; gap: 20px; }
.cms-panel textarea { min-height: 160px; font-family: monospace; font-size: 13px; }

/* ===== Trust Badge Strip ===== */
.trust-badge-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-2xl);
  background: rgba(212,175,55,0.1);
  overflow: hidden;
}
.trust-badge {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,253,251,0.9));
  transition: all 0.25s ease;
}
.trust-badge:hover {
  background: linear-gradient(180deg, #fff, #f8faf9);
  transform: translateY(-2px);
}
.trust-badge svg {
  flex: 0 0 auto; color: var(--color-brand); opacity: 0.7;
  margin-top: 2px;
}
.trust-badge strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--color-brand); margin-bottom: 4px;
}
.trust-badge span {
  color: var(--color-muted); font-size: 12px; line-height: 1.5;
}

/* ===== Partnership Panel ===== */
.partnership-panel {
  background: linear-gradient(145deg,
    rgba(212,175,55,0.06) 0%,
    rgba(13,92,70,0.03) 40%,
    rgba(255,255,255,0.98) 70%,
    rgba(212,175,55,0.05) 100%);
  border-color: rgba(212,175,55,0.25);
  box-shadow: 0 24px 70px rgba(0,57,43,0.06), 0 4px 20px rgba(0,0,0,0.02);
  position: relative; overflow: hidden;
}
.partnership-panel::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.partnership-panel::after {
  content: ''; position: absolute; bottom: -40px; left: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(13,92,70,0.05) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.partnership-panel .split,
.partnership-panel .stat-board { position: relative; z-index: 1; }

/* ===== CTA Panel ===== */
.cta-panel {
  background: linear-gradient(145deg,
    rgba(13,92,70,0.04) 0%,
    rgba(212,175,55,0.06) 50%,
    rgba(13,92,70,0.03) 100%);
  border-color: rgba(13,92,70,0.15);
  box-shadow: 0 24px 70px rgba(0,57,43,0.06), 0 4px 16px rgba(0,0,0,0.02);
  padding: clamp(32px, 5vw, 48px);
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  position: relative; z-index: 1;
}
.cta-copy { display: grid; gap: 18px; }
.cta-actions {
  display: grid; gap: 12px;
  align-self: center;
}
.cta-actions .btn { width: 100%; justify-content: center; }

/* ===== Responsive ===== */

/* Narrow desktop: compact the inline nav so all links + actions fit one row */
@media (max-width: 1500px) {
  .nav { gap: 16px; }
  .nav-links { gap: 12px; font-size: 13px; }
}

/* Tablet & narrow laptop: switch to hamburger menu before nav starts feeling crowded */
@media (max-width: 1360px) {
  .container, .nav { padding-inline: 24px; }
  .menu-button { display: grid !important; place-items: center; }
  .nav-links {
    position: fixed; inset: 72px 16px auto;
    display: none; padding: 16px;
    border: 1px solid var(--color-border); border-radius: var(--radius-2xl);
    background: var(--color-surface);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    flex-direction: column; align-items: stretch; gap: 4px;
    font-size: 15px;
    z-index: 49;
    max-height: calc(100vh - 96px); overflow-y: auto;
  }
  .nav-links.is-open { display: flex !important; }
  .nav-links a { padding: 12px 16px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(13,92,70,0.04); }
  .nav-links a[aria-current="page"] { background: rgba(13,92,70,0.07); }

  .hero-grid, .split, .faq-layout { grid-template-columns: 1fr !important; }
  .hero-product { min-height: 580px; }
  .stat-board, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-badge-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

@media (min-width: 901px) and (max-width: 1360px) {
  .member-value-head {
    grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr) !important;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .nav-actions .btn { display: none !important; }
  .hero { min-height: auto; padding: clamp(60px, 8vw, 100px) 0; }
  .hero-product-img { right: 24px; top: 180px; width: min(48%, 200px); }
  .hero-product-img.secondary { right: 150px; top: 280px; width: min(30%, 130px); }
  .hero-card { left: 18px; right: 18px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 600px) {
  .container, .nav, .container-narrow { padding-inline: 16px; }
  .trust-line, .grid-2, .grid-3, .grid-4, .stat-board, .trust-badge-strip { grid-template-columns: 1fr; }
  .hero-product { min-height: 480px; border-radius: var(--radius-2xl); }
  .hero-product img { max-width: 100%; }
  .hero-card { padding: 20px; }
  .hero-card.top { top: 20px; }
  .hero-card.bottom { bottom: 20px; }
  .hero-product-img { right: 18px; top: 200px; width: min(46%, 160px); max-height: 280px; }
  .hero-product-img.secondary { right: 120px; top: 300px; width: min(30%, 110px); }
  .cta-panel { overflow: visible; }
  .cta-panel::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .commerce-bar-inner { border-radius: 20px; align-items: flex-start; flex-direction: column; }
  .language-switch button { min-width: 36px; }
  .section { padding: 64px 0; }
  .split { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero h1, .hero-copy h1 { font-size: clamp(44px, 13vw, 68px); }
  .brand-mark { height: 40px !important; }
  .faq-item { padding: 2px 18px; }
  .faq-answer { margin-right: 44px; }
}

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

/* Final cascade for the 2026 visual refresh. */
body { background: var(--color-bg); color: var(--color-fg); font-size: 16px; }
h1, h2, h3, h4, .hero h1, .hero-copy h1 { letter-spacing: 0; }
h1, .hero h1, .hero-copy h1 { font-size: 64px; line-height: 1.04; }
h2 { font-size: 40px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
.container { max-width: 1280px; padding-inline: 40px; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.nav { max-width: 1280px; min-height: 76px; }
.nav-links { gap: 24px; color: #33423b; font-weight: 600; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.btn { border-radius: 7px; letter-spacing: 0; }
.btn-primary { background: var(--color-brand); box-shadow: 0 8px 20px rgba(11,91,70,.2); }
.btn-secondary { background: #fff; border-color: #b9c7c0; color: var(--color-brand-dark); }
.hero { min-height: auto; background: #edf3f0; }
.hero.subpage-hero { min-height: 360px !important; padding: 96px 0 64px !important; }
.hero::before, .hero::after, .partnership-panel::before, .partnership-panel::after, .cta-panel::before { display: none; }
.card, .product-card, .panel, .faq-panel, .faq-support, .faq-item, .news-card, .list-item, .team-card {
  border-radius: 8px; border-color: var(--color-border); background: #fff; box-shadow: var(--shadow-sm);
}
.card:hover, .product-card:hover, .news-card:hover { transform: translateY(-2px); border-color: #aac0b6; box-shadow: var(--shadow-md); }
.panel-highlight, .partnership-panel, .cta-panel { background: #eef4f1; border-color: #cad8d1; }
.product-card { grid-template-rows: 300px 1fr; }
.product-media { min-height: 300px; background: #eef3f0; }
.product-body { padding: 26px; gap: 14px; align-content: start; }
.product-body .btn { margin-top: auto; justify-self: start; }
.product-detail-gallery { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.product-detail-gallery:hover { transform: none; box-shadow: none; }
.product-detail-gallery::before { inset: auto 8% 8% 8%; height: 62%; background: #dfe9e4; filter: none; border-radius: 50%; }
.faq-panel, .faq-support, .faq-item { box-shadow: none; }
.faq-item:has(.faq-question[aria-expanded="true"]) { background: #fff; border-left: 4px solid var(--color-brand); box-shadow: var(--shadow-sm); }
.event-item { border-radius: 8px; box-shadow: none; }
.grid > .event-item { aspect-ratio: 4 / 3; }
.grid > .event-item picture { display: block; width: 100%; height: 100%; }
.grid > .event-item img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }
.event-item img { aspect-ratio: 4 / 3 !important; object-position: center; }
.event-item:nth-child(3) img { object-position: 50% 42%; }
.footer { padding: 64px 0 48px; color: rgba(255,255,255,.76); background: var(--color-brand-dark); border-top: 0; }
.footer strong, .footer .brand { color: #fff; }
.footer .subtle { color: rgba(255,255,255,.68); }
.footer a:hover { color: #e5c865; }
.ai-toggle { width: 48px; height: 48px; font-size: 16px; background: var(--color-brand); }
.ai-panel, .commerce-bar-inner { border-radius: 8px; }
.stagger > * { opacity: 1; animation: none; }
.animate-fade-up { animation: refreshLift .28s ease-out both; }
.animate-fade-in { animation: fadeIn .26s ease-out both; }
.trust-badge-strip { border-radius: 8px; }
.trust-badge { background: #fff; }
.partnership-panel, .cta-panel { box-shadow: var(--shadow-sm); }

.hero-video {
  min-height: min(820px, calc(100vh - 76px)); padding: 78px 0; color: #fff;
  background: #082f27 url("video/optimized/kayaj-nature-poster.jpg") center/cover no-repeat;
}
.hero-video .hero-grid { grid-template-columns: minmax(0, .96fr) minmax(420px, .72fr); gap: 48px; }
.hero-video .hero-copy { max-width: 690px; gap: 22px; }
.hero-video .hero-copy h1 { color: #fff; margin: 0; }
.hero-video .hero-copy .lead { color: rgba(255,255,255,.88); max-width: 58ch; }
.hero-video-overlay { background: linear-gradient(90deg, rgba(4,34,27,.84), rgba(4,34,27,.63) 48%, rgba(4,34,27,.26)); }
.hero-video .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
.hero-products-stage { position: relative; min-height: 520px; z-index: 2; align-self: end; }
.hero-products-stage::before { content: ''; position: absolute; left: 5%; right: 0; bottom: 42px; height: 120px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.26); border-radius: 50%; transform: perspective(500px) rotateX(64deg); }
.hero-stage-product { position: absolute; bottom: 78px; object-fit: contain; filter: drop-shadow(0 28px 30px rgba(0,0,0,.4)); }
.hero-stage-product.slim { width: 170px; left: 3%; bottom: 60px; z-index: 2; }
.hero-stage-product.skin { width: 160px; right: 0; bottom: 56px; z-index: 2; }
.hero-video-control { position: absolute; right: 28px; bottom: 28px; z-index: 5; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(4,34,27,.5); }
.hero-video-control:focus-visible { outline: 3px solid #e3c85c; outline-offset: 3px; }
.trust-band { background: var(--color-brand-dark); color: #fff; }
.trust-band .trust-badge-strip { border: 0; border-radius: 0; background: transparent; }
.trust-band .trust-badge { background: transparent; border-right: 1px solid rgba(255,255,255,.16); }
.trust-band .trust-badge:last-child { border-right: 0; }
.trust-band .trust-badge strong, .trust-band .trust-badge svg { color: #fff; opacity: 1; }
.trust-band .trust-badge span { color: rgba(255,255,255,.7); }
.media-story { display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 1fr); gap: 56px; align-items: center; }
.media-frame { width: 100%; aspect-ratio: 16/9; background: #092d25; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-md); }
.media-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #071f1a; }
.media-copy { display: grid; gap: 16px; }
.media-points { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.media-points li { padding-left: 22px; position: relative; color: var(--color-muted); }
.media-points li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; background: var(--color-gold); }
.team-card details { margin-top: 12px; }
.team-card summary { color: var(--color-brand); font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
  .container, .container-narrow, .nav { padding-inline: 28px; }
  h1, .hero h1, .hero-copy h1 { font-size: 48px; }
  h2 { font-size: 32px; } h3 { font-size: 20px; }
  .nav-links { inset: 76px 0 0; padding: 24px 28px 40px; background: #fff; border: 0; border-radius: 0; box-shadow: none; max-height: calc(100vh - 76px); }
  .nav-links a { min-height: 50px; padding: 10px 4px; border-bottom: 1px solid #e6ece9; }
  .nav-more { display: block; }
  .nav-more summary { min-height: 50px; width: 100%; }
  .nav-more-menu { position: static; width: auto; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .hero-video { min-height: 760px; padding: 70px 0 20px; }
  .hero-video .hero-grid { grid-template-columns: 1fr; }
  .hero-products-stage { min-height: 310px; width: min(520px, 100%); margin-left: auto; }
  .hero-stage-product.slim { width: 120px; } .hero-stage-product.skin { width: 115px; }
  .media-story { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container, .container-narrow, .nav { padding-inline: 20px; }
  h1, .hero h1, .hero-copy h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 18px; }
  .section { padding: 72px 0; } .section.tight { padding: 52px 0; }
  .nav-actions .language-switch, .nav-contact-link, .nav-member-link { display: none; }
  .hero.subpage-hero { min-height: 280px !important; padding: 72px 0 48px !important; }
  .hero-video { min-height: 720px; padding-top: 58px; background-image: url("video/optimized/kayaj-nature-poster-mobile.jpg"); }
  .hero-video-overlay { background: linear-gradient(180deg, rgba(4,34,27,.68), rgba(4,34,27,.86)); }
  .hero-products-stage { min-height: 260px; }
  .hero-stage-product.slim { width: 100px; } .hero-stage-product.skin { width: 96px; }
  .hero-video-control { right: 16px; bottom: 16px; }
  .trust-band .trust-badge { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .product-card { grid-template-rows: 250px 1fr; } .product-media { min-height: 250px; }
  .product-card-solid-media { grid-template-rows: 300px 1fr; }
  .product-media-solid { min-height: 300px; padding: 30px 24px; }
  .faq-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .faq-tag { flex: 0 0 auto; }
  .ai-assistant { right: 16px; bottom: 16px; } .ai-toggle { width: 44px; height: 44px; }
  .commerce-bar-inner { flex-direction: row; align-items: center; } .commerce-bar-inner .btn-secondary { display: none; }
  .event-item picture { display: block; height: 100%; }
  .event-item picture img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }
  .brand-photo img { min-height: 280px; }
}

/* Final layout corrections from full-page visual regression. */
*, *::before, *::after { letter-spacing: 0 !important; }
.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.benefits-card { background: var(--color-brand-dark); }
.benefits-card::before,
.benefits-card::after { display: none; }
.benefits-list li,
.ai-panel,
.commerce-bar-inner { backdrop-filter: none; -webkit-backdrop-filter: none; }
.grid { display: grid; }

.hero-video.hero-no-products .hero-grid {
  grid-template-columns: minmax(0, 760px);
}
.hero-video.hero-no-products .hero-copy { max-width: 760px; }

.partnership-facts {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid #b9c9c1;
}
.partnership-fact {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #b9c9c1;
}
.partnership-fact strong {
  color: var(--color-brand-dark);
  font-size: 20px;
  line-height: 1.3;
}
.partnership-fact span {
  color: var(--color-muted);
  line-height: 1.6;
}

.brand-foundation-section > .container.split { align-items: start; }
.brand-foundation-section .lead,
.home-product-intro .lead {
  margin-top: 18px;
  max-width: 62ch;
}
.home-product-intro h2,
.brand-foundation-section h2,
.partnership-panel h2,
.cta-panel h2 {
  max-width: 18ch;
}
.section.tight > .container > .split h2,
.section.tight > .container > .panel .split h2,
.cta-panel h2 {
  white-space: nowrap;
}
.brand-foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.brand-foundation-grid .card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 220px;
  padding: 24px;
  overflow-wrap: anywhere;
}
.brand-foundation-grid .card h3 { margin: 0; }
.brand-foundation-grid .card p { margin: 0; }

.product-media-slim {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.88) 0 32%, rgba(255,255,255,.22) 33%, transparent 68%),
    linear-gradient(135deg, #f5eef7 0%, #e9f1ef 100%);
  border-bottom: 1px solid #d9c9df;
}
.product-media-skin {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.9) 0 34%, rgba(255,255,255,.24) 35%, transparent 70%),
    linear-gradient(135deg, #f7e8ec 0%, #edf3f0 100%);
  border-bottom: 1px solid #dfc7ce;
}
.product-media-nad {
  background:
    radial-gradient(circle at 50% 50%, rgba(185,150,46,.22) 0 30%, rgba(255,255,255,.2) 31%, transparent 68%),
    linear-gradient(135deg, #eef4f0 0%, #fbf8ec 100%);
  border-bottom: 1px solid #d8d2b8;
}
.product-media-solid .product-image,
.product-media-solid .product-image-feature {
  opacity: 1;
  filter: drop-shadow(0 18px 26px rgba(34, 28, 38, .18));
}
.product-media .product-image-feature {
  width: auto;
  height: 238px;
  max-width: 76%;
  max-height: 238px;
  filter: drop-shadow(0 18px 24px rgba(48, 25, 42, .2));
}
.product-media-solid .product-image-feature {
  height: 252px;
  max-width: 78%;
  max-height: 252px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(13, 59, 48, .12);
  filter: none;
}
.product-media-skin.product-media-solid .product-image-feature {
  height: 258px;
  max-height: 258px;
}
.product-image-nad-card {
  width: auto;
  height: 258px;
  max-width: 78%;
  max-height: 258px;
  border-radius: 4px;
  box-shadow: 0 18px 34px rgba(13, 59, 48, .14);
  object-fit: cover;
}
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.compact-head {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.compact-head h2 {
  max-width: 14ch;
}
.compact-head .lead {
  max-width: 68ch;
  margin: 0;
}
.nad-visual-section {
  background: #f7faf8;
}
.nad-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 32px;
  align-items: start;
}
.nad-visual-card,
.nad-mechanism-card {
  margin: 0;
}
.nad-visual-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nad-visual-card picture,
.nad-visual-card img,
.nad-mechanism-card picture,
.nad-mechanism-card img {
  display: block;
  width: 100%;
}
.nad-visual-card img {
  aspect-ratio: 1320 / 570;
  object-fit: cover;
}
.nad-visual-card figcaption,
.nad-mechanism-card figcaption {
  padding: 12px 16px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}
.nad-ingredient-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nad-ingredient-panel h3 {
  margin: 0;
}
.nad-ingredient-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nad-ingredient-list li {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8ded9;
  border-radius: 8px;
  background: #f7faf8;
}
.nad-ingredient-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-brand);
  font-size: 13px;
}
.nad-ingredient-list span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}
.nad-mechanism-card {
  overflow: hidden;
  border: 1px solid #153d57;
  border-radius: 8px;
  background: #08253f;
}
.nad-mechanism-card img {
  aspect-ratio: 1120 / 592;
  object-fit: cover;
}
.nad-mechanism-card figcaption {
  color: rgba(255,255,255,.78);
  background: #08253f;
}
.verified-source-section {
  background: #f7faf8;
  border-block: 1px solid #dfe8e3;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.evidence-card {
  min-width: 0;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #d7ded9;
  border-radius: 8px;
  background: #fff;
}
.evidence-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 800;
}
.evidence-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}
.evidence-card p,
.source-note {
  color: var(--color-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.source-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--color-gold);
  font-size: 14px;
}
.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.product-archive-grid span {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #cfdad4;
  border-radius: 7px;
  background: #fff;
  color: var(--color-brand-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.photo-story-section {
  background: #f7faf8;
  border-block: 1px solid #dfe8e3;
}
.photo-story-grid,
.photo-duo {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.photo-story-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  grid-template-areas:
    "feature products"
    "feature wellness";
}
.photo-duo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.photo-duo-strong {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}
.photo-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7ded9;
  border-radius: 8px;
  background: #eef4f1;
}
.photo-story-grid .photo-card-feature {
  grid-area: feature;
  aspect-ratio: auto;
  min-height: 100%;
}
.photo-story-grid .photo-card:nth-child(2) { grid-area: products; }
.photo-story-grid .photo-card:nth-child(3) { grid-area: wellness; }
.photo-duo-strong .photo-card-feature {
  aspect-ratio: 16 / 7;
}
.photo-card picture,
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
}
.photo-card img {
  object-fit: cover;
  object-position: center;
}
.photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  background: rgba(6,59,48,.82);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.brand-photo,
.brand-photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-photo {
  min-height: 360px;
}
.brand-photo img {
  object-fit: cover;
  border-radius: calc(var(--radius-3xl) - 10px);
}
.products-page-hero .hero-grid {
  min-width: 0;
}
.products-page-hero h1,
.products-page-hero .lead,
.products-page-hero .hero-product {
  min-width: 0;
}

.news-card {
  min-height: 440px;
  padding: 220px 28px 28px;
  align-content: start;
}
.news-card::before { height: 190px; }
.news-card time { letter-spacing: 0; }
.news-card h3,
.news-card p { position: relative; z-index: 1; }

.strategic-section { padding-top: 72px; }
.strategic-section .split { align-items: start; }
.strategic-section h2 { max-width: 18ch; }

@media (max-width: 1024px) {
  .faq-shell { display: flex; flex-direction: column; }
  .faq-sidebar,
  .faq-content { display: contents; }
  .faq-content-head { order: 1; }
  .faq-panel-categories { order: 2; }
  .faq-list { order: 3; }
  .faq-support { order: 4; margin-top: 8px; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card { min-height: 0; }
  .product-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-story-grid,
  .photo-duo,
  .photo-duo-strong {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .photo-story-grid .photo-card,
  .photo-story-grid .photo-card-feature,
  .photo-story-grid .photo-card:nth-child(2),
  .photo-story-grid .photo-card:nth-child(3),
  .photo-duo-strong .photo-card-feature {
    grid-area: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .news-card { min-height: 390px; padding: 198px 20px 22px; }
  .news-card::before { height: 170px; }
  .faq-section { padding-top: 56px !important; }
  .partnership-fact { grid-template-columns: 1fr; gap: 6px; }
  .brand-foundation-grid { grid-template-columns: 1fr; }
  .brand-foundation-grid .card { min-height: 0; }
  .product-media .product-image-feature { height: 210px; max-height: 210px; }
  .product-media-solid .product-image-feature { height: 220px; max-height: 220px; }
  .product-image-nad-card { height: 220px; max-height: 220px; }
  .nad-visual-grid { grid-template-columns: 1fr; gap: 20px; }
  .nad-ingredient-panel { padding: 18px; }
  .nad-ingredient-list { grid-template-columns: 1fr; }
  .home-product-grid { grid-template-columns: 1fr; }
  .product-archive-grid { grid-template-columns: 1fr; }
  .product-archive-grid span { padding: 13px 14px; }
  .photo-card { aspect-ratio: 1 / 0.82; }
  .photo-card figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 12px;
  }
  .products-page-hero .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .products-page-hero .hero-product {
    min-height: 240px !important;
  }
  body:has(.products-page-hero) .cta-panel h2 {
    white-space: normal;
  }
  .faq-tags {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .faq-tag {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }
}

/* Keep first-level navigation links and the More disclosure on one baseline. */
.site-header .nav-links > a,
.site-header .nav-more,
.site-header .nav-more > summary {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  line-height: 1;
}
.site-header .nav-links > a {
  display: inline-flex !important;
  align-items: center;
}
.site-header .nav-more {
  display: inline-flex;
  align-items: center;
}
.site-header .nav-more > summary {
  display: inline-flex;
  align-items: center;
  font: inherit;
  color: inherit;
}
.site-header .nav-more > summary::after {
  flex: 0 0 auto;
  transform: rotate(45deg);
}

@media (max-width: 1360px) {
  .site-header .nav-links > a,
  .site-header .nav-more,
  .site-header .nav-more > summary {
    width: 100%;
    height: auto;
    min-height: 50px;
  }
  .site-header .nav-more { display: block; }
  .site-header .nav-more > summary { padding: 12px 16px; }
}

/* Market metrics need room for localized values such as RMB 270.8B / 2,708億. */
.market-stat-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.market-stat-board .stat {
  min-width: 0;
  min-height: 170px;
  padding: 24px;
  overflow: visible;
}
.market-stat-board .stat strong {
  max-width: 100%;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.market-stat-board .stat span {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .market-stat-board { grid-template-columns: 1fr; }
  .market-stat-board .stat { min-height: 0; }
}

/* Homepage hero polish: clean recut video, tighter first viewport, softer CTA treatment. */
.hero-video.hero-no-products {
  min-height: clamp(620px, calc(100vh - 76px), 740px);
  padding: clamp(64px, 8vh, 92px) 0 clamp(52px, 7vh, 84px);
  background-color: #06261f;
  background-image: url("video/optimized/kayaj-nature-poster.jpg");
  background-position: center center;
  background-size: cover;
}
.hero-video.hero-no-products .hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}
.hero-video.hero-no-products .hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(4,34,27,.86) 0%, rgba(4,34,27,.69) 43%, rgba(4,34,27,.34) 72%, rgba(4,34,27,.22) 100%),
    linear-gradient(180deg, rgba(4,34,27,.16) 0%, rgba(4,34,27,0) 36%, rgba(4,34,27,.2) 100%);
}
.hero-video.hero-no-products .hero-grid {
  min-height: 100%;
  align-items: center;
  grid-template-columns: minmax(0, 760px);
}
.hero-video.hero-no-products .hero-copy {
  gap: 20px;
  max-width: 760px;
}
.hero-video.hero-no-products .eyebrow {
  color: rgba(229,200,101,.95);
  text-shadow: 0 2px 16px rgba(0,0,0,.24);
}
.hero-video.hero-no-products .eyebrow::before {
  background: rgba(229,200,101,.9);
}
.hero-video.hero-no-products .gradient-text {
  color: #f5df91;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.16;
  max-width: 14ch;
  text-shadow: 0 3px 22px rgba(0,0,0,.3);
}
.hero-video.hero-no-products .lead {
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}
.hero-video.hero-no-products .hero-actions {
  gap: 14px;
  margin-top: 6px;
}
.hero-video.hero-no-products .hero-actions .btn {
  border-radius: 7px;
  box-shadow: none;
}
.hero-video.hero-no-products .hero-actions .btn-primary {
  border-color: rgba(255,255,255,.12);
  background: #0b6f54;
}
.hero-video.hero-no-products .hero-actions .btn-primary:hover {
  background: #095d47;
  box-shadow: 0 10px 24px rgba(3,27,21,.2);
}
.hero-video.hero-no-products .hero-actions .btn-secondary {
  border-color: rgba(255,255,255,.44);
  background: rgba(255,255,255,.14);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-video.hero-no-products .hero-actions .btn-secondary:hover {
  border-color: rgba(229,200,101,.72);
  background: rgba(255,255,255,.2);
  color: #fff;
}

@media (max-width: 900px) {
  .hero-video.hero-no-products {
    min-height: clamp(610px, calc(100vh - 76px), 720px);
    padding: 56px 0 48px;
  }
  .hero-video.hero-no-products .hero-video-bg {
    object-position: 56% 50%;
  }
  .hero-video.hero-no-products .gradient-text {
    max-width: 14ch;
  }
}

@media (max-width: 600px) {
  .hero-video.hero-no-products {
    min-height: 640px;
    padding: 42px 0 44px;
    background-image: url("video/optimized/kayaj-nature-poster-mobile.jpg");
    background-position: center center;
  }
  .hero-video.hero-no-products .hero-video-bg {
    object-position: 50% 50%;
  }
  .hero-video.hero-no-products .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(4,34,27,.58) 0%, rgba(4,34,27,.74) 38%, rgba(4,34,27,.88) 100%),
      linear-gradient(90deg, rgba(4,34,27,.72), rgba(4,34,27,.28));
  }
  .hero-video.hero-no-products .hero-copy {
    gap: 15px;
  }
  .hero-video.hero-no-products .gradient-text {
    font-size: 30px;
    max-width: 7ch;
  }
  .hero-video.hero-no-products .hero-actions {
    gap: 10px;
  }
  .hero-video.hero-no-products .hero-actions .btn {
    min-height: 46px;
    padding-inline: 15px;
  }
  .hero-video.hero-no-products .hero-video-control {
    bottom: 18px;
  }
}
