/* Rachel Trains — main stylesheet
   Tokens derived from the Ultimate Performance design language extraction (2026-09-03):
   paper #f7f6f3 · ink #161412 · red #e4002b · dark red #7c2629 · beige #d6d2c4/#e6e4dc · grey #888b8d
   Archivo Variable (width axis used for condensed display) · Bebas Neue (wordmark + numerals)
   Pills at 100px, everything else square. One shadow. 4px base. 1280 container. 300ms ease. */

:root {
  --paper: #f7f6f3;
  --paper-2: #efede7;
  --beige: #e6e4dc;
  --beige-2: #d6d2c4;
  --ink: #161412;
  --ink-2: #212121;
  --red: #5b97ff;      /* accent, was Ultimate Red #e4002b */
  --red-dark: #2d63d6; /* deep accent, was #7c2629 */
  --grey: #888b8d;
  --grey-2: #a0a2a4;
  --line: rgba(22, 20, 18, 0.15);
  --line-dark: rgba(255, 255, 255, 0.2);
  --white: #ffffff;

  --font: 'Archivo', Arial, sans-serif;
  --display: 'Bebas Neue', 'Archivo', Impact, sans-serif;

  --ease: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-out: cubic-bezier(0, 0, 0.5, 1);
  --t-sm: 200ms;
  --t-md: 300ms;
  --t-lg: 500ms;

  --shadow-lift: 0 32px 68px rgba(0, 0, 0, 0.3);
  --pill: 100px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: var(--pill); z-index: 100; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.h-display {
  font-family: var(--font);
  font-weight: 700;
  font-stretch: 82%;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(56px, 8.4vw, 118px); }
.h-lg { font-size: clamp(40px, 5.2vw, 72px); }
.h-md { font-size: clamp(30px, 3.4vw, 46px); font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.02; }
.h-sm { font-family: var(--font); font-weight: 700; font-stretch: 92%; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; }

.lede { font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.5; max-width: 34em; }
.body { font-size: 15px; line-height: 1.7; max-width: 38em; }
.body-lg { font-size: 16.5px; line-height: 1.65; max-width: 36em; }
.small { font-size: 13px; line-height: 1.5; color: var(--grey); }
.numeral { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  border-radius: var(--pill);
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  font-size: 15px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--t-md) var(--ease), color var(--t-md) var(--ease), border-color var(--t-md) var(--ease), transform var(--t-md) var(--ease);
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn.is-ghost { background: transparent; color: var(--ink); }
.btn.is-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.is-red { background: var(--red); border-color: var(--red); }
.btn.is-red:hover { background: var(--ink); border-color: var(--ink); }
.btn.is-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.is-light:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.btn.is-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn.is-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.wordmark {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: baseline;
  padding-top: 3px;
}
.wordmark i { font-style: normal; color: var(--red); }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-md) var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--pill); border: 1px solid var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform var(--t-md) var(--ease), background var(--t-sm); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform var(--t-md) var(--ease), top var(--t-md) var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-tag { font-size: 14px; font-weight: 500; color: var(--red-dark); margin: 0; display: flex; gap: 14px; align-items: center; }
.hero-tag::before { content: ''; width: 28px; height: 2px; background: var(--red); flex: none; }
.hero h1 { color: var(--ink); }
.hero h1 .turn { display: block; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--ink-2); max-width: 30em; margin: 0; padding-left: 16px; border-left: 2px solid var(--red); }

