/* C3 JEZGRO: gallery white, two ink chapters, the core as a museum object */

@font-face { font-family: "Schibsted"; font-weight: 400; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); 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"; font-weight: 400; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted"; font-weight: 500; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); 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"; font-weight: 500; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted"; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); 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"; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); 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: "Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); 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: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #25364c;
  --slate: #86909f;
  --sand: #d1be8a;
  --ink: #16191e;
  --text: #333333;
  --white: #ffffff;
  --hair: rgba(37, 54, 76, .14);
  --hair-dark: rgba(255, 255, 255, .16);
  --display: "Schibsted", "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", "Söhne Mono", ui-monospace, Menlo, monospace;
  --wrap: 1280px;
  --prose: 680px;
  --gut: 24px;
  --pad: clamp(72px, 10vw, 160px);
  --head: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 900px) { :root { --gut: 40px; --head: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.55 var(--display);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- primitives ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.prose { max-width: var(--prose); }
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.mono--s { font-size: 11px; }
.display {
  font-family: var(--display); font-weight: 700; color: var(--navy);
  letter-spacing: -.055em; line-height: .84; margin: 0;
}
.h2 { font: 700 clamp(40px, 5.4vw, 88px)/.92 var(--display); letter-spacing: -.045em; color: var(--navy); margin: 0; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--text); }
.chapter { position: relative; padding-block: var(--pad); }
.chapter--white { background: var(--white); }
.chapter--ink { background: var(--ink); color: #ffffff; }
.chapter--ink .display, .chapter--ink .h2 { color: var(--white); }
.full { width: 100%; }

/* hairline 12-col grid, visible in white chapters only */
.gridlines { position: relative; isolation: isolate; }
.gridlines::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  width: min(100%, calc(var(--wrap) + 2 * var(--gut))); margin-inline: auto;
  padding-inline: var(--gut); background-clip: content-box;
  background-image: repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px calc((100% - 2 * var(--gut)) / 12));
  background-origin: content-box;
  opacity: .55;
}
@media (max-width: 899px) { .gridlines::before { background-image: repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px calc((100% - 2 * var(--gut)) / 4)); } }

/* registration crosshairs at chapter corners */
.reg::before, .reg::after {
  content: ""; position: absolute; top: 20px; width: 22px; height: 22px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  color: var(--navy); opacity: .5;
}
.reg::before { left: 16px; }
.reg::after { right: 16px; }
.chapter--ink.reg::before, .chapter--ink.reg::after { color: var(--sand); opacity: .7; }

/* millimetre scale bar, sand: measurement marks only */
.mm {
  height: 16px; width: 100%;
  background:
    linear-gradient(var(--sand), var(--sand)) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--sand) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--sand) 0 1px, transparent 1px 40px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--sand) 0 1px, transparent 1px 80px) left bottom / 100% 16px no-repeat;
}
.mm--short { max-width: 240px; }

/* specimen label */
.label {
  display: inline-flex; gap: 10px; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: var(--white); border: 1px solid var(--navy); padding: 6px 10px; line-height: 1.3;
}
.label b { font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px;
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  font: 500 15px/1 var(--display); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn::after { content: "→"; font-family: var(--mono); transition: transform .25s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--ink); border-color: var(--ink); }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { color: var(--white); }
.chapter--ink .btn--ghost { color: var(--white); border-color: var(--white); }
.link { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--ink); border-bottom-color: var(--sand); }
.chapter--ink .link { color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head);
  background: var(--white); color: var(--navy); border-bottom: 1px solid var(--hair);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
html.head-dark .site-header { background: var(--ink); color: var(--white); border-bottom-color: var(--hair-dark); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; background: var(--white); padding: 5px 8px; margin-left: -8px; flex: none; }
.brand img { height: 36px; width: auto; }
@media (min-width: 900px) { .brand img { height: 40px; } }
.nav { margin-left: auto; display: none; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--sand); transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.nav .btn::after { display: none; }
html.head-dark .nav .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.menu-btn {
  margin-left: auto; background: none; border: 1px solid currentColor; height: 40px; padding: 0 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }
