/* =========================================================
   Utah Travel Guide — utah.in
   Design system: warm neutrals + red-rock terracotta accent
   ========================================================= */

:root {
  /* Surfaces */
  --paper: #fdfcfa;
  --paper-2: #f5f1ea;
  --paper-3: #ece5db;
  --card: #ffffff;

  /* Ink */
  --ink: #1b1815;
  --ink-soft: #46403a;
  --muted: #6f685e;
  --line: #e3dbd0;

  /* Accents */
  --rust: #a8462a;
  --rust-dark: #84331b;
  --rust-soft: #f6e8e2;
  --sage: #5c7361;
  --sage-soft: #eaf0e9;
  --gold: #b07d33;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27, 24, 21, .05), 0 4px 14px rgba(27, 24, 21, .05);
  --shadow-md: 0 2px 6px rgba(27, 24, 21, .06), 0 18px 40px rgba(27, 24, 21, .1);
  --header-h: 68px;

  /* Type */
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --paper: #14120f;
  --paper-2: #1b1815;
  --paper-3: #241f1a;
  --card: #1e1a16;
  --ink: #f4f0ea;
  --ink-soft: #d7cfc4;
  --muted: #a49b8f;
  --line: #342d26;
  --rust: #e07a52;
  --rust-dark: #f09371;
  --rust-soft: #2e1e16;
  --sage: #9db79f;
  --sage-soft: #1e2620;
  --gold: #d8a95c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 14px rgba(0, 0, 0, .3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .4), 0 18px 40px rgba(0, 0, 0, .45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .55em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.28; }
h4 { font-size: 1.03rem; line-height: 1.35; letter-spacing: 0; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--rust);
  text-decoration-color: color-mix(in srgb, var(--rust) 35%, transparent);
  text-underline-offset: 3px;
}
a:hover { color: var(--rust-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .42em; }
li::marker { color: var(--rust); }

strong { font-weight: 650; color: var(--ink); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4rem 0;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--rust);
  color: #fff;
  padding: .7rem 1.2rem;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3rem, 6vw, 5.4rem); }
.section--tight { padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.section--sand { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--center::before { display: none; }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--ink-soft); }

.text-center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .01em;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 27px; height: 27px; color: var(--rust); flex: none; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: -2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { margin: 0; position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .58rem .68rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: var(--sans);
  cursor: pointer;
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--rust); background: var(--paper-2); }
.nav-link[aria-current="page"] { color: var(--rust); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .68rem;
  right: .68rem;
  bottom: .18rem;
  height: 2px;
  background: var(--rust);
  border-radius: 2px;
}
.nav-link .chev { width: 11px; height: 11px; transition: transform .18s ease; opacity: .65; }

/* Dropdown */
.has-menu > .menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 232px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: .45rem;
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 1px;
}
.has-menu:hover > .menu,
.has-menu:focus-within > .menu,
.has-menu.is-open > .menu { display: flex; }
.has-menu:hover > .nav-link .chev,
.has-menu:focus-within > .nav-link .chev { transform: rotate(180deg); }

.menu a {
  display: block;
  padding: .5rem .65rem;
  border-radius: 7px;
  font-size: .855rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.menu a:hover,
.menu a:focus-visible { background: var(--paper-2); color: var(--rust); }
.menu .menu-label {
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem .65rem .25rem;
  font-weight: 700;
}

.header-tools { display: flex; align-items: center; gap: .4rem; flex: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .16s, border-color .16s, background .16s;
}
.icon-btn:hover { color: var(--rust); border-color: color-mix(in srgb, var(--rust) 45%, var(--line)); }
.icon-btn svg { width: 17px; height: 17px; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .58rem 1.05rem;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: .845rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--rust);
  white-space: nowrap;
  transition: background .16s, transform .16s;
}
.btn-nav:hover { background: var(--rust-dark); color: #fff; border-color: var(--rust-dark); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: #2a1f19;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 12, 9, .58) 0%, rgba(18, 12, 9, .18) 38%, rgba(18, 12, 9, .72) 100%),
    linear-gradient(90deg, rgba(18, 12, 9, .52) 0%, rgba(18, 12, 9, .05) 62%);
}
.hero--tall { min-height: min(84vh, 720px); display: grid; align-items: end; }
.hero--short { min-height: min(58vh, 460px); display: grid; align-items: end; }

