/* ---- Fonts ---- */
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

/* OCEAN/LAND tickers + SST temp gauge OFF site-wide 2026-05-30 (Brett:
   scottwagner is a static, one-way site). Polling already killed in
   js/ticker.js; this hides any remaining ticker markup on inner pages. */
.ticker, .ticker--ocean, .ticker--land, sw-sst-widget, .hero__widget { display: none !important; }

/* ---- Tokens ----
 * Palette pulled from the 2026-05-28 Brand Manual. Bondi + Saffron are the
 * primary brand colours; Aqua / Terracotta sit beside them in the primary
 * set; French Navy / Oxford Blue are the corporate-tier colours; Coral is
 * an alert colour we kept outside the brand for storm-tide warnings. */
:root {
  --bondi: #007f86;            /* Primary brand — Bondi Blue */
  --bondi-solid: #007f86;
  --saffron: #d9763d;          /* Primary brand — Saffron */
  --aqua: #6fb5c1;             /* Primary brand — Aqua */
  --terracotta: #f3e7db;       /* Primary brand — Terracotta (cream) */
  --french-navy: #1d3757;      /* Corporate */
  --oxford-blue: #768d9b;      /* Corporate */
  --ink: #0c2126;
  --white: #ffffff;
  --amber: #f3b23a;            /* raw / unvalidated badge */
  --coral: #ff5a4e;            /* alert (storm-tide warnings) — outside brand */
  --ticker-h: 44px;
  --nav-h: 112px;
  --social-h: 48px;           /* social-media strip at the very bottom */
  --timeline-h: 96px;
  /* Top stack = nav + timeline; bottom stack = 2 tickers + social bar.
   * Layout flipped 2026-05-16: nav was at bottom, tickers at top.
   * Pages should pad their content with these values, not raw px. */
  --top-stack-h: 208px;       /* nav (112) + timeline (96) */
  --bottom-stack-h: 136px;    /* 2 × ticker (88) + social (48) */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); background: #000; }

/* Visually hidden but available to screen readers. */
.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;
}

/* ---- Tickers (shared) ---- */
.ticker {
  position: fixed; left: 0; right: 0;
  height: var(--ticker-h);
  display: flex; align-items: stretch;
  font-size: 16px; line-height: 1.2;
  z-index: 50;
  color: var(--white);
  /* Coloured-glass effect: blur whatever's behind, then tint */
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset,
              0 4px 14px rgba(0,0,0,0.12);
}
/* Tickers anchored to the BOTTOM (flipped 2026-05-16). Reading order matches
 * the original top stack: OCEAN on top, LAND below it, social bar at the
 * very bottom. If OCEAN is hidden, LAND slides down to take its spot —
 * handled by the :has() rule further down. */
.ticker--ocean { bottom: calc(var(--social-h) + var(--ticker-h)); top: auto; background: rgba(0, 127, 134, 0.55); }
.ticker--land  { bottom: var(--social-h);                         top: auto; background: rgba(217, 118, 61, 0.55); }
.ticker.is-hidden { display: none; }

.ticker__label {
  font-weight: 900; letter-spacing: 0.14em;
  padding: 0 18px; display: flex; align-items: center;
  background: rgba(0,0,0,0.18);
  font-size: 14px;
}
.ticker--land .ticker__label { background: rgba(0,0,0,0.12); }

.ticker__viewport {
  flex: 1; overflow: hidden; position: relative;
  display: flex; align-items: center;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 60px), transparent 100%);
}
.ticker__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 42px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}
.ticker__viewport:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track { animation-play-state: paused; }
.ticker--land .ticker__track { animation-duration: 75s; }

.ticker__item {
  display: inline-flex; align-items: stretch;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}
