/* ============================================================
   ALERA DIGITAL — Editorial / Studio system (DARK)
   Warm black · bone type · vermillion accent · Fraunces display
   ============================================================ */

:root {
  --bg:      #131009;   /* warm near-black */
  --bg-2:    #0E0B07;   /* deeper section tone */
  --bg-3:    #1B1710;   /* raised surface */
  --fg:      #ECE7DE;   /* warm bone */
  --fg-2:    #C9C2B4;
  --fg-soft: #8A8272;
  --hair:    rgba(236,231,222,0.14);
  --hair-2:  rgba(236,231,222,0.32);

  --accent:  #FF4D21;   /* vermillion, tuned for dark */

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --mono:  'Space Mono', monospace;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.76, 0, 0.24, 1);

  --pad:  clamp(1.25rem, 4.5vw, 5rem);
  --maxw: 1560px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
canvas, svg, img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

/* faint film grain — light dots on dark, static & cheap */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .16;
  background-image: radial-gradient(rgba(236,231,222,0.55) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}

/* ---------------- cursor ---------------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); pointer-events: none;
  mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------------- loader ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--accent); color: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad);
}
.loader__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; }
.loader__word { font-family: var(--serif); font-size: clamp(2rem, 8vw, 6rem); font-weight: 300; letter-spacing: -.02em; }
.loader__pct { font-family: var(--mono); font-size: clamp(2rem, 8vw, 6rem); }
.loader__bar { height: 2px; background: rgba(19,16,9,0.25); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--bg); }
.loader.is-done { pointer-events: none; }

/* ---------------- progress ---------------- */
.progress { position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 850; }
.progress i { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem var(--pad);
  color: var(--fg);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--accent); }
.nav__logo { height: 2.15rem; width: auto; display: block; }
.nav__name { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.nav__mid { display: flex; gap: 2.2rem; }
.nav__mid a { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: .45rem; align-items: baseline; position: relative; }
.nav__mid a .idx { color: var(--accent); }
.nav__mid a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0; background: currentColor; transition: width .4s var(--ease); }
.nav__mid a:hover::after { width: 100%; }
.nav__cta { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--hair-2); border-radius: 100px; padding: .6rem 1.1rem; background: rgba(19,16,9,0.55); backdrop-filter: blur(8px); transition: border-color .3s; }
.nav__cta:hover { border-color: var(--accent); }
.nav__cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.nav__burger { display: none; width: 30px; height: 16px; position: relative; }
.nav__burger span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--fg); transition: transform .4s var(--ease); }
.nav__burger span:nth-child(1){top:0;} .nav__burger span:nth-child(2){bottom:0;}
body.menu-open .nav__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
body.menu-open .nav__burger span:nth-child(2){ transform: translateY(-7px) rotate(-45deg);}

.menu { position: fixed; inset: 0; z-index: 790; background: var(--bg-2); color: var(--fg);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-2); }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 11vw, 5rem); letter-spacing: -.02em; line-height: 1.15; padding-bottom: .1em; }
.menu a:hover { color: var(--accent); font-style: italic; }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.5rem; border-radius: 100px; background: var(--fg); color: var(--bg);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; will-change: transform;
  transition: color .35s var(--ease-2);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease-2); }
.btn:hover { color: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translate(4px, -4px); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: .82rem; }

.link-arrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; position: relative; padding-bottom: 4px; color: var(--fg-2); transition: color .3s; }
.link-arrow::before { content: "→ "; color: var(--accent); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--hair-2); }
.link-arrow:hover { color: var(--fg); }

/* ============================================================
   SHARED
   ============================================================ */
main { position: relative; z-index: 2; }
.sec-head { padding: clamp(6rem, 16vh, 12rem) var(--pad) clamp(3rem, 7vh, 6rem); max-width: var(--maxw); margin: 0 auto; }
.sec-tag { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 1.6rem; }
.sec-title { font-family: var(--serif); font-weight: 300; letter-spacing: -.025em; font-size: clamp(2.2rem, 6vw, 5.5rem); line-height: 1.08; max-width: 18ch; }
.sec-title em, .approach__title em, .studio__statement em { font-style: italic; color: var(--accent); }

