/* ==========================================================================
   CanGio.org — Tropical Mangrove Atlas
   Palette: deep-sea navy + ivory pearl + mangrove green + tide aqua + sunset coral + brass gold
   Fonts: Lora (display serif) · Sora (body sans) · DM Mono (mono)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Sora:wght@300;400;500;600;700&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink: #0e2a3a;
  --ink-2: #143b4f;
  --ink-soft: #2a4a5e;
  --paper: #faf6ee;
  --paper-2: #f4ede0;
  --paper-3: #ebe1cf;
  --mangrove: #1f4d3e;
  --mangrove-2: #2d6951;
  --aqua: #2b9cb3;
  --aqua-light: #7fc5d4;
  --aqua-pale: #d6ecf1;
  --coral: #e87a4c;
  --coral-deep: #c95a2c;
  --gold: #c8983d;
  --gold-soft: #d8b266;
  --salt: #f9f9f6;
  --line: rgba(14, 42, 58, 0.12);
  --line-strong: rgba(14, 42, 58, 0.22);

  --f-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --f-sans:  'Sora', system-ui, -apple-system, sans-serif;
  --f-mono:  'DM Mono', 'SF Mono', Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 58, 0.08);
  --shadow-md: 0 6px 24px rgba(14, 42, 58, 0.12);
  --shadow-lg: 0 18px 48px rgba(14, 42, 58, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.012em; }

/* ===== A11Y ===== */
.skip-link {
  position: absolute; top: -100px; left: 12px;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: var(--radius-sm); z-index: 100; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ===== UTIL ===== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; flex: none; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ===== ISSUE STRIP (top dark bar) ===== */
.issue-strip {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 3px solid var(--coral);
}
.issue-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
  flex-wrap: wrap;
}
.issue-strip__item { display: inline-flex; align-items: center; gap: 8px; opacity: 0.92; white-space: nowrap; }
.issue-strip__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}
.issue-strip__item:nth-child(2)::before { background: var(--aqua-light); }
.issue-strip__item:nth-child(3)::before { background: var(--gold); }

/* ===== MASTHEAD ===== */
.masthead {
  background: var(--paper);
  position: sticky;
  top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.masthead.is-scrolled { box-shadow: var(--shadow-sm); }
.masthead__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); padding: 4px;
  flex: none;
}
.brand__name {
  font-family: var(--f-serif); font-size: 20px; font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__sub {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  color: var(--coral); letter-spacing: 0.18em; text-transform: uppercase;
  display: block; margin-top: 4px;
}

.nav { display: flex; gap: clamp(16px, 2.5vw, 32px); margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 500;
  color: var(--ink); padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--coral); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--coral);
  transition: right 0.3s var(--ease);
}
.nav a:hover::after { right: 0; }

.cta-btn {
  background: var(--coral); color: var(--paper);
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 0 var(--coral-deep);
}
.cta-btn:hover { background: var(--coral-deep); transform: translateY(-1px); box-shadow: 0 4px 0 var(--coral-deep); }
.cta-btn:active { transform: translateY(0); box-shadow: 0 1px 0 var(--coral-deep); }
.cta-btn .icon { font-size: 16px; }

.hamburger {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--ink); color: var(--paper);
  display: none; align-items: center; justify-content: center;
  margin-left: auto;
  transition: background 0.2s var(--ease);
}
.hamburger:hover { background: var(--ink-2); }
.hamburger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 900px) {
  .nav, .masthead .cta-btn { display: none; }
  .hamburger { display: inline-flex; }
}

