/* ==========================================================================
   Zelofreight — Forest Green & Gold design system
   Single committed dark theme. No framework, no build step.

   Every colour on the site comes from the tokens below. To re-theme,
   change these values and nothing else — no other file hardcodes a
   brand colour except the two SVGs in images/ and the <meta name=
   "theme-color"> tag in each page's head.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces, darkest to lightest. Deep forest green, slightly
     desaturated so the gold reads as the accent rather than competing. */
  --base:        #0A1512;
  --surface-1:   #10201B;
  --surface-2:   #162A23;
  --surface-3:   #1F3830;

  /* Gold ramp */
  --gold:        #C9A227;
  --gold-bright: #E3C765;
  --gold-deep:   #8C6F16;
  --gold-veil:   rgba(201, 162, 39, 0.12);
  --gold-line:   rgba(201, 162, 39, 0.32);

  /* Type. Muted and faint carry a faint green cast so they sit in the
     palette; both clear WCAG AA against base and surface-1. */
  --ivory:       #F4F1E9;
  --text:        #DCD8CE;
  --text-muted:  #98A49C;
  --text-faint:  #808D86;

  /* Structure */
  --line:        rgba(244, 241, 233, 0.10);
  --line-strong: rgba(244, 241, 233, 0.18);

  /* Status. Kept clear of the gold hue so a "customs" warning is never
     mistaken for brand accent, and bright enough to read on green. */
  --ok:          #7ED4A2;
  --warn:        #E0913A;
  --info:        #7FA9C9;
  --danger:      #E07A66;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold-bright); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--base); }

/* Film grain over the whole page — stops large dark fields from banding
   and gives the deep green some texture instead of reading as flat fill. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--text);
  font-weight: 300;
}

/* Small uppercase label that sits above a heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}
.eyebrow--center { justify-content: center; }

.muted { color: var(--text-muted); }
.gold  { color: var(--gold); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold-line), transparent);
  margin: 2rem 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--surface { background: var(--surface-1); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .35s var(--ease);
  background: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--base);
  font-weight: 600;
}
.btn--gold:hover {
  color: var(--base);
  box-shadow: 0 8px 30px -8px rgba(201, 162, 39, .55);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-veil);
}

.btn--sm { padding: .6rem 1.25rem; font-size: .7rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Text link with an arrow that slides on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.card:hover {
  border-color: var(--gold-line);
  background: var(--surface-2);
  transform: translateY(-4px);
}

/* Gold line that wipes across the top edge on hover */
.card--accent::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .5s var(--ease);
}
.card--accent:hover::before { width: 100%; }

.card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* Framed editorial image. Duotoned into the brand green so photography
   sits inside the palette instead of floating on top of it. Used by every
   inline image in the page body — change the treatment here, not in the
   markup. */
.img-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* brightness() is what stops a bright photo (an aircraft against sky)
     turning pale mint — the hue-rotate alone leaves highlights too hot. */
  filter: grayscale(1) sepia(.5) hue-rotate(102deg) saturate(.9)
          brightness(.72) contrast(1.1);
}

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .55rem;
}

.input, .select, .textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ivory);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-2);
}
.textarea { resize: vertical; min-height: 120px; }

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A227' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
.select option { background: var(--surface-2); color: var(--ivory); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox input {
  margin-top: .28rem;
  accent-color: var(--gold);
  width: 15px; height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-note {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 2px;
  font-size: .88rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-veil);
  color: var(--gold-bright);
}
.form-note--error {
  border-color: rgba(217, 112, 95, .4);
  background: rgba(217, 112, 95, .1);
  color: var(--danger);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 1.25rem;
  transition: background .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(10, 21, 18, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: .85rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand svg { height: 34px; width: auto; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ivory);
  line-height: 1;
  white-space: nowrap;
}
.brand__name em { font-style: normal; color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  padding-block: .35rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--gold); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: .55rem .7rem;
  cursor: pointer;
  color: var(--ivory);
  z-index: 1001;
}
.nav__toggle svg { display: block; width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem var(--gutter);
    background: var(--surface-1);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 9rem 7rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Duotone the photo into the brand green: strip colour, reintroduce it
     via sepia, then rotate that warm tone round to green. A plain
     grayscale image cannot be hue-rotated — there is no saturation to
     shift — which is why the sepia step is needed first. */
  filter: grayscale(1) sepia(.55) hue-rotate(102deg) saturate(1.35)
          brightness(.42) contrast(1.12);
}
/* Two-stop scrim keeps the headline readable over any photo */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--base) 8%, rgba(10, 21, 18, .78) 45%, rgba(10, 21, 18, .35) 100%),
    linear-gradient(to top, var(--base), transparent 45%);
}

.hero__inner { max-width: 46rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { max-width: 34rem; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stat strip pinned to the bottom of the hero */
.hero__stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(10, 21, 18, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.5rem;
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding-block: 8rem 4rem; }
  .hero__stats { position: static; background: var(--surface-1); }
  .hero__stats .wrap { grid-template-columns: repeat(2, 1fr); }
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .5rem;
  display: block;
}

/* ---------- Interior page header ---------- */
.page-head {
  position: relative;
  padding-block: clamp(9rem, 16vw, 13rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head__bg { position: absolute; inset: 0; z-index: -1; }
.page-head__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Same duotone treatment as the hero, held darker. */
  filter: grayscale(1) sepia(.55) hue-rotate(102deg) saturate(1.3)
          brightness(.32) contrast(1.08);
}
.page-head__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--base), rgba(10, 21, 18, .6));
}
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: .5rem; }
.page-head p { color: var(--text-muted); max-width: 40rem; }

