:root {
  --cream: #f6efdf;
  --cream-deep: #efe3c8;
  --paper: #fffdf8;
  --ink: #1d1c19;
  --ink-soft: #57524a;
  --line: #ddd2bb;
  --go: #27c75a;
  --go-deep: #1a9e45;
  --go-ink: #0d2a17;
  --radius-card: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--go); color: var(--go-ink); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--go-deep); outline-offset: 3px; border-radius: 999px; }
svg { display: block; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 26px; height: 26px; }

/* ---------- pills & links ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.pill svg { width: 18px; height: 18px; }
.pill-line { border: 1.5px solid var(--line); background: var(--paper); min-height: 42px; padding: 0 18px; font-size: 14px; }
.pill-line:hover { border-color: var(--ink); }
.pill-go { background: var(--go); color: var(--go-ink); box-shadow: 0 6px 18px -6px rgba(26, 158, 69, .55); }
.pill-go:hover { background: #34d667; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(26, 158, 69, .6); }
.pill-go:active { transform: translateY(0); }

.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .25s, transform .3s var(--ease-out); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow-link:hover .round { border-color: var(--ink); transform: rotate(-8deg) scale(1.06); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 70px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 24px var(--gutter) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  text-align: center;
}
.headline {
  margin: auto 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: .18em; row-gap: .02em;
  font-weight: 800;
  font-size: clamp(5.2rem, 11.5vw, 11rem);
  line-height: .9;
  letter-spacing: -.04em;
}
.word { display: inline-block; animation: rise 1s var(--ease-out) both; }
.word:last-child { animation-delay: .12s; }
.reel-pill {
  position: relative; overflow: hidden;
  font-size: inherit; flex: none;
  width: 1.75em; height: .92em; padding: 0; border: 0; border-radius: 999px;
  background: var(--cream); cursor: pointer; /* the clip's own ground, so no dark edge shows at the rim */
  box-shadow: 0 18px 40px -18px rgba(29, 28, 25, .55);
  animation: open-pill 1.1s .2s var(--ease-out) both;
  transition: transform .4s var(--ease-out);
}
.reel-pill video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-pill:hover { transform: scale(1.04) rotate(-1.5deg); }
.reel-pill-wrap { position: relative; display: block; flex: none; font-size: inherit; }

/* Speaker badge on the pill's corner: the headline clip starts muted, and this turns its sound on and off. */
.reel-sound {
  position: absolute; right: -4px; bottom: -4px;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
  animation: rise 1s 1.1s var(--ease-out) both;
  transition: border-color .25s, transform .3s var(--ease-out);
}
.reel-sound:hover { border-color: var(--ink); transform: scale(1.06); }
.reel-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reel-sound[aria-pressed="false"] .waves, .reel-sound[aria-pressed="true"] .off { display: none; }

.lede { margin: .9em 0 0; max-width: 24ch; font-size: clamp(1.2rem, 3.2vw, 1.6rem); line-height: 1.3; font-weight: 500; color: var(--ink-soft); text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 28px; }

.hero-foot {
  margin-top: auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 24px; margin-bottom: 0;
  border-top: 1px solid var(--line);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-foot .arrow-link { color: var(--ink); }
.headline + .lede { margin-top: .8em; }
.hero > .actions { margin-bottom: clamp(32px, 8vh, 72px); }

@keyframes rise { from { opacity: 0; transform: translateY(.25em); } }
@keyframes open-pill { from { width: 0; opacity: 0; } }

/* ---------- about ---------- */
.about { padding: clamp(72px, 14vw, 160px) var(--gutter) clamp(48px, 9vw, 100px); }
.big-say {
  margin: 0 auto; max-width: 21ch;
  font-size: clamp(1.9rem, 5.6vw, 4rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em;
  text-wrap: balance;
}

/* ---------- example ---------- */
.example { padding: 0 var(--gutter) clamp(72px, 12vw, 140px); text-align: center; }
h2 { font-size: clamp(2.2rem, 7vw, 4.4rem); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin: 0 0 clamp(28px, 5vw, 48px); text-wrap: balance; }
.reel-row {
  display: flex; justify-content: safe center; gap: 20px;
  /* Three cards: side by side on wide screens, a swipeable row on narrow ones. Room below for the shadows. */
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 44px;
}
.reel-card { flex: none; margin: 0; width: min(72vw, 340px); text-align: left; scroll-snap-align: center; }
.frame {
  aspect-ratio: 9 / 16; border-radius: var(--radius-card); overflow: hidden; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(29, 28, 25, .5), 0 2px 6px rgba(29, 28, 25, .08);
}
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-card figcaption { margin-top: 14px; padding: 0 6px; display: grid; gap: 2px; }
.reel-card figcaption strong { font-size: 19px; letter-spacing: -.01em; }
.reel-card figcaption span { font-size: 15px; color: var(--ink-soft); }

/* ---------- numbers ---------- */
.numbers {
  background: var(--paper);
  border-radius: 50% 50% 0 0 / clamp(40px, 7vw, 110px) clamp(40px, 7vw, 110px) 0 0;
  padding: clamp(72px, 12vw, 140px) var(--gutter);
  text-align: center;
}
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; gap: clamp(40px, 7vw, 72px); }
.steps li { display: grid; justify-items: center; gap: 10px; }
.n {
  font-size: clamp(5rem, 22vw, 11rem); line-height: .9; font-weight: 900; letter-spacing: -.045em;
  color: var(--go-deep); font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; max-width: 32ch; font-size: 18px; color: var(--ink-soft); text-wrap: pretty; }
.steps strong { color: var(--ink); }

/* ---------- close ---------- */
.close {
  background: var(--cream-deep);
  border-radius: 50% 50% 0 0 / clamp(40px, 7vw, 110px) clamp(40px, 7vw, 110px) 0 0;
  margin-top: calc(-1 * clamp(40px, 7vw, 110px));
  padding: clamp(96px, 14vw, 170px) var(--gutter) clamp(72px, 10vw, 120px);
  text-align: center;
}
.close h2 { margin-bottom: 18px; }
.close p { margin: 0 0 32px; color: var(--ink-soft); font-size: 18px; }
.pill-big { min-height: 60px; padding: 0 30px; font-size: 17px; white-space: normal; text-align: center; }

.foot {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  padding: 24px var(--gutter) 32px; background: var(--cream-deep);
  border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft);
}
.foot .arrow-link { color: var(--ink); }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .n { font-size: clamp(5rem, 10vw, 9rem); }
}
@media (max-width: 520px) {
  .headline { font-size: 27vw; flex-direction: column; row-gap: .06em; }
  .reel-pill { width: 2.6em; height: 1.05em; }
  .big-say { line-height: 1.15; font-weight: 600; }
  .hero-foot > span { display: none; }
  .hero-foot { justify-content: center; }
  .arrow-link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
