:root {
  --bg: #080808;
  --ink: #ece8e1;
  --muted: #8b8680;
  --dim: #55514c;
  --red: #e5391c;
  --display: "Anton", "Bebas Neue", Impact, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 3.6vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }

/* ---------- layers ----------
   bg imagery (z 0)  <  WebGL ribbon (z 1)  <  copy (z 2)
   Sections deliberately have NO z-index so children join the root stacking context. */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.bg-img { position: absolute; z-index: 0; background-size: cover; background-position: center; }
section > *:not(.bg-img), .nav, .footer { position: relative; z-index: 2; }

.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-4%) }
  60% { transform: translate(-4%,-1%) } 80% { transform: translate(3%,3%) } 100% { transform: translate(0,0) }
}

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); transition: width .35s, height .35s, background .35s; }
.cursor.hover .cursor-ring { width: 74px; height: 74px; background: rgba(255,255,255,.08); }
@media (hover: none) { .cursor { display: none; } body, a { cursor: auto; } }

/* ---------- shared type ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: #f5f1e8; }
.logo-mark { width: 30px; height: 28px; flex: none; overflow: visible; }
.logo-door { fill: var(--red); transition: filter .4s; }
.logo:hover .logo-door { filter: drop-shadow(0 0 10px var(--red)) brightness(1.3); }
.logo-word { font-family: "Orbitron", var(--sans); font-weight: 800; font-size: 13px; letter-spacing: .26em; }
.logo-sm { font-weight: 400; font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.kicker, .label, .side-words, .nav-tag, .text-link, .cta-label, .stack-labels, .foot-tag {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 10.5px; font-weight: 500;
}
.label { color: var(--muted); margin-bottom: 10px; }
.label.red { color: var(--red); }
.desc { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 14px 0 24px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; }
.text-link span { transition: transform .3s; }
.text-link:hover span { transform: translateX(6px); }
.red-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }

.mega {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 11.2vw, 210px); line-height: .9; letter-spacing: -.005em;
  color: #f1eee8;
  text-shadow: 0 2px 40px rgba(0,0,0,.6);
}
.mega .line, .serif-title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.mega .line { overflow: visible; perspective: 900px; }
.split .ch { display: inline-block; transform-origin: 50% 100% -40px; will-change: transform; }

.serif-title { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 2.9vw, 52px); line-height: .98; letter-spacing: -.01em; }
.serif-title .line > span { display: inline-block; }
.serif-title.big { text-transform: none; font-size: clamp(38px, 3.4vw, 62px); line-height: 1; }
.serif-title.mid { text-transform: none; font-size: clamp(32px, 2.8vw, 52px); line-height: 1.05; }

.circle-cta { display: inline-flex; align-items: center; gap: 22px; }
.circle { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--red); display: grid; place-items: center; transition: background .35s, transform .35s; }
.circle svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: transform .35s; }
.circle-cta:hover .circle { background: var(--red); transform: scale(1.08); }
.circle-cta:hover .circle svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 40 !important;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  background: linear-gradient(rgba(8,8,8,.75), rgba(8,8,8,0));
}
.nav-links { display: flex; gap: 42px; font-size: 13px; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .35s; }
.nav-links a:hover::after { right: 0; }
.nav-tag { justify-self: end; display: flex; gap: 12px; align-items: center; font-size: 9.5px; }

/* ---------- hero ---------- */
section { position: relative; padding: 0 var(--gutter); }
.hero { min-height: 100vh; padding-top: 110px; }
.hero-kicker { color: var(--muted); line-height: 1.75; font-size: 9.5px; }
.hero-title { margin-top: 5vh; }
.hero-cta { margin-top: 5vh; }
.hero-scene {
  right: 6vw; top: 52vh; width: 46vw; height: 56vh;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 52%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 62% at 50% 52%, #000 45%, transparent 100%);
}

