/* Mimira Tech, static site. One stylesheet, tokens first. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #f3f4f1;
  --paper-2: #e7eae5;
  --sky: #dde8f1;
  --ink: #0f1b2d;
  --muted: #475468;
  --navy: #0a3a66;
  --navy-deep: #08233d;
  --thread: #b3362b;
  --thread-deep: #8f281f;
  --on-dark: #f3f4f1;
  --on-dark-muted: #bccada;

  --m: clamp(20px, 3.4vw, 48px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 200px);

  --s-display: clamp(44px, 5.6vw, 96px);
  --s-h2: clamp(32px, 3.9vw, 62px);
  --s-statement: clamp(22px, 2.15vw, 32px);
  --s-body: 18px;
  --s-small: 16px;
  --s-fine: 13px;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Cinzel", Georgia, serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--s-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--thread); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 3px; }
::selection { background: var(--thread); color: #fff; }
.mt { margin-top: 28px; }
.mb { margin-bottom: 20px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.vh { position: absolute !important; width: 2px; height: 2px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- grid and axis ---------- */
.g {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--m);
}
.on-axis { grid-column: 6 / -1; }
.left-zone { grid-column: 1 / 5; }
.wide { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .g { grid-template-columns: minmax(0, 1fr); }
  .on-axis, .left-zone, .wide { grid-column: 1 / -1; }
}

/* ---------- type steps ---------- */
.display { font-size: var(--s-display); line-height: 0.98; letter-spacing: -0.04em; font-weight: 600; }
.h2 { font-size: var(--s-h2); line-height: 1; letter-spacing: -0.035em; }
.statement { font-size: var(--s-statement); line-height: 1.28; letter-spacing: -0.015em; font-weight: 400; }
.statement-b { font-size: var(--s-statement); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.small { font-size: var(--s-small); line-height: 1.5; }
.muted { color: var(--muted); }
.measure { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--thread); color: #fff;
  font: 600 var(--s-small)/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--thread-deep); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: var(--navy); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.tlink {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.tlink:hover { text-decoration-color: var(--thread); }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 0.35em; transition: transform var(--t-hover) var(--ease-out); }
.arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- header ---------- */
.site-head {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center; padding: 22px var(--m);
  background: var(--paper);
}
.mark { grid-column: 1 / 5; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); width: max-content; }
.mark img { width: 34px; height: 34px; }
.mark span { font-family: var(--font-mark); font-weight: 600; font-size: 21px; letter-spacing: 0.08em; line-height: 1; }
.mark span small { font-size: 0.62em; letter-spacing: 0.22em; margin-left: 0.4em; font-weight: 500; }
.nav { grid-column: 6 / -1; display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: var(--s-small); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--thread); }
.nav .lang { margin-left: auto; color: var(--muted); }
.nav .btn { min-height: 44px; padding: 0 18px; }
.nav .btn:hover { text-decoration: none; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .site-head { grid-template-columns: 1fr auto; }
  .mark { grid-column: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font: 600 var(--s-body)/1 var(--font); color: var(--ink); cursor: pointer;
  }
  .nav {
    grid-column: 1 / -1; display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 20px 0 8px;
  }
  .nav a { font-size: var(--s-statement); font-weight: 600; letter-spacing: -0.02em; padding: 6px 0; }
  .nav .lang { margin-left: 0; font-size: var(--s-body); font-weight: 500; }
  .nav .btn { margin-top: 12px; min-height: 52px; }
  .site-head.open .nav { display: flex; }
}

