/* Brightfield Group — Sketchbook system (Sparkle Express family), trucking palette:
   highway-sign green for action, road-line yellow for marks, asphalt for dark panels. */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: Kalam; src: url("../fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Kalam; src: url("../fonts/kalam-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f3f4f8; --white: #fff;
  --ink: #121a24; --ink-2: #46505e; --pencil: #66707e; --line: #d9dee6;
  --go: #0a7a4f; --go-deep: #075c3a; --tint: #dcf1e6;
  --mark: #ffc929;
  --night: #14202b; --night-text: #cfd8e0; --night-muted: #9fb0bf;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --hand: Kalam, "Comic Sans MS", cursive;
  --r-media: 28px; --r-card: 18px; --r-control: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grid: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
          linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  --star: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6C40 2 70 9 110 5S170 3 198 6' fill='none' stroke='%23ffc929' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 640px) { body { font-size: 17px; } }
::selection { background: var(--mark); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
:focus-visible { outline: 3px solid var(--go); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--soft { background: var(--white); }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.section-lead { margin-top: 22px; max-width: 680px; color: var(--ink-2); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.display-title { font-size: clamp(48px, 7.4vw, 112px); line-height: .98; letter-spacing: -.045em; }
.display-title .muted { color: var(--paper); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.note { margin-top: 24px; color: var(--pencil); font-size: 15px; line-height: 1.55; }
.graph-paper { background: var(--grid); background-color: var(--paper); }

/* Kicker: handwritten, tilted, yellow marker underline */
.eyebrow { display: inline-block; margin-bottom: 14px; padding-bottom: 9px; font: 21px/1.3 var(--hand); color: var(--go); transform: rotate(-1.5deg); transform-origin: left bottom; background: var(--marker) no-repeat 0 100% / 100% 9px; }
.center .eyebrow, .eyebrow.center { transform-origin: center bottom; }
.on-dark .eyebrow { color: var(--mark); }

/* Buttons — one green action */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: var(--r-control); border: 1.5px solid transparent; font: 650 16px/1.3 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button.primary { background: var(--go); color: #fff; }
.button.primary:hover { background: var(--go-deep); }
.button.secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--ink); }
.button.ghost { border-color: #ffffff4d; color: #fff; }
.button.ghost:hover { border-color: #fff; }
.button svg { width: 18px; height: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button-row.center { justify-content: center; }
.text-link { color: var(--go); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--go) 35%, transparent); text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease), border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-tucked { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }
.header-inner { display: flex; align-items: center; gap: 30px; height: 70px; width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand-spark { width: 22px; height: 22px; background: var(--go); clip-path: var(--star); transition: transform .4s var(--ease); }
.brand:hover .brand-spark { transform: rotate(90deg) scale(1.1); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.nav-contact) { color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 550; padding-block: 4px; border-bottom: 2px solid transparent; }
.site-nav a:not(.nav-contact):hover, .site-nav a:not(.nav-contact)[aria-current="page"] { color: var(--ink); border-bottom-color: var(--go); }
.nav-contact { padding: 9px 16px; border-radius: var(--r-control); background: var(--ink); color: #fff; text-decoration: none; font-size: 15.5px; font-weight: 650; transition: background-color .2s; }
.nav-contact:hover { background: var(--go); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.home-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px 56px; align-items: end; padding-top: clamp(40px, 6vw, 72px); }
.hero-note { font-size: 24px; margin-bottom: 6px; }
.home-hero h1 { font-size: clamp(48px, 8.2vw, 126px); line-height: .92; letter-spacing: -.055em; }
.home-hero h1 > span { display: block; white-space: nowrap; }
.hero-idea { color: var(--paper); -webkit-text-stroke: clamp(3px, .44vw, 6px) var(--ink); paint-order: stroke fill; }
.hero-lead { color: var(--ink-2); font-size: 20px; line-height: 1.5; }
.hero-promise { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-weight: 700; }
.spark { flex: none; width: 16px; aspect-ratio: 1; margin-top: .3em; background: var(--mark); clip-path: var(--star); }
.hero-side .button-row { margin-top: 26px; }

/* Hero photo */
.hero-photo { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 78%; border-radius: var(--r-media); box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px #14202b66; }
.desk-badge { position: absolute; top: clamp(16px, 2.6vw, 32px); left: clamp(16px, 2.6vw, 32px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #ffffffe6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 15px; font-weight: 650; color: var(--ink); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #1fb85a; box-shadow: 0 0 0 4px #1fb85a2e; }

/* Marquee */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line); background: var(--paper); }
.marquee-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); width: max-content; will-change: transform; }
.mq-item { font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.mq-item:not(.mq-hand) { color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.mq-hand { font-family: var(--hand); font-weight: 700; color: var(--go); letter-spacing: 0; font-size: clamp(30px, 4.4vw, 64px); }
.mq-spark { flex: none; width: clamp(20px, 2.4vw, 34px); aspect-ratio: 1; background: var(--mark); clip-path: var(--star); }