/* ===== DRAWER ===== */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14, 42, 58, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--paper); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  align-self: flex-end;
  width: 38px; height: 38px;
  border-radius: 50%; background: var(--paper-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.drawer a {
  display: block; padding: 14px 0;
  font-family: var(--f-serif); font-size: 22px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover { color: var(--coral); }
.drawer .cta-btn { margin-top: 20px; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(0.78);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,42,58,0.25) 0%, rgba(14,42,58,0.15) 35%, rgba(14,42,58,0.85) 100%),
    linear-gradient(90deg, rgba(14,42,58,0.55) 0%, rgba(14,42,58,0.1) 60%);
}
.hero__content {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(60px, 10vh, 110px);
  position: relative;
  min-height: clamp(540px, 80vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral);
  background: rgba(252, 245, 232, 0.08);
  border: 1px solid rgba(252, 245, 232, 0.18);
  backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 20px;
}
.hero__kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); animation: pulse 2.4s var(--ease) infinite;
}

.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--paper);
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  display: block;
}

.hero__sub {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.hero__sub-line {
  width: 50px; height: 2px; background: var(--coral); flex: none;
}
.hero__sub-text {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(252, 245, 232, 0.85);
}

.hero__lede {
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  font-style: italic;
  max-width: 56ch;
  color: rgba(252, 245, 232, 0.92);
  margin: 0 0 32px;
}
.hero__lede strong { color: var(--paper); font-weight: 700; font-style: normal; }
.hero__lede em { color: var(--gold-soft); font-style: italic; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(252, 245, 232, 0.18);
  border: 1px solid rgba(252, 245, 232, 0.18);
  border-radius: 14px;
  overflow: hidden;
  max-width: 720px;
  backdrop-filter: blur(6px);
  background-color: rgba(14, 42, 58, 0.4);
}
.hero__stat {
  background: rgba(14, 42, 58, 0.55);
  padding: 18px 20px;
}
.hero__stat .num {
  font-family: var(--f-serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700; line-height: 1; color: var(--gold-soft);
  margin-bottom: 6px;
}
.hero__stat .lbl {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(252, 245, 232, 0.75);
  display: block;
}

@media (max-width: 700px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TICKER ===== */
.ticker {
  background: var(--mangrove);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker__track {
  display: flex; gap: 0;
  animation: ticker 38s linear infinite;
  padding: 14px 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 24px;
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}
.ticker__item span:nth-child(even) {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); font-style: normal;
}

/* ===== SECTION FRAMEWORK ===== */
.section {
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
}
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--mangrove { background: var(--mangrove); color: var(--paper); }

.section--ink h2, .section--ink h3, .section--mangrove h2, .section--mangrove h3 {
  color: var(--paper);
}

.section__head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section__head--left {
  margin-left: 0; margin-right: auto;
  text-align: left;
}
.section__kicker {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section__kicker::before {
  content: ""; width: 24px; height: 1px;
  background: var(--coral);
}
.section--ink .section__kicker, .section--mangrove .section__kicker { color: var(--gold-soft); }
.section--ink .section__kicker::before, .section--mangrove .section__kicker::before { background: var(--gold-soft); }
.section--paper .section__kicker { color: var(--coral); }

.section__title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.section__title em {
  font-style: italic; color: var(--coral); font-weight: 500;
}
.section--ink .section__title em, .section--mangrove .section__title em { color: var(--gold-soft); }

.section__lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.section--ink .section__lede, .section--mangrove .section__lede {
  color: rgba(252, 245, 232, 0.78);
}

/* ===== INTRO (drop-cap + factsheet atlas) ===== */
.intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.intro__copy {
  font-family: var(--f-serif);
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--ink);
}
.intro__copy p:first-child {
  font-size: 19px;
}
.intro__copy p:first-child::first-letter {
  font-family: var(--f-serif);
  font-size: 5em;
  font-weight: 700;
  font-style: italic;
  color: var(--coral);
  float: left;
  line-height: 0.9;
  padding: 6px 14px 0 0;
  margin-top: 4px;
}
.intro__copy p { margin: 0 0 1.2em; }
.intro__copy strong { color: var(--coral-deep); font-weight: 600; }
.intro__copy em { color: var(--mangrove-2); font-style: italic; font-weight: 500; }

/* Factsheet — atlas/tide-table aesthetic */
.factsheet {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: sticky; top: 100px;
  position: relative;
}
.factsheet::before {
  content: "";
  position: absolute; top: -1px; left: 28px; right: 28px;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 50%, var(--aqua) 100%);
}
.factsheet__title {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral); margin: 0 0 18px;
}
.factsheet dl { margin: 0; display: flex; flex-direction: column; gap: 0; }
.factsheet .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  gap: 16px;
}
.factsheet .row:last-child { border-bottom: 0; }
.factsheet dt {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: none;
}
.factsheet dd {
  font-family: var(--f-serif); font-size: 15px; font-weight: 500;
  color: var(--ink); margin: 0; text-align: right;
}
.factsheet dd em {
  font-style: italic; color: var(--coral); font-weight: 500;
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .factsheet { position: static; }
}