.drawer {
  position: fixed; inset: var(--head) 0 0 0; z-index: 59; background: var(--ink); color: var(--white);
  padding: 32px var(--gut); display: none; flex-direction: column; gap: 6px; overflow: auto;
}
.drawer.is-open { display: flex; }
.drawer a { font: 700 44px/1.05 var(--display); letter-spacing: -.04em; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--hair-dark); }
.drawer .mono { margin-top: auto; color: #ffffff; padding-top: 32px; }
main { padding-top: var(--head); }

/* ---------- reveal: one style, clip, once, ≤ 500ms ---------- */
html.js [data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
html.js [data-reveal].is-in { clip-path: inset(0 0 0 0); }
html.capture [data-reveal], html.reduce [data-reveal] { clip-path: none !important; transition: none !important; }
html.capture *, html.capture *::before, html.capture *::after { transition: none !important; animation: none !important; }

/* ---------- poster hero ---------- */
.poster {
  position: relative; min-height: calc(100svh - var(--head)); overflow: hidden; background: var(--white);
  display: grid; grid-template-rows: auto 1fr auto; padding-block: 28px 24px;
}
.poster__top, .poster__foot { display: flex; justify-content: space-between; gap: 16px; color: var(--navy); position: relative; z-index: 3; }
.poster__stage { position: relative; display: grid; place-items: center; min-height: 52vw; }
.poster__word {
  font-size: max(64px, 22vw); line-height: .78; letter-spacing: -.065em; white-space: nowrap;
  position: relative; z-index: 1; margin-left: -.04em; text-align: center; width: 100%;
}
.poster__core {
  position: absolute; z-index: 2; left: 50%; top: 52%; width: 150vw; max-width: none;
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 40px 40px rgba(22, 25, 30, .18));
}
.poster__tag { position: absolute; z-index: 3; left: 56%; top: calc(52% + 15vw); }
.poster__tag::before { content: ""; position: absolute; left: 24px; bottom: 100%; width: 1px; height: 8vw; background: var(--navy); }
.poster__foot { align-items: end; }
.poster__foot p { margin: 0; }
.poster__line { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; color: var(--navy); max-width: 22ch; line-height: 1.25; letter-spacing: -.01em; }
.poster__mm { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
@media (min-width: 900px) {
  .poster__core { width: 118vw; top: 50%; }
  .poster__stage { min-height: 0; }
  .poster__tag { left: 60%; top: calc(50% + 11vw); }
  .poster__tag::before { height: 5vw; }
}
@media (max-width: 899px) {
  .poster__top .hide-s { display: none; }
  .poster__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .poster__tag { left: var(--gut); top: calc(52% + 22vw); }
}

/* ---------- signature: THE CORE ---------- */
.core { position: relative; background: var(--white); }
.core__intro { padding-block: 56px 24px; display: flex; justify-content: space-between; gap: 24px; color: var(--navy); }
.core__stage { position: relative; }
.core__track { display: none; }
.core__readout, .core__gauge { display: none; }
.core__note { color: var(--navy); }

.layer { position: relative; background: var(--white); }
.layer__name { font-size: clamp(64px, 18vw, 300px); line-height: .8; }
.layer__depth { color: var(--navy); font-weight: 500; }
.layer__tests { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.layer__tests li::before { content: "— "; color: var(--sand); }
.layer__proj { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proj-chip { display: block; text-decoration: none; color: var(--navy); }
.proj-chip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #fff; }
.proj-chip span { display: block; margin-top: 6px; }
.proj-chip:hover span { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 3px; }
.layer__meta { display: grid; gap: 22px; color: var(--text); }
.layer__meta h4 { margin: 0 0 8px; color: var(--navy); }

/* flow layout (mobile, no-JS, reduced motion) */
.core__layers { position: relative; }
.layer { padding: 24px var(--gut) 40px; border-top: 1px solid var(--hair); }
.layer__seg { margin-block: 20px; }
.layer__seg img { width: 100%; height: auto; }

@media (max-width: 899px) {
  html:not(.reduce) .layer { position: sticky; top: var(--head); min-height: calc(100svh - var(--head)); }
  .layer { display: grid; grid-template-columns: 22vw 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; align-content: start; box-shadow: 0 -1px 0 var(--hair); }
  .layer__name { grid-column: 1 / -1; margin-bottom: 18px; font-size: max(64px, 19vw); }
  .layer__seg { grid-column: 1; grid-row: 2 / span 2; margin: 0; position: relative; width: 22vw; height: 88vw; }
  .layer__seg img { position: absolute; left: 50%; top: 50%; width: 88vw; height: 22vw; max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
  .layer__meta { grid-column: 2; grid-row: 2 / span 2; gap: 16px; font-size: 15px; }
  .layer__proj { grid-template-columns: 1fr; gap: 10px; }
  .layer__proj img { aspect-ratio: 16 / 9; }
}
@media (max-width: 899px) and (max-height: 640px) { html:not(.reduce) .layer { position: relative; top: auto; min-height: 0; } }
@media (min-width: 900px) {
  .layer { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 48px var(--gut) 72px; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; border-top: 0; }
  .layer__name { grid-column: 1 / -1; font-size: max(160px, 15vw); }
  .layer__seg { grid-column: 1 / -1; margin-block: -3vw 32px; position: relative; z-index: 1; }
  .layer__meta { grid-column: 1 / -1; grid-template-columns: 4fr 4fr 4fr; gap: 24px; }
}

.core__tray { position: relative; background: var(--white); padding-bottom: 48px; }
.core__tray-img { width: 100%; height: auto; }
.tray-rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--navy); }
.tray-rows a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: var(--navy);
}
.tray-rows strong { font: 700 clamp(22px, 2.2vw, 32px)/1 var(--display); letter-spacing: -.03em; }
.tray-rows a:hover strong { text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tray-rows .mono { color: var(--navy); }
.core__tray-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 28px 18px; }
@media (min-width: 900px) {
  .tray-rows { grid-template-columns: repeat(5, 1fr); column-gap: 24px; }
  .tray-rows a { grid-template-columns: 1fr; gap: 6px; }
}

/* pinned desktop mode */
html.core-pinned .core__intro { display: none; }
html.core-pinned .core__stage { height: calc(100vh - var(--head)); overflow: hidden; }
html.core-pinned .core__stage.gridlines::before { opacity: .8; }
html.core-pinned .core__track {
  display: flex; gap: 2vw; position: absolute; left: 0; top: 52%; z-index: 2; will-change: transform;
}
html.core-pinned .core__track img { width: 64vw; height: 16vw; max-width: none; flex: none; }
html.core-pinned .core__layers { position: absolute; inset: 0; }
html.core-pinned .layer {
  position: absolute; inset: 0; max-width: none; padding: 3.5vh var(--gut) 0; background: transparent;
  display: block; visibility: visible; opacity: 0; pointer-events: none; will-change: opacity, transform;
}
html.core-pinned .layer__name { text-align: center; font-size: clamp(160px, min(17vw, 34vh), 320px); position: relative; z-index: 1; }
html.core-pinned .layer__seg { display: none; }
html.core-pinned .layer__meta {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 4.5vh; width: min(100% - 2 * var(--gut), var(--wrap));
  grid-template-columns: 3fr 3fr 6fr; align-items: end; font-size: 15px;
}
html.core-pinned .layer__proj img { aspect-ratio: 16 / 9; }
html.core-pinned .core__readout {
  display: flex; gap: 18px; position: absolute; left: var(--gut); top: 18px; z-index: 3; color: var(--navy);
}
html.core-pinned .core__readout .core__note { position: static; }
html.core-pinned .core__gauge {
  display: block; position: absolute; right: var(--gut); top: 12%; bottom: 30%; width: 44px; z-index: 3;
  border-left: 1px solid var(--navy);
  background: repeating-linear-gradient(180deg, var(--sand) 0 1px, transparent 1px 10%) left top / 10px 100% no-repeat;
}
.core__gauge i { position: absolute; left: -5px; top: 0; width: 9px; height: 9px; background: var(--navy); transform: translateY(-50%); }
.core__gauge span { position: absolute; left: 14px; color: var(--navy); font-size: 10px; }
html.core-pinned .core__tray {
  position: absolute; inset: 0; z-index: 4; padding: 0; background: transparent; pointer-events: none;
}
html.core-pinned .core__tray.is-live { pointer-events: auto; }
html.core-pinned .core__tray-img { position: absolute; left: 0; bottom: 0; width: 100%; height: 58%; object-fit: cover; transform: scaleY(0); transform-origin: 50% 100%; will-change: transform; }
html.core-pinned .core__tray-panel { position: absolute; left: 0; right: 0; top: 0; height: 42%; background: var(--white); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 20px; }
html.core-pinned .core__tray-head { padding-block: 0 14px; }
html.core-pinned .tray-rows a { padding: 10px 0; }

/* ---------- lab chapter (ink) ---------- */
.lab__title { font-size: max(64px, 12vw); line-height: .82; margin-bottom: clamp(48px, 7vw, 112px); }
.lab__title span { display: block; }
.lab__title span + span { margin-left: 2.5ch; white-space: nowrap; }
.lab__grid { display: grid; gap: 40px; }
.lab__img { position: relative; }
.lab__img img { width: 100%; height: auto; }
.lab__img .label { position: absolute; left: 12px; bottom: 12px; }
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 0; }
.catalog dt { color: var(--sand); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid var(--hair-dark); padding-top: 10px; }
.catalog dd { margin: 8px 0 0; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--white); }
.iso { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.iso figure { margin: 0; }
.iso img { width: 100%; max-width: 260px; height: auto; background: #fff; }
.iso figcaption { margin-top: 10px; color: var(--white); }
.lab__live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.lab__live img { width: 100%; max-width: 300px; aspect-ratio: 4 / 3; object-fit: cover; }
.lab__live figcaption { margin-top: 8px; }
.lab__live figure { margin: 0; }
@media (min-width: 900px) {
  .lab__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .lab__img { grid-column: 1 / span 5; margin-top: -4vw; }
  .lab__side { grid-column: 7 / span 6; }
  .catalog { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- services specimen grid ---------- */
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 88px); }
.sec-head .display { font-size: max(64px, 12vw); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 8fr 4fr; align-items: end; } .sec-head .display { font-size: max(160px, 12vw); } }
.specimens { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--navy); border: 1px solid var(--navy); }
@media (min-width: 640px) { .specimens { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .specimens { grid-template-columns: repeat(3, 1fr); } }
.specimen { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; background: var(--ink); }
.specimen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.6)); transform-origin: var(--o, 50% 50%); transition: transform .6s var(--ease); }
.specimen:hover img, .specimen:focus-visible img { transform: scale(calc(var(--z, 1.6) * 1.06)); }
.specimen__label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--white); color: var(--navy);
  border: 1px solid var(--navy); padding: 12px 14px;
}
.specimen__label .mono { display: block; color: var(--navy); }
.specimen__label strong { display: block; font: 700 20px/1.1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.specimen__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.specimen__more > span { overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--text); }
.specimen:hover .specimen__more, .specimen:focus-visible .specimen__more { grid-template-rows: 1fr; }
.specimen:hover .specimen__more > span, .specimen:focus-visible .specimen__more > span { padding-top: 8px; }
.specimen--new .specimen__label { border-color: var(--sand); }
.specimen--new .tag-new { background: var(--sand); color: var(--ink); padding: 1px 6px; margin-left: 6px; }

