/* ==========================================================================
   In Your Corner — inyourcorner.com.au
   Talk first. Move second.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plex-mono-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plex-mono-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --ink:        #131110;
  --ink-deep:   #0D0C0B;
  --cream:      #F5ECE0;
  --cream-lt:   #F6F1E8;
  --bone:       #EFE9DF;
  --white:      #FFFFFF;
  --accent:     #C43A28;
  --accent-dk:  #A93122;

  /* Text on dark grounds is full-strength bone — the dimmed tints read as
     grey and were hard to make out. Hierarchy comes from size and face now. */
  --on-dark-70: var(--bone);
  --on-dark-60: var(--bone);
  --on-dark-50: var(--bone);
  --rule-dark:  rgba(239, 233, 223, .18);
  --rule-dark-s:rgba(239, 233, 223, .12);

  --on-lt-60:   rgba(19, 17, 16, .60);
  --on-lt-50:   rgba(19, 17, 16, .50);
  --rule-lt:    rgba(19, 17, 16, .16);
  --rule-lt-s:  rgba(19, 17, 16, .10);
  --field-line: rgba(19, 17, 16, .30);
  --disabled:   rgba(19, 17, 16, .18);

  /* Type roles: Anton shouts, Fraunces is read, Plex Mono is scanned. */
  --serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --mono:       'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --shell:      1360px;
  --gutter:     40px;
  --ease:       cubic-bezier(.2, .7, .2, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.shell { max-width: var(--shell); margin: 0 auto; width: 100%; }
.visually-hidden {
  position: absolute; 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: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--cream-lt);
  padding: 12px 20px; font-weight: 700; letter-spacing: .06em;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* --- Shared type ---------------------------------------------------------- */
.display {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.dot { color: var(--accent); }

/* Utility face — labels, buttons, controls and data: anything scanned rather
   than read. Running prose stays in Fraunces via the body default. */
.eyebrow, .btn, .nav__link, .nav__cta, .chip, .step, .field-label, .field__label,
.details__key, .details__val, .summary__key, .summary__val,
.services__note, .confirm__ref, .footer__place, .footer__byline, .footer__nav a,
.date-btn__dow, .date-btn__mon, .time-btn,
.field input, .field textarea {
  font-family: var(--mono);
}
/* The crisis line must stay as legible as possible — it keeps the reading face. */
.footer__crisis { font-family: var(--serif); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .32em;
}
.eyebrow::before {
  content: ''; width: 9px; height: 9px;
  background: var(--accent); flex: none;
}
.eyebrow--dark { color: var(--on-lt-50); }
.eyebrow--light { color: var(--on-dark-60); }
.eyebrow--center { justify-content: center; }
/* Louder section label — used where the section needs more presence. */
.eyebrow--lg {
  font-size: 16px; letter-spacing: .3em; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow--lg::before { width: 12px; height: 12px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block; border: 1px solid transparent;
  padding: 16px 34px; font-size: 16px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--accent); color: var(--cream-lt); }
.btn--solid:hover { background: var(--accent-dk); }
.btn--ghost-light { border-color: rgba(239,233,223,.30); color: var(--bone); }
.btn--ghost-light:hover { border-color: var(--bone); }
.btn--ghost-dark {
  border-color: rgba(19,17,16,.35); color: var(--ink);
  padding: 13px 26px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
}
.btn--ghost-dark:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--lg { padding: 17px 40px; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
/* Typewriter-faced buttons — used in the hero. */
.btn--mono {
  font-family: var(--mono); font-weight: 600;
  font-size: 15px; letter-spacing: .1em;
}
.btn:disabled, .btn[aria-disabled='true'] {
  background: var(--disabled); cursor: default; color: var(--cream-lt);
}
.btn:disabled:hover { background: var(--disabled); }

/* --- Nav ------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--gutter);
  background: rgba(19, 17, 16, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-dark-s);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.mark {
  display: block; width: 16px; height: 16px; flex: none;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.nav__wordmark {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 17px; letter-spacing: .14em; color: var(--bone);
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
}
.nav__link {
  color: var(--bone); transition: color .2s;
  text-transform: uppercase; font-size: 13.5px; letter-spacing: .09em; font-weight: 500;
}
.nav__link:hover { color: var(--accent); }
.nav__cta {
  background: var(--accent); color: var(--cream-lt);
  padding: 11px 22px; transition: background .2s;
  font-family: var(--mono); font-weight: 600;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.nav__cta:hover { background: var(--accent-dk); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px var(--gutter) 0;
}
.hero__media { position: absolute; inset: 0; overflow: clip; }
.hero__photo-wrap {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  animation: fade 1s .35s both;
}
/* Portrait source in a wide slot: anchor the crop near the top so the
   subject's head survives on short/wide viewports. */
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%; }

/* Gym footage over the still. On pointer devices it is revealed on hover;
   on touch devices it fades in once the visitor starts scrolling, so a
   visitor who bounces never pays to download it. */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 14%;
  opacity: 0; transition: opacity .55s ease;
}
.hero.is-playing .hero__video { opacity: 1; }
/* No JS, or reduced motion: the still stands alone and the clip never loads. */
html:not(.js) .hero__video { display: none; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
/* Phones and tablets get the still only — the JS removes the element too. */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .hero__video { display: none; }
}

.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #131110 0%, rgba(19,17,16,.72) 26%, rgba(19,17,16,.18) 60%, rgba(19,17,16,0) 80%),
    linear-gradient(0deg, rgba(19,17,16,.6) 0%, rgba(19,17,16,0) 30%);
}
.hero__inner { position: relative; pointer-events: none; }
.hero__copy { padding-bottom: 64px; max-width: 760px; pointer-events: auto; }
.hero__title {
  font-size: clamp(56px, 10.5vw, 164px); line-height: .94;
  color: var(--bone);
  animation: rise .8s .15s var(--ease) both;
}
/* Corner bracket framing the bottom-left of the wordmark: the text sits
   inside it. Sized in em so it scales with the headline. */