/* ===== POTENTIAL CARDS (catalyst BĐS — DARK section) ===== */
.thesis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(252, 245, 232, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .thesis__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .thesis__grid { grid-template-columns: 1fr; } }

.thesis-card {
  padding: 32px 28px;
  border-right: 1px solid rgba(252, 245, 232, 0.14);
  border-bottom: 1px solid rgba(252, 245, 232, 0.14);
  background: rgba(252, 245, 232, 0.02);
  transition: background 0.3s var(--ease);
  position: relative;
}
.thesis-card:hover { background: rgba(252, 245, 232, 0.05); }
.thesis__grid > .thesis-card:nth-child(3n) { border-right: 0; }
@media (max-width: 980px) {
  .thesis__grid > .thesis-card { border-right: 1px solid rgba(252, 245, 232, 0.14); }
  .thesis__grid > .thesis-card:nth-child(2n) { border-right: 0; }
  .thesis__grid > .thesis-card:nth-child(3n) { border-right: 1px solid rgba(252, 245, 232, 0.14); }
}
@media (max-width: 640px) {
  .thesis__grid > .thesis-card { border-right: 0 !important; }
}

.thesis-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.thesis-card__num {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(252, 245, 232, 0.6);
}
.thesis-card__num strong {
  color: var(--gold-soft); font-weight: 600;
  margin-right: 8px;
}
.thesis-card__chip {
  font-family: var(--f-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-soft);
  padding: 4px 10px; border-radius: 4px;
}
.thesis-card__chip--coral { background: var(--coral); color: var(--paper); }
.thesis-card__chip--aqua { background: var(--aqua-light); color: var(--ink); }

.thesis-card__title {
  font-family: var(--f-serif); font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600; line-height: 1.2;
  margin-bottom: 14px;
  color: var(--paper);
}
.thesis-card__title em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.thesis-card p {
  font-size: 14.5px; line-height: 1.65;
  color: rgba(252, 245, 232, 0.85);
  margin: 0;
}

/* ===== TWOFACE BREAKER (rừng UNESCO vs đô thị biển mới) ===== */
.twoface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: clamp(420px, 60vh, 620px);
}
@media (max-width: 900px) { .twoface { grid-template-columns: 1fr; } }

.twoface__panel {
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
}
.twoface__panel--heritage {
  background: var(--mangrove);
  color: var(--paper);
}
.twoface__panel--heritage::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: url('../photos/02-rung-ngap-man-flycam-1024.webp');
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.twoface__panel--urban {
  background: var(--ink);
  color: var(--paper);
}
.twoface__panel--urban::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, rgba(43, 156, 179, 0.16) 0%, rgba(232, 122, 76, 0.12) 100%);
}
.twoface__kicker {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.twoface__kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold-soft); }

.twoface__title {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600; line-height: 1.15;
  margin-bottom: 18px;
}
.twoface__title em { font-style: italic; color: var(--coral); font-weight: 500; }
.twoface__panel--heritage .twoface__title em { color: var(--aqua-light); }

.twoface__panel p {
  font-size: 15.5px; line-height: 1.65;
  color: rgba(252, 245, 232, 0.86);
  margin: 0 0 1em;
}
.twoface__panel ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 10px;
}
.twoface__panel li {
  font-size: 14px;
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(252, 245, 232, 0.92);
}
.twoface__panel li::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-soft); margin-top: 9px;
}