/* ---------- home hero: masthead mosaic + title on the axis ---------- */
.masthead {
  display: grid; grid-template-columns: 5fr 2fr 4fr 1fr; height: clamp(240px, 44svh, 520px);
}
.masthead > * { min-width: 0; overflow: hidden; margin: 0; }
.masthead img { width: 100%; height: 100%; object-fit: cover; }
.tile-navy { background: var(--navy); }
.tile-thread { background: var(--thread); }
.masthead .credit, .figure-credit {
  font-size: var(--s-fine); line-height: 1.3; color: var(--muted); margin-top: 8px;
}
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(72px, 8vw, 128px); row-gap: 28px; align-items: end; }
.hero .left-zone { grid-row: 1; align-self: end; }
.hero .on-axis { grid-row: 1; }
.hero-lede { font-size: var(--s-body); line-height: 1.55; max-width: 36ch; margin: 0; }
.hero h1 { margin-bottom: 36px; }
.hero-facts { margin-top: 20px; font-size: var(--s-small); color: var(--muted); max-width: 34ch; }
.credits-row { grid-column: 1 / -1; grid-row: 2; margin: 24px 0 0; font-size: var(--s-fine); color: var(--muted); }
@media (max-width: 860px) { .credits-row { grid-row: auto; } }
.credits-row a { text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .masthead { grid-template-columns: 3fr 1fr; grid-template-rows: 1fr 1fr; height: 48svh; }
  .masthead .tile-thread { grid-row: 2; grid-column: 2; }
  .hero .left-zone, .hero .on-axis { grid-row: auto; }
  .hero .on-axis { order: -1; }
  .hero h1 { margin-bottom: 28px; }
  .hero { row-gap: 24px; padding-top: 32px; }
}

@media (max-width: 520px) {
  :root { --s-display: clamp(32px, 8.8vw, 46px); }
}
@media (max-width: 860px) {
  .g > * { grid-column: 1 / -1 !important; }
  .text-page .aside { order: 2; margin: 32px 0 0; }
  .next li .t { font-size: var(--s-body); font-weight: 700; }
}

/* masked line reveal */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines .line > span { display: block; }

/* ---------- intro: right-half paragraph, lone photo ---------- */
.intro { padding-block: var(--section); row-gap: 0; }
.intro-text { grid-column: 7 / -1; grid-row: 1; margin: 0; text-indent: 3em; }
.intro-photo { grid-column: 1 / 4; grid-row: 2; margin: -6em 0 0; }
.intro-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.intro-note { grid-column: 1 / 3; grid-row: 3; margin-top: 64px; max-width: 26ch; }
.intro-more { grid-column: 7 / -1; grid-row: 2; align-self: start; margin-top: 32px; max-width: 48ch; }
@media (max-width: 860px) {
  .intro-text { grid-column: 1; text-indent: 0; }
  .intro-more { grid-column: 1; grid-row: auto; }
  .intro-photo { grid-column: 1; grid-row: auto; margin: 48px 0 0 38%; }
  .intro-photo img { aspect-ratio: 4 / 5; }
  .intro-note { grid-column: 1; grid-row: auto; margin-top: 24px; }
}

/* ---------- many into one ---------- */
.many { background: var(--paper-2); padding-block: var(--section); }
.many-head { grid-column: 1 / 6; }
.many-head p { margin-top: 24px; max-width: 40ch; }
.many-figure { grid-column: 1 / -1; margin: 64px 0 0; }
.many-figure svg { width: 100%; height: auto; }
.many-figure svg .p1 { fill: #b9c3cf; }
.many-figure svg .p2 { fill: #d2d9e0; }
.many-figure svg .r { fill: var(--thread); }
.many-figure svg .o { fill: var(--navy); }
.many-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 32px; list-style: none; }
.many-steps strong { display: block; font-size: var(--s-body); margin-bottom: 6px; }
.many-steps p { font-size: var(--s-small); max-width: 34ch; }
.many-steps li:nth-child(2) strong { color: var(--thread); }
.many-steps li:nth-child(3) strong { color: var(--navy); }
.svg-tall { display: none; }
@media (max-width: 860px) {
  .many-figure { display: grid; grid-template-columns: 52% 1fr; gap: 16px; margin-top: 40px; }
  .svg-wide { display: none; }
  .svg-tall { display: block; grid-row: 1; }
  .many-steps { grid-column: 1; margin: 0; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); align-items: center; }
  .many-steps p { margin: 0; }
}