.ticker__link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 12px;
  color: inherit; text-decoration: none;
  cursor: pointer;
}
a.ticker__link { cursor: pointer; }
span.ticker__link { cursor: default; }
.ticker__item:hover { background: rgba(255,255,255,0.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.ticker__item:hover .station { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ticker__item .station { font-weight: 700; }
.ticker__item .sep { opacity: 0.55; padding: 0 6px; }
.ticker__item .badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  background: rgba(255,255,255,0.18);
}
.ticker__item .badge--raw   { background: var(--amber); color: #1a1206; }
.ticker__item .badge--3p    { background: rgba(255,255,255,0.25); }
.ticker__item.is-alert {
  background: var(--coral); color: #fff;
  border-radius: 4px;
  font-weight: 700;
  animation: alert-pulse 1.8s ease-in-out infinite;
}
.ticker__item.is-alert .ticker__link { padding: 4px 14px; }
.ticker__item.is-alert:hover { background: #ff4438; box-shadow: none; }

.ticker__close {
  appearance: none; border: 0; background: transparent;
  color: var(--white); width: 44px; cursor: pointer;
  font-size: 22px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.ticker__close:hover { background: rgba(0,0,0,0.18); }
.ticker__close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* track is duplicated in JS for seamless loop */
}
@keyframes alert-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,90,78,0.55); }
  50%     { box-shadow: 0 0 0 6px rgba(255,90,78,0); }
}

/* ---- Nav (anchored TOP, white panel — flipped 2026-05-16) ----
 * Sits at the top of the viewport with the timeline strip slotting in
 * directly underneath. Bondi accent line lives on the BOTTOM edge now
 * (was top) so the line separates nav from the timeline. */
.nav {
  position: fixed; left: 0; right: 0;
  top: 0;
  bottom: auto;
  height: var(--nav-h);
  background: #ffffff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  gap: 24px;
  z-index: 40;
  box-shadow: inset 0 -2px 0 var(--bondi),
              inset 0 -3px 0 rgba(0,127,134,0.08),
              0 6px 20px rgba(0,0,0,0.06);
}

/* Hamburger — leftmost element, ALWAYS visible. On desktop it's a redundant
 * second path (inline menu also shows); on mobile it's the only entry point. */
.nav__burger {
  appearance: none; border: 0; background: transparent;
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background-color 0.15s;
}
.nav__burger:hover { background: rgba(0,127,134,0.08); }
.nav__burger:focus-visible { outline: 2px solid var(--bondi); outline-offset: 2px; }
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
/* Burger morphs to an X when its drawer is open (aria-expanded="true"). */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  color: var(--bondi);
  line-height: 1;
  margin-right: auto;          /* push menu to the right edge */
}
/* "sw." mark — Montserrat Black, Bondi. Stand-in for the Adobe-font avatar.
 * Heavy, lowercase, with a fat full-stop. Sized to feel as substantial as
 * the previous SCOTTWAGNER logo image without overpowering the 112px nav. */
.nav__brand-mark {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  /* Optical fix — the Black glyphs sit slightly above the descender baseline,
   * so a small negative top margin centres them visually with the nav row. */
  margin-top: -2px;
}

.nav__menu { display: flex; gap: 28px; align-items: center; }
.nav__menu a {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s;
}
.nav__menu a::after {
  content: ""; position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 1px; background: var(--bondi);
  transition: left 0.18s ease, right 0.18s ease;
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] { color: var(--bondi); }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { left: 0; right: 0; }

/* ADMIN entry — last nav link, visually distinct so it reads as the gateway
 * into the Launchpad backend (not a content page). Saffron pill on hover. */