[data-fade] { opacity: 0; transform: translateY(20px); }

/* split-line wrappers get breathing room for descenders */
.u-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; padding: 8rem var(--pad) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  touch-action: pan-y; cursor: grab;
}
.hero.is-dragging { cursor: grabbing; }
/* the globe is a fixed, full-viewport layer: hero centerpiece, then a
   faint ambient world behind the rest of the page as you scroll */
.hero__bg { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }
.hero__meta, .hero__display, .hero__foot { position: relative; z-index: 2; pointer-events: none; }
.hero__meta a, .hero__display a, .hero__foot a, .hero__foot .btn { pointer-events: auto; }

.hero__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); border-bottom: 1px solid var(--hair); padding-bottom: 1.2rem; max-width: var(--maxw); width: 100%; margin: 0 auto; }

.hero__display { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: clamp(1.5rem, 5vh, 4rem) 0; }
.hero__title { font-family: var(--serif); font-weight: 300; letter-spacing: -.035em; font-size: clamp(3.2rem, 12vw, 11.5rem); line-height: .96; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .ln > span { display: block; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__hint { display: inline-block; margin-top: 2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); }

.hero__foot { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; border-top: 1px solid var(--hair); padding-top: 1.6rem; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.35rem); max-width: 42ch; color: var(--fg-2); }
.hero__actions { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker { background: var(--accent); color: var(--bg); padding: 1.3rem 0; overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; will-change: transform;
  animation: ticker-scroll 30s linear infinite; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 1.25rem)); } /* half the track + half the gap = seamless loop */
}
.ticker__track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.4rem); white-space: nowrap; padding-bottom: .1em; }
.ticker__track b { font-size: 1rem; }

/* ============================================================
   WORK / SERVICES INDEX
   ============================================================ */
.work { max-width: var(--maxw); margin: 0 auto; padding-bottom: 3rem; }
.index { list-style: none; border-top: 1px solid var(--hair); margin: 0 var(--pad); }
.row {
  position: relative; display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem 2rem;
  align-items: baseline; padding: clamp(1.6rem, 4vw, 2.8rem) 0; border-bottom: 1px solid var(--hair);
  cursor: pointer; transition: padding .5s var(--ease);
}
.row::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0; z-index: -1;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-2); }
.row:hover { padding-left: 1.5rem; padding-right: 1.5rem; }
.row:hover::before { transform: scaleY(1); }
.row:hover .row__no, .row:hover .row__title, .row:hover .row__desc, .row:hover .row__go { color: var(--bg); }
.row__no { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--fg-soft); padding-top: .5rem; transition: color .3s; }
.row__title { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1.1; padding-bottom: .08em; transition: color .3s; }
.row__desc { grid-column: 2; font-size: clamp(.95rem, 1.1vw, 1.1rem); color: var(--fg-soft); max-width: 60ch; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height .55s var(--ease), opacity .45s var(--ease), margin .5s var(--ease), color .3s; }
.row:hover .row__desc { max-height: 8rem; opacity: 1; margin-top: .8rem; }
.row__go { position: absolute; right: 0; top: 50%; transform: translateY(-50%) translateX(-1rem); font-size: 2rem; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.row:hover .row__go { opacity: 1; transform: translateY(-50%) translateX(-1.5rem); }

/* availability chips */
.row__chip {
  display: inline-block; vertical-align: middle; margin-left: 1rem; padding: .35em .9em;
  border-radius: 100px; border: 1px solid var(--accent);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap; transform: translateY(-.35em);
  transition: color .3s, border-color .3s;
}
.row:hover .row__chip { color: var(--bg); border-color: var(--bg); }
.row__chip--soon { border-color: var(--hair-2); color: var(--fg-soft); }

/* coming-soon rows: present but quieter */
.row--soon .row__title { color: var(--fg-soft); }
.row--soon::before { background: var(--bg-3); }
.row--soon:hover .row__no, .row--soon:hover .row__title, .row--soon:hover .row__desc, .row--soon:hover .row__go { color: var(--fg); }
.row--soon:hover .row__chip { color: var(--fg-2); border-color: var(--hair-2); }

/* ============================================================
   PRODUCT ICONS (service rows) — idle at right, swap for arrow on hover
   ============================================================ */
.row { position: relative; }
.row__icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; color: var(--fg-soft); opacity: 1; transition: opacity .35s var(--ease); pointer-events: none; }
.row__icon svg { width: 100%; height: 100%; }
.row:hover .row__icon { opacity: 0; }