/* ===== ALBUM (masonry mosaic) ===== */
.album__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.album__tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink);
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.album__tile:hover { transform: translateY(-3px); }
.album__tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.album__tile:hover img { transform: scale(1.04); }
.album__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 42, 58, 0.82) 100%);
  pointer-events: none;
}
.album__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  z-index: 2;
  color: var(--paper);
}
.album__caption .num {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  display: block; margin-bottom: 4px;
}
.album__caption .name {
  font-family: var(--f-serif); font-size: 17px; font-weight: 600;
  line-height: 1.3;
}

/* Tile spans for varied mosaic layout */
.tile-1 { grid-column: span 6; aspect-ratio: 16/9; }
.tile-2 { grid-column: span 6; aspect-ratio: 16/9; }
.tile-3 { grid-column: span 4; aspect-ratio: 4/5; }
.tile-4 { grid-column: span 4; aspect-ratio: 4/5; }
.tile-5 { grid-column: span 4; aspect-ratio: 4/5; }
.tile-6 { grid-column: span 4; aspect-ratio: 4/3; }
.tile-7 { grid-column: span 4; aspect-ratio: 4/3; }
.tile-8 { grid-column: span 4; aspect-ratio: 4/3; }
.tile-9 { grid-column: span 6; aspect-ratio: 16/9; }
.tile-10 { grid-column: span 6; aspect-ratio: 16/9; }

@media (max-width: 900px) {
  .album__grid { gap: 10px; }
  .tile-1, .tile-2, .tile-9, .tile-10 { grid-column: span 12; aspect-ratio: 16/9; }
  .tile-3, .tile-4, .tile-5 { grid-column: span 6; aspect-ratio: 4/5; }
  .tile-6, .tile-7, .tile-8 { grid-column: span 6; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .tile-3, .tile-4, .tile-5 { grid-column: span 12; }
  .tile-6, .tile-7, .tile-8 { grid-column: span 12; aspect-ratio: 16/10; }
}

/* ===== MODEL (Vùng đất [X]) ===== */
.model {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.model::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 122, 76, 0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.model__intro {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  margin-bottom: clamp(40px, 6vw, 60px);
}
@media (max-width: 900px) { .model__intro { grid-template-columns: 1fr; } }

.model__copy h3 {
  font-family: var(--f-serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 18px; color: var(--paper);
}
.model__copy h3 em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.model__copy p {
  font-size: 16px; line-height: 1.75;
  color: rgba(252, 245, 232, 0.9); margin: 0 0 1em;
}
.model__copy p strong { color: var(--coral); font-weight: 600; }
.model__copy p em { color: var(--aqua-light); font-style: italic; }

.model__factsheet {
  background: rgba(252, 245, 232, 0.04);
  border: 1px solid rgba(252, 245, 232, 0.14);
  border-radius: var(--radius);
  padding: 26px;
}
.model__factsheet h3 {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 18px;
}
.model__factsheet dl { margin: 0; display: flex; flex-direction: column; }
.model__factsheet .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(252, 245, 232, 0.16);
  gap: 14px;
}
.model__factsheet .row:last-child { border-bottom: 0; }
.model__factsheet dt {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  color: rgba(252, 245, 232, 0.6);
  letter-spacing: 0.06em; text-transform: uppercase;
  flex: none;
}
.model__factsheet dd {
  font-family: var(--f-serif); font-size: 14.5px; font-weight: 500;
  color: var(--paper); margin: 0; text-align: right;
}
.model__factsheet dd em { color: var(--coral); font-style: italic; }

.model__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .model__pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 28px 26px;
  background: rgba(252, 245, 232, 0.03);
  border: 1px solid rgba(252, 245, 232, 0.12);
  border-radius: var(--radius);
  position: relative;
}
.pillar__num {
  font-family: var(--f-serif); font-size: 50px; font-weight: 700;
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 8px;
}
.pillar h3 {
  font-family: var(--f-serif); font-size: 20px; font-weight: 600;
  margin: 0 0 10px; color: var(--paper);
}
.pillar p {
  font-size: 14.5px; line-height: 1.65;
  color: rgba(252, 245, 232, 0.85); margin: 0;
}

/* ===== FAQ ===== */
.faq__list { max-width: 880px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq__item[open] { background: var(--paper-2); }
.faq__q {
  font-family: var(--f-serif); font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600; line-height: 1.4;
  padding: 22px 56px 22px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%; background: var(--paper-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 18px; font-weight: 400;
  color: var(--ink); transition: transform 0.3s var(--ease), background 0.2s;
}
.faq__item[open] .faq__q::after { content: "−"; background: var(--coral); color: var(--paper); }
.faq__q:hover { color: var(--coral); }
.faq__a {
  padding: 0 0 22px;
  font-family: var(--f-serif); font-size: 16px; line-height: 1.7;
  color: var(--ink-soft);
}
.faq__a p { margin: 0 0 0.8em; }
.faq__a p:last-child { margin: 0; }
.faq__a strong { color: var(--coral-deep); font-weight: 600; }

/* ===== CTA PANEL ===== */
.cta-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(14px, 2vw, 22px);
  padding: clamp(50px, 7vw, 90px) clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(43, 156, 179, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232, 122, 76, 0.16), transparent 50%);
}
.cta-panel__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.cta-panel__kicker {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.cta-panel__kicker::before { content: ""; width: 24px; height: 1px; background: var(--gold-soft); }
.cta-panel__title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--paper);
}
.cta-panel__title em { font-style: italic; color: var(--coral); font-weight: 500; }
.cta-panel p {
  font-family: var(--f-serif); font-size: 17px; line-height: 1.65;
  color: rgba(252, 245, 232, 0.85);
  margin: 0 0 1em;
}
.cta-panel p:last-of-type { margin-bottom: 32px; }
.cta-panel p strong { color: var(--gold-soft); font-weight: 600; }
.cta-panel__buttons {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.cta-panel .cta-btn {
  font-size: 16px; padding: 15px 28px;
}
.cta-panel .cta-btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(252, 245, 232, 0.4);
  box-shadow: none;
}
.cta-panel .cta-btn--ghost:hover {
  background: rgba(252, 245, 232, 0.08);
  border-color: rgba(252, 245, 232, 0.6);
  box-shadow: none;
}