.hero__title { position: relative; display: inline-block; }
.hero__mark {
  position: absolute;
  left: -.15em; bottom: -.11em;
  width: .36em; height: .36em;
  border-left: max(3px, .042em) solid var(--accent);
  border-bottom: max(3px, .042em) solid var(--accent);
  animation: fade .8s .5s both;
}

.hero__tagline {
  margin-top: clamp(22px, 2.2vw, 34px);
  font-family: var(--mono);
  font-weight: 400; text-transform: uppercase;
  font-size: clamp(16px, 1.55vw, 22px); line-height: 1.4;
  letter-spacing: .16em; color: var(--bone);
  animation: rise .8s .28s var(--ease) both;
}
.hero__lede {
  margin-top: 22px; font-size: 18.5px; line-height: 1.65;
  color: var(--bone); max-width: 52ch;
  animation: rise .8s .38s var(--ease) both;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px;
  animation: rise .8s .48s var(--ease) both;
}

/* --- Marquee -------------------------------------------------------------- */
.marquee {
  border-top: 1px solid rgba(239,233,223,.14);
  border-bottom: 1px solid rgba(239,233,223,.14);
  overflow: hidden; margin: 0 calc(var(--gutter) * -1);
}
/* Call-to-action band. Sits full-bleed at the foot of the cream section and
   is itself the link, so the whole strip is clickable. */
.marquee--cta {
  display: block; border: 0; background: var(--accent);
  margin: 72px 0 0; transition: background .25s;
}
.marquee--cta:hover { background: var(--accent-dk); }
.marquee--cta .marquee__track { padding: 20px 0; animation-duration: 136s; }
.marquee--cta .marquee__group { color: var(--cream-lt); }
.marquee--cta .dot { color: var(--ink); }
.marquee__track {
  display: flex; white-space: nowrap; width: max-content;
  padding: 14px 0; animation: marquee 26s linear infinite;
}
.marquee__group {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 19px; letter-spacing: .12em;
  color: var(--bone);
}

