/* ============================================================
   DOBSONYX — main.css
   Onyx. Strong.
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 500; font-style: normal; font-display: swap;
  src: url("/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 700; font-style: normal; font-display: swap;
  src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500; font-style: normal; font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --onyx:  #0A0A0B;
  --onyx2: #101012;
  --onyx3: #151517;
  --band:  #2A2C2F;
  --stone: #6E7073;
  --bone:  #F4F3F1;
  --sard:  #E23D28;
  --sard-deep: #B32E1D;

  --line: rgba(244, 243, 241, 0.08);
  --line-strong: rgba(244, 243, 241, 0.16);

  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power: cubic-bezier(0.83, 0, 0.17, 1);

  --skew: -12deg;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--onyx);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--sard); color: var(--bone); }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--sard); }
strong { font-weight: 700; color: var(--bone); }

.h2 { font-size: clamp(34px, 4.6vw, 62px); }
.body-l { font-size: clamp(17px, 1.5vw, 20px); color: var(--stone); }
.body-l strong { color: var(--bone); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}
.eyebrow .tick { width: 34px; height: 1px; background: var(--sard); display: inline-block; }
.sec-num { color: var(--sard); margin-right: 14px; }
.eyebrow-onred { color: rgba(244,243,241,.75); }
.eyebrow-onred .sec-num { color: var(--bone); }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  mix-blend-mode: normal;
}
.cursor-dot {
  position: absolute; top: -4px; left: -4px;
  width: 8px; height: 8px;
  background: var(--sard);
  transform: skewX(var(--skew));
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              top .25s var(--ease-out), left .25s var(--ease-out),
              background .25s, opacity .2s;
}
.cursor-arrow {
  position: absolute; top: -2px; left: -2px;
  width: 22px; height: 22px;
  fill: var(--bone);
  stroke: var(--onyx); stroke-width: 1;
  opacity: 0;
  transform: scale(.5) rotate(-8deg);
  transition: opacity .25s, transform .3s var(--ease-out);
}
.cursor.is-link .cursor-dot { width: 44px; height: 44px; top: -22px; left: -22px; background: transparent; outline: 1px solid var(--sard); }
.cursor.is-cta .cursor-arrow { opacity: 1; transform: scale(1) rotate(0deg); }
.cursor.is-cta .cursor-dot { opacity: 0; }
@media (hover: none), (max-width: 820px) { .cursor { display: none; } }
@media (hover: hover) and (min-width: 821px) {
  body { cursor: none; }
  a, button { cursor: none; }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--onyx);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 34px;
  transition: transform .9s var(--ease-power), visibility .9s;
}
.loader.done { transform: translateY(-100%); visibility: hidden; }
.loader-mark { display: flex; flex-direction: column; gap: 10px; }
.lm {
  width: 92px; height: 22px;
  transform: skewX(var(--skew)) translateX(120px);
  opacity: 0;
  animation: lm-in .7s var(--ease-out) forwards;
}
.lm-1 { background: var(--sard);  animation-delay: .1s; }
.lm-2 { background: var(--band);  animation-delay: .25s; }
.lm-3 { background: var(--bone);  animation-delay: .4s; }
@keyframes lm-in { to { transform: skewX(var(--skew)) translateX(0); opacity: 1; } }
.loader-word {
  font-size: 12px; letter-spacing: .5em; color: var(--stone);
  opacity: 0; animation: fade-in .6s .6s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .4s, border-color .4s, transform .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 26px; height: 23px; overflow: visible; }
.bm { transition: transform .4s var(--ease-out); }
.bm-red  { fill: var(--sard); }
.bm-band { fill: var(--band); }
.bm-bone { fill: var(--bone); }
.brand:hover .bm-red  { transform: translateX(6px); }
.brand:hover .bm-bone { transform: translateX(-6px); }
.brand-word { font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.bw-dobs { color: var(--stone); }
.bw-onyx { color: var(--bone); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--stone);
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav-num { font-size: 10px; color: var(--sard); margin-right: 7px; letter-spacing: .1em; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--sard);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--bone); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  padding: 16px 30px;
  color: var(--onyx);
  /* gradient swipe: bone at rest, sardonyx sweeps in from the left on hover */
  background: linear-gradient(to right, var(--sard) 0 50%, var(--bone) 50% 100%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transform: skewX(var(--skew));
  transition: background-position .45s var(--ease-power), color .25s .1s;
  border: 0;
  text-align: center;
}
.btn:hover { background-position: 0 0; color: var(--bone); }
.btn-primary { font-size: 17px; padding: 18px 36px; }
.btn-nav { padding: 11px 22px; font-size: 14px; }

