/* Elite Motion Studios — dark, gold, cinematic. Instrument Serif headlines over Instrument Sans text.
   Motion follows Emil Kowalski's values: strong ease-out for UI, transform and opacity only, reduced-motion respected. */
:root {
	--bg: #0B0B0D; --bg2: #0F0F12; --surface: #131317; --surface2: #121215;
	--line: #25262C; --line2: #34353C; --ink: #F4F1EA; --soft: #C9C6BE; --muted: #A8A59D; --muted2: #8C8A84;
	--gold: #C99A45; --gold-hi: #D6B162; --gold-text: #E2C477; --gold-deep: #17150F; --gold-line: #3A3220;
	--blue: #2D5BFF; --blue-text: #9DB2FF; --green: #10B981; --green-text: #4ED1A1;
	--ivory: #EEEAE2; --ivory-tile: #F6F3ED; --ivory-line: #DDD7CC; --ivory-ink: #1A1917; --ivory-muted: #5E5A53;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
	--pop: cubic-bezier(0.34, 1.32, 0.64, 1);
	--serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--header: 72px;
	color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.625; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* Layout */
.wrap { width: min(100% - 160px, 1280px); margin-inline: auto; }
.screen { padding-block: 120px 96px; position: relative; }
.band-2 { background: var(--bg2); }
.stack-14, .stack-16, .stack-24, .stack-36, .stack-40, .stack-48, .stack-56, .stack-64 { display: flex; flex-direction: column; }
.stack-14 { gap: 14px; } .stack-16 { gap: 16px; } .stack-24 { gap: 24px; } .stack-36 { gap: 36px; } .stack-40 { gap: 40px; } .stack-48 { gap: 48px; } .stack-56 { gap: 56px; } .stack-64 { gap: 64px; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; }
.align-end { align-items: flex-end; } .wrap-gap { gap: 24px 48px; }
.narrow { max-width: 760px; } .narrow-wrap { max-width: 880px; }

/* Type */
.serif { font-family: var(--serif); font-weight: 400; }
em { font-style: italic; }
.gold { color: var(--gold-text); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 80px); line-height: 1; letter-spacing: -0.02em; }
.display-md { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; max-width: 16em; }
.h1-sm { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.015em; font-weight: 400; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; max-width: 18em; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 400; }
.lead-muted { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 36em; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.muted { color: var(--muted); } .muted-sm { color: var(--muted2); font-size: 13px; }
.eyebrow { font-size: 14px; color: var(--muted); }
.eyebrow-chip { align-self: flex-start; font-size: 14px; color: var(--gold-text); border: 1px solid var(--gold-line); background: #15130D; padding: 6px 14px; border-radius: 999px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; margin-right: 8px; vertical-align: middle; }

/* Buttons, links, cards: the press and hover layer */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 150ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn:active { transform: scale(.98); transition-duration: 90ms; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-secondary { background: transparent; border-color: #3A3B42; color: var(--ink); }
.btn-wa { color: var(--green-text); border-color: #1C3A2F; }
.icon-only { width: 44px; height: 44px; padding: 0; }
.wa { color: var(--green-text); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line2); background: transparent; cursor: pointer; }
.arr { display: inline-block; transition: transform 150ms var(--ease-out); }
.tlink, .navlink { position: relative; }
.tlink::after, .navlink::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 150ms var(--ease-out); }
.tlink::after { bottom: -3px; } .navlink::after { bottom: -6px; }
.tlink.gold { font-weight: 500; }
.card { transition: transform 180ms var(--ease-out), border-color 180ms ease, background-color 180ms ease; }
.card:active { transform: scale(.99); }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: #D6D3CB; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms var(--ease-out); }
.pill:active { transform: scale(.97); transition-duration: 90ms; }
.pill.is-on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
	.btn:hover { transform: translateY(-1px); }
	.btn:hover:active { transform: translateY(1px) scale(.98); }
	.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
	.btn-secondary:hover { border-color: #6A6B72; background: #16171B; }
	.btn:hover .arr, .card:hover .arr { transform: translateX(3px); }
	.tlink:hover::after, .navlink:hover::after { transform: scaleX(1); }
	.navlink:hover { color: #fff; }
	.card:hover { transform: translateY(-2px); border-color: #3F4047; }
	.pill:not(.is-on):hover { border-color: #6A6B72; color: var(--ink); }
	.mitem:hover { background: #1A1B20; }
	.icon-btn:hover { border-color: #6A6B72; }
}
.tlink:focus-visible::after, .navlink:focus-visible::after { transform: scaleX(1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid #1F2026; }
.nav { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 92px; height: 57px; }
.navlinks { align-self: stretch; display: flex; align-items: stretch; gap: 32px; font-size: 15px; font-weight: 500; color: #D6D3CB; }
.navlinks > a, .has-panel { display: flex; align-items: center; }
.navlinks .navlink { display: inline-flex; align-items: center; gap: 6px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }
.chev { display: inline-flex; transition: transform 200ms var(--ease-out); }
/* Drop-down: opens after 150ms of intent with a 6px drop from its trigger, closes faster */
.panel { position: absolute; left: 0; right: 0; top: 100%; background: #111114; border-top: 1px solid #1F2026; border-bottom: 1px solid #1F2026; opacity: 0; visibility: hidden; transform: translateY(-6px); transform-origin: top left; transition: opacity 120ms ease, transform 120ms var(--ease-out), visibility 0s linear 120ms; }
.has-panel:hover .panel, .has-panel:focus-within .panel { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out) 150ms, transform 200ms var(--ease-out) 150ms, visibility 0s linear 150ms; }
.has-panel:hover .chev, .has-panel:focus-within .chev { transform: rotate(180deg); }
.panel-grid { padding-block: 28px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; color: var(--ink); }
.panel-grid-work { grid-template-columns: 1fr 2fr 1fr; }
.panel-col { display: flex; flex-direction: column; gap: 2px; }
.panel-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.panel-label { font-size: 13px; padding-bottom: 8px; }
.mitem { display: flex; flex-direction: column; padding: 10px 12px; margin-left: -12px; border-radius: 10px; transition: background-color 150ms ease; }
.mitem-sm { padding: 7px 12px; font-size: 15px; }
.mi-t { font-size: 15px; font-weight: 500; } .mi-s { font-size: 14px; color: var(--muted); font-weight: 400; }
.panel-cta { background: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.panel-cta-t { font-size: 26px; line-height: 1.15; } .panel-cta-s { font-size: 14px; line-height: 1.55; color: var(--soft); font-weight: 400; }
.mobile-menu { border-top: 1px solid #1F2026; background: var(--bg); }
.mobile-menu-inner { display: flex; flex-direction: column; padding-block: 8px 24px; }
.mobile-menu-inner a { min-height: 56px; display: flex; align-items: center; font-family: var(--serif); font-size: 28px; border-bottom: 1px solid #1F2026; }

/* Hero */
.hero { padding-block: 56px 88px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rating { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: var(--soft); }
.rating strong { color: var(--ink); font-weight: 500; }
.stars { color: var(--gold-text); letter-spacing: 2px; }
.intro { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #121110; border: 1px solid var(--gold-line); }
.intro-poster, .intro iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.intro iframe { pointer-events: none; }
.intro.has-sound iframe { pointer-events: auto; }
.intro-ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(to top, rgba(11,11,13,.72), rgba(11,11,13,0)); transition: opacity 300ms ease; }
.intro.has-sound .intro-ui { opacity: 0; pointer-events: none; }
.intro-label { font-size: 13px; color: var(--soft); }
.hero-film { border-radius: 24px; }

/* Hero entrance, once on load */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; animation: emsRise 700ms var(--ease-out) both; }
.line:nth-child(2) > span { animation-delay: 80ms; } .line:nth-child(3) > span { animation-delay: 160ms; }
.fade-up { animation: emsFadeUp 520ms var(--ease-out) both; }
.settle { animation: emsSettle 1100ms var(--ease-out) both; }
@keyframes emsRise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes emsFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes emsSettle { from { transform: scale(1.05); } to { transform: scale(1); } }

/* Marquees: right to left, pause on hover, focus or the pause button */
.marquee { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.marquee-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: emsMarquee var(--dur, 60s) linear infinite; }
.marquee-list { display: flex; gap: 16px; padding-right: 16px; align-items: center; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes emsMarquee { to { transform: translateX(-50%); } }
.marquee-controls { display: flex; justify-content: flex-end; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid currentColor; background: transparent; font-size: 13px; cursor: pointer; opacity: .7; transition: opacity 150ms ease; }
.marquee-toggle:hover, .marquee-toggle:focus-visible { opacity: 1; }
.band-ivory { background: var(--ivory); color: var(--ivory-ink); padding-block: 104px 72px; }
.band-ivory .lead-muted { color: var(--ivory-muted); max-width: 420px; }
.band-ivory .marquee-toggle { color: var(--ivory-muted); }
.band-ivory :focus-visible { outline-color: var(--ivory-ink); }
.band-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.band-head .h2 { max-width: 640px; }
.logo-tile { width: 220px; height: 112px; flex: 0 0 auto; border: 1px solid var(--ivory-line); border-radius: 18px; background: var(--ivory-tile); display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: 160px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter 300ms ease, opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) { .logo-tile:hover img { filter: none; opacity: 1; } }
.industries-strip { border-top: 1px solid #1F2026; border-bottom: 1px solid #1F2026; }
.industries-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.industries-strip .marquee-toggle { color: var(--muted); }
.ind-card { display: flex; flex-direction: column; width: 300px; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color 180ms ease, transform 180ms var(--ease-out); }
.ind-card:active { transform: scale(.99); }
.ind-photo { display: block; aspect-ratio: 14 / 9; overflow: hidden; background: #1A1B20; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ind-meta { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.ind-group { display: inline-flex; align-items: center; font-size: 12px; }
.ind-title { font-size: 24px; line-height: 1.15; }
.ind-count { font-size: 13px; color: var(--muted2); }
.ind-count .arr { color: var(--gold-text); }
@media (hover: hover) and (pointer: fine) {
	.ind-card:hover { border-color: var(--gold); transform: translateY(-2px); }
	.ind-card:hover .ind-photo img { transform: scale(1.03); }
	.ind-card:hover .arr { transform: translateX(3px); }
}
.industries-strip .marquee-list { align-items: stretch; }
.industries-strip { padding-block: 112px 72px; }
.industries-head { margin-bottom: 40px; }

/* Social links */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); font-size: 14px; color: var(--soft); transition: border-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .social:hover { border-color: var(--gold); color: var(--ink); } }
.socials-sm { margin-top: 10px; }

/* Routes */
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.row-between { flex-direction: row; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.route { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; min-height: 440px; }
.route-ai { background: #11131B; border: 1px solid #232A47; }
.route-real { background: #0F1613; border: 1px solid #1C3A2F; }
.tag { display: inline-flex; align-items: center; font-size: 14px; }
.tag-blue { color: var(--blue-text); } .tag-blue .dot { background: var(--blue); }
.tag-green { color: var(--green-text); } .tag-green .dot { background: var(--green); }
.route-t { font-size: 36px; line-height: 1.12; }
.route-d { color: #B9C0D6; }
.route-real .route-d { color: #B3CFC4; }
.route-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; margin-top: auto; }
.route-more { font-weight: 500; color: var(--blue-text); }
.route-real .route-more { color: var(--green-text); }

/* Services: pinned while the eight cards pop in, one by one, reversing on the way up */
.services { padding-block: 120px 96px; position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 212px; }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid; }
.tone-blue { color: var(--blue-text); background: #141A33; border-color: #263063; }
.tone-green { color: var(--green-text); background: #0F241C; border-color: #1D4A3B; }
.tone-gold { color: var(--gold-text); background: #1C1810; border-color: var(--gold-line); }
.svc-n { position: absolute; top: 22px; right: 24px; font-size: 22px; color: #4A4840; }
.svc-t { font-size: 20px; font-weight: 500; line-height: 1.3; }
.svc-d { font-size: 15px; line-height: 1.55; color: var(--muted); }
.services.seq-on { height: 260vh; padding: 0; }
.services.seq-on .services-pin { position: sticky; top: var(--header); height: calc(100vh - var(--header)); display: flex; align-items: center; }
.services.seq-on [data-seq-item] { opacity: 0; translate: 0 48px; scale: .86; transition: opacity 360ms var(--ease-out), translate 560ms var(--pop), scale 560ms var(--pop); }
.services.seq-on [data-seq-item].on { opacity: 1; translate: 0 0; scale: 1; }
.seq-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.seq-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* Statement: words light up with scroll; the last words change every 1.5s */
.statement-h { font-size: clamp(38px, 5vw, 72px); line-height: 1.12; letter-spacing: -0.015em; max-width: 15.5em; }
.statement .w { color: var(--ink); }
.js .statement .w { color: #8A877F; transition: color 380ms ease; }
.js .statement .w.lit { color: var(--ink); }
.rotator { display: inline-grid; vertical-align: bottom; }
.rot-word { grid-area: 1 / 1; white-space: nowrap; }
.rot-in { animation: emsRotIn 460ms var(--ease-out) both; }
.rot-out { animation: emsRotOut 300ms var(--ease-out) both; }
@keyframes emsRotIn { from { opacity: 0; translate: 0 .38em; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes emsRotOut { to { opacity: 0; translate: 0 -.38em; filter: blur(4px); } }

/* Work categories */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 164px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.cat-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 12px; }
.tag-plain { display: inline-flex; align-items: center; }
.cat-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cat-t { font-size: 28px; line-height: 1.15; }
.cat-photo { padding: 0; overflow: hidden; gap: 0; }
.cat-photo .cat-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1A1B20; }
.cat-photo .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.cat-photo .cat-top { padding: 18px 22px 0; }
.cat-photo .cat-bottom { padding: 10px 22px 22px; }
@media (hover: hover) and (pointer: fine) { .cat-photo:hover .cat-img img { transform: scale(1.03); } }
.cat.is-entering { animation: emsTileIn 320ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 25ms); }
@keyframes emsTileIn { from { opacity: 0; translate: 0 10px; filter: blur(2px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* Process */
.process { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); border-radius: 2px; transform-origin: left; }
.js .process-line { transform: scaleX(0); }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 2px solid #26272D; }
.process-steps li { padding-top: 28px; display: flex; flex-direction: column; gap: 10px; transition: opacity 400ms var(--ease-out), translate 500ms var(--ease-out); }
.js .process-steps li { opacity: .35; translate: 0 16px; }
.js .process-steps li.lit { opacity: 1; translate: 0 0; }
.step-n { font-size: 44px; line-height: 1; }
.step-t { font-size: 20px; font-weight: 500; }
.step-d { font-size: 15px; line-height: 1.6; color: var(--muted); }
.founder { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: var(--surface2); }
.founder img { width: 96px; height: 96px; }
.founder-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }

/* Stats and reviews */
.stats { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.stats > div { display: flex; flex-direction: column; }
.stat-n { font-size: clamp(52px, 5vw, 72px); line-height: 1; }
.stat-l { font-size: 14px; color: var(--muted); }
.stats-band { padding-block: 0 88px; }
.vreviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.vreview.depth-a { margin-top: 64px; }
.vreview figure { display: flex; flex-direction: column; gap: 14px; }
.vreview video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--surface); }
.vreview figcaption { display: flex; flex-direction: column; line-height: 1.4; }
.vreview .name { font-weight: 500; }
.treviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.treview { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.treview blockquote { font-size: 22px; line-height: 1.36; }
.treview blockquote { font-size: 21px; line-height: 1.42; }
.treview-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); }
.treview figcaption { margin-top: auto; display: flex; flex-direction: column; line-height: 1.4; font-size: 15px; }
.treview figcaption .name { font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ, every answer open */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.faq > div { border-top: 1px solid var(--line); padding-block: 24px; display: flex; flex-direction: column; gap: 8px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-size: 20px; font-weight: 500; }
.faq dd { color: var(--muted); }

/* Contact */
.contact { padding-block: 120px 96px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.channel svg { flex: 0 0 auto; color: var(--soft); }
.channel-gold { background: var(--gold-deep); border-color: var(--gold); } .channel-gold svg, .channel-gold .arr { color: var(--gold-text); }
.channel-green { background: #0F1613; border-color: #1C3A2F; } .channel-green svg, .channel-green .arr { color: var(--green-text); }
.ch-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ch-title { font-size: 17px; font-weight: 500; }
.ch-sub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.brief { background: var(--surface2); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.brief label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; color: var(--soft); }
.brief input[type=text], .brief input[type=email], .brief input[type=tel], .brief select, .brief textarea { height: 48px; background: var(--bg); border: 1px solid #2E2F36; border-radius: 12px; padding: 0 14px; color: var(--ink); font: inherit; font-weight: 400; transition: border-color 150ms ease; }
.brief textarea { height: auto; padding: 12px 14px; resize: vertical; }
.brief input:focus, .brief select:focus, .brief textarea:focus { border-color: var(--gold); outline: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.needs { border: 0; margin: 0; padding: 0; min-width: 0; }
.needs legend { font-size: 15px; font-weight: 500; color: var(--soft); padding: 0; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-check label { flex-direction: row; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #2E2F36; font-size: 14px; color: var(--soft); cursor: pointer; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms var(--ease-out); }
.pill-check label:active { transform: scale(.97); }
.pill-check input:checked + label { background: var(--gold-deep); color: var(--gold-text); border-color: var(--gold); }
.pill-check input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.notice.ok { background: #0F1A16; border: 1px solid #1C3A2F; color: #BFE8D7; }
.notice.err { background: #22120F; border: 1px solid #5A2A20; color: #F2C2B5; }
.form-note { font-size: 13px; color: var(--muted2); text-align: center; }

/* Footer and phone action bar */
.site-footer { border-top: 1px solid #1F2026; background: #08080A; padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 2fr 1fr; gap: 40px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 15px; }
.footer-brand img { width: 130px; height: 80px; }
.footer-h { font-weight: 500; color: var(--ink); }
.footer-h2 { margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-cols a { justify-self: start; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1F2026; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted2); }
.actionbar { display: none; }

/* Video tiles and the player dialog */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vgrid-lg { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.vtile { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--ink); }
.vtile-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.vtile-frame img.is-broken, .intro-poster.is-broken, .ind-photo img.is-broken, .cat-img img.is-broken { visibility: hidden; }
.vtile-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.vtile-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 999px; background: rgba(11, 11, 13, .62); border: 1px solid rgba(244, 241, 234, .3); display: flex; align-items: center; justify-content: center; transition: transform 200ms var(--ease-out), background-color 200ms ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vtile-meta { display: flex; flex-direction: column; gap: 2px; }
.vtile-label { font-size: 13px; color: var(--muted2); }
.vtile-title { font-size: 16px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtile:active .vtile-frame { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
	.vtile:hover .vtile-frame img { transform: scale(1.03); }
	.vtile:hover .vtile-play { transform: scale(1.06); background: var(--gold); color: var(--bg); border-color: var(--gold); }
}
.vtile-hero .vtile-frame { border-radius: 24px; border-color: var(--gold-line); }
.vtile-hero .vtile-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--gold); color: var(--bg); border-color: var(--gold); }
.vtile-hero .vtile-meta { display: none; }
.vtile.is-new { animation: emsTileIn 360ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 40ms); }
.playlist-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; border: 1px solid var(--gold-line); background: #121110; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; cursor: pointer; color: var(--ink); }
.playlist-frame img { width: 140px; height: 140px; }
.playlist-inline { grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; }
.vdialog { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--ink); }
.vdialog::backdrop { background: rgba(5, 5, 7, .86); }
.vdialog[open] .vdialog-inner { animation: emsDialogIn 250ms var(--ease-out) both; }
@keyframes emsDialogIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.vdialog-inner { background: #0E0E11; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.vdialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-left: 6px; }
.vdialog-title { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vdialog-player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vdialog-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vdialog-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vdialog-count { font-size: 14px; color: var(--muted); }

/* Landing and portfolio pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs .tlink { color: var(--soft); }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.type-t { font-size: 32px; line-height: 1.12; }
.type-more { font-weight: 500; color: var(--gold-text); }
.cta-band { padding-block: 0 96px; }
.cta-band:first-child { padding-top: 96px; }
.cta-card { background: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.work-filters { padding-block: 8px 48px; }
.filter-row { display: flex; gap: 16px; align-items: center; }
.filter-label { flex: 0 0 150px; font-size: 14px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.filter-pills .pill { height: 38px; font-size: 14px; padding: 0 14px; }
.work-videos { padding-block: 24px 96px; }
.work-videos.band-2 { padding-top: 96px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.post-card img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.15; }
.prose h2 { font-size: 40px; margin-top: 1.4em; } .prose h3 { font-size: 30px; margin-top: 1.2em; }
.prose a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: revert; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); border-radius: 999px; padding: 0 14px; }
.pager .current { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* The curved path and its ball (homepage). Drawn by main.js behind nothing, above the page, never catching clicks. */
.journey { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.journey .track { fill: none; stroke: rgba(201, 154, 69, .2); stroke-width: 1.5; }
.journey .trail { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.journey .halo { fill: rgba(226, 196, 119, .18); }
.journey .ball { fill: var(--gold-text); }

/* Scroll reveals: reversible, from a visible resting state when scripts are off */
.js [data-reveal] { opacity: 0; translate: 0 40px; transition: opacity 700ms var(--ease-out), translate 900ms var(--ease-out), scale 900ms var(--ease-out), clip-path 1000ms var(--ease-out); }
.js [data-reveal="left"] { translate: -56px 0; }
.js [data-reveal="right"] { translate: 56px 0; }
.js [data-reveal="clip"] { opacity: 1; translate: 0 24px; clip-path: inset(14% 5% 0 5% round 28px); }
.js [data-reveal].in { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0 round 0); }
.js [data-stagger] > * { opacity: 0; translate: 0 32px; transition: opacity 600ms var(--ease-out), translate 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-stagger].in > * { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1100px) {
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vreviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.panel-grid-work { grid-template-columns: 1fr 2fr; }
	.panel-cta { display: none; }
}
@media (max-width: 1024px) {
	.wrap { width: min(100% - 96px, 1280px); }
	.navlinks { gap: 22px; }
}
@media (max-width: 900px) {
	.navlinks, .hide-sm { display: none; }
	.menu-btn { display: inline-flex; }
	.hero-grid, .routes, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
	.types { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.filter-row { flex-direction: column; align-items: flex-start; }
	.filter-label { flex: none; }
}
@media (max-width: 640px) {
	:root { --header: 60px; }
	.wrap { width: calc(100% - 48px); }
	.screen, .services, .contact { padding-block: 88px 64px; }
	.hero { padding-block: 32px 64px; }
	.brand img { width: 70px; height: 43px; }
	.route, .brief, .cta-card, .founder { padding: 24px; }
	.route { min-height: 0; }
	.svc-grid, .fields, .process-steps { grid-template-columns: 1fr; }
	.vreviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vreview.depth-a { margin-top: 32px; }
	.footer-grid, .footer-cols { grid-template-columns: 1fr; }
	.btn-row .btn-lg { width: 100%; }
	.ind-card { width: 250px; }
	.logo-tile { width: 150px; height: 84px; } .logo-tile img { width: 112px; height: 48px; }
	.filter-pills { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 6px; }
	.vgrid, .vgrid-lg { grid-template-columns: 1fr; }
	.actionbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #111114; border-top: 1px solid #2A2B31; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); opacity: 0; pointer-events: none; transition: transform 400ms var(--ease-drawer), opacity 200ms ease; }
	.actionbar.show { transform: none; opacity: 1; pointer-events: auto; }
	.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 56px; border-radius: 14px; font-size: 13px; font-weight: 500; border: 1px solid #2A2B31; background: var(--surface); }
	.actionbar a:active { transform: scale(.98); }
	.actionbar .ab-gold { background: var(--gold); color: var(--bg); border-color: var(--gold); }
	.actionbar .ab-green { background: #0F1613; color: var(--green-text); border-color: #1C3A2F; }
	.site-footer { padding-bottom: 120px; }
}

/* Reduced motion: everything rests in its finished state; colour changes stay */
@media (prefers-reduced-motion: reduce) {
	.line > span, .fade-up, .settle, .cat.is-entering, .vtile.is-new, .vdialog[open] .vdialog-inner, .rot-in, .rot-out { animation: none !important; }
	.js [data-reveal], .js [data-stagger] > *, .services.seq-on [data-seq-item], .js .process-steps li { opacity: 1 !important; translate: none !important; scale: none !important; clip-path: none !important; }
	.js .process-line { transform: none; }
	.marquee-track { animation: none; width: auto; }
	.marquee-row { -webkit-mask-image: none; mask-image: none; }
	.marquee-list { flex-wrap: wrap; justify-content: center; padding-inline: 24px; }
	.marquee-list[aria-hidden="true"], .marquee-controls { display: none; }
	.journey { display: none; }
	.btn, .card, .pill, .arr, .vtile-frame img, .vtile-play { transition-property: background-color, border-color, color, opacity; }
	.btn:hover, .card:hover, .btn:active, .card:active { transform: none; }
}

/* ---------- Founder photo ---------- */
.founder .founder-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-line); box-shadow: 0 0 0 4px var(--gold-deep); flex: none; }
.founder-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.link-quiet { font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; transition: color 150ms ease, text-decoration-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .link-quiet:hover { color: var(--ink); text-decoration-color: var(--gold); } }

/* ---------- About page ---------- */
.about-hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.about-portrait { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--gold-line); background: #121110; aspect-ratio: 4 / 5; max-height: 680px; justify-self: end; width: 100%; max-width: 520px; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.about-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.about-prose p { font-size: 18px; line-height: 1.7; color: var(--soft); max-width: 36em; }
.about-prose .about-sign { font-size: 30px; color: var(--gold-text); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.timeline-item { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); position: relative; }
.timeline-item::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-deep); }
.timeline-when { font-size: 14px; letter-spacing: 0.02em; }
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.talks { display: flex; flex-direction: column; gap: 16px; }
.talk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talk { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.talk-year { font-size: 14px; }
.talk-copy { display: flex; flex-direction: column; gap: 4px; }
.talk-t { font-size: 17px; }
.talk .arr { color: var(--muted); transition: translate 180ms var(--ease-out), color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .talk:hover .arr { translate: 4px 0; color: var(--gold-text); } }
.award { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--gold-line); border-radius: 20px; background: var(--gold-deep); color: var(--ink); }
.award-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-text); background: #1C1810; border: 1px solid var(--gold-line); margin-bottom: 6px; }
.award-year { font-size: 13px; color: var(--gold-text); letter-spacing: 0.02em; }
.award-from { font-size: 15px; color: var(--soft); }
@media (hover: hover) and (pointer: fine) { a.award:hover { translate: 0 -2px; border-color: var(--gold); } }
.creds { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.creds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cred-block { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.cred-h { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); margin: 0; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { font-size: 14px; color: var(--soft); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; }
.cred-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.cred-list li::marker { color: var(--gold); }
@media (max-width: 1080px) {
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.creds, .about-story { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
	.about-hero .hero-grid { grid-template-columns: 1fr; }
	.about-portrait { justify-self: start; max-width: 420px; }
}
@media (max-width: 640px) {
	.timeline, .awards, .creds-grid { grid-template-columns: 1fr; }
	.timeline-item, .award, .cred-block { padding: 22px; }
	.talk { grid-template-columns: 52px minmax(0, 1fr); }
	.talk .arr { display: none; }
	.founder-actions { width: 100%; }
	.founder-actions .btn { width: 100%; justify-content: center; }
}