/* --- Services ------------------------------------------------------------- */
.services {
  background: var(--cream); color: var(--ink);
  padding: 130px 0 0;
}
.services > .shell { padding: 0 var(--gutter); }
.services__head {
  border-bottom: 2px solid var(--ink); padding-bottom: 32px;
}
.services__title { font-size: clamp(38px, 5.4vw, 84px); line-height: .98; }
.services__standfirst {
  margin-top: 20px; font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.5; color: var(--on-lt-60); max-width: 46ch;
}

/* Three pillars — three columns across one line, matching the Our Story trio. */
/* Carousel meta — only used at phone width, where the pillars become a rail. */
.rail-meta { display: none; }
.rail-bar { flex: 1; height: 2px; background: var(--rule-lt); display: block; }
.rail-bar__fill {
  display: block; height: 100%; width: 33.333%;
  background: var(--accent); transition: width .22s var(--ease), margin-left .22s var(--ease);
}
.rail-count {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; color: var(--on-lt-50); flex: none;
}

.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
}
.pillar {
  padding: 0 34px; border-right: 1px solid rgba(19,17,16,.18);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; border-right: 0; }
.pillar__num {
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-weight: 600;
  font-size: 14px; letter-spacing: .18em; color: var(--accent);
}
.pillar__name {
  font-family: var(--mono); font-weight: 600; text-transform: uppercase;
  font-size: clamp(21px, 1.9vw, 28px); line-height: 1.2; letter-spacing: .07em;
}
.pillar__text {
  margin-top: 18px; font-size: 18.5px; line-height: 1.68;
  color: rgba(19,17,16,.68);
}
.pillar__text + .pillar__text { margin-top: 14px; }

.services__close {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 48px;
}
.services__note {
  margin: 0; font-size: 15px; font-weight: 600;
  letter-spacing: .08em; color: var(--on-lt-50); text-transform: uppercase;
}