.nav__admin {
  margin-left: 8px;
  padding: 6px 12px !important;
  border: 1px solid rgba(217,118,61,0.55);  /* saffron */
  border-radius: 4px;
  color: var(--saffron) !important;
  font-weight: 700 !important;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.nav__admin::after { display: none; }       /* skip the underline-grow effect */
.nav__admin:hover {
  background: var(--saffron);
  color: #0c2126 !important;
  border-color: var(--saffron);
}

/* If OCEAN is hidden, LAND slides DOWN to take its spot above the social bar. */
body:has(#ocean.is-hidden) .ticker--land { bottom: var(--social-h); top: auto; }

/* ---- Slide-out drawer (hamburger menu) ----
 * Off-canvas left panel triggered by .nav__burger. Holds the same links as
 * the inline .nav__menu so mobile (or anyone preferring the drawer) has the
 * full nav within reach. Backdrop dims the page; click outside closes. */
.nav__drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 70;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.nav__drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.nav__drawer {
  position: fixed; top: 0; left: 0;
  height: 100vh;
  width: min(320px, 84vw);
  background: #ffffff;
  color: var(--ink);
  z-index: 80;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: 8px 0 24px rgba(0,0,0,0.16);
  padding-top: var(--nav-h);   /* clear the fixed nav above */
}
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer__menu {
  display: flex; flex-direction: column;
  padding: 16px 24px;
  gap: 0;
}
.nav__drawer__menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(12,33,38,0.08);
  transition: color 0.15s, padding-left 0.18s;
}
.nav__drawer__menu a:hover,
.nav__drawer__menu a[aria-current="page"] {
  color: var(--bondi);
  padding-left: 8px;
}
.nav__drawer__menu .nav__admin {
  margin-top: 12px;
  margin-bottom: 0;
  border-bottom: 0;
}
/* Secondary block in the drawer — Privacy / Disclaimer. Smaller, lighter,
 * separated from the primary menu by a thin divider. */
.nav__drawer__divider {
  height: 1px;
  background: rgba(12,33,38,0.12);
  margin: 24px 0 16px;
}
.nav__drawer__secondary {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.65;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 0;
  transition: color 0.15s, opacity 0.15s, padding-left 0.18s;
}
.nav__drawer__secondary:hover,
.nav__drawer__secondary[aria-current="page"] {
  color: var(--bondi);
  opacity: 1;
  padding-left: 8px;
}

/* ---- Social bar (sits below the nav at the bottom edge) ----
 * Holds Facebook · Instagram · LinkedIn · YouTube. Added 2026-05-15;
 * the nav was raised by --social-h so the bar slots in beneath it. */
.social-bar {
  position: fixed; left: 0; right: 0;
  bottom: 0;
  height: var(--social-h);
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  z-index: 41;                /* above nav (40) so nav's bottom shadow can't bleed over */
}
.social-bar__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, transform 0.15s;
}
.social-bar__link:hover,
.social-bar__link:focus-visible {
  color: var(--bondi);
  background: rgba(0,127,134,0.1);
  outline: none;
}
.social-bar__link:focus-visible { box-shadow: 0 0 0 2px rgba(0,127,134,0.6); }
.social-bar__link svg {
  width: 18px; height: 18px;
  fill: currentColor;
  display: block;
}

/* ---- Hero (test backdrop) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--top-stack-h);     /* nav (112) + timeline (96) */
  padding-bottom: var(--bottom-stack-h); /* 2 × ticker (88) + social (48) */
  background: #000;          /* black behind the slideshow so dips read as true black */
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;                /* JS controls opacity; starts hidden */
  will-change: opacity;
}
.hero__widget, .hero__inner { position: relative; z-index: 2; }
.hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px 80px;
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero__title { font-weight: 900; font-size: clamp(34px, 6vw, 84px); margin: 0 0 12px; letter-spacing: -0.01em; }
.hero__lede { font-weight: 400; font-size: clamp(16px, 1.6vw, 22px); max-width: 640px; margin: 0; opacity: 0.95; }
.hero__widget {
  position: absolute;
  /* Sits well clear of the timeline strip — was hugging the timeline edge
   * which obscured the top of the widget. +40px breathing room (2026-05-16). */
  top: calc(var(--top-stack-h) + 40px);
  right: 28px;
  z-index: 30;
}

/* Brand-mark overlay — surfer-sunset PNG, anchored to the left side and
 * vertically centred in the OPEN hero band (between the top nav + timeline
 * and the bottom tickers + social stack).
 * 60% opacity so the slideshow reads through it. pointer-events:none so
 * it doesn't intercept clicks. Halved 2026-05-16 (24% → 12% / 39% → 19.5%). */
