/* ==========================================================================
   Dotcodot — premium · minimal · animated
   ========================================================================== */

:root {
	--bg: #0a0a0a;
	--bg-2: #121212;
	--ink: #f2f0eb;
	--muted: rgba(242, 240, 235, .62);
	--faint: rgba(242, 240, 235, .36);
	--line: rgba(242, 240, 235, .1);
	--line-2: rgba(242, 240, 235, .18);
	--accent: #a46bff;

	--sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", "Times New Roman", serif;

	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
	--gutter: clamp(16px, 3.6vw, 56px);
	--max: 1480px;
	--r: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1; letter-spacing: -.035em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; left: -999px; top: 10px; z-index: 9999; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { left: 10px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(96px, 13vw, 200px) 0; position: relative; }
.section--flush { padding-top: 0; }

.eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow sup { font-size: 11px; color: var(--faint); }
.h2 { font-size: clamp(38px, 5.2vw, 84px); max-width: 16ch; margin: 0; }
.h2 em, .phero__title em, .statement__title em { color: var(--ink); }
.h2--center { margin: 0 auto; text-align: center; max-width: 18ch; }
.lead { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); max-width: 44ch; margin: 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 88px); }
.accent-dot { color: var(--accent); }

/* ---------- Glass (subtle) ---------- */
.glass {
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* ---------- Text roll (hover) ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.3; height: 1.3em; }
.roll > span { display: block; transition: transform .6s var(--ease); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; transition: transform .6s var(--ease); }
a:hover .roll > span, button:hover .roll > span, .roll:hover > span { transform: translateY(-100%); }
a:hover .roll::after, button:hover .roll::after, .roll:hover::after { transform: translateY(-100%); }

/* underline link */
.ulink { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; padding-bottom: 2px; }
.ulink:hover { background-size: 100% 1px; background-position: 0 100%; }

/* ---------- Buttons (Interactive Hover Button) ---------- */
.btn {
	--h: 52px;
	position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px;
	height: var(--h); padding: 0 8px 0 24px; border-radius: 99px; font-size: 15px; font-weight: 500; white-space: nowrap;
	transition: color .5s var(--ease), border-color .5s;
}
.btn--sm { --h: 42px; padding-left: 18px; font-size: 14px; gap: 10px; }
.btn--lg { --h: 60px; padding-left: 28px; font-size: 16px; }
.btn__ico { width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--ease), background .5s; }
.btn__ico svg { width: 16px; height: 16px; }
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn__fill { position: absolute; z-index: -1; left: calc(100% - var(--h) / 2); top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease); }
.btn:hover .btn__fill { transform: translate(-50%, -50%) scale(60); }