.cd { animation: cdot 1.35s ease-in-out infinite; }
.cd2 { animation-delay: .18s; }
.cd3 { animation-delay: .36s; }
@keyframes cdot { 0%, 100% { opacity: .25; } 30% { opacity: 1; } }

.eqb { transform-origin: center; animation: eqbar 1.15s ease-in-out infinite; }
.eb2 { animation-delay: .14s; } .eb3 { animation-delay: .28s; } .eb4 { animation-delay: .42s; }
@keyframes eqbar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.sweep { transform-origin: 24px 24px; animation: sweep 2.6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { animation: blip 2.6s ease-out infinite; }
@keyframes blip { 0%, 12% { opacity: 0; } 18%, 40% { opacity: 1; } 70%, 100% { opacity: 0; } }

.trace { stroke-dasharray: 34 66; animation: tracemove 2.3s linear infinite; }
@keyframes tracemove { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ============================================================
   LIVE DEMOS — the products demonstrating themselves
   ============================================================ */
.demos { margin: clamp(3rem, 7vh, 5rem) var(--pad) 0; }
.demos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.4rem; }
.demo { background: var(--bg-3); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--fg-soft); }
.demo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2s infinite; }
.demo__body { padding: 1.3rem 1.2rem 1.5rem; }

/* chat playback */
.demo__chat { display: flex; flex-direction: column; gap: .65rem; min-height: 12.5rem; }
.msg { max-width: 78%; padding: .6rem .95rem; border-radius: 14px; font-size: .92rem; line-height: 1.4; opacity: 0; transform: translateY(8px); position: relative; }
.msg--user { align-self: flex-end; background: #2A241A; color: var(--fg-2); border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--accent); color: #1A0D06; border-bottom-left-radius: 4px; }
.msg__dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .3rem; opacity: 0; }
.msg__dots i { width: 6px; height: 6px; border-radius: 50%; background: #1A0D06; animation: cdot 1s ease-in-out infinite; }
.msg__dots i:nth-child(2) { animation-delay: .15s; } .msg__dots i:nth-child(3) { animation-delay: .3s; }
.msg__txt { opacity: 0; }

.cm1 { animation: msgin 16s var(--ease) infinite; }
.cm2 { animation: msgin2 16s var(--ease) infinite; }
.cm2 .msg__dots { animation: dots2 16s linear infinite; }
.cm2 .msg__txt  { animation: txt2 16s linear infinite; }
.cm3 { animation: msgin3 16s var(--ease) infinite; }
.cm4 { animation: msgin4 16s var(--ease) infinite; }
.cm4 .msg__dots { animation: dots4 16s linear infinite; }
.cm4 .msg__txt  { animation: txt4 16s linear infinite; }

@keyframes msgin  { 0%, 2% { opacity: 0; transform: translateY(8px); } 5%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; } }
@keyframes msgin2 { 0%, 10% { opacity: 0; transform: translateY(8px); } 13%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; } }
@keyframes dots2  { 0%, 12% { opacity: 0; } 13%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes txt2   { 0%, 25% { opacity: 0; } 28%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes msgin3 { 0%, 36% { opacity: 0; transform: translateY(8px); } 39%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; } }
@keyframes msgin4 { 0%, 46% { opacity: 0; transform: translateY(8px); } 49%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; } }
@keyframes dots4  { 0%, 48% { opacity: 0; } 49%, 60% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes txt4   { 0%, 61% { opacity: 0; } 64%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* voice playback */
.demo__voice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; min-height: 12.5rem; }
.voice-eq { display: flex; align-items: center; gap: .45rem; height: 3.4rem; }
.voice-eq i { width: .5rem; height: 100%; border-radius: 100px; background: var(--accent); transform-origin: center; animation: eqbar 1.2s ease-in-out infinite; }
.voice-eq i:nth-child(1) { animation-delay: 0s;   } .voice-eq i:nth-child(2) { animation-delay: .12s; }
.voice-eq i:nth-child(3) { animation-delay: .24s; } .voice-eq i:nth-child(4) { animation-delay: .36s; }
.voice-eq i:nth-child(5) { animation-delay: .48s; } .voice-eq i:nth-child(6) { animation-delay: .36s; }
.voice-eq i:nth-child(7) { animation-delay: .24s; } .voice-eq i:nth-child(8) { animation-delay: .12s; }
.voice-eq i:nth-child(9) { animation-delay: 0s;   }
.voice-status { position: relative; height: 1.4rem; width: 100%; text-align: center; }
.vs { position: absolute; left: 0; right: 0; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--fg-2); opacity: 0; }
.vs1 { animation: vsA 10s linear infinite; }
.vs2 { animation: vsB 10s linear infinite; }
.vs3 { animation: vsC 10s linear infinite; }
.vs4 { animation: vsD 10s linear infinite; }
@keyframes vsA { 0%, 2% { opacity: 0; } 5%, 22% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes vsB { 0%, 26% { opacity: 0; } 30%, 47% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes vsC { 0%, 51% { opacity: 0; } 55%, 72% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes vsD { 0%, 76% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }
.vs4 { color: var(--accent); }

/* ============================================================
   APPROACH
   ============================================================ */
.approach { background: var(--bg-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.approach__pin { min-height: 100vh; display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 6rem var(--pad); }
.approach__title { font-family: var(--serif); font-weight: 300; letter-spacing: -.03em; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.02; margin: 1rem 0 1.6rem; }
.approach__intro p { color: var(--fg-soft); max-width: 34ch; margin-bottom: 2.5rem; }
.approach__count { font-family: var(--mono); font-size: 1rem; letter-spacing: .1em; }
.approach__count span:first-child { color: var(--accent); }
.approach__count i { color: var(--fg-soft); margin: 0 .4rem; font-style: normal; }

.approach__stage { position: relative; }
.phase { padding: 2.6rem 0; border-top: 1px solid var(--hair); opacity: .28; transition: opacity .5s var(--ease); }
.phase:last-child { border-bottom: 1px solid var(--hair); }
.phase.is-active { opacity: 1; }
.phase__no { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--accent); }
.phase h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3rem); margin: .4rem 0 .7rem; letter-spacing: -.02em; }
.phase p { color: var(--fg-soft); max-width: 52ch; }

/* ============================================================
   RESULTS
   ============================================================ */
.results { max-width: var(--maxw); margin: 0 auto; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); margin: 0 var(--pad); }
.metric { padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(2rem, 5vw, 4rem) 0; border-right: 1px solid var(--hair); transition: background .4s var(--ease); }
.metric:last-child { border-right: none; }
.metric:hover .metric__num { color: var(--accent); transform: translateY(-4px); }
.metric__num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .4s var(--ease), transform .5s var(--ease); }
.metric__label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-soft); margin-top: 1.2rem; }
.results__fine { max-width: var(--maxw); margin: 1.4rem auto 0; padding: 0 var(--pad); font-family: var(--mono); font-size: .72rem; color: var(--fg-soft); }

