/* ==========================================================================
   Nueva — "editorial / cinematic" redesign
   Black canvas, tight serif, hairlines, one glowing orange accent.
   CSP-safe: no inline styles/scripts, self-hosted assets only.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --ink: #f3f1ec;
  --muted: rgba(243, 241, 236, .62);
  --line: rgba(243, 241, 236, .2);
  --accent: #e8360a;
  --teal: #0c4a55;
  --chip-bg: #f3f1ec;
  --chip-ink: #0f0f0f;
  --nav-ink: #f3f1ec;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --display: "Instrument Serif", "Times New Roman", Times, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
[data-theme="light"] {
  --bg: #efece5;
  --bg-2: #e7e3da;
  --ink: #111;
  --muted: rgba(17, 17, 17, .62);
  --line: rgba(17, 17, 17, .22);
  --chip-bg: #111;
  --chip-ink: #efece5;
  --nav-ink: #111;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--serif); line-height: 1.4; -webkit-font-smoothing: antialiased; transition: background .5s, color .5s; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--chip-bg); color: var(--chip-ink); padding: .5rem 1rem; }
.skip:focus { top: 12px; }

/* ---------- Shared bits ---------- */
.mark { display: inline-block; width: .76em; height: .7em; margin-right: .55em; fill: currentColor; flex: none; }
.tag { font-size: clamp(.9rem, 1.1vw, 1.05rem); display: inline-flex; align-items: baseline; }
.btn { display: inline-flex; align-items: stretch; gap: 3px; font-size: .95rem; }
.btn b, .btn i { font-weight: 400; font-style: normal; background: var(--chip-bg); color: var(--chip-ink); padding: .65rem 1rem; border-radius: 4px; transition: transform .35s var(--ease), background .25s; }
.btn i { display: grid; place-items: center; padding: .65rem .8rem; }
.btn:hover b { transform: translateX(-2px); }
.btn:hover i { transform: translateX(3px); }
.hair { position: absolute; background: var(--line); pointer-events: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding: 26px var(--pad); display: flex; justify-content: space-between; align-items: center; color: var(--nav-ink); transition: color .4s; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__logo img { height: 26px; width: auto; transition: filter .4s; }
[data-theme="light"] .nav:not(.is-media) .nav__logo img { filter: brightness(.25) sepia(.4); }
.nav.is-media { --nav-ink: #f3f1ec; }
.nav__menu { width: 44px; height: 32px; display: grid; align-content: center; justify-items: end; gap: 7px; }
.nav__menu span { display: block; height: 2px; background: currentColor; width: 26px; transition: transform .45s var(--ease), width .3s; }
.nav__menu:hover span:first-child { width: 20px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); width: 26px; }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); color: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); display: grid; align-content: center; padding: 120px var(--pad) 60px; visibility: hidden; }
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu__list { display: grid; }
.menu__list a { display: flex; align-items: baseline; gap: 1.2rem; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1.12; letter-spacing: -.03em; padding: .1em 0; border-top: 1px solid var(--line); transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), padding-left .35s var(--ease); }
.menu__list li:last-child a { border-bottom: 1px solid var(--line); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open li:nth-child(4) a { transition-delay: .15s; }
.menu.is-open li:nth-child(5) a { transition-delay: .2s; }
.menu.is-open li:nth-child(6) a { transition-delay: .25s; }
.menu__list a:hover { padding-left: 1.2rem; }
.menu__list small { font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.menu__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.menu__foot button { color: var(--ink); border: 1px solid var(--line); padding: .45rem 1rem; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__x, .hero__y { position: absolute; background: var(--line); }
.hero__x { left: 0; right: 0; top: 50%; height: 1px; }
.hero__y { top: 0; bottom: 0; left: 50%; width: 1px; }
/* the lines belong to the opening only: once the panels start to open the photo covers them, and they are removed so nothing shows through the photo later */
.is-ready .hero__x, .is-ready .hero__y { display: none; }
@keyframes lineOut { to { opacity: 0; } }
.hero__mark { position: absolute; top: 50%; translate: 0 -50%; font-size: clamp(3rem, 6vw, 7rem); letter-spacing: -.045em; line-height: .9; will-change: transform; }
.hero__mark--l { left: var(--pad); }
.hero__mark--r { right: var(--pad); }
.hero__mark span { display: block; opacity: 0; transition: transform 1.15s var(--ease) .1s, opacity .7s ease .1s; }
.hero__mark--l span { transform: translateX(-26vw); }
.hero__mark--r span { transform: translateX(26vw); }
.is-ready .hero__mark span { opacity: 1; transform: none; }
.hero__meta { position: absolute; bottom: 32px; font-size: .95rem; }
.hero__meta--l { left: var(--pad); }
.hero__meta--r { right: var(--pad); }
.hero__meta, .hero__scroll { opacity: 0; transition: opacity 1s ease .9s; }
.is-ready .hero__meta, .is-ready .hero__scroll { opacity: 1; }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; translate: -50% 0; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

.collage { position: absolute; left: 50%; top: 50%; width: max(70vw, 600px); aspect-ratio: 1000 / 563; translate: -50% -50%; will-change: transform, opacity; }
.ci { position: absolute; border-radius: 6px; overflow: hidden; opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.12); transition: transform 1.5s var(--ease), opacity .6s ease; transition-delay: var(--td); }
.ci img { width: 100%; height: 100%; object-fit: cover; }
.is-ready .ci { opacity: 1; transform: none; }
.ci--1 { left: 46.8%; top: 16.9%; width: 9.9%; aspect-ratio: 99 / 117; --dx: -17.7%; --dy: 109%; --td: .1s; }
.ci--2 { left: 40%; top: 29%; width: 7.2%; aspect-ratio: 1; --dx: 88.9%; --dy: 114.6%; --td: .2s; }
.ci--3 { left: 55.3%; top: 33.7%; width: 12.6%; aspect-ratio: 126 / 72; --dx: -92%; --dy: 77%; --td: .3s; }
.ci--4 { left: 32.3%; top: 39.6%; width: 11.7%; aspect-ratio: 117 / 77; --dx: 101%; --dy: 26%; --td: .4s; }
.ci--5 { left: 42.7%; top: 49.7%; width: 9%; aspect-ratio: 90 / 108; --dx: 31%; --dy: -48.6%; --td: .5s; }
.ci--6 { left: 51.3%; top: 43.3%; width: 6.2%; aspect-ratio: 62 / 90; --dx: -71%; --dy: -8%; --td: .6s; }

/* ---------- Orb (shared by About + CTA) ---------- */
.orb { position: absolute; inset: -8%; pointer-events: none; filter: blur(66px); will-change: transform; }
[data-theme="light"] .orb { mix-blend-mode: multiply; opacity: .85; }
.orb i { position: absolute; border-radius: 50%; }
.orb .o1 { left: 41%; top: -16%; width: 24%; height: 68%; background: radial-gradient(closest-side, #ec3a0b 45%, rgba(236, 58, 11, 0)); transform: rotate(-14deg); animation: breathe 9s ease-in-out infinite alternate; }
.orb .o2 { left: 27%; top: 50%; width: 27%; height: 68%; background: radial-gradient(closest-side, #ec3a0b 45%, rgba(236, 58, 11, 0)); transform: rotate(-18deg); animation: breathe 11s ease-in-out -3s infinite alternate; }
.orb .t1 { right: 0; top: -10%; width: 30%; height: 38%; background: radial-gradient(closest-side, rgba(12, 90, 105, .85), rgba(12, 90, 105, 0)); }
.orb .t2 { left: -4%; bottom: -8%; width: 32%; height: 40%; background: radial-gradient(closest-side, rgba(12, 90, 105, .85), rgba(12, 90, 105, 0)); }
@keyframes breathe { from { scale: 1; } to { scale: 1.12; } }

/* ---------- About ---------- */
.about { position: relative; height: 320vh; }
.about__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.about__cross-x, .about__cross-y { position: absolute; background: var(--line); }
.about__cross-x { left: 0; right: 0; top: 50%; height: 1px; }
.about__cross-y { top: 0; bottom: 0; left: 50%; width: 1px; }
.about__ring { position: absolute; left: 50%; top: 50%; width: min(80vh, 80vw); aspect-ratio: 1; translate: -50% -50%; border: 1px solid var(--line); border-radius: 50%; opacity: .6; }
.about__title { position: absolute; font-size: clamp(3rem, 7.2vw, 7.2rem); letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; will-change: transform, opacity; }
.about__title .mark { width: .74em; height: .68em; margin-right: .3em; }
.about__text { position: absolute; width: min(980px, calc(100% - 2 * var(--pad))); will-change: transform, opacity; text-align: center; font-family: var(--sans); font-weight: 400; font-size: clamp(1.6rem, 3.3vw, 3.4rem); letter-spacing: -.04em; line-height: 1.1; }
.about__text .w { opacity: .14; transition: opacity .25s linear; }

/* ---------- Services ---------- */
.services { position: relative; padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.services__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.row { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem 3rem; padding: clamp(1.8rem, 3.2vw, 3rem) 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .15s linear; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__t { font-size: clamp(2.1rem, 4.1vw, 4rem); letter-spacing: -.04em; line-height: 1; transition: transform .5s var(--ease); }
.row__p { margin-top: 1.4rem; font-size: clamp(.85rem, 1vw, 1rem); color: var(--muted); max-width: 40ch; line-height: 1.45; }
.row__n { text-align: right; font-size: clamp(1.8rem, 3.4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.row__tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.row__tags li { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; transition: background .3s, color .3s, border-color .3s; }
.row:hover .row__t { transform: translateX(14px); }
.row:hover .row__tags li { border-color: var(--ink); }
.row:hover .row__tags li:hover { background: var(--ink); color: var(--bg); }

/* ---------- Works ---------- */
.works { position: relative; height: 640vh; }
.works__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #f3f1ec; background: #000; }
.works__bg, .works__vf { position: absolute; }
.works__bg { inset: 0; width: 100%; height: 100%; filter: brightness(.42) saturate(1.1); }
.works__vf { left: 50%; top: 50%; translate: -50% -50%; width: min(48vw, 118vh * 1.25); height: min(60vh, 48vw * .64); min-width: 300px; min-height: 190px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 40px 100px rgba(0, 0, 0, .65); }
.works__shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(0, 0, 0, .5)); pointer-events: none; }
.works__all { position: absolute; right: var(--pad); bottom: 34px; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); transition: text-decoration-color .3s; }
.works__all:hover { text-decoration-color: #fff; }
.works__label { position: absolute; left: var(--pad); top: 50%; translate: 0 -50%; font-size: clamp(1.4rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.works__label sup { font-size: .38em; font-weight: 400; margin-left: .3em; vertical-align: top; position: relative; top: .35em; }
.works__count { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.03em; height: 1.1em; overflow: hidden; line-height: 1.1; }
.works__roll { display: block; will-change: transform; }
.works__roll span { display: block; height: 1.1em; text-align: right; }
.works__cap { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; text-align: center; display: grid; gap: .15rem; font-size: 1rem; }
.works__cap small { font-size: .85rem; opacity: .75; }
.works__cap a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.works__static { display: none; }
.js .works__static { display: none; }
.no-pin .works { height: auto; }
.no-pin .works__stick { position: relative; height: auto; display: none; }
.no-pin .works__static { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 5rem var(--pad); }
.works__static figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.works__static img { width: 100%; height: 100%; object-fit: cover; }
.works__static figcaption { position: absolute; left: 12px; bottom: 10px; color: #fff; text-shadow: 0 1px 8px #000; }

/* ---------- Process ---------- */
.process { position: relative; padding: clamp(4rem, 7vw, 6.5rem) var(--pad); }
.process__top { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.process__lede { font-size: clamp(1.5rem, 2.7vw, 2.6rem); letter-spacing: -.04em; line-height: 1.12; max-width: 24ch; }
.process__grid { position: relative; margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.process__grid .vl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease); }
.process__grid.is-in .vl { transform: none; }
.vl:nth-of-type(1) { left: 0; }
.vl:nth-of-type(2) { left: 33.333%; transition-delay: .08s; }
.vl:nth-of-type(3) { left: 66.666%; transition-delay: .16s; }
.vl:nth-of-type(4) { left: calc(100% - 1px); transition-delay: .24s; }
.vl:nth-of-type(n+5) { display: none; }
.step { position: relative; padding: 1.6rem clamp(1rem, 2vw, 2rem) 2rem; opacity: 0; transform: translateX(-36px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: var(--d); }
.process__grid.is-in .step { opacity: 1; transform: none; }
.step:nth-of-type(1) { --d: .2s; }
.step:nth-of-type(2) { --d: .35s; }
.step:nth-of-type(3) { --d: .5s; }
.step h3 { display: inline-block; font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.25rem); background: var(--chip-bg); color: var(--chip-ink); padding: .85rem 1.2rem; border-radius: 6px; }
.step p { margin-top: 1rem; font-size: clamp(.92rem, 1.05vw, 1.05rem); color: var(--muted); max-width: 34ch; line-height: 1.4; }
.step figure { margin-top: 1.4rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover figure img { transform: scale(1.05); }

/* ---------- Portfolio index ---------- */
.portfolio { position: relative; padding: clamp(4rem, 7vw, 6.5rem) var(--pad); }
.portfolio__head { display: flex; justify-content: space-between; align-items: center; }
.portfolio__h { margin-top: clamp(1.6rem, 3.5vw, 3rem); font-size: clamp(2.3rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; max-width: 12ch; }
.portfolio__sub { margin-top: 1.4rem; color: var(--muted); max-width: 44ch; font-size: clamp(.95rem, 1.1vw, 1.1rem); }
.portfolio__list { margin-top: clamp(2rem, 4vw, 3.2rem); }
.pf { display: grid; grid-template-columns: 3.2rem 1fr auto 2.4rem; gap: 1rem; align-items: baseline; padding: clamp(.85rem, 1.2vw, 1.15rem) 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.pf:last-child { border-bottom: 1px solid var(--line); }
.pf__n { font-size: .9rem; color: var(--muted); }
.pf__t { font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.8rem); letter-spacing: -.03em; line-height: 1.1; }
.pf__c { font-size: .95rem; color: var(--muted); text-align: right; }
.pf__a { font-size: 1.3rem; text-align: right; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); }
.pf:hover { padding-left: 1.2rem; }
.pf--all .pf__a { opacity: 1; transform: none; }
.pf--all .pf__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line); }
.pf:hover .pf__a { opacity: 1; transform: none; }
.portfolio__list:hover .pf:not(:hover) { color: var(--muted); }

/* ---------- Loader (opening grid, after the reference video) ---------- */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 100; }
.loader__p { position: absolute; width: 50%; height: 50%; background: var(--bg); transition: transform .5s var(--ease); will-change: transform; backface-visibility: hidden; }
.loader__p::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); }
.loader__p--tl { left: 0; top: 0; } .loader__p--tr { right: 0; top: 0; }
.loader__p--bl { left: 0; bottom: 0; } .loader__p--br { right: 0; bottom: 0; }
/* 1. the cross opens up */
.loader.is-gap .loader__p--tl { transform: translate(-20px, -20px); }
.loader.is-gap .loader__p--tr { transform: translate(20px, -20px); }
.loader.is-gap .loader__p--bl { transform: translate(-20px, 20px); }
.loader.is-gap .loader__p--br { transform: translate(20px, 20px); }
/* 2. the panels leave */
.loader.is-open .loader__p { transition-duration: 1.3s; }
.loader.is-open .loader__p--tl { transform: translate(-101%, -101%); }
.loader.is-open .loader__p--tr { transform: translate(101%, -101%); transition-delay: .04s; }
.loader.is-open .loader__p--bl { transform: translate(-101%, 101%); transition-delay: .08s; }
.loader.is-open .loader__p--br { transform: translate(101%, 101%); transition-delay: .12s; }
.loader__logo { position: absolute; left: 50%; top: 50%; width: 46px; height: auto; translate: -50% -50%; opacity: 0; scale: .5; transition: opacity .5s ease, scale .6s var(--ease); will-change: opacity, scale; }
.loader.is-gap .loader__logo { opacity: 1; scale: 1; }
.loader.is-leaving .loader__logo { opacity: 0; scale: 1.7; transition: opacity 1.2s ease, scale 1.3s var(--ease); }
[data-theme="light"] .loader__logo { filter: brightness(.3) sepia(.4); }
html.is-loading { overflow: hidden; }

/* ---------- Track record ---------- */
.track { position: relative; padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(5rem, 9vw, 8rem); min-height: 100svh; }
.track__top { display: flex; justify-content: space-between; gap: 2rem; }
.track__h { font-size: clamp(2.6rem, 6.2vw, 6.2rem); letter-spacing: -.045em; line-height: .98; max-width: 9ch; margin-top: clamp(2rem, 6vw, 5rem); }
.track__sub { max-width: 34ch; margin-top: 1.6rem; color: var(--muted); font-size: clamp(.85rem, 1vw, 1rem); }
.track__right { margin-left: auto; width: min(46%, 640px); }
.bars { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(-4rem, -6vw, -2rem); }
.bar { width: clamp(120px, 17vw, 230px); padding-top: var(--y); }
.bar:nth-child(1) { --y: 0rem; }
.bar:nth-child(2) { --y: 3.6rem; }
.bar:nth-child(3) { --y: 7.2rem; }
.bar b { display: block; text-align: center; font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4.2rem); letter-spacing: -.04em; line-height: 1; }
.bar span { display: block; text-align: center; font-size: .85rem; margin: .6rem 0 .9rem; color: var(--muted); }
.bar div { height: clamp(220px, 34vh, 360px); border-top: 3px solid var(--ink); background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease); }
[data-theme="light"] .bar div { background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent); }
.bars.is-in .bar div { transform: none; }
.bars.is-in .bar:nth-child(2) div { transition-delay: .12s; }
.bars.is-in .bar:nth-child(3) div { transition-delay: .24s; }

/* ---------- Voices ---------- */
.voices { padding: clamp(4rem, 8vw, 7rem) var(--pad); }
.voices__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.quote { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: clamp(1.6rem, 2.6vw, 2.4rem) 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .15s linear; }
.quote:last-of-type { border-bottom: 1px solid var(--line); }
.quote p { font-size: clamp(1.25rem, 2.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1.2; max-width: 34ch; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.voices__more { margin-top: 1.6rem; font-size: .95rem; }
.voices__more a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

/* ---------- CTA ---------- */
.cta { position: relative; height: 230vh; }
.cta__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; }
.cone { position: absolute; inset: -12%; filter: blur(34px); pointer-events: none; will-change: transform; }
.cone::before, .cone::after { content: ""; position: absolute; background: radial-gradient(70% 90% at 50% var(--o), #ee3b0b 30%, rgba(238, 59, 11, .0) 100%); }
.cone::before { --o: 100%; left: 36%; top: 0; width: 34%; height: 52%; clip-path: polygon(0 0, 100% 0, 52% 100%, 46% 100%); }
.cone::after { --o: 0%; left: 22%; top: 50%; width: 40%; height: 50%; clip-path: polygon(46% 0, 52% 0, 100% 100%, 0 100%); }
[data-theme="light"] .cone { mix-blend-mode: multiply; opacity: .85; }
.cone i { position: absolute; width: 28%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(12, 90, 105, .8), rgba(12, 90, 105, 0)); }
.cone i:first-child { right: 6%; top: 2%; }
.cone i:last-child { left: 2%; bottom: 4%; }
.cta__in { position: relative; display: grid; gap: 2rem; justify-items: center; padding: 0 var(--pad); }
.cta__h { font-size: clamp(3rem, 7.6vw, 7.4rem); letter-spacing: -.045em; line-height: .96; max-width: 11ch; }
.cta__p { max-width: 38ch; color: var(--muted); font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(3rem, 6vw, 5rem) var(--pad) 1.6rem; background: var(--bg); }
.footer__row { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-top: 2.4rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer h4 { font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }
.news { display: flex; gap: 8px; }
.news input { width: min(300px, 62vw); background: transparent; border: 1px solid var(--line); color: var(--ink); padding: .8rem 1rem; border-radius: 6px; font: inherit; font-size: .9rem; }
.news input::placeholder { color: var(--muted); }
.news button { background: var(--chip-bg); color: var(--chip-ink); padding: .8rem 1.1rem; border-radius: 6px; font-size: .9rem; }
.news__ok { margin-top: .7rem; font-size: .9rem; color: var(--muted); min-height: 1.3em; }
.hp { position: absolute; left: -9999px; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .95rem; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__big { margin-top: clamp(3rem, 7vw, 6rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.footer__mail { font-size: clamp(1.8rem, 4.6vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.footer__addr { font-size: .9rem; color: var(--muted); max-width: 32ch; text-align: right; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; font-size: .8rem; color: var(--muted); align-items: center; }
.social { display: flex; gap: 1.2rem; }
.social a { display: inline-flex; font-size: 1.1rem; color: var(--ink); opacity: .75; transition: opacity .2s; }
.social a:hover { opacity: 1; }
.icon { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; }
  .row__n { text-align: left; order: -1; font-size: 1.4rem; color: var(--muted); }
  .row__tags { justify-content: flex-start; }
  .process__top { flex-direction: column; }
  .process__grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 2rem; }
  .process__grid .vl { display: none; }
  .step { padding-left: 0; padding-right: 0; }
  .track__right { width: 100%; margin-left: 0; }
  .track__top { flex-direction: column; }
  .bars { margin-top: 2rem; }
  .quote { grid-template-columns: 1fr; gap: .8rem; }
  .works__vf { width: 62vw; height: 30vh; }
  .footer__addr { text-align: left; }
  .no-pin .works__static { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__mark { top: 20%; font-size: 3rem; }
  .hero__mark--r { top: 80%; }
  .collage { width: 150vw; }
  .bar { width: 31%; }
  .bars { gap: 8px; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .ci { opacity: 1; transform: none; transition: none; }
  .hero__mark span { opacity: 1; transform: none; transition: none; }
  .hero__meta, .hero__scroll { opacity: 1; transition: none; }
  .hero__x, .hero__y { animation: none; opacity: 0; }
  .orb i { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .row, .quote { opacity: 1; }
  .about__text .w { opacity: 1; }
  .menu, .menu__list a { transition-duration: .01ms; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(243, 241, 236, .6); --muted: rgba(243, 241, 236, .85); }
  [data-theme="light"] { --line: rgba(17, 17, 17, .6); --muted: rgba(17, 17, 17, .85); }
}

/* ---------- Display type: Instrument Serif for big text, Newsreader for reading text ---------- */
.hero__mark, .about__title, .row__t, .row__n, .pf__t, .portfolio__h, .process__lede, .track__h, .bar b, .quote p, .cta__h, .footer__mail, .menu__list a, .works__label, .works__count, .shero__h, .pcard__t, .viewer__t, .stat b { font-family: var(--display); font-weight: 400; }
.hero__mark { font-size: clamp(3.2rem, 7vw, 8.4rem); letter-spacing: -.02em; line-height: .88; }
.about__title { letter-spacing: -.015em; }
.row__t { font-size: clamp(2.4rem, 4.6vw, 4.6rem); letter-spacing: -.02em; }
.row__n { letter-spacing: -.01em; font-size: clamp(2rem, 3.6vw, 3.6rem); }
.pf__t { font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.01em; }
.portfolio__h { font-size: clamp(2.8rem, 6vw, 5.8rem); letter-spacing: -.025em; }
.process__lede { font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -.015em; line-height: 1.08; }
.track__h { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.03em; line-height: .94; }
.bar b { letter-spacing: -.02em; }
.quote p { font-size: clamp(1.5rem, 2.6vw, 2.5rem); letter-spacing: -.015em; line-height: 1.12; }
.cta__h { font-size: clamp(3.4rem, 8.4vw, 8.4rem); letter-spacing: -.03em; line-height: .92; }
.footer__mail { letter-spacing: -.02em; }
.menu__list a { letter-spacing: -.02em; }
.works__label { font-size: clamp(1.6rem, 3vw, 2.9rem); letter-spacing: 0; text-transform: none; }
.works__label sup { font-size: .4em; }
.works__count { letter-spacing: 0; }
.shero__h { letter-spacing: -.035em; font-size: clamp(3.8rem, 11vw, 11rem); line-height: .88; }
.pcard__t { font-size: clamp(1.3rem, 1.9vw, 1.8rem); letter-spacing: -.01em; }
.viewer__t { font-size: clamp(2.2rem, 3.8vw, 3.8rem); letter-spacing: -.02em; }
.stat b { letter-spacing: -.02em; }
.footer h4, .btn b { font-weight: 400; }

/* ---------- Drawn arrows (replace the text arrow characters) ---------- */
.arr { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.works__all { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.works__all .circ { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.works__all:hover .circ { background: #f3f1ec; color: #111; border-color: #f3f1ec; transform: translateY(3px); }
.voices__more a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.voices__more a span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.voices__more a .arr { transition: transform .4s var(--ease); }
.voices__more a:hover .arr { transform: translateX(4px); }
.ft__top { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.ft__top span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.ft__top .arr { transition: transform .4s var(--ease); }
.ft__top:hover .arr { transform: translateY(-3px); }