.link-quiet {
  font-size: 12px; letter-spacing: .18em; color: var(--stone);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .3s;
}
.link-quiet:hover { color: var(--bone); }
.lq-arrow { transition: transform .3s var(--ease-out); display: inline-block; }
.link-quiet:hover .lq-arrow, .case-row:hover .lq-arrow { transform: translateX(6px); }

/* ---------- reveals ---------- */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.rv.in { opacity: 1; transform: translateY(0); }

/* split-word reveal */
[data-split] .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
[data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-power);
  transition-delay: var(--wd, 0s);
}
[data-split].in .w > span { transform: translateY(0); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, black 0%, transparent 75%);
  animation: grid-drift 26s linear infinite alternate;
}
@keyframes grid-drift { to { background-position: 45px 30px; } }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero-eyebrow { margin-bottom: 30px; }
.hero-h {
  font-size: clamp(44px, 6.4vw, 92px);
  margin-bottom: 30px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--stone);
  max-width: 54ch;
  margin-bottom: 44px;
}
.hero-ctas { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: var(--gutter);
  font-size: 10px; letter-spacing: .3em; color: var(--stone);
  display: flex; align-items: center; gap: 12px;
}
.hs-line { width: 56px; height: 1px; background: var(--stone); position: relative; overflow: hidden; }
.hs-line::after {
  content: ""; position: absolute; inset: 0; background: var(--sard);
  animation: hs-sweep 2.2s var(--ease-power) infinite;
}
@keyframes hs-sweep {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* hero 3d stack */
.hero-visual { perspective: 1100px; display: flex; justify-content: center; }
.stack3d {
  position: relative;
  width: min(340px, 70vw);
  aspect-ratio: 1 / 1.05;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-42deg) translateZ(calc(var(--my, 0) * 6px)) ;
  transition: transform .2s linear;
}
.s3 {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px 20px;
  /* parallelogram plate — the logo geometry */
  transform: translateZ(calc(var(--z) * 1px)) translateX(calc(var(--z) * 0.16px)) skewX(var(--skew));
  animation: s3-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--z) * -0.02s);
}
/* logo layer colors: sardonyx / band / deep / bone */
.s3-1 { --z: 168; background: var(--sard); border: 1px solid #F0553F; box-shadow: 0 0 60px rgba(226, 61, 40, 0.35); }
.s3-2 { --z: 112; background: #2F3237; border: 1px solid #43474D; }
.s3-3 { --z: 56;  background: #1A1B1E; border: 1px solid #303338; }
.s3-4 { --z: 0;   background: var(--bone); border: 1px solid var(--bone); box-shadow: 0 0 46px rgba(244, 243, 241, 0.14); }
@keyframes s3-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: calc(var(--z) * -0.055px); }
}
.s3-label {
  font-size: 10px; letter-spacing: .24em; color: var(--stone);
  transform: skewX(calc(var(--skew) * -1));
}
.s3-1 .s3-label { color: rgba(10, 10, 11, 0.8); font-weight: 500; }
.s3-2 .s3-label { color: #9A9DA2; }
.s3-4 .s3-label { color: var(--band); font-weight: 500; }
.s3-base {
  position: absolute; inset: 0;
  transform: translateZ(-60px) translateX(-14px) skewX(var(--skew));
  border: 1px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .4em; color: var(--stone);
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--onyx2);
}
.marquee-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span { font-size: 12px; letter-spacing: .28em; color: var(--stone); white-space: nowrap; }
.marquee-track i {
  width: 14px; height: 8px; flex: none;
  background: var(--sard);
  transform: skewX(var(--skew));
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- bands ---------- */
.band { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.band-head { margin-bottom: clamp(36px, 5vw, 64px); }
.band-head-split { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

.band-why { border-top: 1px solid var(--line); }
.band-why .h2 { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 60px); }
.accent { color: var(--sard); }
.why-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  max-width: 1000px;
}

/* ---------- layers ---------- */
.band-layers { border-top: 1px solid var(--line); background: var(--onyx2); }
.layers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.layer-item {
  padding: 30px 26px 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .4s var(--ease-out);
}
.layer-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--sard);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
  transform-origin: top;
}
.layer-item:hover, .layer-item.hot { padding-left: 26px; }
.layer-item:hover::before, .layer-item.hot::before { transform: scaleY(1); }
.li-num { font-size: 11px; color: var(--sard); letter-spacing: .2em; margin-bottom: 10px; }
.li-title { font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.li-tag {
  font-size: 10px; letter-spacing: .18em; font-weight: 400;
  color: var(--sard); border: 1px solid var(--sard);
  padding: 4px 10px;
  transform: skewX(var(--skew));
}
.li-body { color: var(--stone); font-size: 16px; max-width: 56ch; }

.layers-visual {
  position: sticky; top: max(110px, calc(50vh - 290px));
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  padding-top: 10px;
}
.stackx { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 22px); width: 100%; max-width: 460px; }
.sx {
  height: clamp(56px, 5.6vw, 76px);
  display: flex; align-items: center;
  /* brand-kit layer colors, muted at rest; offset stagger from the lockup */
  background: color-mix(in srgb, var(--c) 14%, var(--onyx3));
  border: 1px solid color-mix(in srgb, var(--c) 42%, transparent);
  transform: skewX(var(--skew)) translateX(var(--ox, 0px));
  transition: background .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .35s;
}
.sx[data-sx="5"] { --c: var(--sard);  --ox: 40px; }
.sx[data-sx="4"] { --c: #4A4E55;      --ox: 20px; }
.sx[data-sx="3"] { --c: var(--stone); --ox: 0px; }
.sx[data-sx="2"] { --c: var(--band);  --ox: -20px; background: color-mix(in srgb, var(--c) 34%, var(--onyx3)); border-color: color-mix(in srgb, var(--c) 80%, transparent); }
.sx[data-sx="1"] { --c: var(--bone);  --ox: -40px; }
.sx-in {
  transform: skewX(calc(var(--skew) * -1));
  display: flex; justify-content: space-between; align-items: baseline;
  width: 100%; padding: 0 28px;
  font-size: 12px; letter-spacing: .24em;
  color: var(--stone);
  transition: color .35s;
}
.sx-in b { font-weight: 500; color: color-mix(in srgb, var(--c) 75%, var(--stone)); transition: color .35s; }
.sx-in i { font-style: normal; opacity: .75; }
.sx.hot {
  background: var(--c);
  border-color: var(--c);
  transform: skewX(var(--skew)) translateX(calc(var(--ox, 0px) + 32px)) scaleY(1.08);
  box-shadow: 0 14px 54px color-mix(in srgb, var(--c) 42%, transparent);
}
.sx.hot .sx-in, .sx.hot .sx-in b { color: var(--bone); }
.sx.hot .sx-in i { opacity: 1; }
.sx[data-sx="1"].hot .sx-in, .sx[data-sx="1"].hot .sx-in b,
.sx[data-sx="3"].hot .sx-in, .sx[data-sx="3"].hot .sx-in b { color: var(--onyx); }
.stackx-caption { font-size: 10px; letter-spacing: .3em; color: var(--stone); transition: color .3s; }
.stackx-caption.hot { color: var(--sard); }

/* ---------- AEO band ---------- */
.band-aeo {
  background: var(--sard);
  color: var(--bone);
  clip-path: polygon(0 0, 100% clamp(0px, 4vw, 56px), 100% 100%, 0 calc(100% - clamp(0px, 4vw, 56px)));
  padding: clamp(120px, 14vw, 200px) 0;
}
.band-aeo .h2 { color: var(--bone); max-width: 22ch; }
.band-aeo em { color: var(--onyx); }
.band-aeo .body-l { color: rgba(244, 243, 241, 0.82); }
.aeo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.aeo-copy .h2 { margin-bottom: 30px; }
.aeo-copy .body-l { margin-bottom: 22px; }
.aeo-catch {
  border-left: 3px solid var(--onyx);
  padding-left: 22px;
  color: var(--bone) !important;
}

.aeo-demo { display: flex; flex-direction: column; gap: 16px; }
.aeo-chat {
  background: var(--onyx);
  border: 1px solid rgba(0,0,0,.35);
  padding: 28px;
  box-shadow: 18px 18px 0 rgba(10, 10, 11, 0.25);
}
.aeo-chat-head {
  font-size: 10px; letter-spacing: .3em; color: var(--stone);
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.aeo-chat-head::before {
  content: ""; width: 8px; height: 8px; background: var(--sard);
  transform: skewX(var(--skew));
}
.aeo-q, .aeo-a { display: flex; gap: 14px; align-items: flex-start; }
.aeo-q { margin-bottom: 20px; }
.aeo-who {
  font-size: 9px; letter-spacing: .2em; color: var(--stone);
  border: 1px solid var(--line-strong);
  padding: 4px 8px; flex: none;
  margin-top: 2px;
}
.aeo-who-ai { color: var(--sard); border-color: var(--sard); }
.aeo-q p, .aeo-a p { font-size: 15px; line-height: 1.55; min-height: 1.55em; }
.aeo-q p { color: var(--stone); }
.aeo-a p { color: var(--bone); }
.aeo-a .hl { color: var(--sard); font-weight: 700; }
.aeo-caret {
  display: inline-block; width: 9px; height: 17px;
  background: var(--sard); vertical-align: text-bottom;
  animation: caret-blink 1s steps(2) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.aeo-demo-note { font-size: 10px; letter-spacing: .26em; color: rgba(10, 10, 11, 0.65); }

/* ---------- case rows ---------- */
.band-work { background: var(--onyx); }
.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 70px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.case-row:last-child { border-bottom: 1px solid var(--line); }
.case-row-alt { direction: rtl; }
.case-row-alt > * { direction: ltr; }

.case-media {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  position: relative;
  background: var(--onyx3);
  border: 1px solid var(--line);
}
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(226,61,40,.16), transparent 55%);
  opacity: 0; transition: opacity .5s;
}
.case-row:hover .case-media::after { opacity: 1; }
.case-media-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: 15px; letter-spacing: .3em; color: var(--band);
  gap: 6px;
  transition: transform .7s var(--ease-out);
}
.case-media-inner span { font-size: 10px; color: var(--stone); letter-spacing: .26em; }
.case-row:hover .case-media-inner { transform: scale(1.05); }

