/* S:24 page. Loads after /styles.css. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav nav a[aria-current="page"] { background-size: 100% 1px; }

.s24-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88svh, 52rem); display: grid; align-items: end;
  padding: clamp(6rem, 18vh, 12rem) var(--gutter) clamp(3rem, 8vh, 5.5rem);
  background: var(--deep); color: #fff;
}
.s24-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.s24-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(29 38 44 / .88) 0%, rgb(29 38 44 / .72) 45%, rgb(29 38 44 / .25) 80%),
    linear-gradient(180deg, rgb(29 38 44 / .15) 0%, rgb(29 38 44 / .3) 45%, rgb(29 38 44 / .85) 100%);
}
.s24-hero-copy { max-width: 46rem; }
.s24-hero h1 { font-size: clamp(2.8rem, 6.2vw, 6rem); color: #fff; }
.s24-hero p { margin-top: 1.5rem; max-width: 48ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: #efe9e6; }
.s24-motion {
  all: unset; cursor: pointer; position: absolute; right: var(--gutter); bottom: 1.75rem;
  font-size: .8rem; font-weight: 600; color: #fff; padding: .35rem .8rem;
  border: 1px solid rgb(255 255 255 / .5); border-radius: 999px;
}
.s24-motion:hover { background: rgb(255 255 255 / .12); }
.s24-motion:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* The 1 / 30 / 50 graphic from the campaign emails */
.s24-math { padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 5vw, 4rem); }
.orbit { position: relative; max-width: 62rem; margin: 0 auto; aspect-ratio: 1000 / 420; }
.orbit-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-arcs path { fill: none; stroke-width: 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.orb {
  position: absolute; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--deep); color: #fff;
  display: grid; place-content: center; text-align: center;
  --orb-ring: var(--tang);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--orb-ring), 0 24px 40px -24px rgb(29 38 44 / .55);
}
.orb-1 { left: 13%; top: 72%; --orb-ring: var(--sun); }
.orb-30 { left: 50%; top: 30%; width: 25%; }
.orb-50 { left: 87%; top: 72%; --orb-ring: var(--rose); }
.orb-n { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 600; line-height: .95; letter-spacing: -0.04em; color: var(--orb-ring); }
.orb-l { margin-top: .4rem; font-size: clamp(.8rem, 1.1vw, 1rem); font-weight: 500; }
.orb-mark { position: absolute; left: 50%; top: 82%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .4rem; font-weight: 600; color: var(--ink-2); }
.ring-lg { width: clamp(2.2rem, 4vw, 3.4rem); background: conic-gradient(from 200deg, var(--rose), var(--sun), var(--tang), var(--rose)); }

