/* Cedar Line Dispatch — core styles */

/* Metric-matched local fallbacks keep layout stable while web fonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.1%;
  ascent-override: 90.4%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 106%;
  ascent-override: 100.6%;
  descent-override: 28.3%;
  line-gap-override: 0%;
}

:root {
  --charcoal: #242927;
  --forest-black: #19201d;
  --cedar: #91be3d;
  --lime: #a3cc45;
  --deep: #294638;
  --off: #f7f7f3;
  --soft: #efefeb;
  --section: #f2f3ef;
  --border: #d8dcd5;
  --white: #ffffff;
  --text: #252a27;
  --muted: #68706a;
  --on-dark-muted: #b9c1ba;

  --font-head: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 136px);
  --header-h: 78px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-med: 300ms;
  --t-slow: 450ms;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--lime); color: var(--forest-black); }

/* ---------- Accessibility helpers ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--forest-black);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.band :focus-visible {
  outline-color: var(--lime);
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--section); }
.section--off { background: var(--off); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--forest { background: var(--deep); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cedar);
}
.on-dark .eyebrow, .section--dark .eyebrow, .section--forest .eyebrow { color: var(--lime); }
.eyebrow--plain::before { display: none; }

.display {
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: .98;
}
.h-xl { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; }
.h-lg { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -0.028em; }
.h-md { font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.15; }
.h-sm { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.on-dark .lede, .section--dark .lede, .section--forest .lede { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 18ch; }

/* ---------- Buttons & links ---------- */

.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--forest-black);
  --btn-bd: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--btn-bd);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --btn-bg: var(--cedar); --btn-bd: var(--cedar); }

.btn--dark { --btn-bg: var(--charcoal); --btn-fg: var(--white); --btn-bd: var(--charcoal); }
.btn--dark:hover { --btn-bg: var(--deep); --btn-bd: var(--deep); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--forest-black); --btn-bd: var(--white); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--forest-black); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--soft); --btn-bd: var(--soft); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--charcoal); }
.btn--outline:hover { --btn-bg: var(--charcoal); --btn-fg: var(--white); --btn-bd: var(--charcoal); }

.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .82rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .01em;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
  background: linear-gradient(var(--cedar), var(--cedar)) left bottom / 0 2px no-repeat;
  transition: background-size var(--t-med) var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }

.text-link {
  color: var(--deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cedar);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.text-link:hover { color: var(--forest-black); text-decoration-color: var(--deep); }
.on-dark .text-link, .section--forest .text-link, .section--dark .text-link { color: var(--lime); }

/* ---------- Announcement + header ---------- */

.announce {
  background: var(--cedar);
  color: var(--forest-black);
  text-align: center;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 9px var(--gutter);
  line-height: 1.4;
}
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-med) var(--ease), height var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(25, 32, 29, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
  flex-shrink: 0;
}
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  line-height: 1;
}
.brand-word strong {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-word span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .42em;
  margin-top: 5px;
}
.brand--light { color: var(--white); }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--cedar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }

.menu-toggle { display: none; }

/* ---------- Mobile drawer ---------- */

.drawer {
  margin: 0 0 0 auto;
  width: min(420px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: var(--forest-black);
  color: var(--white);
  overflow-y: auto;
}
.drawer::backdrop { background: rgba(25, 32, 29, .55); }
.drawer[open] { animation: drawer-in var(--t-slow) var(--ease); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 24px 32px;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.drawer .icon-btn { color: var(--white); }
.drawer .icon-btn:hover { background: rgba(255,255,255,.08); }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
}
.drawer-nav a svg { width: 22px; height: 22px; color: var(--lime); transition: transform var(--t-med) var(--ease); }
.drawer-nav a:hover svg { transform: translateX(4px); }
.drawer-nav a[aria-current="page"] { color: var(--lime); }
.drawer-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; font-size: .92rem; color: var(--on-dark-muted); }
.drawer-foot .btn { width: 100%; }
.drawer-foot a:not(.btn) { color: var(--white); }

/* ---------- Search dialog ---------- */

.search-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(80vh, 720px);
  margin: 10vh auto auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.search-dialog::backdrop { background: rgba(25, 32, 29, .7); }