.case-num { font-size: 11px; color: var(--sard); letter-spacing: .24em; margin-bottom: 14px; }
.case-title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 16px; }
.case-desc { color: var(--stone); margin-bottom: 18px; max-width: 52ch; }
.case-tags { font-size: 10px; letter-spacing: .22em; color: var(--band); margin-bottom: 26px; }
.case-cta { font-size: 11px; letter-spacing: .2em; color: var(--bone); display: inline-flex; gap: 10px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-cta { padding: clamp(90px, 11vw, 150px) 0; text-align: left; }
.footer-cta .eyebrow { margin-bottom: 26px; }
.footer-cta-line {
  display: inline-flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  position: relative;
  transition: color .3s;
}
.footer-cta-line::after {
  content: ""; position: absolute; bottom: -10px; left: 0;
  width: 100%; height: 2px; background: var(--sard);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-power);
}
.footer-cta-line:hover::after { transform: scaleX(1); }
.footer-cta-line:hover { color: var(--sard); }
.fc-arrow { width: clamp(30px, 5vw, 70px); height: auto; color: var(--sard); transition: transform .45s var(--ease-out); }
.footer-cta-line:hover .fc-arrow { transform: translate(8px, -8px); }
.footer-cta-sub { color: var(--bone); margin-top: 30px; font-size: 17px; }