/* --- Story ---------------------------------------------------------------- */
.story {
  background: var(--ink); color: var(--bone);
  padding: 120px var(--gutter) 130px; position: relative;
}
.story::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 12% 30%, rgba(196,58,40,.10), transparent 60%);
}
.story__grid {
  display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 72px; align-items: center; position: relative;
}
.story__figure { position: relative; height: min(72vh, 640px); margin: 0; }
.story__photo { width: 100%; height: 100%; object-fit: cover; }
.story__figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, #131110 0%, rgba(19,17,16,0) 30%),
    linear-gradient(90deg,  #131110 0%, rgba(19,17,16,0) 30%),
    linear-gradient(0deg,   #131110 0%, rgba(19,17,16,0) 30%);
}
.story__bracket {
  position: absolute; bottom: -10px; left: -10px; width: 34px; height: 34px;
  border-bottom: 3px solid var(--accent); border-left: 3px solid var(--accent);
  pointer-events: none; z-index: 1;
}
.story__title { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.story__text { margin-top: 30px; font-size: 19px; line-height: 1.7; color: var(--bone); max-width: 58ch; }
.story__text + .story__text { margin-top: 18px; }
.story__text--lead {
  font-size: clamp(21px, 1.7vw, 26px); line-height: 1.4;
  color: var(--bone); max-width: 30ch;
}
.story__text--lead + .story__text { margin-top: 22px; }

/* Honeypot — invisible to people, catches most bots. Not display:none,
   which some bots detect and skip. */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Shown only if a submission cannot be delivered. */
.form-fallback {
  margin-top: 18px; padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(196,58,40,.07);
  font-size: 17px; line-height: 1.55;
}
.form-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Tap targets. Small text links need a bigger hit area than their type size,
   and the crisis number most of all — somebody reaching for it on a phone
   should not have to aim. */
.footer__nav a { padding-block: 10px; white-space: nowrap; }
.footer__crisis a {
  display: inline-block; padding: 8px 4px; margin: -8px 0;
  font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 2px; color: var(--bone);
}
.footer__crisis a:hover { color: var(--accent); }
.details__val, .ig-lockup__handle { padding-block: 6px; }

/* --- Proof / on the ground ------------------------------------------------ */
.proof {
  background: var(--ink-deep); color: var(--bone);
  padding: 84px var(--gutter) 88px;
}
.proof__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 52px; align-items: center;
}
.proof__body { min-width: 0; }
.proof__head { max-width: 62ch; }

.proof__clip { margin: 0; position: relative; }
.proof__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(239,233,223,.55); border-radius: 50%;
  background: rgba(13,12,11,.55); color: var(--bone);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.proof__play:hover { background: var(--accent); border-color: var(--accent); }
.proof__play:active { transform: translate(-50%, -50%) scale(.94); }
.proof__play svg { margin-left: 3px; }
.proof__video { cursor: pointer; }
.proof__video {
  width: 100%; height: auto; display: block;
  aspect-ratio: 520 / 585; object-fit: cover;
  background: #0b0a09; border: 1px solid var(--rule-dark);
}
.proof__caption {
  margin-top: 12px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .12em; color: var(--on-dark-50); line-height: 1.5;
}
.proof__title { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.proof__standfirst {
  margin-top: 14px; font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.55; color: var(--on-dark-70); max-width: 62ch;
}
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px; border-top: 1px solid var(--rule-dark);
}
.stat { padding: 22px 26px 0; border-right: 1px solid var(--rule-dark-s); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__num {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(38px, 3.8vw, 58px); line-height: .9; letter-spacing: .01em;
}
.stat__plus { color: var(--accent); margin: 0 .11em; }
.stat__unit { font-size: .46em; letter-spacing: .02em; margin-left: .18em; vertical-align: .34em; }
.stat__label {
  margin-top: 10px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; line-height: 1.6; color: var(--on-dark-50);
}

.stat--word .stat__num {
  font-size: clamp(30px, 3.1vw, 48px); line-height: 1.05;
}

/* Small Instagram lockup — no third-party script, just tiles that link out. */
.ig-lockup {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule-dark);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.ig-lockup__copy {
  display: flex; align-items: center; gap: 18px; transition: opacity .2s;
}
.ig-lockup__copy:hover { opacity: .82; }
.ig-avatar {
  flex: none; width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-dark); background: rgba(239,233,223,.05);
  border-radius: 50%; overflow: hidden;
}
/* To use the real profile picture, replace the .mark inside .ig-avatar with an
   <img> pointing at a square image in the assets folder. */
.ig-avatar .mark--sm {
  width: 22px; height: 22px;
  border-left-width: 4px; border-bottom-width: 4px;
}
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-lockup__text { display: block; }
.ig-lockup__cta {
  display: block;
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(19px, 1.6vw, 24px); letter-spacing: .07em;
  text-transform: uppercase; color: var(--bone);
}
.ig-lockup__arrow { color: var(--accent); margin-left: .45em; font-weight: 400; }
/* Destination spelled out: the icon alone never tells anyone where a link goes. */
.ig-lockup__handle {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-weight: 600;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone);
}
.ig-lockup__sep { opacity: .55; margin: 0 .2em; }
.ig-lockup__copy:hover .ig-avatar { border-color: var(--accent); }
.ig-avatar { transition: border-color .2s; }
.ig-grid {
  display: grid; grid-template-columns: repeat(6, 64px);
  gap: 4px; flex: 0 0 auto;
}
.ig-grid:empty { display: none; }
.ig-grid img {
  width: 64px; height: 64px; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05); opacity: .85;
  transition: opacity .25s, filter .25s;
}
.ig-grid:hover img { opacity: 1; }