.hero__logo {
  position: absolute;
  /* Vertically centred in the OPEN hero band between the new top-stack
   * (nav + timeline) and the new bottom-stack (tickers + social). */
  top: calc(50% + ((var(--top-stack-h) - var(--bottom-stack-h)) / 2));
  left: 5%;
  transform: translateY(-50%);
  max-width: 18%;
  max-height: 30%;
  width: auto;
  height: auto;
  opacity: 0.5;
  z-index: 1;                /* above slideshow (z:0/1/2), below widget (z:30) */
  pointer-events: none;
  object-fit: contain;
}
@media (max-width: 720px) {
  .hero__logo { max-width: 30%; max-height: 21%; left: 4%; }
}

/* ---- Hero wordmark — SCOTTWAGNER white PNG ----
 * Anchored to the TOP LEFT of the open hero band, sitting in the top third.
 * 1712×167 source, ~10.25:1 aspect, so width is the controlling dimension.
 * drop-shadow gives it definition when the slideshow lands on a bright frame.
 * Position updated 2026-05-16 (was centred; Brett wanted top-left). */
.hero__wordmark {
  position: absolute;
  top: calc(var(--top-stack-h) + 8vh);
  /* Visible "S" lines up with the hamburger icon's leftmost line, then
   * nudged a further +9px right per Brett's two eyeball passes (5 + 4). */
  left: 53px;
  max-width: 36%;
  width: auto; height: auto;
  z-index: 2;                  /* above slideshow (0–1), below widget (30) */
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
  opacity: 0.95;
}
@media (max-width: 720px) {
  .hero__wordmark { max-width: 70%; top: calc(var(--top-stack-h) + 5vh); left: 12px; }
}

/* ---- Enjoy the Experience — single-column headline stack ----
 * Each testimonial reads like a magazine pull-quote (huge bold italic) on a
 * slightly darker Bondi card lifted off the field with a soft drop shadow.
 * The page scrolls naturally — auto-scroll was tried and dropped on Brett's
 * request 2026-05-16 ("I need to be able to scroll"). */
.enjoy {
  background: var(--bondi);
  color: #fff;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 0 calc(var(--bottom-stack-h) + 64px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.enjoy__stage {
  width: 100%;
}
.enjoy__track {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.enjoy__quote {
  width: min(1100px, 92vw);
  margin: 0;
  padding: 44px 56px;
  background: rgba(0,0,0,0.18);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35),
              0 8px 20px rgba(0,0,0,0.22),
              inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: left;
}
.enjoy__quote blockquote {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  /* The locally hosted Montserrat set is Roman-only (no italic TTF), so the
   * browser synthesises the slant from whichever weight we ask for. Brett
   * 2026-05-16: dial down from 800 to 400 — "regular italic" rather than
   * heavy display italic. */
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 22px;
  color: #fff;
}
.enjoy__quote cite {
  font-style: normal;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  display: block;
}

@media (max-width: 1024px) {
  .enjoy__quote { padding: 36px 40px; }
  .enjoy__track { gap: 48px; }
}
@media (max-width: 640px) {
  .enjoy { padding-top: calc(var(--nav-h) + 24px); }
  .enjoy__track { gap: 36px; }
  .enjoy__quote { padding: 28px; border-radius: 12px; }
  .enjoy__quote blockquote { font-size: clamp(22px, 6vw, 32px); }
}

/* ---- Subscribe page ----
 * Replicates scottwagner.tv/subscribe/ : big letter-spaced "SUBSCRIBE"
 * heading, underline-only form fields (no boxes), Bondi pill submit. */
.subscribe {
  background: #ffffff;
  color: var(--ink);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 40px calc(var(--bottom-stack-h) + 80px);
}
.subscribe__inner {
  max-width: 720px;
  margin: 0 auto;
}
.subscribe__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--bondi);
}
.subscribe__lede {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 48px;
  color: var(--ink);
  opacity: 0.85;
}

/* Honeypot — hidden from real users; bots fill it and we drop the
 * submission. `display:none` would tip off some bots; visually hide instead. */