/* ---------- live calculator, a full colour page ---------- */
.calc { background: var(--navy); color: var(--on-dark); padding-block: var(--section); }
.calc a { color: var(--on-dark); }
.calc h2 { grid-column: 1 / 7; }
.calc-lede { grid-column: 1 / 6; margin-top: 24px; color: var(--on-dark-muted); max-width: 40ch; }
.calc-form { grid-column: 1 / 6; grid-row: 3; margin-top: 48px; display: grid; gap: 28px; }
.calc-out { grid-column: 7 / -1; grid-row: 1 / 4; align-self: end; }
.calc-field label { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; margin-bottom: 10px; }
.calc-field output { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--thread); height: 32px; margin: 0; }
.calc-big { font-size: clamp(56px, 8.6vw, 148px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; margin: 0; }
.calc-sub { font-size: var(--s-statement); line-height: 1.25; margin: 20px 0 0; max-width: 24ch; }
.calc-note { margin-top: 28px; color: var(--on-dark-muted); font-size: var(--s-small); max-width: 46ch; }
@media (max-width: 860px) {
  .calc h2, .calc-lede, .calc-form, .calc-out { grid-column: 1; grid-row: auto; }
  .calc-out { margin-top: 48px; }
}

/* ---------- rows with margin photographs ---------- */
.rows { padding-block: var(--section); }
.rows-head { grid-column: 5 / -1; min-height: 46svh; display: flex; align-items: center; }
.row { grid-column: 5 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap); align-items: start; margin-top: clamp(72px, 8vw, 120px); }
.row:first-of-type { margin-top: 0; }
.row h3 { font-size: var(--s-statement); line-height: 1.1; margin-bottom: 14px; }
.row p { max-width: 38ch; margin-bottom: 14px; }
.row figure { margin: 0; }
.row img { object-fit: cover; }
.row .f1 img { width: 240px; aspect-ratio: 4 / 5; }
.row .f2 img { width: 320px; aspect-ratio: 3 / 2; }
.row .f3 img { width: 200px; aspect-ratio: 1; }
.row .f4 img { width: 260px; aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .rows-head { grid-column: 1; min-height: 32svh; }
  .row { grid-column: 1; grid-template-columns: 1fr; margin-top: 64px; }
  .row .f1 img { width: 100%; }
  .row .f2 img { width: 72%; margin-left: auto; }
  .row .f3 img { width: 56%; }
  .row .f4 img { width: 80%; margin-left: auto; }
}

/* ---------- the red thread through five phases ---------- */
.phases { padding-block: var(--section); background: var(--paper); }
.phases-head { grid-column: 1 / 5; }
.phases-head p { margin-top: 20px; max-width: 30ch; }
.thread-list { grid-column: 6 / -1; list-style: none; position: relative; padding-left: 56px; }
.thread-list::before {
  content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 4px; background: var(--thread);
  transform-origin: top;
}
.thread-list li { position: relative; padding-bottom: clamp(36px, 4vw, 56px); }
.thread-list li:last-child { padding-bottom: 0; }
.thread-list li::before {
  content: ""; position: absolute; left: -56px; top: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 5px solid var(--thread);
}
.thread-list h3 { font-size: var(--s-statement); line-height: 1.1; margin-bottom: 8px; }
.thread-list p { max-width: 46ch; margin: 0; }
@media (max-width: 860px) {
  .phases-head { grid-column: 1; margin-bottom: 48px; }
  .thread-list { grid-column: 1; padding-left: 44px; }
  .thread-list li::before { left: -44px; }
}

