@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/familjen-grotesk.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --yellow: #ffd100;
  --ink: #0f0f0f;
  --ink-2: #2b2b2b;
  --ink-soft: rgba(15, 15, 15, 0.62);
  --white: #ffffff;
  --mist: #eeeeec;
  --on-ink-soft: rgba(255, 255, 255, 0.66);
  --on-ink-hair: rgba(255, 255, 255, 0.16);

  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3.6vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --base: 0.15s;
}
html.intro { --base: 1.55s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.graded { filter: saturate(0.85) contrast(1.06); }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* Intro curtain */
.curtain { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--yellow); animation: curtainUp 0.95s var(--ease-io) 0.75s forwards; }
.curtain span { display: block; font-size: 24vw; font-weight: 700; letter-spacing: -0.075em; line-height: 0.8; transform: translateY(105%); animation: rise 0.8s var(--ease-out) 0.05s forwards; }
@keyframes curtainUp { to { transform: translateY(-100%); visibility: hidden; } }
html.no-intro .curtain { display: none; }

/* Floating navigation */
.hdr { position: fixed; top: 18px; left: 0; right: 0; z-index: 50; width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; transition: top 0.4s var(--ease); }
.hdr.scrolled { top: 14px; }
.pill {
  display: flex; align-items: center; gap: 36px; height: 64px; padding: 0 8px 0 24px; border-radius: 999px; color: var(--white);
  background: rgba(15, 15, 15, 0.5); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -0.045em; }
.logo svg { width: 30px; height: 22px; }
.nav { display: flex; gap: 26px; font-size: 16px; font-weight: 500; }
.nav a, .nav button { position: relative; padding: 10px 0; border: 0; background: none; cursor: pointer; text-decoration: none; font: inherit; color: inherit; }
.nav a::after, .nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.nav a:hover::after, .nav button:hover::after, .nav button[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav button svg { width: 10px; margin-left: 6px; transition: transform 0.3s var(--ease); }
.nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.pill-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.lang { font-size: 15px; text-decoration: none; opacity: 0.8; padding: 10px 0; }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 10px 0 26px; border: 0; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.btn .ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--yellow); transition: transform 0.45s var(--ease-out); }
.btn:hover .ico { transform: rotate(-45deg); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 48px; padding: 0 6px 0 20px; font-size: 15px; gap: 10px; }
.btn-sm .ico { width: 36px; height: 36px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark .ico { background: var(--yellow); color: var(--ink); }

.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 12px; border-radius: 28px; color: var(--white); background: rgba(15, 15, 15, 0.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mega a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 18px; border-radius: 18px; overflow: hidden; text-decoration: none; }
.mega a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.4s var(--ease), scale 0.8s var(--ease-out); }
.mega a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.75)); }
.mega a:hover img { opacity: 0.85; scale: 1.05; }
.mega b, .mega span { position: relative; z-index: 2; }
.mega b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.mega span { margin-top: 4px; font-size: 14px; color: var(--on-ink-soft); }