/* Deliverables bar */
.s24-deliver { padding-top: clamp(2rem, 5vw, 4rem); }
.s24-deliver h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.deliver-bar {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  background: var(--linen); border-radius: var(--r-lg); padding: .5rem 1.25rem;
}
.deliver-bar li { display: grid; align-content: end; gap: .35rem; padding: 1.5rem 1rem 1.6rem; border-left: 1px solid var(--rule); position: relative; }
.deliver-bar li:first-child { border-left: 0; }
.deliver-bar svg { width: 2rem; height: 2rem; fill: none; stroke: var(--slate); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .6rem; }
.deliver-bar b { font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.deliver-bar span { font-size: .95rem; font-weight: 500; line-height: 1.3; }
.deliver-bar li::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .6rem; height: 3px; border-radius: 3px;
  background: var(--s24); background-size: 800% 100%; background-position: var(--p) 0;
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.deliver-bar li:nth-child(1) { --p: 0%; }
.deliver-bar li:nth-child(2) { --p: 14%; }
.deliver-bar li:nth-child(3) { --p: 28%; }
.deliver-bar li:nth-child(4) { --p: 43%; }
.deliver-bar li:nth-child(5) { --p: 57%; }
.deliver-bar li:nth-child(6) { --p: 71%; }
.deliver-bar li:nth-child(7) { --p: 86%; }
.deliver-bar li:nth-child(8) { --p: 100%; }
.deliver-bar li:hover::after { transform: none; }
.deliver-line { margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; max-width: 32ch; text-wrap: balance; }

/* Proposal form */
.s24-form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 4vw, 4.5rem); }
.proposal-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.proposal-copy p { margin-top: 1.25rem; color: var(--ink-2); max-width: 44ch; }
.proposal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-content: start; }
.proposal { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.5rem); }
.proposal label { display: grid; gap: .5rem; font-weight: 600; font-size: .95rem; align-content: start; }
.proposal .full { grid-column: 1 / -1; }
.proposal input, .proposal textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid #b9c3c8; border-radius: 10px; padding: .9rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.proposal textarea { resize: vertical; min-height: 7.5rem; }
.proposal input:hover, .proposal textarea:hover { border-color: var(--ink-2); }
.proposal input:focus, .proposal textarea:focus { outline: none; box-shadow: 0 0 0 4px rgb(106 82 253 / .18); border-color: var(--violet); }
.proposal [aria-invalid] { border-color: #b0263f; }
.field-error { color: #b0263f; font-weight: 500; font-size: .85rem; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot .pill { border: 0; cursor: pointer; font-family: inherit; }
.form-foot .pill:disabled { opacity: .6; cursor: progress; }
.form-status { font-weight: 500; max-width: 46ch; }
.proposal.sent input, .proposal.sent textarea { background: var(--linen); }

.contact-slim { padding-top: 3rem; grid-template-columns: 1fr; }
.contact-slim .contact-info { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem 4rem; }

@media (max-width: 991px) {
  .deliver-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deliver-bar li:nth-child(5) { border-left: 0; }
  .deliver-bar li:nth-child(n+5) { border-top: 1px solid var(--rule); }
  .s24-form { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .orbit { aspect-ratio: 1000 / 560; }
  .orb { width: 26%; }
  .orb-30 { width: 30%; top: 26%; }
  .orb-1, .orb-50 { top: 66%; }
  .orb-1 { left: 16%; }
  .orb-50 { left: 84%; }
  .orb-mark { top: 90%; }
  .deliver-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliver-bar li { padding: 1.1rem .9rem 1.2rem; }
  .deliver-bar li:nth-child(odd) { border-left: 0; }
  .deliver-bar li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .proposal { grid-template-columns: 1fr; }
  .contact-slim .contact-info { grid-template-columns: 1fr; }
  .s24-motion { bottom: 1rem; }
  .s24-hero::before { background: linear-gradient(180deg, rgb(29 38 44 / .55), rgb(29 38 44 / .92) 55%); }
}
@media (prefers-reduced-motion: reduce) { .deliver-bar li::after { transition: none; } }

/* ==========================================================================
   Round 4: louder S:24
   ========================================================================== */
.s24-hero { min-height: 100svh; padding-top: 8rem; background: #15121c; }
.s24-hero::before {
  background:
    linear-gradient(90deg, rgb(21 18 28 / .86) 0%, rgb(21 18 28 / .6) 50%, rgb(21 18 28 / .1) 85%),
    linear-gradient(180deg, rgb(21 18 28 / .5) 0%, transparent 25%, rgb(21 18 28 / .75) 100%),
    radial-gradient(50rem 34rem at 0% 100%, rgb(251 86 128 / .3), transparent 70%);
}
.s24-hero-copy { max-width: none; }
.s24-hero h1 { font-size: clamp(3rem, 9.4vw, 10rem); line-height: .9; letter-spacing: -0.05em; }
.s24-hero h1 > span { display: block; }
.s24-hero h1 em { font-style: normal; }
.s24-hero p { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .s24-hero h1 > span, .s24-hero p, .s24-hero .actions { animation: rise 1.1s var(--ease) both; }
  .s24-hero h1 > span:nth-child(2) { animation-delay: .12s; }
  .s24-hero p { animation-delay: .3s; }
  .s24-hero .actions { animation-delay: .42s; }
}

/* 1 / 30 / 50 on the warm gradient */
.s24-math { padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.s24-math .band-marquee { margin: 0 calc(-1 * var(--gutter)) clamp(1.5rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.s24-math .orbit-arcs path { stroke: #fff; stroke-dasharray: 900; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); }
.orbit.pre .orbit-arcs path { stroke-dashoffset: 900; }
.s24-math .orb { background: #15121c; box-shadow: 0 0 0 6px #fff, 0 30px 50px -24px rgb(21 18 28 / .6); transition: transform .6s var(--ease); }
.s24-math .orb:hover { transform: translate(-50%, -50%) scale(1.05); }
.s24-math .orb-n { font-variant-numeric: tabular-nums; }
.s24-math .orb-mark { color: var(--ink); }
.s24-math .ring-lg { background: var(--brand-ring); }

/* Deliverables as colour tiles on dark */
.s24-deliver { background: #15121c; color: #fff; }
.s24-deliver h2 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 5.6rem); }
.deliver-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); background: none; padding: 0; perspective: 1000px; }
.deliver-bar li {
  --c: var(--sun); --f: var(--ink);
  border: 0; border-radius: var(--r-lg); background: var(--c); color: var(--f);
  padding: clamp(1.25rem, 2.2vw, 2rem); min-height: clamp(10rem, 16vw, 14rem);
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.deliver-bar li::after { display: none; }
.deliver-bar li:hover { box-shadow: 0 30px 50px -28px rgb(0 0 0 / .7); }
.deliver-bar li:nth-child(2) { --c: var(--tang); }
.deliver-bar li:nth-child(3) { --c: var(--rose); }
.deliver-bar li:nth-child(4) { --c: #e35ef9; }
.deliver-bar li:nth-child(5) { --c: #9d8bff; }
.deliver-bar li:nth-child(6) { --c: #7f9cff; }
.deliver-bar li:nth-child(7) { --c: var(--sky); }
.deliver-bar svg { stroke: currentColor; width: 2.4rem; height: 2.4rem; }
.deliver-bar b { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
.deliver-bar span { font-size: 1.05rem; font-weight: 600; }
.deliver-line { color: #fff; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.15; max-width: 26ch; }

/* Form on the brand gradient */
.s24-form { color: #fff; }
.proposal-copy h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 5rem); }
.proposal-copy p { color: #fff; }
.proposal { color: var(--ink); box-shadow: 0 40px 80px -40px rgb(21 18 28 / .6); }

@media (max-width: 991px) {
  .deliver-bar li:nth-child(n+5) { border-top: 0; }
}
@media (max-width: 767px) {
  .s24-hero { min-height: 92svh; padding-top: 6.5rem; }
  .s24-hero h1 { font-size: clamp(2.6rem, 12.4vw, 4rem); }
  .s24-hero::before { background: linear-gradient(180deg, rgb(21 18 28 / .5), rgb(21 18 28 / .9) 55%); }
  .deliver-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliver-bar li { min-height: 9rem; }
  .deliver-bar li:nth-child(n+3) { border-top: 0; }
}

/* Five numbered tiles, then the three formats as a slimmer row (no invented numbers) */
.deliver-bar { grid-template-columns: repeat(15, minmax(0, 1fr)); }
.deliver-bar li { grid-column: span 3; }
.deliver-bar li:nth-child(n+6) { grid-column: span 5; min-height: 0; display: flex; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.deliver-bar li:nth-child(n+6) svg { margin: 0; flex: none; }
.deliver-bar li:nth-child(n+6) span { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
@media (max-width: 991px) {
  .deliver-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .deliver-bar li { grid-column: span 2; }
  .deliver-bar li:nth-child(4), .deliver-bar li:nth-child(5) { grid-column: span 3; }
  .deliver-bar li:nth-child(n+6) { grid-column: span 6; }
}
@media (max-width: 767px) {
  .deliver-bar li { grid-column: span 3; }
  .deliver-bar li:nth-child(5) { grid-column: span 6; }
}

/* Final review polish */
.s24-hero::before {
  background:
    linear-gradient(90deg, rgb(21 18 28 / .92) 0%, rgb(21 18 28 / .9) 55%, rgb(21 18 28 / .2) 90%),
    linear-gradient(180deg, rgb(21 18 28 / .5) 0%, transparent 25%, rgb(21 18 28 / .75) 100%);
}
.deliver-line { text-wrap: balance; }
@media (max-width: 767px) {
  .s24-hero::before { background: linear-gradient(180deg, rgb(21 18 28 / .6), rgb(21 18 28 / .92) 50%); }
  .orb-30 { width: 36%; }
  .orb-l { font-size: .75rem; line-height: 1.2; }
}

/* Shannon: the reel's own copy must read. The video gets its own uncovered panel beside the headline. */
.s24-hero {
  min-height: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(2rem, 4vw, 4rem); padding: clamp(7rem, 12vh, 9rem) var(--gutter) clamp(3rem, 7vh, 5rem);
}
.s24-hero::before { display: none; }
.s24-bg {
  position: relative; inset: auto; z-index: 0; order: 2; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: 50% 50%; border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08);
}
.s24-hero-copy { order: 1; max-width: 34rem; }
.s24-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.8rem); line-height: .95; }
.s24-hero p { font-size: clamp(1rem, 1.15vw, 1.15rem); }
.s24-bg { grid-column: 2; grid-row: 1; }
.s24-hero-copy { grid-column: 1; grid-row: 1; }
.s24-hero .stage-toggle { position: relative; inset: auto; grid-column: 2; grid-row: 1; align-self: start; justify-self: end; margin: 1rem; z-index: 1; }
@media (max-width: 991px) {
  .s24-hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .s24-bg, .s24-hero .stage-toggle { grid-column: 1; grid-row: 1; }
  .s24-hero-copy { grid-column: 1; grid-row: 2; max-width: none; }
  .s24-hero .stage-toggle { margin: .75rem; }
}
@media (max-width: 767px) { .s24-hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); } }
