/* Fly Fishing NQ — mobile-first styles.
   Palette and type follow the original Squarespace theme:
   Anton (headings, uppercase) + Epilogue (body); sky blue accent, deep blue, mist grey, black. */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Epilogue";
  src: url("/assets/fonts/epilogue-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks to limit layout shift while fonts load */
@font-face {
  font-family: "Anton Fallback";
  src: local("Impact"), local("Arial Narrow Bold"), local("Arial");
  size-adjust: 92%;
  ascent-override: 118%;
}
@font-face {
  font-family: "Epilogue Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 92%;
}

:root {
  --sky: #8db6e0;
  --sky-soft: #b9d3ee;
  --deep: #145f9d;
  --mist: #eaeaee;
  --ink: #0b0b0c;
  --ink-2: #1a1c1f;
  --white: #ffffff;
  --text: #16171a;
  --muted: #45484f;
  --line: rgba(11, 11, 12, 0.14);
  --focus: #145f9d;

  --font-display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --font-body: "Epilogue", "Epilogue Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: 1rem;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --shadow: 0 18px 40px -22px rgba(11, 11, 12, 0.45);
}
@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 80px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--mist);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3 { margin: 0 0 0.5em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section-ink :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: var(--sky); }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- type ---------- */
.display, .card-title, .section-kicker, .hero-title, .footer-heading, .marquee-track, .price, .promise {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
.display { font-size: clamp(2.1rem, 7vw, 3.6rem); color: var(--ink); }
.display-xl { font-size: clamp(2.5rem, 9vw, 5rem); }
.section-ink .display, .section-ink .lead { color: var(--white); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.5; color: var(--text); font-weight: 500; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 0.9rem;
}
.section-kicker { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 1.5rem; }
.card-title { font-size: 1.55rem; margin-bottom: 0.75rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8rem 1.6rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); text-decoration: none; }
.btn:active { transform: translateY(0); }
/* Primary = "Book now" (solid), Secondary = "Ask a question" / navigation (outline).
   On dark backgrounds the primary turns sky blue, matching the original site's hero button. */