/* ---------- square plate with tabs (Ireland / Sweden) ---------- */
.plate { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--sky); }
.plate-photo { position: relative; padding: 40px; display: flex; align-items: center; margin: 0; }
.plate-photo .frame { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; }
.plate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 500ms var(--ease-soft); }
.plate-photo img[hidden] { display: block; opacity: 0; }
.plate-photo .ring {
  position: absolute; left: 7%; top: 7%; width: 86%; height: 86%; border-radius: 50%;
  border: 6px solid rgba(243, 244, 241, 0.92); pointer-events: none;
}
.plate-photo figcaption { position: absolute; left: 40px; bottom: 10px; font-size: var(--s-fine); color: var(--muted); }
.plate-body { padding: 40px var(--m) 40px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.tabs { display: flex; gap: 28px; flex-wrap: wrap; }
.tabs button {
  background: none; border: 0; padding: 6px 0; cursor: pointer; font: 500 var(--s-body)/1.2 var(--font); color: var(--muted);
  text-decoration: none; transition: color var(--t-hover) ease;
}
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--thread); }
.tabs button:hover { color: var(--ink); }
.panel h3 { margin-bottom: 28px; }
.panel ul { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; }
.panel li { padding-left: 22px; position: relative; max-width: 44ch; }
.panel li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--thread); }
.cells { display: grid; grid-template-columns: 1fr 1fr; }
.cells a { min-height: 72px; display: flex; align-items: center; padding: 0 22px; font-weight: 600; text-decoration: none; transition: background-color var(--t-hover) ease; }
.cells a:first-child { background: var(--ink); color: var(--paper); }
.cells a:first-child:hover { background: var(--navy); }
.cells a:last-child { background: #c9d9e7; color: var(--ink); }
.cells a:last-child:hover { background: #b7cbdd; }
@media (max-width: 860px) {
  .plate { grid-template-columns: 1fr; min-height: 0; }
  .plate-photo { padding: 16px; }
  .plate-photo { flex-direction: column; align-items: stretch; }
  .plate-photo figcaption { position: static; margin-top: 8px; }
  .plate-body { padding: 24px 16px 16px; }
  .cells { grid-template-columns: 1fr; }
  .cells a { min-height: 60px; }
}

/* ---------- pricing table ---------- */
.pricing { padding-block: var(--section); }
.price-table { grid-column: 1 / -1; width: 100%; border-collapse: collapse; font-size: var(--s-body); table-layout: fixed; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 18px 20px; }
.price-table thead th { padding-top: 0; padding-bottom: 28px; font-weight: 400; }
.price-table thead th:first-child { width: 22%; padding-left: 0; }
.price-table .plan { display: block; font-size: var(--s-statement); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-table .price { display: block; white-space: nowrap; font-size: var(--s-h2); letter-spacing: -0.035em; line-height: 1.05; margin-top: 8px; }
.price-table .per { display: block; font-size: var(--s-small); color: var(--muted); margin-top: 4px; }
.price-table tbody th { font-weight: 500; padding-left: 0; color: var(--muted); }
.price-table tbody tr:nth-child(odd) { background: var(--paper-2); }
.price-table tbody tr:nth-child(odd) th { padding-left: 12px; }
.price-table .rec { background: var(--sky); }
.price-table tbody tr:nth-child(odd) .rec { background: #cfdeeb; }
.price-table tfoot td { padding-top: 24px; }
.price-table tfoot .btn { width: 100%; }
.price-note { grid-column: 6 / -1; margin-top: 32px; }
.price-stack { display: none; grid-column: 1; }
@media (max-width: 860px) {
  .price-table { display: none; }
  .price-stack { display: grid; gap: 16px; }
  .price-note { grid-column: 1; }
  .plan-block { background: var(--paper-2); padding: 24px 20px; }
  .plan-block.rec { background: var(--sky); }
  .plan-block .plan { font-size: var(--s-statement); font-weight: 700; letter-spacing: -0.02em; display: block; }
  .plan-block .price { font-size: 9vw; letter-spacing: -0.03em; line-height: 1.1; display: block; margin-top: 4px; }
  .plan-block dl { margin: 20px 0 24px; display: grid; gap: 12px; }
  .plan-block dt { color: var(--muted); }
  .plan-block dd { margin: 0; }
  .plan-block .btn { width: 100%; }
}
.pricing-head { grid-column: 1 / 6; margin-bottom: 48px; }
.pricing-head p { margin-top: 20px; max-width: 40ch; }

/* ---------- about: drop-cap statement ---------- */
.about { padding-block: clamp(96px, 10vw, 140px); background: var(--paper-2); }
.about-facts { grid-column: 1 / 3; list-style: none; display: grid; gap: 14px; align-content: start; font-size: var(--s-small); }
.about-facts strong { display: block; font-weight: 600; }
.about-text { grid-column: 3 / -1; }
.about-text p { font-size: var(--s-statement); line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 1.1em; max-width: 46em; }
.about-text p + p { color: var(--ink); font-size: var(--s-body); line-height: 1.55; letter-spacing: 0; max-width: 62ch; }
.about-text .cap { float: left; width: 3.6em; height: 3.6em; margin: 0.1em 0.5em 0 0; }
.about-text .cap img { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .about-text { grid-column: 1; }
  .about-facts { grid-column: 1; grid-row: 2; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
  .about-text .cap { width: 4.4em; height: 4.4em; }
}

/* ---------- FAQ: a band per question ---------- */
.faq-title { background: var(--thread); color: #fff; min-height: 40svh; display: flex; align-items: flex-end; padding: 48px var(--m); }
.faq-title h2 { font-size: var(--s-display); letter-spacing: -0.04em; }
.qa { padding-block: 56px; }
.qa:nth-of-type(odd) { background: var(--paper); }
.qa:nth-of-type(even) { background: var(--paper-2); }
.qa h3 { grid-column: 1 / 6; font-size: var(--s-statement); line-height: 1.15; }
.qa div { grid-column: 7 / -1; }
.qa p { max-width: 58ch; }
.qa p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .faq-title { min-height: 30svh; padding: 32px 20px; }
  .qa { padding-block: 32px; }
  .qa h3 { grid-column: 1; margin-bottom: 14px; }
  .qa div { grid-column: 1; }
}

/* ---------- read next ---------- */
.next { padding-block: var(--section); }
.next h2 { grid-column: 1 / 5; }
.next ul { grid-column: 6 / -1; list-style: none; }
.next li a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 22px 0; text-decoration: none;
}
.next .t { font-size: var(--s-statement); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; transition: color var(--t-hover) ease; }
.next .d { grid-column: 1; color: var(--muted); }
.next .go { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: var(--s-statement); transition: transform var(--t-hover) var(--ease-out); }
.next li a:hover .t { color: var(--thread); }
.next li a:hover .go { transform: translateX(6px); }
@media (max-width: 860px) {
  .next h2, .next ul { grid-column: 1; }
  .next ul { margin-top: 32px; }
}

/* ---------- CTA: three photographs then a field ---------- */
.cta-strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 40svh; min-height: 240px; }
.cta-strip img { width: 100%; height: 100%; object-fit: cover; }
.cta-strip > * { overflow: hidden; }
.strip-close { margin-top: var(--section); }
.cta-field { background: var(--navy); color: var(--on-dark); min-height: 44svh; padding-block: clamp(56px, 6vw, 96px); align-content: center; }
.cta-field .statement { grid-column: 1 / 8; margin: 0; }
.cta-field .statement a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 7px; text-decoration-color: var(--thread); color: #fff; font-weight: 600; }
.cta-field .statement a:hover { text-decoration-color: #fff; }
.cta-field .lines-2 { grid-column: 1 / 8; margin-top: 32px; color: var(--on-dark-muted); font-size: var(--s-small); }
.cta-field .side { grid-column: 9 / -1; align-self: end; justify-self: end; }
@media (max-width: 860px) {
  .cta-strip { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .cta-strip > :first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .cta-strip > :not(:first-child) { aspect-ratio: 1; }
  .cta-field .statement, .cta-field .lines-2, .cta-field .side { grid-column: 1; justify-self: start; }
  .cta-field .side { margin-top: 28px; }
}

/* ---------- footer: columns above, wordmark below ---------- */
.page { position: relative; z-index: 1; background: var(--paper); }
.site-foot {
  position: sticky; bottom: 0; z-index: 0;
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--navy-deep); color: var(--on-dark); padding: 40px var(--m) 24px;
}
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-decoration-color: var(--thread); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--gap); font-size: var(--s-small); }
.foot-cols ul { list-style: none; display: grid; gap: 6px; color: var(--on-dark-muted); }
.foot-cols li:first-child { color: var(--on-dark); font-weight: 600; margin-bottom: 4px; }
.foot-mark { align-self: end; margin-top: 15svh; }
.foot-mark svg { width: 100%; height: auto; fill: var(--on-dark); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--s-fine); color: var(--on-dark-muted); margin-top: 20px; }
.foot-legal a { text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .site-foot { min-height: 0; position: relative; }
}

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 112px) clamp(56px, 6vw, 96px); row-gap: 28px; align-items: end; }
.page-hero h1 { margin-bottom: 32px; }
.page-hero .left-zone, .page-hero .on-axis { grid-row: 1; }
@media (max-width: 860px) {
  .page-hero .left-zone, .page-hero .on-axis { grid-row: auto; }
  .page-hero .on-axis { order: -1; }
  .page-hero h1 { margin-bottom: 28px; }
}
.band-photo { margin: 0; }
.band-photo img { width: 100%; height: clamp(260px, 52svh, 640px); object-fit: cover; }
.band-photo figcaption { padding: 8px var(--m) 0; font-size: var(--s-fine); color: var(--muted); }