.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid .btn__ico { background: var(--bg); color: var(--ink); }
.btn--solid .btn__fill { background: var(--accent); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light .btn__ico { background: var(--accent); color: #0a0a0a; }
.btn--light .btn__fill { background: var(--accent); }
.btn--light:hover .btn__ico { background: var(--bg); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost .btn__ico { background: var(--ink); color: var(--bg); }
.btn--ghost .btn__fill { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--ghost:hover .btn__ico { background: var(--bg); color: var(--ink); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; align-items: flex-end; padding: var(--gutter); transition: transform 1.1s var(--ease-io); animation: preFail 0s 5s forwards; }
.preloader__inner { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.preloader__word { display: inline-flex; align-items: flex-end; overflow: hidden; }
.preloader__word img { height: clamp(44px, 8vw, 110px); width: auto; animation: preIn 1s var(--ease) both; }
@keyframes preIn { from { transform: translateY(100%); } }
.preloader__word i, .brand i, .footer__word i { display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: var(--accent); margin: 0 0 .12em .06em; }
.preloader__count { font-size: clamp(40px, 8vw, 120px); font-weight: 300; letter-spacing: -.05em; line-height: .9; color: var(--faint); font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.is-loaded .preloader { transform: translateY(-100%); }
@keyframes preFail { to { transform: translateY(-100%); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s; }
.cursor.is-hover .cursor__dot { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor__label { position: fixed; left: 0; top: 0; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0a0a0a; font-size: 13px; font-weight: 600; transform: scale(0); transition: transform .5s var(--ease); }
.cursor.is-label .cursor__label { transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 900; left: 0; right: 0; top: 0; padding: 18px var(--gutter); transition: transform .7s var(--ease); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-120%); }
.nav { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; transition: opacity .4s; }
.brand:hover img { opacity: .7; }
.nav__brand img { max-height: 36px; width: auto; }
.nav__menu { border-radius: 99px; padding: 5px; }
.nav__menu .menu { list-style: none; display: flex; gap: 2px; }
.nav__menu a { display: block; padding: 9px 16px; border-radius: 99px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; }
.nav__menu a:hover, .nav__menu .current-menu-item > a { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav__end { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav__time { font-size: 13px; color: var(--faint); white-space: nowrap; }
.nav__time b { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span { top: 22.5px; }
.menu-open .nav__toggle span:first-child { transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: rotate(-45deg); }

.menu-panel { position: fixed; inset: 0; z-index: 850; background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden; }
.menu-open .menu-panel { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-panel__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 32px; }
.menu-panel .menu { list-style: none; }
.menu-panel .menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu-panel .menu a { display: block; font-size: clamp(40px, 11vw, 72px); letter-spacing: -.05em; line-height: 1.2; padding: 6px 0; transform: translateY(100%); transition: transform .9s var(--ease); }
.menu-panel .roll { height: auto; overflow: visible; }
.menu-panel .roll::after { display: none; }
.menu-open .menu-panel .menu a { transform: none; }
.menu-open .menu-panel li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu-panel li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu-panel li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu-panel li:nth-child(5) a { transition-delay: .2s; }
.menu-open .menu-panel li:nth-child(6) a { transition-delay: .25s; }
.menu-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.menu-open { overflow: hidden; }

/* ---------- Socials ---------- */
.socials { list-style: none; display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: background .4s, color .4s, border-color .4s; }
.socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wd > span { display: inline-block; }
.js .wd > span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * .07s + var(--base, .05s)); }
.is-ready .wd > span { transform: none; }

/* ---------- Media ---------- */
.media { width: 100%; height: 100%; object-fit: cover; }
.media--empty { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #1d1d1d, #0e0e0e); font-size: 64px; color: var(--faint); }
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* ==========================================================================
   1 · Scroll Media Expansion hero
   ========================================================================== */
.xhero { height: 280vh; position: relative; --p: 0; }
.xhero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.xhero__kicker { position: absolute; top: clamp(96px, 14vh, 140px); left: 50%; transform: translateX(-50%); margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; white-space: nowrap; opacity: calc(1 - var(--p) * 3); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.xhero__title { --w0: clamp(200px, 24vw, 420px); position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 0; font-size: clamp(56px, 10.4vw, 196px); font-weight: 500; letter-spacing: -.06em; line-height: .9; white-space: nowrap; pointer-events: none; }
.xhero__title em { letter-spacing: -.03em; }
.xhero__gap { width: calc(var(--w0) + 3vw); flex: 0 0 auto; }
.xhero__word { display: block; transition: none; opacity: calc(1 - var(--p) * 1.4); }
.xhero__word--l { text-align: right; transform: translateX(calc(var(--p) * -60vw)); }
.xhero__word--r { transform: translateX(calc(var(--p) * 60vw)); }

.xhero__media {
	--w0: clamp(200px, 24vw, 420px); --h0: clamp(140px, 17vw, 300px);
	position: absolute; left: 50%; top: 50%; z-index: 2; overflow: hidden;
	width: calc(var(--w0) + (100vw - var(--w0)) * var(--p));
	height: calc(var(--h0) + (100svh - var(--h0)) * var(--p));
	border-radius: calc(16px * (1 - var(--p)));
	transform: translate(-50%, -50%);
	background: #111;
}
.xhero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p) * .25)); }
.xhero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.3), transparent 30%, transparent 60%, rgba(10,10,10,.75)); opacity: var(--p); }
.xhero__media .reel-btn { position: absolute; left: 50%; bottom: clamp(24px, 6vh, 64px); transform: translateX(-50%) translateY(calc((1 - var(--p)) * 30px)); opacity: calc((var(--p) - .55) * 3); }
.xhero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; opacity: calc(1 - var(--p) * 3); }
.xhero__foot p { margin: 0; max-width: 36ch; font-size: 15px; color: var(--muted); }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.scroll-hint i { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--ink); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

.reel-btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background .4s; }
.reel-btn:hover { background: rgba(255, 255, 255, .16); }
.reel-btn__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.reel-btn__ico svg { width: 14px; height: 14px; margin-left: 2px; }

/* ==========================================================================
   2 · Statement
   ========================================================================== */
.statement__title { font-size: clamp(40px, 6.6vw, 116px); letter-spacing: -.055em; line-height: 1.04; margin-bottom: clamp(56px, 8vw, 120px); max-width: 15ch; }
.rotate { display: inline-block; position: relative; vertical-align: top; overflow: hidden; padding: 0 .04em .12em; margin-bottom: -.12em; }
.rotate__word { display: inline-block; color: var(--accent) !important; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.rotate__word.is-out { transform: translateY(-70%); opacity: 0; filter: blur(6px); }
.rotate__word.is-in-start { transform: translateY(70%); opacity: 0; filter: blur(6px); transition: none; }

.statement__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.scroll-text { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.scroll-text .sw { opacity: .16; transition: opacity .25s linear; }
.scroll-text .sw.on { opacity: 1; }
.no-js .scroll-text .sw { opacity: 1; }

.stats { list-style: none; display: grid; gap: 0; }
.stats li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats b { font-size: clamp(44px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats b sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; }
.stats li > span { color: var(--muted); font-size: 14px; text-align: right; }
.stats--wide { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(60px, 8vw, 120px); }
.stats--wide li { flex-direction: column; align-items: flex-start; border-bottom: 0 !important; }
.stats--wide li > span { text-align: left; }

/* ==========================================================================
   3 · Cases
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(56px, 7vw, 110px); align-items: start; }
.case { display: block; grid-column: span 6; }
.case:nth-child(4n+1), .case:nth-child(4n+4) { grid-column: span 7; }
.case:nth-child(4n+2), .case:nth-child(4n+3) { grid-column: span 5; }
.case:nth-child(4n+2) { margin-top: clamp(80px, 12vw, 200px); }
.case:nth-child(4n+4) { margin-top: clamp(60px, 9vw, 150px); }
.case__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 11; background: var(--bg-2); }
.case:nth-child(4n+2) .case__media, .case:nth-child(4n+3) .case__media { aspect-ratio: 4 / 5; }
.case__media .media { transition: transform 1.4s var(--ease), filter .8s; transform: scale(1.02); }
.case:hover .case__media .media { transform: scale(1.07); }
.case__badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 500; z-index: 2; }
.case__badge svg { width: 10px; height: 10px; }
.case__meta { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding-top: 18px; }
.case__title { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.03em; margin: 0; font-weight: 500; }
.case__info { color: var(--muted); font-size: 14px; }
.case__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.case__arrow svg { width: 15px; height: 15px; }
.case:hover .case__arrow { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #0a0a0a; }

/* ==========================================================================
   4 · Interactive image accordion
   ========================================================================== */
.accordion { display: flex; gap: 10px; height: clamp(460px, 72vh, 680px); }
.acc { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); cursor: pointer; background: var(--bg-2); transition: flex-grow .9s var(--ease); outline-offset: 4px; }
.acc.is-active { flex-grow: 7; cursor: default; }
.acc__media { position: absolute; inset: 0; }
.acc__media .media { transition: transform 1.6s var(--ease), filter .9s var(--ease); filter: grayscale(1) brightness(.45); transform: scale(1.15); }
.acc.is-active .acc__media .media { filter: none; transform: scale(1); }
.acc:not(.is-active):hover .acc__media .media { filter: grayscale(.4) brightness(.6); }
.acc__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.1) 40%, rgba(10,10,10,.85)); }
.acc__num { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); transition: left .9s var(--ease), transform .9s var(--ease); }
.acc.is-active .acc__num { left: 24px; transform: none; }
.acc__label { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 18px; letter-spacing: -.02em; margin: 0; white-space: nowrap; transition: opacity .4s; }
.acc.is-active .acc__label { opacity: 0; }
.acc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 40px); max-width: 560px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; pointer-events: none; }
.acc.is-active .acc__body { opacity: 1; transform: none; transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; pointer-events: auto; }
.acc__body h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.4vw, 72px); letter-spacing: -.02em; margin-bottom: 12px; }
.acc__body p { color: rgba(242, 240, 235, .78); font-size: 16px; max-width: 42ch; }