.crumbs {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin-inline: .5rem; opacity: .5; }

/* ---------- Tracking timeline ---------- */
.timeline { position: relative; padding-left: 2.5rem; margin: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.timeline__item { position: relative; padding-bottom: 2.25rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.5rem; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--base);
  border: 1px solid var(--line-strong);
  transition: all .3s var(--ease);
}
.timeline__item.is-done::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-veil);
}
/* Current milestone pulses so the eye lands on it first */
.timeline__item.is-current::before {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(227, 199, 101, .22); }
  50%      { box-shadow: 0 0 0 11px rgba(227, 199, 101, 0); }
}
.timeline__status {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  line-height: 1.2;
}
.timeline__item.is-current .timeline__status { color: var(--gold-bright); }
.timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .45rem;
}

/* Horizontal progress rail above the timeline */
.progress-rail { display: grid; gap: .75rem; margin-bottom: 2.5rem; }
.progress-rail__track {
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.progress-rail__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  border-radius: 2px;
  transition: width 1.4s var(--ease);
}
.progress-rail__labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Map ---------- */
.map-shell {
  height: clamp(300px, 45vh, 460px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
}
#track-map { width: 100%; height: 100%; }
/* Desaturate + invert OSM tiles so the map sits inside the dark theme */
.leaflet-tile {
  filter: grayscale(1) invert(1) brightness(.92) contrast(.88)
          sepia(.42) hue-rotate(104deg) saturate(1.5);
}
.leaflet-container { background: var(--surface-1) !important; }
.leaflet-control-attribution {
  background: rgba(10, 21, 18, .75) !important;
  color: var(--text-faint) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--text-muted) !important; }
.leaflet-bar a {
  background: var(--surface-2) !important;
  color: var(--ivory) !important;
  border-color: var(--line) !important;
}
.leaflet-bar a:hover { background: var(--surface-3) !important; }
.map-pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--base);
}
.map-pin--origin { background: var(--text-muted); }
.map-pin--dest   { background: var(--gold); }
.map-pin--now    { background: var(--gold-bright); box-shadow: 0 0 0 5px rgba(227,199,101,.25); }

/* ---------- Data table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data-table th, .data-table td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  width: 38%;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.data-table td { color: var(--ivory); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------- Status pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill--transit   { color: var(--info); }
.pill--delivered { color: var(--ok); }
.pill--pending   { color: var(--warn); }
.pill--hold      { color: var(--danger); }

/* ---------- Panel ---------- */
.panel {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.panel--gold {
  border-color: var(--gold-line);
  background: linear-gradient(160deg, var(--gold-veil), transparent 55%), var(--surface-1);
}
.panel__title {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

/* ---------- Quote calculator ---------- */
.quote-figure {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: 1;
  color: var(--gold);
}
.quote-figure small {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: .6rem;
}
.quote-breakdown { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.quote-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.quote-breakdown li:last-child { border-bottom: 0; }
.quote-breakdown li span:last-child { color: var(--ivory); white-space: nowrap; }
.quote-breakdown li.is-total {
  border-top: 1px solid var(--gold-line);
  border-bottom: 0;
  margin-top: .5rem;
  padding-top: 1rem;
  color: var(--ivory);
  font-weight: 500;
}
.quote-breakdown li.is-total span:last-child { color: var(--gold); }

/* ---------- Vault ---------- */
.vault-tier {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.vault-tier:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.vault-tier--feature {
  border-color: var(--gold-line);
  background: linear-gradient(165deg, var(--gold-veil), transparent 50%), var(--surface-1);
}
.vault-tier__price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--gold);
  line-height: 1;
}
.vault-tier__price span {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .1em;
}
.vault-tier ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.vault-tier li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  color: var(--text-muted);
}
.vault-tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 1rem;
  width: 8px; height: 8px;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

/* Grid rather than flex-wrap: the value column stays right-aligned on its
   own row instead of dropping below the name when the name runs long. */
.holding-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 520px) {
  .holding-row { grid-template-columns: 1fr; }
}
.holding-row:last-child { border-bottom: 0; }
.holding-row__name { color: var(--ivory); font-size: 1rem; }
.holding-row__meta {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.holding-row__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .7rem; }
.footer-grid a { color: var(--text-muted); font-size: .9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: .9rem; color: var(--text-muted); }

.footer-bottom {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-faint);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(10, 21, 18, .8);
  backdrop-filter: blur(8px);
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--base); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::after { display: none; }
  .site-header, .site-footer, .to-top, .map-shell, .no-print { display: none !important; }
  .section, .page-head { padding-block: 1rem !important; }
  .panel, .card { border-color: #ccc; background: #fff; }
  h1, h2, h3, h4, .data-table td, .timeline__status { color: #000; }
  .data-table th, .muted, .timeline__meta { color: #444; }
}
