/* ============================================================
   VIETNAM — trip field guide
   palette: ivory / vermilion / jade / lotus / gold
   ============================================================ */

:root {
  --ink:          #1a1410;
  --ink-soft:     #4a3a2a;
  --muted:        #7a6a55;
  --paper:        #fbf6ea;
  --paper-warm:   #f6ead0;
  --paper-deep:   #ecdcb2;
  --line:         #d4c39a;

  /* Vietnam accents */
  --vermilion:    #c2342f;   /* flag red, lanterns */
  --vermilion-dk: #962620;
  --jade:         #4a8b6f;
  --jade-dk:      #2c5440;
  --gold:         #d4a449;
  --gold-soft:    #ecc97b;
  --lotus:        #e8a5b8;
  --lotus-soft:   #f5d2db;
  --teal:         #3a7588;   /* Ha Long water */
  --teal-dk:      #234d59;
  --night:        #1f1814;
  --night-deep:   #110d0b;

  --shadow-sm: 0 2px 8px rgba(58, 36, 14, 0.07);
  --shadow-md: 0 8px 28px rgba(58, 36, 14, 0.10);
  --shadow-lg: 0 24px 60px rgba(58, 36, 14, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --maxw:      1200px;
  --maxw-text: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--vermilion); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--vermilion-dk); }
img, svg { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermilion);
}
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.sw {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--vermilion);
  font-size: 0.9em;
  margin-left: 6px;
}
code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--paper-deep);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

/* ============================================================ NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__home {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(251, 246, 234, 0.4);
  transition: background .2s, color .2s, border-color .2s;
}
.nav__home:hover {
  color: var(--ink);
  background: var(--paper-deep);
  border-color: var(--paper-deep);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  margin-right: auto;
}
.nav__brand-mark {
  color: var(--vermilion);
  display: inline-flex;
}
.nav__links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav__links a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__home { font-size: 0.78rem; }
}

/* ============================================================ HERO */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__svg { width: 100%; height: 100%; }
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px 80px;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 245, 214, 0.92);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255, 245, 214, 0.45);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__title span { display: block; }
.hero__lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.4;
  margin: 0 0 36px;
  max-width: 640px;
  color: rgba(255, 245, 214, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}
.hero__chip {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(20, 12, 6, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 245, 214, 0.25);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.hero__chip--badge {
  background: var(--jade);
  border-color: var(--jade);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
}
.btn--primary { background: var(--vermilion); color: #fff; }
.btn--primary:hover {
  background: var(--vermilion-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(150, 38, 32, 0.35);
}
.btn--ghost {
  background: rgba(255, 245, 214, 0.08);
  color: #fff;
  border-color: rgba(255, 245, 214, 0.5);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 245, 214, 0.18);
  color: #fff;
  border-color: rgba(255, 245, 214, 0.8);
}

/* ============================================================ SECTION FRAMING */

.section { padding: 110px 24px; scroll-margin-top: 72px; }
.section--cream  { background: var(--paper-warm); }
.section--accent { background: linear-gradient(180deg, var(--paper-warm) 0%, #f5dcb1 100%); }
.section--dark   {
  background: var(--night);
  color: var(--paper);
}
.section--dark a { color: var(--gold-soft); }
.section--dark a:hover { color: var(--gold); }
.section--dark strong { color: #fff; }
.section--dark .muted { color: rgba(251, 246, 234, 0.65); }

.section__hd {
  max-width: var(--maxw-text);
  margin: 0 auto 64px;
  text-align: center;
}
.section__hd h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 14px 0 18px;
  color: var(--ink);
}
.section--dark .section__hd h2 { color: var(--paper); }
.section__hd .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 640px;
}
.section--dark .section__hd .lede { color: rgba(251, 246, 234, 0.78); }
.section__hd--light .kicker { color: var(--gold-soft); }

/* ============================================================ FACTS */

.facts__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s ease;
}
.fact:hover { background: var(--paper-warm); }
.fact__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--vermilion);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.fact__label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.fact__sub {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================ RECAP / STATS */

.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 34px 30px;
  border: 1px solid rgba(212, 195, 154, 0.4);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vermilion), var(--gold));
}
.stat__big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--vermilion);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat__label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat__sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================================ ITINERARY / REGIONS */