/* ==========================================================================
   5 · Container scroll animation
   ========================================================================== */
.cscroll { --p: 0; padding-bottom: clamp(60px, 8vw, 120px); }
.cscroll__head { text-align: center; transform: translateY(calc((1 - var(--p)) * 60px)); }
.cscroll__head .eyebrow { justify-content: center; }
.cscroll__stage { perspective: 1200px; margin-top: clamp(40px, 6vw, 80px); }
.cscroll__card { max-width: 1180px; margin: 0 auto; border-radius: 28px; padding: clamp(8px, 1vw, 14px); transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1)); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255,255,255,.08); will-change: transform; }
.browser { border-radius: 20px; overflow: hidden; background: #0e0e0e; border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser__bar span { margin: 0 auto; padding: 4px 16px; border-radius: 99px; background: rgba(255,255,255,.05); font-size: 12px; color: var(--faint); transform: translateX(-20px); }
.browser__screen { aspect-ratio: 16 / 9; overflow: hidden; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cscroll__foot { display: flex; justify-content: center; margin-top: 40px; }

/* ==========================================================================
   6 · Clients (infinite slider + progressive blur)
   ========================================================================== */
.clients { padding-top: clamp(40px, 6vw, 80px); }
.clients__row { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.clients__label { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.35; }
.clients__label em { color: var(--ink); font-size: 1.3em; }
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; gap: 14px; width: max-content; animation: slide 50s linear infinite; }
.slider:hover .slider__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }
.logo { height: 84px; flex: 0 0 auto; display: grid; place-items: center; padding: 0 clamp(24px, 3vw, 48px); }
.logo img { max-height: 46px; max-width: 170px; width: auto; object-fit: contain; opacity: .55; transition: opacity .5s; }
.logo:hover img { opacity: 1; }
.slider--rev .slider__track { animation-direction: reverse; }
.clients__head { margin-bottom: clamp(36px, 5vw, 64px); }
.clients .slider { border-top: 1px solid var(--line); }
.clients .slider:last-of-type { border-bottom: 1px solid var(--line); }
.slider__blur { position: absolute; top: 0; bottom: 0; width: 120px; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.slider__blur--l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.slider__blur--r { right: 0; background: linear-gradient(270deg, var(--bg), transparent); -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }

/* ==========================================================================
   7 · Journal rows / posts
   ========================================================================== */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 140px 1fr 160px 44px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .6s var(--ease), color .4s; }
.row::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.03); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.row:hover::before { transform: scaleY(1); }
.row:hover { padding-left: 16px; padding-right: 16px; }
.row__date, .row__cat { color: var(--muted); font-size: 14px; }
.row__title { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.035em; margin: 0; font-weight: 400; }
.row__arrow svg { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.row:hover .row__arrow svg { transform: rotate(45deg); color: var(--accent); }
.row-thumb { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .5s var(--ease); }
.row-thumb.is-on { transform: translate(-50%, -50%) scale(1); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.post-card { display: block; }
.post-card__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; background: var(--bg-2); }
.post-card__media .media { transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media .media { transform: scale(1.05); }
.post-card__meta { color: var(--faint); font-size: 13px; margin-bottom: 8px; }
.post-card__title { font-size: 24px; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.pagination { margin-top: 72px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.pagination .current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--bg); }

/* ==========================================================================
   Page hero / about / features / film / zoom
   ========================================================================== */
.phero { padding: clamp(150px, 20vw, 240px) 0 clamp(60px, 8vw, 120px); }
.phero--sm { padding-bottom: clamp(40px, 5vw, 72px); }
.phero__title { font-size: clamp(52px, 9vw, 168px); letter-spacing: -.06em; line-height: .92; margin: 0; }
.phero__title--md { font-size: clamp(40px, 6vw, 104px); max-width: 16ch; }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.phero--404 .lead { margin: 32px 0; }

.zoom { height: 300vh; position: relative; --p: 0; }
.zoom__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.zoom__item { position: absolute; inset: 0; display: grid; place-items: center; transform: scale(calc(1 + var(--p) * (var(--s) - 1))); will-change: transform; }
.zoom__img { position: relative; width: 25vw; height: 25vh; overflow: hidden; border-radius: 6px; }
.zoom__img img { width: 100%; height: 100%; object-fit: cover; }
.zoom__item--1 { --s: 4; }
.zoom__item--2 { --s: 5; } .zoom__item--2 .zoom__img { top: -30vh; left: 5vw; width: 35vw; height: 30vh; }
.zoom__item--3 { --s: 6; } .zoom__item--3 .zoom__img { top: -10vh; left: -25vw; width: 20vw; height: 45vh; }
.zoom__item--4 { --s: 5; } .zoom__item--4 .zoom__img { left: 27.5vw; width: 25vw; height: 25vh; }
.zoom__item--5 { --s: 6; } .zoom__item--5 .zoom__img { top: 27.5vh; left: 5vw; width: 20vw; height: 25vh; }
.zoom__item--6 { --s: 8; } .zoom__item--6 .zoom__img { top: 27.5vh; left: -22.5vw; width: 30vw; height: 25vh; }
.zoom__item--7 { --s: 9; } .zoom__item--7 .zoom__img { top: 22.5vh; left: 25vw; width: 15vw; height: 15vh; }

.split { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.index { color: var(--faint); font-size: 14px; }
.split .h2 { max-width: 20ch; margin-bottom: clamp(32px, 4vw, 56px); }

.film { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-2); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.8)); }
.film__caption { position: absolute; left: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 44px); max-width: 640px; }
.film__caption h3 { font-size: clamp(28px, 3.6vw, 56px); margin: 0; }
.film .reel-btn { position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 44px); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feature { position: relative; padding: 36px 28px 40px; border-right: 1px solid var(--line); overflow: hidden; }
.feature:last-child { border-right: 0; }
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.05), transparent); opacity: 0; transition: opacity .5s; }
.feature:hover::before { opacity: 1; }
.feature__num { display: block; font-size: 13px; color: var(--faint); margin-bottom: 64px; }
.feature__title { font-size: 26px; letter-spacing: -.03em; position: relative; transition: transform .5s var(--ease); }
.feature__title::before { content: ""; position: absolute; left: -28px; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line-2); transition: background .4s, height .4s; }
.feature:hover .feature__title { transform: translateX(6px); }
.feature:hover .feature__title::before { background: var(--accent); }
.feature p { color: var(--muted); font-size: 15px; margin: 0; position: relative; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.form { border-radius: 24px; padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 18px; }
.chips { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; color: var(--muted); margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); cursor: pointer; transition: all .35s var(--ease); }
.chip:hover span { color: var(--ink); border-color: rgba(255,255,255,.4); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 1.5px solid var(--accent); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 26px 0 10px; outline: none; resize: vertical; transition: border-color .4s; }
.field select { appearance: none; -webkit-appearance: none; padding-top: 22px; color: var(--muted); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23f2f0eb' stroke-width='1.3'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: #161616; color: var(--ink); }
.field span { position: absolute; left: 0; top: 24px; color: var(--faint); pointer-events: none; transition: all .4s var(--ease); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 2px; font-size: 12px; color: var(--muted); }
.form .btn { justify-self: start; margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; margin: 0; }
.notice--ok { background: rgba(110, 231, 160, .1); border: 1px solid rgba(110, 231, 160, .3); }
.notice--err { background: rgba(255, 91, 46, .1); border: 1px solid rgba(255, 91, 46, .35); }
.notice a { text-decoration: underline; }
.contact__info { display: grid; gap: 30px; }
.info h4 { font-size: 13px; color: var(--faint); font-weight: 400; letter-spacing: 0; margin-bottom: 8px; }
.info__big { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; }
.info p { color: var(--muted); margin: 0; max-width: 36ch; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 230px; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ==========================================================================
   Entry content
   ========================================================================== */
.entry { font-size: 18px; color: rgba(242, 240, 235, .86); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(30px, 3vw, 44px); margin-top: 1.6em; color: var(--ink); }
.entry h3 { font-size: clamp(22px, 2.2vw, 30px); margin-top: 1.4em; color: var(--ink); }
.entry a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.entry img, .entry video { border-radius: 14px; }
.entry blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.5em; line-height: 1.3; color: var(--ink); }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry pre { background: var(--bg-2); padding: 20px; border-radius: 12px; overflow: auto; }
.cover { margin: 0 0 clamp(40px, 6vw, 80px); border-radius: var(--r); overflow: hidden; }
.cover img, .cover video { width: 100%; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 64px 0; }
.post-nav a { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); transition: background .4s; height: 100%; }
.post-nav a:hover { background: rgba(255,255,255,.04); }
.post-nav div:last-child a { text-align: right; }
.post-nav small { display: block; color: var(--faint); font-size: 13px; margin-bottom: 4px; }
.comments { margin-bottom: 64px; }
.comment-list { list-style: none; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.empty { text-align: center; padding: 60px 0; }
.empty .h2 { margin: 0 auto 30px; }
.search-form { display: flex; gap: 8px; justify-content: center; }
.search-form .search-field { font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line-2); border-radius: 99px; padding: 12px 20px; }
.search-form .search-submit { font: inherit; background: var(--ink); color: var(--bg); border: 0; border-radius: 99px; padding: 12px 22px; cursor: pointer; }
.elementor-shell { padding-top: 100px; }