.text-page { padding-block: var(--section); }
.text-page.tone { background: var(--paper-2); }
.text-page.sky { background: var(--sky); }
.text-page.navy { background: var(--navy); color: var(--on-dark); }
.text-page.navy .muted, .text-page.navy .aside { color: var(--on-dark-muted); }
.text-page.navy a { color: #fff; }
.text-page .aside { grid-column: 1 / 5; grid-row: 1 / span 3; align-self: start; color: var(--muted); font-size: var(--s-small); max-width: 30ch; }
.text-page .aside figure { margin: 0 0 16px; }
.text-page .aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.text-page h2 { grid-column: 6 / -1; margin-bottom: 36px; }
.text-page .body { grid-column: 6 / -1; columns: 2 34ch; column-gap: var(--gap); }
.text-page .body.one { columns: auto; max-width: 62ch; }
.text-page .body > * { break-inside: avoid; }
.text-page .body p, .text-page .body li { max-width: 62ch; }
.text-page .body .lead { font-size: var(--s-statement); line-height: 1.28; letter-spacing: -0.015em; column-span: all; max-width: 30em; margin-bottom: 1.2em; }
.text-page .after { grid-column: 6 / -1; margin-top: 24px; }
.dots { list-style: none; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 24px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 10px; height: 10px; background: var(--thread); }
.text-page.navy .dots li::before { background: #fff; }
@media (max-width: 860px) {
  .text-page .aside, .text-page h2, .text-page .body, .text-page .after { grid-column: 1; grid-row: auto; }
  .text-page .aside { margin-bottom: 32px; }
  .text-page .body { columns: auto; }
}

/* six areas / scope lists: rows of two columns, no cards */
.pairs { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 44px var(--gap); list-style: none; }
.pairs h3 { font-size: var(--s-statement); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; }
.pairs p { margin: 0; max-width: 36ch; }
@media (max-width: 860px) { .pairs { grid-column: 1; grid-template-columns: 1fr; gap: 28px; } }

/* two country columns */
.countries { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.countries h3 { font-size: var(--s-statement); margin-bottom: 16px; }
.countries-foot { grid-column: 6 / -1; margin-top: 36px; }
@media (max-width: 860px) { .countries, .countries-foot { grid-column: 1; grid-template-columns: 1fr; gap: 36px; } }

/* comparison table (about Odoo) */
.compare { grid-column: 6 / -1; width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 14px 16px; vertical-align: top; }
.compare thead th { font-weight: 700; padding-top: 0; }
.compare tbody tr:nth-child(odd) { background: var(--paper-2); }
.compare tbody th { font-weight: 600; }
.text-page .after.note { color: var(--muted); font-size: var(--s-small); }
@media (max-width: 860px) { .compare { grid-column: 1; } .compare th, .compare td { padding: 12px 10px; } }

/* forms */
.form { display: grid; gap: 22px; max-width: 640px; }
.form label { display: block; font-weight: 600; margin-bottom: 8px; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: 400 var(--s-body)/1.4 var(--font); color: var(--ink); background: #fff;
  border: 2px solid #c3cad3; border-radius: 0; padding: 14px 14px; min-height: 54px;
  transition: border-color var(--t-hover) ease;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid var(--sky); outline-offset: 0; }
.form .check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 400; }
.form .check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--thread); }
.form .hp { position: absolute; left: -9999px; width: 2px; height: 2px; overflow: hidden; }
.form .fine { font-size: var(--s-small); color: var(--muted); margin: 0; }