/* ---------- full-bleed media ---------- */
.bleed { position: relative; overflow: hidden; background: var(--ink); }
.bleed__img { width: 100%; height: 100svh; min-height: 560px; max-height: 1100px; object-fit: cover; }
.bleed__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding-block: 32px; color: var(--white); }
.bleed__over .display { color: var(--white); font-size: max(64px, 11vw); text-shadow: 0 2px 40px rgba(22, 25, 30, .35); }
.bleed__inset { position: absolute; right: var(--gut); bottom: 32px; width: min(42vw, 400px); background: var(--white); padding: 8px 8px 10px; color: var(--navy); }
.bleed__inset img { width: 100%; height: auto; }
.bleed__inset p { margin: 8px 2px 0; }
.bleed__credit { color: #ffffff; }
.band { position: relative; overflow: hidden; }
.band img { width: 100%; height: clamp(320px, 52vw, 760px); object-fit: cover; }
.band .display { position: absolute; left: var(--gut); bottom: .06em; color: var(--white); font-size: max(64px, 14vw); mix-blend-mode: normal; text-shadow: 0 2px 50px rgba(22, 25, 30, .4); white-space: nowrap; }
.band .label { position: absolute; right: var(--gut); top: 24px; }
@media (max-width: 899px) { .bleed__img { height: 120vw; min-height: 0; } .bleed__inset { position: relative; right: auto; bottom: auto; width: auto; margin: -64px var(--gut) 0; z-index: 2; } .bleed__over { bottom: auto; height: 120vw; } }

/* ---------- case rows ---------- */
.cases { display: grid; gap: clamp(72px, 9vw, 140px); }
.case { display: grid; gap: 24px; align-items: center; }
.case__photo { position: relative; max-width: 640px; }
.case__photo img { width: 100%; height: auto; }
.case__photo .label { position: absolute; left: 0; top: 0; transform: translateY(-50%); }
.case__name { font-size: clamp(56px, 7.6vw, 132px); line-height: .86; }
.case__data { color: var(--navy); margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chapter--ink .case__data, .chapter--ink .case__data b { color: #ffffff; }
.case__data b { color: var(--navy); font-weight: 500; }
.case__thumbs { display: flex; gap: 12px; margin-top: 22px; }
.case__thumbs img { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .case { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .case__photo { grid-column: 1 / span 6; }
  .case__body { grid-column: 7 / span 6; }
  .case:nth-child(2) .case__photo { grid-column: 7 / span 6; grid-row: 1; justify-self: end; }
  .case:nth-child(2) .case__body { grid-column: 1 / span 6; grid-row: 1; text-align: right; }
  .case:nth-child(2) .case__data, .case:nth-child(2) .case__thumbs { justify-content: flex-end; }
  .case__body { margin-left: -4vw; position: relative; z-index: 1; }
  .case:nth-child(2) .case__body { margin-left: 0; margin-right: -4vw; }
}

/* ---------- numbers + client wall (ink) ---------- */
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 24px; }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure .display { font-size: max(64px, 11.5vw); color: var(--white); line-height: .8; }
.figure .mm { margin-top: 18px; }
.figure p { margin: 10px 0 0; color: #ffffff; }
.wall-head { display: flex; justify-content: space-between; gap: 24px; margin: clamp(80px, 10vw, 150px) 0 24px; align-items: end; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair-dark); border-left: 1px solid var(--hair-dark); }
.wall li {
  display: grid; place-items: center; text-align: center; min-height: 104px; padding: 16px;
  border-right: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark);
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
  transition: color .25s var(--ease);
}
.wall li:hover { color: var(--white); }
@media (min-width: 700px) { .wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .wall { grid-template-columns: repeat(5, 1fr); } .wall li { min-height: 132px; } }

/* ---------- forms ---------- */
.cta__title { font-size: max(64px, 10vw); line-height: .84; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--navy); background: transparent; padding: 10px 0 12px; font-size: 18px; color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; border: 1px solid var(--navy); padding: 12px; }
.field input[type="file"] { font-size: 14px; border-bottom-style: dashed; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 1px 0 var(--sand); }
.field .err { min-height: 1em; font-family: var(--mono); font-size: 11px; color: var(--navy); letter-spacing: .04em; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--navy); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__foot .mono { color: var(--navy); }
.success { display: none; border: 1px solid var(--navy); padding: 32px; }
.success.is-on { display: block; }
.success .h2 { font-size: clamp(36px, 4vw, 56px); }
.cta__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 6fr 6fr; column-gap: 24px; align-items: end; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #ffffff; padding-block: 72px 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--sand); }
.foot__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 4fr 3fr 3fr 2fr; gap: 24px; } }
.foot__grid h3 { margin: 0 0 12px; color: var(--sand); }
.foot__grid p { margin: 0; line-height: 1.7; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair-dark); margin-top: 56px; padding-top: 20px; color: #ffffff; }
.foot__word { font: 700 max(64px, 14vw)/.8 var(--display); letter-spacing: -.06em; color: var(--sand); margin: 56px 0 0; white-space: nowrap; overflow: hidden; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; min-height: calc(86svh - var(--head)); display: grid; grid-template-rows: auto 1fr auto; padding-block: 28px 32px; }
.page-hero__word { font-size: max(64px, 19vw); line-height: .78; letter-spacing: -.065em; white-space: nowrap; align-self: center; margin-left: -.05em; }
.page-hero__core { position: absolute; width: 112vw; max-width: none; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(var(--r, 3deg)); z-index: 2; filter: drop-shadow(0 32px 32px rgba(22, 25, 30, .16)); }
.page-hero__top, .page-hero__foot { display: flex; justify-content: space-between; gap: 16px; color: var(--navy); position: relative; z-index: 3; align-items: end; }
.page-hero__foot p { margin: 0; }
.page-hero h1 { position: relative; z-index: 1; }
@media (max-width: 899px) { .page-hero__core { width: 170vw; top: 56%; } .page-hero__foot { flex-direction: column; align-items: flex-start; } }