.cta-panel__stamp {
  position: absolute;
  top: 32px; right: -60px;
  transform: rotate(15deg);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral);
  border: 2px solid var(--coral);
  padding: 12px 70px;
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 700px) {
  .cta-panel__stamp { display: none; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(252, 245, 232, 0.7);
  padding: clamp(50px, 6vw, 70px) 0 30px;
  border-top: 4px solid var(--coral);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand {
  font-family: var(--f-serif); font-size: 26px; font-style: italic;
  font-weight: 700; color: var(--paper);
  margin-bottom: 12px;
}
.footer__about {
  font-family: var(--f-serif); font-size: 14.5px; line-height: 1.65;
}
.footer__col h4 {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 5px 0; }
.footer__col a { font-size: 14.5px; transition: color 0.2s; }
.footer__col a:hover { color: var(--coral); }

.footer__bottom {
  border-top: 1px solid rgba(252, 245, 232, 0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(252, 245, 232, 0.5);
}
.footer__bottom a:hover { color: var(--coral); }

/* ===== BOTTOM-NAV (mobile) ===== */
.bottom-nav {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 70;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px;
  box-shadow: var(--shadow-md);
}
.bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 4px;
  font-family: var(--f-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
  position: relative;
}
.bottom-nav a svg { width: 18px; height: 18px; }
.bottom-nav a.is-active {
  background: var(--ink); color: var(--paper);
}
.bottom-nav a.is-active::after {
  content: ""; position: absolute; top: 5px; right: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-soft);
}

@media (max-width: 700px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 84px; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
