:root {
  --paper: #f1f3f1;
  --mist: #e1e7e4;
  --ink: #0f1e22;
  --ink-2: #3c4b4f;
  --teal: #1e5a57;
  --teal-dark: #154340;
  --signal: #e0a100;
  --line: #c4ccc8;
  --white: #fbfcfb;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 650; }
p { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--teal); color: var(--white); border: 2px solid var(--teal); }
.btn-solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 40px; height: 40px; fill: var(--ink); flex: none; }
.mark .bubble { fill: var(--signal); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: .78rem; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--teal); }
.header-cta { min-height: 42px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-ink { background: var(--ink); color: var(--white); }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 14px; font-size: 1.12rem; color: var(--ink-2); }
.section-ink .section-head p { color: var(--line); }

/* Lifecycle */
.lifecycle {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 2.5px solid var(--ink);
}
.stage { position: relative; padding: 28px 22px 0 0; }
.stage::before {
  content: ""; position: absolute; top: -8px; left: 0;
  width: 13px; height: 13px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 50%;
}
.stage:nth-child(4)::before, .stage:nth-child(5)::before { background: var(--signal); }
.stage-when { display: block; font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.stage h3 { min-height: 2.5em; }
.stage p { margin-top: 10px; font-size: .97rem; color: var(--ink-2); }
.stage ul { margin: 16px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .92rem; }
.stage li + li { margin-top: 6px; }

/* Clients */
.clients-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); }
.clients { margin: 0; border-top: 1px solid color-mix(in srgb, var(--white) 30%, transparent); }
.client {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 30%, transparent);
}
.client dt { font-weight: 650; }
.client dd { margin: 0; color: var(--line); }

/* Partners */
.partner {
  display: grid; grid-template-columns: 260px 1fr 280px; gap: clamp(24px, 4vw, 56px);
  padding: 40px 0; border-top: 2.5px solid var(--ink);
}
.partner + .partner { border-top-width: 1px; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--mist);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.portrait span { font-size: 3.4rem; font-weight: 800; color: var(--teal); }
.portrait small { font-size: .8rem; color: var(--ink-2); }
.partner-role { margin: 8px 0 18px; font-weight: 500; color: var(--teal); }
.partner-body p:not(.partner-role) { max-width: 62ch; color: var(--ink-2); }
.edu { margin: 18px 0 0; padding: 0; list-style: none; font-size: .93rem; }
.edu li + li { margin-top: 4px; }
.regs { border-collapse: collapse; width: 100%; align-self: start; border: 1.5px solid var(--ink); background: var(--white); }
.regs caption { text-align: left; font-size: .82rem; font-weight: 600; padding-bottom: 8px; }
.regs th, .regs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.regs tr:last-child th, .regs tr:last-child td { border-bottom: 0; }
.regs th { font-weight: 650; width: 42%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { margin: 32px 0 0; }
.contact-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .82rem; color: var(--ink-2); }
.contact-list dd { margin: 2px 0 0; font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--ink);
}
.form button { justify-self: start; }
.form-done { grid-column: 1 / -1; color: var(--teal); font-weight: 600; }

