:root {
  --paper: #fbfaf7;
  --paper-2: #f3efe8;
  --ink: #121014;
  --ink-2: #4b474e;
  --ink-3: #8a858d;
  --line: rgba(18, 16, 20, .12);
  --red: #a8111f;
  --red-2: #d01d2c;
  --red-soft: rgba(168, 17, 31, .08);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

*, *::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; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
em { font-style: italic; }
h1, h2, h3 { margin: 0; font-weight: 500; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  display: flex; position: fixed; inset: 0; z-index: 150; background: var(--paper);
  flex-direction: column; justify-content: space-between; padding: var(--pad);
}
.loader-top { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.loader-top span:first-child { font: 600 26px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.loader-top b, .brand b, .footer-giant b { color: var(--red); }
.loader-count { font: 500 clamp(110px, 24vw, 360px)/.8 var(--serif); letter-spacing: -.04em; display: flex; align-items: flex-start; }
.loader-count sup { font-size: .22em; color: var(--red); margin: .2em 0 0 .1em; }
.loader-bar { height: 2px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.loader-curtain { position: absolute; inset: 0; background: var(--red); transform: translateY(100%); }
html.loaded .loader { pointer-events: none; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0; z-index: 140; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(168, 17, 31, .45);
    display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
  }
  .cursor-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(168, 17, 31, .08); }
  .cursor.is-view .cursor-ring { width: 108px; height: 108px; margin: -54px 0 0 -54px; background: var(--red); border-color: var(--red); }
  .cursor.is-view .cursor-label { opacity: 1; }
  .cursor.is-view .cursor-dot { opacity: 0; }
  .cursor.on-dark .cursor-ring { border-color: rgba(255, 255, 255, .5); }
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad);
  transition: transform .6s var(--ease), background .4s, padding .4s, box-shadow .4s;
}
.header.scrolled { background: rgba(251, 250, 247, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.header.hide { transform: translateY(-110%); }
.brand { font: 600 30px/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; overflow: hidden; display: inline-block; height: 1.5em; }
.nav a span { display: block; transition: transform .5s var(--ease); }
.nav a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--red); }
.nav a:hover span { transform: translateY(-100%); }
.header-right { display: flex; align-items: center; gap: 22px; }
.clock { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #1fa85a; box-shadow: 0 0 0 0 rgba(31, 168, 90, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 168, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 90, 0); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper); display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: 90px var(--pad) 40px; font: 500 46px/1.15 var(--serif);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .btn { margin-top: 28px; font: 600 15px/1 var(--sans); align-self: flex-start; }
.mobile-contacts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 22px; font: 500 16px/1.4 var(--sans); color: var(--ink-2); }
.mobile-contacts a:hover { color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .5s;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(168, 17, 31, .7); }
.btn-red::before { background: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; min-height: 46px; padding: 0 22px; font-size: 14px; }
.btn-ink::before { background: var(--red); }
.btn-line { border: 1px solid rgba(18, 16, 20, .25); color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: #fff; border-color: var(--ink); }
.btn-wide { width: 100%; }
.magnetic span, .magnetic svg { pointer-events: none; }

/* ---------- reveal helpers ---------- */
.js .reveal-up { opacity: 0; transform: translateY(30px); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line .w, .split .w { display: inline-block; will-change: transform; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; width: 70vw; height: 70vw; right: -18vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 29, 44, .16) 0%, rgba(208, 29, 44, .05) 40%, transparent 68%);
  filter: blur(20px); pointer-events: none;
}
.hero-stage { position: absolute; inset: 0; pointer-events: none; }
.hero-stage canvas { width: 100%; height: 100%; display: block; }
.hero-stage.fallback { background: url(assets/shots/perchini-poster.jpg) right 8% center / 44vw auto no-repeat; opacity: .9; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow i { width: 40px; height: 1px; background: var(--red); }
.hero-title { font: 500 clamp(44px, min(6.2vw, 10.5vh), 104px)/.95 var(--serif); letter-spacing: -.035em; max-width: none; }
.hero-title em { color: var(--red); font-weight: 500; }
.hero-title .dot { color: var(--red); }
.hero-copy { max-width: 425px; margin: 24px 0 0; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-foot {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: auto auto 0; padding: 28px var(--pad) 28px;
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(24px, 5vw, 80px); align-items: end;
}
.stat { display: flex; align-items: center; gap: 14px; }
.stat b { font: 500 54px/1 var(--serif); letter-spacing: -.03em; }
.stat b small { font-size: .5em; color: var(--red); }
.stat span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.scroll-hint { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.scroll-hint i { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--red); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--paper); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-row { display: flex; align-items: center; gap: 38px; padding-right: 38px; font: 500 clamp(40px, 6vw, 92px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.marquee-row em { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-row b { color: var(--red); font-size: .45em; }

/* ---------- section heads ---------- */
section { position: relative; }
.work, .services, .process { padding-top: clamp(100px, 13vw, 190px); }
.section-head { margin-bottom: clamp(56px, 7vw, 100px); }
.kicker { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.kicker.light { color: #ff5a66; }
.section-head h2, .contact h2 { font: 500 clamp(46px, 7vw, 112px)/.95 var(--serif); letter-spacing: -.03em; max-width: 14ch; }
.section-head h2 em, .contact h2 em { color: var(--red); }
.section-lead { max-width: 560px; margin: 30px 0 0; color: var(--ink-2); }

/* ---------- cases ---------- */
.cases { display: flex; flex-direction: column; gap: clamp(110px, 14vw, 200px); max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.case-item { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.case-item.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.case-item.flip .case-media { order: 2; }
.case-media { position: relative; padding: 0 0 8% 0; }
.case-item.flip .case-media { padding: 0 0 8% 0; }
.browser {
  display: block; width: 100%; text-align: left; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 100px -40px rgba(18, 16, 20, .35), 0 0 0 1px var(--line);
  transform-origin: center; cursor: none;
}
@media (hover: none) { .browser { cursor: pointer; } }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f4f2ee; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcd8d1; }
.browser-bar i:first-child { background: var(--red-2); opacity: .8; }
.browser-url { margin: 0 auto; padding: 3px 18px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--ink-3); transform: translateX(-20px); }
.browser-screen { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.scroll-img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.browser:hover .scroll-img, .browser:focus-visible .scroll-img { transform: translateY(var(--shift, 0)); transition-duration: var(--dur, 6s); }
.browser .scroll-img { transition-duration: 1.2s; }
.phone {
  position: absolute; right: -3%; bottom: 0; width: 23%; aspect-ratio: 9 / 19.2; border-radius: 26px; padding: 7px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(18, 16, 20, .55);
}
.case-item.flip .phone { right: auto; left: -3%; }
.phone-screen { display: block; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; position: relative; }
.phone-screen::before { content: ''; position: absolute; top: 6px; left: 50%; width: 32%; height: 14px; margin-left: -16%; border-radius: 10px; background: var(--ink); z-index: 2; }
.phone .scroll-img { animation: phoneScroll 22s cubic-bezier(.45, .05, .35, 1) infinite alternate; animation-play-state: paused; transition: none; }
.case-item.in-view .phone .scroll-img { animation-play-state: running; }
@keyframes phoneScroll { 0%, 8% { transform: translateY(0); } 100% { transform: translateY(var(--pshift, -60%)); } }
.case-num { display: flex; align-items: flex-start; font: 500 clamp(80px, 9vw, 150px)/.8 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(168, 17, 31, .55); margin-bottom: 28px; }
.case-num small { font-size: .2em; letter-spacing: 0; -webkit-text-stroke: 0; color: var(--ink-3); margin: .2em 0 0 10px; }
.case-cat { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.case-name { font: 500 clamp(44px, 5vw, 78px)/1 var(--serif); letter-spacing: -.03em; }
.case-name .num { font: 400 .82em/1 var(--sans); letter-spacing: -.02em; }
.case-text { margin: 22px 0 0; color: var(--ink-2); max-width: 46ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: border-color .3s, color .3s; }
.case-item:hover .tags li { border-color: rgba(168, 17, 31, .3); }
.case-btns { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.link-arrow { position: relative; display: inline-flex; gap: 10px; align-items: center; padding: 6px 0; font-weight: 600; font-size: 15px; }
.link-arrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow span { color: var(--red); transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow.muted { color: var(--ink-2); }
.link-arrow.accent-link { color: var(--red); }

/* ---------- statement ---------- */
.statement { padding-top: clamp(130px, 16vw, 240px); }
.statement-text { margin: 0; max-width: 22ch; font: 500 clamp(36px, 5.2vw, 84px)/1.08 var(--serif); letter-spacing: -.02em; }
.statement-text em { color: var(--red); }
.statement-text .sw { opacity: .14; transition: opacity .2s; }

/* ---------- services ---------- */
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 40px 30px 100px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate; cursor: pointer; transition: color .6s var(--ease);
}
.service:first-child { border-left: 1px solid var(--line); }
.service::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: circle(0% at var(--mx, 50%) var(--my, 100%)); transition: clip-path .8s var(--ease); }
.service:hover { color: #fff; }
.service:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 100%)); }
.service-num { font: 500 18px/1 var(--serif); color: var(--red); transition: color .6s; }
.service:hover .service-num, .service:hover p, .service:hover li { color: rgba(255, 255, 255, .85); }
.service h3 { margin: 70px 0 16px; font: 500 clamp(28px, 2.4vw, 38px)/1.05 var(--serif); letter-spacing: -.02em; }
.service p { margin: 0; font-size: 15px; color: var(--ink-2); transition: color .6s; }
.service ul { list-style: none; margin: 24px 0 0; padding: 0; font-size: 13px; color: var(--ink-3); }
.service li { padding: 4px 0; transition: color .6s; }
.service li::before { content: '— '; }
.service-arrow { position: absolute; right: 26px; bottom: 26px; font-size: 26px; transition: transform .6s var(--ease); }
.service:hover .service-arrow { transform: rotate(45deg); }

/* ---------- process ---------- */
.process { padding-bottom: clamp(100px, 13vw, 190px); }
.process .wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { position: relative; padding-top: 54px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--red); background: var(--paper); z-index: 2; transition: background .4s; }
.step.active::before { background: var(--red); }
.step-num { font: 500 64px/1 var(--serif); color: var(--ink); letter-spacing: -.04em; }
.step h3 { margin: 18px 0 12px; font: 600 20px/1.25 var(--sans); letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps-line { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--head, 0px) + 6px); height: 1px; background: var(--line); }
.steps-line i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #f4f1ec; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; }
.contact-glow { position: absolute; width: 80vw; height: 80vw; left: -30vw; bottom: -50vw; border-radius: 50%; background: radial-gradient(circle, rgba(208, 29, 44, .35), transparent 62%); pointer-events: none; }
.contact h2 em { color: #ff4b59; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(50px, 8vw, 130px); align-items: start; }
.contact-intro > p { max-width: 460px; margin: 30px 0 0; color: rgba(244, 241, 236, .7); }
.contact-links { margin-top: 50px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.big-link { font: 500 clamp(40px, 4.6vw, 70px)/1 var(--serif); letter-spacing: -.02em; display: inline-flex; gap: 14px; align-items: baseline; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.big-link:hover { background-size: 100% 1px; color: #ff6b77; }
.big-link span { font-size: .55em; color: #ff4b59; }
.phone-link { font: 400 clamp(22px, 2.2vw, 30px)/1.2 var(--sans); color: rgba(244, 241, 236, .88); letter-spacing: -.01em; transition: color .3s; }
.phone-link:hover { color: #fff; }
.contact-channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.channel-pill {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04); color: #f4f1ec; font-size: 14px; font-weight: 500;
  transition: border-color .3s, background .3s, color .3s;
}
.channel-pill:hover { border-color: #ff4b59; background: rgba(208, 29, 44, .18); color: #fff; }
.channel-pill.subtle { color: rgba(244, 241, 236, .68); }
.channel-pill.copied { border-color: rgba(63, 212, 132, .55); background: rgba(31, 168, 90, .18); color: #d8ffea; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.brief-status { margin: -6px 0 0; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.brief-status[hidden] { display: none; }
.brief-status.ok { background: rgba(31, 168, 90, .16); border: 1px solid rgba(63, 212, 132, .4); color: #d8ffea; }
.brief-status.err { background: rgba(208, 29, 44, .18); border: 1px solid rgba(255, 75, 89, .45); color: #ffd4d8; }
.brief-status a { text-decoration: underline; text-underline-offset: 3px; color: #fff; font-weight: 600; }
.brief { padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > span, .brief legend { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 241, 236, .55); }
.field i { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: normal; }
.brief input[type=text], .brief textarea {
  width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font: 400 19px/1.4 var(--sans); resize: none; transition: border-color .3s;
}
.brief input::placeholder, .brief textarea::placeholder { color: rgba(255, 255, 255, .3); }
.brief input:focus, .brief textarea:focus { outline: none; border-color: #ff4b59; }
.brief input.invalid { border-color: #ff4b59; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.brief fieldset { border: 0; margin: 0; padding: 0; }
.brief legend { margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; transition: background .3s, border-color .3s, color .3s; }
.chips label:hover span { border-color: rgba(255, 255, 255, .5); }
.chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #ff4b59; outline-offset: 2px; }
.brief-ref { margin: -8px 0 0; font-size: 14px; color: #ff8a93; display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brief-ref[hidden] { display: none; }
.brief-ref-clear { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; line-height: 1; display: grid; place-items: center; transition: background .25s; }
.brief-ref-clear:hover { background: var(--red-2); }
.brief-note { margin: -10px 0 0; font-size: 13px; color: rgba(244, 241, 236, .45); text-align: center; }
.contact .btn-red::before { background: #fff; }
.contact .btn-red:hover { color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(244, 241, 236, .55); overflow: hidden; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; padding-top: 30px; padding-bottom: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-row span { margin-right: auto; }
.footer-row a:hover { color: #fff; }
.footer-giant { font: 500 clamp(130px, 31vw, 520px)/.78 var(--serif); letter-spacing: -.06em; color: #f4f1ec; text-align: center; padding-top: 30px; transform: translateY(12%); user-select: none; }

/* ---------- case dialog ---------- */
.case { padding: 0; margin: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--ink); overflow: hidden; }
.case::backdrop { background: rgba(18, 16, 20, .55); backdrop-filter: blur(6px); }
.case-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(920px, 100%); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.case-close { position: sticky; top: 18px; float: right; margin: 18px 18px 0 0; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 28px; line-height: 1; z-index: 3; transition: transform .5s var(--ease), background .3s; }
.case-close:hover { transform: rotate(90deg); background: var(--red); }
.case-body { padding: clamp(30px, 5vw, 64px); }
.case-body h2 { font: 500 clamp(52px, 7vw, 96px)/.95 var(--serif); letter-spacing: -.03em; }
.case-desc { margin: 22px 0 0; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.case-meta span { padding: 7px 14px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 13px; font-weight: 600; }
.device-switch { display: inline-flex; margin: 40px 0 18px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.device-switch button { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s; }
.device-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.case-preview { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(18, 16, 20, .3); height: min(64vh, 620px); margin: 0 auto; transition: width .6s var(--ease), border-radius .6s; width: 100%; }
.case-preview[data-device="mob"] { width: min(340px, 100%); border-radius: 34px; border: 8px solid var(--ink); }
.case-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.case-scroll img { width: 100%; height: auto; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.case[open] .case-panel { animation: slideIn .7s var(--ease); }
.case[open]::backdrop { animation: fadeIn .5s; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .clock { display: none; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .header-right .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 72px; justify-content: flex-start; }
  .hero-stage { top: 50px; bottom: auto; height: 32svh; }
  .hero-inner { margin-top: 25svh; }
  .hero-glow { width: 120vw; height: 120vw; right: -40vw; top: -20vw; }
  .hero-foot { grid-template-columns: 1fr 1fr 1fr; padding: 20px var(--pad) 20px; gap: 14px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat b { font-size: 40px; }
  .stat span { font-size: 12px; }
  .scroll-hint { display: none; }
  .case-item, .case-item.flip { grid-template-columns: 1fr; gap: 34px; }
  .case-item.flip .case-media { order: 0; }
  .case-num { font-size: 72px; margin-bottom: 18px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .steps-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(42px, 12.2vw, 60px); max-width: 13ch; }
  .hero-copy { margin-top: 16px; font-size: 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stat br { display: none; }
  .phone { width: 28%; border-radius: 18px; padding: 4px; right: -2%; }
  .phone-screen { border-radius: 14px; }
  .phone-screen::before { height: 8px; top: 4px; }
  .case-item.flip .phone { left: auto; right: -2%; }
  .service-list { grid-template-columns: 1fr; }
  .service { border-left: 1px solid var(--line); padding-bottom: 70px; }
  .service h3 { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .brief { padding: 24px 20px; }
  .case-preview { height: 60vh; }
}

/* numerals: Cormorant has old-style figures, use the sans for digits */
.loader-count, .stat b, .case-num, .step-num, .service-num { font-family: var(--sans); font-weight: 300; letter-spacing: -.06em; }
.case-num { font-weight: 200; }
.stat b { font-size: 46px; }
.step-num { font-size: 56px; font-weight: 200; }
.service-num { font-size: 14px; font-weight: 600; letter-spacing: .1em; }