/* 360 Strategy: the whole site except the hero (assets/css/hero.css).
   Dark and cinematic, oversized type, generous space, the brand teal used sparingly. */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06090a;
  --bg-2: #0a0f11;
  --surface: #11181b;
  --surface-2: #172125;
  --line: #1f2b31;
  --text: #edf1f2;
  --muted: #8e999e;
  --accent: #00627d;
  --accent-hover: #007896;
  --accent-2: #3cc3e0;
  --danger: #ec7a6d;
  --shade: 6 9 10;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Urbanist", var(--font);
  --tshadow: 0 1px 2px rgb(5 8 10 / .55), 0 4px 24px rgb(5 8 10 / .45);
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: clip; }
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; margin: 0; line-height: 1.06; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--accent); color: #fff; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type & rhythm ---------- */
.section { position: relative; padding: clamp(96px, 15vh, 190px) var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.kicker { display: inline-block; font: 500 13px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.display { font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.025em; }
.title { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.06; }
.lede { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.55; color: rgb(237 241 242 / .74); max-width: 40rem; }
.prose p { color: rgb(237 241 242 / .78); }
.prose p + p, .prose ul, .prose h2, .prose h3 { margin-top: 18px; }
.prose a { color: var(--accent-2); }

/* ---------- buttons: softly rounded, never pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 6px; border: 1px solid transparent; font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgb(237 241 242 / .26); color: var(--text); background: rgb(6 9 10 / .2); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid rgb(237 241 242 / .3); transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: var(--accent-2); gap: 14px; }

/* ---------- scroll reveals: CSS scroll-driven animations; everything is simply visible where unsupported ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal]:not([data-reveal="mask"]) { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    [data-reveal="mask"] { position: relative; }
    [data-reveal="mask"]::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--mask-bg, var(--bg));
      transform-origin: top; animation: unmask linear both; animation-timeline: view(); animation-range: entry 5% entry 85%; }
  }
}
@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- section entrances (Our Process, The Power of Interactive Experiences) ----------
   site.js adds .is-in as each element scrolls into view; --d staggers them. The hidden state applies only once
   html.js-anim is set (by a tiny script in the page head that undoes itself if site.js never runs),
   so without JavaScript, or with reduced motion, everything is simply shown. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
html.js-anim [data-anim] { transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s), filter 1s var(--ease-out) var(--d, 0s); }
html.js-anim [data-anim="up"]:not(.is-in) { opacity: 0; transform: translateY(30px); }
html.js-anim [data-anim="fade"]:not(.is-in) { opacity: 0; }
html.js-anim [data-anim="rise"]:not(.is-in) { opacity: 0; transform: translateY(42px) scale(.965); filter: blur(4px); }
html.js-anim [data-anim="step"]:not(.is-in) { opacity: 0; transform: translateY(26px); }
/* headings rise out of a mask, line by line */
.anim-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.anim-line > span { display: block; }
html.js-anim [data-anim="mask"] .anim-line > span { transition: transform 1.3s var(--ease-out) var(--d, 0s); }
html.js-anim [data-anim="mask"]:not(.is-in) .anim-line > span { transform: translateY(108%); }
@media (prefers-reduced-motion: reduce) { html.js-anim [data-anim], html.js-anim [data-anim] * { transition: none !important; } }
@keyframes unmask { from { transform: scaleY(1); } to { transform: scaleY(0); } }

.frame { position: relative; overflow: hidden; background: var(--surface); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.media-missing { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px); }

/* ---------- navigation: full width, flush with the top, no background ----------
   Over the homepage hero it sits directly on the film. Everywhere else the bar stays transparent with a soft
   frosted blur so the links stay readable, and it switches to dark text over the light project sections. */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 90; background: transparent;
  backdrop-filter: blur(12px) saturate(1.15); -webkit-backdrop-filter: blur(12px) saturate(1.15);
  transition: backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease), background .4s var(--ease); }