.search-dialog[open] { animation: fade-up var(--t-med) var(--ease); }
.search-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 22px;
  border-bottom: 1px solid var(--border);
}
.search-head svg.search-glyph { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search-head input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 10px 0;
  font-size: 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  background: transparent;
}
.search-head input:focus { outline: none; }
.search-head:focus-within { box-shadow: inset 0 -3px 0 var(--cedar); }
.search-body { padding: 8px 0 16px; overflow-y: auto; max-height: calc(min(80vh, 720px) - 76px); }
.search-hint, .search-empty { padding: 14px 22px; margin: 0; color: var(--muted); font-size: .95rem; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results a {
  display: grid;
  gap: 2px;
  padding: 14px 22px;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.search-results a:hover, .search-results a:focus-visible {
  background: var(--off);
  border-left-color: var(--cedar);
  outline: none;
}
.search-results .r-type {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
}
.search-results .r-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.search-results .r-text { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.search-results mark { background: rgba(163, 204, 69, .35); color: inherit; padding: 0 1px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 22px 8px; }
.search-suggest button {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 2px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.search-suggest button:hover { border-color: var(--charcoal); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--forest-black);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img { object-position: 50% 55%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 23, 21, .82) 0%, rgba(18, 23, 21, .38) 42%, rgba(18, 23, 21, .1) 70%),
    linear-gradient(to right, rgba(18, 23, 21, .45) 0%, rgba(18, 23, 21, 0) 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-content .eyebrow { color: var(--lime); }
.hero h1 { max-width: 12ch; margin-bottom: 24px; }
.hero-copy {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  max-width: 46ch;
  color: rgba(255,255,255,.88);
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.quick-strip {
  background: var(--forest-black);
  color: var(--white);
}
.quick-strip ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.quick-strip li + li { border-left: 1px solid rgba(255,255,255,.12); }
.quick-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(16px, 2vw, 28px);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-decoration: none;
  position: relative;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.quick-strip a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.quick-strip a:hover { background: var(--charcoal); color: var(--lime); }
.quick-strip a:hover::before { transform: scaleX(1); }
.quick-strip svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t-med) var(--ease); }
.quick-strip a:hover svg { transform: translateX(4px); }
.quick-strip .qs-num { color: var(--on-dark-muted); font-weight: 600; letter-spacing: .04em; margin-right: 10px; }

/* ---------- Intro ---------- */

.intro {
  text-align: center;
  padding-block: clamp(96px, 12vw, 176px);
}
.intro-rule {
  width: 48px;
  height: 3px;
  background: var(--cedar);
  margin: 0 auto 36px;
}
.intro h2 { max-width: 16ch; margin-inline: auto; margin-bottom: 28px; }
.intro p { max-width: 58ch; margin-inline: auto; color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.28rem); }

/* ---------- Destination cards (home) ---------- */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: clamp(14px, 1.6vw, 22px);
}
.dest-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--forest-black);
  isolation: isolate;
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  z-index: -2;
}
.dest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 23, 21, .86) 0%, rgba(18, 23, 21, .28) 50%, rgba(18, 23, 21, 0) 75%);
  z-index: -1;
}
.dest-card:hover img, .dest-card:focus-visible img { transform: scale(1.025); }
.dest-card--a { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 640px; }
.dest-card--b { grid-column: 8 / span 5; min-height: 309px; }
.dest-card--c { grid-column: 8 / span 5; min-height: 309px; }
.dest-card--d { grid-column: 1 / -1; min-height: 420px; }
.dest-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 36px);
}
.dest-card .num {
  display: block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--lime);
  margin-bottom: 10px;
}
.dest-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); margin: 0 0 4px; }
.dest-card--a h3 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.dest-card .sub { display: block; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 12px; }
.dest-card .tags {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.arrow-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255,255,255,.6);
  color: var(--white);
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.arrow-box svg { width: 22px; height: 22px; transition: transform var(--t-med) var(--ease); }
.dest-card:hover .arrow-box, .dest-card:focus-visible .arrow-box { background: var(--lime); border-color: var(--lime); color: var(--forest-black); }
.dest-card:hover .arrow-box svg, .dest-card:focus-visible .arrow-box svg { transform: translateX(3px); }
.dest-card--d .dest-card-body { grid-template-columns: minmax(0, 520px) 1fr auto; }