.itinerary { padding-bottom: 130px; }

.route {
  max-width: 600px;
  margin: 0 auto 80px;
  text-align: center;
}
.route__svg {
  width: 100%;
  height: auto;
  background: var(--paper-warm);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 12px;
}
.route figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}

.region {
  max-width: var(--maxw);
  margin: 0 auto 80px;
  background: #fff;
  border-radius: 18px;
  padding: 50px 48px;
  border: 1px solid rgba(212, 195, 154, 0.5);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.region::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--jade));
}
.region--central::before {
  background: linear-gradient(90deg, var(--gold), var(--vermilion));
}
.region--south::before {
  background: linear-gradient(90deg, var(--vermilion), var(--lotus));
}

.region__hd {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.region__pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.region--central .region__pill { background: var(--gold); }
.region--south .region__pill   { background: var(--vermilion); }

.region__hd h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.region__dates {
  font-family: var(--serif);
  font-style: italic;
  color: var(--vermilion);
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.region__hd p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.stops {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stop {
  background: var(--paper);
  border-radius: 14px;
  padding: 28px 30px;
  border: 1px solid rgba(212, 195, 154, 0.4);
}
.stop--feature {
  background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
  border-color: var(--gold);
  border-width: 1.5px;
}
.stop--end {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.stop--end h4 { color: #fff; }
.stop--end p { color: rgba(251, 246, 234, 0.85); }
.stop--end .muted { color: rgba(251, 246, 234, 0.55); }

.stop__head { margin-bottom: 18px; }
.stop__head h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.stop__dates {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--vermilion);
  letter-spacing: 0.04em;
  background: var(--paper-warm);
  padding: 4px 10px;
  border-radius: 999px;
}
.stop--end .stop__dates {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-soft);
}
.stop__lede {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.stop__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.stop__cols > div {
  background: rgba(255, 255, 255, 0.5);
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(212, 195, 154, 0.4);
}
.stop__sublabel {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin: 0 0 10px;
}
.stop__cols ul,
.stop__list {
  margin: 0;
  padding: 0 0 0 18px;
}
.stop__cols li,
.stop__list li {
  margin: 6px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.stop__cols p:not(.stop__sublabel) {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.stop__list {
  margin-top: 18px;
}

.stop__schedule {
  background: rgba(255, 255, 255, 0.6);
  padding: 22px 26px;
  border-radius: 12px;
  border: 1px solid rgba(212, 195, 154, 0.5);
  margin-top: 18px;
}
.stop__schedule h5 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--ink);
}
.stop__schedule h5:first-child { margin-top: 0; }
.stop__schedule ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.stop__schedule li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 4px 0;
}

@media (max-width: 720px) {
  .region { padding: 36px 26px; }
  .stop { padding: 22px 22px; }
}

/* ============================================================ UNESCO */

.unesco__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.usite {
  background: rgba(251, 246, 234, 0.06);
  border: 1px solid rgba(212, 164, 73, 0.2);
  border-radius: 14px;
  padding: 24px 26px;
  color: var(--paper);
  position: relative;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.usite:hover {
  transform: translateY(-4px);
  background: rgba(251, 246, 234, 0.10);
  border-color: rgba(212, 164, 73, 0.5);
}
.usite__check {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.usite--visited .usite__check {
  background: var(--jade);
  color: #fff;
}
.usite--missed .usite__check {
  background: rgba(251, 246, 234, 0.05);
  color: rgba(251, 246, 234, 0.5);
  border: 1px dashed rgba(251, 246, 234, 0.3);
}
.usite--missed { opacity: 0.65; }
.usite h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 10px;
  padding-right: 44px;
  color: var(--paper);
}
.usite p {
  margin: 0;
  color: rgba(251, 246, 234, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ============================================================ COUNTRY */

.country__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.ctry {
  background: #fff;
  border-radius: 14px;
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 195, 154, 0.4);
}
.ctry h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 18px;
}
.ctry h3::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px;
  height: 6px;
  background: var(--vermilion);
  border-radius: 50%;
}
.ctry p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.ctry__weather {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.ctry__weather li {
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.ctry__weather li:last-child { border-bottom: 0; }

/* ============================================================ HISTORY */

.era {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  position: relative;
}
.era::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.era__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 24px 0;
  position: relative;
}
.era__item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 36px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border: 2.5px solid var(--vermilion);
  border-radius: 50%;
  z-index: 1;
}
.era__item--highlight::before {
  background: var(--vermilion);
  border-color: var(--vermilion-dk);
  box-shadow: 0 0 0 6px rgba(194, 52, 47, 0.18);
}
.era__when {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  color: var(--vermilion);
  font-size: 1.05rem;
  padding-left: 50px;
  padding-top: 4px;
}
.era__what h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.era__what p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.era__what p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .era__item { grid-template-columns: 1fr; gap: 8px; }
  .era__when { padding-left: 50px; padding-top: 0; font-size: 0.95rem; }
  .era__what { padding-left: 50px; }
}

/* ============================================================ FOOD */

.food__rubric {
  max-width: var(--maxw);
  margin: 60px auto 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.food__rubric::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 3px;
  background: var(--vermilion);
}
.food__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.food__grid--regional .dish {
  background: var(--paper);
}
.dish {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid rgba(212, 195, 154, 0.5);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.dish::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 100%;
  background: var(--vermilion);
  border-radius: 12px 0 0 12px;
}
.dish--coffee::before { background: #8b6f4a; }
.dish--north::before  { background: var(--teal); }
.dish--central::before{ background: var(--gold); }
.dish--south::before  { background: var(--jade); }
.dish:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.dish__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.dish p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================ PHRASES */

.phrases {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.phrase-group {
  background: #fff;
  border-radius: 14px;
  padding: 26px 30px;
  border: 1px solid rgba(212, 195, 154, 0.5);
  box-shadow: var(--shadow-sm);
}
.phrase-group h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.phrase-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.phrase-list li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.phrase-list li:last-child { border-bottom: 0; }
.phrase-list b {
  color: var(--ink);
  font-weight: 600;
}
.phrase-list i {
  color: var(--vermilion);
  font-style: italic;
  font-family: var(--serif);
  font-size: 0.9em;
  margin: 0 6px;
}
.phrase-list--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 12px;
}
.phrase-list--cols li { padding: 6px 0; }

/* ============================================================ TIPS / HEALTH */

.health__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.hcard {
  background: #fff;
  border-radius: 14px;
  padding: 28px 30px;
  border: 1px solid rgba(212, 195, 154, 0.4);
  box-shadow: var(--shadow-sm);
}
.hcard h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hcard h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--jade);
  border-radius: 50%;
}
.hcard p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.hcard ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.hcard li {
  margin: 10px 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================ FOOTER */

.foot {
  background: var(--night-deep);
  color: rgba(251, 246, 234, 0.75);
  padding: 80px 24px 50px;
  text-align: center;
}
.foot__inner {
  max-width: var(--maxw-text);
  margin: 0 auto;
}
.foot__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
  color: var(--paper);
  margin: 0 0 12px;
}
.foot__cite {
  color: var(--gold-soft);
  margin: 0 0 50px;
  font-style: italic;
}
.foot__meta {
  border-top: 1px solid rgba(251, 246, 234, 0.15);
  padding-top: 32px;
}
.foot__meta p { margin: 8px 0; }
.foot__meta strong { color: #fff; }
.foot__meta .muted { color: rgba(251, 246, 234, 0.5); }

/* ============================================================ SCROLL TO TOP */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  box-shadow: var(--shadow-md);
  z-index: 40;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--vermilion); transform: translateY(-3px); }

/* ============================================================ REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================ RESPONSIVE */

@media (max-width: 720px) {
  .section { padding: 70px 18px; }
  .hero__content { padding: 80px 24px 60px; }
  .phrase-list--cols { grid-template-columns: repeat(2, 1fr); }
}

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