.spec { display: grid; gap: 20px; padding-block: 56px; border-top: 1px solid var(--hair); }
.spec:first-child { border-top: 2px solid var(--navy); }
.spec__code { color: var(--navy); }
.spec h2 { font: 700 clamp(34px, 4.4vw, 68px)/.95 var(--display); letter-spacing: -.04em; color: var(--navy); margin: 0; }
.spec p { margin: 0; max-width: var(--prose); }
.spec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.spec ul li::before { content: "— "; color: var(--sand); }
.spec figure { margin: 0; max-width: 560px; }
.spec figure img { width: 100%; height: auto; }
.spec figcaption { margin-top: 8px; color: var(--navy); }
@media (min-width: 900px) {
  .spec { grid-template-columns: 2fr 5fr 5fr; column-gap: 24px; }
  .spec__body { display: grid; gap: 18px; align-content: start; }
}
.chapter--ink .spec { border-color: var(--hair-dark); }
.chapter--ink .spec h2 { color: var(--white); }
.chapter--ink .spec:first-child { border-top-color: var(--sand); }

/* projekti: core-tray index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--navy); background: var(--white); color: var(--navy); height: 40px; padding: 0 14px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.tray { border: 2px solid var(--navy); border-bottom-width: 0; }
.tray__row {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; align-items: center; padding: 14px 16px;
  border-bottom: 2px solid var(--navy); text-decoration: none; color: var(--navy); position: relative; background: var(--white);
}
.tray__row[hidden] { display: none; }
.tray__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--navy); }
.tray__row .link { justify-self: start; }
.tray__row strong { font: 700 clamp(22px, 2.6vw, 38px)/1 var(--display); letter-spacing: -.03em; }
.tray__row .mono { color: var(--navy); }
.tray__row img { grid-column: 1 / -1; width: 100%; max-width: 360px; aspect-ratio: 16 / 9; object-fit: cover; }
.tray__row:hover strong { text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .tray__row { grid-template-columns: 80px 7fr 3fr 160px; gap: 24px; padding: 12px 20px 12px 28px; }
  .tray__row img { grid-column: auto; width: 160px; max-width: none; }
}
.tray__count { color: var(--navy); margin-bottom: 12px; }
.casefile { display: grid; gap: 28px; padding-block: 64px; border-top: 2px solid var(--navy); }
.casefile .case__name { font-size: clamp(56px, 9vw, 160px); }
.casefile__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.casefile__photos img { width: 100%; max-width: 600px; height: auto; }
.casefile__photos .wide { grid-column: 1 / -1; max-width: 900px; }
.chapter--ink .casefile { border-top-color: var(--sand); }
.chapter--ink .casefile .case__name { color: var(--white); }

/* o nama */
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.facts li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.facts li b { font: 700 clamp(28px, 3.2vw, 46px)/1 var(--display); letter-spacing: -.035em; color: var(--navy); }
@media (min-width: 900px) { .facts li { grid-template-columns: 4fr 8fr; gap: 24px; align-items: baseline; } }
.map { width: 100%; height: auto; color: var(--white); }
.map text { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; fill: currentColor; }
.map .grat { stroke: var(--hair-dark); stroke-width: 1; fill: none; }
.map .dot { fill: var(--sand); }
.map .hq { fill: var(--white); }
.map .lbl-s { fill: var(--slate); }