.site-nav.is-over-hero:not(.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-nav:not(.is-on-light) .site-nav__links a:not(.btn) { text-shadow: var(--tshadow); }
.site-nav:not(.is-on-light) .site-nav__logo img { filter: drop-shadow(0 1px 6px rgb(5 8 10 / .45)); }
.site-nav.is-on-light:not(.is-open) .site-nav__links a:not(.btn) { color: rgb(16 20 22 / .78); }
.site-nav.is-on-light:not(.is-open) .site-nav__links a:not(.btn):hover, .site-nav.is-on-light:not(.is-open) .site-nav__links a[aria-current] { color: #101416; }
.site-nav.is-on-light:not(.is-open) .site-nav__links a:not(.btn)::after { background: var(--accent); }
.site-nav.is-on-light:not(.is-open) .site-nav__logo img { filter: brightness(0); }
.site-nav.is-on-light:not(.is-open) .site-nav__toggle { color: #101416; border-color: rgb(16 20 22 / .2); background: rgb(16 20 22 / .04); }
.site-nav__logo img { transition: filter .3s ease; }
.site-nav__links a:not(.btn) { transition: color .3s ease; }
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }
.site-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(16px, 3vw, 40px); }.site-nav__logo img { height: 24px; width: auto; }
.site-nav__links { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.site-nav__links a:not(.btn) { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; white-space: nowrap; color: rgb(237 241 242 / .86); transition: color .25s; }
.site-nav__links a:not(.btn):hover, .site-nav__links a[aria-current] { color: #fff; }
.site-nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav__links a:not(.btn):hover::after, .site-nav__links a[aria-current]::after { transform: scaleX(1); }
.site-nav__links .btn { margin-left: 6px; }
.site-nav__toggle { display: none; width: 44px; height: 44px; place-items: center; background: rgb(237 241 242 / .06); border: 1px solid rgb(237 241 242 / .14); border-radius: 8px; cursor: pointer; }
.site-nav__toggle svg { width: 22px; height: 22px; }
.site-nav__toggle-close, .site-nav.is-open .site-nav__toggle-open { display: none; }
.site-nav.is-open .site-nav__toggle-close { display: grid; }
@media (max-width: 1080px) {
  .site-nav__links { display: none; }
  .site-nav__toggle { display: grid; }
  .site-nav.is-open { background: var(--bg); }
  .site-nav__sheet:not([hidden]) { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 18px 22px 26px; min-height: calc(100svh - 90px); }
  .site-nav__sheet nav { display: grid; }
  .site-nav__sheet nav a { font: 600 clamp(26px, 7vw, 40px)/1.15 var(--font-head); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .site-nav__sheet nav a[aria-current] { color: var(--accent-2); }
  .site-nav__sheet .btn { width: 100%; }
}
body.menu-open { overflow: hidden; }
.landing-focus .site-nav__toggle { display: none; }

/* ---------- 2 & 3 · video features ---------- */
/* each video section is one full screen: the text and the video side by side on the same level, across the whole
   page width (the video never gets taller than the screen). Tablets and phones stack them, still one screen each. */
.vfeat { display: flex; align-items: center; min-height: 100svh; padding: clamp(84px, 11vh, 116px) clamp(20px, 3vw, 56px) clamp(36px, 6vh, 64px); background: var(--bg); }
.vfeat__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.vfeat__text .display { font-size: clamp(34px, 8vw, 56px); line-height: 1.04; }
.vfeat__text .lede { margin-top: 18px; }
.vfeat__text .btn { margin-top: 24px; }
@media (min-width: 1001px) {
  .vfeat__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(32px, 4vw, 72px); }
  .vfeat--reverse .vfeat__grid { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr); }
  .vfeat--reverse .vfeat__media { order: -1; }
  .vfeat__text .display { font-size: clamp(32px, 3.3vw, 64px); }
  .vfeat__text .lede { font-size: clamp(15px, 1.2vw, 20px); }
  .vfeat__media { width: 100%; max-width: calc((100svh - 150px) * 16 / 9); margin-inline: auto; }
}
.vframe { position: relative; width: 100%; overflow: hidden; background: #000; box-shadow: 0 40px 120px -40px rgb(0 98 125 / .35), 0 0 0 1px rgb(237 241 242 / .07); }
.vframe--rounded { border-radius: var(--radius); }
.vframe--sharp { border-radius: 2px; }
.vframe__img, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vframe__poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.vframe__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgb(6 9 10 / 0), rgb(6 9 10 / .45)); transition: opacity .4s; }
.vframe__poster:hover::after { opacity: .5; }
.vframe__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(64px, 7vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px rgb(0 98 125 / .25); transition: transform .35s var(--ease), box-shadow .35s; }
.vframe__play svg { width: 28%; height: 28%; margin-left: 4%; }
.vframe__poster:hover .vframe__play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 16px rgb(0 98 125 / .2); }
@media (max-width: 900px) {
}

/* ---------- 4 · clients ---------- */
.clients { background: var(--bg-2); padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(80px, 12vh, 140px); }
.clients__title { text-align: center; }
.clients__intro { max-width: 38rem; margin: 16px auto 0; text-align: center; color: var(--muted); }
/* logos on an even rhythm: 4 per row on desktop, 3 on tablets, 2 on phones; a short last row stays centred */
.clients__grid { --cols: 4; --k: 1; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line); }
.clients__grid li { flex: 0 0 calc(100% / var(--cols)); border-bottom: 1px solid var(--line); }
.clients__item { position: relative; display: grid; place-items: center; height: clamp(120px, 11vw, 160px); padding: 24px clamp(18px, 2.4vw, 40px); }
.clients__item::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 40%; height: 1px; background: var(--accent-2); transform: translateX(-50%) scaleX(0); transition: transform .5s var(--ease); }
.clients__grid li:hover .clients__item::after { transform: translateX(-50%) scaleX(1); }
.clients__logo { height: calc(var(--h, 52) * var(--k) * 1px); width: auto; max-width: 100%; object-fit: contain;
  transition: filter .45s ease, opacity .45s ease, transform .45s var(--ease); }
