/* ReelJuJu. One idea runs through everything: wide (landscape) becomes tall (reel).
   Anybody's width axis carries it, from the logo to the headings. */
:root {
  --orange: #FF5B2E;
  --ink: #1B1030;
  --paper: #F6F2EF;
  --peach: #FFD3C2;
  --plum: #3A2A5C;
  --muted: #5E5470;
  --muted-ink: #B8AECB;
  --caption: #FFD400;
  --line-ink: rgba(246, 242, 239, 0.16);
  --line-paper: rgba(27, 16, 48, 0.14);

  --display: 'Anybody', 'Arial Black', Impact, sans-serif;
  --body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1200px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--caption); outline-offset: 3px; border-radius: 4px; }

.inner { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 10vw, 140px); }
.band--orange { background: var(--orange); color: var(--ink); }
.band--ink { background: var(--ink); color: var(--paper); }

/* Type */
.h2 { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 130; font-size: clamp(34px, 5.4vw, 72px); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.h2 .tall { display: block; font-variation-settings: "wdth" 62; font-size: 1.3em; line-height: 0.88; }
/* A single long word can't wrap, so drop to normal width to fit its column */
.h2--narrow { font-variation-settings: "wdth" 100; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; margin: 0; }
.band--ink .lede { color: var(--muted-ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.tbc { background: var(--caption); color: var(--ink); outline: 2px dashed var(--ink); outline-offset: 1px; padding: 0 4px; font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 17px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Logo: the locked mark. Static tall; squeezes wide and back on hover. */
.logo, .footer-mark { display: inline-flex; flex-direction: column; font-family: var(--display); font-weight: 900; line-height: 0.8; text-decoration: none; border: 1.5px solid currentColor; font-variation-settings: "wdth" 50; }
.logo { font-size: 22px; padding: 6px 6px 3px; }
@media (prefers-reduced-motion: no-preference) {
  .logo:hover, .logo:focus-visible { animation: squeeze 0.9s ease-in-out 2 alternate; }
  .footer-mark { animation: squeeze 2.6s ease-in-out infinite alternate; }
}
@keyframes squeeze { from { font-variation-settings: "wdth" 50; } to { font-variation-settings: "wdth" 150; } }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0 auto 0 0; padding: 0 0 0 20px; font-weight: 500; font-size: 16px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hero */
.hero { padding-block: 0 clamp(56px, 8vw, 110px); }
.hero-title { margin: clamp(48px, 9vw, 120px) 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title .l1 { font-variation-settings: "wdth" 150; font-size: clamp(22px, 5.6vw, 82px); line-height: 0.9; letter-spacing: -0.01em; }
.hero-title .l2 { font-variation-settings: "wdth" 62; font-size: clamp(52px, 10vw, 140px); line-height: 0.88; letter-spacing: -0.01em; word-spacing: 0.1em; margin-top: 0.04em; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 2px solid var(--ink); }
.hero-sub { max-width: 44ch; margin: 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Morph: the signature moment. Scroll squeezes a 16:9 frame into a 9:16 reel. */
.morph { background: var(--ink); color: var(--paper); height: 280vh; position: relative; }
.morph-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.morph-layout { width: 100%; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vh, 32px); }
.morph-title { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 36px); line-height: 1; text-align: center; font-variation-settings: "wdth" 150; }
.morph-title span { font-variation-settings: "wdth" 62; font-size: 1.35em; color: var(--orange); }
.frame { position: relative; width: 640px; height: 360px; background: var(--orange); color: var(--ink); border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; will-change: width, height; }
.frame-word { display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-weight: 900; line-height: 0.8; font-size: 72px; font-variation-settings: "wdth" 150; }
.frame-cap { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font: 900 clamp(15px, 2.2vw, 24px)/1.1 var(--body); text-transform: uppercase; color: #FFF; text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000; opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; padding: 0 12px; }
.frame-cap b { display: inline-block; background: var(--caption); color: var(--ink); text-shadow: none; padding: 1px 8px; border-radius: 6px; transform: rotate(-2deg); }
.frame-cap.on { opacity: 1; transform: none; }
.frame-tl { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.frame-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(27, 16, 48, 0.25); }
.frame-seg { position: absolute; top: 0; bottom: 0; left: 38%; width: 10%; background: var(--ink); border-radius: 3px; }
.frame-head { position: absolute; top: -5px; width: 3px; height: 16px; background: var(--paper); border-radius: 2px; left: 0; }
.readout { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; font-variant-numeric: tabular-nums; }
.readout div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.readout dt { font-size: 13px; color: var(--muted-ink); }
.readout dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; font-variation-settings: "wdth" 80; min-width: 4.5ch; text-align: center; }
.no-motion .morph { height: auto; }
.no-motion .morph-sticky { position: static; height: auto; padding-block: 96px; }

/* Example timeline */
.tl { margin-bottom: 28px; }
.tl-bar { position: relative; height: 48px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(27,16,48,0.10) 0 2px, transparent 2px 14px), #E9E1DC; }
.seg { position: absolute; top: 0; bottom: 0; width: 2.6%; border-radius: 6px; }
.tl-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-right: 13.8%; }
.s1 { --c: var(--ink); --t: var(--paper); }
.s2 { --c: var(--orange); --t: var(--ink); }
.s3 { --c: var(--plum); --t: var(--paper); }
.s4 { --c: var(--peach); --t: var(--ink); }
.s5 { --c: var(--ink); --t: var(--paper); }
.s6 { --c: var(--orange); --t: var(--ink); }
.seg { background: var(--c); }
.s4.seg { outline: 1.5px solid var(--ink); outline-offset: -1.5px; }

.reels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.reel { aspect-ratio: 9 / 16; max-width: 100%; background: var(--c); color: var(--t); border-radius: var(--radius); padding: 14px 12px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; position: relative; overflow: hidden; }
.reel.s4 { box-shadow: inset 0 0 0 1.5px var(--ink); }
.reel time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0.8; }
.reel p { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.02; overflow-wrap: anywhere; }
.reel p b { background: var(--caption); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.reel::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, currentColor 0 40%, transparent 40%); opacity: 0.55; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-ink); }
.step-n { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 50; font-size: 104px; line-height: 0.8; color: var(--orange); }
.steps h3 { margin: 8px 0 0; font-size: 22px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted-ink); max-width: 34ch; }

