:root {
  color-scheme: light;
  --paper: #f3eddf;
  --paper-deep: #e9e0d0;
  --ink: #171614;
  --muted: #766f63;
  --signal: #a83c2d;
  --line: rgba(23, 22, 20, 0.2);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .11;
  background-image: radial-gradient(rgba(40, 30, 20, .36) .45px, transparent .55px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: .65rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .075em;
  white-space: nowrap;
}
.brand-dot, .eyebrow-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--signal);
}
.brand-divider { padding: 0 .28em; color: var(--signal); }
.index-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 5.75rem;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 .68rem var(--body);
  letter-spacing: .08em;
  cursor: pointer;
}
.index-toggle[hidden] { display: none; }
.toggle-mark { color: var(--signal); font-size: 1.25rem; line-height: .7; }
.story-index {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.45rem, 1.4vw, 1.4rem);
}
.story-index a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .4rem .2rem;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-decoration: none;
  transition: color .18s ease;
}
.story-index a span:first-child { color: var(--signal); font-family: var(--display); font-size: .78rem; }
.story-index a:hover, .story-index a:focus-visible { color: var(--ink); }

.opening {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: min(70svh, 48rem);
  padding: clamp(4.5rem, 12vw, 10rem) var(--gutter) clamp(5rem, 11vw, 9rem);
  border-bottom: 1px solid var(--line);
}
.eyebrow, .scene-label {
  margin: 0;
  color: var(--signal);
  font-family: var(--display);
  font-size: clamp(.72rem, 1.1vw, .9rem);
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow-dot { width: .46rem; height: .46rem; }
h1 {
  max-width: 10ch;
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 10.3vw, 8.7rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: .91;
  text-transform: uppercase;
}
h1 em { color: var(--signal); font-style: normal; }
.down-link {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.down-link svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.down-link:hover { transform: translateY(3px); background: var(--ink); color: var(--paper); }

.sequence { width: min(100%, 1440px); margin-inline: auto; padding: 0 var(--gutter); }
.scene {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}
.scene-copy { position: relative; display: flex; align-items: center; gap: 1rem; }
.scene-label { color: var(--ink); font-size: clamp(.78rem, 1.4vw, 1rem); }
.scene-label > span:first-child { color: var(--signal); }
.slash { padding-inline: .55em; color: var(--signal); }
.scene-rule { display: block; width: clamp(2rem, 5vw, 5rem); height: 1px; background: var(--line); }
.scene-art { width: min(100%, 720px); margin: 0; justify-self: end; }
.scene-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(23, 22, 20, .16);
  background: var(--paper-deep);
  box-shadow: 0 1rem 2.4rem rgba(28, 24, 18, .11);
}
.scene:nth-child(even) .scene-copy { grid-column: 2; grid-row: 1; }
.scene:nth-child(even) .scene-art { grid-column: 1; grid-row: 1; justify-self: start; }

.choice {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(74svh, 54rem);
  overflow: hidden;
  padding: clamp(4rem, 12vw, 9rem) var(--gutter);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(168, 60, 45, .07), transparent 37%),
    var(--paper);
  scroll-margin-top: 5.5rem;
}
.choice::before, .choice::after {
  position: absolute;
  content: "";
  width: min(76vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 22, 20, .14);
  border-radius: 50%;
  pointer-events: none;
}
.choice::after { width: min(60vw, 33rem); border-style: dashed; border-color: rgba(168, 60, 45, .28); }
.choice-mark {
  position: absolute;
  top: clamp(2rem, 6vw, 5rem);
  right: var(--gutter);
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--signal);
}
.choice-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 3vw, 2rem);
  width: min(100%, 52rem);
  min-height: clamp(5.5rem, 16vw, 10.5rem);
  padding: clamp(1rem, 3.5vw, 2.5rem) clamp(1.1rem, 4.3vw, 3.2rem);
  border: 2px solid var(--ink);
  border-radius: clamp(1.1rem, 3vw, 2rem);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 0 var(--signal), 0 1.5rem 3rem rgba(23, 22, 20, .12);
  text-decoration: none;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  touch-action: manipulation;
}
.choice-button:hover, .choice-button:focus-visible {
  background: #24221f;
  box-shadow: 0 12px 0 var(--signal), 0 1.8rem 3rem rgba(23, 22, 20, .16);
  transform: translateY(-4px);
}
.choice-button:active {
  box-shadow: 0 3px 0 var(--signal), 0 .6rem 1.5rem rgba(23, 22, 20, .13);
  transform: translateY(5px) scale(.995);
}
.choice-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5.6vw, 4.25rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .98;
  text-transform: uppercase;
}
.choice-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(2.8rem, 7vw, 4.7rem);
  height: clamp(2.8rem, 7vw, 4.7rem);
  border: 1px solid rgba(243, 237, 223, .7);
  border-radius: 50%;
  background: var(--signal);
  color: var(--paper);
  transition: transform .18s ease;
}
.choice-arrow svg { width: 48%; height: 48%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.choice-button:hover .choice-arrow { transform: translateX(3px); }
.choice-ring { position: absolute; z-index: 0; width: min(88vw, 48rem); aspect-ratio: 1; border: 1px solid rgba(23, 22, 20, .08); border-radius: 50%; pointer-events: none; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 4.5rem;
  padding: 1rem var(--gutter);
  color: var(--muted);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .12em;
}
.site-footer .brand-dot { width: .42rem; height: .42rem; }

@media (max-width: 47.99rem) {
  html { scroll-padding-top: 4.5rem; }
  .site-header { min-height: 3.75rem; }
  .brand { max-width: calc(100% - 6.3rem); gap: .5rem; font-size: .7rem; letter-spacing: .045em; overflow: hidden; }
  .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .brand-dot { width: .48rem; height: .48rem; }
  .index-toggle { display: inline-flex; flex: 0 0 auto; }
  .story-index {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: .45rem var(--gutter) .8rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .story-index[hidden] { display: none; }
  .story-index a { justify-content: flex-start; border-bottom: 1px solid rgba(23, 22, 20, .09); }
  .opening { min-height: min(66svh, 38rem); padding-top: clamp(4rem, 18vw, 7rem); padding-bottom: 4rem; }
  h1 { max-width: 100%; margin-top: 1rem; font-size: clamp(2.45rem, 12.3vw, 3.3rem); line-height: .92; }
  .sequence { padding-inline: clamp(.8rem, 3vw, 1.25rem); }
  .scene {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
    padding-block: clamp(2.6rem, 10vw, 4rem);
  }
  .scene-copy { min-height: 1.4rem; justify-content: space-between; }
  .scene-label { font-size: .78rem; }
  .scene-art { width: 100%; max-width: 38rem; justify-self: center; }
  .scene:nth-child(even) .scene-copy,
  .scene:nth-child(even) .scene-art { grid-column: 1; grid-row: auto; }
  .scene:nth-child(even) .scene-art { justify-self: center; }
  .scene-art img { box-shadow: 0 .6rem 1.4rem rgba(28, 24, 18, .1); }
  .choice { min-height: min(66svh, 38rem); padding-inline: var(--gutter); }
  .choice::before { width: min(90vw, 31rem); }
  .choice::after { width: min(72vw, 25rem); }
  .choice-button { min-height: 5.3rem; gap: .7rem; padding: .9rem 1rem; border-radius: 1.15rem; box-shadow: 0 6px 0 var(--signal), 0 .8rem 1.8rem rgba(23, 22, 20, .12); }
  .choice-title { font-size: clamp(1.45rem, 6.35vw, 2.35rem); }
  .choice-arrow { width: 2.65rem; height: 2.65rem; }
}

@media (max-width: 350px) {
  .brand { font-size: .64rem; }
  .index-toggle { min-width: 4.8rem; gap: .4rem; padding-inline: .55rem; }
  .choice-title { font-size: 1.34rem; }
}

@media (hover: none) {
  .down-link:hover, .choice-button:hover { transform: none; }
  .choice-button:active { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