/* ---------- Activity tiles (home) ---------- */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.activity-tile {
  display: block;
  text-decoration: none;
  color: var(--white);
}
.activity-tile .media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--forest-black);
}
.activity-tile .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
  opacity: .92;
}
.activity-tile:hover .media img, .activity-tile:focus-visible .media img { transform: scale(1.025); opacity: 1; }
.activity-tile .icon-chip {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--charcoal);
  color: var(--lime);
}
.activity-tile .icon-chip svg { width: 26px; height: 26px; }
.activity-tile .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}
.activity-tile h3 {
  position: relative;
  display: inline-block;
  font-size: 1.45rem;
  margin: 0;
  padding-bottom: 6px;
}
.activity-tile h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.activity-tile:hover h3::after, .activity-tile:focus-visible h3::after { transform: scaleX(1); }
.activity-tile p { color: var(--on-dark-muted); font-size: .95rem; margin: 8px 0 0; }
.activity-tile .arr { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; transition: transform var(--t-med) var(--ease); }
.activity-tile:hover .arr, .activity-tile:focus-visible .arr { transform: translateX(5px); }

/* ---------- Feature split ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: stretch;
  background: var(--white);
}
.feature-media { position: relative; min-height: 560px; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 88px);
  border-bottom: 1px solid var(--border);
}
.feature-body h2 { margin-bottom: 24px; max-width: 14ch; }
.feature-body p { color: var(--muted); max-width: 46ch; }
.feature-body .link-arrow { margin-top: 12px; align-self: flex-start; }
.feature-meta {
  display: flex;
  gap: 28px;
  margin: 8px 0 28px;
  padding: 18px 0;
  border-block: 1px solid var(--border);
  font-size: .86rem;
  color: var(--muted);
}
.feature-meta strong { display: block; color: var(--text); font-family: var(--font-head); font-size: .95rem; }

/* ---------- Story cards ---------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.story-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.story-card .media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); margin-bottom: 20px; }
.story-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.story-card:hover .media img, .story-card:focus-visible .media img { transform: scale(1.025); }
.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 10px;
}
.story-meta .dot { width: 4px; height: 4px; background: var(--cedar); border-radius: 50%; }
.story-meta time, .story-meta .read { color: var(--muted); font-weight: 700; }
.story-card h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: 10px;
  background: linear-gradient(var(--cedar), var(--cedar)) left 100% / 0 2px no-repeat;
  transition: background-size var(--t-med) var(--ease);
  display: inline;
}
.story-card .title-wrap { margin-bottom: 12px; }
.story-card:hover h3, .story-card:focus-visible h3 { background-size: 100% 2px; }
.story-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.value {
  padding: 40px clamp(20px, 3vw, 44px) 8px 0;
}
.value + .value { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--border); }
.value svg { width: 48px; height: 48px; color: var(--deep); margin-bottom: 24px; }
.value h3 {
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.value p { color: var(--muted); margin: 0; max-width: 34ch; }

/* ---------- Image band ---------- */

.band {
  position: relative;
  min-height: clamp(520px, 80vh, 820px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--forest-black);
}
.band picture, .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,23,21,.72) 0%, rgba(18,23,21,.3) 55%, rgba(18,23,21,.1) 100%);
}
.band-content { position: relative; z-index: 1; }
.band-lines {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
}
.band-lines span { display: block; }
.band-lines span:nth-child(2) { color: var(--lime); }