.subscribe__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.subscribe__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(12,33,38,0.2);
  padding-bottom: 6px;
  transition: border-color 0.2s;
}
.subscribe__field:focus-within {
  border-bottom-color: var(--bondi);
}
.subscribe__field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.subscribe__field input {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  outline: none;
}
.subscribe__field input::placeholder {
  color: rgba(12,33,38,0.45);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subscribe__submit {
  align-self: flex-start;
  margin-top: 16px;
  appearance: none;
  border: 0;
  background: var(--bondi);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 42px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 20px rgba(0,127,134,0.25);
}
.subscribe__submit:hover {
  background: #006770;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,127,134,0.35);
}
.subscribe__submit:focus-visible {
  outline: 2px solid var(--bondi);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .subscribe { padding: calc(var(--nav-h) + 40px) 20px calc(var(--bottom-stack-h) + 40px); }
  .subscribe__lede { margin-bottom: 32px; }
  .subscribe__form { gap: 28px; }
  .subscribe__submit { padding: 14px 32px; font-size: 13px; }
}

/* ---- Contact page ----
 * Replicates scottwagner.tv/contact/ : letter-spaced "CONTACT" heading,
 * two-column body (underline form left + icon contact cards right).
 * Saffron icon tiles match the warm tone of the source page. */
.contact {
  background: #ffffff;
  color: var(--ink);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 64px) 40px calc(var(--bottom-stack-h) + 80px);
}
.contact__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.contact__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 48px;
  color: var(--bondi);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

/* Form column */
.contact__hp { position: absolute; left: -9999px; top: -9999px; }
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(12,33,38,0.2);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.contact__field:focus-within { border-bottom-color: var(--bondi); }
.contact__field--textarea {
  border-bottom: 0;
  gap: 8px;
}
.contact__field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
}
.contact__field input,
.contact__field textarea {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  resize: none;
}
.contact__field--textarea textarea {
  border: 1px solid rgba(12,33,38,0.2);
  padding: 12px 14px;
  resize: vertical;
  min-height: 120px;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.contact__field--textarea textarea:focus { border-color: var(--bondi); }

.contact__submit {
  align-self: flex-start;
  margin-top: 12px;
  appearance: none;
  border: 0;
  background: var(--ink);            /* black, matching the source page */
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.contact__submit:hover {
  background: #1a3138;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}
.contact__submit:focus-visible {
  outline: 2px solid var(--bondi);
  outline-offset: 4px;
}

/* Info column — three stacked cards, centred text, saffron icon tiles. */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 48px;
  text-align: center;
}
.contact__info-card { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.contact__info-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  color: var(--saffron);
}
.contact__info-icon svg { width: 100%; height: 100%; }
.contact__info-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}
.contact__info-value,
a.contact__info-value {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--bondi);
  text-decoration: none;
  margin: 0;
}
a.contact__info-value:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .contact__info { flex-direction: row; flex-wrap: wrap; justify-content: space-around; gap: 32px; }
  .contact__info-card { flex: 1 1 220px; }
}
@media (max-width: 640px) {
  .contact { padding: calc(var(--nav-h) + 32px) 20px calc(var(--bottom-stack-h) + 40px); }
  .contact__title { margin-bottom: 32px; }
  .contact__grid { gap: 40px; }
  .contact__info { flex-direction: column; gap: 32px; }
}

/* ---- Resources page ----
 * Long-form buyer guide on a Bondi field. White prose, saffron section
 * headings, comfortable reading column. */
.resources {
  background: var(--bondi);
  color: #fff;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 40px calc(var(--bottom-stack-h) + 80px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.resources__inner {
  max-width: 820px;
  margin: 0 auto;
}
.resources__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.005em;
  margin: 0 0 56px;
  color: #fff;
  line-height: 1.05;
}
.resources__section {
  margin: 0 0 56px;
}
.resources__section:last-child { margin-bottom: 0; }
.resources__heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--saffron);
  /* Subtle Saffron underline accent on the section title. */
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217,118,61,0.45);
}
.resources p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
}
.resources p:last-child { margin-bottom: 0; }
.resources__list {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 20px;
  color: rgba(255,255,255,0.92);
}
.resources__list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 4px;
}
.resources__list li::marker { color: rgba(255,255,255,0.55); }
.resources__list li:last-child { margin-bottom: 0; }
.resources__list li strong {
  font-weight: 700;
  color: #fff;
}