/* Square video sequencer — the memorable thing */
.reel { position: relative; }
.reel-frame {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}
.reel-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 700ms var(--ease);
}
.reel-frame video.is-live { opacity: 1; }
.reel-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.55));
}
.reel-caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-size: 13px; line-height: 1.35;
}
.reel-caption strong { display: block; font-weight: 600; font-size: 14px; }
.reel-caption .numeral { font-size: 44px; opacity: 0.95; }
.reel-progress { position: relative; height: 2px; background: var(--line); margin-top: 14px; }
.reel-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--red); }
.reel-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.reel-thumbs button {
  aspect-ratio: 1 / 1; overflow: hidden; position: relative; padding: 0;
  border: 1px solid var(--line); background: var(--beige);
  transition: border-color var(--t-md) var(--ease), opacity var(--t-md) var(--ease);
  opacity: 0.55;
}
.reel-thumbs button video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel-thumbs button:hover { opacity: 0.85; }
.reel-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--red); }
.reel-thumbs button[aria-current="true"]::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--red); }
.reel-controls { position: absolute; top: 16px; right: 16px; z-index: 3; }
.reel-controls button {
  width: 40px; height: 40px; border-radius: var(--pill);
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-sm) var(--ease);
}
.reel-controls button:hover { background: var(--white); }
.reel-controls svg { width: 14px; height: 14px; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; background: var(--paper); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1; padding: 16px 0; white-space: nowrap; letter-spacing: 0.02em; }
.ticker-track span::after { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--red); margin: 0 30px 3px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section.is-beige { background: var(--beige); }
.section.is-dark { background: var(--ink); color: var(--white); }
.section.is-paper2 { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lede { justify-self: end; }
.is-dark .lede { color: rgba(255,255,255,0.85); }
.is-dark .small { color: var(--grey-2); }

/* Approach: three things she does, as a hairline list not cards */
.approach { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach-quote { position: sticky; top: 100px; }
.approach-quote .h-lg { max-width: 12em; }
.approach-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.approach-list li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.approach-list .numeral { font-size: 56px; color: var(--red); padding-top: 4px; }
.approach-list .h-sm { margin-bottom: 8px; }
.approach-list p { color: var(--ink-2); font-size: 15px; }

/* Services rate card */
.rates { border-top: 1px solid var(--ink); margin-top: 8px; }
.rate {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 48px); align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--ink);
  position: relative;
  transition: background-color var(--t-md) var(--ease);
}
.rate::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--beige); opacity: 0; transition: opacity var(--t-md) var(--ease); z-index: 0; pointer-events: none; }
.rate:hover::before { opacity: 1; }
.rate > * { position: relative; z-index: 1; }
.rate .h-md { max-width: 10em; }
.rate p { font-size: 15px; color: var(--ink-2); }
.rates-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; }
.rates-foot p { max-width: 38em; font-size: 15px; }

/* Where to train */
.places { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.phone { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); max-height: 720px; box-shadow: var(--shadow-lift); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-caption { position: absolute; left: 18px; bottom: 16px; right: 18px; color: var(--white); font-size: 13px; z-index: 2; }
.phone::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 60%, rgba(0,0,0,0.6)); pointer-events: none; }
.place-list { display: flex; flex-direction: column; }
.place { padding: 32px 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; }
.place:last-child { border-bottom: 1px solid var(--ink); }
.place .h-md { max-width: 9em; }
.place p { font-size: 15px; color: var(--ink-2); }
.place .pin { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--red-dark); }
.place .pin svg { width: 14px; height: 14px; }
.place-photo { margin-top: 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Moments strip: the square clips as a contact sheet */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.moment { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: #000; }
.moment video { width: 100%; height: 100%; object-fit: cover; }
.moment figcaption { position: absolute; left: 12px; bottom: 10px; right: 12px; color: var(--white); font-size: 12px; z-index: 2; }
.moment::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 65%, rgba(0,0,0,0.55)); pointer-events: none; }

/* About */
.about { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { position: sticky; top: 100px; }
.about-photo .frame { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.about-photo .credential { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.5; color: var(--grey-2); }
.about-photo .credential strong { display: block; color: var(--white); font-weight: 600; font-size: 14px; }
.about-photo .credential .mark { width: 34px; height: 34px; border: 1px solid var(--red); display: grid; place-items: center; font-family: var(--display); font-size: 16px; color: var(--red); padding-top: 3px; }
.about-copy .h-lg { margin-bottom: 28px; }
.about-copy .body-lg { color: rgba(255,255,255,0.85); }
.about-copy .body-lg + .body-lg { margin-top: 1em; }
.pull { font-weight: 700; font-stretch: 85%; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -0.02em; color: var(--red); margin: 36px 0 0; max-width: 16em; }

/* Final CTA */
.cta { text-align: left; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cta .h-xl { font-size: clamp(52px, 7.6vw, 110px); }
.cta-panel { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.cta-panel .email { font-weight: 700; font-stretch: 88%; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.01em; line-height: 1.1; word-break: break-all; }
.cta-panel .email:hover { color: var(--red); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--ink); padding: 40px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr)); gap: 32px; align-items: start; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--red); }
.footer-grid .wordmark { font-size: 26px; }
.footer-grid .small { margin-top: 10px; max-width: 26em; }
.footer-bottom { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--grey); font-size: 13px; }

