/* ==========================================================================
   Naim Noir — main stylesheet
   1rem = 0.8333vw (12px at 1440px wide) so the whole layout scales with the viewport.
   ========================================================================== */

:root {
	--black: #000;
	--ink: #0a0a0a;
	--white: #f5f5f5;
	--red: #8b0000;
	--red-2: #b30000;
	--red-hot: #e10600;
	--muted: rgba(245, 245, 245, .55);
	--line: rgba(179, 0, 0, .55);
	--f-light: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
	--f-reg: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
	--f-script: "Ruthie", "Brush Script MT", cursive;
	--ease: cubic-bezier(.77, 0, .175, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { font-size: .8333vw; scrollbar-width: none; -webkit-text-size-adjust: 100%; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--f-reg);
	font-weight: 400;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }
@media (hover: hover) and (pointer: fine) {
	body.naim-front, body.naim-front a, body.naim-front button { cursor: none; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
.fancy { font-family: var(--f-script) !important; text-transform: none !important; font-weight: 400; letter-spacing: 0 !important; }
.red { color: var(--red-hot); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plus { display: inline-flex; width: 1.1rem; height: 1.1rem; flex: none; }
.plus img { width: 100%; height: 100%; }
.plus.spin img { animation: plusSpin 6s linear infinite; }
@keyframes plusSpin { to { transform: rotate(360deg); } }

/* ---------- Grain ---------- */
.grain {
	position: fixed; inset: -50%; z-index: 3000; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: noise .6s steps(4) infinite;
}
@keyframes noise {
	0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
	50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Fluid ink canvas + cursor ---------- */
#naim-fluid { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; mix-blend-mode: screen; }
.cursor { position: fixed; left: 0; top: 0; z-index: 4000; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .naim-front .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: .6rem; height: .6rem; background: var(--red-hot); }
.cursor-ring { width: 3.2rem; height: 3.2rem; border: 1px solid rgba(245, 245, 245, .6); transition: width .4s var(--ease-out), height .4s var(--ease-out), background .3s, border-color .3s; }
.cursor-label { position: absolute; transform: translate(-50%, -50%); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 5.5rem; height: 5.5rem; border-color: var(--red-hot); background: rgba(225, 6, 0, .12); }
.cursor.has-label .cursor-ring { width: 8rem; height: 8rem; background: var(--red); border-color: var(--red); }
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.has-label .cursor-dot { opacity: 0; }

/* ---------- Loader ---------- */
.loader {
	position: fixed; inset: 0; z-index: 5000; background: var(--red);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6rem;
	color: #000;
}
.loader::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.loader-count { display: flex; font-family: var(--f-script); font-size: 22rem; line-height: 1; height: 1em; overflow: hidden; position: relative; z-index: 1; }
.loader-count span { display: inline-block; width: .62em; text-align: center; }
.loader-hint { position: relative; z-index: 1; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; max-width: 18rem; text-align: center; font-weight: 600; opacity: 0; }
.loader.is-ready .loader-hint { opacity: 1; animation: blink 1.4s ease-in-out infinite; }
.loader.is-ready { cursor: pointer; }
.loader-bars { position: absolute; inset: 0; display: flex; pointer-events: none; z-index: 2; }
.loader-bars i { flex: 1; background: #000; transform: scaleY(0); transform-origin: bottom; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Top left CTA ---------- */
.cta-connect {
	position: fixed; top: 2.4%; left: 2%; z-index: 1000; display: flex; align-items: center; gap: .9rem;
	padding: .5rem 1.4rem .5rem .5rem; border: 1px solid rgba(245, 245, 245, .15); border-radius: 4rem;
	background: rgba(10, 10, 10, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: border-color .4s, background .4s;
}
.cta-connect:hover { border-color: var(--red-hot); background: rgba(139, 0, 0, .35); }
.cta-icon { width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; }
.cta-icon img { width: 100%; height: 100%; object-fit: cover; }
.cta-mask { display: block; height: 1.4rem; overflow: hidden; text-align: left; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.cta-mask > span { display: flex; align-items: center; gap: .6rem; height: 1.4rem; transition: transform .6s var(--ease); }
.cta-connect:hover .cta-mask > span { transform: translateY(-100%); }
.live-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #1fd65f; box-shadow: 0 0 0 0 rgba(31, 214, 95, .6); animation: liveBlink 1.6s infinite; }
@keyframes liveBlink { 0% { box-shadow: 0 0 0 0 rgba(31, 214, 95, .6); } 70% { box-shadow: 0 0 0 .7rem rgba(31, 214, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 214, 95, 0); } }

/* ---------- 3D logo ---------- */
.site-logo { position: fixed; top: 2.4%; left: 50%; transform: translateX(-50%); z-index: 1000; width: 4.2rem; height: 4.2rem; perspective: 600px; }
.logo-card { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: logoSpin 8s var(--ease) infinite; }
.logo-card img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; border-radius: .6rem; }
.logo-card .back { transform: rotateY(180deg); }
@keyframes logoSpin { 0%, 35% { transform: rotateY(0); } 50%, 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

/* ---------- Nav ---------- */
.main-nav { position: fixed; top: 2%; right: 0; width: 33%; z-index: 1000; display: flex; gap: 6rem; font-size: 1.1rem; text-transform: uppercase; mix-blend-mode: difference; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.main-nav a { display: inline-flex; align-items: center; gap: .5rem; }
.main-nav .plus { width: 0; overflow: hidden; transition: width .4s var(--ease); }
.main-nav a:hover .plus, .main-nav a.is-current .plus { width: .9rem; }
.main-nav a:hover .plus img { animation: plusSpin 1.2s linear infinite; }
/* Text roll on hover: the label slides up and a copy slides in from below. */
.main-nav a { overflow: hidden; height: 1.375rem; }
.roll { position: relative; display: inline-block; line-height: 1.25; transition: transform .5s var(--ease); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.main-nav a:hover .roll { transform: translateY(-100%); }

/* ---------- Burger / overlay menu (mobile) ---------- */
.burger { position: fixed; top: 2.6%; right: 4%; z-index: 1200; width: 3.4rem; height: 3.4rem; display: none; flex-direction: column; justify-content: center; gap: .6rem; }
.burger span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform .5s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(.35rem) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-.35rem) rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; z-index: 1100; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; }
.menu-bars { position: absolute; inset: 0; display: flex; }
.menu-bars i { flex: 1; background: var(--red); transform: scaleY(0); transform-origin: top; }
.menu-links, .menu-contact { position: relative; z-index: 1; opacity: 0; }
.menu-links a { display: flex; align-items: center; gap: 1rem; font-size: 4.2rem; text-transform: uppercase; line-height: 1.15; color: #000; }
.menu-links .plus img { filter: invert(1); }
.menu-contact { margin-top: 3rem; display: flex; gap: 4rem; color: #000; font-size: 1.2rem; text-transform: uppercase; }
.menu-contact p { opacity: .6; margin-bottom: .4rem; }
.menu-contact a { display: block; }
.menu-open .menu-overlay { pointer-events: auto; }

/* ---------- Sound toggle ---------- */
.sound-toggle { position: fixed; bottom: 6%; right: 2.2%; z-index: 1000; display: flex; align-items: center; gap: .25rem; height: 2rem; padding: 0 .4rem; }
.sound-toggle i { display: block; width: 2px; height: 30%; background: var(--white); transition: height .3s; }
.sound-toggle.is-on i { animation: wave 1s ease-in-out infinite; }
.sound-toggle.is-on i:nth-child(2) { animation-delay: -.2s; }
.sound-toggle.is-on i:nth-child(3) { animation-delay: -.5s; }
.sound-toggle.is-on i:nth-child(4) { animation-delay: -.7s; }
.sound-toggle.is-on i:nth-child(5) { animation-delay: -.35s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Ledger ---------- */
.ledger { position: fixed; bottom: 1%; left: 0; width: 100vw; z-index: 900; display: flex; align-items: center; justify-content: space-around; color: var(--white); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; mix-blend-mode: difference; pointer-events: none; }
.ledger .plus { width: .9rem; height: .9rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; pointer-events: none; }
.marquee .rail { display: inline-flex; will-change: transform; animation: marquee 28s linear infinite; }
.marquee h4 { font-size: 16rem; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; padding-right: 4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; width: 100vw; overflow: hidden; z-index: 2; background: radial-gradient(ellipse at 50% 70%, #1a0000 0%, #000 60%); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines line, .services-lines line, .services-lines circle { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.hero-intro { position: absolute; left: 3%; top: 21%; max-width: 35ch; font-size: 1.1rem; line-height: 1.25; letter-spacing: .02em; font-weight: 300; z-index: 4; }
.hero-face { position: absolute; left: 50%; bottom: 0; width: 38rem; height: 88vh; transform: translateX(-50%); z-index: 2; }
.face-image { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.15); }
.face-shade { position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, transparent 30%); pointer-events: none; }
.hero-face::before { content: ""; position: absolute; left: -20%; right: -20%; top: 10%; bottom: -10%; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(179, 0, 0, .45) 0%, rgba(139, 0, 0, .15) 35%, transparent 65%); }
.hero-name { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); z-index: 3; font-size: 13rem; line-height: 1; color: var(--red-hot); text-shadow: 0 0 3rem rgba(225, 6, 0, .45); pointer-events: none; }
.hero-roles { position: absolute; right: 3%; top: 70%; z-index: 4; display: flex; flex-direction: column; text-align: right; font-size: 1.2rem; text-transform: uppercase; font-weight: 300; line-height: 1.35; }
.hero-roles span { display: block; overflow: hidden; }
.marquee-hero { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--white); }

/* ---------- About ---------- */
.about { position: relative; min-height: 130vh; padding: 20vh 3% 10vh; display: flex; flex-direction: column; align-items: center; z-index: 2; background: #000; }
.about-title { text-align: center; font-size: 13rem; line-height: .88; text-transform: uppercase; color: var(--red-hot); perspective: 1000px; }
.about-title .line { display: block; overflow: hidden; padding: 0 .1em; }
.about-title .line > span { display: inline-block; transform-origin: 50% 100%; }
.about-title .fancy { font-size: 1.15em; line-height: .95; color: var(--white); }
.about-text { margin-top: 10vh; max-width: 75rem; text-align: center; font-size: 2.6rem; line-height: 1.2; text-transform: uppercase; }
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .w > span { display: inline-block; }

/* ---------- Facts ---------- */
.facts { position: relative; background: var(--red); color: #000; padding: 22vh 3% 26vh; z-index: 3; }
.fire { position: absolute; left: 0; width: 100%; height: 26vh; pointer-events: none; z-index: 2; }
.fire-top { top: -18vh; }
.fire-bottom { bottom: -18vh; }
.fire-canvas { width: 100%; height: 100%; display: block; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; position: relative; z-index: 3; }
.fact { border-top: 1px solid rgba(0, 0, 0, .5); padding-top: 2rem; }
.fact-number { font-size: 14rem; line-height: 1; letter-spacing: -.04em; }
.fact-text { margin-top: 1.5rem; max-width: 24rem; font-size: 1.6rem; line-height: 1.15; text-transform: uppercase; font-weight: 500; }

/* ---------- Services ---------- */
.services-intro { display: flex; justify-content: flex-end; align-items: flex-end; min-height: 30vh; padding: 28vh 3% 6vh; background: #000; position: relative; z-index: 2; }
.services-text { max-width: 55rem; font-size: 2.2rem; line-height: 1.2; text-transform: uppercase; color: var(--red-hot); text-align: right; }
.services { position: relative; height: 100vh; overflow: hidden; background: #000; z-index: 2; }
.services-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.services-pictures { position: absolute; inset: 0; z-index: 1; }
.svc-img { position: absolute; width: 16rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: .3rem; top: calc(8% + (var(--i) * 9%)); will-change: transform; }
.svc-img.right { left: 100%; }
.svc-img.left { right: 100%; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.1); }
.services-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.services-words { position: relative; height: 12rem; width: 100%; }
.svc-word { position: absolute; inset: 0; display: flex; justify-content: center; font-size: 12rem; line-height: 1; text-transform: uppercase; color: var(--red-hot); }
.svc-word span { display: inline-block; transform: translateY(110%); opacity: 0; }
.svc-word.is-active span { transform: none; opacity: 1; }
.services-heading { font-size: 6rem; font-family: var(--f-script); color: var(--white); margin-top: 1rem; }
.svc-char { display: inline-block; }
.expertise { position: absolute; left: 3%; right: 3%; bottom: 8%; z-index: 3; display: flex; justify-content: space-between; gap: 2rem; text-transform: uppercase; font-size: 1.15rem; }
.expertise-set { display: flex; gap: 3rem; }
.point { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.point .plus { width: .8rem; height: .8rem; }

/* ---------- Fall (torn paper) ---------- */
.fall { position: relative; padding: 10vh 0; background: #000; z-index: 2; }
.paper { position: relative; margin: 0 auto; width: 100%; min-height: 120vh; background: radial-gradient(ellipse at 40% 50%, #b30000 0%, #7a0000 60%, #4a0000 100%); display: flex; align-items: center; overflow: visible; }
.paper-edge { position: absolute; left: 0; width: 100%; height: 5rem; background: #f2f2f2; }
.paper-edge.top { top: -2.5rem; clip-path: polygon(0 60%, 3% 40%, 6% 65%, 9% 35%, 12% 55%, 15% 30%, 19% 60%, 22% 45%, 26% 70%, 29% 38%, 33% 58%, 36% 32%, 40% 62%, 44% 40%, 47% 66%, 51% 36%, 55% 57%, 58% 30%, 62% 60%, 66% 42%, 70% 68%, 73% 35%, 77% 55%, 81% 33%, 84% 62%, 88% 40%, 92% 64%, 95% 38%, 100% 58%, 100% 100%, 0 100%); background: linear-gradient(#000 0 50%, #ececec 50%); }
.paper-edge.bottom { bottom: -2.5rem; transform: scaleY(-1); clip-path: polygon(0 55%, 4% 35%, 7% 62%, 11% 40%, 14% 66%, 18% 34%, 21% 58%, 25% 42%, 28% 68%, 32% 37%, 35% 60%, 39% 31%, 43% 64%, 46% 44%, 50% 69%, 53% 36%, 57% 56%, 61% 33%, 64% 61%, 68% 40%, 71% 66%, 75% 34%, 79% 57%, 82% 38%, 86% 63%, 89% 41%, 93% 67%, 96% 36%, 100% 60%, 100% 100%, 0 100%); background: linear-gradient(#000 0 50%, #ececec 50%); }
.fall-content { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 8%; }
.fall-heading { font-size: 5.2rem; line-height: .95; text-transform: uppercase; color: #000; }
.fall-heading .line, .fall-text .line { display: block; overflow: hidden; }
.fall-heading .line > span, .fall-text .line > span { display: inline-block; }
.fall-text { text-align: center; font-size: 1.6rem; line-height: 1.2; text-transform: uppercase; color: #000; }
.fall-figure { position: absolute; left: 44%; top: 0; width: 14rem; z-index: 1; will-change: transform; }
.fall-figure img { width: 100%; filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, .6)); }

/* ---------- Work ---------- */
.work { position: relative; height: 100vh; background: #000; z-index: 2; }
.work-stage { position: relative; height: 100vh; overflow: hidden; }
.work-step { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.work-step.is-active, .work-step:first-child { clip-path: inset(0 0 0 0); }
.work-step img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.work-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.work-counter { position: absolute; left: 3%; bottom: 14%; width: 9rem; height: 9rem; display: grid; place-items: center; z-index: 3; }
.work-counter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.work-counter circle { fill: none; stroke-width: 2; }
.work-counter .track { stroke: rgba(245, 245, 245, .15); }
.work-counter .progress { stroke: var(--red-hot); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.work-num { font-size: 3rem; font-family: var(--f-script); }
.work-counter small { position: absolute; bottom: -2rem; font-size: 1rem; opacity: .6; }
.work-label { position: absolute; top: 14%; left: 3%; display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; text-transform: uppercase; z-index: 3; }
.work-text { position: absolute; right: 3%; bottom: 14%; z-index: 3; max-width: 46rem; text-align: right; }
.work-category { font-size: 9rem; line-height: .9; text-transform: uppercase; overflow: hidden; }
.work-excerpt { margin-top: 1.5rem; font-size: 1.4rem; line-height: 1.25; color: var(--muted); text-transform: uppercase; }
.work-view { position: absolute; left: 50%; top: 50%; width: 11rem; height: 11rem; transform: translate(-50%, -50%); z-index: 4; display: grid; place-items: center; }
.work-view .ring, .cta-ring .ring { position: absolute; inset: 0; animation: ringRotate 14s linear infinite; }
.work-view svg, .cta-ring svg { width: 100%; height: 100%; }
.work-view text, .cta-ring text { fill: var(--white); font-size: 15px; letter-spacing: 3px; font-family: var(--f-reg); }
.work-view .label { font-family: var(--f-script); font-size: 3rem; color: var(--red-hot); }
@keyframes ringRotate { to { transform: rotate(360deg); } }

/* ---------- Process ---------- */
.process { position: relative; padding: 20vh 3% 18vh; background: #000; z-index: 2; }
.process-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6rem; align-items: end; }
.process-head h2 { font-size: 4.6rem; line-height: 1; text-transform: uppercase; }
.process-head h2 .fancy { display: block; font-size: 1.4em; line-height: 1.1; }
.process-head p { font-size: 1.3rem; line-height: 1.35; color: var(--muted); text-transform: uppercase; }
.process-boxes { margin-top: 12vh; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-box { position: relative; padding: 3rem 2rem 4rem; border-right: 1px solid var(--line); min-height: 34rem; display: flex; flex-direction: column; overflow: hidden; transition: color .5s; }
.process-box:last-child { border-right: 0; }
.process-box::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: 0; }
.process-box:hover::before { transform: scaleY(1); }
.process-box > * { position: relative; z-index: 1; }
.process-index { font-family: var(--f-script); font-size: 5rem; color: var(--red-hot); transition: color .5s; }
.process-box:hover .process-index { color: #000; }
.process-box h3 { margin-top: auto; font-size: 2.4rem; text-transform: uppercase; line-height: 1; }
.process-box p { margin-top: 1.2rem; font-size: 1.1rem; line-height: 1.4; color: var(--muted); transition: color .5s; }
.process-box:hover p { color: var(--white); }

/* ---------- Journal ---------- */
.journal { position: relative; padding: 18vh 3% 20vh; background: #000; z-index: 2; }
.journal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4rem; }
.journal-head h2 { font-size: 11rem; line-height: .9; text-transform: uppercase; }
.journal-head h2 .fancy { display: block; font-size: 1.1em; }
.journal-head p { max-width: 34rem; font-size: 1.2rem; line-height: 1.35; text-transform: uppercase; color: var(--muted); }
.journal-cards { margin-top: 10vh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.journal-card { cursor: pointer; }
.journal-image { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: .3rem; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.6); }
.journal-card:hover .journal-image img { transform: scale(1.08); filter: grayscale(0); }
.journal-card h3 { margin-top: 1.6rem; font-size: 2rem; line-height: 1.05; text-transform: uppercase; }
.journal-card > span { display: block; margin-top: .6rem; font-size: 1rem; color: var(--red-hot); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Awards split ---------- */
.awards { position: relative; height: 100vh; overflow: hidden; background: #000; z-index: 2; }
.awards-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.awards-center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18rem; z-index: 1; }
.split { position: absolute; inset: 0; display: flex; z-index: 2; }
.split-panel { position: relative; width: 50%; height: 100%; overflow: hidden; background: #050505; border-color: var(--line); }
.split-left { border-right: 1px solid var(--line); }
.split-inner { position: absolute; top: 0; width: 200%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 14vh 6% 10vh; }
.split-left .split-inner { left: 0; }
.split-right .split-inner { right: 0; }
.split-inner p { max-width: 36rem; font-size: 1.2rem; line-height: 1.35; text-transform: uppercase; color: var(--muted); }
.split-inner h2 { font-size: 10rem; line-height: .9; text-transform: uppercase; text-align: center; }
.split-inner h2 .fancy { color: var(--red-hot); font-size: 1.05em; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 120vh; padding: 20vh 3% 16vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 100%, #3a0000 0%, #000 60%); z-index: 2; }
.cta-title { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 2.4rem; max-width: 120rem; text-align: center; font-size: 10rem; line-height: .95; text-transform: uppercase; }
.cta-title .line { display: inline-flex; overflow: hidden; padding: 0 .02em; }
.cta-title .ch { display: inline-block; }
.cta-title .fancy { font-size: 1.3em; line-height: 1.1; flex-basis: 100%; justify-content: center; }
.cta-ring { position: relative; margin-top: 8vh; width: 14rem; height: 14rem; display: grid; place-items: center; border-radius: 50%; transition: background .5s; }
.cta-ring .fancy { font-size: 3.6rem; color: var(--red-hot); transition: color .4s, transform .6s var(--ease); }
.cta-ring:hover { background: var(--red); }
.cta-ring:hover .fancy { color: var(--white); transform: scale(1.15) rotate(-6deg); }

/* ---------- Footer ---------- */
.site-footer { position: relative; min-height: 80vh; padding: 10vh 0 6vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; z-index: 2; }
.footer-3d { position: absolute; inset: 0; z-index: 0; }
.footer-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 0 3% 4vh; font-size: 1.1rem; text-transform: uppercase; color: var(--muted); }
.footer-social { display: flex; gap: 2rem; }
.footer-social a:hover { color: var(--red-hot); }
.marquee-footer { position: relative; z-index: 1; }
.marquee-footer .rail { animation-direction: reverse; animation-duration: 34s; }
.marquee-footer h4 { font-family: var(--f-script); text-transform: none; font-size: 18rem; color: var(--red-hot); }

/* ---------- Modals ---------- */
.modal, .case-sidebar { position: fixed; z-index: 2500; background: #0a0a0a; visibility: hidden; }
.modal-close { position: absolute; top: 2rem; right: 2rem; width: 3rem; height: 3rem; z-index: 3; }
.modal-close svg { width: 100%; height: 100%; stroke: var(--white); stroke-width: 1.5; fill: none; transition: transform .5s var(--ease), stroke .3s; }
.modal-close:hover svg { transform: rotate(90deg); stroke: var(--red-hot); }
.modal-contact { top: 0; right: 0; width: 42vw; height: 100vh; padding: 6rem 4rem 4rem; overflow-y: auto; border-left: 1px solid var(--line); }
.modal-title { font-size: 6rem; line-height: .95; text-transform: uppercase; }
.modal-title .fancy { display: block; color: var(--red-hot); font-size: 1.2em; }
.modal-contact-img { margin: 2.5rem 0; width: 100%; height: 14rem; object-fit: cover; border-radius: .3rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.contact-form input, .contact-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 245, 245, .25); color: var(--white); padding: 1rem 0; font: inherit; font-size: 1.2rem; outline: none; transition: border-color .3s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red-hot); }
.contact-form ::placeholder { color: rgba(245, 245, 245, .45); text-transform: uppercase; }
.contact-form textarea, .contact-form .cta-submit, .form-status { grid-column: 1 / -1; }
.cta-submit { justify-self: start; padding: 1.2rem 3rem; border-radius: 3rem; background: var(--red); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; transition: background .3s; }
.cta-submit:hover { background: var(--red-hot); }
.form-status { font-size: 1.1rem; min-height: 1.4rem; }
.form-status.ok { color: #1fd65f; }
.form-status.err { color: #ff5a5a; }

.modal-blog { inset: 0; display: grid; grid-template-columns: 1fr 1fr; clip-path: inset(100% 0 0 0); }
.blog-modal-content { padding: 10rem 5rem 5rem; overflow-y: auto; }
.blog-modal-date { color: var(--red-hot); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .06em; }
.blog-modal-title { margin-top: 1rem; font-size: 5rem; line-height: .95; text-transform: uppercase; }
.blog-modal-body { margin-top: 2.5rem; font-size: 1.3rem; line-height: 1.6; color: rgba(245, 245, 245, .8); }
.blog-modal-body p + p { margin-top: 1rem; }
.blog-modal-by { margin-top: 3rem; text-transform: uppercase; font-size: 1rem; color: var(--muted); }
.blog-modal-by a { color: var(--white); border-bottom: 1px solid var(--red-hot); }
.blog-modal-image { overflow: hidden; }
.blog-modal-image img { width: 100%; height: 100%; object-fit: cover; }

.case-sidebar { top: 0; right: 0; width: 46vw; height: 100vh; overflow-y: auto; padding: 0 0 5rem; border-left: 1px solid var(--line); }
.case-hero { height: 45vh; overflow: hidden; }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-date, .case-title, .case-text, .case-tags, .case-role, .case-link { margin-left: 4rem; margin-right: 4rem; }
.case-date { margin-top: 3rem; color: var(--red-hot); font-size: 1.1rem; text-transform: uppercase; }
.case-title { margin-top: 1rem; font-size: 6rem; line-height: .9; text-transform: uppercase; }
.case-text { margin-top: 2rem; font-size: 1.3rem; line-height: 1.6; color: rgba(245, 245, 245, .8); }
.case-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.case-tags span { padding: .5rem 1.2rem; border: 1px solid var(--line); border-radius: 2rem; font-size: 1rem; text-transform: uppercase; }
.case-role { margin-top: 3rem; }
.case-role h3 { font-family: var(--f-script); font-size: 3.5rem; color: var(--red-hot); }
.case-role ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.case-role li { padding: 1rem 0; border-bottom: 1px solid rgba(245, 245, 245, .1); text-transform: uppercase; font-size: 1.2rem; }
.case-link { display: inline-block; margin-top: 3rem; padding: 1.2rem 3rem; background: var(--red); border-radius: 3rem; text-transform: uppercase; font-size: 1.1rem; }
.case-link:hover { background: var(--red-hot); }
.modal-backdrop { position: fixed; inset: 0; z-index: 2400; background: rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .6s; }
.modal-backdrop.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 26vh 3% 8vh; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 0%, #3a0000 0%, #000 55%); }
.page-kicker { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; text-transform: uppercase; color: var(--muted); }
.page-title { margin-top: 2rem; font-size: 12rem; line-height: .9; text-transform: uppercase; }
.page-title .fancy { font-size: 1.1em; }
.page-404 p a { display: inline-block; margin-top: 3rem; }
.btn-line { border-bottom: 1px solid var(--red-hot); text-transform: uppercase; font-size: 1.3rem; }
.entry-content { max-width: 80rem; margin: 0 auto; padding: 10vh 3%; font-size: 1.5rem; line-height: 1.7; color: rgba(245, 245, 245, .85); }
.entry-content h2 { margin: 3rem 0 1rem; font-size: 3.2rem; line-height: 1; text-transform: uppercase; color: var(--white); }
.entry-content h3 { margin: 2rem 0 1rem; font-size: 2.2rem; text-transform: uppercase; }
.entry-content p { margin: 0 0 1.2rem; }
.entry-content a { color: var(--red-hot); border-bottom: 1px solid currentColor; }
.entry-content img { height: auto; border-radius: .3rem; }
.by-line { margin-top: 3rem !important; color: var(--muted); text-transform: uppercase; font-size: 1.1rem; }
.single-image { margin: 0; height: 70vh; overflow: hidden; }
.single-image img { width: 100%; height: 100%; object-fit: cover; }
.post-nav { display: flex; justify-content: space-between; gap: 2rem; padding: 0 3% 10vh; font-size: 1.3rem; text-transform: uppercase; }
.post-nav a:hover { color: var(--red-hot); }
.journal-archive { padding-top: 6vh; }
.pagination { margin-top: 6rem; font-size: 1.3rem; }
.pagination .nav-links { display: flex; gap: 1.5rem; }
.pagination .current { color: var(--red-hot); }
.empty { font-size: 1.5rem; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	html { font-size: 1.15vw; }
	.main-nav { width: 40%; gap: 3rem; }
}

@media (max-width: 768px) {
	html { font-size: 2.6vw; }
	.main-nav { display: none; }
	.burger { display: flex; }
	.site-logo { left: auto; right: 16%; transform: none; }
	.cta-connect { left: 4%; }
	.ledger { font-size: .9rem; }
	.marquee h4 { font-size: 9rem; }
	.hero-intro { left: 4%; right: 4%; top: 15%; max-width: none; font-size: 1.3rem; }
	.hero-face { width: 92vw; height: 62vh; }
	.hero-name { top: 30%; font-size: 9rem; }
	.hero-roles { top: auto; bottom: 10%; right: 4%; }
	.about { padding: 14vh 4% 8vh; min-height: auto; }
	.about-title { font-size: 7.5rem; }
	.about-text { font-size: 1.8rem; }
	.facts { padding: 16vh 4% 20vh; }
	.facts-grid { grid-template-columns: 1fr; gap: 3rem; }
	.fact-number { font-size: 10rem; }
	.services-intro { padding: 20vh 4% 4vh; }
	.services-text { font-size: 1.7rem; }
	.svc-img { width: 11rem; }
	.svc-word { font-size: 6rem; }
	.services-words { height: 6rem; }
	.services-heading { font-size: 4rem; }
	.expertise { flex-direction: column; bottom: 6%; font-size: 1rem; }
	.expertise-set { flex-wrap: wrap; gap: .8rem 1.6rem; }
	.paper { min-height: 90vh; }
	.fall-content { flex-direction: column; align-items: flex-start; gap: 4rem; padding: 10vh 6%; }
	.fall-heading { font-size: 5rem; }
	.fall-figure { left: 55%; width: 10rem; }
	.work-category { font-size: 5rem; }
	.work-text { left: 4%; right: 4%; max-width: none; bottom: 26%; }
	.work-counter { bottom: 6%; width: 7rem; height: 7rem; }
	.work-view { width: 8rem; height: 8rem; top: 38%; }
	.process { padding: 12vh 4%; }
	.process-head { grid-template-columns: 1fr; gap: 3rem; }
	.process-head h2 { font-size: 3.2rem; }
	.process-boxes { grid-template-columns: 1fr; }
	.process-box { min-height: 22rem; border-right: 0; border-bottom: 1px solid var(--line); }
	.journal { padding: 12vh 4%; }
	.journal-head { flex-direction: column; align-items: flex-start; }
	.journal-head h2 { font-size: 7rem; }
	.journal-cards { grid-template-columns: 1fr; gap: 4rem; }
	.split-inner h2 { font-size: 5.5rem; }
	.cta-title { font-size: 5.6rem; column-gap: 1.2rem; }
	.footer-meta { flex-direction: column; gap: 1rem; }
	.marquee-footer h4 { font-size: 11rem; }
	.modal-contact, .case-sidebar { width: 100vw; padding-left: 0; padding-right: 0; }
	.modal-contact { padding: 6rem 5% 4rem; }
	.contact-form { grid-template-columns: 1fr; }
	.modal-blog { grid-template-columns: 1fr; grid-template-rows: 35vh 1fr; }
	.blog-modal-image { order: -1; }
	.blog-modal-content { padding: 3rem 5% 5rem; }
	.blog-modal-title { font-size: 3.6rem; }
	.case-date, .case-title, .case-text, .case-tags, .case-role, .case-link { margin-left: 5%; margin-right: 5%; }
	.case-title { font-size: 4.4rem; }
	.page-title { font-size: 7rem; }
	.entry-content { font-size: 1.4rem; }
	.loader-count { font-size: 13rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.grain { display: none; }
}