/* ---------- projects ---------- */
.project { min-height: 94vh; display: flex; align-items: center; }
.project-copy { width: 23vw; min-width: 240px; }
.num { font-family: var(--serif); font-size: 34px; font-weight: 300; padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.num::after { content: ""; position: absolute; left: 0; bottom: 0; width: 180px; height: 1px; background: var(--dim); transform-origin: left; transform: scaleX(var(--rule, 1)); }
.side-words { position: absolute !important; right: var(--gutter); top: 50%; color: var(--muted); line-height: 1.7; font-size: 9.5px; }

/* ---------- make ---------- */
.make { min-height: 90vh; }
.apps-links .soon { color: #8b8680; }
.apps { min-height: 100vh; }
.apps-links { top: auto; bottom: 8vh; line-height: 2.2; }
.apps-links a:hover { color: var(--ink); }
/* agency pitch beside each trio coil */
.agency-note { width: 280px; text-transform: none; letter-spacing: 0; font-size: 13.5px; line-height: 1.55; color: #a9a39b; }
.agency-note .an-k { font: 500 9.5px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--red); }
.agency-note .an-t { font: 400 30px/1.05 var(--serif); color: var(--ink); margin: 10px 0 8px; }
.agency-note a { display: inline-block; margin-top: 12px; font: 500 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); line-height: 1; }
.agency-note a span { color: var(--red); }
.make-words { top: 46%; }

/* ---------- studio ---------- */
.studio { min-height: 100vh; display: flex; align-items: center; }
.studio-copy { width: 30vw; min-width: 280px; }
.studio-copy .serif-title { margin: 6px 0 4px; }
.prompt-card {
  position: absolute !important; right: 14vw; bottom: 14vh; width: 290px;
  background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.12); padding: 20px 22px;
  backdrop-filter: blur(6px);
}
.prompt-card .label { color: var(--ink); }
.prompt-card .typed { font-size: 12.5px; line-height: 1.55; color: #c9c4bd; min-height: 4.6em; }
.prompt-card .typed::after { content: "▍"; color: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- process ---------- */
.process { min-height: 100vh; display: flex; align-items: center; gap: 4vw; }
.process-copy { width: 32vw; min-width: 300px; }
.stack { position: relative; flex: 1; height: 56vh; perspective: 1400px; }
.card {
  position: absolute; top: 8%; width: 46%; aspect-ratio: 1.45; border: 1px solid rgba(255,255,255,.14);
  background: #0d0d0d center/cover; transform-style: preserve-3d; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.card .wire { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0/100% 22%,
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0/18% 100%; }
.card .wire2 { background:
    linear-gradient(90deg, transparent 8%, rgba(255,255,255,.1) 8% 60%, transparent 60%) 0 18%/100% 6px no-repeat,
    linear-gradient(90deg, transparent 8%, rgba(255,255,255,.06) 8% 40%, transparent 40%) 0 30%/100% 4px no-repeat,
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)) 55% 62%/38% 46% no-repeat; }
.sora-final { color: #1b1a18; padding: 18px 22px; }
.sora-final .mini-nav { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.sora-final h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2vw, 34px); line-height: .95; margin-top: 12%; }
.sora-final p { font-size: 9px; line-height: 1.5; margin-top: 10px; color: #3a3833; }
.stack-labels { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }

/* ---------- cta ---------- */
.cta { min-height: 92vh; display: flex; align-items: center; gap: 4vw; }
.cta-title { font-size: clamp(56px, 9vw, 168px); }
.red-cta .cta-label { color: var(--red); }
.cave {
  right: 0; top: 4vh; width: 34vw; height: 84vh;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 60% 50%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 60% 50%, #000 40%, transparent 100%);
}

/* ---------- footer ---------- */
/* ---------- the archive: every build ---------- */
.archive { position: relative; z-index: 3; padding-top: 16vh; padding-bottom: 12vh; background: #080808; }
.ar-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4vw; }
.ar-head .label { grid-column: 1 / -1; }
.ar-title { font: 400 clamp(56px, 8.4vw, 150px)/.88 var(--display); text-transform: uppercase; margin-top: 14px; }
.ar-title > span { display: block; }
.ar-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--red); filter: drop-shadow(0 0 18px rgba(229,57,28,.5)); }
.ar-stats { list-style: none; display: flex; gap: 4vw; padding-bottom: 1vh; }
.ar-stats li { display: grid; gap: 6px; }
.ar-stats b { font: 400 clamp(44px, 4.6vw, 80px)/.9 var(--display); color: var(--ink); }
.ar-stats li:nth-child(3) b { color: var(--red); }
.ar-stats span { font: 500 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ar-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 7vh 0 3vh; }
.ar-filters button { background: none; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 10px 16px; font: 500 12px var(--sans); color: #c9c4bd; cursor: pointer; transition: .25s; }
.ar-filters button sup { font-size: 9px; margin-left: 4px; color: var(--muted); }
.ar-filters button:hover { border-color: rgba(255,255,255,.35); }
.ar-filters button.on { background: var(--ink); color: #111; border-color: var(--ink); }
.ar-filters button.on sup { color: var(--red); }
.ar-list { list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
.ar-row { border-bottom: 1px solid rgba(255,255,255,.1); }
.ar-row a { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, .9fr) 150px 40px; align-items: center; gap: 2vw; padding: 2.1vh 0;
  color: var(--ink); text-decoration: none; overflow: hidden; }
/* a red wash sweeps across the row you're on */
.ar-row a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229,57,28,.16), rgba(229,57,28,0) 70%); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ar-row a:hover::before, .ar-row a:focus-visible::before { transform: scaleX(1); }
.ar-row a > * { position: relative; }
.ar-n { font: 400 15px var(--serif); color: var(--muted); }
.ar-thumb { display: none; }
.ar-name { font: 400 clamp(30px, 3.5vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; transition: transform .5s cubic-bezier(.2,.8,.2,1), color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-row a:hover .ar-name { transform: translateX(18px); color: #fff; }
.ar-what { font-size: 14px; color: #a9a39b; }
.ar-cat { font: 500 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ar-go { font-size: 20px; color: var(--red); opacity: 0; transform: translate(-10px, 10px); transition: .4s cubic-bezier(.2,.8,.2,1); }
.ar-row a:hover .ar-go { opacity: 1; transform: none; }
/* lives on <body> (moved by archive.js) so no section rule or transformed parent can pull it into the flow */
.ar-preview { position: fixed !important; left: 0; top: 0; z-index: 40; width: 360px; aspect-ratio: 16 / 10; margin: -112px 0 0 40px; pointer-events: none; opacity: 0;
  border-radius: 12px; overflow: hidden; clip-path: inset(50% 0% 50% 0%); transform: scale(.85);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12), 0 0 60px rgba(229,57,28,.25); }
.ar-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.foot-area { flex-basis: 100%; font-size: 12px; color: #6f6a64; line-height: 1.6; }
.foot-legal { font-size: 12px; color: #6f6a64; }
.foot-services { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; }
.foot-services a { color: #9a948c; text-decoration: none; }
.foot-services a:hover { color: var(--ink); }
.svc h3 a.svc-link { color: inherit; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.svc:hover h3 a.svc-link { background-size: 100% 1px; }
.svc h3 a.svc-link::after { content: ' →'; color: var(--red); opacity: 0; transition: opacity .3s; }
.svc:hover h3 a.svc-link::after { opacity: 1; }
.foot-legal a { color: #9a948c; }
.foot-legal a:hover { color: var(--ink); }
.footer { flex-wrap: wrap; }

/* ---------- contact form ---------- */
.cf { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6vw; padding-top: 14vh; padding-bottom: 14vh; align-items: start;
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(229,57,28,.12), transparent 65%), #080808; }
.cf-title { font: 400 clamp(46px, 5.6vw, 96px)/.95 var(--serif); margin: 18px 0 22px; }
.cf-title em { color: var(--red); font-style: italic; }
.cf-sub { color: #b9b3ab; font-size: 15px; line-height: 1.7; max-width: 420px; }
.cf-facts { list-style: none; margin-top: 5vh; display: grid; gap: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 3vh; }
.cf-facts li { display: grid; grid-template-columns: 90px 1fr; font-size: 14px; color: #d4cec6; }
.cf-facts b { font: 500 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cf-facts a { color: var(--red); }
.cf-right { position: relative; background: linear-gradient(#111010, #0b0b0b); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(229,57,28,.08) inset; }
.cf-form { display: grid; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 9px; }
.cf-field > span { font: 500 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cf-field > span i { font-style: normal; text-transform: none; letter-spacing: 0; color: #5d5852; margin-left: 4px; }
.cf input, .cf textarea { width: 100%; background: #0d0d0d; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: var(--ink);
  padding: 13px 14px; font: 15px/1.5 var(--sans); transition: border-color .3s, box-shadow .3s; resize: vertical; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: rgba(229,57,28,.6); box-shadow: 0 0 0 3px rgba(229,57,28,.15); }
.cf .bad { border-color: var(--red); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips button { background: none; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 8px 14px; font: 13px var(--sans); color: #c9c4bd; cursor: pointer; transition: .25s; }
.cf-chips button:hover { border-color: rgba(255,255,255,.3); }
.cf-chips button.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 18px rgba(229,57,28,.45); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-err { color: #ff8a73; font-size: 13px; }
.cf-err:empty { display: none; }
.cf-send { justify-self: start; display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: #fff; border: 0; border-radius: 60px; padding: 17px 26px;
  font: 600 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; box-shadow: 0 14px 40px rgba(229,57,28,.35); transition: transform .3s, box-shadow .3s; }
.cf-send:hover { transform: translateY(-2px); box-shadow: 0 18px 54px rgba(229,57,28,.55); }
.cf-send svg { width: 18px; fill: none; stroke: #fff; stroke-width: 1.8; transition: transform .3s; }
.cf-send:hover svg { transform: translateX(4px); }
.cf-send.sending { opacity: .7; cursor: progress; }
.cf-send.sending svg { animation: cfPulse .8s ease-in-out infinite alternate; }
@keyframes cfPulse { to { transform: translateX(8px); opacity: .3; } }
.cf-done { text-align: center; padding: 8vh 0; }
.cf-done-mark { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--red); color: #fff; font-size: 30px; box-shadow: 0 0 60px rgba(229,57,28,.6); }
.cf-done h3 { font: 400 clamp(36px, 4vw, 60px)/1 var(--serif); margin: 26px 0 14px; }
.cf-done p { color: #b9b3ab; margin-bottom: 26px; }
.footer { display: flex; align-items: center; gap: 36px; padding: 36px var(--gutter) 40px; border-top: 1px solid rgba(255,255,255,.05); }
.foot-rule { width: 120px; height: 1px; background: var(--dim); }
.foot-tag { color: var(--muted); font-size: 9.5px; flex: 1; }
.footer .nav-links { align-items: center; }

/* ---------- small screens (first pass; tuned later) ---------- */
@media (max-width: 760px) {
  .door-zone { width: 90vw; right: -10vw; top: 62vh; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-scene { width: 90vw; right: -10vw; top: 62vh; }
  .project-copy, .studio-copy, .process-copy { width: 70vw; }
  .side-words { display: none; }
  .process, .cta { flex-direction: column; align-items: flex-start; justify-content: center; }
  .stack { width: 100%; flex: none; height: 44vh; }
  .prompt-card { right: var(--gutter); bottom: 6vh; width: 230px; }
  .footer { flex-wrap: wrap; gap: 16px; }
  .foot-rule { display: none; }
}

/* ---------- portal: clicked site takes over the screen ---------- */
.portal { position: fixed; inset: 0; z-index: 55; pointer-events: none; visibility: hidden; perspective: 1600px; }
.portal.open { pointer-events: auto; visibility: visible; }
.pt-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.pt-flash { position: absolute; inset: 0; background: #f4f6ff; opacity: 0; z-index: 5; pointer-events: none; }
.pt-bar { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 6; }
.pt-bar-top { top: 0; } .pt-bar-bot { bottom: 0; }
.pt-ring { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; margin: -15vmin 0 0 -15vmin; border-radius: 50%; opacity: 0; z-index: 3;
  background: conic-gradient(from 0deg, #fff0f7, #d9f2ff, #f7f0d8, #e8dcff, #fff0f7); filter: blur(2px); mix-blend-mode: screen; }
.pt-frame { position: absolute; left: 0; right: 0; top: 56px; bottom: 0; opacity: 0; z-index: 1; background: #000; }
.pt-frame iframe, .pt-phone-screen iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.pt-phone { position: absolute; opacity: 0; z-index: 1; border-radius: 34px; box-shadow: 0 0 0 10px #0a0a0a, 0 0 0 11px rgba(255,255,255,.22), 0 60px 140px rgba(0,0,0,.9); overflow: hidden; background: #000; }
.pt-phone-screen { position: absolute; inset: 0; opacity: 0; }
.pt-card { position: fixed; z-index: 2; overflow: hidden; transform-style: preserve-3d; will-change: transform, left, top, width, height; background: #111; }
.pt-drop { position: fixed; z-index: 3; border-radius: 50%; background-size: 600% 600%; background-position: center;
  box-shadow: inset 0 -4px 10px rgba(255,255,255,.6), 0 0 18px rgba(160,220,255,.5); pointer-events: none; transform: translate(-50%, -50%); }
.mk[data-site] { cursor: pointer; transition: box-shadow .3s; }
.mk[data-site]:hover, .mk[data-site]:focus-visible { box-shadow: 0 0 0 1px rgba(229,57,28,.8), 0 40px 100px rgba(229,57,28,.3); outline: none; }
.mk[data-site]::after { content: 'Open live ↗'; position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0; transition: .3s;
  font: 600 9.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--red); padding: 8px 12px; border-radius: 30px; white-space: nowrap; }
.mk[data-site]:hover::after, .mk[data-site]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.pt-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.portal[data-fx="phone"] .pt-card { z-index: 3; }
.pt-tiles { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform-style: preserve-3d; perspective: 1400px; }
.pt-tiles div { position: fixed; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.6); backface-visibility: visible; }
.pt-count { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 7; opacity: 0; pointer-events: none;
  font-family: var(--display); font-size: 22vmin; color: rgba(255,250,235,.92); text-shadow: 0 0 40px rgba(0,0,0,.8);
  width: 34vmin; height: 34vmin; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255,250,235,.6); }
.pt-head { position: absolute; left: 0; right: 0; top: 0; height: 56px; z-index: 8; display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter);
  background: rgba(8,8,8,.92); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.pt-url { color: var(--ink); flex: 1; }
.pt-out { color: var(--muted); }
.pt-out:hover { color: var(--ink); }
.pt-close { background: none; border: 1px solid rgba(255,255,255,.18); color: var(--ink); padding: 10px 16px; border-radius: 40px; cursor: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background .3s, border-color .3s; }
.pt-close:hover { background: var(--red); border-color: var(--red); }
.pt-launch { position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; pointer-events: none; }
.pt-soon-cta { display: inline-block; margin-top: 6px; color: #ff8a73; text-decoration: underline; text-underline-offset: 3px; }
.pt-launch-note { text-align: center; line-height: 1.7; font-size: 12px; color: var(--muted); letter-spacing: .08em; background: rgba(0,0,0,.6); padding: 6px 12px; border-radius: 20px; }
.pt-launch .circle-cta { background: rgba(8,8,8,.85); padding: 10px 24px 10px 10px; border-radius: 60px; }

/* cursor says OPEN over a clickable site */
.cursor-ring::after { content: "OPEN"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px var(--sans); letter-spacing: .2em; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.open .cursor-ring { width: 86px; height: 86px; background: rgba(229,57,28,.9); border-color: transparent; }
.cursor.open .cursor-ring::after { opacity: 1; }
.cursor.open .cursor-dot { opacity: 0; }
.cursor.open { mix-blend-mode: normal; }
.portal[data-fx="phone"] .pt-launch { left: auto; right: 7vw; bottom: auto; top: 50%; transform: translateY(-50%); align-items: flex-start; }

/* ---------- the red door (hero) ---------- */
.door-zone { position: absolute !important; right: 6vw; top: 52vh; width: 46vw; height: 56vh; pointer-events: none; }
.door { position: absolute; left: 22%; top: 40%; width: 13vmin; height: 13vmin; margin: -6.5vmin 0 0 -6.5vmin; border: 0; background: none; cursor: none; pointer-events: auto; }
.door-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,244,236,.9); box-shadow: 0 0 30px rgba(229,57,28,.9), inset 0 0 20px rgba(229,57,28,.5); animation: doorPulse 2.2s ease-out infinite; }
.door-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,120,80,.6); animation: doorPulse 2.2s ease-out infinite 1.1s; }
.door-label { position: absolute; left: 50%; bottom: 100%; margin-bottom: 14px; transform: translateX(-50%); font: 600 12px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #ffd2c4; text-shadow: 0 0 12px #e5391c; white-space: nowrap; }
@keyframes doorPulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.dive-flash { position: fixed; inset: 0; z-index: 54; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #ffd0b8 0%, #ff5a2a 30%, #b3170a 70%, #300400 100%); }

/* cursor labels */
.cursor.enter .cursor-ring, .cursor.drag .cursor-ring { width: 86px; height: 86px; background: rgba(229,57,28,.9); border-color: transparent; }
.cursor.enter, .cursor.drag { mix-blend-mode: normal; }
.cursor.enter .cursor-ring::after { content: "ENTER"; opacity: 1; }
.cursor.drag .cursor-ring::after { content: "SPIN"; opacity: 1; }
.cursor.enter .cursor-dot, .cursor.drag .cursor-dot { opacity: 0; }
body.dragging { user-select: none; }

/* ---------- secret: type UNDRWORLD ---------- */
.inferno-embers { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 45; pointer-events: none; mix-blend-mode: screen; }
.inferno-toast { position: fixed; inset: 0; z-index: 58; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; }
.inferno-toast span { font: 500 12px var(--sans); letter-spacing: .5em; text-transform: uppercase; color: #ffc7b0; }
.inferno-toast strong { font: 400 clamp(80px, 16vw, 300px)/.9 var(--display); text-transform: uppercase; color: #fff1e8;
  text-shadow: 0 0 20px #ff6a2a, 0 0 60px #e5391c, 0 0 140px #b3170a; }
html.inferno body { background: radial-gradient(ellipse at 50% 120%, #3a0702 0%, #120202 45%, #080808 80%) fixed; }
html.inferno .mega { color: #ffe6da; text-shadow: 0 0 18px rgba(255,90,40,.8), 0 0 60px rgba(229,57,28,.6); animation: heat 2.4s infinite; }
html.inferno .serif-title, html.inferno .num { color: #ffd9c9; text-shadow: 0 0 16px rgba(229,57,28,.55); }
html.inferno .label, html.inferno .desc { color: #d79b86; }
@keyframes heat { 0%, 100% { filter: none; } 40% { filter: brightness(1.15); } 42% { filter: brightness(.8); } 44% { filter: brightness(1.2); } }

/* water: a wave band that sweeps up through the screen */
.pt-defs { position: absolute; }
.pt-wave { position: absolute; left: -5vw; right: -5vw; top: calc(100% + 90px); height: 170vh; z-index: 6; pointer-events: none;
  background: linear-gradient(#1aa3c4 0%, #0b6f8f 14%, #064a66 50%, #032a3d 86%, rgba(3,42,61,0) 100%); }
.pt-wave i { position: absolute; left: 0; right: 0; top: -60px; height: 80px; background-repeat: repeat-x; background-size: 600px 80px; animation: ptWave 2.2s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'%3E%3Cpath d='M0 50 C 100 10 200 10 300 50 S 500 90 600 50 V80 H0Z' fill='%231aa3c4'/%3E%3C/svg%3E"); }
.pt-wave i:nth-child(2) { top: -46px; opacity: .9; animation-duration: 1.6s; animation-direction: reverse;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'%3E%3Cpath d='M0 40 C 120 0 180 0 300 40 S 480 80 600 40 V80 H0Z' fill='%23e9fbff' fill-opacity='.85'/%3E%3C/svg%3E"); }
.pt-wave i:nth-child(3) { top: -30px; animation-duration: 3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'%3E%3Cpath d='M0 45 C 150 15 150 75 300 45 S 450 15 600 45 V80 H0Z' fill='%230b6f8f'/%3E%3C/svg%3E"); }
@keyframes ptWave { to { background-position-x: 600px; } }

/* peel: a shine sweeps across the sticker as it lifts */
.pt-card.peeling::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.55) 48%, rgba(0,0,0,.25) 60%, rgba(255,255,255,0) 75%);
  background-size: 250% 100%; animation: ptShine 1.1s ease-in forwards; }
@keyframes ptShine { from { background-position: 100% 0; } to { background-position: -50% 0; } }

.cave-light { position: fixed; inset: 0; z-index: 54; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 55% 45%, #ffffff 0%, #eef3f6 40%, #b9c6cc 100%); }

/* ---------- living logo ---------- */
.signal.zooming .signal-mark, .signal.zooming .signal-mark .logo-door, .signal.zooming .signal-mark polygon { filter: none !important; }
.signal.zooming .neon-pulse { display: none; }
.signal.zooming .signal-rays { animation-play-state: paused; }
.neon-pulse { fill: none; stroke: var(--neon, #ff5a2a); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 7 93; animation: neonRun 3.2s linear infinite; filter: drop-shadow(0 0 6px var(--neon, #ff5a2a)) drop-shadow(0 0 14px #e5391c); pointer-events: none; }
@keyframes neonRun { to { stroke-dashoffset: -100; } }
.boot-cover { display: none; }
html.booting .boot-cover { display: block; position: fixed; inset: 0; z-index: 89; background: #080808; }
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 4vmin; background: #080808; pointer-events: none; }
.loader-mark { width: min(34vmin, 260px); height: auto; overflow: visible; color: #f5f1e8; }
.loader-mark .trace { fill: none; stroke: #fff6ee; stroke-width: 4; stroke-dasharray: 100 100; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 16px #ff5a2a); }
.loader-mark .trace-door { stroke: #ff6a3d; }
.loader-mark.lit .logo-door { filter: drop-shadow(0 0 18px #e5391c) drop-shadow(0 0 40px #e5391c); }
.loader-mark.lit .trace { opacity: .35; }
.loader-word { font: 800 clamp(14px, 2vw, 22px) "Orbitron", var(--sans); letter-spacing: .5em; color: #f5f1e8; padding-left: .5em; opacity: 0; }

/* the gate: page locked on the hero until you go through the door */
html.lenis.lenis-stopped { overflow: hidden; }
.door-zone { z-index: 3 !important; }
.gate-hint { position: absolute !important; left: 50%; bottom: 7vh; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; opacity: 0;
  font: 500 10px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #cfc9c1; pointer-events: none; white-space: nowrap; }
.gate-hint .mouse { width: 18px; height: 28px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 10px; position: relative; }
.gate-hint .mouse i { position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--red); animation: wheelHint 1.6s ease-in-out infinite; }
@keyframes wheelHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- hero: say what we do straight away ---------- */
.hero-services { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 3.2vh; }
.hero-services li { font: 500 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #d9d4cc; padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(8,8,8,.45); backdrop-filter: blur(6px); }
.hero-services li:first-child { border-color: rgba(229,57,28,.6); color: #ffd2c4; }
.hero-cta { margin-top: 3.2vh; }

/* ---------- chapter rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .6s; }
html:not(.gated) .rail.show { opacity: 1; pointer-events: auto; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 14px; }
.rail a::after { content: ""; width: 14px; height: 1.5px; background: rgba(255,255,255,.3); transition: width .35s, background .35s; }
.rail a span { font: 500 9.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; }
.rail:hover a span { opacity: 1; transform: none; }
.rail a.on::after { width: 30px; background: var(--red); box-shadow: 0 0 10px var(--red); }
.rail a:hover::after { width: 24px; background: var(--ink); }

/* ---------- traditional info sections ---------- */
.info { min-height: auto; padding-top: 16vh; padding-bottom: 6vh; }
.info-head { max-width: 860px; margin-bottom: 7vh; }
.info-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 96px); line-height: .95; }
.info-title em { display: block; font-family: var(--serif); font-style: italic; text-transform: none; font-size: .62em; line-height: 1.15; color: #d9d4cc; margin-top: .25em; }
.info-lead { color: var(--muted); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.65; max-width: 640px; margin-top: 26px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; }
.svc { background: #0b0b0b; padding: clamp(24px, 2.6vw, 40px); position: relative; transition: background .5s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(229,57,28,.12), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc svg { width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; margin-bottom: 10px; }
.svc p { color: #b9b3ab; font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.svc ul { list-style: none; display: grid; gap: 8px; }
.svc li { font-size: 13px; color: var(--muted); padding-left: 18px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1.5px; background: var(--red); }
.why { padding-top: 10vh; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; border-top: 1px solid rgba(255,255,255,.1); padding-top: 5vh; }
.why-n { font: 400 13px var(--serif); color: var(--red); }
.why-item h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3vw, 48px); margin: 8px 0 10px; }
.why-item p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 260px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg { border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.pkg.featured { border-color: rgba(229,57,28,.55); background: linear-gradient(180deg, rgba(229,57,28,.12), rgba(229,57,28,.02) 60%); box-shadow: 0 30px 80px rgba(229,57,28,.12); }
.pkg-tag { font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.pill { background: var(--red); color: #fff; letter-spacing: .14em; font-size: 9px; padding: 4px 9px; border-radius: 20px; }
.pkg h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.05; margin: 16px 0 6px; }
.pkg-for { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.pkg ul { list-style: none; display: grid; gap: 11px; margin-bottom: 32px; flex: 1; }
.pkg li { font-size: 14px; color: #cfc9c1; padding-left: 24px; position: relative; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-size: 12px; }
.pkg-cta { align-self: flex-start; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 14px 22px; border-radius: 40px; border: 1px solid rgba(255,255,255,.2); transition: background .3s, border-color .3s, color .3s; }
.pkg.featured .pkg-cta, .pkg-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pkg-cta span { display: inline-block; transition: transform .3s; }
.pkg-cta:hover span { transform: translateX(4px); }
.faq-list { max-width: 900px; border-top: 1px solid rgba(255,255,255,.1); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq summary { list-style: none; cursor: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0;
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 28px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px var(--sans); color: var(--red); transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 720px; padding-bottom: 26px; margin-top: -6px; }
@media (max-width: 900px) {
  .svc-grid, .pkg-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 6vh 6vw; }
  .rail { display: none; }
}

/* ---------- marquee band ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 6vh 0 2vh; transform: rotate(-2deg); margin: 8vh -2vw 0; }
.mq-track { display: flex; width: max-content; white-space: nowrap; align-items: center; gap: 3vw; padding-right: 3vw; will-change: transform;
  font: 400 clamp(56px, 8vw, 140px)/1 var(--display); text-transform: uppercase; color: var(--ink); }
.mq-track i { font-style: normal; color: var(--red); font-size: .4em; text-shadow: 0 0 20px var(--red); }
.mq-outline { color: transparent; -webkit-text-stroke: 1.2px rgba(236,232,225,.35); margin-top: 1vh; }
.mq-outline i { -webkit-text-stroke: 0; opacity: .6; }
.why-line { height: 1px; background: linear-gradient(90deg, var(--red), rgba(255,255,255,.12) 40%); transform-origin: left; }
.why-grid { border-top: 0; }
/* featured package: a slow-orbiting glow around the border */
.pkg.featured { position: relative; isolation: isolate; }
.pkg.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--red) 80%, #ffb08a 85%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 5s linear infinite; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --spin: 360deg; } }
.faq details p { overflow: hidden; }

/* 3D headline replaces the flat letters (kept for layout + screen readers) */
html.title-3d .hero-title .ch { visibility: hidden; }


/* ---------- THE SIGNAL: opening statement ---------- */
.signal { position: relative; z-index: 3; contain: paint; height: 100vh; min-height: 640px; overflow: hidden; display: grid; place-items: center; padding: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(120,18,6,.55), rgba(20,4,2,.6) 45%, #080808 75%); }
.signal > .signal-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.signal > .signal-rays { position: absolute; left: 50%; top: 52%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(229,57,28,.0) 0deg 7deg, rgba(229,57,28,.16) 9deg, rgba(229,57,28,0) 12deg);
  -webkit-mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.6) 22%, transparent 55%); mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.6) 22%, transparent 55%);
  filter: blur(2px); animation: raysSpin 60s linear infinite; }
@keyframes raysSpin { to { transform: rotate(360deg); } }
.signal > .signal-meta { position: absolute; top: 96px; font: 500 10px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #9a948c; line-height: 1.9; }
.signal-meta-l { left: var(--gutter); }
.signal-meta-r { right: var(--gutter); text-align: right; }
.signal > .signal-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; perspective: 1400px; }
.signal-title { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 3; pointer-events: none;
  font: 400 clamp(64px, 12.5vw, 240px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: #f1ece4; }
.st-row { display: block; }
.st-a { transform: translateY(-.12em); }
.st-w { display: inline-block; }
.st-strike { position: relative; display: inline-block; }
.st-old { display: inline-block; color: transparent; -webkit-text-stroke: 2px #f1ece4; }
.st-old .ch, .st-new .ch { display: inline-block; }
.st-slash { position: absolute; left: -4%; right: -4%; top: 52%; height: .09em; background: var(--red); box-shadow: 0 0 30px var(--red), 0 0 80px rgba(229,57,28,.6);
  transform: rotate(-4deg) scaleX(0); transform-origin: left; }
.st-c { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.st-new { display: inline-block; }
/* hidden until signal.js has split it, so a slow phone never shows both headlines at once */
.st-c { visibility: hidden; }
.signal.ready .st-c { visibility: visible; }
.st-new { white-space: nowrap; }
.st-new b { display: block; color: var(--red); font-weight: 400; text-shadow: 0 0 40px rgba(229,57,28,.55); }
.signal-logo { position: relative; z-index: 2; width: min(34vmin, 340px); transform-style: preserve-3d; will-change: transform; }
.signal-mark { width: 100%; height: auto; display: block; overflow: visible; color: rgba(245,241,232,.14);
  filter: drop-shadow(0 0 40px rgba(229,57,28,.35)); }
.signal-mark .logo-door { fill: var(--red); filter: drop-shadow(0 0 30px #e5391c) drop-shadow(0 0 70px rgba(229,57,28,.7)); }
.signal > .signal-sub { position: absolute; left: var(--gutter); bottom: 9vh; font: 400 clamp(14px, 1.1vw, 17px)/1.6 var(--sans); color: #b9b3ab; max-width: 360px; z-index: 4; }
.signal > .signal-ctas { position: absolute; right: var(--gutter); bottom: 9vh; z-index: 4; }
.signal > .signal-scroll { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; z-index: 4;
  font: 500 9.5px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #9a948c; }
.signal-scroll span { width: 1px; height: 46px; background: linear-gradient(transparent, var(--red)); animation: scrollLine 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.signal > .signal-redout { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #ff6a3d, #e5391c 40%, #5a0c03 100%); }

/* ---------- THE MANIFEST: one giant word at a time ---------- */
.manifest { position: relative; z-index: 3; contain: paint; height: 100vh; min-height: 620px; overflow: hidden; padding: 0; background: #080808; }
.manifest > .mf-word { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 3vw; }
/* the real work glows behind each word, crushed dark and red so the type always wins */
.mf-bgimg { position: absolute; inset: -6%; z-index: 0; background: center / cover no-repeat; filter: grayscale(.35) brightness(.6) contrast(1.15); }
.manifest > .mf-word::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(8,8,8,.3), rgba(8,8,8,.9) 78%), rgba(110,12,3,.32); }
.mf-word > :not(.mf-bgimg) { position: relative; z-index: 1; }
.mf-art { font: 500 11px var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--red); margin-bottom: 2.4vh; text-shadow: 0 0 18px rgba(229,57,28,.6); }
.mf-big { position: relative; font: 400 clamp(70px, 15.5vw, 300px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap;
  color: #f4efe7; text-shadow: 0 0 60px rgba(0,0,0,.8); }
/* a red outline echo knocked off behind the solid word */
.mf-big::before { content: attr(data-t); position: absolute; inset: 0; z-index: -1; color: transparent; -webkit-text-stroke: 2px var(--red); text-shadow: none;
  transform: translate(.045em, .05em); filter: drop-shadow(0 0 14px rgba(229,57,28,.7)); }
.mf-cap { max-width: 520px; margin: 3.5vh auto 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.6; color: #d4cec6; text-shadow: 0 1px 12px #000; }
.mf-cap b { color: var(--ink); font-weight: 500; }
.manifest > .mf-count { position: absolute; left: var(--gutter); top: 96px; font: 400 15px var(--serif); color: var(--muted); z-index: 3; letter-spacing: .1em; }
.mf-count b { color: var(--red); font-weight: 500; }
.manifest > .mf-bar { position: absolute; left: var(--gutter); right: var(--gutter); top: 128px; height: 1px; background: rgba(255,255,255,.1); z-index: 3; }
.mf-bar i { display: block; height: 100%; width: 100%; background: var(--red); box-shadow: 0 0 10px var(--red); transform: scaleX(0); transform-origin: left; }
.manifest > .mf-down { position: absolute; left: 0; right: 0; bottom: 6vh; text-align: center; font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #9a948c; opacity: 0; }
.mf-down span { color: var(--red); }
/* the red from the door bleeds into the manifest, then MANIFESTO slams in */
.manifest > .mf-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #ff6a3d, #e5391c 40%, #5a0c03 100%); }
.manifest > .mf-intro { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; text-align: center; pointer-events: none; perspective: 900px; }
.mf-kick { font: 500 10.5px var(--sans); letter-spacing: .38em; text-transform: uppercase; color: #cfc8bf; margin-bottom: 3vh; display: flex; gap: 10px; justify-content: center; align-items: center; }
.mf-title { font: 400 clamp(80px, 17vw, 330px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 2px var(--red); filter: drop-shadow(0 0 22px rgba(229,57,28,.75)); }
/* the visible MANIFESTO is the molten canvas; the heading only holds its place */
.mf-title { visibility: hidden; }
.manifest > .mf-melt { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; z-index: 5; pointer-events: none;
  filter: none; mix-blend-mode: normal; }
.mf-pour { display: inline-block; }
.mf-drip { position: absolute; top: 74%; height: 0; border-radius: 0 0 1em 1em; pointer-events: none;
  background: linear-gradient(#e5391c, #ff6a3d 70%, #ffb38a); box-shadow: 0 0 12px rgba(229,57,28,.8); }
.mf-drip::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 170%; aspect-ratio: 1; transform: translate(-50%, 35%); border-radius: 50%;
  background: #ffb38a; box-shadow: 0 0 10px #ff6a3d; }
.mf-big .mw { display: inline-block; white-space: nowrap; }
.mf-big .mc { display: inline-block; will-change: transform; }
.mf-big .mw { perspective: 900px; }
.mf-big::before { opacity: var(--echo, 1); }
.mf-title .ch.fill { color: #f4efe7; text-shadow: 0 0 30px rgba(255,120,80,.6); }
.mf-oath { margin-top: 3.4vh; font: 400 clamp(15px, 1.3vw, 20px)/1.5 var(--sans); color: #b9b3ab; }
.mf-oath b { color: var(--ink); font-weight: 500; }

/* ---------- AI WEBSITE STUDIO showcase ---------- */
.ais { position: relative; z-index: 3; padding-top: 16vh; padding-bottom: 12vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5vw; align-items: center;
  background: radial-gradient(ellipse 70% 60% at 75% 45%, rgba(229,57,28,.16), transparent 60%), #080808; overflow: hidden; }
.ais > .ais-glow { position: absolute; inset: auto -10% -30% -10%; height: 60%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(229,57,28,.22), transparent 65%); filter: blur(20px); }
.ais-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 30px; border: 1px solid rgba(229,57,28,.5); background: rgba(229,57,28,.08);
  font: 600 10.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #ffd2c4; }
.ais-badge b { background: var(--red); color: #fff; padding: 3px 8px; border-radius: 20px; font-size: 9px; letter-spacing: .16em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229,57,28,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(229,57,28,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,28,0); } }
.ais-title { font: 400 clamp(48px, 6.4vw, 120px)/.9 var(--display); text-transform: uppercase; margin: 26px 0 22px; }
.ais-title .al { display: block; overflow: hidden; padding-bottom: .04em; }
.ais-title .al > span { display: inline-block; }
.ais-title em { font-style: normal; color: var(--red); text-shadow: 0 0 40px rgba(229,57,28,.5); }
.ais-sub { color: #b9b3ab; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; max-width: 520px; }
.ais-sub b { color: var(--ink); font-weight: 500; }
.ais-form { margin-top: 30px; padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
  display: grid; gap: 14px; max-width: 560px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.ais-field { display: grid; gap: 8px; }
.ais-field span { font: 600 9.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ais-field input, .ais-field textarea { width: 100%; background: #0f0f0f; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: var(--ink); padding: 12px 14px;
  font: 15px/1.5 var(--sans); resize: none; transition: border-color .3s, box-shadow .3s; cursor: text; }
.ais-field input:focus, .ais-field textarea:focus { outline: none; border-color: rgba(229,57,28,.7); box-shadow: 0 0 0 3px rgba(229,57,28,.18); }
.ais-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ais-chips button { background: none; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; padding: 7px 13px; font: 12px var(--sans); color: #c9c4bd; cursor: none; transition: all .25s; }
.ais-chips button.on { background: var(--ink); color: #111; border-color: var(--ink); }
.ais-go { display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 60px; padding: 17px 22px; cursor: none;
  background: linear-gradient(90deg, #c92a10, var(--red), #ff6a3d, var(--red), #c92a10); background-size: 300% 100%; animation: goShine 4s linear infinite;
  font: 600 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; box-shadow: 0 14px 44px rgba(229,57,28,.45); transition: transform .25s, box-shadow .25s; }
.ais-go:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(229,57,28,.6); }
.ais-go svg { width: 18px; fill: none; stroke: #fff; stroke-width: 1.8; }
@keyframes goShine { to { background-position: -300% 0; } }
.ais-note { font-size: 11.5px; color: var(--muted); text-align: center; }
/* three tall mockups that scroll themselves */
.ais > .ais-right { --mkh: min(78vh, 720px); position: relative; height: var(--mkh); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1600px; z-index: 2; }
.mk { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px rgba(0,0,0,.7); }
.mk-1 { transform: translateY(8%) rotateY(14deg); }
.mk-2 { transform: translateY(-4%); border-color: rgba(229,57,28,.55); box-shadow: 0 40px 100px rgba(229,57,28,.25), 0 40px 90px rgba(0,0,0,.7); }
.mk-3 { transform: translateY(12%) rotateY(-14deg); }
.mk figcaption { position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: 10px 12px; font: 600 9.5px var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(rgba(0,0,0,.85), transparent); }
.mk figcaption b { color: var(--red); margin-right: 6px; }
.mk-scroll { display: flex; flex-direction: column; animation: mkScroll 22s ease-in-out infinite alternate; }
.mk-2 .mk-scroll { animation-duration: 26s; animation-delay: -6s; }
.mk-3 .mk-scroll { animation-duration: 24s; animation-delay: -12s; }
.mk-scroll img { width: 100%; display: block; }
/* real scroll recordings of each site (tools/capture-reel.mjs), so pinned sections play instead of repeating */
.mk-reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mk-scroll picture { display: block; }
@keyframes mkScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + var(--mkh) - 2px)); } }
.ais > .ais-steps { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; margin-top: 6vh; padding-top: 4vh; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.ais-steps::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: var(--prog, 0%); background: var(--red); box-shadow: 0 0 12px var(--red); }
.ais-steps span { font: 400 14px var(--serif); color: var(--red); }
.ais-steps b { display: block; font: 400 clamp(22px, 2vw, 32px)/1 var(--display); text-transform: uppercase; margin: 8px 0; }
.ais-steps p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* nav pill + floating button so the Studio is never hidden */
.nav-links a.nav-ai { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; margin: -7px 0; border-radius: 30px; border: 1px solid rgba(229,57,28,.6);
  background: rgba(229,57,28,.1); box-shadow: 0 0 18px rgba(229,57,28,.25); }
.nav-links a.nav-ai::after { display: none; }
.nav-ai i { font-style: normal; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: #fff; padding: 2px 6px; border-radius: 10px; }
.float-ai { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 60px;
  background: var(--red); color: #fff; font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 16px 40px rgba(229,57,28,.45), 0 0 0 0 rgba(229,57,28,.5);
  transform: translateY(140%); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s, box-shadow .3s; animation: floatPulse 2.6s 2s infinite; }
.float-ai.show { transform: none; opacity: 1; }
.float-ai:hover { box-shadow: 0 20px 50px rgba(229,57,28,.6); }
.fa-star { display: inline-block; animation: spinStar 6s linear infinite; }
@keyframes spinStar { to { transform: rotate(360deg); } }
@keyframes floatPulse { 0% { box-shadow: 0 16px 40px rgba(229,57,28,.45), 0 0 0 0 rgba(229,57,28,.5); } 70% { box-shadow: 0 16px 40px rgba(229,57,28,.45), 0 0 0 16px rgba(229,57,28,0); } 100% { box-shadow: 0 16px 40px rgba(229,57,28,.45), 0 0 0 0 rgba(229,57,28,0); } }
html.gated .float-ai { transform: translateY(140%); opacity: 0; }
@media (max-width: 900px) {
  .ais { grid-template-columns: 1fr; }
  .ais > .ais-right { --mkh: 60vh; }
  .ais > .ais-steps { grid-template-columns: 1fr 1fr; }
  .float-ai .fa-label { display: none; }
}

/* =================== PHONE PASS =================== */
html, body { overflow-x: clip; }
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  /* nav: logo + the AI Studio pill only */
  .nav { padding: 14px var(--gutter); grid-template-columns: 1fr auto; }
  .nav-tag { display: none; }
  .nav .nav-links { display: flex; gap: 0; }
  .nav .nav-links a:not(.nav-ai) { display: none; }
  .logo-word { font-size: 11px; letter-spacing: .2em; }
  .footer .nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
  .footer .nav-links a { display: inline; }

  /* signal */
  .signal-title { font-size: 12.4vw; }
  .signal > .signal-meta { top: 74px; font-size: 8.5px; }
  .signal > .signal-meta-r { display: none; }
  .signal-logo { width: 62vw; }
  .signal > .signal-sub { bottom: 17vh; right: var(--gutter); max-width: none; font-size: 13px; }
  .signal > .signal-ctas { right: auto; left: var(--gutter); bottom: 6vh; }
  .signal > .signal-scroll { left: auto; right: var(--gutter); transform: none; bottom: 6.5vh; }

  /* manifest */
  .mf-big { font-size: 15vw; white-space: normal; line-height: .9; }
  .mf-big::before { -webkit-text-stroke: 1.5px var(--red); }
  .mf-title { font-size: 21vw; -webkit-text-stroke: 1.5px var(--red); }
  .mf-kick { font-size: 8px; letter-spacing: .2em; white-space: nowrap; }
  .mf-oath { font-size: 14px; padding: 0 24px; }
  .mf-art { font-size: 10px; }
  /* WE BUILD / WORLDS. on two lines; never split a word between letters */
  .st-new { white-space: nowrap; }
  .st-new b { display: block; }
  .mf-cap { font-size: 14px; padding: 0 6px; }
  .manifest > .mf-count { top: 74px; }
  .manifest > .mf-bar { top: 100px; }

  /* ribbon project text sits low, under the coil, on a soft shade so it always reads */
  .project { align-items: flex-end; padding-bottom: 7vh; }
  .project-copy, .studio-copy { width: 100%; min-width: 0; padding: 18px 16px 16px; margin: 0 -6px; border-radius: 14px;
    background: linear-gradient(180deg, rgba(8,8,8,.25), rgba(8,8,8,.82) 30%); backdrop-filter: blur(3px); }
  .serif-title { font-size: 30px; }
  .studio { align-items: flex-end; padding-bottom: 7vh; }
  .prompt-card { display: none; }
  .apps-links { display: block !important; position: absolute !important; left: var(--gutter); right: auto; top: auto; bottom: 6vh; font-size: 10px; line-height: 2.4; }
  .agency-note { left: 10px !important; right: 10px !important; width: auto; bottom: 5vh; font-size: 13px; line-height: 1.5; padding: 18px 16px 16px; border-radius: 14px; z-index: 2;
    background: linear-gradient(180deg, rgba(8,8,8,.3), rgba(8,8,8,.88) 30%); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .agency-note .an-t { font-size: 26px; }

  /* hero gate */
  .hero { padding-top: 92px; }
  .hero-services li { padding: 7px 11px; font-size: 9px; }
  .gate-hint { white-space: normal; text-align: center; width: 80%; justify-content: center; font-size: 9px; }

  /* AI studio */
  .ais { padding-top: 12vh; gap: 6vh; }
  .ais > .ais-right { --mkh: 64vh; gap: 8px; }
  .mk-1, .mk-2, .mk-3 { transform: none; }
  .mk figcaption { font-size: 7.5px; padding: 8px; }
  .ais-form { padding: 16px; }
  .ais > .ais-steps { grid-template-columns: 1fr 1fr; gap: 22px 14px; }

  /* marquee + info */
  .marquee { margin-top: 4vh; }
  .info { padding-top: 11vh; }
  .info-head { margin-bottom: 5vh; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-title { font-size: 15vw; }
  .archive { padding-top: 10vh; }
  .ar-head { grid-template-columns: 1fr; }
  .ar-stats { gap: 7vw; }
  .ar-filters { margin: 4vh 0 2vh; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .ar-filters button { flex: none; }
  .ar-row a { grid-template-columns: 96px minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; padding: 14px 0; }
  .ar-n, .ar-cat { display: none; }
  .ar-thumb { display: block; grid-row: 1 / 3; width: 96px; height: 60px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); }
  .ar-name { font-size: 24px; white-space: normal; }
  .ar-what { grid-column: 2; font-size: 12.5px; }
  .ar-go { grid-row: 1 / 3; grid-column: 3; opacity: .8; transform: none; }
  .cf { grid-template-columns: 1fr; gap: 5vh; padding-top: 10vh; padding-bottom: 10vh; }
  .cf-row { grid-template-columns: 1fr; gap: 18px; }
  .cf-right { padding: 20px 16px; border-radius: 16px; }
  .cf-send { justify-self: stretch; justify-content: center; }
  .footer { gap: 14px; }

  /* portal on phones */
  .pt-head { gap: 10px; font-size: 9px; }
  .pt-out { display: none; }
  .pt-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .float-ai { right: 16px; bottom: 16px; padding: 14px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