/* --- Who we work with ----------------------------------------------------- */
.audience {
  background: var(--bone); color: var(--ink);
  padding: 120px var(--gutter) 130px;
}
.audience__head { max-width: 62ch; }
.audience__title { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.audience__standfirst {
  margin-top: 20px; font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.55; color: var(--on-lt-60); max-width: 54ch;
}
.audience__list { margin-top: 56px; border-top: 1px solid var(--rule-lt); }
.audience__row {
  display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--rule-lt-s);
}
.audience__row > summary { display: block; list-style: none; position: relative; }
.audience__row > summary::-webkit-details-marker { display: none; }
.audience__name {
  font-family: var(--mono); font-weight: 600; text-transform: uppercase;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; letter-spacing: .07em;
}
.audience__text {
  font-size: 18.5px; line-height: 1.68; color: rgba(19,17,16,.68); max-width: 62ch;
}
.audience__foot {
  margin-top: 46px; display: flex; align-items: center;
  justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.audience__note { font-size: 19px; color: var(--on-lt-60); }

.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px; border-top: 1px solid var(--rule-dark);
}
.principle { padding: 22px 20px 0; border-right: 1px solid var(--rule-dark); }
.principle:first-child { padding-left: 0; }
.principle:last-child { padding-right: 0; border-right: 0; }
.principle__title { font-family: 'Anton', Impact, sans-serif; font-size: 19px; letter-spacing: .06em; }
.principle__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--bone); }

/* --- Booking -------------------------------------------------------------- */
.booking {
  background: var(--cream); color: var(--ink);
  padding: 110px var(--gutter) 130px;
}
.booking__shell { max-width: 1160px; margin: 0 auto; }
.booking__head { text-align: center; margin-bottom: 50px; }
.booking__title { font-size: clamp(38px, 5.4vw, 84px); line-height: .98; }
.booking__lede { margin-top: 16px; font-size: 18px; color: var(--on-lt-60); }

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin: 0 0 36px; padding: 0; list-style: none;
}
.step { border-top: 3px solid var(--rule-lt); padding-top: 12px; color: rgba(19,17,16,.38); transition: border-color .3s, color .3s; }
.step__num { font-family: 'Anton', Impact, sans-serif; font-size: 15px; letter-spacing: .08em; }
.step__label { font-size: 15.5px; font-weight: 500; letter-spacing: .04em; margin-left: 8px; }
.step.is-active { border-top-color: var(--accent); color: var(--ink); }
.step.is-active .step__label { font-weight: 700; }
.step.is-done { border-top-color: var(--ink); color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  border: 1px solid rgba(19,17,16,.25);
  font-size: 13.5px; font-weight: 700; letter-spacing: .1em;
  padding: 8px 14px; text-transform: uppercase;
}
.field-label {
  display: block; font-size: 14px; font-weight: 700;
  letter-spacing: .2em; color: var(--on-lt-50); margin-bottom: 14px;
}
.field-label--spaced { margin-top: 34px; }
.field-label.field-label--light { color: var(--on-dark-50); }

.date-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; }
.date-btn {
  border: 1px solid var(--rule-lt); background: transparent; color: var(--ink);
  padding: 14px 6px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: background .2s, border-color .2s, color .2s;
}
.date-btn:hover { border-color: rgba(19,17,16,.45); }
.date-btn__dow, .date-btn__mon { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--on-lt-50); }
.date-btn__mon { font-weight: 600; letter-spacing: .14em; }
.date-btn__day { font-family: 'Anton', Impact, sans-serif; font-size: 24px; }
.date-btn[aria-pressed='true'] {
  background: var(--accent); border-color: var(--accent); color: var(--cream-lt);
}
.date-btn[aria-pressed='true'] .date-btn__dow,
.date-btn[aria-pressed='true'] .date-btn__mon { color: rgba(246,241,232,.75); }

.time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.time-btn {
  border: 1px solid var(--rule-lt); background: transparent; color: var(--ink);
  padding: 15px 8px; font-size: 15.5px; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.time-btn:hover:not(:disabled) { border-color: rgba(19,17,16,.45); }
.time-btn:disabled {
  border-color: rgba(19,17,16,.07); color: rgba(19,17,16,.28);
  text-decoration: line-through; cursor: default;
}
.time-btn[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--cream-lt); }