@media (max-width: 640px) {
  .resources { padding: calc(var(--nav-h) + 32px) 20px calc(var(--bottom-stack-h) + 56px); }
  .resources__title { margin-bottom: 40px; }
  .resources__section { margin-bottom: 40px; }
  .resources p, .resources__list li { font-size: 15px; line-height: 1.65; }
}

/* ---- Legal pages (Privacy, Disclaimer) ----
 * White background, dark prose. Bondi page title, saffron section headings.
 * Comfortable reading column at ~760px. */
.legal {
  background: #ffffff;
  color: var(--ink);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 40px calc(var(--bottom-stack-h) + 80px);
}
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.04em;
  margin: 0 0 48px;
  color: var(--bondi);
  line-height: 1.05;
}
.legal__heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin: 40px 0 14px;
  color: var(--saffron);
}
.legal p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
  color: var(--ink);
}
.legal a { color: var(--bondi); }
.legal__list {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--ink);
}
.legal__list li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 2px;
}
.legal__list li::marker { color: rgba(12,33,38,0.45); }
.legal__updated {
  margin-top: 32px;
  font-size: 13px;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .legal { padding: calc(var(--nav-h) + 32px) 20px calc(var(--bottom-stack-h) + 56px); }
  .legal__title { margin-bottom: 32px; }
  .legal__heading { margin-top: 32px; font-size: 16px; }
}
@media (max-width: 720px) {
  .hero__widget { top: calc(var(--top-stack-h) + 12px); right: 16px; }
  .hero__inner { padding: 0 16px 60px; }
}

/* ---- Scott Wagner Timeline (horizontal strip below the nav, top of page) ----
 * Flipped 2026-05-16: was anchored to bottom above the nav; now sits at the
 * top of the page directly underneath the white nav. Background is a soft
 * downward shadow so the strip reads as visually nested into the page below. */
.scott-timeline {
  position: fixed; left: 0; right: 0;
  top: var(--nav-h);
  bottom: auto;
  height: var(--timeline-h);
  z-index: 35;
  overflow: hidden;
  opacity: 0.85;                 /* readable at rest, lifts to 1 on hover */
  transition: opacity 0.32s ease, background-color 0.32s ease;
  background: linear-gradient(180deg, rgba(12,33,38,0.05) 0%, rgba(12,33,38,0.20) 100%);
  color: var(--ink);
}
.scott-timeline:hover,
.scott-timeline:focus-within {
  opacity: 1;
  background: linear-gradient(180deg, rgba(12,33,38,0.08) 0%, rgba(12,33,38,0.30) 100%);
}
.scott-timeline__viewport {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.4) transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.scott-timeline__viewport.is-dragging { cursor: grabbing; }

/* Single right-arrow — pinned to the right edge, hanging half off-screen so
 * it reads as a "propel forward" affordance pointing out of the viewport.
 * Pinned fixed at the timeline's vertical band; NOT a child of .scott-timeline
 * so it doesn't inherit its 0.55 opacity. Fades to 0 + pointer-events:none
 * when the user reaches the end of the timeline; reappears as they scroll left. */
.tl-arrow {
  position: fixed;
  /* Aligns vertically with the timeline strip (which now sits at top: nav-h). */
  top: calc(var(--nav-h) + 12px);
  bottom: auto;
  height: calc(var(--timeline-h) - 24px);
  width: 72px;
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 10px;
  background: rgba(0,127,134,0.78);    /* Bondi — reads as the brand's forward-cue */
  border: 1px solid rgba(255,255,255,0.4);
  border-right: none;
  border-radius: 8px 0 0 8px;          /* rounded only on the left edge */
  color: #fff;
  font-size: 30px; font-weight: 800;
  cursor: pointer;
  z-index: 38;
  opacity: 1;
  transition: opacity 0.35s ease, background-color 0.15s, transform 0.18s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: -4px 0 16px rgba(0,0,0,0.35);
}
.tl-arrow.is-disabled { opacity: 0; pointer-events: none; }
/* Pinned off-screen on the right — roughly half the button hangs off-edge so
 * the glyph reads as pointing through-and-out of the viewport. */