/* Home: photo hero */
.hero-photo { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,34,.15) 0%, rgba(15,30,34,.55) 45%, rgba(15,30,34,.88) 100%); }
.hero-photo-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-photo h1 { max-width: 18ch; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.hero-photo-inner p { max-width: 54ch; margin-top: 20px; font-size: 1.2rem; color: color-mix(in srgb, var(--white) 88%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-ghost { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.hero-credit { position: absolute; right: 16px; bottom: 10px; z-index: 1; font-size: .75rem; color: color-mix(in srgb, var(--white) 75%, transparent); }
.hero-credit a { color: inherit; }

/* Home: about */
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid h2, .two-col h2 { margin-bottom: 18px; }
.body { margin-top: 16px; color: var(--ink-2); max-width: 64ch; }
.about-photo img { aspect-ratio: 4 / 3; }
.facts { margin: 24px 0 0; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; color: var(--ink-2); }

/* Home: service cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.svc-photo img { aspect-ratio: 16 / 10; }
.svc-body { display: flex; flex-direction: column; padding: 22px 22px 26px; flex: 1; }
.svc-body h3 a { text-decoration: none; }
.svc-body h3 a:hover { color: var(--teal); }
.svc-body > p { margin-top: 10px; color: var(--ink-2); font-size: .97rem; }
.ticks.small { margin: 16px 0 20px; font-size: .93rem; }
.ticks.small li { padding: 6px 0 6px 22px; }
.ticks.small li::before { top: 14px; width: 10px; height: 3px; }
.svc-body .text-link { margin-top: auto; }

.svc-help { background: var(--teal); color: var(--white); border: 0; justify-content: flex-end; padding: 28px; }
.svc-help h3 { font-size: 1.5rem; }
.svc-help p { margin: 12px 0 24px; color: color-mix(in srgb, var(--white) 85%, transparent); }
.svc-help .btn { align-self: flex-start; }
.table-scroll { overflow-x: auto; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.why { border-top: 2.5px solid var(--signal); padding-top: 18px; }
.why p { margin-top: 10px; color: var(--line); }
.why-grid.light .why { border-top-color: var(--teal); }
.why-grid.light .why p { color: var(--ink-2); }

/* Two columns and plain lists */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.plain-list { margin: 20px 0 0; }
.plain-list div { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.plain-list dt { font-weight: 650; }
.plain-list dd { margin: 0; color: var(--ink-2); }
.mv { margin-top: 32px; }
.mv h3 { margin-top: 20px; }
.mv .body { margin-top: 6px; }
.regs.wide caption { display: none; }
.regs.wide { margin-top: 20px; }
.regs.wide th[scope="col"] { background: var(--mist); }

/* Home: partner cards */
.partner-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.partner-card .partner-role { margin: 6px 0 0; }
.partner-card .body { margin-top: 12px; font-size: .97rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--line); padding: 56px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-name { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.footer-k { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
  font-size: .84rem;
}

/* Navigation states */
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.nav-contact { display: none; }
.menu-btn {
  display: none; margin-left: auto; min-height: 42px; padding: 0 16px;
  font: inherit; font-weight: 600; background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer;
}

/* Photos */
.wrap-wide { max-width: 1440px; }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--mist); }
.credit { margin-top: 8px; font-size: .78rem; color: var(--ink-2); }
.credit a { color: inherit; }
.section-ink .credit { color: var(--line); }

/* Page header */
.page-head { padding: clamp(40px, 6vw, 80px) 0 0; }
.trail { margin-bottom: 18px; font-size: .92rem; }
.trail a { color: var(--teal); font-weight: 600; text-decoration: none; }
.trail a:hover { text-decoration: underline; }
.page-head-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.page-head h1, .contact-title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; font-weight: 800; letter-spacing: -0.025em; }
.page-intro { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.page-photo img { aspect-ratio: 21 / 8; }

/* Photo band */
.photo-band { padding-bottom: clamp(32px, 5vw, 64px); }
.photo-band.flush { padding-bottom: 0; }
.band-photo img { aspect-ratio: 21 / 7; }
.band-text p { max-width: 40ch; margin-top: 24px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; font-weight: 600; }

/* Links and CTA */
.more { margin-top: 32px; }
.text-link { color: var(--teal); font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link.on-ink { color: var(--signal); }
.stage h3 a { text-decoration: none; }
.stage h3 a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.btn-signal { background: var(--signal); color: var(--ink); border: 2px solid var(--signal); }
.btn-signal:hover { background: var(--white); border-color: var(--white); }
.cta-band { background: var(--teal); color: var(--white); padding: clamp(48px, 6vw, 80px) 0; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-row p { margin-top: 10px; color: color-mix(in srgb, var(--white) 80%, transparent); max-width: 52ch; }

/* Home: partner teasers */
.partner-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-teaser {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  padding: 20px; border: 1.5px solid var(--ink); background: var(--white); text-decoration: none;
  transition: border-color .2s;
}
.partner-teaser:hover { border-color: var(--teal); }
.portrait.small { aspect-ratio: 1; }
.portrait.small span { font-size: 2.2rem; }
.pt-name { display: block; font-size: 1.25rem; font-weight: 700; }
.pt-role { display: block; margin-top: 4px; color: var(--teal); font-weight: 500; }
.pt-regs { display: block; margin-top: 10px; font-size: .88rem; color: var(--ink-2); }

/* Insights */
.insights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight { background: var(--white); border: 1.5px solid var(--ink); display: flex; flex-direction: column; }
.insight-photo img { aspect-ratio: 3 / 2; }
.insight-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.insight .tag { font-size: .84rem; font-weight: 600; color: var(--teal); }
.insight h3 { font-size: 1.2rem; }
.insight p { color: var(--ink-2); font-size: .95rem; }
.soon { margin-top: auto; padding-top: 8px; font-size: .84rem; color: var(--ink-2); }

/* Services page */
.service-row { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.service-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service-row-grid.flip .service-photo { order: 2; }
.service-photo img { aspect-ratio: 4 / 3; }
.service-row-body h2 { margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.ticks { list-style: none; margin: 20px 0 28px; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 4px; background: var(--teal); }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.h-sm { font-size: 1.4rem; }
.h-sm.gap { margin-top: 12px; }
.inline-list { margin-top: 14px; color: var(--ink-2); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2.5px solid var(--ink); }
.steps li { padding: 24px 24px 0 0; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px;
  background: var(--ink); color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps p { margin-top: 8px; color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); }
.faqs details { border-top: 1.5px solid var(--ink); padding: 18px 0; }
.faqs details:last-child { border-bottom: 1.5px solid var(--ink); }
.faqs summary { cursor: pointer; font-weight: 650; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faqs details[open] summary::after { content: "\2212"; }
.faqs details p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }
.next-service { border-top: 1px solid var(--line); }
.next-service a { display: flex; flex-direction: column; gap: 6px; padding: 40px 0; text-decoration: none; }
.next-k { font-size: .9rem; color: var(--ink-2); }
.next-v { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 750; line-height: 1.05; }
.next-service a:hover .next-v { color: var(--teal); }

/* Who we serve */
.audience { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 6vw, 96px); padding: 40px 0; border-top: 2.5px solid var(--ink); }
.audience + .audience { border-top-width: 1px; }
.aud-k { margin-top: 24px; font-size: .88rem; font-weight: 600; }
.aud-links { list-style: none; margin: 10px 0 0; padding: 0; }
.aud-links li { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.aud-links a { color: var(--teal); font-weight: 650; }
.aud-links span { color: var(--ink-2); font-size: .95rem; }

/* Partners page */
.partner-body h2 { font-size: 1.6rem; }
.values { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values div { border-top: 2.5px solid var(--signal); padding-top: 18px; }
.values dt { font-size: 1.4rem; font-weight: 700; }
.values dd { margin: 8px 0 0; color: var(--line); }
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.sector-list li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }

/* Contact page */
.contact-page { padding-top: clamp(40px, 6vw, 80px); }
.contact-title { margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1080px) {
  .lifecycle { grid-template-columns: 1fr; border-top: 0; border-left: 2.5px solid var(--ink); }
  .stage { padding: 0 0 36px 28px; }
  .stage::before { top: 4px; left: -8px; }
  .stage h3 { min-height: 0; }
  .stage ul { max-width: 520px; }
  .partner { grid-template-columns: 200px 1fr; }
  .regs { grid-column: 2; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1.5px solid var(--ink);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav-contact { display: block; }
  .page-head-grid, .detail-grid, .faq-grid, .audience, .service-row-grid { grid-template-columns: 1fr; }
  .service-row-grid.flip .service-photo { order: 0; }
  .partner-teasers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-photo img { aspect-ratio: 16 / 9; }
  .band-photo img { aspect-ratio: 16 / 9; }
  .clients-grid, .contact-grid, .about-grid, .two-col { grid-template-columns: 1fr; }
  .svc-cards, .why-grid, .partner-cards { grid-template-columns: 1fr; }
  .insights { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-row { min-height: 64px; gap: 12px; }
  .mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.25rem; }
  .header-cta { padding: 0 14px; font-size: .9rem; }
  .client { grid-template-columns: 1fr; gap: 4px; }
  .facts div, .plain-list div { grid-template-columns: 1fr; gap: 2px; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-card .portrait.small { width: 96px; }
  .hero-photo { min-height: 640px; }
  .partner { grid-template-columns: 1fr; }
  .portrait { max-width: 220px; }
  .regs { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .partner-teaser { grid-template-columns: 80px 1fr; gap: 16px; padding: 16px; }
  .portrait.small span { font-size: 1.6rem; }
  .aud-links li { grid-template-columns: 1fr; gap: 2px; }
  .steps { grid-template-columns: 1fr; }
  .sector-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-photo img, .band-photo img { aspect-ratio: 4 / 3; }
}

.two-col > *, .about-grid > *, .contact-grid > * { min-width: 0; }