/* kontakt */
.offices { display: grid; gap: 40px; }
@media (min-width: 900px) { .offices { grid-template-columns: 1fr 1fr; } }
.office { border-top: 2px solid var(--navy); padding-top: 18px; }
.office h2 { font: 700 clamp(44px, 5vw, 80px)/.9 var(--display); letter-spacing: -.045em; color: var(--navy); margin: 8px 0 18px; }
.office p { margin: 0 0 6px; font-size: 19px; }
.office a { text-decoration: none; border-bottom: 1px solid var(--sand); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout fixes ---------- */
main { overflow-x: clip; }
.chapter--ink .lead { color: var(--white); }
.chapter--ink .eyebrow, .eyebrow--sand { color: var(--sand); }
.eyebrow { color: var(--navy); margin: 0 0 20px; }
.band .display { font-size: max(64px, 9vw); white-space: normal; right: var(--gut); line-height: .86; }
.cta__title span { display: block; }
@media (min-width: 900px) {
  .cta__grid { grid-template-columns: 7fr 5fr; }
  .cta__title { font-size: max(160px, 11.5vw); }
}
html.core-pinned .layer__proj img { height: min(17vh, 160px); width: 100%; aspect-ratio: auto; }
.figures { margin-top: 48px; }
.more { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- scale guards ---------- */
.lab__title span + span { margin-left: .6em; }
.page-hero__word { padding-inline: var(--gut); font-size: max(64px, 17vw); }
@media (min-width: 900px) { .page-hero__word { font-size: 19vw; } }
.cta__grid { grid-template-columns: 1fr; }
@media (min-width: 1300px) { .cta__grid { grid-template-columns: 7fr 5fr; } }
@media (min-width: 900px) { .cta__title { font-size: clamp(160px, 11vw, 165px); } }
@media (max-width: 899px) {
  .layer__proj { gap: 8px; }
  .proj-chip { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; }
  .proj-chip img, .layer__proj img { aspect-ratio: 1 / 1; width: 56px; }
  .proj-chip span { margin-top: 0; }
}