/* ---------- Newsletter ---------- */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.newsletter h2 { margin-bottom: 18px; max-width: 14ch; }
.newsletter p { color: var(--on-dark-muted); margin: 0; max-width: 44ch; }
.nl-form label.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--white); }
.nl-row { display: flex; gap: 0; }
.nl-row input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,.55);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.nl-row input::placeholder { color: rgba(255,255,255,.6); }
.nl-row input:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,.1); }
.nl-row .btn { min-height: 56px; border-radius: 0 2px 2px 0; }
.nl-micro { font-size: .82rem; line-height: 1.55; color: var(--on-dark-muted); margin-top: 14px; }
.nl-micro a { color: var(--white); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--lime); }
.form-status.is-error { color: #ffb4a8; }
.section--off .form-status.is-error, .contact-form .form-status.is-error { color: #a1260d; }
.contact-form .form-status.is-success { color: var(--deep); }
.nl-error { color: #ffb4a8; font-size: .88rem; font-weight: 600; margin-top: 8px; }
.nl-error:empty { display: none; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--on-dark-muted);
  padding-top: clamp(64px, 8vw, 112px);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { margin: 22px 0 0; max-width: 32ch; }
.footer-col h2 {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-contact a { color: var(--white); text-decoration: none; }
.footer-col a:hover, .footer-contact a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-contact address strong { color: var(--white); font-family: var(--font-head); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 26px 32px;
  font-size: .85rem;
}
.footer-bottom button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--white);
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-bottom button:hover { color: var(--lime); }

/* ---------- Page hero variants ---------- */

.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.page-hero--off { background: var(--off); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}
.page-hero h1 { margin-bottom: 0; }
.page-hero .lede { margin: 0; }
.page-hero h1 + .lede { margin-top: 22px; }

.breadcrumbs { margin-bottom: 28px; font-size: .82rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.on-dark .breadcrumbs ol, .on-dark .breadcrumbs a { color: var(--on-dark-muted); }
.on-dark .breadcrumbs li + li::before { color: rgba(255,255,255,.3); }

.hero-strip { position: relative; overflow: hidden; background: var(--soft); }
.hero-strip img { width: 100%; height: clamp(280px, 42vw, 560px); object-fit: cover; }

/* Destinations page */
.region-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.region-nav ul {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.region-nav ul::-webkit-scrollbar { display: none; }
.region-nav a {
  display: block;
  padding: 18px 0 16px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.region-nav a:hover, .region-nav a.is-active { border-color: var(--cedar); }

.region { padding-block: clamp(64px, 8vw, 112px) 0; }
.region:last-of-type { padding-bottom: clamp(64px, 8vw, 112px); }
.region-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: start;
  padding-top: 28px;
  border-top: 2px solid var(--charcoal);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.region-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--deep); line-height: 1; letter-spacing: -0.03em; }
.region-head h2 { margin: 0; }
.region-head p { color: var(--muted); margin: 0; }

.masonry { columns: 3; column-gap: clamp(18px, 2vw, 28px); }
.masonry--2 { columns: 2; }
.guide-card {
  break-inside: avoid;
  margin-bottom: clamp(28px, 3vw, 44px);
  background: var(--white);
}
.guide-card .media { overflow: hidden; background: var(--soft); }
.guide-card .media img { width: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform var(--t-slow) var(--ease); }
.guide-card.is-tall .media img { aspect-ratio: 4 / 5; }
.guide-card.is-wide .media img { aspect-ratio: 16 / 10; }
.guide-card:hover .media img { transform: scale(1.02); }
.guide-card .body { padding: 22px 0 0; }
.guide-card .kicker { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin-bottom: 8px; display: block; }
.guide-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 12px; }
.guide-card p { color: var(--muted); font-size: .98rem; }
.known-for { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.known-for li { display: inline-flex; align-items: center; gap: 8px; }
.known-for li::before { content: ""; width: 6px; height: 6px; background: var(--cedar); }
.related-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; padding-top: 14px; border-top: 1px solid var(--border); }
.related-links span { color: var(--muted); font-weight: 600; }

.note-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 24px 28px;
  background: var(--off);
  border-left: 4px solid var(--cedar);
  font-size: .96rem;
}
.note-box svg { width: 28px; height: 28px; color: var(--deep); }
.note-box p { margin: 0; color: var(--text); }
.note-box p + p { margin-top: 8px; }

/* Activities page */
.act-hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}
.act-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
}
.act-hero-text { padding: clamp(56px, 8vw, 112px) clamp(24px, 4vw, 64px) clamp(56px, 8vw, 96px) 0; display: flex; flex-direction: column; justify-content: flex-end; }
.act-hero-media { position: relative; margin-right: calc(var(--gutter) * -1); }
.act-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.act-index { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.act-index a { color: var(--white); font-weight: 600; font-size: .95rem; text-decoration: none; }
.act-index a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.act-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
}
.act-row:nth-child(even) .act-media { order: 2; }
.act-media { overflow: hidden; background: var(--soft); }
.act-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.act-num { font-family: var(--font-head); font-weight: 800; color: var(--muted); font-size: .85rem; letter-spacing: .14em; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.act-num svg { width: 34px; height: 34px; color: var(--deep); }
.act-body h2 { margin-bottom: 18px; }
.act-body > p { color: var(--muted); }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; font-size: .97rem; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(-45deg); }
.mini-label { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: 0 0 12px; }

