/* ============================================
   SUOIKIET.COM — Editorial vùng cao
   Palette: forest deep · emerald · suối cyan · lúa vàng · cream paper
   Fonts: Fraunces (display) + Plus Jakarta Sans (body) + JetBrains Mono (mono)
   ============================================ */

:root {
  --forest-950: #052e16;
  --forest-900: #0d4f2a;
  --forest-800: #14532d;
  --forest-700: #15803d;
  --forest-600: #16a34a;
  --emerald: #10b981;
  --moss: #65a30d;
  --suoi-800: #155e75;
  --suoi-700: #0e7490;
  --suoi-500: #0891b2;
  --suoi-400: #22d3ee;
  --suoi-300: #67e8f9;
  --suoi-100: #cffafe;
  --gold: #facc15;
  --amber: #f59e0b;
  --terra: #c2410c;
  --rust: #9a3412;
  --paper: #fdf8ee;
  --paper-2: #f7efd9;
  --paper-3: #efe4c0;
  --ink: #14241d;
  --ink-soft: #2d3a36;
  --line: rgba(13, 79, 42, 0.18);
  --line-strong: rgba(13, 79, 42, 0.4);
  --shadow-soft: 0 4px 18px -4px rgba(13, 79, 42, 0.12);
  --shadow-md: 0 14px 40px -12px rgba(13, 79, 42, 0.25);
  --shadow-lg: 0 30px 70px -20px rgba(13, 79, 42, 0.32);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1200px;
  --topbar-h: 68px;
  --bottomnav-h: 64px;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(1100px 600px at 90% -10%, rgba(250, 204, 21, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(8, 145, 178, 0.06), transparent 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: var(--forest-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terra); }

.container { max-width: var(--container); padding: 0 22px; margin: 0 auto; }

.icon { width: 1em; height: 1em; vertical-align: -0.16em; flex-shrink: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; padding: 10px 14px;
  background: var(--forest-900); color: #fff; border-radius: 8px;
  font-weight: 700; z-index: 1000;
}
.skip-link:focus { left: 12px; }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--forest-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 14px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.kicker {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}
p { margin: 0 0 1em; max-width: 65ch; }

/* ============ Topbar ============ */
.site-topbar {
  position: sticky; top: 0;
  height: var(--topbar-h);
  z-index: 60;
  background: rgba(253, 248, 238, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 0 22px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--forest-900), var(--emerald) 80%);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 19px;
  box-shadow: 0 4px 14px -4px rgba(13, 79, 42, 0.5), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.brand strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.desktop-nav { display: none; gap: 4px; margin-left: auto; }
.desktop-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s ease;
}
.desktop-nav a:hover { background: var(--paper-2); color: var(--forest-900); }
.top-cta {
  margin-left: auto;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--gold);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 16px -6px rgba(13, 79, 42, 0.5);
  transition: transform .15s ease;
}
.top-cta:hover { color: var(--gold); transform: translateY(-1px); }
.top-cta-desktop { display: none; }
.hamburger {
  display: grid; place-items: center;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--forest-900);
  transition: background .15s ease;
}
.hamburger:hover { background: var(--paper-2); }
@media (min-width: 920px) {
  .desktop-nav { display: flex; }
  .top-cta { margin-left: 4px; }
  .top-cta-desktop { display: inline-flex; }
  .hamburger { display: none; }
}

/* ============ Mobile drawer ============ */
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 46, 22, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 90;
}
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: min(360px, 90vw);
  height: 100dvh;
  background: var(--paper);
  z-index: 100;
  padding: 24px 22px 32px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.6,.05,.2,1);
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head span {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-900);
  display: inline-flex; align-items: center; gap: 8px;
}
.mobile-menu__head button {
  width: 38px; height: 38px;
  border: 1px solid var(--line); background: var(--paper-2);
  border-radius: 10px;
  cursor: pointer;
  color: var(--forest-900);
  display: grid; place-items: center;
  font-size: 18px;
}
.mobile-menu a {
  padding: 13px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: background .15s ease;
}
.mobile-menu a .icon { font-size: 18px; color: var(--forest-700); }
.mobile-menu a:hover { background: var(--paper-2); }
.mobile-menu .menu-divider {
  height: 1px; background: var(--line); margin: 12px 4px;
}
.mobile-menu .mobile-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--forest-950);
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.mobile-menu .mobile-cta:hover { background: linear-gradient(135deg, var(--amber), var(--gold)); }
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open .mobile-menu { transform: translateX(0); }

/* ============ Bottom nav (mobile) ============ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottomnav-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(253, 248, 238, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 50;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 8px 4px;
  text-transform: uppercase;
  font-family: var(--f-mono);
}
.bottom-nav a .icon { font-size: 20px; }
.bottom-nav a.tmdc { color: var(--terra); position: relative; }
.bottom-nav a.tmdc::after {
  content: ""; position: absolute; top: 8px; right: 26%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--paper);
}
.bottom-nav a:hover, .bottom-nav a:active { color: var(--forest-900); }
.bottom-nav a.tmdc:hover { color: var(--rust); }
@media (min-width: 920px) { .bottom-nav { display: none; } }

/* ============ Section base ============ */
.section { padding: 80px 0; position: relative; }
.section + .section { padding-top: 24px; }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 14px; }