.tl-arrow--right { right: -32px; }
.tl-arrow--right:hover { transform: translateX(-8px); background: rgba(0,127,134,0.95); }
.tl-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.scott-timeline__viewport::-webkit-scrollbar { height: 4px; }
.scott-timeline__viewport::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}
.scott-timeline__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 40px;
  white-space: nowrap;
}
/* Spine — the line running through the nodes */
.scott-timeline__track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  z-index: 0;
}

.tl-node {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 12px 22px;
  min-width: 170px;
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  /* Button resets — buttons now (was anchors) so kill the browser defaults
   * that turn the strip into a row of light blocks. Brett-locked 2026-05-29. */
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  text-align: left;
  letter-spacing: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.tl-node__dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--bondi);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.4);
  z-index: 2;
  /* Shift every dot 20px right + 1px up of the node centre so it clears the
   * "$X.XM" price text below. Media variants inherit this and just override
   * the size/colour. Matching offset on .tl-node__media-badge keeps the ▶
   * aligned over the dot. */
  transform: translate(20px, -1px);
}
.tl-node--past .tl-node__dot { background: var(--bondi); }                     /* explicit (matches default) */
.tl-node--present .tl-node__dot { background: #ffd83a; box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 12px rgba(255,216,58,0.7); }
.tl-node--future .tl-node__dot { background: var(--saffron); }

.tl-node__date {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.85;
  margin-bottom: 4px;
}
.tl-node__name {
  font-size: 15px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tl-node__subtitle {
  font-size: 11px; font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
  max-width: 200px;
  text-overflow: ellipsis; overflow: hidden;
}
.tl-node__detail {
  font-size: 10px; font-weight: 400;
  opacity: 0.65;
  margin-top: 1px;
  max-width: 200px;
  text-overflow: ellipsis; overflow: hidden;
}
.tl-node:hover .tl-node__name { color: var(--bondi); }
.tl-node:focus-visible { outline: 2px solid var(--bondi); outline-offset: 2px; }

/* Media hotspot — properties carrying a Vimeo asset. Dot becomes a brighter
 * yellow well with a ▶ glyph centred on it; the WHOLE hotspot (dot + glyph)
 * is shifted right of the node centre so it sits clear of the price text.
 * Click opens .tl-media-card. */
.tl-node--media .tl-node__dot {
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  /* transform inherits from .tl-node__dot — shared 20px/-1px offset. */
  background: #ffd83a;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 16px rgba(0,127,134,0.85);
  animation: tl-media-pulse 2.4s ease-in-out infinite;
}
.tl-node--media .tl-node__media-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(calc(-50% + 20px), calc(-50% - 1px));
  font-size: 9px; line-height: 1;
  color: #0c2126;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 1px rgba(255,255,255,0.4);
}
.tl-node--media:hover .tl-node__dot {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.65), 0 0 24px rgba(0,127,134,1);
}
@keyframes tl-media-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 16px rgba(0,127,134,0.85); }
  50%      { box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 22px rgba(0,127,134,1); }
}

/* Pop-out media card — anchored above the clicked timeline node. 16:9 Vimeo
 * iframe + caption strip. Position is set inline by timeline.js so it stays
 * pinned to the node and clamped within the viewport. */
/* Polished 2026-05-29 — glass card, saffron accent line, more dramatic
 * entrance, refined close button. Scott palette throughout. */
