/* GROOVE — implemented from the Figma design (Desktop 1200 / Tablet 810 / Phone 390).
   Every section is self-contained (own padding), so any section can be hidden in the CMS
   without breaking the layout. */
:root {
  --black: #16181a; --ink-2: #17171a; --white: #fff;
  --w5: rgba(255,255,255,.05); --w10: rgba(255,255,255,.1); --w25: rgba(255,255,255,.25); --w50: rgba(255,255,255,.5);
  --gold: #c9a96a;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1840px; --pad-x: 48px; --sec-y: 120px; --nav-h: 84px; --head-gap: 64px; --g-gap: 24px;
  --fs-display: 72px; --fs-title: 48px; --fs-statement: 48px; --fs-num: 72px; --fs-36: 36px; --fs-32: 36px; --fs-30: 36px; --fs-28: 36px; --fs-card: 36px; --fs-24: 36px; --fs-22: 22px; --fs-label: 18px; --fs-body: 16px; --fs-prose: 18px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --spring: linear(0 0%, .1075 5%, .305 10%, .4963 15%, .6508 20%, .7651 25%, .8454 30%, .8999 35%, .9361 40%, .9596 45%, .9747 50%, .9842 55%, .9902 60%, .994 65%, .9963 70%, .9978 75%, .9986 80%, .9992 85%, .9995 90%, .9997 95%, 1 100%);
  --g-photo: linear-gradient(143deg, #5c5245 0%, #212124 71%);
}
@media (max-width: 1199px) { :root { --pad-x: 24px; --sec-y: 100px; --head-gap: 48px; --g-gap: 16px; --fs-display: 64px; --fs-title: 38px; --fs-statement: 38px; --fs-num: 56px; --fs-36: 28px; --fs-32: 28px; --fs-30: 28px; --fs-28: 28px; --fs-card: 28px; --fs-24: 28px; --fs-label: 16px; } }
@media (max-width: 809px) { :root { --pad-x: 16px; --sec-y: 80px; --head-gap: 40px; --g-gap: 12px; --fs-display: 56px; --fs-title: 28px; --fs-statement: 30px; --fs-num: 48px; --fs-36: 20px; --fs-32: 20px; --fs-30: 20px; --fs-28: 20px; --fs-card: 20px; --fs-24: 20px; --fs-label: 14px; --fs-body: 14px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: var(--fs-body)/1.4 var(--sans); letter-spacing: .2px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-size: var(--fs-display); line-height: 1.1; letter-spacing: -2px; text-transform: uppercase; }
.section-title { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; letter-spacing: -.2px; }
.h36 { font-family: var(--serif); font-size: var(--fs-36); line-height: 1.1; letter-spacing: -.2px; }
.h32 { font-family: var(--serif); font-size: var(--fs-32); line-height: 1.1; letter-spacing: -.2px; }
.h30 { font-family: var(--serif); font-size: var(--fs-30); line-height: 1.1; letter-spacing: -.2px; }
.h28 { font-family: var(--serif); font-size: var(--fs-28); line-height: 1.1; letter-spacing: -.2px; }
.card-title { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; }
.h24 { font-family: var(--serif); font-size: var(--fs-24); line-height: 1.1; letter-spacing: -.2px; }
.h22 { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; }
.body { font-size: var(--fs-body); line-height: 1.4; letter-spacing: .2px; }
.small { font-size: var(--fs-body); line-height: 1.4; letter-spacing: .2px; }
.muted { color: var(--w50); }
.center { text-align: center; }
.tagline { display: inline-flex; align-items: center; gap: 10px; font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: var(--w50); }
.tagline::before { content: ""; width: 6px; height: 6px; background: var(--w50); flex: none; }
.label { font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: var(--w50); }
.label.bright { color: #fff; }

/* ---------- buttons ---------- */
.btn, .btn-link { display: inline-flex; align-items: center; gap: 14px; font: 500 16px/1 var(--mono); letter-spacing: 0; color: #fff; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.btn img, .btn-link img { width: 12px; height: 12px; transition: transform .3s var(--ease-out); }
.btn:hover img, .btn-link:hover img { transform: translateX(3px); }
.btn { padding: 14px 20px; background: var(--w10); border: 1px solid var(--w10); border-radius: 2px; backdrop-filter: blur(6px); }
.btn:hover { background: rgba(255,255,255,.18); }
.btn-link { padding: 12px 20px; border: 1px solid var(--w25); }
.btn-link:hover { border-color: rgba(255,255,255,.6); }
.roll { position: relative; display: inline-block; overflow: hidden; height: 1em; line-height: 1; }
.roll > span { display: block; transition: transform .5s var(--ease-out); }
.roll > span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .roll > span, .btn-link:hover .roll > span { transform: translateY(-100%); }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }
/* sections designed to sit right under a page hero lose their top padding only when that hero is shown */
.page-hero + .flush-top, .section.flush-top + .flush-top { padding-top: 0; }
.sec-methods.tight-bottom { padding-bottom: 16px; }
.stack-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head { gap: 24px; margin-bottom: var(--head-gap); max-width: 800px; margin-inline: auto; }
.sec-head .body { max-width: 440px; }
.media { position: relative; overflow: hidden; background: var(--g-photo); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.full { width: 100%; }

/* ---------- navbar (fixed, blurred like the live site) ---------- */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 20px 0 19px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(22,24,26,.35); transition: background-color .3s; }
.overlay-hero .navbar { background: transparent; }
.overlay-hero.scrolled .navbar { background: rgba(22,24,26,.35); }
.navbar img { width: 215px; height: 45px; object-fit: contain; }
@media (max-width: 1199px) { .navbar img { width: 180px; } }
main { padding-top: var(--nav-h); }
.overlay-hero main { padding-top: 0; }

/* ---------- home hero (full viewport) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: linear-gradient(90deg, rgba(20,20,23,.55), rgba(20,20,23,.55)), linear-gradient(146deg, #54473b 0%, #1a1a1c 71%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-video::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,23,.55); }
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.hero-spacer { height: var(--nav-h); }
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 800px; }
.hero-wordmark { width: 900px; max-width: 100%; height: auto; aspect-ratio: 900/155.3; }

/* ---------- page heroes ---------- */
.page-hero { padding-block: 80px; }
.page-hero .stack-center { gap: 24px; }
.hero-desc { max-width: 520px; }
.page-hero h1.display { max-width: 900px; }
.page-hero.with-image { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; padding-bottom: 48px; }
.hero-stack { display: flex; flex-direction: column; gap: 64px; flex: 1; }
.hero-image { flex: 1 1 auto; min-height: 320px; width: 100%; }
.proj-hero { padding-top: 48px; }
.proj-hero .hero-stack { gap: 40px; }
.proj-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.proj-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.proj-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.art-meta { display: flex; gap: 12px; }
.art-title { max-width: 900px; }

/* ---------- about (home) + stats ---------- */
.sec-about .stack-center { gap: 48px; }
.about-statement { font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.1; letter-spacing: -.2px; color: var(--w25); max-width: 820px; }
.js .about-statement[data-fill] { color: #fff; }
.stats { display: flex; justify-content: center; width: 100%; }
.stat { flex: 1 1 0; max-width: 276px; padding: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; border-right: 1px solid var(--w10); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--serif); font-size: var(--fs-num); line-height: 1.15; letter-spacing: -1px; }
.stat-label { font-size: var(--fs-body); line-height: 1.4; letter-spacing: .2px; color: var(--w50); }
.sec-mission .stats { margin-top: 64px; }
.sec-about .stats { max-width: 960px; }

/* ---------- services ---------- */
.split-row { display: flex; gap: 40px; align-items: flex-start; }
.service-list { flex: 1 1 0; min-width: 0; }
.service-item { display: flex; gap: 40px; padding: 24px; border-bottom: 1px solid var(--w10); }
.service-num { font: 22px/1.2 var(--serif); letter-spacing: -.2px; color: var(--w50); flex: none; }
.service-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.service-image { flex: none; width: 540px; aspect-ratio: 540/560; }
.sec-services .split-row { max-width: 1100px; margin-inline: auto; gap: 24px; align-items: stretch; }
/* like the reference: the photo runs exactly from the top of the first service to the bottom of the last */
.sec-services .service-image { flex: 1 1 0; width: auto; aspect-ratio: auto; height: auto; min-height: 320px; }
.sec-services .service-image img { position: absolute; inset: 0; }
@media (max-width: 809px) { .sec-services .service-image { flex: none; width: 100%; aspect-ratio: 350/347; min-height: 0; } }

/* ---------- projects ---------- */
.projects-body { display: flex; gap: 64px; align-items: flex-start; }
.projects-intro { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.projects-intro .body { max-width: 340px; }
.tiles { flex: none; width: 560px; display: flex; flex-direction: column; gap: 64px; align-items: flex-start; }
.tile { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.tile .media { height: 420px; }
.tile:hover .media img, .studio:hover .media img, .article-card:hover .media img { transform: scale(1.04); }
.tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; line-height: 1.2; }
.tile-title { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; }
.tile-cat { font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: var(--w50); white-space: nowrap; }
@media (min-width: 810px) { .projects-intro.pinned { position: sticky; top: 120px; } }
.sec-list .grid-2, .sec-related .grid-2 { row-gap: 48px; }
.sec-related .stack-center { gap: 0; }
.sec-related .grid-2, .sec-related .grid-3 { margin-bottom: 48px; text-align: left; }

/* ---------- process (home) — cards stack while scrolling ---------- */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { position: sticky; top: calc(var(--nav-h) + 16px + var(--n, 0) * 20px); height: 600px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, #5c4d3d 0%, #17171a 100%); background-size: cover; background-position: center; }
.steps li:nth-child(2) { --n: 1; } .steps li:nth-child(3) { --n: 2; } .steps li:nth-child(4) { --n: 3; } .steps li:nth-child(5) { --n: 4; }
.step.has-image { background-color: #17171a; background-image: linear-gradient(180deg, rgba(23,23,26,.25), rgba(23,23,26,.85)), var(--bg, none); }
.step-num, .step-title { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; letter-spacing: -.2px; }
.step-num { font-size: 22px; line-height: 1.2; }
.step-content { width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }

/* ---------- about page ---------- */
.mission-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission-img { min-height: 440px; }
.mv { display: flex; flex-direction: column; gap: 24px; }
.mv-box { flex: 1; background: var(--w5); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mv-box .body { max-width: 320px; }
.feature { border: 1px solid var(--w10); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.awards { border-top: 1px solid var(--w10); }
.award { display: grid; grid-template-columns: 56px 420px 1fr; align-items: center; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--w10); }
.badge { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--w25); display: grid; place-items: center; font: 11px var(--mono); letter-spacing: 1px; }
.award-name { display: flex; flex-direction: column; gap: 6px; }
.history-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story { display: flex; flex-direction: column; gap: 20px; }
.big-year { font-family: var(--serif); font-size: var(--fs-display); line-height: 1.1; letter-spacing: -2px; }
.story-spacer { height: 120px; }
.history-fig { display: flex; flex-direction: column; gap: 12px; }
.history-img { aspect-ratio: 1/1; }

.timeline-wrap { padding: 56px 24px; display: flex; justify-content: center; background: var(--g-photo); background-size: cover; background-position: center; }
.timeline-wrap.has-image { background-image: var(--bg, none), var(--g-photo); }
.timeline-panel { width: 440px; max-width: 100%; background: rgba(19,19,19,.9); padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.tl-item { display: flex; gap: 32px; }
.tl-year { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; letter-spacing: -.2px; flex: none; }
.tl-item > div { display: flex; flex-direction: column; gap: 6px; }
.approach-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.approach-card { min-height: 420px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--g-photo); background-size: cover; background-position: center; }
.approach-card.has-image { background-image: linear-gradient(180deg, rgba(23,23,26,0) 30%, rgba(23,23,26,.9) 100%), var(--bg, none); }
.team-card { display: flex; flex-direction: column; gap: 12px; }
.team-img { height: 420px; }

/* ---------- service page ---------- */
.stages { border-top: 1px solid var(--w10); }
.stage { display: grid; grid-template-columns: 40px 280px 1fr 120px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--w10); }

.stage-dur { text-align: right; }
.included-row { display: flex; gap: 48px; align-items: flex-start; }
.included-img { flex: none; width: 520px; aspect-ratio: 1/1; }
.included-items { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.inc-item { display: flex; flex-direction: column; gap: 10px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.plan { background: var(--w5); border: 1px solid var(--w10); padding: 24px; display: flex; flex-direction: column; gap: 20px; }

.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; letter-spacing: -.2px; }
.plan-features li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--w10); font-size: var(--fs-body); letter-spacing: .2px; }
.plan-features li::before { content: ""; width: 4px; height: 4px; background: #fff; flex: none; }
.plan-btn { justify-content: center; margin-top: auto; }
.plans-note { margin-top: 40px; }
/* home gallery preview: rows of 3 columns, wide tiles take 2 */
.hg { display: flex; flex-direction: column; gap: var(--g-gap); }
.hg-row { display: flex; gap: var(--g-gap); height: 440px; }
.hg-row.short { height: 400px; }
.hg-tile { position: relative; height: 100%; min-width: 0; flex: 1 1 0; margin: 0; overflow: hidden; cursor: pointer; outline: none; }
.hg-tile.wide { flex-grow: 2; }
.hg-tile .media { height: 100%; }
.hg-tile .media img, .hg-tile .media video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 2.4s cubic-bezier(.4,0,.2,1); }
.hg-tile:hover .media img, .hg-tile:hover .media video { transform: scale(1.45); transition: transform 28s cubic-bezier(.25,.6,.3,1); }
.hg-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0) 45%, rgba(19,19,19,.7) 100%); opacity: 0; transition: opacity .4s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.hg-tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; opacity: 0; transition: opacity .4s cubic-bezier(.4,0,.2,1); }
.hg-tile figcaption .label { color: #fff; }
.hg-tile:hover::after, .hg-tile:hover figcaption, .hg-tile:focus-visible::after, .hg-tile:focus-visible figcaption { opacity: 1; }
.hg-more { margin-top: 80px; }
.sec-home-gallery .sec-head, .sec-home-articles .sec-head { margin-bottom: 80px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: #fff; padding-bottom: 1px; border-bottom: 1px solid var(--w25); transition: border-color .2s; }
.text-link:hover { border-color: #fff; }
.text-link img { width: 12px; height: 12px; transition: transform .3s var(--ease-out); }
.text-link:hover img { transform: translate(2px,-2px); }
.text-link:hover .roll > span { transform: translateY(-100%); }
.text-link .roll { height: 1.2em; line-height: 1.2; }
.sec-faq .sec-head .btn-link { margin-top: 0; }
.faq-list { max-width: 1000px; margin: 0 auto; border-bottom: 1px solid var(--w10); }
.faq-item { border-top: 1px solid var(--w10); padding: 24px 0; }
.faq-item summary { display: flex; align-items: center; gap: 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; }
.faq-item summary img { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.faq-item[open] summary img { transform: rotate(45deg); }
.faq-a { margin-top: 12px; max-width: 560px; color: var(--w50); }

/* ---------- pricing page ---------- */
.info-grid { gap: 16px; }
.info-card { background: var(--w5); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.info-card .label { margin-bottom: 24px; }
.payment-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; text-align: center; }
.pay { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pay .body { max-width: 240px; }
.pay-value { font-family: var(--serif); font-size: var(--fs-display); line-height: 1.1; letter-spacing: -2px; }

/* ---------- gallery ---------- */
.masonry { display: flex; align-items: flex-start; gap: var(--g-gap); }
.m-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--g-gap); }
.masonry:not(.is-laid) { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g-gap); }
.g-tile { position: relative; overflow: hidden; cursor: pointer; margin: 0; outline: none; }
.g-tile .media { height: auto; aspect-ratio: 4 / 3; }
.g-tile .media.is-video { aspect-ratio: 4 / 5; }
.g-tile .media img, .g-tile .media video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 2.4s cubic-bezier(.4,0,.2,1); }
.g-tile:hover .media img, .g-tile:hover .media video { transform: scale(1.45); transition: transform 28s cubic-bezier(.25,.6,.3,1); }
.g-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0) 45%, rgba(19,19,19,.7) 100%); opacity: 0; transition: opacity .4s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.g-tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; opacity: 0; transition: opacity .4s cubic-bezier(.4,0,.2,1); }
.g-tile figcaption .label { color: #fff; }
.g-ico { flex: none; width: 18px; height: 18px; }
.g-tile:hover::after, .g-tile:hover figcaption, .g-tile:focus-visible::after, .g-tile:focus-visible figcaption { opacity: 1; }
.g-hidden { display: none !important; }

/* gallery lightbox (same as the reference: blurred page, big photo, title + description, Close pill) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(19,19,19,.25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .45s cubic-bezier(.4,0,.2,1); }
.lb-card { position: relative; z-index: 1; width: 94%; max-width: min(94vw, 1360px); display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .45s cubic-bezier(.4,0,.2,1); }
.lb-media { display: flex; justify-content: center; }
.lb-media img, .lb-media video { display: block; max-width: 100%; object-fit: contain; background: #000; }
.lb-caption { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.lb-caption:has(.lb-title:empty):has(.lb-desc:empty) { display: none; }
.lb-title { margin: 0; font: 400 var(--fs-card)/1.1 var(--serif); letter-spacing: -.2px; color: #fff; }
.lb-desc { margin: 0; font: 400 var(--fs-body)/1.4 var(--sans); letter-spacing: .2px; color: rgba(255,255,255,.5); }
.lb-desc:empty, .lb-title:empty { display: none; }
.lb-close { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; background: rgba(19,19,19,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s cubic-bezier(.4,0,.2,1); }
.lb-close .label { color: #fff; }
.lightbox.is-open .lb-backdrop { opacity: 1; transition: opacity .7s cubic-bezier(.22,1,.36,1); }
.lightbox.is-open .lb-card { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.22,1,.36,1) .05s, transform .7s cubic-bezier(.22,1,.36,1) .05s; }
.lightbox.is-open .lb-close { opacity: 1; transition: opacity .5s cubic-bezier(.22,1,.36,1) .1s; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.sec-gallery .center { margin-top: 16px; }

/* ---------- articles ---------- */
.articles-grid { row-gap: 56px; }
.article-card { display: flex; flex-direction: column; gap: 12px; }
.article-img { height: 440px; margin-bottom: 4px; }
.chip { position: absolute; left: 16px; top: 16px; background: var(--w25); backdrop-filter: blur(6px); padding: 5px 8px; font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; }
.article-title { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; }
.read-link { font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: var(--w50); transition: color .2s; }
.article-card:hover .read-link { color: #fff; }
.prose { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding-top: 40px; }
.prose p, .prose li { font-size: var(--fs-prose); line-height: 1.6; letter-spacing: normal; }
.prose h2 { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; margin-top: 28px; }
.prose h3 { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; margin-top: 8px; }
.prose h4, .prose blockquote { font-family: var(--serif); font-size: 32px; line-height: 1.25; letter-spacing: -.5px; color: var(--gold); padding-left: 20px; border-left: 1px solid var(--gold); margin-block: 8px; }
.prose ul { display: flex; flex-direction: column; gap: 6px; }
.prose ul li { position: relative; padding-left: 18px; line-height: 1.7; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; background: #fff; }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .md-img, .prose img { width: 100%; height: auto; aspect-ratio: 720/400; margin-block: 8px; }

/* ---------- project page ---------- */
.intro-row { display: flex; gap: 80px; align-items: flex-start; padding-top: 40px; }
.details { flex: none; width: 340px; }
.details > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--w10); }
.overview { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.case { display: flex; flex-direction: column; gap: 120px; }
.cs { display: flex; gap: 24px; align-items: center; }
.cs-build { gap: 48px; align-items: flex-start; }
.cs-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cs-tall { flex: 1 1 0; min-height: 620px; align-self: stretch; }
.cs-tall2 { flex: 1 1 0; min-height: 640px; align-self: stretch; }
.cs-wide { height: 320px; } .cs-wide2 { height: 300px; }
.cs-spacer { height: 80px; }
.cs-label { display: flex; gap: 10px; }
.cs-result { flex-direction: column; align-items: stretch; gap: 40px; }
.cs-full { height: 560px; }
.cs-result-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cs-result-text > div { display: flex; flex-direction: column; gap: 16px; }
.cs-impact { background: var(--w5); padding: 64px 120px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

/* ---------- contact ---------- */
.methods { display: flex; gap: 16px; }
.method { flex: 1 1 0; min-width: 0; background: var(--w5); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: background-color .2s; }
a.method:hover { background: rgba(255,255,255,.08); }
.method-icons { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; }
.method-phones { display: flex; flex-direction: column; gap: 6px; }
.method-phones a { color: inherit; text-decoration: none; width: fit-content; transition: opacity .2s; }
.method-phones a:hover { opacity: .7; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.method-value { font-family: var(--serif); font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.2px; overflow-wrap: anywhere; }
.form-row { display: flex; gap: 16px; align-items: stretch; }
.form-image { flex: 1 1 0; min-width: 0; min-height: 760px; }
.form-card { flex: 1 1 0; min-width: 0; background: var(--w5); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field input, .field textarea { width: 100%; padding: 14px 12px; background: var(--w5); border: 1px solid var(--w10); border-radius: 0; color: #fff; font: var(--fs-body)/1.4 var(--sans); transition: border-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--w50); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--w50); }
.hidden { position: absolute !important; left: -9999px !important; }
.form-card .btn-link { align-self: flex-start; }
.form-card button[disabled] { opacity: .6; cursor: wait; }
.form-status.error { color: #f0a58f; }
.sec-studios .grid-2 { gap: 24px; }
.studio { display: flex; flex-direction: column; gap: 10px; }
.studio-img { height: 360px; }
.studio-title { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; }
.studio-title img { transition: transform .3s var(--ease-out); }
a.studio-title:hover img { transform: translate(2px,-2px); }

/* ---------- 404 ---------- */
.sec-error { position: relative; overflow: hidden; padding-block: 100px 140px; }
.sec-error .stack-center { position: relative; gap: 24px; }
.err-backdrop { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); font-family: var(--serif); font-size: 520px; line-height: 1; letter-spacing: -16px; color: var(--w5); pointer-events: none; user-select: none; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 700px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; padding: 96px var(--pad-x); background: linear-gradient(180deg, #17171a 0%, #6b665c 35%, #403b33 70%, #17171a 100%); background-size: cover; background-position: center; }
.cta.has-image { background-color: #17171a; background-image: linear-gradient(180deg, #17171a 0%, rgba(23,23,26,.55) 35%, rgba(23,23,26,.6) 70%, #17171a 100%), var(--bg, none); }

/* ---------- footer ---------- */
.footer { padding: 80px 0 32px; }
.footer .container { display: flex; flex-direction: column; gap: 64px; }
.footer-top { display: flex; gap: 40px; align-items: flex-start; }
.footer-about { width: 240px; color: var(--w50); }
.footer-spacer { flex: 1; }
.footer-cols { display: flex; gap: 40px; }
.footer-links { width: 220px; display: flex; flex-direction: column; gap: 14px; font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; color: var(--w50); }
.footer-links a { transition: color .2s; white-space: nowrap; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; }
.footer-mark { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.footer-mark .wm { width: 100%; height: auto; aspect-ratio: 1104/190.5; }
.footer-mark .ff { width: 68.84%; height: auto; aspect-ratio: 760/39.5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--w10); color: var(--w50); }
.footer-bottom .mono { font: var(--fs-label)/1.2 var(--mono); letter-spacing: -.2px; text-transform: uppercase; }
.footer-bottom a:hover { color: #fff; }

/* =================== TABLET ≤1023 =================== */
@media (max-width: 1199px) {
  .page-hero { padding-block: 64px; }
  .stats { flex-wrap: wrap; row-gap: 32px; }
  .stat { flex: 0 0 50%; max-width: none; }
  .stat:nth-child(2n) { border-right: 0; }
  .split-row { gap: 40px; } .service-image { width: calc(50% - 20px); aspect-ratio: 353/459; }
  .projects-body { gap: 48px; } .tiles { width: calc(50% - 24px); gap: 48px; }
  .step { height: 520px; padding: 48px 32px; }
  .award { grid-template-columns: 56px 1fr; } .award > .body { grid-column: 2; }
  .history-row { gap: 48px; } .story-spacer { height: 80px; }
  .approach-row { grid-template-columns: repeat(4, minmax(0,1fr)); } .approach-card { min-height: 344px; }
  .stage { grid-template-columns: 32px 1fr; row-gap: 8px; } .stage .body, .stage-dur { grid-column: 2; text-align: left; }
  .included-row { gap: 48px; } .included-img { width: calc(50% - 24px); aspect-ratio: 349/426; } .included-items { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .plans { gap: 24px; } .plan { padding: 20px; }
  .hg-row { height: 320px; } .hg-row.short { height: 280px; }
  .articles-grid { gap: 48px 24px; } .article-img { height: 300px; }
  .intro-row { gap: 48px; } .details { width: 45%; }
  .cs-tall, .cs-tall2 { min-height: 508px; } .cs-full { height: 426px; }
  .cs-impact { padding: 48px 40px; }
  .form-image { flex: 333 1 0; min-height: 623px; } .form-card { flex: 397 1 0; padding: 40px 32px; }
  .err-backdrop { font-size: 360px; letter-spacing: -10px; top: -40px; }
  .prose h4, .prose blockquote { font-size: 28px; }
  .cta { min-height: 580px; }
  .footer { padding-top: 64px; } .footer-top { gap: 24px; } .footer-about { width: 200px; flex: none; } .footer-spacer { display: none; }
  .footer-cols { flex: 1; gap: 24px; justify-content: flex-end; } .footer-links { width: 158px; } .footer-mark { gap: 38px; }
}

/* =================== PHONE ≤639 =================== */
@media (max-width: 809px) {
  .about-statement { line-height: 1.2; }
  .page-hero { padding-block: 56px; }
  .hero-stack { gap: 40px; }
  .grid-2, .grid-3, .plans, .payment-row, .mission-row, .history-row, .approach-row { grid-template-columns: minmax(0,1fr); }
  .split-row, .projects-body, .included-row, .intro-row, .cs, .methods, .form-row, .proj-head { flex-direction: column; align-items: stretch; }
  .service-image, .included-img { width: 100%; aspect-ratio: 350/347; }
  .tiles { width: 100%; gap: 40px; }
  .step { height: 440px; padding: 48px 20px; }
  .mission-img { min-height: 208px; } .mv-box { padding: 32px; }
  .award { grid-template-columns: 1fr; gap: 16px; } .award > .body { grid-column: 1; }
  .story-spacer { height: 60px; }
  .timeline-wrap { padding: 56px 0; background: none; } .timeline-panel { width: 100%; padding: 40px 24px; }
  .tl-item { flex-direction: column; gap: 24px; }
  .approach-card { min-height: 0; padding: 20px; }
  .team-img { height: 420px; }
  .stage { grid-template-columns: 1fr; } .stage .body, .stage-dur, .stage .card-title { grid-column: 1; }
  .included-items { grid-template-columns: 1fr; gap: 32px; }
  .hg-row { height: 200px; } .hg-row.short { height: 150px; }
  .hg-more { margin-top: 48px; }
  .sec-home-gallery .sec-head, .sec-home-articles .sec-head { margin-bottom: 48px; }
  .masonry:not(.is-laid) { grid-template-columns: repeat(2, 1fr); }
  .article-img { height: 440px; }
  .details { width: 100%; }
  .cs-tall, .cs-tall2 { min-height: 420px; } .cs-full { height: 320px; } .cs-wide, .cs-wide2 { height: 240px; }
  .cs-result-text { grid-template-columns: 1fr; gap: 24px; }
  .cs-impact { padding: 40px 24px; }
  .proj-meta { align-items: flex-start; text-align: left; }
  .form-image { flex: none; min-height: 206px; } .form-card { flex: none; padding: 40px 24px; }
  .studio-img { height: 360px; }
  .err-backdrop { font-size: 270px; letter-spacing: -8px; top: -16px; }
  .prose h4, .prose blockquote { font-size: 24px; letter-spacing: -.3px; }
  .cta { min-height: 540px; } .cta br { display: none; }
  .footer .container { gap: 48px; } .footer-top { flex-direction: column; gap: 40px; }
  .footer-about { width: 100%; max-width: 350px; } .footer-cols { width: 100%; justify-content: space-between; gap: 16px; }
  .footer-links { width: auto; flex: 1; } .footer-mark { gap: 18px; } .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =================== MOTION (recreated from the live Framer site) =================== */
.js [data-reveal] { opacity: 0; transform: translateY(var(--ry, 32px)); }
.js [data-reveal][data-scale] { transform: translateY(var(--ry, 80px)) scale(.96); }
.js [data-reveal][data-scale-in] { transform: translateY(24px) scale(.98); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-blur] { opacity: 0; filter: blur(12px); }
.js [data-blur].in { opacity: 1; filter: none; transition: opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; }
.js [data-split] .split-char { opacity: 0; transform: translateY(28px); }
.js [data-split].in .split-char { opacity: 1; transform: none; transition: opacity 1s var(--spring), transform 1s var(--spring); transition-delay: calc(var(--d, 0s) + var(--line, 0) * .07s); }
.fill-char { transition: opacity .15s linear; }
.odo { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.15em; line-height: 1.15; vertical-align: top; }
.odo-col { display: inline-flex; flex-direction: column; transition: transform 1.8s var(--ease-out); transition-delay: calc(.15s + var(--i) * .1s); }
.odo-col > span { display: block; height: 1.15em; }
.in .odo-col, .in.odo-host .odo-col { transform: translateY(var(--to)); }

/* intro loader — rings spin into place, wordmark rises, gold line fills */
.preloader { display: none; }
.preload .preloader { display: flex; position: fixed; inset: 0; z-index: 100; background: #131313; align-items: center; justify-content: center; transition: opacity .7s ease, visibility .7s; }
.preload body { overflow: hidden; }
.preloader.done { opacity: 0; visibility: hidden; }
.preload .preloader { animation: plOut .6s 6s forwards; }
@keyframes plOut { to { opacity: 0; visibility: hidden; } }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-mark { position: relative; width: 120px; height: 120px; animation: plMark 1.6s .45s var(--ease-out) both; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gold); stroke-width: .7; stroke-miterlimit: 2; transform-origin: 49.8% 49.8%; }
.r-outer { animation: ringIn 1.5s .55s var(--ease-out) both; --from: -140deg; }
.r-middle { animation: ringIn 1.5s .75s var(--ease-out) both; --from: 110deg; }
.r-inner { animation: ringIn 1.5s .95s var(--ease-out) both; --from: -220deg; }
.pl-type { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: plUp 1s 1.7s var(--ease-out) both; }
.pl-wm { width: 220px; height: auto; }
.pl-ff { font: 10px var(--sans); letter-spacing: .55em; color: var(--gold); padding-left: .55em; }
.pl-bar { width: 160px; height: 1px; background: rgba(201,169,106,.18); overflow: hidden; margin-top: 4px; }
.pl-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: plBar 2.2s .3s cubic-bezier(.65,0,.35,1) both; }
@keyframes ringIn { from { opacity: 0; transform: rotate(var(--from)); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes plMark { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes plUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes plBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js [data-blur], .js [data-split] .split-char { opacity: 1 !important; transform: none !important; filter: none !important; }
}
@media (max-width: 809px) { .sec-home-gallery .section-title br { display: none; } }

/* ---------- testimonials slideshow (same as the reference) ---------- */
.ts { position: relative; max-width: 1104px; margin-inline: auto; }
.ts-viewport { overflow: hidden; }
.ts-track { display: flex; gap: 10px; will-change: transform; }
.ts-track.is-moving { transition: transform .75s cubic-bezier(.22,1,.36,1); }
.ts-slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; gap: 48px; margin: 0; padding: 23px 0; }
.ts-photo { flex: 1 1 0; min-width: 0; height: auto; aspect-ratio: 4 / 5; position: relative; }
.ts-photo img { object-position: 50% 25%; }
.ts-count { position: absolute; right: 24px; bottom: 24px; z-index: 1; font: 400 var(--fs-card)/1.1 var(--serif); letter-spacing: -.2px; color: #fff; }
.ts-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.ts-quote { margin: 0; font: 400 var(--fs-body)/1.4 var(--sans); letter-spacing: .2px; color: #fff; }
.ts-author { display: flex; flex-direction: column; gap: 10px; }
.ts-role { font: 400 var(--fs-body)/1.4 var(--sans); letter-spacing: .2px; color: rgba(255,255,255,.5); }
.ts-name { font: 400 var(--fs-card)/1.1 var(--serif); letter-spacing: -.2px; color: #fff; }
.ts-nav { position: absolute; right: 0; bottom: 80px; z-index: 2; display: flex; gap: 16px; }
.ts-nav button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 40px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-appearance: none; appearance: none; line-height: 0; overflow: hidden; transition: background-color .2s; }
.ts-nav button:hover { background: rgba(255,255,255,.2); }
.ts-nav svg { width: 40px; height: 40px; display: block; flex: none; pointer-events: none; }
@media (max-width: 1199px) { .ts { max-width: none; } .ts-slide { padding: 0; } }
@media (max-width: 809px) {
  .ts-track { gap: 24px; }
  .ts-slide { flex-direction: column; align-items: stretch; gap: 48px; }
  .ts-photo { flex: none; width: 100%; }
  /* arrows sit on the photo's left and right edges, centred on it */
  .ts-nav { top: 0; left: 0; right: 0; bottom: auto; aspect-ratio: 4 / 5; align-items: center; justify-content: space-between; padding: 0 12px; pointer-events: none; }
  .ts-nav button { pointer-events: auto; }
}