.clients--mono .clients__logo { filter: grayscale(1) brightness(1.7); opacity: .58; }
.clients--mono li:hover .clients__logo { filter: none; opacity: 1; }
.clients__grid li:hover .clients__logo { transform: translateY(-3px); }
.clients__note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--accent-2); }
.clients__note a { color: inherit; }
@media (max-width: 1000px) { .clients__grid { --cols: 3; --k: .85; } }
@media (max-width: 600px) { .clients__grid { --cols: 2; --k: .7; } .clients__item { height: 110px; padding: 18px; } }

/* ---------- 5 · research stats ---------- */
/* one compact composition: heading row, then the figures side by side (4 across on desktop, 2 on tablets, 1 on phones) */
.stats { padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(80px, 12vh, 140px); background: radial-gradient(120% 80% at 80% 0%, rgb(0 98 125 / .16), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.stats__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.stats__head .display { font-size: clamp(36px, 4.4vw, 68px); }
.stats__head .lede { justify-self: end; max-width: 30rem; }
/* hairlines between the cards are drawn by the cards themselves, so they arrive with them */
.stats__grid { --cols: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats__grid .stat { box-shadow: 0 0 0 1px var(--line); }
.stats__grid[data-items="1"] { --cols: 1; }
.stats__grid[data-items="2"] { --cols: 2; }
.stats__grid[data-items="3"], .stats__grid[data-items="5"], .stats__grid[data-items="6"], .stats__grid[data-items="9"] { --cols: 3; }
.stat { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); background: var(--bg); transition: background .5s var(--ease); }
.stat::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.stat:hover { background: #0b1215; }
.stat:hover::after { transform: scaleX(1); }
/* the figures in the brand teal, from the first frame of the count to the final value */
.stat__figure { font: 500 clamp(44px, 4.6vw, 76px)/.95 var(--font-head); letter-spacing: -0.035em; color: var(--accent-2); font-variant-numeric: tabular-nums; white-space: nowrap;
  filter: drop-shadow(0 0 28px rgb(60 195 224 / .18)); }
.stat__figure > span { background: linear-gradient(180deg, #7fe0f2 0%, var(--accent-2) 48%, #0a95b4 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* a short teal rule draws across the top of each card as it arrives */
.stat::before { content: ""; position: absolute; left: clamp(24px, 2.4vw, 36px); top: 0; width: 56px; height: 2px; background: var(--accent-2); transform-origin: left; transition: transform 1s var(--ease-out) calc(var(--d, 0s) + .35s); }
html.js-anim .stat:not(.is-in)::before { transform: scaleX(0); }
.stat__headline { margin-top: 18px; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.2; }
.stat__text { margin: 10px 0 22px; color: rgb(237 241 242 / .68); font-size: 15px; line-height: 1.55; }
/* sources line up along the bottom of the row */
.stat__source { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.stat__source a { display: inline-flex; align-items: center; gap: 6px; justify-self: start; color: var(--accent-2); text-decoration: none; font-weight: 500; }
.stat__source a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stat__source svg { width: 13px; height: 13px; }
.stats__disclaimer { margin-top: 22px; max-width: 64rem; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1100px) { .stats__grid { --cols: 2 !important; } }
@media (max-width: 900px) { .stats__head { grid-template-columns: 1fr; } .stats__head .lede { justify-self: start; } }
@media (max-width: 620px) { .stats__grid { --cols: 1 !important; } .stat__figure { font-size: clamp(48px, 15vw, 64px); } }

/* ---------- 6 · process ---------- */
.process { background: var(--bg-2); }
.process__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(56px, 8vw, 100px); }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); position: relative; view-timeline: --steps block; }
.process__steps::before, .process__steps::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line); }
.process__steps::after { background: var(--accent-2); transform-origin: left; transition: transform 2.2s var(--ease-out) .15s; }
/* the timeline draws across, then each step's dot, icon and image arrive in turn */
html.js-anim .process__steps:not(.is-in)::after { transform: scaleX(0); }
.step::before { transition: transform .7s var(--ease-out) calc(var(--d, 0s) + .1s), background .5s; }
html.js-anim .step:not(.is-in)::before { transform: scale(0); }
.step.is-in::before { background: var(--accent-2); box-shadow: 0 0 0 5px var(--bg-2), 0 0 18px rgb(60 195 224 / .45); }
html.js-anim .step__icon { transition: transform .9s var(--ease-out) calc(var(--d, 0s) + .2s), opacity .7s ease calc(var(--d, 0s) + .2s), border-color .4s, background .4s; }
html.js-anim .step:not(.is-in) .step__icon { opacity: 0; transform: scale(.6) rotate(-14deg); }
.step__img img { transition: transform 1.6s var(--ease-out) var(--d, 0s); }
html.js-anim .step:not(.is-in) .step__img img { transform: scale(1.12); }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.step { position: relative; padding-top: 46px; }
.step::before { content: ""; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--accent-2); box-shadow: 0 0 0 5px var(--bg-2); z-index: 1; }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step__num { display: block; font: 500 14px/1 var(--font); letter-spacing: .06em; color: var(--accent-2); }
.step__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / .03); color: var(--accent-2); transition: border-color .4s, background .4s; }
.step__icon svg { width: 22px; height: 22px; }
.step__icon-img { width: 26px; height: 26px; object-fit: contain; }
.step:hover .step__icon { border-color: rgb(60 195 224 / .5); background: rgb(60 195 224 / .08); }
.step__img { aspect-ratio: 16 / 10; margin-top: 18px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-size: clamp(21px, 1.7vw, 26px); margin-top: 14px; }
.step p { margin-top: 12px; color: rgb(237 241 242 / .68); font-size: 15px; }
@media (max-width: 980px) {
  .process__head { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .process__steps::before, .process__steps::after { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  html.js-anim .process__steps:not(.is-in)::after { transform: scaleY(0); }
  .process__steps::after { transition-duration: 2.6s; }
  .step { padding: 0 0 42px; }
  .step::before { left: -34px; top: 2px; }
}

/* ---------- 7 · contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #071419 100%); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); }
.contact__intro .display { font-size: clamp(40px, 5vw, 80px); }
.contact__intro .lede { margin-top: 26px; }
.contact__direct { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 16px; }
.contact__direct li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.contact__direct svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }
.contact__direct a, .contact__socials a { text-decoration: none; border-bottom: 1px solid transparent; }
.contact__direct a:hover, .contact__socials a:hover { border-color: currentColor; }
.contact__socials { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; color: rgb(237 241 242 / .8); }
.contact__form { padding: clamp(24px, 3vw, 40px); background: rgb(255 255 255 / .025); border: 1px solid var(--line); border-radius: var(--radius); }
.cform { display: grid; gap: 18px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: rgb(237 241 242 / .86); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 14px; background: rgb(255 255 255 / .04); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #2f4049; }
.field input:focus, .field textarea:focus { border-color: var(--accent-2); background: rgb(255 255 255 / .06); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__hint a { color: inherit; }
.cform__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.cform__status { font-size: 15px; color: var(--danger); }
.cform__status:empty { display: none; }
.cform__done { padding: 12px 0; }
.cform__done p { margin-top: 14px; color: rgb(237 241 242 / .8); }
.cform__done:focus { outline: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cform__row { grid-template-columns: 1fr; } .cform__foot .btn { width: 100%; } }

/* ---------- projects ---------- */
.projects-page { padding: clamp(150px, 20vh, 230px) var(--gutter) clamp(96px, 14vh, 170px); background: var(--bg-2); --mask-bg: var(--bg-2); min-height: 80vh; }
.projects-page__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; list-style: none; }
.filters a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.filters a:hover { color: var(--text); border-color: #344650; }
.filters a[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.filters__count { margin-left: 6px; opacity: .7; }
.work__empty { color: var(--muted); font-size: 18px; }
.work__empty a { color: var(--accent-2); }
/* the portfolio grid: same proportions and alignment for every project (3 across, 2 on tablets, 1 on phones) */
.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 64px) clamp(20px, 2.4vw, 36px); }
.work__grid--landing { margin-top: 48px; }
.pcard[hidden] { display: none; }
.pcard__link { display: block; text-decoration: none; }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--surface); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s ease; }
.pcard__link:hover .pcard__media img, .pcard__link:focus-visible .pcard__media img { transform: scale(1.045); filter: brightness(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(237 241 242 / .08); transition: box-shadow .5s ease; pointer-events: none; }
.pcard__link:hover .pcard__media::after { box-shadow: inset 0 0 0 1px rgb(60 195 224 / .55); }
.pcard__demo { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px; font-size: 12px; background: rgb(6 9 10 / .78); border-radius: 5px; color: rgb(237 241 242 / .9); }
.pcard__go { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.pcard__go svg { width: 18px; height: 18px; }
.pcard__link:hover .pcard__go, .pcard__link:focus-visible .pcard__go { transform: none; opacity: 1; }
.pcard__text { padding-top: 18px; }
.pcard__title { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.15; transition: color .3s ease; }
.pcard__link:hover .pcard__title { color: var(--accent-2); }
.pcard__desc { margin-top: 10px; color: rgb(237 241 242 / .68); font-size: 15px; line-height: 1.55; }
@media (max-width: 1000px) { .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .projects-page__head { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .portfolio { grid-template-columns: minmax(0, 1fr); } }

/* ---------- project story ---------- */
.story { background: var(--bg); --mask-bg: var(--bg); }
.story-open, .lp-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.story-open__media, .lp-hero__media { position: absolute; inset: 0; }
.story-open__media img, .lp-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-open__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--shade) / .6) 0%, rgb(var(--shade) / 0) 24%), linear-gradient(0deg, rgb(var(--shade) / .94) 0%, rgb(var(--shade) / .55) 40%, rgb(var(--shade) / 0) 72%); }
.story-open__text, .lp-hero__text { position: relative; z-index: 2; width: 100%; padding: 150px var(--gutter) clamp(48px, 8vh, 96px); text-shadow: var(--tshadow); }
.story-open__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.story-open__back { font-size: 14px; text-decoration: none; color: rgb(237 241 242 / .8); border-bottom: 1px solid rgb(237 241 242 / .3); padding-bottom: 2px; }
.story-open__back:hover { color: #fff; border-color: #fff; }
.story-open__demo { font-size: 12px; padding: 6px 10px; border-radius: 5px; background: rgb(6 9 10 / .7); text-shadow: none; }
.story-open__title { font-size: clamp(48px, 8vw, 136px); line-height: .95; letter-spacing: -0.035em; max-width: 14ch; }
.story-open__intro { margin-top: 26px; max-width: 42rem; font-size: clamp(17px, 1.4vw, 22px); color: rgb(237 241 242 / .88); }
.story-open__facts { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgb(237 241 242 / .18); }
.story-open__facts dt { font-size: 12px; color: rgb(237 241 242 / .62); }
.story-open__facts dd { margin: 4px 0 0; font-size: 15px; }
.story-open__services { flex-basis: 100%; }
.story-open__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.story-open__actions .btn { text-shadow: none; }

.sb { padding: clamp(56px, 8vw, 110px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.sb .title { margin-bottom: 26px; }
.sb p { color: rgb(237 241 242 / .76); font-size: 17px; }
.sb p + p { margin-top: 16px; }
.sb-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.sb-text--left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sb-text--left .sb-text__media { order: -1; }
.sb-text--solo, .sb-text--full { grid-template-columns: minmax(0, 1fr); }
.sb-text--solo .sb-text__copy, .sb-text--full .sb-text__copy { max-width: 46rem; }
.sb-text__media { aspect-ratio: 4 / 3; margin: 0; border-radius: var(--radius); }
.sb-text--full .sb-text__media { aspect-ratio: 21 / 9; }
.sb-videos { display: grid; gap: clamp(48px, 6vw, 80px); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.gallery li { grid-column: span 6; }
.gallery li:nth-child(5n + 1) { grid-column: span 7; }
.gallery li:nth-child(5n + 2) { grid-column: span 5; }
.gallery li:nth-child(5n + 3) { grid-column: 1 / -1; }
.gallery--1 li { grid-column: 1 / -1 !important; }
.gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); cursor: zoom-in; }
.gallery li:nth-child(5n + 3) .gallery__item, .gallery--1 .gallery__item { aspect-ratio: 21 / 9; }
.gallery__item img { transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(3 5 6 / .97); color: var(--text); }
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lightbox img { position: absolute; inset: 24px 24px 76px; width: calc(100% - 48px); height: calc(100% - 100px); object-fit: contain; }
.lightbox__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 14px; color: var(--muted); }
.lightbox__bar button { width: 44px; height: 44px; display: inline-grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 8px; margin-left: 8px; cursor: pointer; }
.lightbox__bar svg { width: 18px; height: 18px; }
.story-next { position: relative; display: flex; align-items: flex-end; min-height: 80svh; text-decoration: none; overflow: hidden; }
.story-next__media { position: absolute; inset: 0; }
.story-next__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.story-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--shade) / .92), rgb(var(--shade) / .2) 62%); }
.story-next:hover .story-next__media img { transform: scale(1.04); }
.story-next__text { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(48px, 8vh, 96px); display: grid; justify-items: start; gap: 18px; }
.story-next__title { font: 600 clamp(44px, 7vw, 120px)/.95 var(--font-head); letter-spacing: -0.03em; }
.story-close { border-top: 1px solid var(--line); }
.story-close .lede { margin: 26px 0 34px; }
@media (max-width: 900px) {
  .sb-text, .sb-text--left { grid-template-columns: 1fr; }
  .sb-text--left .sb-text__media { order: 0; }
  .sb-text--full .sb-text__media { aspect-ratio: 4 / 3; }
  .gallery li, .gallery li:nth-child(5n + 1), .gallery li:nth-child(5n + 2), .gallery li:nth-child(5n + 3) { grid-column: 1 / -1; }
  .gallery li:nth-child(5n + 3) .gallery__item { aspect-ratio: 4 / 3; }
}