/* Reveal: one orchestrated hero entrance only */
.hero .reveal { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; }
.hero .reveal:nth-child(1) { animation-delay: 60ms; }
.hero .reveal:nth-child(2) { animation-delay: 180ms; }
.hero .reveal:nth-child(3) { animation-delay: 320ms; }
.hero .reveal:nth-child(4) { animation-delay: 440ms; }
.hero .reel.reveal { animation-delay: 240ms; transform: translateY(28px); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rate { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer { display: none; border-top: 1px solid var(--ink); padding: 16px 0 24px; }
  .nav-drawer.is-open { display: block; }
  .nav-drawer ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; }
  .nav-drawer li a { display: block; padding: 14px 0; font-size: 22px; font-weight: 700; font-stretch: 88%; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .reel { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .approach { grid-template-columns: 1fr; }
  .approach-quote { position: static; }
  .rate { grid-template-columns: 1fr; gap: 12px; }
  .places { grid-template-columns: 1fr; }
  .phone { max-width: 360px; max-height: none; }
  .place { grid-template-columns: 1fr; gap: 10px; }
  .moments { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 420px; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .nav-drawer { display: none !important; } }
@media (max-width: 560px) {
  .approach-list li { grid-template-columns: 1fr; gap: 6px; }
  .approach-list .numeral { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .reel-caption .numeral { font-size: 34px; }
  .wordmark { font-size: 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .hero .reveal { opacity: 1; transform: none; animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .reel-frame video { transition: none; }
}

/* ---------- Additions: approach list (no numerals), sunset break, off-the-clock, Instagram grid ---------- */
.approach-list li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
.approach-list .h-sm { display: block; max-width: 11em; }

.break { position: relative; background: var(--ink); color: var(--white); overflow: hidden; min-height: clamp(560px, 78vw, 1000px); display: grid; align-items: end; }
.break > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.break::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.7)); }
.break-copy { position: relative; padding-block: clamp(40px, 6vw, 88px); }
.break blockquote { margin: 0; }
.break blockquote .h-lg { color: var(--white); font-size: clamp(30px, 4.4vw, 60px); max-width: 10.5em; }
.break blockquote footer { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.8); display: flex; gap: 12px; align-items: center; }
.break blockquote footer::before { content: ''; width: 24px; height: 2px; background: var(--red); }

.offclock { margin: 28px 0 0; }
.offclock img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 25%; }
.offclock figcaption { font-size: 13px; color: var(--grey-2); margin-top: 10px; }

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--beige); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-lg) var(--ease), filter var(--t-md) var(--ease); }
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 60%, rgba(0,0,0,0.55)); opacity: 0; transition: opacity var(--t-md) var(--ease); }
.ig-tile:hover::after, .ig-tile:focus-visible::after { opacity: 1; }
.ig-meta { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(4px); transition: opacity var(--t-md) var(--ease), transform var(--t-md) var(--ease); }
.ig-tile:hover .ig-meta, .ig-tile:focus-visible .ig-meta { opacity: 1; transform: none; }
.ig-meta svg { width: 18px; height: 18px; }
.ig-tile.is-reel::before { content: ''; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; background: var(--red); z-index: 2; }
@media (max-width: 900px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .offclock { max-width: 320px; }
  .break { min-height: clamp(520px, 120vw, 760px); }
  .break > img { object-position: 55% 60%; }
}
@media (max-width: 560px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .ig-tile:hover img { transform: none; } }


/* Map under the Elkhorn option */
.place-map { margin-top: 8px; border: 1px solid var(--ink); background: var(--beige); }
.place-map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(0.35) contrast(1.02); }
.place-map-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--ink); font-size: 13px; }
.place-map-foot a { font-weight: 600; color: var(--red-dark); white-space: nowrap; border-bottom: 1px solid currentColor; }
.place-map-foot a:hover { color: var(--red); }
@media (max-width: 560px) { .place-map iframe { height: 260px; } }

/* ---------- Primary-colour rotation: blue → red → yellow, section by section ---------- */
:root {
  --blue: #5b97ff;   --blue-dark: #2d63d6;
  --p-red: #e4002b;  --p-red-dark: #7c2629;
  --yellow: #ffcc00; --yellow-dark: #c99a00;
}
/* Sections re-point the accent token so every descendant follows */
.hero, .hero2, .site-header { --red: var(--blue); --red-dark: var(--blue-dark); }
#approach { --red: var(--p-red); --red-dark: var(--p-red-dark); }
#rates    { --red: var(--yellow); --red-dark: var(--yellow-dark); }
#where    { --red: var(--blue); --red-dark: var(--blue-dark); }
.break    { --red: var(--p-red); --red-dark: var(--p-red-dark); }
#about    { --red: var(--yellow); --red-dark: var(--yellow-dark); }
#instagram{ --red: var(--blue); --red-dark: var(--blue-dark); }
.cta      { --red: var(--p-red); --red-dark: var(--p-red-dark); }

