:root {
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --ink: #102033;
  --ink-soft: #3E5166;
  --blue: #0C81C1;
  --blue-deep: #075985;
  --blue-dark: #06486A;
  --line: #D5DEE8;
  --mist: #E6EEF6;
  --cta: #0E1C2C;
  --alert: #8C3A2F;
  --sans: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --measure: 66ch;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 40;
  border-radius: 6px;
}
.skip:focus { top: 0.7rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.hero-grid > *,
.split > *,
.sec-head > *,
.svc-grid > *,
.engage > *,
.practice > *,
.case > *,
.reg-block > *,
.contact-grid > *,
.footer-grid > *,
.cta-inner > *,
.strip-inner > *,
.job > * { min-width: 0; }
.kicker {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 0.8rem;
}
.kicker-light { color: #9ECAE6; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(14px);
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-footer img { height: 36px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: 600 0.95rem var(--sans);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-cta {
  background: var(--blue-deep) !important;
  color: white !important;
  box-shadow: none !important;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.hero { padding: 2.75rem 0 4.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: end;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 38rem; margin: 1.25rem 0 1.75rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.btn, button.btn {
  display: inline-block;
  background: var(--blue-deep);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  font: 600 1rem var(--sans);
  cursor: pointer;
}
.btn:hover, button.btn:hover { background: var(--blue-dark); color: white; }
button.btn.is-sending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: wait;
  width: 100%;
}
button.btn:disabled { opacity: 0.92; }
.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  flex: 0 0 auto;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-quiet { font-weight: 600; text-decoration: none; }
.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.specimen {
  margin: -4.5rem 0 0 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.3rem 1.05rem;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
  position: relative;
}
.specimen-kicker {
  font-size: 0.82rem;
  color: var(--blue-deep);
  margin-bottom: 0.7rem;
}
.specimen-product { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.specimen-name { margin: 0.15rem 0 1rem; font-weight: 600; font-size: 1.05rem; }
.hs { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: flex-start; max-width: 100%; }
.specimen { max-width: 100%; }
.seg { display: flex; flex-direction: column; gap: 0.45rem; }
.seg b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--line);
  transition: border-color 0.45s, color 0.45s;
}
.seg span {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.45s;
}
.seg.on b { border-color: var(--blue); color: var(--blue-deep); }
.seg.on span { opacity: 1; }
.hs-dot { color: var(--line); font-family: var(--mono); font-size: 1.6rem; line-height: 1; }
.specimen figcaption {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.specimen figcaption em { font-style: normal; color: var(--blue-deep); font-weight: 600; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.strip p { margin: 0; font-weight: 600; font-size: 0.98rem; }
.strip span {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.section { padding: 5.25rem 0; }
.section + .section, .band { border-top: 1px solid var(--line); }
.split, .sec-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.deck, .measure { max-width: var(--measure); color: var(--ink-soft); font-size: 1.08rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
.facts div { border-top: 2px solid var(--blue); padding-top: 0.7rem; }
.facts dt { font-size: 0.82rem; color: var(--ink-soft); }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; }

.svc-grid, .engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card, .engage article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.3rem 1.4rem;
}
.svc-card span, .case-meta .kicker { font-family: var(--mono); color: var(--blue); font-size: 0.78rem; }
.svc-card h3, .engage h3 { margin: 0.7rem 0 0.55rem; }
.svc-card p, .engage p { margin: 0; color: var(--ink-soft); }
.svc-card a { display: inline-block; margin-top: 0.9rem; font-weight: 600; text-decoration: none; }

.table-wrap { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.regs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.regs th { text-align: left; font-size: 0.85rem; color: var(--ink-soft); background: var(--mist); padding: 0.85rem 1rem; }
.regs td { padding: 0.95rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.regs td:first-child { font-weight: 600; width: 28%; }
.regs td:nth-child(2) { color: var(--ink-soft); width: 18%; white-space: nowrap; }
.regs a { text-decoration: none; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0; }
.job {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.job:first-child { border-top: 0; padding-top: 0; }
.when { font-family: var(--mono); color: var(--blue-deep); font-size: 0.92rem; padding-top: 0.25rem; }
.job h3 { margin-bottom: 0.35rem; }
.job .for { color: var(--ink-soft); margin-bottom: 0.6rem; }
.job p { max-width: var(--measure); }

.engage article { border: 0; border-top: 3px solid var(--blue); border-radius: 0; background: transparent; padding: 1.1rem 0 0; }

.cta-band { background: var(--cta); color: #E7EEF5; padding: 2.75rem 0; }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}
.cta-band h2 { max-width: 24ch; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 0.6rem; }
.cta-band p { color: #B7C6D6; max-width: 60ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }
.cta-mail { color: white; font-weight: 600; }

.site-footer { background: white; border-top: 1px solid var(--line); padding: 1.6rem 0 1.2rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-base { color: var(--ink-soft); font-size: 0.88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.footer-mail { color: var(--blue-deep); font-weight: 500; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--blue-deep); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.page-hero { padding: 4.2rem 0 1rem; }
.page-hero h1 { max-width: 16ch; }
.index-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; margin-top: 1.4rem; }
.index-links a { font-weight: 600; text-decoration: none; }

.practice {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
.practice img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; }
.practice-flip .practice-copy { order: -1; }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.2rem; margin: 0.7rem 0; }
.ticks li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.ticks strong { display: block; }
.ticks span { color: var(--ink-soft); }

.case {
  display: grid;
  grid-template-columns: 170px 1.15fr 0.85fr;
  gap: 2rem;
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.case figcaption { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.45rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags li { background: var(--mist); color: var(--ink); border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 0.82rem; }
.note { color: var(--ink-soft); font-size: 0.92rem; }

.reg-block { padding: 2.4rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 2rem; }
.reg-block h2 { font-size: clamp(1.5rem, 2vw, 2rem); margin-bottom: 0.7rem; }
.callout {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  color: var(--ink-soft);
}

.bleed { margin: 0; }
.bleed img { width: 100%; height: min(68vh, 620px); object-fit: cover; }
.frame img { width: 100%; height: 360px; object-fit: cover; border-radius: 12px; }
.frame figcaption { color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.5rem; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: start; padding-bottom: 5rem; }
.aside-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; }
.aside-card dt { color: var(--ink-soft); font-size: 0.82rem; margin-top: 0.9rem; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { margin: 0.15rem 0 0; font-weight: 600; }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.8rem;
}
textarea { min-height: 160px; resize: vertical; }
.is-invalid { border-color: var(--alert); }
.field-error { color: var(--alert); font-size: 0.9rem; margin: 0.3rem 0 0; }
.notice { padding: 0.9rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.notice-ok { background: #E5F2EA; }
.notice-err { background: #F8E8E4; color: #6E2E26; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent input { width: auto; margin-top: 0.35rem; }
.consent label { font-weight: 500; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.prose { max-width: 760px; }
.page-pad { padding-bottom: 2rem; }
.section-tight { padding-top: 1rem; }
.optional { font-weight: 500; color: var(--ink-soft); }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0; }
  .nav-cta { text-align: center; }
  .hero-grid, .split, .sec-head, .svc-grid, .engage, .cta-inner,
  .practice, .case, .reg-block, .contact-grid, .facts, .strip-inner {
    grid-template-columns: 1fr;
  }
  .practice-flip .practice-copy { order: 0; }
  .hero { padding-top: 1.5rem; }
  .hero-visual img, .practice img, .frame img { height: 240px; }
  .specimen { margin: 1rem 0 0; }
  .case img { height: 200px; }
  .section { padding: 3.5rem 0; }
  .brand img { height: 40px; max-width: calc(100vw - 8.5rem); }
  h1 { font-size: 2.15rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 1.05rem; }
  .form-row { grid-template-columns: 1fr; }
  .hs { gap: 0.3rem; }
  .seg b { font-size: 1.15rem; }
  .regs thead { display: none; }
  .regs, .regs tbody, .regs tr, .regs td { display: block; width: 100% !important; }
  .regs tr { padding: 0.9rem 1rem; border-top: 1px solid var(--line); }
  .regs td { border: 0; padding: 0.15rem 0; white-space: normal !important; }
  .job { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer-base { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seg b, .seg span, .spinner { transition: none; animation: none; }
}

/* Revisions, October 2026: hide empty labels and decorative numbering */
.kicker:empty { display: none; }
.strip span, .svc-card > span { display: none; }
.svc-card h3 { margin-top: 0; }
.case-meta .kicker { font-family: var(--mono); }
