/* ============================================================
   CALLENDER LAB LLC — 2026 design layer
   Loaded after style.css. The brand palette (red / white / grey /
   black) and every colour token stay in style.css; this file only
   changes type, layout, and motion, and adds the interactive
   pieces driven by js/fx-bg.js, js/lux.js and js/gallery-strip.js.
   ============================================================ */

:root {
  --font-head: "Archivo", "Sora", "Arial Black", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --hdr: 84px;
  --paper: var(--ink);
}

html { scroll-padding-top: var(--hdr); }
body { background: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- interactive background ---------- */
.fx-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}
.fx-on body { background: #0a0a0a; }

/* ============ TYPE ============ */

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.025em; }

.display, .h2 {
  font-weight: 900;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.display { font-size: clamp(40px, 6vw, 108px); }
.h2 { font-size: clamp(32px, 4.6vw, 76px); }
.display .serif, .h2 .serif {
  text-transform: none;
  font-stretch: normal;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: #b8b8b2;
}
.display .serif { margin-top: 0.08em; }
.display .accent, .h2 .accent { color: var(--red-bright); }

.eyebrow { font-size: 11px; letter-spacing: 0.3em; color: var(--ink-dim); }
.lede { color: #a5a5a0; }

/* ============ HEADER ============ */

.nav-inner { padding-top: 20px; padding-bottom: 20px; }
.logo { font-weight: 900; font-stretch: 110%; letter-spacing: 0.04em; }
.logo-mark { transition: transform 0.6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }

.nav-links { gap: 30px; }
.nav-links a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a::after { height: 1px; bottom: 2px; background: var(--red-bright); }

.btn-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: none;
  padding: 13px 22px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s;
}
.btn-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  border-radius: inherit;
}
/* Arrows are drawn (an SVG mask), never typed: a typed arrow character can
   turn into a colour emoji on phones. */
.btn-cta::after {
  content: ""; display: inline-block; vertical-align: -0.12em;
  width: 1em; height: 1em; margin-left: 0.55em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-cta:hover { transform: none; box-shadow: none; border-color: var(--red); }
.btn-cta:hover::before { transform: none; }

/* ============ BUTTONS + LINKS ============ */

.btn-block {
  border-radius: 999px;
  padding: 8px 8px 8px 30px;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  background: var(--ink);
}
.btn-block .arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #0a0a0a; color: #fff;
  font-size: 16px; letter-spacing: 0;
  transition: transform 0.45s var(--ease), background 0.3s;
}
.btn-block:hover { transform: none; }
.gsap-on .btn-block .arrow { transition-property: transform, background, color; }
.btn-block:hover .arrow { transform: rotate(-45deg); background: var(--red); }
.btn-block.red .arrow { background: #fff; color: var(--red); }
.btn-block.red:hover .arrow { background: #0a0a0a; color: #fff; }

.link-arrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s, border-color 0.25s;
}
.link-arrow:hover { border-color: var(--red-bright); }
.link-arrow.dim { font-size: 11px; }

/* ============ HERO ============ */

.hero { padding-top: clamp(140px, 22vh, 220px); padding-bottom: clamp(48px, 8vh, 90px); justify-content: flex-end; }
.hero-glow { display: none; }
.lx-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-bottom: clamp(26px, 4vh, 46px);
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red-bright);
}
.lx-kicker i { font-style: normal; color: var(--faint); }
.lx-kicker span + i + span { color: var(--muted); }

.hero-title { font-size: clamp(38px, 5.4vw, 108px); font-stretch: 100%; max-width: none; }
.hero-title-serif { font-size: 0.9em; white-space: normal; }
.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
}
.hero-copy { max-width: 600px; }
.hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px 30px; }

.lx-scroll {
  justify-self: end;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: min(240px, 100%);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink);
  transition: border-color 0.3s;
}
.lx-scroll b { font-weight: 400; font-size: 20px; animation: lx-bob 1.8s var(--ease) infinite; }
.lx-scroll:hover { border-color: var(--red-bright); }
@keyframes lx-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
.js-loading .lx-kicker, .js-loading .lx-scroll { opacity: 0; }
.lx-kicker, .lx-scroll { transition: opacity 0.9s ease 0.5s; }

