/* Then One Day — Overly Otis
   White is dominant. Black and yellow are accents.
   Signature move: headings styled like the burned-in captions from the videos. */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --yellow: #f9c513;      /* pulled from the shirt in the logo */
  --yellow-soft: #fff4c7;
  --muted: #555555;
  --line: #e4e4e4;
  --wash: #f7f7f5;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
  border-radius: 6px;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Caption styles (the signature) ---------- */

/* Like the white subtitle boxes in the videos, flipped for a white page */
.caption-box {
  display: inline;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.12em 0.42em;
  border-radius: 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  line-height: 1.5;
  font-weight: 700;
}

/* Like the yellow, black-outlined captions in the videos */
.caption-yellow {
  color: var(--yellow);
  -webkit-text-stroke: 0.09em var(--ink);
  paint-order: stroke fill;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font: inherit; font-weight: 700; font-size: 1.0625rem;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  padding: 0.85em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--yellow); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-small { padding: 0.5em 1em; font-size: 0.95rem; }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }

.topbar nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.topbar nav a:not(.btn) { text-decoration: none; font-weight: 600; }
.topbar nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Sections (shared rhythm) ---------- */

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); display: inline; }
.section-head h2.caption-yellow { display: block; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.125rem; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(40px, 6vw, 80px) !important;
}

.hero-title {
  font-size: clamp(4rem, 13vw, 10.5rem);
  font-weight: 800;
  font-stretch: 78%;
  font-variation-settings: "wdth" 78;
  letter-spacing: -0.035em;
  line-height: 0.88;
  margin-bottom: 0.32em;
}
.hero-title span { display: inline-block; }

/* One orchestrated moment: words pop in like auto-captions */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span {
    opacity: 0;
    transform: translateY(0.12em) scale(.96);
    animation: pop .38s cubic-bezier(.2,.9,.3,1.3) forwards;
  }
  .hero-title span:nth-child(1) { animation-delay: .15s; }
  .hero-title span:nth-child(2) { animation-delay: .5s; }
  .hero-title span:nth-child(3) { animation-delay: .85s; }
  .hero-question { opacity: 0; animation: fade .5s ease 1.45s forwards; }
}
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

.hero-question {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}
.hero-question { display: inline; }

.hero-sub {
  max-width: 34em;
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

.hero-still {
  margin: 0;
  justify-self: end;
  width: min(100%, 360px);
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
  rotate: 1.5deg;
}
.hero-still img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---------- Stills strip ---------- */

.watch .section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

.stills {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.stills li {
  border-radius: 18px;
  overflow: hidden;
  background: var(--wash);
}
.stills img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700;
}
.socials svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

.socials-big { margin-top: clamp(28px, 4vw, 40px); gap: 12px; }
.socials-big a {
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background-color .15s ease;
}
.socials-big a:hover { background: var(--yellow); }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.about-logo img { width: 100%; max-width: 420px; margin-inline: auto; }

.about-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

.about blockquote { margin: 28px 0 0; }
.about blockquote p {
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 30em;
}
.about blockquote footer { font-weight: 700; }
.about blockquote footer::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--yellow); vertical-align: middle; margin-right: 10px; }

/* ---------- Steps (a real sequence, so it's numbered) ---------- */

.steps {
  background: var(--wash);
  border-radius: 28px;
  max-width: calc(var(--max) - 2 * var(--gutter)) !important;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) !important;
}
main > .steps { margin: 0 var(--gutter); }
@media (min-width: 1180px) { main > .steps { margin: 0 auto; } }

.steps h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: clamp(28px, 4vw, 44px); }

.steps ol {
  list-style: none; margin: 0; padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Rules ---------- */

.rule-list { border-top: 2px solid var(--ink); }

.rule { border-bottom: 2px solid var(--ink); }

.rule summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 28px) 4px;
}
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after {
  content: "+";
  font-size: 2rem; font-weight: 500; line-height: 1;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  align-self: center;
}
.rule[open] summary::after { content: "–"; background: var(--yellow); }
.rule summary:hover .rule-name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 6px; }

.rule-num { font-weight: 600; color: var(--muted); font-size: 1.05rem; }
.rule-name { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }

.rule-body {
  max-width: 44em;
  margin-left: calc(7.5rem + 16px);
  padding: 0 4px clamp(24px, 3vw, 36px);
  font-size: 1.1rem;
}
.rule-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.rule-body li { margin-bottom: .4em; }
.rule-body .pull {
  font-size: 1.35rem; font-weight: 700; line-height: 1.3;
  border-left: 5px solid var(--yellow);
  padding-left: 16px;
}

.signoff {
  margin: clamp(40px, 6vw, 64px) 0 0;
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  max-width: 16em;
}

/* ---------- Casting form ---------- */

.apply { max-width: 860px !important; }

.apply-head { margin-bottom: clamp(28px, 4vw, 40px); }
.apply-head h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.apply-head p { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 36em; }

.form fieldset {
  border: 0; margin: 0 0 36px; padding: 0;
}
.form legend {
  font-size: 1.35rem; font-weight: 800;
  padding: 0; margin-bottom: 18px;
  width: 100%;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.grid .field { margin-bottom: 0; }

.field label { font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); }
.hint { margin: 0; color: var(--muted); font-size: .95rem; }

.field input,
.field textarea {
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input[readonly] { background: var(--wash); border-color: var(--line); color: var(--muted); }
.field input:focus,
.field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.field input::placeholder,
.field textarea::placeholder { color: #8a8a8a; }

.is-invalid { border-color: #c4001a !important; box-shadow: 0 0 0 3px rgba(196,0,26,.15) !important; }

.check {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 16px;
  font-size: 1.05rem;
  cursor: pointer;
}
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none;
  width: 24px; height: 24px; margin: 1px 0 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  display: grid; place-items: center;
  cursor: pointer;
}
.check input:checked { background: var(--yellow); }
.check input:checked::after {
  content: ""; width: 7px; height: 12px;
  border: solid var(--ink); border-width: 0 3px 3px 0;
  transform: translateY(-1px) rotate(45deg);
}
.check.is-invalid-check span { color: #c4001a; }

.release {
  margin: 8px 0 20px;
  max-height: 22rem;
  overflow: auto;
  padding: 22px clamp(18px, 3vw, 28px);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.98rem;
}
.release h3 { font-size: 1.2rem; margin-bottom: 10px; }
.release ol { padding-left: 1.3em; margin: 0; }
.release li { margin-bottom: .7em; }

.sign { margin-top: 8px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot .btn { font-size: 1.15rem; padding: 0.95em 1.8em; }
.form-status { margin: 0; font-weight: 600; }
.form-status.error { color: #c4001a; }

.honey { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.success {
  text-align: left;
  padding: clamp(28px, 5vw, 48px);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--yellow);
}
.success img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 20px; }
.success h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.success p { margin-top: 18px; font-size: 1.15rem; max-width: 32em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px var(--gutter) 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; }
.foot-brand p { margin: 0; color: #cfcfcf; }
.foot-brand .foot-name { color: var(--paper); font-weight: 800; font-size: 1.25rem; }

.site-footer .socials a {
  width: 46px; height: 46px; justify-content: center;
  border-radius: 50%;
  background: #1f1f1f;
}
.site-footer .socials a:hover { background: var(--yellow); color: var(--ink); }

.foot-small { grid-column: 1 / -1; margin: 0; color: #a8a8a8; font-size: .95rem; border-top: 1px solid #2a2a2a; padding-top: 20px; }
.foot-small a { color: var(--paper); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-still { justify-self: start; width: min(78%, 320px); rotate: -1.5deg; }
  .about { grid-template-columns: 1fr; }
  .about-logo img { max-width: 260px; margin: 0; }
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .topbar nav a:not(.btn) { display: none; }
  .brand span { font-size: 1.05rem; }

  .stills {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 68%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .stills::-webkit-scrollbar { display: none; }
  .stills li { scroll-snap-align: center; }

  .steps ol { grid-template-columns: 1fr; }

  .rule summary { grid-template-columns: 1fr auto; row-gap: 2px; }
  .rule-num { grid-column: 1; grid-row: 1; }
  .rule-name { grid-column: 1; grid-row: 2; }
  .rule summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .rule-body { margin-left: 0; font-size: 1.03rem; }

  .grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }

  .site-footer { grid-template-columns: 1fr; }
}
