/* Headcount marketing site. One theme per visitor (light or dark by system setting).
   One accent (signal red). One radius rule: interactive things are pills, containers are 20px, images 14px. */

@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #f3f6fb;
  --surface: #fbfcfe;
  --tint: #e6ecf6;
  --ink: #0e2142;
  --muted: #475875;
  --line: #d3dbe9;
  --accent: #cf2a36;
  --on-ink: #f3f6fb;
  --navy: #0e2142;
  --navy-2: #16305d;
  --shadow: 0 30px 60px -32px rgb(14 33 66 / 0.45), 0 2px 6px rgb(14 33 66 / 0.08);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 20px;
  --radius-img: 14px;
  --wrap: 1240px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081327;
    --surface: #0f2040;
    --tint: #0c1b36;
    --ink: #eef2fa;
    --muted: #a7b5cf;
    --line: #223659;
    --accent: #ff5a63;
    --on-ink: #081327;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
section { padding-left: 0; padding-right: 0; }
@media (max-width: 980px) { .wrap { padding-left: 24px; padding-right: 24px; } .sec { padding-top: 84px; padding-bottom: 84px; } .statement { padding-top: 48px; padding-bottom: 48px; } }
@media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } .sec { padding-top: 64px; padding-bottom: 64px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0; letter-spacing: 0.002em; line-height: 0.94; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 4.9vw, 4.7rem); line-height: 0.95; }
.ln { display: block; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34ch; }
.body-copy { color: var(--muted); max-width: 58ch; }

/* Buttons: pills, one-line labels, readable contrast in both themes */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; text-decoration: none;
  font: 600 1rem/1 var(--body);
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; text-decoration: none; letter-spacing: 0.01em; line-height: 1; }
.brand span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.98rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 12px 22px; font-size: 0.95rem; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5.3fr) minmax(0, 6.7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.stage-wrap { min-width: 0; }
.stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.025); transition: opacity 0.9s var(--ease), transform 1.4s var(--ease); }
.slide.is-active { opacity: 1; transform: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.tab {
  font: 600 0.92rem/1 var(--body); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pause { margin-left: auto; }
.pause[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

/* Statement */
.statement { padding-top: 64px; padding-bottom: 64px; border-block: 1px solid var(--line); background: var(--surface); }
.statement p { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1; max-width: 26ch; }
.statement p span { color: var(--muted); }

/* Sections */
section { scroll-margin-top: 76px; }
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 14ch; }

/* Bento: four cells, 7+5 over 5+7 */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cell { border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.cell .txt { padding: clamp(22px, 2.6vw, 34px); padding-bottom: 20px; }
.cell h3 { margin-bottom: 12px; max-width: 16ch; }
.cell p { color: inherit; opacity: 0.8; font-size: 1.02rem; line-height: 1.5; max-width: 40ch; }
.cell .shot { margin-top: auto; padding: 0 clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px); }
.cell .shot img { border-radius: var(--radius-img); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; box-shadow: 0 20px 40px -26px rgb(0 0 0 / 0.6); }
.cell .shot .crop { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-img); box-shadow: 0 20px 40px -26px rgb(0 0 0 / 0.6); background: var(--navy); }
.cell .shot .crop img { width: 130%; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; margin-left: var(--x, 0); margin-top: var(--y, 0); }
.c-a { grid-column: span 7; background: var(--navy); color: #eef2fa; }
.c-b { grid-column: span 5; background: var(--surface); border: 1px solid var(--line); }
.c-c { grid-column: span 5; background: var(--tint); border: 1px solid var(--line); }
.c-d { grid-column: span 7; background: var(--navy-2); color: #eef2fa; }
.c-a h3, .c-d h3 { color: #fff; }
.late-note { display: inline-block; margin-top: 16px; font: 600 0.92rem/1 var(--body); padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.22); color: #fff; }

/* Setup */
.setup-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.setup-list li:last-child { border-bottom: 1px solid var(--line); }
.setup-list h3 { margin-bottom: 10px; }
.setup-list p { color: var(--muted); max-width: 46ch; }

/* Fits your camp */
.fit { background: var(--surface); border-block: 1px solid var(--line); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 6vw, 96px); row-gap: clamp(30px, 4vw, 52px); }
.fit-grid h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.fit-grid p { color: var(--muted); max-width: 44ch; }

/* Data */
.data { text-align: left; }
.data h2 { max-width: 18ch; margin-bottom: 26px; }
.data .body-copy { font-size: 1.15rem; max-width: 52ch; }

/* Pricing */
.price-panel { border-radius: var(--radius-card); background: var(--navy); color: #eef2fa; padding: 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.price-panel h2 { color: #fff; max-width: 17ch; margin-bottom: 22px; }
.price-panel p { opacity: 0.82; max-width: 46ch; }
.price-panel .tag { display: inline-block; font: 600 0.82rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #ff8a92; margin-bottom: 18px; }
.price-panel ul { list-style: none; margin: 0 0 30px; padding: 0; }
.price-panel li { padding-block: 16px; border-top: 1px solid rgb(255 255 255 / 0.18); font-weight: 600; }
.price-panel li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.18); }
.price-panel .btn-light { background: #f3f6fb; color: #0e2142; }
.price-panel .btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px #000; }

/* FAQ */
.faq-list { max-width: 820px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 600; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.7rem/1 var(--body); color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 26px; max-width: 62ch; }

/* Final */
.final { background: var(--surface); border-top: 1px solid var(--line); }
.final-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.final-shot { border-radius: var(--radius-card); box-shadow: var(--shadow); width: 100%; }
.final h2 { max-width: 12ch; margin-bottom: 22px; }
.final .body-copy { margin-bottom: 34px; }

footer { padding-block: 40px; color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot a { text-underline-offset: 3px; }

/* Entrance and scroll reveals: motion explains order, nothing loops except the hero carousel */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero h1, .hero .lede, .hero .cta-row, .stage-wrap { animation: rise 0.9s var(--ease) both; }
  .hero .lede { animation-delay: 0.08s; }
  .hero .cta-row { animation-delay: 0.16s; }
  .stage-wrap { animation-delay: 0.22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .btn, .tab { transition: none; }
}

/* Tablet and phone: every multi-column layout collapses to one column */
@media (max-width: 980px) {
  .hero-grid, .setup-grid, .price-panel, .final-grid { grid-template-columns: 1fr; }
  .price-panel { padding: 36px 28px; }
  .nav-links { display: none; }
  .c-a, .c-b, .c-c, .c-d { grid-column: span 12; }
  .setup-grid > div:first-child { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(3rem, 12.5vw, 5rem); }
  .ln { display: inline; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .fit-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .tab { padding: 10px 13px; font-size: 0.88rem; }
  .pause { margin-left: 0; }
  .nav-in { height: 60px; }
}