/* ============ THE "LAB" SEQUENCE ============
   A pinned canvas: scrolling travels through each letter of LAB, every
   letter a window onto one discipline, then pulls back to the whole word. */

.lx-seq { position: relative; height: 430vh; z-index: 1; }
.lx-seq-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.lx-seq canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lx-seq-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.72) 100%);
  transition: opacity 0.6s;
}
.lx-seq.is-end .lx-seq-shade { opacity: 0; }
.lx-seq-cap {
  position: absolute;
  right: var(--pad); top: 50%;
  width: min(300px, 44vw);
  transform: translateY(-40%);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s, transform 0.7s var(--ease), visibility 0s 0.45s;
}
.lx-seq-cap.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0.1s, 0.1s, 0s; }
.lx-seq-n {
  display: block; padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.4); width: 64px;
  font-size: 12px; letter-spacing: 0.22em; color: var(--ink-dim);
}
.lx-seq-cap h3 {
  font-size: clamp(30px, 3.4vw, 52px); font-weight: 900; font-stretch: 108%;
  text-transform: uppercase; letter-spacing: -0.04em; line-height: 1;
}
.lx-seq-cap p { margin-top: 14px; color: var(--ink-dim); font-size: 15.5px; line-height: 1.55; }
.lx-round {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.7); border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s, border-color 0.3s, transform 0.45s var(--ease);
}
.lx-round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.lx-round:hover { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.lx-seq-end {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 7vh, 70px);
  text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s, transform 0.8s var(--ease);
}
.lx-seq-end span { color: var(--red-bright); }
.lx-seq.is-end .lx-seq-end { opacity: 1; transform: none; }
.lx-seq-bar {
  position: absolute; left: var(--pad); bottom: clamp(28px, 7vh, 70px);
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-dim);
  transition: opacity 0.4s;
}
.lx-seq-bar i { display: block; width: 90px; height: 1px; background: var(--line-strong); position: relative; }
.lx-seq-bar i::after {
  content: ""; position: absolute; inset: 0; background: var(--red-bright);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.lx-seq.is-end .lx-seq-bar { opacity: 0; }

/* Static version: no scroll travel, just the finished word and the list. */
.lx-seq.is-static { height: auto; }
.lx-seq.is-static .lx-seq-sticky { position: relative; height: auto; overflow: visible; padding-bottom: 40px; }
.lx-seq.is-static canvas { position: relative; height: 56vh; }
.lx-seq.is-static .lx-seq-shade, .lx-seq.is-static .lx-seq-bar { display: none; }
.lx-seq.is-static .lx-seq-caps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding: 0 var(--pad);
}
.lx-seq.is-static .lx-seq-cap { position: static; opacity: 1; visibility: visible; transform: none; width: auto; }
.lx-seq.is-static .lx-seq-end { position: static; opacity: 1; transform: none; margin-top: 40px; }

/* ============ MARQUEE ============ */