/* Decorative wavy divider */
.wave-divider {
  display: block;
  width: 100%; height: 28px;
  margin: 0 auto;
  color: var(--forest-700);
  opacity: 0.4;
}

/* ============ Hero ============ */
.hero {
  padding-top: 70px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(8, 145, 178, 0.1), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(250, 204, 21, 0.12), transparent 32%);
  z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero__copy { position: relative; }
.hero__stamp {
  position: absolute;
  top: -10px; right: 0;
  width: 110px; height: 110px;
  display: none;
  z-index: 2;
  transform: rotate(8deg);
  animation: stamp-bounce 5s ease-in-out infinite;
}
@keyframes stamp-bounce {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-6px); }
}
@media (min-width: 720px) {
  .hero__stamp { display: block; }
}
.hero h1 span {
  display: block;
  font-family: var(--f-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terra);
  margin-top: 14px;
  font-style: normal;
}
.hero h1 i {
  font-style: italic;
  font-weight: 500;
  color: var(--forest-700);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 18px 0 28px;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--gold);
  box-shadow: 0 8px 24px -8px rgba(13, 79, 42, 0.5);
}
.btn-primary:hover { color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(13, 79, 42, 0.55); }
.btn-soft {
  background: var(--paper);
  color: var(--forest-900);
  border: 1.5px solid var(--forest-900);
  box-shadow: 4px 4px 0 0 var(--forest-900);
}
.btn-soft:hover { color: var(--forest-900); transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--forest-900); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--forest-950);
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.5);
}
.btn-gold:hover { color: var(--forest-950); transform: translateY(-2px); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 20px 30px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 22px;
  margin-top: 6px;
}
.hero-stats div { line-height: 1.3; }
.hero-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--forest-900);
}
.hero-stats span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 560px;
  margin: 0 auto;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-2 {
  position: absolute;
  bottom: -34px;
  left: -22px;
  width: 50%; aspect-ratio: 1/1.2;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--paper);
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
  transform: rotate(-5deg);
  z-index: 2;
}
.hero-photo-2 img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--paper);
  color: var(--forest-900);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 3;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 70px; padding-top: 30px; }
  .hero { padding-top: 70px; padding-bottom: 100px; }
}

/* ============ Marquee ticker ============ */
.ticker {
  background: var(--forest-900);
  color: var(--paper);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--forest-700);
  border-bottom: 1px solid var(--forest-700);
}
.ticker-track {
  display: flex; gap: 0;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 0 28px;
  white-space: nowrap;
  color: var(--paper-2);
}
.ticker-track span::before { content: "✿"; color: var(--gold); margin-right: 18px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Intro / About ============ */
.intro__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .intro__grid { grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; } }
.intro-fact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.intro-fact-card::before {
  content: "Bản đồ hành chính 2025";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--gold);
  color: var(--forest-950);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
#mo-hinh .intro-fact-card::before { content: none; }
.fact-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.fact-row:last-child { border-bottom: none; padding-bottom: 0; }
.fact-row:first-of-type { padding-top: 14px; }
.fact-row dt {
  font-family: var(--f-mono); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
  margin: 0;
}
.fact-row dd {
  margin: 0; font-weight: 700;
  color: var(--forest-900);
  text-align: right;
  font-size: 0.95rem;
}
.intro-copy h2 i {
  font-style: italic; color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.drop-cap::first-letter {
  font-family: var(--f-display);
  font-size: 4.6rem; font-weight: 700;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  color: var(--forest-700);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* ============ Highlights numbered ============ */
.highlights {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
}
.highlight-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .highlight-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .highlight-grid { grid-template-columns: repeat(3, 1fr); } }
.highlight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.highlight-card .num {
  position: absolute;
  top: -20px; left: 22px;
  font-family: var(--f-display);
  font-size: 3.2rem; font-weight: 700;
  color: var(--forest-700);
  background: var(--gold);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 4px solid var(--paper);
  box-shadow: 0 6px 14px -4px rgba(13, 79, 42, 0.3);
  letter-spacing: -0.04em;
  line-height: 1;
}
.highlight-card h3 { margin-top: 28px; }
.highlight-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.96rem; }

/* ============ Photo gallery ============ */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 18px; }
  .photo-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .photo-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .photo-card:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .photo-card:nth-child(4) { grid-column: span 3; grid-row: span 2; }
  .photo-card:nth-child(5) { grid-column: span 3; grid-row: span 2; }
  .photo-card:nth-child(6) { grid-column: span 3; grid-row: span 2; }
  .photo-card:nth-child(7) { grid-column: span 3; grid-row: span 2; }
  .photo-card:nth-child(8) { grid-column: span 6; grid-row: span 2; }
}
.photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-3);
  min-height: 260px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}
