@font-face {
  font-family: "Funnel Display";
  src: url("fonts/FunnelDisplay-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Funnel Sans";
  src: url("fonts/FunnelSans-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter Logo";
  src: url("fonts/InterLogo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0c10;
  --bg-deep: #07080b;
  --ink: #eef2f7;
  --ink-2: #cfd3dc;
  --ink-3: #9da3b0;
  --accent: #eb5968;
  --line-strong: rgb(255 255 255 / 0.18);
  --halo: 0 0 2px rgb(5 6 9 / 0.72), 0 0 20px rgb(5 6 9 / 0.72);
  --tape: #f0a63a;
  --tape-edge: #c47a14;
  --tape-ink: #0b0c10;
  --cone: #e86e22;
  --cone-dark: #c45312;
  --cone-base: #963c0b;
  --cone-light: #f4833b;
  --cone-shine: #ffd6b8;
  --shell: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --r-pill: 999px;
  --font-display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Funnel Sans", ui-sans-serif, system-ui, sans-serif;
  --font-logo: "Inter Logo", ui-sans-serif, system-ui, sans-serif;
  --e-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --d-fast: 160ms;
}

@media (max-width: 719px) {
  :root {
    --gutter: 20px;
  }
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem / 1.6 var(--font-ui);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.t-label {
  font: 540 0.6875rem / 1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.flute-bg,
.flute-ribs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.flute-bg {
  background:
    radial-gradient(52% 48% at 74% 46%, rgb(235 89 104 / 0.17) 0%, rgb(168 58 84 / 0.08) 38%, transparent 72%),
    radial-gradient(58% 52% at 22% 72%, rgb(112 138 198 / 0.13) 0%, rgb(36 48 82 / 0.09) 42%, transparent 74%),
    radial-gradient(46% 42% at 50% 12%, rgb(238 242 247 / 0.05) 0%, transparent 68%),
    var(--bg);
}

.flute-ribs {
  background-image: repeating-linear-gradient(
    90deg,
    rgb(255 255 255 / 0.032) 0px,
    rgb(255 255 255 / 0.008) 5px,
    rgb(0 0 0 / 0.24) 14px,
    rgb(255 255 255 / 0.018) 24px,
    rgb(255 255 255 / 0.038) 28px
  );
}

.hazard-trim {
  position: relative;
  z-index: 3;
  height: 10px;
  width: 100%;
  flex-shrink: 0;
  background-image: repeating-linear-gradient(-45deg, var(--tape) 0 11px, var(--bg-deep) 11px 22px);
}

.hazard-trim--top {
  border-bottom: 1px solid rgb(240 166 58 / 0.34);
}

.hazard-trim--bottom {
  border-top: 1px solid rgb(240 166 58 / 0.34);
}

.topbar {
  position: relative;
  z-index: 2;
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: 10px;
  display: flex;
  justify-content: flex-start;
}

.brand {
  display: inline-flex;
  align-items: center;
  font: 500 1.25rem / 1 var(--font-logo);
  letter-spacing: -0.05em;
  color: var(--ink);
  text-decoration: none;
  text-shadow: var(--halo);
  white-space: nowrap;
}

.brand__prompt {
  margin-right: 0.3em;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0;
}

.brand__caret {
  display: inline-block;
  width: 0.11em;
  height: 0.8em;
  margin-left: 0.2em;
  background: var(--accent);
  animation: caret 1.15s ease-in-out infinite;
}

.tape-rig {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 74px;
  margin: clamp(4px, 1.5vh, 14px) 0 clamp(8px, 2vh, 24px);
  display: grid;
  place-items: center;
  overflow: clip;
  user-select: none;
}

.tape {
  position: absolute;
  width: 112vw;
  left: -6vw;
}

.tape--back {
  height: 22px;
  transform: rotate(1.65deg);
  background-image: repeating-linear-gradient(-45deg, rgb(232 110 34 / 0.52) 0 14px, rgb(11 12 16 / 0.92) 14px 28px);
  border-top: 1px solid rgb(232 110 34 / 0.42);
  border-bottom: 1px solid rgb(232 110 34 / 0.42);
  opacity: 0.72;
}

.tape--front {
  padding: 8px 0;
  transform: rotate(-1.25deg);
  background: var(--tape);
  color: var(--tape-ink);
  border-top: 2px solid var(--tape-edge);
  border-bottom: 2px solid var(--tape-edge);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.58), 0 2px 0 rgb(11 12 16 / 0.35);
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.tape-text {
  display: inline-block;
  font: 700 0.75rem / 1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.poster {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(24px, 4vw, 56px);
}

.poster--single {
  grid-template-columns: minmax(0, 620px);
}

.copy {
  max-width: 580px;
  align-self: start;
  padding-top: clamp(40px, 8vh, 88px);
  padding-bottom: clamp(24px, 4vh, 48px);
}

.kicker {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.kicker .t-label {
  color: var(--tape);
  text-shadow: var(--halo);
}

.kicker-bar {
  display: inline-block;
  width: 32px;
  height: 8px;
  background-image: repeating-linear-gradient(-45deg, var(--tape) 0 5px, var(--bg-deep) 5px 10px);
  border: 1px solid rgb(240 166 58 / 0.5);
}

.title {
  margin: 0 0 20px -0.04em;
  font: 640 clamp(2.5rem, 6.2vw, 5rem) / 0.95 var(--font-display);
  letter-spacing: -0.045em;
  color: var(--ink);
  text-shadow: var(--halo);
  text-wrap: balance;
}

.dot {
  color: var(--accent);
}

.lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-shadow: var(--halo);
  text-wrap: pretty;
}

.eta {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--ink-3);
  text-shadow: var(--halo);
}

.eta span {
  color: var(--ink);
  font-weight: 500;
}

.actions {
  margin: 28px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72rem 1.25rem;
  border-radius: var(--r-pill);
  font: 540 0.6875rem / 1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: rgb(8 9 12 / 0.55);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  text-shadow: var(--halo);
  transition: background-color var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out);
}

.btn:hover,
.btn:focus-visible {
  background: rgb(8 9 12 / 0.85);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.34);
}

.scene {
  margin: 0;
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: flex-end;
}

.illustration {
  width: min(100%, 340px);
  height: auto;
  display: block;
  overflow: visible;
}

.foot {
  position: relative;
  z-index: 1;
  height: 54px;
  flex-shrink: 0;
  background: rgb(9 10 14 / 0.65);
  border-top: 1px solid var(--line-strong);
}

.post-base { fill: #242836; }
.post-pole { fill: #343a4d; }
.post-cap { fill: var(--tape); }
.mini-tape-strip { fill: var(--tape); }
.mini-tape-stripes { fill: var(--bg-deep); }
.crow-tail-back { fill: #1b1f2e; stroke: rgb(255 255 255 / 0.08); stroke-width: 0.8; }
.crow-tail-front { fill: #23283a; stroke: rgb(255 255 255 / 0.1); stroke-width: 0.8; }
.crow-feet { fill: none; stroke: #e89c54; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.crow-body { fill: #1c202c; stroke: rgb(255 255 255 / 0.12); stroke-width: 1.1; }
.crow-chest { fill: #252a3a; }
.crow-wing { fill: #232838; stroke: rgb(235 89 104 / 0.34); stroke-width: 1.2; }
.crow-wing-detail { fill: none; stroke: rgb(11 12 16 / 0.5); stroke-width: 1.5; stroke-linecap: round; }
.crow-tuft { fill: #1c202c; }
.crow-beak-upper { fill: #f0a054; }
.crow-beak-lower { fill: #d47b32; }
.crow-beak-shine { fill: none; stroke: #ffe0be; stroke-width: 1.5; stroke-linecap: round; opacity: 0.72; }
.crow-blush { fill: rgb(235 89 104 / 0.24); }
.crow-eye-white { fill: var(--ink); }
.crow-eye-pupil { fill: var(--bg); }
.crow-eye-spark { fill: #ffffff; }
.crow-eye-tint { fill: var(--accent); }
.hat-dome { fill: var(--cone); }
.hat-ridge { fill: var(--cone-light); }
.hat-shine { fill: none; stroke: var(--cone-shine); stroke-width: 2.8; stroke-linecap: round; opacity: 0.65; }
.hat-brim { fill: var(--cone-dark); }
.hat-brim-shine { fill: none; stroke: #ffaa70; stroke-width: 1.3; stroke-linecap: round; opacity: 0.72; }
.feather-vane { fill: #2d344a; stroke: rgb(238 242 247 / 0.24); stroke-width: 1; stroke-linejoin: round; }
.feather-vane--float { fill: #343c56; stroke: rgb(238 242 247 / 0.34); }
.feather-quill { fill: none; stroke: rgb(238 242 247 / 0.68); stroke-width: 1.35; stroke-linecap: round; }
.cone-base { fill: var(--cone-base); }
.cone-body { fill: var(--cone); }
.cone-stripe { fill: var(--ink); }
.cone-shine { fill: none; stroke: rgb(255 213 184 / 0.44); stroke-width: 1.9; stroke-linecap: round; }

.crow-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: crow-blink 5.4s ease-in-out infinite;
}

.drifting-feather {
  transform-box: fill-box;
  transform-origin: center;
  animation: feather-drift 4.2s ease-in-out infinite;
}

@keyframes crow-blink {
  0%, 44%, 48%, 92%, 96%, 100% { transform: scaleY(1); }
  46%, 94% { transform: scaleY(0.08); }
}

@keyframes feather-drift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(-5px, -8px) rotate(7deg); }
}

@keyframes caret {
  0%, 48% { opacity: 1; }
  52%, 100% { opacity: 0.15; }
}

@media (max-width: 820px) {
  .poster {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 16px;
  }

  .copy {
    padding-top: 28px;
    padding-bottom: 0;
  }

  .scene {
    justify-self: center;
  }

  .tape-rig {
    height: 62px;
    margin: 2px 0 8px;
  }

  .illustration {
    width: min(86vw, 310px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crow-eyes,
  .drifting-feather,
  .brand__caret {
    animation: none;
  }
}