.tl-media-card {
  position: fixed;
  z-index: 60;                /* above timeline (35), arrow (38), nav (varies) */
  background:
    linear-gradient(180deg, rgba(12,33,38,0.94) 0%, rgba(7,18,22,0.97) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(0,127,134,0.55);
  border-top: 2px solid var(--saffron);   /* Saffron accent — brand punch */
  border-radius: 10px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 6px 20px rgba(0,127,134,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  /* Custom-easing: starts fast, settles with a slight overshoot. Reads as
   * a confident pop-in rather than a flat fade. */
  animation: tl-media-card-in 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center bottom;
}
@keyframes tl-media-card-in {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.012); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Click feedback — when a media node is clicked, the dot pulses + ripples
 * outward in Bondi. Synced to feel like the source of the card-open animation.
 * Triggered by .is-clicking class added in wireMediaHotspots (timeline.js). */
.tl-node--media.is-clicking .tl-node__dot {
  animation: tl-node-click 0.5s ease-out;
}
@keyframes tl-node-click {
  0%   { transform: translate(20px, -1px) scale(1);   box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 0 0  rgba(0,127,134,0.7); }
  50%  { transform: translate(20px, -1px) scale(1.5); box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 0 14px rgba(0,127,134,0); }
  100% { transform: translate(20px, -1px) scale(1);   box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 0 0  rgba(0,127,134,0); }
}

.tl-media-card__close {
  position: absolute;
  top: 8px; right: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.9);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.22s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tl-media-card__close:hover {
  background: rgba(0,127,134,0.95);
  border-color: var(--bondi);
  color: #fff;
  transform: rotate(90deg);
}
.tl-media-card__close:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
/* Top hero photo — full-width 16:9 image at top of the card. Brett-locked
 * 2026-05-29. When present, sits above the content; when absent, top Vimeo
 * iframe (.tl-media-card__video--top) takes its place. */
.tl-media-card__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c2126 center/cover no-repeat;
  border-bottom: 1px solid rgba(0,127,134,0.42);
}

.tl-media-card__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 4px;
}
.tl-media-card__video--top {
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(0,127,134,0.42);
}
.tl-media-card__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Content area — padded text block sitting below the hero/top-video.
 * Holds the date kicker, the BIG Saffron price, address, suburb, optional
 * Vimeo, optional title, and admin-authored body. */
.tl-media-card__content {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Date kicker — small Bondi caps above the price. */
.tl-media-card__date {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bondi);
  margin: 0 0 4px;
}

/* Price — BIG Black weight Saffron. Hero element. Brett: "Price has to be
 * bold in the window." */
.tl-media-card__price {
  margin: 2px 0 4px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 1;
  color: var(--saffron);
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

/* Address — secondary headline, bold white. */
.tl-media-card__address {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #fff;
}

/* Suburb — small caps letterspaced, Bondi tinted, sits under address. */
.tl-media-card__suburb {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,127,134,0.95);
}

/* Title (admin-authored) — only renders when distinct from the address.
 * Medium bold, slightly muted. */
.tl-media-card__title {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
}

/* Admin-authored body copy — sits inside __content so no extra padding. */
.tl-media-card__body {
  margin: 10px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.tl-media-card__body p { margin: 6px 0; }
.tl-media-card__body p:first-child { margin-top: 0; }
.tl-media-card__body p:last-child  { margin-bottom: 0; }
.tl-media-card__body a { color: var(--bondi); }

.tl-empty {
  display: inline-block; padding: 36px 28px;
  font-size: 12px; color: rgba(255,255,255,0.6);
  font-family: "Montserrat", sans-serif;
}

/* Place above-fold padding accounts for timeline so content doesn't end up
   stuck behind it. The hero overlays it on purpose (timeline floats). */

/* ---- Mobile ---- */
@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
    --social-h: 44px;
    --timeline-h: 76px;
    --top-stack-h: 140px;       /* nav (64) + timeline (76) */
    --bottom-stack-h: 132px;    /* 2 × ticker (44) + social (44) */
  }
  .nav__menu { display: none; }
  .nav { padding: 0 12px; justify-content: space-between; gap: 12px; }
  .nav__brand-mark { font-size: 36px; }
  .nav__burger { width: 40px; height: 40px; }
  .tl-node { min-width: 140px; padding: 10px 16px; }
  .tl-node__name { font-size: 13px; }
  .ticker__label { font-size: 11px; padding: 0 10px; letter-spacing: 0.18em; }
  .ticker { font-size: 14px; }
  .ticker__link { padding: 6px 10px; }
  .ticker__viewport { mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%); }
}