.footer-main { border-top: 1px solid var(--line); background: var(--onyx2); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-top: 64px; padding-bottom: 64px;
}
.footer-brand .brand-mark { width: 34px; height: 30px; margin-bottom: 20px; }
.footer-tag { font-size: 10px; letter-spacing: .3em; color: var(--bone); margin-bottom: 12px; }
.footer-line { color: var(--bone); font-size: 15px; }
.footer-head { font-size: 10px; letter-spacing: .3em; color: var(--bone); margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--bone); font-size: 15px; transition: color .3s; width: fit-content; }
.footer-col a:hover { color: var(--sard); }
.footer-loc { color: var(--bone); font-size: 14px; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid var(--line);
}
.footer-legal p { font-size: 10px; letter-spacing: .2em; color: var(--bone); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .stack3d { width: min(230px, 56vw); }
  .layers-grid { grid-template-columns: 1fr; }
  .layers-visual { display: none; }
  .aeo-grid { grid-template-columns: 1fr; }
  .case-row, .case-row-alt { grid-template-columns: 1fr; direction: ltr; }
  .why-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 0;
    background: var(--onyx);
    flex-direction: column; justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-power);
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { font-size: 26px; font-weight: 700; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: 0; padding: 8px;
  }
  .nav-toggle span {
    width: 26px; height: 2px; background: var(--bone);
    transition: transform .35s var(--ease-out), opacity .3s;
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { padding-top: 120px; }
  .hero-scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta-line { font-size: clamp(30px, 9.4vw, 44px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .rv, [data-split] .w > span { opacity: 1; transform: none; }
  .loader { display: none; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */

/* ---------- page hero ---------- */
.page-hero {
  padding: clamp(160px, 20vh, 230px) 0 clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 28px; }
.page-h { font-size: clamp(40px, 6vw, 84px); margin-bottom: 26px; }
.page-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--stone); max-width: 62ch; }

/* ---------- system page ---------- */
.band-sys { padding-top: clamp(50px, 7vw, 90px); }
.sys-layer {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.sys-layer:last-child { border-bottom: 0; }
.sys-num-col { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.sys-num { font-size: 13px; letter-spacing: .2em; color: var(--sard); }
.sys-plate {
  width: 84px; height: 20px;
  background: var(--c, var(--band));
  transform: skewX(var(--skew));
  box-shadow: 0 6px 26px color-mix(in srgb, var(--c, var(--band)) 25%, transparent);
}
.sys-title { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sys-body p { color: var(--stone); max-width: 64ch; }
.sys-body p strong { color: var(--bone); }
.sys-tags { font-size: 10px; letter-spacing: .22em; color: var(--stone); margin-top: 18px; opacity: .8; }
.aeo-constraint {
  border-left: 3px solid var(--sard);
  background: var(--onyx2);
  padding: 22px 26px;
  margin: 22px 0;
  max-width: 640px;
}
.aeo-constraint-head { font-size: 10px; letter-spacing: .26em; color: var(--sard); margin-bottom: 10px; }
.aeo-constraint p:last-child { color: var(--stone); }

.band-engage { border-top: 1px solid var(--line); background: var(--onyx2); }
.engage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.engage-step { background: var(--onyx2); padding: 34px 28px; transition: background .3s; }
.engage-step:hover { background: var(--onyx3); }
.es-num { font-size: 11px; letter-spacing: .2em; color: var(--sard); margin-bottom: 40px; }
.engage-step h3 { font-size: 21px; margin-bottom: 12px; }
.engage-step p { color: var(--stone); font-size: 15px; }

.band-invest { border-top: 1px solid var(--line); }
.invest-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
.invest-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.invest-note { font-size: 10px; letter-spacing: .26em; color: var(--stone); }

/* ---------- about ---------- */
.band-about { padding-top: clamp(50px, 7vw, 90px); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.about-copy p { margin-bottom: 26px; color: var(--stone); font-size: clamp(16px, 1.4vw, 18px); }
.about-lede { color: var(--bone) !important; font-size: clamp(20px, 2vw, 26px) !important; font-weight: 500; line-height: 1.45; }
.about-quote {
  border-left: 3px solid var(--sard);
  padding: 6px 0 6px 26px;
  margin: 36px 0;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500; line-height: 1.5;
  color: var(--bone);
}
.about-copy .hero-ctas { margin-top: 40px; }
.about-side { display: flex; flex-direction: column; gap: 34px; position: sticky; top: 120px; }
.about-side-block { border: 1px solid var(--line); background: var(--onyx2); padding: 28px; }
.about-clients { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.about-clients li { display: flex; flex-direction: column; gap: 5px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.about-clients li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-clients span { font-family: var(--font-sans); font-weight: 700; font-size: 17px; }
.about-clients i { font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--stone); }
.about-model { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-model li { color: var(--stone); font-size: 15px; padding-left: 20px; position: relative; }
.about-model li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 6px; background: var(--sard);
  transform: skewX(var(--skew));
}

/* ---------- case studies ---------- */
.case-hero .page-h { margin-bottom: 22px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; align-items: center; }
.case-meta > span { font-size: 10px; letter-spacing: .2em; color: var(--stone); border: 1px solid var(--line-strong); padding: 7px 13px; transform: skewX(var(--skew)); }
.case-live { font-size: 11px; color: var(--sard); }
.case-live:hover { color: var(--bone); }
.band-case { padding-top: clamp(50px, 7vw, 90px); }
.case-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.case-block { margin-bottom: clamp(50px, 6vw, 80px); }
.cb-label { font-size: 11px; letter-spacing: .24em; color: var(--sard); margin-bottom: 18px; }
.cb-title { font-size: clamp(24px, 2.8vw, 38px); margin-bottom: 18px; max-width: 24ch; }
.case-block p { color: var(--stone); max-width: 62ch; margin-bottom: 16px; }
.case-block p strong, .case-list strong { color: var(--bone); }
.case-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.case-list li { color: var(--stone); padding-left: 26px; position: relative; max-width: 60ch; }
.case-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 7px; background: var(--sard);
  transform: skewX(var(--skew));
}
.case-side { position: sticky; top: 120px; }
.case-facts { border: 1px solid var(--line); background: var(--onyx2); padding: 28px; }
.case-facts dl { display: flex; flex-direction: column; gap: 0; }
.case-facts dt { font-size: 10px; letter-spacing: .22em; color: var(--stone); margin-top: 16px; }
.case-facts dd { font-family: var(--font-sans); font-size: 16px; color: var(--bone); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-facts dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
.case-facts dd a { color: var(--sard); }
.case-facts dd a:hover { color: var(--bone); }
.case-next-band { border-top: 1px solid var(--line); }
.case-next {
  display: inline-flex; align-items: center; gap: clamp(14px, 2.5vw, 30px);
  font-size: clamp(34px, 5vw, 70px); font-weight: 700; letter-spacing: -0.03em;
  margin-top: 22px; transition: color .3s;
}
.case-next:hover { color: var(--sard); }
.case-next .fc-arrow { color: var(--sard); }

/* ---------- strategy call form ---------- */
.band-form { padding-top: clamp(50px, 7vw, 90px); }
.form-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(40px, 6vw, 90px); align-items: start;
}
.lead-form { display: flex; flex-direction: column; gap: 30px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ff { display: flex; flex-direction: column; gap: 12px; }
.ff label.mono, .ff > label { font-size: 10px; letter-spacing: .24em; color: var(--stone); }
.ff input, .ff select, .ff textarea {
  background: var(--onyx2);
  border: 1px solid var(--line-strong);
  color: var(--bone);
  font-family: var(--font-sans); font-size: 16px;
  padding: 15px 18px;
  transition: border-color .3s, background .3s;
  border-radius: 0;
  width: 100%;
}
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none; border-color: var(--sard); background: var(--onyx3);
}
.ff select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.ff textarea { resize: vertical; min-height: 110px; }
.ff-checks { display: flex; flex-wrap: wrap; gap: 12px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; }
.check span {
  display: inline-block;
  border: 1px solid var(--line-strong);
  color: var(--stone);
  font-size: 14px; font-weight: 500;
  padding: 11px 20px;
  transform: skewX(var(--skew));
  transition: all .25s;
}
.check span { display: inline-flex; }
.check:hover span { border-color: var(--stone); color: var(--bone); }
.check input:checked + span {
  background: var(--sard); border-color: var(--sard); color: var(--bone);
}
.btn-submit { align-self: flex-start; margin-top: 6px; }
.btn-submit:disabled { opacity: .6; pointer-events: none; }
.form-err { color: var(--sard); font-size: 11px; letter-spacing: .18em; }
.form-side { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 120px; }
.form-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.form-steps li { display: flex; gap: 16px; color: var(--stone); font-size: 15px; align-items: baseline; }
.form-steps li .mono { color: var(--sard); font-size: 11px; letter-spacing: .1em; }
.form-success[hidden] { display: none; }
.form-success {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.fs-inner { text-align: center; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fs-inner .brand-mark { width: 44px; height: 39px; }

/* ---------- dashboard ---------- */
.dash-hero { padding-bottom: 40px; }
.dash-stats { display: flex; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; max-width: 720px; }
.ds { background: var(--onyx2); padding: 22px 30px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ds-num { font-size: 30px; color: var(--bone); }
.ds-label { font-size: 9px; letter-spacing: .24em; color: var(--stone); }
.dash-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.dash-table { width: 100%; border-collapse: collapse; background: var(--onyx2); font-size: 14px; }
.dash-table th {
  text-align: left; font-weight: 400; font-size: 9px; letter-spacing: .22em;
  color: var(--stone); padding: 14px 16px; border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.dash-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dash-table tr:last-child td { border-bottom: 0; }
.td-dim { color: var(--stone); font-size: 12px; }
.td-mail { color: var(--sard); font-size: 13px; }
.td-msg { color: var(--stone); font-size: 13px; max-width: 260px; }
.dash-status {
  background: var(--onyx3); color: var(--bone);
  border: 1px solid var(--line-strong);
  font-size: 10px; letter-spacing: .14em;
  padding: 8px 10px;
}
.dash-status[data-status="new"] { border-color: var(--sard); color: var(--sard); }
.dash-status[data-status="won"] { border-color: #3E9B4F; color: #6FCF7E; }

/* ---------- inner responsive ---------- */
@media (max-width: 1020px) {
  .sys-layer { grid-template-columns: 1fr; gap: 18px; }
  .sys-num-col { flex-direction: row; align-items: center; }
  .engage-grid { grid-template-columns: 1fr 1fr; }
  .invest-grid, .about-grid, .case-grid, .form-grid { grid-template-columns: 1fr; }
  .about-side, .case-side, .form-side { position: static; }
}
@media (max-width: 640px) {
  .engage-grid { grid-template-columns: 1fr; }
  .ff-row { grid-template-columns: 1fr; }
  .dash-stats { flex-wrap: wrap; }
}

/* ---------- about portrait ---------- */
.about-portrait { position: relative; margin: 0; }
.ap-stage {
  position: relative;
  aspect-ratio: 900 / 1290;   /* photo ratio + headroom above the head */
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(226, 61, 40, 0.10), transparent 70%),
    var(--onyx2);
  background-size: 44px 44px, 44px 44px, auto, auto;
  border: 1px solid var(--line-strong);
}
.ap-stage picture, .ap-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ap-stage img {
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .55));
}
.ap-caption { font-size: 10px; letter-spacing: .26em; color: var(--stone); margin-top: 14px; }

/* ============================================================
   ONYX — AI front desk widget
   ============================================================ */
.onyx-bot {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 4000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}

/* toggle button — the layered mark, plates spread on hover */
.ob-toggle {
  width: 62px; height: 62px;
  background: var(--onyx2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transform: skewX(var(--skew));
  transition: border-color .3s, background .3s, box-shadow .3s;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}
.ob-toggle:hover { border-color: var(--sard); box-shadow: 0 10px 44px rgba(226, 61, 40, .25); }
.ob-tmark { width: 26px; height: 23px; overflow: visible; transform: skewX(calc(var(--skew) * -1)); transition: opacity .25s, transform .35s var(--ease-out); }
.obt-p { transition: transform .35s var(--ease-out); }
.ob-toggle:hover .obt-1 { transform: translateY(-3px); }
.ob-toggle:hover .obt-3 { transform: translateY(3px); }
.ob-toggle::after {
  content: ""; position: absolute; top: -4px; right: -4px;
  width: 10px; height: 10px; background: var(--sard);
  transform: skewX(calc(var(--skew) * -1));
  animation: ob-pulse 2.4s ease-in-out infinite;
}
@keyframes ob-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.ob-x {
  position: absolute; width: 22px; height: 22px;
  transform: skewX(calc(var(--skew) * -1)) scale(.4) rotate(-45deg);
  opacity: 0; transition: opacity .25s, transform .35s var(--ease-out);
}
.ob-x::before, .ob-x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: var(--bone);
}
.ob-x::before { transform: rotate(45deg); }
.ob-x::after { transform: rotate(-45deg); }
.ob-toggle.open .ob-tmark { opacity: 0; transform: skewX(calc(var(--skew) * -1)) scale(.4); }
.ob-toggle.open .ob-x { opacity: 1; transform: skewX(calc(var(--skew) * -1)) scale(1) rotate(0deg); }
.ob-toggle.open::after { animation: none; opacity: 0; }

/* panel */
.ob-panel {
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 130px));
  background: rgba(10, 10, 11, .97);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(26px) skewX(-2deg);
  transition: opacity .4s var(--ease-out), transform .45s var(--ease-power);
}
.ob-panel.in { opacity: 1; transform: translateY(0) skewX(0); }
.ob-panel[hidden] { display: none; }

.ob-head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--onyx2);
}
.ob-mark { width: 24px; height: 21px; flex: none; }
.ob-head-txt { flex: 1; }
.ob-title { font-size: 13px; letter-spacing: .3em; color: var(--bone); font-weight: 500; }
.ob-sub { font-size: 9px; letter-spacing: .24em; color: var(--stone); display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.ob-dot { width: 7px; height: 7px; background: var(--sard); transform: skewX(var(--skew)); animation: ob-pulse 2.4s ease-in-out infinite; }
.ob-close {
  background: none; border: 1px solid var(--line-strong);
  color: var(--stone); font-size: 9px; letter-spacing: .2em;
  padding: 7px 10px; transform: skewX(var(--skew));
  transition: color .25s, border-color .25s;
}
.ob-close:hover { color: var(--bone); border-color: var(--sard); }

.ob-msgs {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: var(--band) transparent;
}
.ob-msg { display: flex; }
.ob-user { justify-content: flex-end; }
.ob-bubble {
  max-width: 85%;
  padding: 12px 16px;
  font-size: 14.5px; line-height: 1.55;
}
.ob-assistant .ob-bubble {
  background: var(--onyx3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sard);
  color: var(--bone);
}
.ob-user .ob-bubble {
  background: var(--bone);
  color: var(--onyx);
  transform: skewX(var(--skew));
}
.ob-user .ob-bubble { font-weight: 500; }
.ob-bubble a { color: var(--sard); text-decoration: underline; text-underline-offset: 3px; }
.ob-assistant .ob-bubble a:hover { color: var(--bone); }
.ob-caret {
  display: inline-block; width: 8px; height: 15px;
  background: var(--sard); vertical-align: text-bottom;
  animation: caret-blink 1s steps(2) infinite;
}

/* typing indicator — three little brand plates */
.ob-typing { display: flex; gap: 5px; align-items: center; padding: 15px 16px; }
.ob-typing span {
  width: 12px; height: 7px;
  transform: skewX(var(--skew));
  animation: ob-type 1.1s ease-in-out infinite;
}
.ob-typing span:nth-child(1) { background: var(--sard); animation-delay: 0s; }
.ob-typing span:nth-child(2) { background: var(--stone); animation-delay: .15s; }
.ob-typing span:nth-child(3) { background: var(--bone); animation-delay: .3s; }
@keyframes ob-type { 0%, 100% { opacity: .25; transform: skewX(var(--skew)) translateY(0); } 50% { opacity: 1; transform: skewX(var(--skew)) translateY(-3px); } }

.ob-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 20px 14px;
  transition: opacity .3s, max-height .4s;
}
.ob-chips.used { display: none; }
.ob-chips button {
  background: none; border: 1px solid var(--line-strong);
  color: var(--stone); font-family: var(--font-sans); font-size: 12.5px; font-weight: 500;
  padding: 8px 14px; transform: skewX(var(--skew));
  transition: all .25s;
}
.ob-chips button:hover { border-color: var(--sard); color: var(--bone); background: rgba(226, 61, 40, .1); }

.ob-form {
  display: flex; gap: 0;
  border-top: 1px solid var(--line);
  background: var(--onyx2);
}
.ob-form input {
  flex: 1;
  background: none; border: 0;
  color: var(--bone); font-family: var(--font-sans); font-size: 15px;
  padding: 17px 20px;
}
.ob-form input:focus { outline: none; }
.ob-form input::placeholder { color: var(--band); }
.ob-form button {
  background: var(--sard); border: 0; color: var(--bone);
  width: 56px; display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.ob-form button svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.ob-form button:hover { background: var(--sard-deep); }
.ob-form button:hover svg { transform: translate(2px, -2px); }

@media (max-width: 480px) {
  .ob-panel { height: min(520px, calc(100dvh - 110px)); }
  .ob-toggle { width: 56px; height: 56px; }
}

/* ---------- case imagery — branded browser frames ---------- */
.case-media { aspect-ratio: auto; border: 0; background: none; overflow: visible; }
.case-media::after { display: none; }

.dbx-frame {
  border: 1px solid var(--line-strong);
  background: var(--onyx2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  transition: border-color .35s, box-shadow .35s, transform .5s var(--ease-out);
}
.case-row:hover .dbx-frame, .case-shot-frame:hover .dbx-frame {
  border-color: var(--sard);
  box-shadow: 0 24px 70px rgba(226, 61, 40, .18);
  transform: translateY(-4px);
}
.dbx-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.dbx-dots { display: flex; gap: 5px; }
.dbx-dots i {
  width: 12px; height: 7px;
  transform: skewX(var(--skew));
}
.dbx-dots i:nth-child(1) { background: var(--sard); }
.dbx-dots i:nth-child(2) { background: var(--stone); }
.dbx-dots i:nth-child(3) { background: var(--bone); }
.dbx-url { font-size: 10px; letter-spacing: .16em; color: var(--stone); }
.case-row:hover .dbx-url, .case-shot-frame:hover .dbx-url { color: var(--bone); }
.dbx-view { overflow: hidden; }
.dbx-view img {
  width: 100%; height: auto; display: block;   /* native scale, no crop */
  transition: transform .7s var(--ease-out), filter .5s;
  filter: saturate(.94);
}
.case-row:hover .dbx-view img, .case-shot-frame:hover .dbx-view img {
  transform: scale(1.03); filter: saturate(1);
}

.case-shot { padding: clamp(40px, 5vw, 70px) 0 0; }
.case-shot-frame { display: block; position: relative; }
.cs-visit {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  background: var(--onyx);
  border: 1px solid var(--line-strong); border-right: 0; border-bottom: 0;
  color: var(--bone);
  font-size: 10px; letter-spacing: .24em;
  padding: 13px 20px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s, color .3s;
}
.cs-visit i { font-style: normal; color: var(--sard); transition: transform .3s var(--ease-out), color .3s; }
.case-shot-frame:hover .cs-visit { background: var(--sard); }
.case-shot-frame:hover .cs-visit i { color: var(--bone); transform: translate(2px, -2px); }