.hero__inner { padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(2.4rem, 5vw, 3.6rem); }
.hero__inner > * { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .5rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .eyebrow { color: #ffd9c4; }
.hero .eyebrow::before { background: currentColor; }
.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: rgba(255, 255, 255, .93);
  max-width: 620px;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .26);
  max-width: 700px;
}
.hero-stats div { flex: 0 1 auto; }
.hero-stats dt {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.1;
}
.hero-stats dd {
  margin: .15rem 0 0;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
}

.hero-credit {
  position: absolute;
  right: 1rem;
  bottom: .7rem;
  font-size: .62rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.btn svg { width: 15px; height: 15px; }
.btn--primary { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn--primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(168, 70, 42, .28); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--rust); color: var(--rust); background: var(--paper-2); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: var(--rust);
}
.text-link svg { width: 13px; height: 13px; transition: transform .16s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: color-mix(in srgb, var(--rust) 26%, var(--line)); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .6, .3, 1);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.card__body h3 { margin-bottom: 0; }
.card__body p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.card__body .text-link { margin-top: auto; padding-top: .55rem; }

.card--link { text-decoration: none; color: inherit; }
.card--link:hover h3 { color: var(--rust); }
.card--link:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: rgba(253, 252, 250, .94);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .62rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.badge--dark { background: rgba(27, 24, 21, .72); color: #fff; }

.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .26rem .62rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.chip--rust { background: var(--rust-soft); border-color: color-mix(in srgb, var(--rust) 24%, transparent); color: var(--rust-dark); }
.chip--sage { background: var(--sage-soft); border-color: color-mix(in srgb, var(--sage) 26%, transparent); color: var(--sage); }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: .795rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem;
  list-style: none;
  margin: 0;
  padding: .72rem 0;
}
.crumbs li { margin: 0; color: var(--muted); display: inline-flex; align-items: center; gap: .42rem; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--line); font-weight: 400; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rust); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > h2:first-child,
.prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose p { color: var(--ink-soft); }
.prose .lede { color: var(--ink-soft); }

/* Two-column editorial */
.split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.45fr 1fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption {
  padding: .7rem .95rem;
  font-size: .78rem;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

/* ---------- Callouts ---------- */
.callout {
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--rust);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.05rem 1.2rem;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.callout h4 {
  margin: 0 0 .3rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}
.callout p, .callout ul { color: var(--ink-soft); margin-bottom: 0; }
.callout ul { padding-left: 1.05em; }
.callout--sage { border-left-color: var(--sage); }
.callout--sage h4 { color: var(--sage); }
.callout--gold { border-left-color: var(--gold); }
.callout--gold h4 { color: var(--gold); }

/* ---------- Key facts ---------- */
.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.facts h3 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .85rem;
  font-weight: 700;
}
.facts dl { margin: 0; display: grid; gap: .62rem; }
.facts dl > div {
  display: grid;
  grid-template-columns: 8.4rem 1fr;
  gap: .6rem;
  padding-bottom: .62rem;
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
}
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; color: var(--ink); font-weight: 550; }

/* Sticky sidebar */
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Stats band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-band div { background: var(--card); padding: 1.2rem 1.25rem; }
.stat-band dt {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--rust);
  line-height: 1.05;
  margin-bottom: .25rem;
}
.stat-band dd {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Timeline / itinerary ---------- */
.timeline { position: relative; padding-left: 2.15rem; margin: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: .48rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--rust), color-mix(in srgb, var(--rust) 22%, transparent));
  border-radius: 2px;
}
.timeline > li { list-style: none; position: relative; margin-bottom: 1.75rem; }
.timeline > li:last-child { margin-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -1.97rem;
  top: .5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rust);
}
.timeline h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.timeline .day {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
  display: block;
  margin-bottom: .2rem;
}
.timeline p { color: var(--ink-soft); font-size: .93rem; margin-bottom: .4rem; }

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .89rem;
  min-width: 540px;
}
caption {
  text-align: left;
  padding: .85rem 1rem;
  font-size: .78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
th, td { padding: .72rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
td strong { font-weight: 650; }

/* ---------- Accordion / FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: .2rem 0;
}
.accordion summary {
  cursor: pointer;
  padding: 1.05rem 2.2rem 1.05rem 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--rust);
  line-height: 1;
}
.accordion details[open] summary::after { content: "\2013"; }
.accordion summary:hover { color: var(--rust); }
.accordion .acc-body { padding: 0 0 1.15rem; color: var(--ink-soft); font-size: .94rem; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Feature strip ---------- */
.features { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { padding: 1.4rem 1.4rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--rust-soft);
  color: var(--rust);
  margin-bottom: .9rem;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.feature p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--paper-3); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem .8rem .65rem;
  background: linear-gradient(180deg, transparent, rgba(18, 12, 9, .82));
  color: #fff;
  font-size: .74rem;
  font-weight: 550;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery--mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery--mosaic figure:first-child { grid-row: span 2; }
  .gallery--mosaic img { aspect-ratio: auto; height: 100%; }
  .gallery--mosaic figure:first-child img { aspect-ratio: 3 / 4; }
}

/* ---------- Media banner ---------- */
.banner {
  position: relative;
  isolation: isolate;
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  gap: 1rem;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 12, 9, .84), rgba(18, 12, 9, .35));
}
.banner h2, .banner h3 { color: #fff; }
.banner p { color: rgba(255, 255, 255, .9); max-width: 52ch; }

/* ---------- Email reveal ---------- */
.email-reveal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem 1.1rem;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--rust) 50%, var(--line));
  background: var(--rust-soft);
  color: var(--rust-dark);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
}
.email-reveal:hover { border-style: solid; }
.email-reveal svg { width: 15px; height: 15px; }
#email-slot a { font-weight: 650; word-break: break-all; }
.email-note { font-size: .78rem; color: var(--muted); display: block; margin-top: .45rem; }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 150;
  width: min(680px, calc(100vw - 2rem));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.15rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: .855rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; color: var(--ink-soft); flex: 1 1 320px; }
