/* Impetum Global, impetum.global, v9 (proposal), 27 November 2026. Design as v7a (18 November 2026).
   Colours from the brand guideline tokens: navy.900 #081F2D, cool white #F4F6F5, white #FFFFFF,
   grey.slate #5A6870 (derived, AA on light), grey.mist #A8B0B5. No sand, no orange.
   Type: variant A, Schibsted Grotesk throughout. Variant B, Familjen Grotesk for headings and
   Schibsted Grotesk for text. Both SIL Open Font License 1.1, self-hosted. Articulat CF is kept
   for the logo only. No italics for emphasis, no small spaced labels. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibstedgrotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("assets/fonts/familjengrotesk-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081F2D;
  --coolwhite: #F4F6F5;
  --white: #FFFFFF;
  --slate: #5A6870;
  --mist: #A8B0B5;

  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --display: var(--text);
  --display-weight: 500;
  --display-track: -0.028em;

  --bg: var(--coolwhite);
  --fg: var(--navy);
  --muted: var(--slate);
  --rule: rgba(8, 31, 45, 0.16);
  --band-bg: var(--white);
  --contact-bg: var(--navy);
  --contact-fg: var(--coolwhite);
  --contact-muted: var(--mist);

  --pad: clamp(24px, 5.5vw, 96px);
  --measure: 38rem;
  --wide: 78rem;

  --size-statement: clamp(2.35rem, 1.2rem + 4.1vw, 5rem);
  --size-statement-s: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem);
  --size-title: clamp(2.2rem, 1.6rem + 1.9vw, 3.2rem);
  --size-h2: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --size-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  --size-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --size-body: clamp(1rem, 0.98rem + 0.12vw, 1.075rem);
  --size-small: 0.875rem;
  color-scheme: light;
}
.variant-b {
  --display: "Familjen Grotesk", var(--text);
  --display-weight: 500;
  --display-track: -0.02em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: var(--size-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, li, dd { text-wrap: pretty; }

/* Masthead */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(24px, 3vw, 40px) var(--pad);
}
.brand { display: inline-block; text-decoration: none; }
.logo { display: block; width: clamp(191px, 14vw, 232px); height: auto; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  font-size: 0.9375rem;
}
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"], nav a[aria-current="true"] { color: var(--fg); }
nav a[aria-current="page"], nav a[aria-current="true"] { text-decoration: underline; }
nav .cta {
  color: var(--fg);
  border: 1px solid var(--fg);
  padding: 0.55em 1.1em;
}
nav .cta:hover, nav .cta:focus-visible { background: var(--fg); color: var(--bg); }

/* Type */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  margin: 0;
}
.statement { font-size: var(--size-statement); line-height: 1.04; }
.statement span { display: block; text-wrap: balance; }
.statement-s { font-size: var(--size-statement-s); line-height: 1.08; }
h2 { font-size: var(--size-h2); line-height: 1.15; text-wrap: balance; }
h3 { font-size: var(--size-h3); line-height: 1.25; }
.lead { font-size: var(--size-lead); line-height: 1.5; max-width: var(--measure); }

/* Home */

.home main { display: block; padding: 0; }
.home main > section {
  padding-left: max(var(--pad), calc((100vw - var(--wide)) / 2));
  padding-right: max(var(--pad), calc((100vw - var(--wide)) / 2));
}

.hero { padding-top: clamp(72px, 16vh, 200px); padding-bottom: clamp(72px, 12vh, 140px); }
.hero .lead { margin: clamp(28px, 4vh, 48px) 0 0; color: var(--fg); }

.band { background: var(--band-bg); padding-top: clamp(56px, 9vh, 112px); padding-bottom: clamp(56px, 9vh, 112px); }