/* Red section: a red marker on each approach item */
#approach .approach-list .h-sm { position: relative; padding-left: 22px; }
#approach .approach-list .h-sm::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 10px; height: 10px; background: var(--p-red); }

/* Yellow section: highlighter behind the price numerals, ink type stays */
#rates .rate:hover::before { background: #fff3b8; }
#rates .rates { border-top: 4px solid var(--yellow); }
#rates .rates-foot .btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Yellow on the dark About section */
#about .pull { color: var(--yellow); }
#about .credential .mark { color: var(--yellow); border-color: var(--yellow); }

/* Blue sections: link and pin colours need the darker blue on paper */
#where .place .pin { color: var(--blue-dark); }
#where .place-map-foot a { color: var(--blue-dark); }
#where .place-map-foot a:hover { color: var(--blue); }
#instagram .ig-tile.is-reel::before { background: var(--blue); }
#instagram .btn.is-ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Red CTA */
.cta .btn.is-red { background: var(--p-red); border-color: var(--p-red); color: var(--white); }
.cta .btn.is-red:hover { background: var(--ink); border-color: var(--ink); }
.cta .email:hover { color: var(--p-red); }

/* All three together: ticker squares cycle, and a tricolour stripe on the CTA panel and footer */
.ticker-track span:nth-child(3n+1)::after { background: var(--blue); }
.ticker-track span:nth-child(3n+2)::after { background: var(--p-red); }
.ticker-track span:nth-child(3n+3)::after { background: var(--yellow); }
.cta-panel { border-top: 0; padding-top: 28px; position: relative; }
.cta-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(to right, var(--blue) 0 33.333%, var(--p-red) 33.333% 66.666%, var(--yellow) 66.666% 100%); }
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(to right, var(--blue) 0 33.333%, var(--p-red) 33.333% 66.666%, var(--yellow) 66.666% 100%); }
.wordmark i { color: var(--blue); }

/* Tricolour stripe across the top of the rates section, same as the footer */
#rates { position: relative; }
#rates::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(to right, var(--blue) 0 33.333%, var(--p-red) 33.333% 66.666%, var(--yellow) 66.666% 100%); }

/* "Train wherever you actually are": the two excuses, broken out as pull-quote lines */
.excuses { list-style: none; margin: 2px 0 18px; padding: 0; display: grid; gap: 10px; }
.approach-list .excuses li {
  display: block; position: relative; font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.1;
  letter-spacing: 0.01em; color: var(--ink); padding: 3px 0; border: 0;
  max-width: 18em;
}
.approach-list .excuses li::before { content: '\201C'; color: var(--p-red); margin-right: 3px; }
.approach-list .excuses li::after { content: '\201D'; color: var(--p-red); margin-left: 3px; }
.excuses-reply { color: var(--ink); font-weight: 600; }

/* Wordmark links to the hero; large scroll margin lands the page at the very top, clear of the sticky header */
.hero, .hero2 { scroll-margin-top: 200px; }

/* ---------- Full-screen hero (formerly v2/v2.css, folded in 2026-09-05) ---------- */
.hero2 { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero2-stage { position: absolute; inset: 0; display: flex; justify-content: center; }
.hero2-stage video { position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 1 / 1; transform: translateX(-50%); object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); }
.hero2-stage video.is-live { opacity: 1; }
/* hairline edges where the bars meet the footage */
.hero2-stage::before, .hero2-stage::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.12); left: calc(50% - 50vh); z-index: 1; }
.hero2-stage::after { left: auto; right: calc(50% - 50vh); }
.hero2-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(22,20,18,0.92) 0%, rgba(22,20,18,0.72) 28%, rgba(22,20,18,0.25) 52%, rgba(22,20,18,0) 68%),
    linear-gradient(to top, rgba(22,20,18,0.96) 0%, rgba(22,20,18,0.7) 24%, rgba(22,20,18,0.15) 50%, rgba(22,20,18,0) 70%),
    linear-gradient(to bottom, rgba(22,20,18,0.6) 0%, rgba(22,20,18,0) 22%); }
.hero2 h1, .hero2 .lede { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero2-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: 140px; padding-bottom: clamp(36px, 5vh, 64px); }
.hero2-copy { display: flex; flex-direction: column; gap: 24px; }
.hero2 h1 { color: var(--white); }
.hero2 h1 .turn { display: block; color: var(--red); }
.hero2 .lede { color: rgba(255,255,255,0.88); max-width: 30em; }
.hero2 .hero-note { color: rgba(255,255,255,0.72); border-left-color: var(--red); }
.hero2 .btn.is-outline-light { border-color: rgba(255,255,255,0.7); }