/* ============================================================
   STUDIO
   ============================================================ */
.studio { max-width: var(--maxw); margin: 0 auto; padding: clamp(6rem, 16vh, 12rem) var(--pad); }
.studio__statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.3; letter-spacing: -.015em; max-width: 26ch; margin-bottom: clamp(3rem, 8vh, 6rem); }

/* statement + living mark, side by side */
.studio__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 8vh, 6rem); }
.studio__top .studio__statement { margin-bottom: 0; }
.studio-figure { position: relative; display: flex; align-items: center; justify-content: center; }
.studio-figure::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 33, 0.13), transparent 65%);
  animation: glowpulse 5.5s ease-in-out infinite;
}
.studio-mark { position: relative; width: min(360px, 82%); animation: markfloat 7s ease-in-out infinite; }
.studio-mark__capsule { animation: capsulebreathe 3.4s ease-in-out infinite; }
@keyframes markfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes capsulebreathe { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-2.1px, -4.4px); } }
@keyframes glowpulse { 0%, 100% { opacity: .5; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
.studio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 1px solid var(--hair); padding-top: 2.5rem; }
.studio__grid .k { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.studio__grid p { color: var(--fg-2); font-size: 1.02rem; max-width: 34ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); border-top: 1px solid var(--hair); padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.contact__head { max-width: var(--maxw); margin: 0 auto clamp(3rem, 7vh, 5rem); }
.contact__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; padding-bottom: .1em; }
.form { max-width: var(--maxw); margin: 0 auto; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.field { position: relative; border-bottom: 1px solid var(--hair-2); margin-bottom: 2.2rem; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 1.6rem 0 .7rem; background: transparent; border: none; color: var(--fg); font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.3rem); resize: none; }
.field input:focus, .field textarea:focus { outline: none; }
.field label { position: absolute; left: 0; top: 1.5rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-soft); pointer-events: none; transition: transform .35s var(--ease), color .35s, font-size .35s; }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.5rem); font-size: .66rem; color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.field:focus-within::after { width: 100%; }
.form__submit { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; }
.form__note { font-family: var(--mono); font-size: .72rem; color: var(--fg-soft); max-width: 32ch; }
.form.is-sent .btn { background: var(--accent); color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); padding: clamp(4rem, 8vh, 6rem) var(--pad) 2rem; border-top: 1px solid var(--hair); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: var(--maxw); margin: 0 auto clamp(3rem, 8vh, 6rem); }
.footer__mail { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 5vw, 4rem); letter-spacing: -.02em; padding-bottom: .12em; }
.footer__mail:hover { color: var(--accent); font-style: italic; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer__nav .k { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 1.1rem; }
.footer__nav a { display: block; color: var(--fg-2); margin-bottom: .6rem; width: fit-content; transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__word { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 26vw, 24rem); line-height: .8; letter-spacing: -.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(236,231,222,0.22); margin: 2rem 0; user-select: none; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--fg-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav__mid { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 2rem; }
  .approach__pin { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding-top: 6rem; padding-bottom: 6rem; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric { border-bottom: 1px solid var(--hair); }
  .studio__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .demos__grid { grid-template-columns: 1fr; }
  .studio__top { grid-template-columns: 1fr; }
  .studio-mark { width: min(240px, 60%); }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; }
  .row { grid-template-columns: 3rem 1fr; }
  .row__icon { display: none; }
  .footer__nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-fade] { opacity: 1; transform: none; }
  /* the ticker is decorative brand texture — keep it drifting, just slower */
  .ticker__track { animation: ticker-scroll 45s linear infinite !important; }
  /* product icons + live demos are informative showcases — keep them playing, gently slower */
  .cd, .msg__dots i { animation-duration: 2s !important; animation-iteration-count: infinite !important; }
  .eqb, .voice-eq i { animation-duration: 2.2s !important; animation-iteration-count: infinite !important; }
  .sweep, .blip { animation-duration: 4s !important; animation-iteration-count: infinite !important; }
  .trace { animation-duration: 3.5s !important; animation-iteration-count: infinite !important; }
  .cm1, .cm2, .cm3, .cm4, .cm2 .msg__dots, .cm2 .msg__txt, .cm4 .msg__dots, .cm4 .msg__txt { animation-duration: 22s !important; animation-iteration-count: infinite !important; }
  .vs1, .vs2, .vs3, .vs4 { animation-duration: 14s !important; animation-iteration-count: infinite !important; }
  .studio-mark { animation-duration: 10s !important; animation-iteration-count: infinite !important; }
  .studio-mark__capsule { animation-duration: 5s !important; animation-iteration-count: infinite !important; }
  .studio-figure::before { animation-duration: 8s !important; animation-iteration-count: infinite !important; }
}