/* audit quiz */
.quiz { grid-column: 6 / -1; }
.quiz fieldset { border: 0; padding: 0; margin: 0; }
.quiz legend { font-size: var(--s-statement); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 24px; padding: 0; }
.quiz .progress { font-weight: 600; color: var(--thread); margin-bottom: 12px; }
.quiz .opts { display: grid; gap: 10px; }
.quiz .opt { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 18px 20px; background: #fff; cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.quiz .opt:hover { background: var(--sky); }
.quiz .opt:active { transform: scale(0.99); }
.quiz .opt input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--thread); }
.quiz .opt strong { display: block; font-weight: 600; }
.quiz .opt span span { color: var(--muted); font-size: var(--s-small); }
.quiz .nav-q { display: flex; gap: 16px; margin-top: 28px; align-items: center; }
.quiz .q[hidden] { display: none; }
.quiz-result { background: var(--navy); color: var(--on-dark); padding: clamp(28px, 4vw, 48px); margin-bottom: 40px; }
.quiz-result .score { font-size: clamp(56px, 8.6vw, 148px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.9; margin: 0 0 12px; }
.quiz-result p { color: var(--on-dark-muted); max-width: 52ch; }
.quiz-result h3 { font-size: var(--s-statement); margin-bottom: 14px; color: #fff; }
.quiz-result ul { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.quiz-result li { padding-left: 22px; position: relative; }
.quiz-result li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--thread); }
.js .quiz-fallback { display: none; }

/* prose (legal pages) */
.prose { grid-column: 6 / -1; max-width: 68ch; }
.prose h2 { font-size: var(--s-statement); letter-spacing: -0.02em; line-height: 1.15; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--s-small); margin: 8px 0 24px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; vertical-align: top; }
.prose thead th { background: var(--paper-2); }
.prose tbody tr:nth-child(even) { background: var(--paper-2); }
.prose .updated { color: var(--muted); }
@media (max-width: 860px) { .prose { grid-column: 1; } }