.hero2-reel { display: flex; flex-direction: column; gap: 12px; }
.hero2-reel .reel-caption { position: static; color: var(--white); }
.hero2-reel .reel-progress { background: rgba(255,255,255,0.2); margin-top: 0; }
.hero2-reel-row { display: flex; align-items: center; gap: 12px; }
.hero2-reel .reel-thumbs { flex: 1; margin-top: 0; max-width: 300px; }
.hero2-reel .reel-thumbs button { border-color: rgba(255,255,255,0.18); background: #000; opacity: 0.5; }
.hero2-reel .reel-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--red); }
.hero2-reel .reel-controls { position: static; margin-left: auto; }
.hero2-reel .reel-controls button { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.hero2-reel .reel-controls button:hover { background: var(--white); color: var(--ink); }

/* Header: transparent over the hero, solid once past it */
.site-header.is-over { position: fixed; left: 0; right: 0; background: transparent; color: var(--white); border-bottom-color: transparent; transition: background-color var(--t-md) var(--ease), color var(--t-md) var(--ease), border-color var(--t-md) var(--ease); }
.site-header.is-over .nav-links a::after { background: var(--red); }
.site-header.is-over .nav-cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header.is-over .nav-cta .btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.site-header.is-over .nav-toggle { border-color: rgba(255,255,255,0.7); }
.site-header.is-over .nav-toggle span, .site-header.is-over .nav-toggle span::before, .site-header.is-over .nav-toggle span::after { background: var(--white); }
.site-header.is-over.is-solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.site-header.is-over.is-solid .nav-cta .btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
.site-header.is-over.is-solid .nav-cta .btn:hover { background: var(--red); border-color: var(--red); }
.site-header.is-over.is-solid .nav-toggle { border-color: var(--ink); }
.site-header.is-over.is-solid .nav-toggle span, .site-header.is-over.is-solid .nav-toggle span::before, .site-header.is-over.is-solid .nav-toggle span::after { background: var(--ink); }
.site-header.is-over.is-solid .nav-toggle[aria-expanded="true"] span { background: transparent; }
.site-header.is-over .nav-drawer { background: var(--paper); color: var(--ink); margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.site-header.is-over .nav-toggle[aria-expanded="true"] span { background: transparent; }

/* Reveal timing for the v2 hero */
.hero2 .reveal { opacity: 0; transform: translateY(18px); animation: rise 900ms var(--ease-out) forwards; }
.hero2 .hero2-copy .reveal:nth-child(1) { animation-delay: 120ms; }
.hero2 .hero2-copy .reveal:nth-child(2) { animation-delay: 260ms; }
.hero2 .hero2-copy .reveal:nth-child(3) { animation-delay: 400ms; }
.hero2 .hero2-copy .reveal:nth-child(4) { animation-delay: 520ms; }
.hero2 .hero2-reel.reveal { animation-delay: 600ms; }

@media (max-width: 900px) {
  .hero2-content { grid-template-columns: 1fr; padding-top: 110px; gap: 28px; }
  .hero2-stage video { width: 100%; height: 100%; aspect-ratio: auto; left: 0; transform: none; object-fit: cover; }
  .hero2-stage::before, .hero2-stage::after { display: none; }
  .hero2-scrim { background: linear-gradient(to top, rgba(22,20,18,0.97) 0%, rgba(22,20,18,0.85) 35%, rgba(22,20,18,0.45) 65%, rgba(22,20,18,0.55) 100%); }
  .hero2-reel .reel-thumbs { max-width: 240px; }
  .hero2-reel { display: none; }
  .hero2 h1 .turn { padding-top: 0.22em; }
}
@media (min-aspect-ratio: 2/1) and (min-width: 901px) {
  /* ultra-wide: let the stage breathe a bit wider than 1:1 by scaling the clip up slightly */
  .hero2-stage video { height: 110%; top: -5%; }
  .hero2-stage::before, .hero2-stage::after { left: calc(50% - 55vh); } .hero2-stage::after { left: auto; right: calc(50% - 55vh); }
}
@media (prefers-reduced-motion: reduce) { .hero2 .reveal { opacity: 1; transform: none; animation: none; } .hero2-stage video { transition: none; } }

/* v2: caption only, no selector or playback controls */
.hero2-reel { justify-self: end; text-align: right; }
.hero2-reel .reel-caption { display: block; opacity: 0.5; }
.hero2-reel .reel-caption strong { display: block; font-weight: 700; font-stretch: 88%; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.01em; }
.hero2-reel .reel-caption span { display: block; font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; margin-top: 6px; }
@media (max-width: 900px) { .hero2-reel { justify-self: start; text-align: left; } }