/* Field notes */
.fn-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: var(--forest-black);
  color: var(--white);
  text-decoration: none;
}
.fn-featured .media { position: relative; overflow: hidden; min-height: 480px; }
.fn-featured .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.fn-featured:hover .media img { transform: scale(1.02); }
.fn-featured .body { padding: clamp(32px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.fn-featured .story-meta { color: var(--lime); }
.fn-featured .story-meta .read { color: var(--on-dark-muted); }
.fn-featured h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 18px; }
.fn-featured p { color: var(--on-dark-muted); }
.fn-featured .link-arrow { align-self: flex-start; color: var(--white); margin-top: 8px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding-block: 22px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-block: 1px solid var(--border);
}
.filter-bar .mini-label { margin: 0 8px 0 0; color: var(--muted); }
.filter-btn {
  position: relative;
  border: 0;
  background: none;
  padding: 8px 0;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cedar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"] { color: var(--text); }
.filter-btn[aria-pressed="true"]::after, .filter-btn:hover::after { transform: scaleX(1); }

.fn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px);
}
.fn-grid .story-card.is-lead { grid-column: span 2; }
.fn-grid .story-card.is-lead .media { aspect-ratio: 16 / 9; }
.fn-grid .story-card.is-lead h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.fn-grid .story-card[hidden] { display: none; }
.fn-count { color: var(--muted); font-size: .9rem; margin-left: auto; }

/* Article */
.article-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 20ch; margin-bottom: 22px; }
.article-head .lede { margin-bottom: 26px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--muted); }
.article-byline strong { color: var(--text); }
.article-hero img { width: 100%; height: clamp(300px, 48vw, 640px); object-fit: cover; }
.article-hero figcaption { font-size: .8rem; color: var(--muted); padding-top: 10px; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--deep); font-weight: 700; }
.prose a { color: var(--deep); font-weight: 600; text-decoration-color: var(--cedar); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--forest-black); }
.prose .note-box { margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--cedar); font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--off); }
.table-scroll { overflow-x: auto; }

/* Trip ideas */
.trip-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.trip-toc { position: sticky; top: calc(var(--header-h) + 32px); }
.trip-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--border); }
.trip-toc li { counter-increment: toc; }
.trip-toc a {
  display: flex;
  gap: 12px;
  padding: 10px 0 10px 18px;
  margin-left: -1px;
  border-left: 3px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.trip-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .78rem; color: var(--deep); padding-top: 3px; }
.trip-toc a:hover, .trip-toc a.is-active { color: var(--text); border-color: var(--cedar); }

.trip-cat { padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--border); }
.trip-cat:last-child { border-bottom: 0; margin-bottom: 0; }
.trip-cat-media { position: relative; overflow: hidden; margin-bottom: 32px; }
.trip-cat-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.trip-cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; margin-bottom: 32px; }
.trip-cat-head h2 { margin: 0; }
.trip-cat-head p { color: var(--muted); margin: 0; }
.idea-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--charcoal); }
.idea { padding: 24px 24px 8px 0; }
.idea + .idea { padding-left: 24px; border-left: 1px solid var(--border); }
.idea h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.25; }
.idea p { font-size: .94rem; color: var(--muted); margin-bottom: 14px; }
.idea dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .86rem; margin: 0 0 14px; }
.idea dt { font-weight: 700; color: var(--text); }
.idea dd { margin: 0; color: var(--muted); }
.idea .text-link { font-size: .9rem; }