/* Hero with film */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #050505; color: var(--white); }
.hero .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.8) 100%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 4vw, 56px); will-change: opacity, transform; }
h1 { font-size: clamp(46px, 8.2vw, 144px); font-weight: 700; line-height: 0.88; letter-spacing: -0.06em; }
h1 .y { color: var(--yellow); }
.lines > span { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines > span > span { display: block; transform: translateY(108%); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--base) + var(--i) * 0.09s); }
@keyframes rise { to { transform: none; } }
.hero-foot { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; color: rgba(255, 255, 255, 0.86); max-width: 31rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 16px 28px; }
.link { position: relative; padding: 10px 0; font-weight: 600; text-decoration: none; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform-origin: left; transition: transform 0.45s var(--ease-out); }
.link:hover::after { transform: scaleX(0.35); }
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease-out) forwards; animation-delay: calc(var(--base) + 0.4s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Pinned story over a second film */
.story { position: relative; height: 520vh; background: #050505; color: var(--white); }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity 0.9s var(--ease), scale 2.4s var(--ease-out); }
.story-media img.on { opacity: 1; scale: 1; }
.story-pin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.25) 100%); }
.story-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.story-kicker { font: 500 13px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink-soft); }
.story-clock { margin-top: 18px; font: 500 clamp(22px, 2.2vw, 34px)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--yellow); transition: opacity 0.6s var(--ease); }
.story-clock.tick { animation: tick 0.6s var(--ease-out); }
.story-clock.off { opacity: 0; }
@keyframes tick { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.story-lines { position: relative; margin-top: 20px; height: 3em; font-size: clamp(40px, 7.4vw, 128px); font-weight: 700; line-height: 0.95; letter-spacing: -0.06em; }
.sl { position: absolute; left: 0; right: 0; top: 0; max-width: 18ch; opacity: 0; transform: translateY(0.5em); filter: blur(10px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-out), filter 0.8s var(--ease); }
.sl.on { opacity: 1; transform: none; filter: none; }
.sl.past { opacity: 0; transform: translateY(-0.5em); filter: blur(10px); }
.sl.final { color: var(--yellow); }
.story-bar { margin-top: clamp(40px, 6vw, 80px); display: flex; gap: 8px; max-width: 360px; }
.story-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; position: relative; }
.story-bar i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(var(--f, 0)); transform-origin: left; }

/* Yellow facts */
.facts { background: var(--yellow); padding: clamp(72px, 9vw, 140px) 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: 0 clamp(20px, 2.6vw, 40px); border-left: 1.5px solid var(--ink); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact b { display: block; font-size: clamp(30px, 3.4vw, 54px); font-weight: 700; line-height: 0.98; letter-spacing: -0.05em; }
.fact span { display: block; margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 22rem; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
h2 { font-size: clamp(42px, 6vw, 100px); font-weight: 700; line-height: 0.92; letter-spacing: -0.055em; }
.sec-head p { font-size: 20px; color: var(--ink-soft); max-width: 30rem; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

/* Services */
.services { padding: clamp(96px, 12vw, 180px) 0; }
.svc-list { margin-top: clamp(48px, 6vw, 88px); border-bottom: 1.5px solid var(--ink); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem) 56px; gap: 16px 48px; align-items: center; padding: clamp(22px, 2.6vw, 36px) 0; border-top: 1.5px solid var(--ink); text-decoration: none; transition: opacity 0.4s var(--ease); }
.svc-name { font-size: clamp(40px, 6.2vw, 104px); font-weight: 600; line-height: 0.95; letter-spacing: -0.055em; transition: transform 0.6s var(--ease-out); }
.svc-desc { font-size: 18px; color: var(--ink-soft); }
.svc-arrow { justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color 0.3s var(--ease), color 0.3s, transform 0.5s var(--ease-out); }
.svc-thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc-list.hovering a:not(.active) { opacity: 0.25; }
  .svc-list a.active .svc-name { transform: translateX(18px); }
  .svc-list a.active .svc-arrow { background: var(--yellow); border-color: var(--yellow); transform: rotate(-45deg); }
}
.cursor-img { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(260px, 24vw, 380px); aspect-ratio: 4 / 5; pointer-events: none; border-radius: 18px; overflow: hidden; opacity: 0; scale: 0.7; transition: opacity 0.35s var(--ease), scale 0.5s var(--ease-out); }
.cursor-img.on { opacity: 1; scale: 1; }
.cursor-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s var(--ease); }
.cursor-img img.on { opacity: 1; }