/* ==========================================================================
   Footer (reveal)
   ========================================================================== */
.page-wrap { position: relative; z-index: 2; background: var(--bg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); border-bottom-left-radius: clamp(20px, 3vw, 40px); border-bottom-right-radius: clamp(20px, 3vw, 40px); }
.site-footer { position: sticky; bottom: 0; z-index: 1; background: #050505; padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__cta { display: grid; gap: 10px; margin-bottom: clamp(56px, 8vw, 110px); }
.footer__title { font-size: clamp(52px, 9vw, 168px); letter-spacing: -.06em; line-height: .9; margin: 0; }
.footer__mail { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.03em; justify-self: start; margin-top: 18px; color: var(--muted); transition: color .4s; }
.footer__mail:hover { color: var(--ink); }
.footer__mail svg { width: .9em; height: .9em; transition: transform .6s var(--ease); }
.footer__mail:hover svg { transform: rotate(45deg); color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.footer__grid h4 { font-size: 13px; color: var(--faint); font-weight: 400; letter-spacing: 0; margin-bottom: 14px; }
.footer__grid p { color: var(--muted); font-size: 15px; margin: 0; max-width: 32ch; line-height: 1.7; }
.footer__links { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--ink); }
.footer__word { display: flex; align-items: flex-end; justify-content: center; font-size: clamp(80px, 21.5vw, 360px); font-weight: 600; letter-spacing: -.07em; line-height: .78; margin: 10px 0 0; overflow: hidden; padding-bottom: .04em; user-select: none; }
.footer__word span { display: inline-block; transform: translateY(100%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * .05s); }
.footer__word i { transform: scale(0); transition: transform .8s var(--ease) .5s; }
.footer__word.is-in span { transform: none; }
.footer__word.is-in i { transform: scale(1); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 9990; background: rgba(5, 5, 5, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.modal__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; transform: scale(.94); transition: transform .7s var(--ease); }
.modal.is-open .modal__frame { transform: none; }
.modal__frame iframe, .modal__frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.modal__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 800; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s, transform .5s var(--ease), opacity .4s; }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-float:hover { background: #25d366; color: #fff; transform: scale(1.06); }
.wa-float svg { width: 22px; height: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ==========================================================================
   v3 · Dot hero — the film plays inside the word, then we zoom through the dot
   ========================================================================== */
.dhero { height: 330vh; position: relative; --p: 0; }
.dhero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.dhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .18)); }
.dhero__sticky::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.1) 35%, rgba(10,10,10,.2) 55%, rgba(10,10,10,.9)); opacity: calc((var(--p) - .55) * 2.2); z-index: 1; }
.dhero__mask { position: absolute; inset: -2px; z-index: 2; background: var(--bg); color: #fff; mix-blend-mode: multiply; display: grid; place-items: center; transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(var(--s, 1)); will-change: transform; }
.dhero.is-through .dhero__mask { visibility: hidden; }
.dhero__word { font-size: clamp(64px, 19.5vw, 380px); font-weight: 700; letter-spacing: -.07em; line-height: .78; white-space: nowrap; padding-bottom: .06em; user-select: none; }
.dhero__dot { font-weight: 700; }
.dhero__intro { position: absolute; z-index: 3; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: clamp(100px, 16vh, 150px) var(--gutter) 30px; opacity: calc(1 - var(--p) * 6); }
.dhero__kicker { margin: 0; font-size: 13px; letter-spacing: .02em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dhero__content { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 9vh, 96px); max-width: var(--max); margin: 0 auto; opacity: clamp(0, calc((var(--p) - .72) * 5), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .72) * 5), 1)) * 40px)); pointer-events: none; }
.dhero.is-open .dhero__content { pointer-events: auto; }
.dhero__title { font-size: clamp(48px, 8.2vw, 150px); letter-spacing: -.06em; line-height: .9; margin: 0 0 24px; }
.dhero__title em { color: var(--accent); }
.dhero__sub { max-width: 46ch; color: rgba(242,240,235,.82); font-size: clamp(16px, 1.3vw, 19px); margin-bottom: 30px; }
.dhero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.no-js .dhero, .reduced .dhero { height: auto; }
.reduced .dhero__mask, .no-js .dhero__mask { display: none; }
.reduced .dhero__sticky, .no-js .dhero__sticky { position: relative; }
.reduced .dhero__content, .no-js .dhero__content, .reduced .dhero__sticky::after, .no-js .dhero__sticky::after { opacity: 1; transform: none; pointer-events: auto; }
.reduced .dhero__intro, .no-js .dhero__intro { display: none; }