/* About */
.about-hero h1 { max-width: 16ch; }
.cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--charcoal); }
.cover-item { padding: 28px 24px 8px 0; }
.cover-item + .cover-item { padding-left: 24px; border-left: 1px solid var(--border); }
.cover-item svg { width: 40px; height: 40px; color: var(--deep); margin-bottom: 18px; }
.cover-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cover-item p { color: var(--muted); font-size: .95rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--center { align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split .prose p { color: var(--text); }

.principles { list-style: none; margin: 0; padding: 0; counter-reset: pr; }
.principles li { counter-increment: pr; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); }
.principles li::before { content: counter(pr, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; color: var(--deep); font-size: 1.4rem; line-height: 1.2; }
.section--dark .principles li { border-color: rgba(255,255,255,.14); }
.principles h3 { font-size: 1.12rem; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--dark .principles p { color: var(--on-dark-muted); }

.company-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  background: var(--white);
}
.company-card h3 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); margin-bottom: 10px; }
.company-card address, .company-card p { font-style: normal; margin: 0; font-size: 1.02rem; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.contact-info dl { margin: 32px 0 0; display: grid; gap: 0; }
.contact-info dl > div { padding: 22px 0; border-top: 1px solid var(--border); }
.contact-info dt { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 1.05rem; }
.contact-info address { font-style: normal; }
.contact-form-wrap { background: var(--off); padding: clamp(24px, 4vw, 56px); border-top: 4px solid var(--cedar); }

.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--muted); font-weight: 500; font-size: .85rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #9aa39c;
  border-radius: 2px;
  background: var(--white);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(145, 190, 61, .45); }
.field [aria-invalid="true"] { border-color: #a1260d; }
.field-error { color: #a1260d; font-size: .88rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: .85rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: .93rem;
  line-height: 1.55;
}
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--deep); }
.error-summary {
  padding: 18px 20px;
  border: 2px solid #a1260d;
  background: #fff5f3;
}
.error-summary h2 { font-size: 1rem; margin: 0 0 8px; color: #a1260d; }
.error-summary ul { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.error-summary a { color: #a1260d; font-weight: 600; }
.success-panel { padding: 28px; background: var(--white); border-left: 4px solid var(--cedar); }
.success-panel h2 { font-size: 1.4rem; margin-bottom: 8px; }
.success-panel p { margin: 0 0 8px; color: var(--muted); }

/* Legal */
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: .9rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.legal-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.legal-toc a:hover { color: var(--text); border-left-color: var(--cedar); }
.updated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--cedar);
  color: var(--forest-black);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  margin-top: 24px;
}
.legal-prose h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-prose h2:first-child { margin-top: 0; }

.cookie-table-wrap { overflow-x: auto; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  max-width: 980px;
  margin-inline: auto;
  background: var(--forest-black);
  color: var(--white);
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  border-top: 3px solid var(--lime);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: center;
  animation: fade-up var(--t-slow) var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.55; }
.cookie-banner p a { color: var(--white); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 8px 16px; font-size: .82rem; }
.cookie-actions .btn--ghost { --btn-bd: rgba(255,255,255,.55); }

.cookie-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.cookie-dialog::backdrop { background: rgba(25, 32, 29, .7); }
.cookie-dialog[open] { animation: fade-up var(--t-med) var(--ease); }
.cookie-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.cd-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.cd-head h2 { margin: 0; font-size: 1.3rem; }
.cd-body { padding: 8px 26px; overflow-y: auto; }
.cd-body > p { color: var(--muted); font-size: .93rem; margin: 14px 0; }
.cd-item { padding: 18px 0; border-top: 1px solid var(--border); }
.cd-item-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cd-item h3 { font-size: 1rem; margin: 0; }
.cd-item p { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.cd-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--border); background: var(--off); }
.cd-foot .btn { min-height: 44px; font-size: .82rem; padding: 8px 16px; }
.always-on { font-size: .78rem; font-weight: 700; color: var(--deep); letter-spacing: .06em; text-transform: uppercase; }

.switch { position: relative; display: inline-flex; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  width: 52px;
  height: 30px;
  background: #8b938d;
  border-radius: 15px;
  position: relative;
  transition: background-color var(--t-fast) var(--ease);
  pointer-events: none;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--t-fast) var(--ease);
}
.switch input:checked + .track { background: var(--deep); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--deep); outline-offset: 3px; }

/* ---------- Motion ---------- */

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { 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; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.section--dark .principles li::before { color: var(--lime); }