/* Departments */
.dept { padding: clamp(96px, 12vw, 180px) 0; background: var(--mist); }
.tabs { margin-top: clamp(40px, 5vw, 64px); display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tab { flex: none; min-height: 50px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font-size: 17px; font-weight: 600; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.tab:hover { background: rgba(15, 15, 15, 0.06); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.tab:focus-visible { outline-color: var(--ink); }
.panel { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; animation: panelIn 0.6s var(--ease-out); }
.panel[hidden] { display: none; }
.panel-copy { padding: clamp(28px, 3vw, 48px); border-radius: 24px; background: var(--white); }
.panel-copy h3 { font-size: clamp(32px, 3.2vw, 52px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.panel-copy ul { margin-top: 32px; }
.panel-copy li { padding: 20px 0; border-top: 1.5px solid var(--ink); }
.panel-copy li b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.panel-copy li span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 17px; }
.panel-media { position: relative; min-height: 560px; border-radius: 24px; overflow: hidden; }
.panel-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; animation: zoomIn 1.4s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { scale: 1.08; } to { scale: 1; } }

/* Process */
.process { padding: clamp(96px, 12vw, 180px) 0; background: var(--ink); color: var(--white); }
.process .sec-head p { color: var(--on-ink-soft); }
.proc-grid { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px clamp(48px, 7vw, 120px); }
.proc-sticky { position: sticky; top: 12vh; height: 76vh; max-height: 760px; border-radius: 24px; overflow: hidden; }
.proc-sticky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity 0.8s var(--ease), scale 1.6s var(--ease-out); }
.proc-sticky img.on { opacity: 1; scale: 1; }
.proc-count { position: absolute; left: 24px; bottom: 22px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 500 13px/1.4 var(--mono); }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--on-ink-hair); opacity: 0.3; transition: opacity 0.6s var(--ease); }
.step.on { opacity: 1; }
.step-when { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--yellow); }
.step h3 { margin-top: 16px; display: flex; align-items: baseline; gap: 18px; font-size: clamp(40px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; }
.step h3 small { font-size: 0.42em; font-weight: 500; color: var(--on-ink-soft); letter-spacing: -0.02em; }
.step > p { margin-top: 18px; max-width: 30rem; font-size: 19px; color: var(--on-ink-soft); }
.step .get { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--on-ink-hair); max-width: 30rem; font-size: 17px; }
.step .get b { display: block; color: var(--yellow); font-weight: 600; }
.step-img { display: none; }

/* CTA over film */
.cta { position: relative; min-height: min(96vh, 980px); display: flex; align-items: flex-end; overflow: hidden; background: #111; }
.cta .cta-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45)); }
.cta .shell { position: relative; z-index: 2; }
.cta-card { margin: 0 0 clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); max-width: 760px; border-radius: 28px; background: var(--yellow); }
.cta-card h2 { font-size: clamp(40px, 5.2vw, 84px); }
.cta-card p { margin: 20px 0 32px; max-width: 32rem; font-size: 20px; color: var(--ink-2); }

/* Footer */
.foot { background: var(--ink); color: var(--white); padding: clamp(72px, 9vw, 128px) 0 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px 48px; }
.foot-top h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; max-width: 14ch; }
.foot-col p { margin-bottom: 14px; font-size: 14px; color: var(--on-ink-soft); }
.foot-col a { display: block; padding: 6px 0; text-decoration: none; font-size: 17px; }
.foot-col a:hover { color: var(--yellow); }
.wordmark { margin-top: clamp(64px, 9vw, 140px); font-size: 27vw; font-weight: 700; line-height: 0.74; letter-spacing: -0.075em; color: var(--yellow); white-space: nowrap; transform: translateX(-0.04em); }
.foot-bottom { margin-top: clamp(24px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--on-ink-hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--on-ink-soft); }
.foot-bottom a { color: var(--white); }