.ticker { background: none; border-color: var(--line); padding: 10px 0; }
.ticker-track { animation-duration: 46s; }
.ticker-track span {
  padding: 14px 0 14px 44px; gap: 44px;
  font-family: var(--font-head);
  font-size: clamp(34px, 5.2vw, 88px);
  font-weight: 900; font-stretch: 108%;
  letter-spacing: -0.035em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.ticker-track span:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.ticker-track span::after { font-size: 0.24em; -webkit-text-stroke: 0; color: var(--red-bright); }

/* ============ SECTIONS ============ */

.section-head { align-items: flex-end; }

/* ---- service tiles ---- */
.svc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: none; border: 0;
}
.svc-card {
  --mx: 50%; --my: 50%;
  display: flex; flex-direction: column;
  min-height: clamp(280px, 30vw, 380px);
  padding: clamp(26px, 2.6vw, 40px);
  border: 1px solid var(--line-strong);
  background: rgba(13, 13, 14, 0.78);
  isolation: isolate;
  transition: border-color 0.4s, background 0.4s;
}
.svc-card::before { display: none; }
.svc-card::after {
  content: "";
  position: absolute; top: clamp(20px, 2.2vw, 34px); right: clamp(24px, 2.6vw, 40px);
  width: 26px; height: 26px;
  background: var(--ink-dim);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.45s var(--ease), background 0.3s;
}
.svc-card:hover { background: rgba(13, 13, 14, 0.78); border-color: rgba(255, 59, 77, 0.6); }
.svc-card:hover::after { transform: translate(4px, -4px); background: var(--red-bright); }
.svc-num {
  font-family: var(--font-body); font-style: normal;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em;
  color: var(--ink-dim);
}
.svc-card h3 {
  margin: auto 0 14px; padding-top: 60px;
  font-size: clamp(24px, 2.5vw, 38px); font-weight: 900; font-stretch: 105%;
  letter-spacing: -0.035em; line-height: 1.02;
}
.svc-card p { max-width: 46ch; color: #a5a5a0; }
.svc-card .link-arrow { align-self: flex-start; margin-top: 22px; font-size: 11px; border: 0; padding: 0; color: var(--muted); }
.svc-card-cta { background: linear-gradient(140deg, rgba(224, 36, 52, 0.22), rgba(13, 13, 14, 0.78) 70%); }

/* cursor / finger flashlight: the picture behind a tile shows where you point */
.lx-media {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
  mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
  transition: opacity 0.5s;
}
.lx-media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.42); }
.is-lit > .lx-media { opacity: 1; }
.lx-spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 300px at var(--mx) var(--my), rgba(255, 59, 77, 0.16), transparent 70%);
  transition: opacity 0.4s;
}
.is-lit > .lx-spot { opacity: 1; }

/* ---- work cards ---- */
.work-grid { gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.work-card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  background: rgba(13, 13, 14, 0.78);
  border-color: var(--line-strong);
  transform-style: preserve-3d;
}
.work-card:hover { transform: none; border-color: rgba(255, 59, 77, 0.6); }
.work-thumb { aspect-ratio: 16 / 11; }
.work-thumb .thumb-word { font-size: clamp(28px, 3vw, 46px); transition: transform 0.7s var(--ease); }
.work-card:hover .thumb-word { transform: scale(1.06); }
.work-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 240px at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.work-card.is-lit .work-thumb::before { opacity: 1; }
.work-meta h3 { font-size: clamp(21px, 1.9vw, 28px); font-weight: 900; letter-spacing: -0.03em; }
.work-tag { letter-spacing: 0.26em; }

