/* Hurdle — hurdle.so
   Brand: ink and paper, Neutral Sans, one holographic line. */

@font-face { font-family: "Neutral Sans"; src: url("/assets/fonts/neutral-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neutral Sans"; src: url("/assets/fonts/neutral-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neutral Sans"; src: url("/assets/fonts/neutral-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Neutral Sans"; src: url("/assets/fonts/neutral-sans-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #0B0B0C;
  --graphite: #1B1C1F;
  --text: rgba(255,255,255,.94);
  --muted: rgba(235,237,240,.66);
  --faint: rgba(235,237,240,.52);
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --holo: linear-gradient(90deg, #8FE9F4, #7DB7FF, #B59BFF, #FF9CD2, #FFC6A6, #FFF1A6, #A8F3D6, #8FE9F4);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1240px;
  --nav-h: 68px;
  font-family: "Neutral Sans", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg, iframe { display: block; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.h2 { margin: 12px 0 0; font-weight: 900; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(40px, 5.6vw, 76px); }
.h2 .soft { color: rgba(255,255,255,.42); }
.lede { margin: 18px 0 0; max-width: 48ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.holo-rule { display: block; height: 2px; width: 72px; border-radius: 2px; background: var(--holo); background-size: 200% 100%; margin-top: 22px; }
.center .holo-rule { margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) { .holo-rule { animation: holo-slide 6s linear infinite; } }
@keyframes holo-slide { to { background-position: 200% 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 9px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.btn-primary { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(0,0,0,.38); }
.btn-arrow { padding-right: 6px; }
.btn .arrow { width: 32px; height: 32px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.btn-sm.btn-arrow { padding-right: 5px; gap: 8px; }
.btn-sm .arrow { width: 26px; height: 26px; border-radius: 6px; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.32); }
.btn-sm { height: 38px; font-size: 15px; padding: 0 16px; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav-links a, .film-card, .carousel-nav button { transition: filter 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease; }
  .btn:hover { filter: brightness(1.08); }
  .btn:active { transform: translateY(1px); }
  .btn .arrow svg { transition: transform 320ms var(--ease-out); }
  .btn:hover .arrow svg { transform: translateX(3px); }
}

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.nav.is-solid, .page .nav { background: rgba(11,11,12,.72); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 44px; }
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.nav-links a { position: relative; color: var(--muted); padding-bottom: 3px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--holo); background-size: 200% 100%; transform: scaleX(0); transform-origin: left; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .nav-links a::after { transition: transform 260ms var(--ease-out); }
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-right .signin { color: var(--muted); }
.nav-right .signin:hover { color: #fff; }
@media (max-width: 760px) { .nav-links, .nav-right .signin { display: none; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 19px; width: auto; }
.footer-brand p { margin: 14px 0 0; max-width: 28ch; line-height: 1.5; color: var(--faint); }
.footer-col h2 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.socials { display: flex; align-items: center; gap: 6px; }
.socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); border: 1px solid transparent; transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease; }
.socials a:hover { color: #fff; border-color: var(--line-strong); background: rgba(255,255,255,.03); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.d1 { transition-delay: 70ms; } .d2 { transition-delay: 140ms; } .d3 { transition-delay: 210ms; } .d4 { transition-delay: 280ms; }

/* ================= Home ================= */

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,.35), transparent 22%, transparent 55%, rgba(11,11,12,.78) 100%),
              radial-gradient(ellipse at 20% 85%, rgba(11,11,12,.55), transparent 55%); }
.hero-content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(34px, 6vh, 72px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-copy-block { flex: 1; min-width: 0; max-width: 1000px; }
@media (min-width: 721px) { .hero-title { white-space: nowrap; } }
.hero-title { margin: 0; font-weight: 900; letter-spacing: -.035em; line-height: .96; font-size: clamp(56px, 9.2vw, 148px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line-reveal { display: inline-block; }
.hero-sub { margin: 22px 0 0; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(235,237,240,.8); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-meta { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }

.film-card { flex: none; width: clamp(170px, 15vw, 224px); border-radius: 16px; padding: 7px; text-align: left;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(27,28,31,.78), rgba(11,11,12,.86));
  box-shadow: 0 2px 10px rgba(0,0,0,.44), 0 0 0 3px rgba(255,255,255,.035) inset, 0 0 0 1px rgba(0,0,0,.9);
  backdrop-filter: blur(14px) saturate(108%); -webkit-backdrop-filter: blur(14px) saturate(108%);
  transform-origin: 82% 50%; }
.film-card:hover { border-color: rgba(255,255,255,.24); }
.film-thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: #111214; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); }
.play { position: absolute; left: 50%; top: 50%; width: 29%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.34); background: rgba(3,5,7,.47); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; }
.play svg { width: 34%; transform: translateX(8%); }
.film-label { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px 4px; font-size: 15px; font-weight: 500; }
.film-label .mono { font-size: 11px; color: var(--faint); }
@media (max-width: 720px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .film-card { position: absolute; right: 0; bottom: calc(100% + 24px); width: 132px; }
  .film-label { font-size: 13px; }
}

/* Story: scroll-scrubbed film */
.story { position: relative; height: 560vh; }
.story-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); overflow: hidden; }
.story-head { margin-bottom: clamp(18px, 3vh, 32px); }
.story-head .h2 { font-size: clamp(34px, 4.2vw, 60px); }
.story-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 44px); align-items: center; }
.story-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #0e0f11; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6); aspect-ratio: 16 / 9; max-height: 64svh; margin-inline: auto; width: 100%; }
.story-frame video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.beat { position: relative; padding: 12px 0 12px 22px; opacity: .34; transition: opacity 360ms var(--ease); }
.beat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--line-strong); }
.beat .fill { position: absolute; left: 0; top: 14px; width: 2px; border-radius: 2px; background: var(--holo); background-size: 100% 600%; height: 0; }
.beat.is-active { opacity: 1; }
.beat.is-done { opacity: .55; }
.beat h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.beat p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height 420ms var(--ease); }
.beat.is-active p { max-height: 7em; }
.beat p .mono { font-size: 12.5px; color: rgba(255,255,255,.82); }
.story-caption { display: none; margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); min-height: 3em; }
@media (max-width: 960px) {
  .story { height: 480vh; }
  .story-stage { grid-template-columns: 1fr; }
  .beats { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .beat { padding: 14px 0 0; }
  .beat::before, .beat .fill { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 2px; }
  .beat .fill { width: 0; height: 2px; background-size: 600% 100%; }
  .beat h3 { font-size: 14px; }
  .beat p { display: none; }
  .story-caption { display: block; }
}

/* Sections */
.section { padding: clamp(96px, 14vh, 160px) 0; }
.section-flush { padding-top: 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(40px, 6vh, 64px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { position: relative; grid-column: span 6; border-radius: 22px; overflow: hidden; background: var(--graphite); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card.wide { grid-column: span 7; }
.card.narrow { grid-column: span 5; }
.card-text { padding: 26px 28px 0; }
.card-text h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.card-text p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 42ch; }
.card-media { position: relative; margin: 22px 0 0 28px; flex: 1; min-height: 260px; border-top-left-radius: 12px; overflow: hidden; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); background: #0e0f11; }
.card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media.pos-right video { object-position: 88% 40%; }
.card-media.pos-left video { object-position: 20% 60%; }
@media (max-width: 860px) { .card, .card.wide, .card.narrow { grid-column: span 12; } }

/* Video carousel */
.carousel-nav { display: flex; gap: 8px; align-items: center; }
.carousel-nav button { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.03); }
.carousel-nav button:hover:not(:disabled) { border-color: rgba(255,255,255,.32); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.carousel-nav .channel { margin-right: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.carousel-nav .channel:hover { color: #fff; }
.carousel { list-style: none; margin: 0; padding: 0 var(--gutter) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 34vw, 460px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 1384px) { .carousel { padding-inline: calc((100% - var(--max)) / 2); scroll-padding-inline: calc((100% - var(--max)) / 2); } }
.vid { scroll-snap-align: start; }
.vid-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #111214; border: 1px solid var(--line); }
.vid-media > a, .vid-media > button { position: absolute; inset: 0; display: block; width: 100%; }
.vid-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter 300ms ease; }
.vid-media:hover img { transform: scale(1.03); filter: brightness(.85); }
.vid-media .play { width: 48px; left: 14px; top: auto; bottom: 14px; transform: none; }
.vid-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .pin { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 6px; font-family: var(--mono); font-size: 11px; background: rgba(11,11,12,.72); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vid h3 { margin: 14px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.vid p { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--faint); }

/* Pricing */
.toggle { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 500; margin-top: 28px; }
.toggle button { height: 34px; padding: 0 16px; border-radius: 7px; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.toggle .save { margin-left: 6px; font-family: var(--mono); font-size: 11px; opacity: .7; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; border-radius: 22px; padding: 30px; background: var(--graphite); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(180deg, #1f2024, #161719); border-color: transparent; }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan .tag { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 700; }
.plan .desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); min-height: 2.9em; }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-size: 52px; font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.billed { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--faint); min-height: 1.4em; }
.plan .includes { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); }
.plan ul { list-style: none; margin: 12px 0 28px; padding: 0; display: grid; gap: 11px; font-size: 14.5px; line-height: 1.4; color: rgba(235,237,240,.8); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 3px; }
.guarantee { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; color: var(--faint); text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(120px, 20vh, 220px) 0; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/contours-dark.webp") center / cover no-repeat; opacity: .9; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(11,11,12,.92), rgba(11,11,12,.25) 100%); }
.final-logo { height: clamp(52px, 7vw, 96px); width: auto; margin: 0 auto; }
.final .h2 { margin-top: clamp(28px, 3.4vw, 44px); font-size: clamp(34px, 4.4vw, 60px); }
.final .actions { margin-top: 34px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Film modal */
dialog.film { width: min(1280px, 94vw); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: #000; color: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.7); overflow: hidden; }
dialog.film::backdrop { background: rgba(5,5,6,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
dialog.film video { width: 100%; aspect-ratio: 16 / 9; }
dialog.film .close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid var(--line-strong); display: grid; place-items: center; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  dialog.film[open] { animation: modal-in 320ms var(--ease); }
  @keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
}

/* Hero entrance */
@keyframes e-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes e-line { from { transform: translate3d(0,110%,0) skewY(2deg); } to { transform: none; } }
@keyframes e-card { from { opacity: 0; transform: translateY(12px) scale(.968); } to { opacity: 1; transform: none; } }
.motion-pending .nav-inner > *, .motion-pending .hero-sub, .motion-pending .hero-actions, .motion-pending .hero-meta, .motion-pending .film-card { opacity: 0; }
.motion-pending .hero-title .line-reveal { transform: translate3d(0,110%,0); }
.motion-pending .nav-inner > * { animation: e-fade-up 520ms var(--ease-out) both; }
.motion-pending .nav-inner > :nth-child(1) { animation-delay: 60ms; }
.motion-pending .nav-inner > :nth-child(2) { animation-delay: 140ms; }
.motion-pending .nav-inner > :nth-child(3) { animation-delay: 220ms; }
.motion-pending .hero-title .line:nth-child(1) .line-reveal { animation: e-line 820ms var(--ease) 280ms both; }
.motion-pending .hero-title .line:nth-child(2) .line-reveal { animation: e-line 860ms var(--ease) 420ms both; }
.motion-pending .hero-sub { animation: e-fade-up 620ms var(--ease-out) 720ms both; }
.motion-pending .hero-actions { animation: e-fade-up 560ms var(--ease-out) 900ms both; }
.motion-pending .hero-meta { animation: e-fade-up 560ms var(--ease-out) 1000ms both; }
.motion-pending .film-card { animation: e-card 920ms var(--ease) 1040ms both; }

/* ================= Inner pages ================= */
.page main { padding-top: var(--nav-h); }
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 14vh, 140px) 0 clamp(48px, 8vh, 80px); border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/contours-dark.webp") center 30% / cover no-repeat; opacity: .55; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,12,.96) 30%, rgba(11,11,12,.55)); }
.page-head .h2 { font-size: clamp(40px, 5vw, 68px); max-width: 16ch; }
.page-body { padding: clamp(56px, 9vh, 96px) 0 clamp(96px, 14vh, 140px); }
.prose { max-width: 70ch; font-size: 16.5px; line-height: 1.65; color: rgba(235,237,240,.8); }
.prose h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h2[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #fff; }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { border-radius: 20px; padding: 28px; background: var(--graphite); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.contact-card h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.contact-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); flex: 1; }
.contact-card .mono { margin-top: 10px; font-size: 14px; color: #fff; }
.contact-card .mono a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.changelog { display: grid; }
.entry { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.entry:first-child { border-top: 0; padding-top: 0; }
.entry-date { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.entry-date:hover { color: #fff; }
.entry-body h2 { font-size: 26px; }
.changelog-feed { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--faint); }
.changelog-feed a:hover { color: #fff; }
@media (max-width: 720px) { .entry { grid-template-columns: 1fr; gap: 12px; } .entry-date { position: static; } }
.notfound { min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .actions { margin-top: 30px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.notfound .lede { margin-inline: auto; }