/* ==========================================================================
   v3 · Personal Branding — sticky title + stacking cards
   ========================================================================== */
.pb__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.pb__intro { align-self: stretch; }
.pb__sticky { position: sticky; top: 16vh; }
.pb__title { font-size: clamp(60px, 8.6vw, 156px); letter-spacing: -.065em; line-height: .86; margin: 0 0 28px; }
.pb__title em { color: var(--accent); }
.pb__for { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.chip-s { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; color: var(--muted); }
.scard { position: sticky; top: calc(14vh + var(--i) * 16px); height: 74vh; min-height: 520px; margin-bottom: 10vh; }
.scard:last-child { margin-bottom: 0; }
.scard__inner { height: 100%; border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(160deg, #191919, #0f0f0f); transform-origin: 50% 0; transform: scale(var(--sc, 1)); filter: brightness(var(--br, 1)); transition: transform .1s linear; }
.scard__text { padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px) 18px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px 28px; align-items: end; }
.scard__num { grid-column: 1 / -1; font-size: 12px; color: var(--faint); letter-spacing: .08em; margin-bottom: 18px; }
.scard h3 { font-size: clamp(28px, 2.8vw, 46px); margin: 0; }
.scard p { margin: 0; color: var(--muted); font-size: 15px; }
.scard__media { position: relative; overflow: hidden; margin: 0 10px 10px; border-radius: 20px; background: #0c0c0c; }
.scard__media .media { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.scard:hover .scard__media .media { transform: scale(1.04); }
.media--contain { object-fit: contain !important; background: radial-gradient(circle at 50% 40%, #2a1f3d, #0c0c0c 70%); padding: 18px 0; }
.tag-accent { display: inline-block; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--accent); color: #0a0a0a; margin-bottom: 14px; }

/* ==========================================================================
   v3 · Social wall — tilted 3D marquee
   ========================================================================== */
.wall { position: relative; padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); overflow: hidden; --p: 0; }
.wall__head { position: relative; z-index: 2; text-align: center; }
.wall__head .eyebrow { justify-content: center; }
.wall__head .h2 { margin: 0 auto; max-width: 14ch; }
.wall__stage { position: relative; height: clamp(460px, 80vh, 760px); margin-top: -40px; perspective: 1400px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 45%, transparent 82%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 45%, transparent 82%); }
.wall__plane { position: absolute; left: 50%; top: 50%; width: 170vw; display: grid; gap: 18px; transform: translate(-50%, -50%) rotateX(calc(32deg - var(--p) * 14deg)) rotateZ(-10deg) scale(calc(.95 + var(--p) * .1)); transform-style: preserve-3d; }
.wall__track { display: flex; gap: 18px; width: max-content; animation: wallslide 70s linear infinite; }
.wall__row--rev .wall__track { animation-direction: reverse; animation-duration: 80s; }
.wall__track img { width: clamp(150px, 15vw, 250px); aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
@keyframes wallslide { to { transform: translateX(calc(-50% - 9px)); } }

/* phone on the Parishkaari case */
.cscroll__card { position: relative; }
.phone { position: absolute; right: -2.5%; bottom: -10%; width: 19%; aspect-ratio: 397 / 834; border-radius: 26px; overflow: hidden; border: 5px solid #161616; box-shadow: 0 40px 80px -20px #000, 0 0 0 1px rgba(255,255,255,.12); transform: translateY(calc((1 - var(--p)) * 90px)) rotate(4deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 1100px) {
	.nav { grid-template-columns: auto 1fr; }
	.nav__menu, .nav__time { display: none; }
	.nav__toggle { display: block; }
	.features { grid-template-columns: 1fr 1fr; }
	.feature:nth-child(2) { border-right: 0; }
	.feature:nth-child(n+3) { border-top: 1px solid var(--line); }
	.stats--wide { grid-template-columns: 1fr 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.pb__grid { grid-template-columns: 1fr; }
	.pb__sticky { position: static; }
	.scard { top: calc(12vh + var(--i) * 10px); height: 72svh; min-height: 460px; }
	.scard__text { grid-template-columns: 1fr; }
	.phone { width: 26%; right: 0; }
	.statement__grid, .contact__grid, .split { grid-template-columns: 1fr; }
	.cases { grid-template-columns: 1fr; row-gap: 56px; }
	.case { grid-column: 1 / -1 !important; margin-top: 0 !important; }
	.case .case__media { aspect-ratio: 4 / 3.4 !important; }
	.accordion { flex-direction: column; height: auto; }
	.acc { flex: none; height: 64px; transition: height .9s var(--ease); }
	.acc.is-active { height: 440px; }
	.acc__label { writing-mode: horizontal-tb; transform: none; left: 64px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 20px; }
	.acc__num { top: 50%; left: 24px; transform: translateY(-50%); }
	.acc.is-active .acc__num { top: 20px; transform: none; }
	.clients__row { grid-template-columns: 1fr; gap: 20px; }
	.row { grid-template-columns: 1fr 32px; gap: 8px 16px; }
	.row__date { grid-column: 1; order: -1; }
	.row__cat { display: none; }
	.row__arrow { grid-row: 1 / span 2; grid-column: 2; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.zoom__img { width: 40vw; height: 22vh; }
}
@media (max-width: 640px) {
	.brand img { height: 24px; }
	.dhero__word { font-size: 23vw; }
	.dhero__actions .btn, .dhero__actions .reel-btn { flex: 1 1 auto; justify-content: center; }
	.wall__plane { width: 260vw; }
	body { font-size: 16px; }
	.site-header { padding-top: 12px; }
	.nav__end .btn { display: none; }
	.xhero__title { --w0: 64vw; grid-template-columns: 1fr; justify-items: center; font-size: clamp(54px, 17vw, 96px); }
	.xhero__gap { width: auto; height: calc(var(--h0, 46vw) + 6vw); --h0: 46vw; }
	.xhero__media { --w0: 64vw; --h0: 46vw; }
	.xhero__word--l { text-align: right; transform: translateY(calc(var(--p) * -60vh)); }
	.xhero__word--r { transform: translateY(calc(var(--p) * 60vh)); }
	.xhero__kicker { font-size: 12px; }
	.xhero__foot p { display: none; }
	.xhero__foot { justify-content: center; }
	.statement__title br { display: none; }
	.stats--wide, .features, .form__row, .post-grid, .footer__grid, .post-nav { grid-template-columns: 1fr; }
	.feature { border-right: 0; border-top: 1px solid var(--line); }
	.feature__num { margin-bottom: 28px; }
	.logo { width: 120px; height: 68px; }
	.film { aspect-ratio: 4 / 5; }
	.film .reel-btn { right: auto; left: 20px; bottom: auto; top: 20px; }
	.case__meta { grid-template-columns: 1fr auto; }
	.case__info { grid-row: 2; }
	.case__arrow { grid-row: 1 / span 2; grid-column: 2; }
	.zoom__img { width: 46vw; height: 20vh; }
	.zoom__item--3 .zoom__img { left: -30vw; width: 30vw; }
	.zoom__item--4 .zoom__img { left: 30vw; width: 30vw; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.slider__track { animation: none !important; }
	.js .reveal, .js .wd > span, .footer__word span { opacity: 1 !important; transform: none !important; }
}