.diagram {
  display: block;
  width: 100%;
  max-width: 64rem;
  height: auto;
  margin: clamp(32px, 5vh, 56px) 0 clamp(24px, 4vh, 40px);
  color: var(--fg);
}
.directions .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  max-width: 64rem;
}
.directions article { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.directions h3 { margin-bottom: 0.75rem; }
.directions article p { margin: 0; max-width: 30rem; }

.reviews .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: 72rem;
}
.reviews article { border-top: 1px solid var(--fg); padding-top: clamp(1.5rem, 3vh, 2.25rem); }
.reviews h2 { font-size: var(--size-statement-s); line-height: 1.1; margin: 0 0 clamp(1.25rem, 3vh, 2rem); max-width: 16ch; }
.reviews article p:last-child { margin: 0; max-width: 30rem; }

.section { padding-top: clamp(72px, 12vh, 136px); }
.split {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, var(--measure));
  column-gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.split h2 { padding-top: 0.15em; }
.split .lead { margin: 0; }

.calm-list { list-style: none; margin: 0; padding: 0; font-size: var(--size-lead); line-height: 1.45; }
.calm-list li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.calm-list li:last-child { border-bottom: 1px solid var(--rule); }

.onward { margin: clamp(24px, 4vh, 36px) 0 0; }
.onward a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.contact-band { background: var(--contact-bg); color: var(--contact-fg); margin-top: clamp(88px, 14vh, 168px); }
.contact-band p { max-width: var(--measure); }
.contact-band h2 { margin-bottom: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--contact-fg);
  color: var(--contact-bg);
  padding: 0.8em 1.4em;
  border: 1px solid var(--contact-fg);
}
.button.ghost { background: transparent; color: var(--contact-fg); }
.button:hover, .button:focus-visible { opacity: 0.85; }

/* Inner pages */

.page main {
  flex: 1;
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--pad));
  padding: clamp(72px, 14vh, 160px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, var(--measure));
  column-gap: clamp(3rem, 7vw, 8rem);
  align-content: start;
}
.page main > h1 { font-size: var(--size-title); line-height: 1.05; }
.prose { max-width: var(--measure); margin-top: 0.4rem; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: var(--size-h3); margin: 3.25rem 0 1.1rem; }
.services { margin: 0; }
.services > div + div { margin-top: 1.75rem; }
.services dt { font-weight: 600; }
.services dd { margin: 0.3rem 0 0; }
.services .terms { margin-top: 0.4rem; }
.terms { color: var(--muted); font-size: var(--size-small); }
.channels { margin: 2.25rem 0; }
.channels > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.35rem 0; }
.channels dt { color: var(--muted); }
.channels dd { margin: 0; }
.quiet { color: var(--muted); font-size: var(--size-small); }

/* Approach: one line from question to report */

.flow {
  list-style: none;
  margin: 2.25rem 0 2.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1.5px solid var(--fg);
}
.flow li { position: relative; padding-top: 1.1rem; font-size: var(--size-small); }
.flow li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--fg);
}

/* Footer */

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(28px, 4vw, 48px) var(--pad);
  font-size: var(--size-small);
  color: var(--muted);
}
.page footer { margin-top: clamp(96px, 14vh, 160px); }
.home footer {
  padding-left: max(var(--pad), calc((100vw - var(--wide)) / 2));
  padding-right: max(var(--pad), calc((100vw - var(--wide)) / 2));
  background: var(--contact-bg);
  color: var(--contact-muted);
}
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: inherit; text-decoration: underline; }

@media (max-width: 960px) {
  .page main, .split { display: block; }
  .page main > .prose { margin-top: 1.5rem; }
  .split h2 { margin-bottom: 1.5rem; }
}
@media (max-width: 680px) {
  .masthead { flex-wrap: wrap; gap: 1rem; }
  nav { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .directions .two { grid-template-columns: 1fr; }
  .reviews .two { grid-template-columns: 1fr; }
  .channels > div { grid-template-columns: 5rem 1fr; }
  .flow { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid var(--fg); padding-left: 1.25rem; }
  .flow li { padding: 0 0 1.1rem; }
  .flow li:last-child { padding-bottom: 0; }
  .flow li::before { top: 0.45em; left: calc(-1.25rem - 6px); }
}