/* Specs */
.specs { margin: 0; display: flex; flex-direction: column; }
.specs div { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 16px; padding-block: 18px; border-top: 1px solid var(--line-paper); }
.specs div:last-child { border-bottom: 1px solid var(--line-paper); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Kinds: words alternate wide and tall, the brand idea as a list */
.kinds { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; }
.kinds li { font-size: clamp(30px, 5vw, 64px); }
.kinds li:nth-child(odd) { font-variation-settings: "wdth" 150; }
.kinds li:nth-child(even) { font-variation-settings: "wdth" 62; font-size: clamp(38px, 6.2vw, 80px); }

/* Form */
.quote-intro { display: flex; flex-direction: column; gap: 24px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field label { font-weight: 500; font-size: 16px; }
.opt { color: var(--muted-ink); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--paper); background: rgba(246, 242, 239, 0.06); border: 1.5px solid rgba(246, 242, 239, 0.28); border-radius: 10px; padding: 14px 14px; min-height: 52px; color-scheme: dark; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 242, 239, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(246, 242, 239, 0.1); }
.field input[aria-invalid="true"] { border-color: var(--caption); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-status { margin: 0; color: var(--muted-ink); }
.form-status.err { color: var(--caption); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line-paper); }
.faq details:last-child { border-bottom: 1px solid var(--line-paper); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 60ch; }

/* Footer */
.footer { padding-block: clamp(64px, 8vw, 110px); }
/* Fixed columns so the mark can grow to full width without pushing the text around */
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }
.footer-mark { justify-self: start; font-size: clamp(64px, 11vw, 150px); padding: 14px 14px 6px; color: var(--orange); border-width: 2px; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; }
.footer-meta p { margin: 0; }
.footer-line { font-family: var(--display); font-weight: 800; font-size: 24px; font-variation-settings: "wdth" 120; text-transform: uppercase; }
.small { font-size: 14px; color: var(--muted-ink); }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