.cookie-bar .cookie-actions { display: flex; gap: .5rem; flex: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s, color .16s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--rust); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- Continue planning strip ---------- */
.next-links {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.next-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 550;
  transition: border-color .16s, color .16s, background .16s;
}
.next-links a:hover { border-color: var(--rust); color: var(--rust); background: var(--paper-2); }
.next-links svg { width: 14px; height: 14px; flex: none; opacity: .6; }
.next-links a:hover svg { opacity: 1; transform: translateX(2px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #17130f;
  color: #cfc6ba;
  margin-top: 0;
  padding-top: clamp(2.6rem, 5vw, 3.8rem);
  font-size: .885rem;
}
[data-theme="dark"] .site-footer { background: #0d0b09; border-top: 1px solid var(--line); }
.site-footer a { color: #e6ded3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: 2.2rem;
}
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand svg { color: #e07a52; }
.footer-brand .brand small { color: #8e857a; }
.footer-brand p { margin-top: 1rem; color: #a29a8f; font-size: .855rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8e857a;
  margin-bottom: .85rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .48rem; }
.footer-col li { margin: 0; font-size: .855rem; }

.cookie-note {
  border-top: 1px solid #2e2721;
  padding: 1.15rem 0;
  font-size: .795rem;
  color: #9a9186;
}
.cookie-note details summary {
  cursor: pointer;
  color: #cfc6ba;
  font-weight: 600;
  font-size: .82rem;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.cookie-note details summary::-webkit-details-marker { display: none; }
.cookie-note details summary::before {
  content: "+";
  color: #e07a52;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
}
.cookie-note details[open] summary::before { content: "\2013"; }
.cookie-note details p { margin: .7rem 0 0; max-width: 78ch; line-height: 1.6; }
.cookie-note details ul { margin: .6rem 0 0; padding-left: 1.15em; max-width: 78ch; }

.footer-bottom {
  border-top: 1px solid #2e2721;
  padding: 1.15rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: #9a9186;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #e07a52; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive nav ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-grid; }

  .site-header.nav-open .site-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .6rem clamp(1.1rem, 4vw, 2.5rem) 1.2rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: .85rem 0;
    font-size: .95rem;
    border-radius: 0;
  }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--rust); }
  .has-menu > .menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 .7rem .9rem;
    min-width: 0;
    background: transparent;
    display: flex;
    gap: .1rem;
  }
  .has-menu > .menu .menu-label { padding-left: 0; }
  .has-menu > .menu a { padding: .48rem .5rem; }
  .btn-nav { display: none; }
  .header-tools { margin-left: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .header-tools .icon-btn:not(.nav-toggle):not(.theme-toggle) { display: none; }
  .facts dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .cookie-bar { bottom: .6rem; padding: .9rem; }
  .hero-stats { gap: 1rem 1.6rem; }
  .hero-stats dt { font-size: 1.28rem; }
  .timeline { padding-left: 1.7rem; }
  .timeline > li::before { left: -1.55rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .cookie-bar, .crumbs, .hero-actions { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