.booking__panel { animation: fade .4s both; }
.booking__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 34px; }
.booking__nav--split { justify-content: space-between; }
.booking__form { max-width: 760px; margin: 0 auto; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field, .field-row + .field { margin-top: 18px; }
/* ...but not inside a two-up row, where both fields must sit on one baseline. */
.field-row > .field + .field { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field__label {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; color: rgba(19,17,16,.55);
}
.field input, .field textarea {
  border: 1px solid var(--field-line); background: var(--white); color: var(--ink);
  padding: 15px 16px; font-size: 16px; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(19,17,16,.38); }

.confirm {
  position: relative; max-width: 680px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--rule-lt);
  padding: 56px 52px; text-align: center; animation: fade .5s both;
}
.confirm__bracket { position: absolute; width: 34px; height: 34px; }
.confirm__bracket--tl { top: -10px; left: -10px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.confirm__bracket--br { bottom: -10px; right: -10px; border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.confirm__ref { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--on-lt-50); }
.confirm__title { margin-top: 16px; font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.confirm__sub {
  margin-top: 18px; font-family: var(--serif); font-weight: 400;
  font-size: 23px; color: rgba(19,17,16,.7);
}
.summary { margin-top: 34px; border-top: 1px solid rgba(19,17,16,.14); text-align: left; }
.summary__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 2px; border-bottom: 1px solid var(--rule-lt-s);
}
.summary__key { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--on-lt-50); }
.summary__val { font-size: 16px; font-weight: 600; text-align: right; }
.confirm__note { margin-top: 26px; font-size: 16.5px; line-height: 1.6; color: var(--on-lt-60); }
.confirm__again { margin-top: 30px; }

/* --- Contact -------------------------------------------------------------- */
.contact {
  background: var(--ink); color: var(--bone);
  padding: 110px var(--gutter) 120px;
}
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
}
.contact__title { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.contact__lede { margin-top: 24px; font-size: 18.5px; line-height: 1.65; color: var(--bone); max-width: 46ch; }
.details { margin-top: 40px; border-top: 1px solid var(--rule-dark); }
.details__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 2px; border-bottom: 1px solid var(--rule-dark-s);
}
.details__key { font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--on-dark-50); }
.details__val { font-size: 16px; font-weight: 600; text-align: right; }
a.details__val { transition: color .2s; }
a.details__val:hover { color: var(--accent); }

.contact__card { background: var(--cream); color: var(--ink); padding: 44px 40px; }
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.contact__form .field + .field { margin-top: 0; }
.contact__form .btn { align-self: flex-start; }
.contact__sent { text-align: center; padding: 40px 0; animation: fade .4s both; }
.contact__sent-title { font-size: 36px; }
.contact__sent-text { margin-top: 14px; font-size: 17px; color: rgba(19,17,16,.65); }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink-deep); color: var(--bone); padding: 100px var(--gutter) 36px; }
.footer__top {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 32px; border-bottom: 1px solid rgba(239,233,223,.14); padding-bottom: 56px;
}
.footer__title { font-size: clamp(40px, 7vw, 110px); line-height: .96; }
.footer__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__place { font-size: 14px; letter-spacing: .18em; color: var(--bone); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 26px; font-size: 14.5px; color: var(--bone);
}
.footer__id { display: flex; align-items: center; gap: 10px; }
.mark--sm { width: 12px; height: 12px; border-left-width: 2px; border-bottom-width: 2px; }

/* --- Logo ----------------------------------------------------------------- */
/* The artwork is fine line work: below roughly 48px the hands turn to mush, so
   it gets real size in both placements rather than being shrunk to a bullet. */
.nav__logo { width: 38px; height: 38px; flex: none; }
.footer__logo { width: 104px; height: 104px; margin-bottom: 6px; }
@media (max-width: 820px) {
  .nav__logo { width: 32px; height: 32px; }
  .footer__logo { width: 84px; height: 84px; }
}
.footer__byline { font-size: 12px; color: var(--bone); }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; }
.footer__nav a { color: var(--bone); transition: color .2s, text-decoration-color .2s; }
/* Base and hover are the same bone, so the affordance is the underline. */
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__crisis { max-width: 100%; color: var(--bone); }
.footer__crisis a { color: var(--bone); text-decoration: underline; }

/* Serif strokes thin out on dark grounds — carry a little more weight there. */
.hero__lede, .story__text, .principle__text, .contact__lede {
  font-weight: 420;
}