/* ---------- motion layer ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines .line > span { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; }
  .js .lines .l1 > span { animation-delay: 150ms; }
  .js .lines .l2 > span { animation-delay: 260ms; }
  .js .after-lines { opacity: 0; animation: fade-up 700ms var(--ease-out) 620ms forwards; }
  .js .masthead > * { clip-path: inset(0 0 100% 0); animation: shutter 1000ms var(--ease-out) forwards; }
  .js .masthead > :nth-child(2) { animation-delay: 80ms; }
  .js .masthead > :nth-child(3) { animation-delay: 160ms; }
  .js .masthead > :nth-child(4) { animation-delay: 240ms; }
  .js .masthead img, .js .band-photo img { animation: settle 2400ms var(--ease-soft) forwards; }

  .js [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-rv].in { opacity: 1; transform: none; }
  .js [data-rv="2"] { transition-delay: 80ms; }
  .js [data-rv="3"] { transition-delay: 160ms; }
  .js [data-rv="4"] { transition-delay: 240ms; }
  .js [data-rv="img"] { transform: none; clip-path: inset(0 0 0 100%); transition: clip-path 1000ms var(--ease-out), opacity 300ms ease; }
  .js [data-rv="img"].in { clip-path: inset(0 0 0 0); }
  .js .thread-list::before { transform: scaleY(0); transition: transform 1600ms var(--ease-out); }
  .js .thread-list.in::before { transform: scaleY(1); }
  .js .thread-list li { opacity: 0; transform: translateX(-12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .thread-list.in li { opacity: 1; transform: none; }
  .js .thread-list.in li:nth-child(2) { transition-delay: 200ms; }
  .js .thread-list.in li:nth-child(3) { transition-delay: 400ms; }
  .js .thread-list.in li:nth-child(4) { transition-delay: 600ms; }
  .js .thread-list.in li:nth-child(5) { transition-delay: 800ms; }
  .js .many-figure rect { transition: transform 1400ms var(--ease-out); }
  .js .many-figure:not(.in) rect { transform: translateX(-30px); }
  .row img, .cta-strip img, .intro-photo img { transition: transform 900ms var(--ease-soft); }
  .row figure, .cta-strip > *, .intro-photo { overflow: hidden; }
  .row:hover img, .cta-strip > :hover img { transform: scale(1.04); }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shutter { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }

@media print {
  .site-head .nav, .menu-btn, .cta-strip, .site-foot .foot-mark { display: none; }
  .site-foot { position: static; min-height: 0; background: none; color: #000; }
}