/* ---------- project page: full-screen opening, then soft light bands with large framed media ---------- */
.pj { --pj-ink: #101416; --pj-soft: #4f5a5f; --pj-line: rgb(16 20 22 / .12); --pj-max: 1240px; background: #0d0d0d; }
.pj-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; text-align: center; background: var(--bg); }
.pj-hero__media { position: absolute; inset: 0; }
.pj-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 9 10 / .82) 0%, rgb(6 9 10 / .3) 42%, rgb(6 9 10 / .1) 70%, rgb(6 9 10 / .45) 100%); }
.pj-hero__text { position: relative; z-index: 2; width: 100%; max-width: 1100px; padding: 140px var(--gutter) clamp(40px, 7vh, 76px); text-shadow: var(--tshadow); }
.pj-hero__top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 20px; }
.pj-hero__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; color: rgb(237 241 242 / .82); }
.pj-hero__back:hover { color: #fff; }
.pj-hero__demo { font-size: 12px; padding: 6px 10px; border-radius: 5px; background: rgb(6 9 10 / .7); text-shadow: none; }
.pj-hero__title { font: 500 clamp(38px, 5.6vw, 84px)/1.02 var(--font-head); text-transform: uppercase; letter-spacing: .01em; }
.pj-hero__intro { max-width: 46rem; margin: 16px auto 0; font-size: clamp(15px, 1.15vw, 18px); color: rgb(237 241 242 / .88); }
.pj-hero__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pj-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 6px; border: 1px solid rgb(255 255 255 / .14);
  background: rgb(10 12 13 / .82); color: #fff; font: 500 14px/1 var(--font); text-decoration: none; text-shadow: none; transition: background .25s; }
.pj-tag:hover { background: #000; }
.pj-tag--accent { background: var(--accent); border-color: var(--accent); }
.pj-tag--accent:hover { background: var(--accent-hover); }
.pj-tag svg { width: 14px; height: 14px; }

.pj-band { padding: clamp(72px, 10vw, 140px) max(var(--gutter), calc((100% - var(--pj-max)) / 2)); color: var(--pj-ink); color-scheme: light;
  background: linear-gradient(115deg, #efebe5 0%, #e8eaea 52%, #e0e8eb 100%); }
.pj-band:nth-of-type(even) { background: linear-gradient(115deg, #e1e7ea 0%, #e9e9e7 55%, #eee9e2 100%); }
.pj-h2 { font: 500 clamp(30px, 3vw, 44px)/1.1 var(--font-head); letter-spacing: -0.01em; color: var(--pj-ink); }
.pj-label { display: block; margin-bottom: 14px; font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pj-showcase { text-align: center; }
.pj-showcase__head { max-width: 46rem; margin: 0 auto clamp(32px, 4vw, 56px); }
.pj-showcase__text { margin-top: 14px; color: var(--pj-soft); font-size: 16px; }
.pj-media .vframe { border-radius: 10px; background: #d6dadc; box-shadow: 0 50px 90px -40px rgb(16 20 22 / .5), 0 18px 40px -22px rgb(16 20 22 / .32); }
.pj-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px 40px; margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 28px; border-top: 1px solid var(--pj-line); text-align: left; }
.pj-facts dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pj-soft); }
.pj-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; }
.pj-facts__wide { grid-column: 1 / -1; }
.pj-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* introduction: the development and the client's objectives side by side, project facts underneath */
.pj-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
.pj-intro--two { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pj-intro:not(.pj-intro--two) .pj-intro__col { max-width: 50rem; }
.pj-intro .pj-facts { grid-column: 1 / -1; margin-top: 0; }
.pj-desc { margin-top: 22px; font-size: 17px; }
.pj-goals { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: goal; }
.pj-goals li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid var(--pj-line); font-size: 16px; line-height: 1.5; }
.pj-goals li:last-child { border-bottom: 1px solid var(--pj-line); }
.pj-goals span { font: 600 13px/1.6 var(--font); letter-spacing: .06em; color: var(--accent); }

/* a text-only statement section */
.pj-feature--statement .pj-feature__copy { max-width: 52rem; margin: 0 auto; text-align: center; }
.pj-feature--statement .pj-h2 { font-size: clamp(32px, 3.6vw, 54px); }
.pj-feature--statement .pj-checks { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(160px, max-content)); gap: 10px 28px; }

/* full-bleed cinematic section and the closing scene: edge to edge, text over the image */
.pj-bleed, .pj-close { position: relative; display: flex; align-items: flex-end; min-height: min(92svh, 980px); overflow: hidden; color: #fff; background: var(--bg); }
.pj-close { align-items: center; justify-content: center; text-align: center; }
.pj-bleed__media, .pj-close__media { position: absolute; inset: 0; }
.pj-bleed__media img, .pj-bleed__media video, .pj-close__media img, .pj-close__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-bleed__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 9 10 / .85) 0%, rgb(6 9 10 / .35) 45%, rgb(6 9 10 / 0) 75%); }
.pj-close__media::after { content: ""; position: absolute; inset: 0; background: rgb(6 9 10 / .58); }
.pj-bleed__copy { position: relative; z-index: 2; width: 100%; max-width: calc(var(--pj-max) + 2 * var(--gutter)); margin: 0 auto; padding: 120px max(var(--gutter), calc((100% - var(--pj-max)) / 2)) clamp(48px, 8vh, 96px); text-shadow: var(--tshadow); }
.pj-bleed__copy > * { max-width: 40rem; }
.pj-bleed .pj-h2 { color: #fff; font-size: clamp(32px, 3.8vw, 58px); }
.pj-bleed p { margin-top: 16px; color: rgb(237 241 242 / .88); font-size: 17px; }
.pj-bleed .pj-label { color: var(--accent-2); }
.pj-bleed .pj-checks svg { color: var(--accent-2); }
.pj-close__copy { position: relative; z-index: 2; max-width: 46rem; padding: 120px var(--gutter); text-shadow: var(--tshadow); }
.pj-close__title { font: 500 clamp(36px, 5vw, 76px)/1.04 var(--font-head); letter-spacing: -0.02em; }
.pj-close__copy p { margin: 20px auto 0; max-width: 36rem; font-size: clamp(16px, 1.3vw, 19px); color: rgb(237 241 242 / .88); }
.pj-close__copy .btn { margin-top: 34px; text-shadow: none; }
.pj .prose p { color: var(--pj-soft); }
.pj .prose a { color: var(--accent); }

.pj-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.pj-feature--left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.pj-feature--left .pj-feature__media { order: -1; }
.pj-feature--full, .pj-feature--solo { grid-template-columns: minmax(0, 1fr); }
.pj-feature--full .pj-feature__copy { max-width: 46rem; margin: 0 auto; text-align: center; }
.pj-feature--full .pj-checks { justify-content: center; }
.pj-feature--solo .pj-feature__copy { max-width: 46rem; }
.pj-feature__copy p { margin-top: 16px; color: var(--pj-soft); font-size: 16px; }
.pj-feature__copy p + p { margin-top: 12px; }
.pj-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.pj-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pj-checks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.pj-gallery .pj-showcase__head, .pj-videos .pj-showcase__head, .pj-services .pj-showcase__head { text-align: center; }
/* services: a tidy grid of ticks */
.pj-services__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; max-width: 980px; }
.pj-services__list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--pj-line); border-radius: 10px; background: rgb(255 255 255 / .42); font-size: 15.5px; font-weight: 500; }
.pj-services__list svg { flex: none; width: 18px; height: 18px; color: var(--accent); }
/* rich text and additional information */
.pj-richtext__in { max-width: 50rem; margin-inline: auto; }
.pj-richtext .prose h2, .pj-richtext .prose h3 { color: var(--pj-ink); }
.pj-richtext .prose img { border-radius: 8px; height: auto; }
.pj-info__head { margin-bottom: 28px; }
.pj-info .pj-facts { margin-top: 0; }
/* videos: the first one large, the others two by two, each with its title and description */
.pj-videos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.pj-videos__item:first-child, .pj-videos__list[data-items="2"] .pj-videos__item { grid-column: 1 / -1; }
.pj-videos__list[data-items="2"] { grid-template-columns: minmax(0, 1fr); }
.pj-videos__text { margin-top: 20px; max-width: 46rem; }
.pj-videos__item:first-child .pj-videos__text { margin-inline: auto; text-align: center; }
.pj-videos__text h3 { font: 500 clamp(20px, 1.7vw, 26px)/1.2 var(--font-head); color: var(--pj-ink); }
.pj-videos__text p { margin-top: 8px; color: var(--pj-soft); font-size: 15.5px; }
@media (max-width: 760px) { .pj-videos__list { grid-template-columns: minmax(0, 1fr); } }
.pj-gallery__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pj-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; cursor: zoom-in; background: #d6dadc; box-shadow: 0 24px 50px -30px rgb(16 20 22 / .45); }
.pj-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pj-gallery__item:hover img { transform: scale(1.04); }