/* ---- process ---- */
.process-list { border-color: var(--line-strong); }
.process-row {
  position: relative; isolation: isolate;
  grid-template-columns: 120px 1fr 1.3fr;
  padding-left: 0; padding-right: clamp(0px, 2vw, 24px);
  border-color: var(--line-strong);
  transition: padding 0.5s var(--ease), color 0.3s;
}
.process-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.process-row:hover { padding-left: clamp(14px, 2vw, 28px); }
.process-row:hover::before { transform: scaleY(1); }
.process-row .p-num {
  font-family: var(--font-body); font-style: normal;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
}
.process-row h3 { font-size: clamp(26px, 3.2vw, 52px); font-weight: 900; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.04em; }
.process-row:hover .p-num, .process-row:hover p { color: #fff; }
.process-row p, .process-row .p-num { transition: color 0.3s; }

/* ---- quote ---- */
.quote-band { background: rgba(13, 13, 14, 0.6); padding-top: clamp(90px, 11vw, 170px); padding-bottom: clamp(90px, 11vw, 170px); }
.quote-band blockquote { font-size: clamp(26px, 3.6vw, 54px); line-height: 1.22; max-width: 1100px; color: var(--ink); letter-spacing: -0.01em; }

/* ---- services page ---- */
.svc-detail { border-color: var(--line-strong); }
.svc-detail h2 { font-size: clamp(30px, 3.8vw, 60px); font-weight: 900; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.96; }
.svc-detail .svc-num { font-size: 11px; }
.svc-detail .svc-sub { font-size: clamp(18px, 1.6vw, 22px); }

/* ---- contact ---- */
.contact-form { background: rgba(13, 13, 14, 0.82); }
.contact-info-row a, .contact-info-row .c-val { font-weight: 900; letter-spacing: -0.03em; }
.field input, .field select, .field textarea { background-color: rgba(10, 10, 10, 0.7); }

/* ---- admin-built blocks ---- */
.price-card { background: rgba(13, 13, 14, 0.8); }
.stat-figure { font-weight: 900; font-stretch: 108%; }
.faq-item h3, .split-col h2, .split-col h3 { font-weight: 900; letter-spacing: -0.03em; }

/* ============ PAGE HERO ============ */

.page-hero { padding-top: clamp(170px, 26vh, 280px); }
.page-hero .display { max-width: 16ch; }
.page-hero.sec-center .display { margin-left: auto; margin-right: auto; }

/* ============ CTA BAND — the light panel ============ */

.cta-band {
  margin: 0 clamp(8px, 1.2vw, 18px);
  border-radius: clamp(18px, 2vw, 32px);
  background: var(--paper);
  color: #0a0a0a;
  z-index: 1;
}
.cta-band::before { background: radial-gradient(ellipse 60% 70% at 50% 115%, rgba(224, 36, 52, 0.2), transparent 70%); }
.cta-band .display { font-size: clamp(38px, 6.4vw, 112px); position: relative; }
.cta-band .display .serif, .cta-band .h2 .serif { color: #55554f; }
.cta-band .display .accent, .cta-band .accent { color: var(--red); }
.cta-band .eyebrow { color: #55554f; position: relative; }
.cta-band .lede { color: #3d3d39; position: relative; }
.cta-band .link-arrow { color: #0a0a0a; border-color: rgba(10, 10, 10, 0.25); }
.cta-band .link-arrow:hover { color: var(--red); border-color: var(--red); }
.cta-band .btn-block:not(.red) { background: #0a0a0a; color: #fff; }
.cta-band .btn-block:not(.red) .arrow { background: #fff; color: #0a0a0a; }
.cta-band .hero-actions { flex-direction: column; }

/* ============ FOOTER ============ */

.lx-footer {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.55) 30%, rgba(10, 10, 10, 0.2) 100%);
  border-top: 0;
  padding: clamp(90px, 11vw, 170px) 0 28px;
  overflow: hidden;
}
.lx-foot-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.lx-foot-top {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 90px);
  border-bottom: 1px solid var(--line-strong);
}
.lx-foot-title {
  font-size: clamp(40px, 5.7vw, 112px);
  font-weight: 900; font-stretch: 105%;
  text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.9;
}
.lx-foot-title span { display: block; }
.lx-foot-title .accent { color: var(--red-bright); }
.lx-foot-aside { padding-top: 8px; }
.footer-grid .lx-foot-aside p, .lx-foot-aside p {
  margin: 0; max-width: 30ch;
  font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-dim);
}
.lx-foot-cta {
  display: inline-flex; align-items: center; gap: 28px;
  margin-top: clamp(26px, 3vw, 44px);
  font-size: clamp(19px, 1.7vw, 26px); font-weight: 600; color: #fff;
}
.lx-foot-cta [data-lx-scramble] { display: inline-block; white-space: nowrap; }
.lx-foot-arrow {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.lx-foot-arrow svg, .lx-foot-top-link svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.lx-foot-arrow svg { transform: rotate(var(--aim, 0deg)); transition: transform 0.25s var(--ease); }
.lx-foot-cta:hover .lx-foot-arrow { background: var(--red); border-color: var(--red); }
.lx-foot-mail {
  display: block; width: fit-content; margin-top: 26px;
  font-size: 14px; color: var(--muted);
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.lx-foot-mail:hover { color: #fff; border-color: var(--red-bright); }

.lx-footer .footer-grid { margin: clamp(36px, 4vw, 60px) 0 0; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.lx-footer .footer-col h4 { color: var(--muted); }
.lx-footer .footer-col a { position: relative; }
.lx-foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.footer-col a.lx-foot-top-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
}
.lx-foot-top-link svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.lx-foot-top-link:hover svg { transform: translate(3px, -3px); }

.lx-wordmark {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: clamp(30px, 5vw, 80px) 0 clamp(18px, 2vw, 30px);
  font-family: var(--font-head);
  font-size: 11vw;                 /* refined by lux.js to fit the row exactly */
  font-weight: 900; font-stretch: 100%; line-height: 0.8;
  text-transform: uppercase; letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  cursor: default;
}
.lx-wordmark b {
  display: inline-block; font-weight: inherit;
  font-variation-settings: "wght" var(--w, 900), "wdth" 100;
  transform: translateY(var(--y, 0)) scaleY(var(--s, 1));
  transform-origin: 50% 100%;
  color: rgb(255, calc(255 - 196 * var(--k, 0)), calc(255 - 178 * var(--k, 0)));
  will-change: transform;
}
.lx-wordmark b.sp { width: 0.16em; }
.lx-footer .footer-bottom { border-top: 1px solid var(--line-strong); padding-top: 22px; font-size: 12px; color: var(--muted); align-items: center; }
.lx-foot-time { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* ============ PRELOADER + CURTAIN ============ */

.preloader-word { font-weight: 900; font-stretch: 110%; letter-spacing: 0.5em; }
.page-curtain { background: var(--red); }
.page-curtain::before { background: #fff; }

/* ============ CURSOR FOLLOWER (mouse only; the real cursor stays) ============ */

.lx-cursor {
  position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid #fff; border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(var(--sc, 1));
  transition: opacity 0.3s, background 0.3s, border-color 0.3s;
}
.lx-cursor.is-on { opacity: 1; }
.lx-cursor.is-link { background: #fff; }
.lx-cursor.is-hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { .lx-cursor { display: none; } }

/* ============ GALLERY — horizontal photo strip ============ */

.page-strip main { padding-top: var(--hdr); }
.page-strip img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.hs {
  position: relative;
  height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr));
  min-height: 320px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.5);
}
.hs-track {
  display: flex; gap: 6px; height: 100%;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab; outline: none;
  touch-action: pan-x pan-y;
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-track.is-dragging { cursor: grabbing; }
.hs-track.is-dragging .hs-link { pointer-events: none; }
.hs-track:focus-visible { box-shadow: inset 0 0 0 2px var(--red-bright); }
.hs-item {
  flex: 0 0 auto; margin: 0; height: 100%;
  aspect-ratio: var(--ar, 1.5);
  position: relative; overflow: hidden;
  background: var(--bg-panel);
}
.hs-item[hidden] { display: none; }
@keyframes hs-in { from { opacity: 0; transform: translateX(48px); } }
.hs-link {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none;
  cursor: inherit; -webkit-tap-highlight-color: transparent;
  animation: hs-in 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.hs-link:focus-visible { outline: 2px solid var(--red-bright); outline-offset: -4px; }
.hs-frame { display: block; width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.hs-track.is-moving .hs-frame { transform: scale(var(--hs-squash, 1)); transition-duration: 0.25s; }
.hs-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); filter: blur(10px);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease), filter 0.7s var(--ease);
}
.hs-img.is-loaded { opacity: 1; transform: none; filter: none; }
.hs-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: 70px 22px 72px;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0));
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s, transform 0.6s var(--ease);
}
.hs-cap .work-tag { display: block; margin-bottom: 6px; }
.hs-cap strong { font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.hs-item:hover .hs-cap, .hs-link:focus-visible + .hs-cap { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .hs-track:not(.is-dragging):not(.is-moving) .hs-item:hover .hs-img.is-loaded { transform: scale(1.025); }
  .hs-track.has-hover:not(.is-dragging) .hs-item { transition: opacity 0.45s var(--ease); }
  .hs-track.has-hover:not(.is-dragging) .hs-item:not(:hover) { opacity: 0.5; }
}
@media (hover: none) {
  .hs-cap { opacity: 1; transform: none; }
}

.hs-chip {
  background: rgba(20, 20, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.hs-filters {
  position: absolute; left: 50%; top: 16px; z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px;
  border-radius: 999px;
  max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none;
}
.hs-filters::-webkit-scrollbar { display: none; }
.hs-filter {
  flex: 0 0 auto;
  background: none; border: 0; border-radius: 999px;
  padding: 9px 16px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim); white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.hs-filter:hover { color: #fff; }
.hs-filter.active { background: var(--red); color: #fff; }

.hs-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-spring), background 0.2s;
}
.hs-arrow svg, .hs-mbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hs-arrow--prev { left: 20px; transform: translateX(-10px); }
.hs-arrow--next { right: 20px; transform: translateX(10px); }
.hs:hover .hs-arrow, .hs-arrow:focus-visible { opacity: 1; transform: none; }
.hs-arrow:hover { transform: scale(1.08); background: var(--red); }
.hs-arrow:active { transform: scale(0.94); }
.hs-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .hs-arrow { display: none; } }

.hs-hud {
  position: absolute; left: 50%; bottom: 18px; z-index: 3;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 8px 16px; border-radius: 999px;
  font: 500 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted); white-space: nowrap;
  animation: hs-hud-in 0.8s 0.5s var(--ease) both;
}
@keyframes hs-hud-in { from { opacity: 0; transform: translate(-50%, 14px); } }
.hs-count b { color: #fff; font-weight: 500; display: inline-block; min-width: 2ch; text-align: right; }
.hs-count i { font-style: normal; opacity: 0.5; margin: 0 0.35em; }
.hs-scrub { position: relative; width: clamp(90px, 18vw, 220px); height: 18px; cursor: pointer; touch-action: none; }
.hs-scrub::before, .hs-scrub span {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px; border-radius: 2px;
}
.hs-scrub::before { background: rgba(255, 255, 255, 0.18); }
.hs-scrub span { background: var(--red-bright); transform-origin: left center; transform: scaleX(0); }
.hs-scrub:hover::before, .hs-scrub.is-active::before, .hs-scrub:hover span, .hs-scrub.is-active span { height: 4px; margin-top: -2px; }
.hs-hint { transition: opacity 0.5s, max-width 0.6s var(--ease); max-width: 26ch; overflow: hidden; }
.hs-hint.is-gone { opacity: 0; max-width: 0; margin-left: -14px; }

.hs-cursor {
  position: fixed; left: 0; top: 0; z-index: 4; pointer-events: none;
  width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: var(--red);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  font: 700 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; scale: 0.3;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0);
  transition: opacity 0.25s, scale 0.35s var(--ease);
}
.hs-cursor.is-on { opacity: 1; scale: 1; }
.hs-cursor.is-drag { scale: 0.78; }
@media (hover: none), (pointer: coarse) { .hs-cursor { display: none; } }
.hs.has-cursor .hs-track { cursor: none; }

/* ---- viewer ---- */
.hs-modal {
  position: fixed; inset: 0; z-index: 800;
  display: none;
  color: #fff; outline: none;
}
.hs-modal.is-open { display: block; }
.hs-modal::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(6, 6, 6, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  opacity: var(--hs-bd, 1); transition: opacity 0.35s var(--ease);
}
.hs-modal.is-closing::before { opacity: 0; }
.hs-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 72px clamp(16px, 7vw, 120px) 104px;
  touch-action: none;
}
.hs-full {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 3px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  background: var(--bg-panel);
  will-change: transform; user-select: none; -webkit-user-select: none;
}
.hs-full.is-swapping { opacity: 0; transition: opacity 0.2s; }
.hs-mbtn {
  position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s, background 0.2s;
}
.hs-mbtn:hover { transform: scale(1.08); background: var(--red); }
.hs-mbtn:active { transform: scale(0.92); }
.hs-mbtn[disabled] { opacity: 0; pointer-events: none; }
.hs-close { top: 18px; right: 18px; }
.hs-mnav { top: 50%; margin-top: -23px; }
.hs-mnav--prev { left: 18px; }
.hs-mnav--next { right: 18px; }
@media (hover: none) { .hs-mnav { display: none; } }
.hs-info {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.hs-meta .work-tag { display: block; margin-bottom: 6px; }
.hs-meta strong { font-family: var(--font-head); font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; letter-spacing: -0.02em; }
.hs-mcount { font: 500 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); white-space: nowrap; }

.hs-intro { position: relative; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(60px, 8vw, 120px); }
.hs-intro .eyebrow { margin-bottom: 32px; }
.hs-intro .lede { margin-top: 32px; }
.hs-intro .display { max-width: 16ch; }
.hs-empty { display: grid; place-content: center; height: 100%; text-align: center; color: var(--muted); padding: 0 var(--pad); }

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lx-scroll { justify-self: start; }
  .lx-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .lx-foot-top { grid-template-columns: 1fr; }
  .lx-foot-title { font-size: clamp(32px, 9vw, 84px); }
}

@media (max-width: 900px) {
  .hero-title { font-size: clamp(36px, 10.4vw, 64px); }
  .hero-title-line { display: block; }
  .hero-title-serif { font-size: 0.92em; }
  .display { font-size: clamp(36px, 10.4vw, 64px); }
  .nav-links { gap: 22px; background: rgba(8, 8, 8, 0.94); }
  .nav-links a {
    font-size: clamp(26px, 7.4vw, 44px); font-weight: 900; font-stretch: 100%;
    letter-spacing: -0.04em; text-transform: uppercase; line-height: 1;
  }
  .nav-links .btn-cta { font-size: 12px; font-weight: 700; font-stretch: normal; letter-spacing: 0.16em; line-height: 1.4; }
  .process-row { grid-template-columns: 70px 1fr; }
  .lx-seq-cap { right: var(--pad); left: var(--pad); width: auto; top: auto; bottom: 96px; transform: translateY(12px); }
  .lx-seq-cap.is-on { transform: none; }
  .lx-seq-cap p { max-width: 34ch; }
  .lx-seq-shade { background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.85) 100%); }
  .lx-seq-bar { display: none; }
  .lx-seq.is-static .lx-seq-caps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 240px; }
  .hs-hint { display: none; }
  .hs-cap { padding-bottom: 66px; }
  .cta-band { margin: 0 6px; }
}

@media (max-width: 600px) {
  .lx-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .lx-foot-brand { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .lx-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-block { padding-left: 24px; gap: 14px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-scroll b, .hs-link, .hs-hud { animation: none; }
  .ticker-track { animation-play-state: paused; }
}

/* ============ QUOTE BUILDER ============
   The builder keeps its own typography (css/quote.css); only the shared
   header and the interactive background carry over from this layer. */
.quote-page .display, .quote-page .h2 {
  text-transform: none; font-stretch: normal; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1;
}
.quote-page .display .serif, .quote-page .h2 .serif { letter-spacing: inherit; line-height: inherit; margin-top: 0; }

/* ============ SHARP EDGES ============
   Buttons and controls are square-cornered throughout. */
.btn-cta, .btn-cta::before, .btn-block, .btn-block .arrow, .lx-round, .lx-foot-arrow,
.hs-filters, .hs-filter, .hs-arrow, .hs-mbtn, .hs-hud, .hs-scrub::before, .hs-scrub span { border-radius: 0; }
.btn-block { padding: 7px 7px 7px 28px; }
.lx-round:hover { transform: none; }