/* --- Motion --------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Only hide content when JS is running — no-JS visitors see everything. */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .75s ease, transform .75s var(--ease);
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .proof__grid { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(200px, 240px); }
  .nav__links { gap: 22px; }
  .nav__link { font-size: 12.5px; letter-spacing: .07em; }
  /* What We Do becomes a snap rail. The next card peeks past the gutter,
     which is what signals "there is more" — no icon needed. */
  .pillars {
    display: flex; grid-template-columns: none;
    gap: 14px; margin: 30px calc(var(--gutter) * -1) 0;
    padding: 0 var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar {
    flex: 0 0 88%; max-width: 340px; scroll-snap-align: start;
    padding: 24px 22px; border: 1px solid rgba(19,17,16,.18);
  }
  .pillar:first-child, .pillar:last-child { padding: 24px 22px; }
  .pillar__name { font-size: 20px; }
  .pillar__text { font-size: 17.5px; }
  .rail-meta { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
  .story__grid { grid-template-columns: 1fr; gap: 44px; }
  .story__figure { height: min(56vh, 460px); }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 820px) {
  :root { --gutter: 22px; }
  .nav__links { gap: 18px; }
  .nav__link { display: none; }
  .hero { padding-top: 120px; }
  .hero__photo-wrap { width: 100%; }
  .hero__scrim {
    background:
      linear-gradient(90deg, #131110 0%, rgba(19,17,16,.86) 38%, rgba(19,17,16,.42) 78%, rgba(19,17,16,.2) 100%),
      linear-gradient(0deg, rgba(19,17,16,.75) 0%, rgba(19,17,16,0) 42%);
  }
  .hero__copy { padding-bottom: 44px; }
  .services { padding: 80px 0 0; }
  .proof { padding: 80px var(--gutter) 90px; }
  .proof__grid { grid-template-columns: 1fr; gap: 40px; }
  .proof__clip { max-width: 340px; }
  .stats { grid-template-columns: 1fr; margin-top: 34px; }
  .stat {
    padding: 24px 0; border-right: 0;
    border-bottom: 1px solid var(--rule-dark-s);
    display: flex; align-items: baseline; gap: 18px;
  }
  .stat:last-child { border-bottom: 0; }
  .stat__label { margin-top: 0; }
  .ig-lockup { margin-top: 42px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .ig-grid { grid-template-columns: repeat(6, 1fr); width: 100%; }
  .ig-grid img { width: 100%; height: auto; aspect-ratio: 1; }
  .audience { padding: 80px var(--gutter) 90px; }
  .audience__list { margin-top: 38px; }
  /* Who We Work With becomes a tap-to-open list, so every label stays
     visible and a visitor can find themselves without reading the rest. */
  .audience__row { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .audience__row > summary {
    padding: 19px 34px 19px 0; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .audience__row > summary::after {
    content: '+'; position: absolute; right: 2px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono); font-size: 21px; line-height: 1; color: var(--accent);
  }
  .audience__row[open] > summary::after { content: '\2013'; }
  .audience__text { padding: 0 0 22px; }
  .audience__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .booking { padding: 80px var(--gutter) 90px; }
  .story, .contact { padding: 80px var(--gutter) 90px; }
  .services__close { flex-direction: column; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 22px 0 22px; border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .principle:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .confirm { padding: 40px 24px; }
  .summary__row { flex-direction: column; gap: 4px; }
  .summary__val { text-align: left; }
  .contact__card { padding: 32px 24px; }
  .footer { padding: 70px var(--gutter) 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__nav { gap: 2px 20px; }
  .footer__crisis { font-size: 16.5px; line-height: 1.6; }
  .booking__nav--split { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .nav__wordmark { font-size: 15px; letter-spacing: .1em; }
  .nav__cta { padding: 10px 14px; font-size: 12.5px; letter-spacing: .08em; }
  .btn { padding: 14px 24px; font-size: 15px; }
  .btn--lg { padding: 15px 26px; }
  .hero__title { font-size: clamp(48px, 15vw, 80px); }
  .details__row { flex-direction: column; gap: 4px; }
  .details__val { text-align: left; }
}

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