@media (max-width: 1080px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-media { min-height: 420px; }
  .svc-list a { grid-template-columns: minmax(0, 1fr) 48px; }
  .svc-desc { grid-column: 1; grid-row: 2; }
  .svc-arrow { grid-row: 1 / span 2; grid-column: 2; width: 48px; height: 48px; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top h3 { grid-column: 1 / -1; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega a { min-height: 150px; }
  .nav { gap: 20px; }
  .pill { gap: 24px; }
}

@media (max-width: 900px) {
  .nav, .lang, .pill-end .btn-sm { display: none; }
  .pill { height: 58px; padding: 0 6px 0 20px; }
  .menu-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 600; cursor: pointer; }
  .m-menu { position: fixed; inset: 0; z-index: -1; padding: 120px var(--gutter) 32px; overflow-y: auto; background: var(--ink); color: #fff; }
  .m-menu a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--on-ink-hair); font-size: 30px; font-weight: 600; letter-spacing: -0.035em; text-decoration: none; }
  .m-menu a small { display: block; font-size: 15px; font-weight: 400; color: var(--on-ink-soft); letter-spacing: 0; }
  .m-menu .btn { margin-top: 28px; width: 100%; justify-content: space-between; }
  .hero-foot, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .actions { justify-content: flex-start; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fact, .fact:first-child { padding: 28px 0 0; border-left: 0; border-top: 1.5px solid var(--ink); }
  .proc-grid { grid-template-columns: minmax(0, 1fr); }
  .proc-media { display: none; }
  .step { min-height: 0; opacity: 1; padding: 32px 0 40px; }
  .step-img { display: block; margin-bottom: 24px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
  .step-img img { width: 100%; height: 100%; object-fit: cover; }
  .svc-thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin-top: 8px; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hdr { top: 12px; }
  h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .hero { min-height: 600px; }
  .story { height: 320vh; }
  .story-lines { height: 4em; font-size: clamp(38px, 11vw, 56px); }
  .panel-media { min-height: 300px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col:last-child { grid-column: 1 / -1; }
  .btn { width: 100%; justify-content: space-between; }
  .actions .link { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lines > span > span, .fade-up, .rv { transform: none; opacity: 1; }
  .sl { filter: none; }
}

/* Service pages */
.s-hero { position: relative; height: 92svh; min-height: 640px; overflow: hidden; background: #111; color: var(--white); }
.s-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; animation: settle 2.2s var(--ease-out) both; }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.05) 75%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 30%, transparent 60%, rgba(0, 0, 0, 0.55)); }
.s-hero-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: clamp(32px, 5vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.s-hero h1 { margin-top: 20px; max-width: 13ch; font-size: clamp(44px, 6.6vw, 116px); }
.s-hero .lead { margin-top: 24px; }
.s-hero .actions { margin-top: 32px; justify-content: flex-start; }

.fit { padding: clamp(88px, 11vw, 160px) 0; background: var(--yellow); }
.fit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.fit-list { border-bottom: 1.5px solid var(--ink); }
.fit-list li { padding: 24px 0; border-top: 1.5px solid var(--ink); font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }

.examples { padding: clamp(88px, 11vw, 160px) 0; }
.ex-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.ex { padding: 28px 0 40px; border-top: 1.5px solid var(--ink); }
.ex h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ex p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }

.s-process { padding: clamp(88px, 11vw, 160px) 0; background: var(--ink); color: var(--white); }
.s-process .sec-head p { color: var(--on-ink-soft); }
.s-process-grid { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.s-process-img { position: sticky; top: 14vh; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.s-process-img img { width: 100%; height: 100%; object-fit: cover; }
.s-steps li { padding: 28px 0 32px; border-top: 1px solid var(--on-ink-hair); }
.s-steps h3 { margin-top: 10px; font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.s-steps p { margin-top: 12px; max-width: 32rem; color: var(--on-ink-soft); font-size: 18px; }
.s-steps .get { margin-top: 14px; color: var(--white); font-size: 16px; }
.s-steps .get b { color: var(--yellow); font-weight: 600; }

.related { padding: clamp(88px, 11vw, 160px) 0; background: var(--mist); }
.rel-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; color: var(--white); text-decoration: none; }
.rel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease-out); }
.rel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82)); }
.rel:hover img { scale: 1.05; }
.rel div { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.rel b { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.04em; }
.rel b i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-style: normal; font-size: 18px; transition: transform 0.45s var(--ease-out); }
.rel:hover b i { transform: rotate(-45deg); }
.rel span { display: block; margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.8); }

