/* Shared styles for the inner pages (client, service, Book a call), matching the homepage system:
   60% black, 30% yellow, 10% cobalt; Newsreader + Schibsted Grotesk + IBM Plex Mono; column grid behind. */
:root {
  --yellow: #ffca2e; --cobalt: #2441b5; --dark-ink: #1c1a19; --light-ink: #f2ece2;
  --bg: #121111; --fg: #f2ece2; --muted: #9d968b; --line: rgba(242,236,226,.14); --grid: rgba(242,236,226,.05); --accent-text: #7d97ff; --panel: #1e1d1c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --logo: "Archivo Black", "Arial Black", sans-serif;
  --gx: max(16px, env(safe-area-inset-left, 0px), 3.4vw);
  --gxr: max(16px, env(safe-area-inset-right, 0px), 3.4vw);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.wrap { padding-left: var(--gx); padding-right: var(--gxr); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
h2 i, .big i, h1 i { color: var(--accent-text); }
.gridlines { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding: 0 var(--gxr) 0 var(--gx); }
.gridlines i { border-left: 1px solid var(--grid); border-right: 1px solid var(--grid); }
main, footer { position: relative; z-index: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn.y { background: var(--yellow); color: var(--dark-ink); }
.btn.c { background: var(--cobalt); color: var(--light-ink); }
.btn.o { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.crumb { color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--fg); }
.lede { margin: 22px 0 0; max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); }
.soon { display: grid; place-items: center; min-height: 240px; color: var(--muted); background: var(--panel); }
.soon-line { color: var(--muted); }

/* Header + menu */
.top { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gxr) 14px var(--gx); pointer-events: none; }
.top > * { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; }
.pill.mono { font-weight: 400; }
.logo { font-family: var(--logo); font-size: 18px; letter-spacing: -.03em; line-height: 1; font-weight: 400; }
.logo b { width: .38em; height: .38em; border-radius: 50%; background: var(--yellow); display: inline-block; margin-left: 1px; }
.top-r { display: flex; gap: 8px; align-items: center; }
.menu-btn { border: 0; background: var(--yellow); color: var(--dark-ink); cursor: pointer; }
@media (max-width: 640px) { #clock { display: none; } }
.menu { position: fixed; inset: 0; z-index: 200; background: var(--cobalt); color: var(--light-ink); display: grid; grid-template-rows: auto 1fr auto; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gxr) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gx); clip-path: circle(0% at calc(100% - 60px) 35px); visibility: hidden; transition: clip-path .75s cubic-bezier(.7,0,.2,1), visibility 0s .75s; }
.menu.open { clip-path: circle(150% at calc(100% - 60px) 35px); visibility: visible; transition: clip-path .75s cubic-bezier(.7,0,.2,1); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu .on-cobalt, .menu .close { background: var(--light-ink); color: var(--dark-ink); box-shadow: none; border: 0; cursor: pointer; }
.menu nav { display: grid; align-content: center; }
.menu nav a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font: 300 clamp(44px, 8vw, 116px)/1.04 var(--serif); letter-spacing: -.03em; }
.menu nav a small { font: 400 12px var(--mono); opacity: .7; }
.menu nav a:hover, .menu nav a:focus-visible { font-style: italic; color: var(--yellow); outline: none; }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Client page */
.head { padding-block: calc(110px + env(safe-area-inset-top, 0px)) 40px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.head h1 { margin: 0; font: 300 clamp(56px, 10vw, 180px)/.86 var(--serif); letter-spacing: -.04em; }
.facts { margin: 0; border-top: 1px solid var(--fg); }
.facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); } .facts dd { margin: 0; } .facts dd i { color: var(--accent-text); font-style: normal; }
.cover { position: relative; aspect-ratio: 16 / 9; max-height: 86vh; width: 100%; overflow: hidden; background: var(--panel); }
.cover > img, .cover > video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: var(--gx); bottom: 24px; }
.play i { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.brief { padding-block: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.brief h2, .gal-head h2, .sv-strip-head h2, .sv-work h2, .sv-how h2, .sv-faq h2 { margin: 0; font: 300 clamp(36px, 4.4vw, 68px)/.95 var(--serif); letter-spacing: -.03em; }
.brief .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brief h3 { margin: 0 0 8px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brief p { margin: 0; font-size: 17px; }
.gallery { padding-bottom: clamp(60px, 8vw, 110px); }
.gal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.gal-head .mono { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--panel); cursor: zoom-in; }
.tile > img, .tile > video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tile:hover > *, .tile:focus-visible > * { transform: scale(1.04); }
.tile.w8 { grid-column: span 8; aspect-ratio: 16 / 10; } .tile.w4 { grid-column: span 4; }
.tile.w4t { grid-column: span 4; aspect-ratio: 4 / 5; } .tile.w6 { grid-column: span 6; aspect-ratio: 16 / 11; } .tile.w12 { grid-column: span 12; aspect-ratio: 21 / 9; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.95); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gxr) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gx); }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding-block: 12px; }
.lb-stage img, .lb-stage video { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb button { border: 0; cursor: pointer; background: var(--fg); color: var(--bg); border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 40px; border-block: 1px solid var(--line); text-decoration: none; transition: padding .4s cubic-bezier(.2,.8,.2,1); }
.next:hover, .next:focus-visible { padding-left: 16px; }
.next .mono { color: var(--muted); }
.next b { font: 300 clamp(44px, 8vw, 130px)/.9 var(--serif); letter-spacing: -.04em; }
.next:hover b { font-style: italic; color: var(--accent-text); }
.next .arr { font-size: clamp(32px, 4vw, 60px); color: var(--yellow); }

/* Service pages: photos first */
.sv-hero { padding-block: calc(110px + env(safe-area-inset-top, 0px)) clamp(50px, 7vw, 100px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.kicker { margin: 0 0 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.big { margin: 0; font: 300 clamp(56px, 8.4vw, 150px)/.86 var(--serif); letter-spacing: -.04em; }
.sv-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.sv-media > * { width: 100%; height: 100%; object-fit: cover; }
.sv-strip-wrap { padding-bottom: clamp(60px, 8vw, 110px); }
.sv-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sv-strip-head .mono { color: var(--muted); }
.sv-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gxr) 14px var(--gx); scrollbar-width: thin; }
.sv-card { margin: 0; flex: none; width: clamp(240px, 26vw, 380px); scroll-snap-align: start; }
.sv-card > img, .sv-card > video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
.sv-card figcaption { margin-top: 12px; font: 400 24px/1.1 var(--serif); }
.sv-work { padding-bottom: clamp(60px, 8vw, 110px); }
.sv-work h2 { margin-bottom: 24px; }
.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.wk { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; background: var(--panel); }
.wk > img, .wk > video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.wk:hover > img, .wk:hover > video { transform: scale(1.05); }
.wk > span:last-child { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: grid; gap: 2px; color: var(--light-ink); }
.wk b { font: 400 26px/1.05 var(--serif); }
.wk .mono { color: var(--yellow); }
.sv-how { padding-bottom: clamp(60px, 8vw, 110px); }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 300 48px/1 var(--serif); color: var(--accent-text); }
.steps b { font-size: 18px; } .steps p { margin: 0; color: var(--muted); font-size: 15px; }
.sv-faq { padding-bottom: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.sv-faq details { border-bottom: 1px solid var(--line); }
.sv-faq details:first-child { border-top: 1px solid var(--line); }
.sv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 18px 0; font: 400 clamp(20px, 1.9vw, 26px)/1.2 var(--serif); }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; font: 400 22px var(--mono); color: var(--yellow); transition: transform .3s; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* Book a call */
.ct-head { padding-block: calc(110px + env(safe-area-inset-top, 0px)) 30px; }
.ct-head .big { max-width: 12ch; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(60px, 8vw, 110px); align-items: start; }
.ct-form { display: grid; gap: 16px; }
.step { color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; margin-top: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.ct-form input, .ct-form select, .ct-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 0; background: var(--panel); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.ct-form textarea { resize: vertical; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--yellow); }
.ct-form .bad { box-shadow: inset 0 0 0 2px #ff6b5b; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; color: var(--fg); }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 15px; }
.chips input:checked + span { background: var(--yellow); color: var(--dark-ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.err { margin: 0; color: #ff8a7d; }
.ct-form .btn { justify-self: start; margin-top: 6px; }
.ct-cal { position: sticky; top: 90px; display: grid; gap: 14px; }
.cal-box { background: var(--panel); border-radius: 14px; padding: 22px; min-height: 380px; display: grid; align-content: center; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.cal-box p { margin: 0; color: var(--muted); }
.cal-box .done { color: var(--fg); font: 300 30px/1.1 var(--serif); }
.alt p { margin: 6px 0 0; }
.sel { user-select: all; color: var(--fg); }

/* CTA band + footer */
.cta-band { padding-block: clamp(70px, 9vw, 120px) 20px; border-top: 1px solid var(--line); }
.cta-band h2 { margin: 0; font: 300 clamp(48px, 8vw, 140px)/.9 var(--serif); letter-spacing: -.04em; max-width: 11ch; }
.cta-band h2 i { color: var(--yellow); }
.site-foot { padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
.seo { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 24px; font-size: 14px; }
.seo a { text-decoration: none; opacity: .8; } .seo a:hover { opacity: 1; text-decoration: underline; }
.foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; opacity: .85; }

@media (max-width: 860px) {
  .head, .sv-hero, .ct-grid, .brief, .sv-faq { grid-template-columns: minmax(0, 1fr); }
  .brief .cols, .row2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .tile[class*="w"] { grid-column: span 1; aspect-ratio: 4 / 5; }
  .tile.w12, .tile.w8 { grid-column: span 2; aspect-ratio: 16 / 10; }
  .ct-cal { position: static; }
  .sv-card { width: 74vw; }
}
@media (prefers-reduced-motion: reduce) { .tile > *, .wk > *, .next, .btn, .menu { transition: none; } }