.btn-primary { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn-primary:hover { --bg: var(--deep); --bd: var(--deep); }
.btn-secondary { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-secondary:hover { --bg: var(--ink); --fg: var(--white); }
.hero .btn-primary, .section-ink .btn-primary, .site-footer .btn-primary, .has-hero .site-header .btn-primary, .nav-open .site-header .btn-primary {
  --bg: var(--sky); --fg: var(--ink); --bd: var(--sky);
}
.hero .btn-primary:hover, .section-ink .btn-primary:hover, .site-footer .btn-primary:hover, .has-hero .site-header .btn-primary:hover { --bg: var(--white); --bd: var(--white); }
.btn-on-dark, .section-ink .btn-secondary { --fg: var(--white); --bd: rgba(255, 255, 255, 0.85); }
.btn-on-dark:hover, .section-ink .btn-secondary:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn-row-center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(234, 234, 238, 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--white); }
.has-hero .site-header:not(.is-scrolled) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header.is-scrolled { background: rgba(11, 11, 12, 0.88); border-color: rgba(255, 255, 255, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); transition: transform 0.5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
@media (min-width: 768px) { .brand img { width: 58px; height: 58px; } }
.brand-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
@media (min-width: 860px) { .header-actions { margin-left: 0; } .header-inner { gap: 2rem; } .site-nav { margin-left: auto; } }
@media (max-width: 379.98px) { .brand-name { display: none; } }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit; border-radius: 10px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 859.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--white);
    padding: 2rem var(--gutter); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav a:not(.btn) { display: block; padding: 1rem 0; font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; font-weight: 400; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--ink) !important; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 2rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
@supports not (min-height: 100svh) { .hero { min-height: 100vh; } }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 40% 35%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.1) 70%);
}
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(4.5rem, 12vh, 7rem); }
.hero-title { font-size: clamp(3.2rem, 14vw, 8.5rem); margin: 0 0 0.25em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero-lead { font-size: clamp(1.1rem, 2.6vw, 1.45rem); max-width: 34ch; font-weight: 500; }
.hero .eyebrow { color: var(--sky-soft); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.25rem; width: 28px; height: 44px; margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 20px; display: none;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); }
@media (min-width: 768px) { .hero-scroll { display: block; } }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section-tight { padding-top: 0; }
.section-mist { background: var(--mist); }
.section-white { background: var(--white); }
.section-sky { background: var(--sky); }
.section-ink { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.page-intro { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem); }
.service { padding: clamp(3rem, 8vw, 6rem) 0; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split-reverse .split-media { order: -1; }
  .split-tall { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .split-form { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.frame { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #cfd3d8; }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.1s var(--ease); }
.frame:hover img { transform: scale(1.045); }
.frame-tall img { aspect-ratio: 3 / 4; }
@media (min-width: 960px) { .frame-tall { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* trip cards */
.trip-cards { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .trip-cards { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.trip-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start;
  border-top: 5px solid var(--sky);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.trip-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(11, 11, 12, 0.5); }
.trip-card .btn { margin-top: auto; }
.trip-card p:last-of-type { margin-bottom: 1.25rem; }

.time-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.time-chips li {
  background: var(--ink); color: var(--white); border-radius: 999px; padding: 0.35rem 0.9rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}

.example-trip { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 1.5rem; }
.example-trip summary {
  cursor: pointer; list-style: none; padding: 0.9rem 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.example-trip summary::-webkit-details-marker { display: none; }
.example-trip summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; transition: transform 0.3s var(--ease); }
.example-trip[open] summary::after { transform: rotate(45deg); }
.timeline { list-style: none; padding: 0 0 0.5rem; margin: 0; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 1rem 2.4rem; counter-increment: step; }
.timeline li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--sky); color: var(--ink); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 0.83rem; top: 1.9rem; bottom: 0.2rem; width: 2px; background: var(--sky-soft); }

/* marquee bands */
.band { padding: clamp(2.5rem, 6vw, 4rem) 0; overflow: hidden; }
.band-sky { background: var(--sky); }
.band-body { display: flex; justify-content: center; margin-top: 1.5rem; }
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; gap: 0.5em; font-size: clamp(3rem, 11vw, 7rem); color: var(--ink); will-change: transform; }
.marquee-track span { padding-right: 0.25em; }
.marquee-track .dot { color: var(--deep); }
.marquee-ink { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* gallery */
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0 0 2.5rem; }
.gallery li:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .gallery li:first-child { grid-column: auto; } }
.gallery li { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #cfd3d8; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; }
.gallery li:hover img { transform: scale(1.06); }

/* services page bits */
.promise { font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--deep); margin: 0.5rem 0 1.25rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.65rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0b0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a {
  text-decoration: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.55rem 1rem; border: 2px solid var(--ink); border-radius: 999px; transition: background-color 0.25s, color 0.25s;
}
.jump a:hover { background: var(--ink); color: var(--white); }
.price { font-size: clamp(2rem, 6vw, 3rem); color: var(--deep); margin-bottom: 0.75rem; }
.price span { font-family: var(--font-body); text-transform: none; font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.pull { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 5px solid var(--sky); }
.pull p { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.1; color: var(--ink); margin: 0; }

/* contact */
.contact-list { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list div { border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); }
.contact-list dd { margin: 0.25rem 0 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.contact-photo img { width: 100%; max-height: 70vh; object-fit: cover; aspect-ratio: 16 / 9; }

/* booking flow */
.how-booking { color: inherit; }
.how-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; margin-bottom: 1.25rem; }
.section-ink .how-title { color: var(--white); }
.steps { list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: step; display: grid; gap: 1rem; }
.steps li { position: relative; padding-left: 3.25rem; counter-increment: step; min-height: 2.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--sky); color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; display: grid; place-items: center;
}
.step-title { display: block; font-weight: 700; font-size: 1.05rem; }
.section-ink .step-title { color: var(--white); }
.step-text { display: block; }
.how-note { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--deep); margin: 0; }
.section-ink .how-note { color: var(--sky); }
.how-booking .btn-row { margin-top: 1.25rem; }

.trip-facts { width: 100%; background: var(--mist); border-radius: var(--radius); padding: 1rem 1.15rem 0.35rem; margin: 0 0 1.5rem; }
.section-mist .service .trip-facts, .service.section-mist .trip-facts { background: var(--white); }
.trip-facts h3, .trip-facts h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); margin: 0 0 0.5rem; }
.trip-facts ul { list-style: none; padding: 0; margin: 0 0 0.85rem; }
.trip-facts li { position: relative; padding-left: 1.2rem; margin-bottom: 0.35rem; font-size: 0.95rem; }
.trip-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--sky); }

.booking-checklist { border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1.25rem; }
.booking-checklist h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); margin-bottom: 0.5rem; }
.booking-checklist ul { columns: 2; column-gap: 1.5rem; padding-left: 1.1em; margin: 0; }

.quick-book { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 900px) { .quick-book { grid-template-columns: repeat(3, 1fr); } }
.quick-book li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1rem 1.25rem;
  background: var(--mist); border-radius: var(--radius); border-left: 5px solid var(--sky);
}
.quick-book span { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }

/* legal */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin: 2.25rem 0 0.75rem; }
.prose a { color: var(--deep); font-weight: 600; }
.updated { color: var(--muted); font-size: 0.92rem; }
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, 0.82); padding: 4rem 0 1.5rem; border-top: 4px solid var(--sky); }
.site-footer a:not(.btn) { color: var(--white); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; background: var(--white); margin-bottom: 1rem; }
.footer-tag { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; color: var(--white); }
.footer-heading { font-size: 1.1rem; color: var(--sky); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; }
.footer-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem;
}
.footer-base p { margin: 0; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-media img { animation: heroDrift 22s var(--ease) both; }
  .hero-content > * { animation: rise 1.1s var(--ease) both; }
  .hero-content > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.36s; }
  .js .hero-content > .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: scrollCue 2s ease-in-out infinite; }
}
@keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1.0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