@media (max-width: 1080px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fit-grid, .s-process-grid { grid-template-columns: minmax(0, 1fr); }
  .s-process-img { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .rel { aspect-ratio: 4 / 3; }
  .rel::after { background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.85)); }
}
@media (max-width: 600px) {
  .s-hero { min-height: 600px; }
  .s-hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .s-hero > img { object-position: 65% 50%; }
  .ex-grid { grid-template-columns: minmax(0, 1fr); }
}
.s-more { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--on-ink-hair); max-width: 34rem; color: var(--on-ink-soft); font-size: 16px; }
.s-more a { color: var(--yellow); font-weight: 600; text-decoration: none; white-space: nowrap; }
.s-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* SEO pass: five services, named systems, footer title */
.mega-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rel b { font-size: clamp(22px, 1.9vw, 30px); }
.foot-top .foot-title { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; max-width: 14ch; }
.systems { padding: 0 0 clamp(88px, 11vw, 160px); }
.systems-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; padding-top: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--ink); }
.systems-grid h2 { font-size: clamp(32px, 3.6vw, 56px); }
.systems-grid > div p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--mist); font-size: 17px; font-weight: 600; }
.systems-note { grid-column: 2; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 1080px) { .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .systems-grid { grid-template-columns: minmax(0, 1fr); } .systems-note { grid-column: 1; } .rel-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ on the home page */
.faq { padding: clamp(88px, 11vw, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq-list { border-bottom: 1.5px solid var(--ink); }
.faq details { border-top: 1.5px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: none; }
.faq details p { max-width: 40rem; padding: 0 40px 28px 0; color: var(--ink-soft); font-size: 18px; }

/* Contact page and simple pages */
.page-top { padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); background: var(--ink); color: var(--white); min-height: 70vh; }
.page-top .lead { margin-top: 24px; color: rgba(255, 255, 255, 0.82); }
.page-top h1 { margin-top: 20px; font-size: clamp(44px, 6vw, 96px); }
.page-top .actions { margin-top: 32px; justify-content: flex-start; }
.page-top-light { background: var(--white); color: var(--ink); }
.page-top-light .crumbs { color: var(--ink-soft); }
.page-top-light .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-top-light .lead { color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(48px, 7vw, 112px); align-items: start; }
.next-steps { margin-top: 40px; counter-reset: n; border-top: 1px solid var(--on-ink-hair); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--on-ink-hair); font-size: 17px; }
.next-steps li::before { content: "0" counter(n); color: var(--yellow); font: 500 14px/1.6 var(--mono); }
.direct { margin-top: 28px; color: var(--on-ink-soft); }
.direct a { color: var(--yellow); }

.contact-form { padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; background: var(--white); color: var(--ink); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field label span { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid rgba(15, 15, 15, 0.2); border-radius: 12px; background: var(--white); font: inherit; font-size: 17px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 209, 0, 0.45); }
.field input:user-invalid { border-color: #b3261e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; justify-content: space-between; margin-top: 6px; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.form-note a { color: var(--ink); }
.form-status:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--mist); font-size: 15px; }
.form-status.ok { background: #fff3b3; }
.form-status.err { background: #fde8e6; color: #7a1a12; }
.form-status a { color: inherit; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 48px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.04em; line-height: 1.1; }
.prose p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.prose a { color: var(--ink); }
.prose .updated { margin-top: 48px; font-size: 15px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .faq details p { padding-right: 0; }
}

/* Services hub */
.hub { padding: 0 0 clamp(88px, 11vw, 160px); }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: minmax(0, 1fr); } .hub-grid .rel { aspect-ratio: 4 / 3; } }

/* The headline is the largest element on the page: show it at once instead of animating it in. */
.hero .lines > span > span { transform: none; animation: none; }