.pj-end { background: #0d0d0d; }
.pj-end__note { padding: 36px var(--gutter); text-align: center; font-size: 13px; color: rgb(237 241 242 / .5); }
.pj-pager { display: grid; grid-template-columns: 1fr 1fr; }
.pj-pager__link:only-child { grid-column: 1 / -1; }
.pj-pager__link { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(150px, 17vw, 230px); padding: 24px clamp(20px, 4vw, 64px); overflow: hidden; color: #fff; text-decoration: none; }
.pj-pager__media { position: absolute; inset: 0; }
.pj-pager__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pj-pager__link::after { content: ""; position: absolute; inset: 0; background: rgb(6 9 10 / .64); transition: background .4s; }
.pj-pager__link:hover::after { background: rgb(6 9 10 / .44); }
.pj-pager__link:hover .pj-pager__media img { transform: scale(1.05); }
.pj-pager__text { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.pj-pager__link--prev .pj-pager__text { flex-direction: row-reverse; }
.pj-pager__dir { flex: none; display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pj-pager__dir svg { flex: none; width: 20px; height: 20px; }
.pj-pager__title { font: 600 clamp(18px, 1.8vw, 26px)/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.pj-pager__title small { display: block; margin-bottom: 4px; font: 500 11px/1.2 var(--font); letter-spacing: .12em; opacity: .7; }

.pj-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch;
  padding: clamp(72px, 9vw, 120px) max(var(--gutter), calc((100% - var(--pj-max)) / 2)); background: #0d0d0d; border-top: 1px solid rgb(255 255 255 / .06); }
.pj-contact__head { margin-bottom: 32px; text-align: center; }
.pj-contact__title { font: 500 clamp(28px, 2.6vw, 40px)/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
.pj-contact__head p { margin-top: 10px; color: var(--muted); }
.pj-contact__aside { position: relative; min-height: 420px; margin: 0; overflow: hidden; border-radius: 10px; background: var(--surface); }
.pj-contact__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-contact__aside figcaption { position: absolute; inset: auto 0 0; padding: 80px clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px); background: linear-gradient(0deg, rgb(6 9 10 / .92), rgb(6 9 10 / 0)); }
.pj-contact__aside blockquote { margin: 0; font: 500 clamp(18px, 1.6vw, 24px)/1.4 var(--font-head); }
.pj-contact__aside cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .pj-intro--two { grid-template-columns: minmax(0, 1fr); }
  .pj-bleed, .pj-close { min-height: 78svh; }
  .pj-feature, .pj-feature--left { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pj-feature--left .pj-feature__media { order: 0; }
  .pj-contact { grid-template-columns: minmax(0, 1fr); }
  .pj-contact__aside { min-height: 320px; }
}
@media (max-width: 760px) {
  .pj-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-pager { grid-template-columns: 1fr; }
  .pj-pager__text, .pj-pager__link--prev .pj-pager__text { flex-direction: column-reverse; gap: 10px; text-align: center; }
}

/* ---------- about ---------- */
.about-page { background: var(--bg); --mask-bg: var(--bg); }
.about-hero { padding: clamp(150px, 20vh, 230px) var(--gutter) 0; }
.about-hero__title { max-width: 16ch; }
.about-hero .lede { margin-top: 28px; }
.about-hero__image { margin: clamp(48px, 7vw, 96px) 0 0; aspect-ratio: 21 / 9; border-radius: var(--radius); }
.about-wide .about-hero__image { margin: 0; }
.about-images { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.about-images li { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.about-quote blockquote { margin: 0 auto; font: 500 clamp(30px, 4vw, 64px)/1.12 var(--font-head); letter-spacing: -0.02em; max-width: 24ch; text-align: center; }
.about-quote blockquote::before { content: ""; display: block; width: 56px; height: 2px; margin: 0 auto 34px; background: var(--accent-2); }

/* ---------- landing ---------- */
.lp-services__list { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.lp-services__list li { padding-top: 22px; border-top: 1px solid var(--line); }
.lp-services__list h3 { font-size: 24px; margin-top: 10px; }
.lp-services__list p { margin-top: 10px; color: rgb(237 241 242 / .7); font-size: 15px; }
.lp-services__img { aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: 12px; }
@media (max-width: 900px) { .lp-services__list { grid-template-columns: 1fr; } }

/* ---------- plain pages, 404 ---------- */
.page-plain { padding: clamp(150px, 20vh, 220px) var(--gutter) clamp(80px, 12vh, 140px); }
.legal__body { max-width: 46rem; }
.legal__body h1 { margin-bottom: 26px; }
.legal__body h2 { font-size: 22px; margin: 38px 0 12px; }
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter); background: linear-gradient(0deg, rgb(var(--shade) / .94), rgb(var(--shade) / .74)), url("../hero/film-floors.jpg") center / cover; }
.notfound__inner { max-width: 48rem; }
.notfound .lede { margin-top: 22px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; margin-top: 36px; }

/* ---------- footer ---------- */
.footer { background: #030506; padding: clamp(64px, 8vw, 100px) var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 24rem; color: var(--muted); font-size: 15px; }
.footer__col { display: grid; align-content: start; gap: 10px; font-size: 15px; }
.footer__col h2 { font: 500 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.footer__col a { text-decoration: none; color: rgb(237 241 242 / .86); }
.footer__col a:hover { color: var(--accent-2); }
.footer__col span { color: rgb(237 241 242 / .6); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; gap: 18px; }
.footer__base a, .footer__cookie { color: inherit; background: none; border: 0; padding: 0; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- cookie consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-left: auto; padding: 20px; display: grid; gap: 16px;
  background: rgb(14 20 22 / .96); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.consent[hidden] { display: none; }
.consent__title { font: 600 17px/1.2 var(--font-head); }
.consent__text { margin-top: 6px; font-size: 14px; color: rgb(237 241 242 / .78); }
.consent__text a { color: var(--accent-2); }
.consent__choices { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.consent__choices[hidden] { display: none; }
.consent__choices label { display: flex; align-items: center; gap: 10px; }
.consent__choices input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (max-width: 520px) { .consent__actions .btn { flex: 1; } }