@media (min-width: 720px) { .photo-card { min-height: 0; } }
.photo-card:hover { transform: translateY(-4px) scale(1.005); box-shadow: var(--shadow-md); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card picture { display: block; width: 100%; height: 100%; }
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 46, 22, 0.85) 0%, rgba(5, 46, 22, 0.0) 50%);
  pointer-events: none;
}
.photo-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px 18px;
  color: var(--paper);
  z-index: 1;
}
.photo-meta .kicker { color: var(--gold); }
.photo-meta h3 {
  color: var(--paper);
  font-size: 1.15rem;
  margin: 4px 0 0;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.photo-num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--paper);
  background: rgba(5, 46, 22, 0.55);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-weight: 700;
  z-index: 2;
}

/* ============ Train station feature ============ */
.train-feature {
  background: var(--forest-900);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 50px 38px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.train-feature::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background-image: url("../photos/05-ga-suoi-kiet-duong-sat-bac-nam-960.webp");
  background-size: cover; background-position: center;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  opacity: 0.7;
}
.train-feature__content { position: relative; z-index: 1; max-width: 580px; }
.train-feature h2 { color: var(--paper); }
.train-feature h2 i { color: var(--gold); font-style: italic; }
.train-feature p { color: rgba(253, 248, 238, 0.88); }
.train-feature .eyebrow { color: var(--gold); }
.train-feature .eyebrow::before { background: var(--gold); }
.train-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  border-top: 1px dashed rgba(253, 248, 238, 0.25);
  padding-top: 22px; margin-top: 26px;
}
.train-meta div { line-height: 1.3; }
.train-meta strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--gold);
}
.train-meta span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(253, 248, 238, 0.75);
}

/* ============ Culture / community ============ */
.culture-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .culture-grid { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 60px; } }
.culture-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
  background: var(--paper-3);
}
.culture-photo img { width: 100%; height: 100%; object-fit: cover; }
.culture-photo::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px;
  width: 60%; height: 60%;
  background: var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}
.culture-photo-wrap { position: relative; }
.culture-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--forest-800);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 18px 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: var(--forest-700); }
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--forest-700); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest-900);
  font-size: 1.05rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terra);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item div { padding-top: 12px; color: var(--ink-soft); }
.faq-item div p:last-child { margin-bottom: 0; }

/* ============ Domain CTA / footer banner ============ */
.domain-cta {
  background:
    radial-gradient(ellipse at top right, rgba(250, 204, 21, 0.18), transparent 50%),
    linear-gradient(140deg, var(--forest-950) 0%, var(--forest-900) 60%, var(--forest-700) 100%);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.domain-cta::before {
  content: "FOR SALE";
  position: absolute; top: 22px; right: -50px;
  background: var(--gold);
  color: var(--forest-950);
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  padding: 7px 60px;
  transform: rotate(35deg);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.4);
}
.domain-cta__inner { display: grid; gap: 30px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 800px) { .domain-cta__inner { grid-template-columns: 1.4fr 1fr; gap: 50px; } }
.domain-cta h3 { color: var(--gold); font-size: 0.95rem; font-family: var(--f-mono); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.domain-cta h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.domain-cta h2 b { color: var(--gold); font-weight: 600; font-style: italic; }
.domain-cta p { color: rgba(253, 248, 238, 0.85); }
.domain-cta__visual {
  position: relative;
  aspect-ratio: 1/1.05;
  background: rgba(253, 248, 238, 0.05);
  border: 1.5px dashed rgba(253, 248, 238, 0.3);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px;
  text-align: center;
}
.domain-cta__visual .domain-name {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.domain-cta__visual .domain-name span { color: var(--paper); font-weight: 400; font-style: italic; }
.domain-cta__visual small {
  display: block; margin-top: 8px;
  font-family: var(--f-mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(253, 248, 238, 0.6);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--forest-950);
  color: rgba(253, 248, 238, 0.75);
  padding: 60px 0 30px;
  margin-top: 70px;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand .brand strong { color: var(--paper); }
.footer-brand .brand small { color: rgba(253, 248, 238, 0.55); }
.footer-grid h4 {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(253, 248, 238, 0.85); }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { color: rgba(253, 248, 238, 0.7); font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(253, 248, 238, 0.12);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 0.75rem;
  color: rgba(253, 248, 238, 0.55);
  letter-spacing: 0.05em;
}
.footer-bottom a { color: var(--gold); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .ticker-track, .stamp-bounce { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .photo-card:hover { transform: none; }
}

/* ============ Print ============ */
@media print {
  .site-topbar, .bottom-nav, .domain-cta, .ticker { display: none !important; }
}
