/* ---------- Dot360 · public site (2026 redesign) ---------- */
:root {
  --bg: #F6F4F0;
  --bg-soft: #FBFAF7;
  --ink: #17140F;
  --ink-2: #3A352F;
  --soft: #4A453E;
  --soft-2: #5E5850;
  --muted: #6E685F;
  --muted-2: #8A847A;
  --muted-3: #A39C90;
  --line: #E6E1D8;
  --line-2: #ECE8E0;
  --line-3: #DCD6CB;
  --accent: #FF6418;
  --accent-2: #FF8A4C;
  --accent-3: #FF7A36;
  --accent-ink: #C2410C;
  --peach: #FFE6D6;
  --peach-line: #FFD5BD;
  --peach-2: #FFEDE2;
  --dark: #15130F;
  --dark-2: #1F1C17;
  --dark-3: #0F0E0B;
  --on-dark: #F6F4F0;
  --on-dark-soft: #C9C2B6;
  --on-dark-2: #E8E2D6;
  --green: #2BB673;
  --green-2: #7FD6A0;

  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --gx: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
button { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-3); }

/* Elements GSAP animates in start hidden only when motion is on (class set in <head>). */
.motion [data-w],
.motion [data-hero] [data-a="up"],
.motion [data-float] { opacity: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; }
.sec { padding: clamp(72px, 10vw, 136px) var(--gx); }
.sec--tight { padding: 0 var(--gx) clamp(72px, 9vw, 120px); }
.sec--flush-top { padding-top: 0; }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec--rounded { border-radius: 48px 48px 0 0; overflow: hidden; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.sticky-col { position: sticky; top: 120px; }
.head-row {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
}

/* ---------- Type ---------- */
.kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.kicker--muted { color: var(--muted-2); }
.label {
  font-family: var(--mono); font-size: 12px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.h-hero {
  font-size: clamp(44px, 6.4vw, 96px); line-height: 0.95;
  letter-spacing: -0.045em; font-weight: 700; margin: 18px 0 0;
}
.h-hero > span { display: block; overflow: hidden; padding-bottom: 0.07em; }
.h-hero [data-w] { display: inline-block; }
.h-sec {
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1;
  letter-spacing: -0.04em; font-weight: 700; margin: 16px 0 0; text-wrap: balance;
}
.h-sec--sm { font-size: clamp(32px, 3.8vw, 52px); margin: 0; }
.h-sec--md { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; margin-top: 14px; }
.accent { color: var(--accent); }
.lede {
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--soft);
  max-width: 560px; margin: 22px 0 0; text-wrap: pretty;
}
.body-lg { font-size: 18px; line-height: 1.55; color: var(--soft); margin: 28px 0 0; max-width: 520px; text-wrap: pretty; }
.body-lg + .body-lg { margin-top: 16px; }
.body { font-size: 18px; line-height: 1.55; color: var(--soft); margin: 0; max-width: 420px; }
.sec--dark .body, .sec--dark .body-lg { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
}
.btn--sm { padding: 14px 22px; font-size: 15px; }
.btn--lg { padding: 20px 30px; font-size: 18px; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,100,24,0.6); }
.btn--accent:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--dark-inv:hover { background: #fff; color: var(--ink); }
.btn--glass { background: rgba(255,255,255,0.18); color: #fff; }
.btn--glass:hover { background: rgba(255,255,255,0.3); color: #fff; }
.btn--ghost-dark { background: rgba(255,255,255,0.08); color: var(--on-dark); }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn--accent-inv:hover { background: #fff; color: var(--ink); }
.link-mono {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; background: none; border: 0; padding: 0; cursor: pointer;
}

.pill {
  display: inline-block; font-family: var(--mono); font-size: 13px;
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.pill--sm { font-size: 13px; padding: 8px 14px; }
.tag {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--soft);
}
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.chip {
  appearance: none; cursor: pointer;
  font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px clamp(16px, 3vw, 32px);
}
.nav__bar {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(246,244,240,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(23,20,15,0.07); border-radius: 999px;
  padding: 10px 10px 10px 22px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 22px; display: block; }
.nav__links { display: flex; gap: 4px; font-size: 15px; font-weight: 500; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--ink); }
.nav__links a:hover { background: rgba(23,20,15,0.06); color: var(--ink); }
.nav__links a.is-active { background: rgba(255,100,24,0.12); }
.nav__cta {
  background: var(--ink); color: var(--on-dark); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.nav__cta:hover { background: var(--accent); color: #fff; }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: 110px var(--gx) 32px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overflow-y: auto;
}
.menu-open .mmenu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mmenu__links { display: flex; flex-direction: column; }
.mmenu__links a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: clamp(36px, 10vw, 56px); font-weight: 700; letter-spacing: -0.04em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mmenu__links a span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: 0; font-weight: 400; }
.mmenu__links a.is-active { color: var(--accent); }
.mmenu__foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mmenu__foot .btn { justify-content: center; }
.mmenu__contact { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Flash ---------- */
.flash {
  position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 60;
  max-width: min(560px, calc(100% - 32px)); padding: 14px 22px; border-radius: 18px;
  font-size: 15px; font-weight: 500; box-shadow: 0 20px 40px -20px rgba(23,20,15,0.35);
  background: #fff; border: 1px solid var(--line-2);
}
.flash-success { border-color: var(--green); }
.flash-error { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(128px, 14vw, 168px) var(--gx) clamp(48px, 6vw, 72px); overflow: hidden; }
.hero--sm { padding-bottom: clamp(40px, 5vw, 56px); }
.hero--sm2 { padding-bottom: 32px; }
.hero__inner { position: relative; max-width: 1280px; margin: 0 auto; }
.orbit {
  position: absolute; aspect-ratio: 1; border: 1.5px solid rgba(23,20,15,0.08);
  border-radius: 50%; pointer-events: none;
}
.orbit__dot {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 8px rgba(255,100,24,0.15);
}
.orbit__dot--top { top: -11px; left: 50%; margin-left: -11px; }
.orbit__dot--bottom { bottom: -11px; left: 50%; margin-left: -11px; }
.orbit__dot--left { top: 50%; left: -11px; margin-top: -11px; }
.orbit__dot--right { top: 50%; right: -11px; margin-top: -11px; }
.orbit__inner { position: absolute; border: 1.5px dashed rgba(23,20,15,0.08); border-radius: 50%; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* Home hero */
.hero-home {
  position: relative; padding: clamp(128px, 13vw, 168px) var(--gx) clamp(56px, 7vw, 96px);
  display: flex; align-items: center; overflow-x: clip;
}
.hero-home__orbit {
  right: -12vw; top: 50%; width: min(78vw, 900px); margin-top: calc(min(78vw, 900px) / -2);
  border-color: rgba(23,20,15,0.10);
}
.hero-home__grid {
  position: relative; max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px; align-items: end;
}
.hero-home .h-hero { margin: 0; }
.hero-home .lede { max-width: 520px; margin-top: 24px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.term-wrap { justify-self: end; width: 100%; max-width: 480px; }
.term {
  background: var(--ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(23,20,15,0.45);
  overflow: hidden; font-family: var(--mono); font-size: 13px; line-height: 1.75;
}
.term__bar, .mock__bar {
  display: flex; align-items: center; gap: 6px; padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dot-r, .dot-y, .dot-g { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #FF5F57; } .dot-y { background: #FEBC2E; } .dot-g { background: #28C840; }
.term__file { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.term__body { padding: 20px 22px 24px; color: #D9D3C7; }
.term__body .c { color: var(--muted-2); }
.term__body .k { color: var(--accent-2); }
.term__body .s { color: #A9E5BB; }
.term__body .ok { color: var(--green-2); }
.term__body .n { color: #FFC27A; }
.term__caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); margin-left: 4px; vertical-align: -2px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mini-stat { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px; }
.mini-stat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.mini-stat > span { font-size: 13px; color: var(--muted); }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; gap: 72px; padding-right: 72px;
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--muted-3); white-space: nowrap;
}
.marquee__item { display: flex; align-items: center; gap: 72px; }
.marquee__item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Steps / timeline ---------- */
.steps { position: relative; padding-left: 44px; }
.steps__rail, .steps__progress {
  position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px;
}
.steps__rail { background: var(--line); }
.sec--dark .steps__rail { background: rgba(255,255,255,0.1); }
.steps__progress { background: var(--accent); transform-origin: top; }
.step { position: relative; padding: 4px 0 clamp(44px, 7vh, 80px); }
.step:last-child { padding-bottom: 8px; }
.step__dot {
  position: absolute; left: -44px; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); box-sizing: border-box;
}
.sec--dark .step__dot { background: var(--dark); }
.step__meta { font-family: var(--mono); font-size: 13px; color: var(--muted-2); letter-spacing: 0.06em; }
.step h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.035em; font-weight: 700; margin: 10px 0 0; line-height: 1; }
.step p { font-size: 17px; line-height: 1.5; color: var(--soft); margin: 14px 0 0; max-width: 440px; }
.sec--dark .step p { color: var(--on-dark-soft); }
.step__deliv {
  margin-top: 24px; background: #fff; border: 1px solid var(--line-2); border-radius: 20px;
  padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; max-width: 440px;
}
.step__deliv span:first-child { font-size: 15px; color: var(--soft); }
.step__deliv span:last-child {
  font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px;
  background: var(--peach-2); color: var(--accent-ink); white-space: nowrap;
}
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* ---------- Sticky stacking cards ---------- */
.stack { margin-top: 40px; }
.stack__item { position: sticky; padding-bottom: 24px; }
.stack__card {
  border-radius: 32px; padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line-2);
  box-shadow: 0 -20px 60px -40px rgba(23,20,15,0.35); transform-origin: center top;
}
.stack__card--app {
  min-height: 340px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px;
}
.stack__card--app .num { font-family: var(--mono); font-size: 13px; opacity: 0.65; }
.stack__card--app h3 {
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.035em; font-weight: 700;
  margin: auto 0 0; padding-top: 32px;
}
.stack__card--app p { font-size: 17px; line-height: 1.5; opacity: 0.82; margin: 16px 0 0; max-width: 440px; }
.stack__col { display: flex; flex-direction: column; }
.stack__points { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.stack__point {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 20px; border-radius: 18px; font-size: 16px; font-weight: 500;
}
.stack__point span:last-child { font-family: var(--mono); font-size: 12px; opacity: 0.7; text-align: right; }
.stack__card--expect {
  min-height: 240px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.stack__card--expect .num { font-family: var(--mono); font-size: 13px; opacity: 0.65; }
.stack__card--expect h3 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; margin: 36px 0 0; }
.stack__card--expect p { font-size: 17px; line-height: 1.5; margin: 0; max-width: 400px; opacity: 0.85; }

.t-orange { background: var(--accent); color: #fff; border-color: var(--accent); }
.t-orange .stack__point { background: rgba(255,255,255,0.16); }
.t-dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.t-dark .stack__point { background: rgba(255,255,255,0.06); }
.t-white { background: #fff; color: var(--ink); border-color: var(--line-2); }
.t-white .stack__point { background: var(--bg); }
.t-peach { background: var(--peach); color: var(--ink); border-color: var(--peach-line); }
.t-peach .stack__point { background: rgba(255,255,255,0.6); }
.t-dark2 { background: var(--dark-2); color: var(--on-dark); border-color: var(--dark-2); }

/* ---------- Product mock (dark "browser") ---------- */
.mock {
  background: var(--dark-3); color: var(--on-dark); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.mock__bar { border-bottom-color: rgba(255,255,255,0.06); }
.mock__url {
  margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted-2);
  background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.mock__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--green-2); }
.mock__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.mock__kpi { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.mock__kpi div:first-child { font-family: var(--mono); font-size: 11px; color: var(--muted-2); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__kpi div:last-child { font-size: 24px; font-weight: 700; margin-top: 4px; }
.mock__list { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: hidden; }
.mock__title { font-family: var(--mono); font-size: 11px; color: var(--muted-2); text-transform: uppercase; padding: 4px 2px; }
.mock__row {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; padding: 10px 14px;
}
.mock__row > span:first-child { font-family: var(--mono); font-size: 12px; color: var(--muted-2); width: 48px; flex-shrink: 0; }
.mock__row > div { min-width: 0; flex: 1; }
.mock__row > div div:first-child { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__row > div div:last-child { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.st { font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.st--done { background: rgba(43,182,115,0.15); color: var(--green-2); }
.st--live { background: rgba(255,100,24,0.18); color: var(--accent-2); }
.st--todo { background: rgba(255,255,255,0.07); color: var(--muted-3); }

.pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pstats b { display: block; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.pstats span { display: block; font-family: var(--mono); font-size: 11px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.pname { white-space: nowrap; }
.pname i { font-style: normal; color: var(--accent); }

/* Home: horizontal products */
.hscroll { background: var(--dark); color: var(--on-dark); height: 100vh; overflow: hidden; position: relative; }
.hscroll__head {
  position: absolute; top: clamp(28px, 5vh, 56px); left: 0; right: 0; padding: 0 var(--gx);
  display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; z-index: 2;
}
.hscroll__head h2 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.04em; font-weight: 700; margin: 12px 0 0; line-height: 1; }
.hscroll__bar { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted-3); }
.hscroll__bar div { width: 140px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 3px; overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hscroll__track {
  display: flex; gap: 28px; height: 100%; align-items: center;
  padding: clamp(100px, 15vh, 150px) var(--gx) 24px; width: max-content;
}
.ppanel {
  width: min(1160px, 88vw); height: max(480px, min(640px, calc(100vh - 150px)));
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: 36px;
  padding: clamp(24px, 3.5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 48px);
  flex-shrink: 0;
}
.ppanel__info { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.ppanel__cat { font-family: var(--mono); font-size: 13px; color: var(--muted-3); letter-spacing: 0.06em; text-transform: uppercase; }
.ppanel h3 { font-size: clamp(32px, min(4vw, 7vh), 58px); letter-spacing: -0.045em; font-weight: 700; margin: 12px 0 0; line-height: 1; }
.ppanel p { font-size: clamp(15px, 2.2vh, 17px); line-height: 1.5; color: var(--on-dark-soft); margin: 14px 0 0; text-wrap: pretty; }
.ppanel__link { align-self: flex-start; margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.06em; }
.ppanel__link:hover { color: #fff; }
.ppanel__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ppanel__feats div { font-size: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--on-dark-2); }
.ppanel .pstats { margin-top: auto; padding-top: 14px; }
.ppanel .pstats span { color: var(--muted-2); opacity: 1; }
.pend {
  width: min(420px, 70vw); height: max(480px, min(640px, calc(100vh - 150px)));
  border-radius: 36px; background: var(--accent); color: #fff; padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0;
}
.pend:hover { background: var(--accent-3); color: #fff; }
.pend span:first-child { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.pend span:last-child { font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }

@media (max-width: 899px) {
  .hscroll { height: auto; padding: 48px 0 64px; }
  .hscroll__head { position: static; }
  .hscroll__bar { display: none; }
  .hscroll__track { flex-direction: column; width: auto; height: auto; padding: 32px var(--gx) 0; gap: 16px; align-items: stretch; }
  .ppanel { width: 100%; height: auto; grid-template-columns: 1fr; border-radius: 28px; }
  .ppanel__info { overflow: visible; }
  .ppanel .pstats { margin-top: 20px; }
  .pend { width: 100%; height: 220px; padding: 32px; border-radius: 28px; }
}
@media (max-width: 520px) {
  .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .ppanel__feats { grid-template-columns: 1fr; }
  .mock__kpi div:last-child { font-size: 20px; }
}

/* ---------- Work cards ---------- */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.wcard {
  display: block; width: 100%; text-align: left; font: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--line-2); border-radius: 30px; padding: 10px;
  color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s;
}
.wcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(23,20,15,0.3); color: var(--ink); }
.wtile {
  aspect-ratio: 16 / 11; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.wtile__idx, .wtile__year { position: absolute; font-family: var(--mono); font-size: 11px; opacity: 0.7; }
.wtile__idx { top: 14px; left: 16px; }
.wtile__year { bottom: 14px; right: 16px; }
.wlogo-text { font-size: clamp(30px, 3.2vw, 42px); text-align: center; line-height: 1; padding: 0 20px; }
.wlogo-img { max-width: 62%; max-height: 42%; object-fit: contain; display: block; }
.wcard__body { padding: 20px 14px 14px; }
.fact { display: flex; align-items: baseline; gap: 14px; }
.fact b { font-size: 44px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--accent); }
.fact span { font-size: 14px; line-height: 1.3; color: var(--muted); }
.wcard h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 18px 0 0; }
.wcard p { font-size: 15px; line-height: 1.5; color: var(--soft-2); margin: 8px 0 0; text-wrap: pretty; }
.wcard__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.wcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wcard__open { font-family: var(--mono); font-size: 12px; color: var(--accent); white-space: nowrap; }
.wmore {
  background: var(--ink); color: var(--on-dark); border-radius: 30px; padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 420px;
  transition: background .3s;
}
.wmore:hover { background: var(--accent); color: #fff; }
.wmore .label { color: inherit; opacity: 0.7; }
.wmore__big { font-size: clamp(52px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; }
.wmore__big span { color: var(--accent); }
.wmore:hover .wmore__big span { color: var(--ink); }
.wmore__t { font-size: 22px; font-weight: 700; margin-top: 24px; }
.wmore__s { font-size: 15px; opacity: 0.7; margin-top: 6px; }
.works-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}
.works-bar__count { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }

/* Case-study overlay */
.case {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain; display: none;
}
.case.is-open { display: block; }
.case__bar {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 3vw, 32px); background: rgba(246,244,240,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23,20,15,0.06);
}
.case__bar .label { color: var(--muted); letter-spacing: 0.08em; }
.case__btns { display: flex; gap: 8px; }
.rbtn {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; color: var(--ink);
}
.rbtn:hover { border-color: var(--ink); }
.rbtn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.rbtn--dark:hover { background: var(--accent); border-color: var(--accent); }
.case__entry { display: none; }
.case__entry.is-current { display: block; }
.case__tilewrap { padding: 16px clamp(16px, 3vw, 32px) 0; }
.case__tile {
  height: min(64vh, 620px); min-height: 300px; border-radius: 40px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case__ring { position: absolute; border-radius: 50%; opacity: 0.14; border: 1.5px solid currentColor; }
.case__ring--a { width: 120vh; height: 120vh; }
.case__ring--b { width: 80vh; height: 80vh; border-style: dashed; }
.case__logo { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.case__logo .wlogo-text { font-size: clamp(44px, 8.5vw, 136px); line-height: 0.95; padding: 0 40px; }
.case__logo .wlogo-img { max-width: min(60%, 640px); max-height: 38vh; }
.case__corner { position: absolute; top: 28px; font-family: var(--mono); font-size: 13px; opacity: 0.75; }
.case__corner--l { left: 32px; } .case__corner--r { right: 32px; }
.case__main { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) var(--gx) 0; }
.case__intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.case__intro h2 { font-size: clamp(38px, 4.8vw, 68px); line-height: 0.92; letter-spacing: -0.045em; font-weight: 700; margin: 16px 0 0; }
.case__intro p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); margin: 24px 0 0; text-wrap: pretty; }
.case__facts { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 28px; }
.case__facts .fact { padding-bottom: 22px; border-bottom: 1px dashed var(--line); gap: 16px; }
.case__facts .fact b { font-size: clamp(52px, 5.4vw, 76px); letter-spacing: -0.05em; line-height: 0.9; }
.case__facts .fact span { font-size: 16px; line-height: 1.35; color: var(--soft-2); }
.case__dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; margin-top: 22px; font-size: 16px; }
.case__dl dt { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; padding-top: 3px; }
.case__dl dd { margin: 0; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.case__tags .tag { padding: 6px 12px; }
.case__block { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 80px); }
.case__block > div:last-child { grid-column: span 2; min-width: 0; }
.case__built { border-top: 1px solid var(--line); }
.case__built div { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case__built span:first-child { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.case__built span:last-child { font-size: clamp(19px, 2vw, 26px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.case__story { display: flex; flex-direction: column; gap: 22px; }
.case__story p { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.case__ctas { margin-top: clamp(40px, 6vw, 72px); display: flex; gap: 12px; flex-wrap: wrap; }
.case__nextwrap { padding: clamp(56px, 7vw, 100px) clamp(16px, 3vw, 32px) 16px; }
.case__next {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit;
  border-radius: 40px; padding: clamp(28px, 4vw, 56px); min-height: 240px;
}
.case__next .label { color: inherit; opacity: 0.75; letter-spacing: 0.08em; }
.case__next .wlogo-text { font-size: clamp(36px, 6vw, 96px); line-height: 0.95; margin-top: 18px; padding: 0; text-align: left; display: block; }
.case__next .wlogo-img { max-height: 120px; max-width: 70%; margin-top: 18px; }
.case__next > span { font-size: clamp(48px, 6vw, 88px); line-height: 1; }
@media (max-width: 760px) {
  .case__block > div:last-child { grid-column: auto; }
}

/* ---------- Services ("also on the menu") ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 28px; }
.svc {
  border-radius: 28px; padding: 26px; min-height: 240px; display: flex; flex-direction: column; border: 1px solid var(--line-2);
}
.svc > span { font-family: var(--mono); font-size: 12px; opacity: 0.7; }
.svc h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: auto 0 0; }
.svc p { font-size: 15px; line-height: 1.5; margin: 12px 0 0; opacity: 0.8; }
a.svc:hover { color: inherit; border-color: var(--accent); }

/* ---------- Big CTA ---------- */
.cta-sec { padding: 0 var(--gx) clamp(64px, 8vw, 112px); }
.sec--dark.cta-sec { background: var(--dark); }
.cta {
  max-width: 1280px; margin: 0 auto; background: var(--accent); color: #fff; border-radius: 44px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); position: relative; overflow: hidden;
}
.cta__ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); pointer-events: none; }
.cta__ring--a { right: -160px; bottom: -160px; width: 520px; height: 520px; }
.cta__ring--b { right: -60px; bottom: -60px; width: 320px; height: 320px; border-color: rgba(255,255,255,0.25); }
.cta .kicker { color: #fff; }
.cta h2 { font-size: clamp(42px, 6.6vw, 100px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 700; margin: 20px 0 0; }
.cta__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 28px; position: relative; }
.cta__row p { font-size: 18px; line-height: 1.5; max-width: 480px; margin: 0; }
.cta .btn--dark:hover { background: #fff; color: var(--ink); }

/* ---------- Generic cards ---------- */
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 28px; }
.card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.card--peach { background: var(--peach); border-color: var(--peach-line); }
.card h4 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.card p { font-size: 15px; line-height: 1.5; color: var(--soft-2); margin: 10px 0 0; }
.card--peach p { color: var(--soft); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.grid-4--260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.statcard .big { font-size: clamp(44px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-top: 16px; }
.statcard .big span { color: var(--accent); }
.statcard .sub { font-size: 15px; color: var(--soft-2); margin-top: 8px; }
.card--dark.statcard .sub { color: var(--muted-3); }

/* About */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 6vw, 96px); }
.two-col p { font-size: 17px; line-height: 1.6; color: var(--soft); margin: 24px 0 0; text-wrap: pretty; }
.two-col p + p { margin-top: 16px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 40px; }
.member {
  border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 0;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  transition: transform .4s var(--ease);
}
.member.t-peach { background: var(--peach); border-color: var(--peach-line); }
.member.t-dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.member:hover { transform: translateY(-6px) rotate(-0.6deg); color: inherit; }
.member__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.member__top img { width: 64px; height: 64px; display: block; border-radius: 18px; box-shadow: 0 0 0 1px rgba(23,20,15,0.06), 0 8px 20px -12px rgba(23,20,15,0.45); }
.member__loc { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; text-align: right; }
.member__name { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.member__role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-top: 4px; }
.member p { font-size: 15px; line-height: 1.5; margin: 12px 0 0; opacity: 0.8; }

/* Services page */
.svc-cards { display: flex; flex-direction: column; gap: 16px; }
.svcard {
  border: 1px solid var(--line-2); border-radius: 32px; padding: clamp(24px, 3.4vw, 44px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 3vw, 44px);
  scroll-margin-top: 110px;
}
.svcard__head { display: flex; flex-direction: column; gap: 16px; }
.svcard__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.svcard__meta span:first-child { font-family: var(--mono); font-size: 13px; opacity: 0.65; }
.badge { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.svcard h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; margin: 0; }
.svcard__body { display: flex; flex-direction: column; gap: 14px; }
.svcard__body p { font-size: 16px; line-height: 1.6; margin: 0; opacity: 0.85; text-wrap: pretty; }
.svcard__groups { display: flex; flex-direction: column; gap: 20px; }
.svcard__groups .glabel { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; margin-bottom: 10px; }
.svcard__groups .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svcard__groups .chips span { font-family: var(--mono); font-size: 12px; padding: 7px 12px; border-radius: 999px; background: var(--bg); }
.t-dark .svcard__groups .chips span { background: rgba(255,255,255,0.08); }
.t-peach .svcard__groups .chips span { background: rgba(255,255,255,0.7); }
.anchor-chips a { font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.anchor-chips a:hover { border-color: var(--ink); color: var(--ink); }

/* Products page */
.pcard {
  border-radius: 40px; padding: clamp(24px, 3.5vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(24px, 3vw, 48px);
  border: 1px solid var(--line-2); box-shadow: 0 -24px 60px -40px rgba(23,20,15,0.4); transform-origin: center top;
}
.pcard__info { display: flex; flex-direction: column; min-width: 0; }
.pcard__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.pcard h2 { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -0.045em; font-weight: 700; margin: 20px 0 0; line-height: 1; }
.pcard__info > p { font-size: 17px; line-height: 1.55; margin: 18px 0 0; opacity: 0.82; text-wrap: pretty; }
.pcard .pstats { margin-top: auto; padding-top: 28px; }
.pcard__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.pcard__btns .btn { padding: 15px 24px; font-size: 16px; }
.btn--ghost-l { background: var(--bg); color: var(--ink); }
.btn--ghost-l:hover { opacity: 0.8; color: var(--ink); }
.t-dark .btn--ghost-l, .t-dark2 .btn--ghost-l { background: rgba(255,255,255,0.08); color: var(--on-dark); }
.t-peach .btn--ghost-l { background: rgba(255,255,255,0.6); }
.pcard .mock__row { padding: 11px 14px; }
.pcard .mock__list { overflow: visible; }

/* Product detail */
.phero { background: var(--dark); color: var(--on-dark); padding: clamp(124px, 13vw, 156px) var(--gx) 0; position: relative; overflow: hidden; }
.phero__orbit {
  left: 50%; top: 120px; width: min(110vw, 1300px); margin-left: calc(min(110vw, 1300px) / -2);
  border-color: rgba(255,255,255,0.06);
}
.phero__orbit .orbit__dot { box-shadow: 0 0 40px 10px rgba(255,100,24,0.35); }
.ptabs a {
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  color: var(--on-dark-soft); border: 1px solid rgba(255,255,255,0.1);
}
.ptabs a:hover { border-color: var(--accent); color: #fff; }
.ptabs a.is-on { background: var(--accent); color: #fff; }
.phero h1 { font-size: clamp(52px, 8.6vw, 140px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 700; margin: 16px 0 0; }
.phero__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: end; margin-top: 28px; }
.phero__row p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--on-dark-soft); margin: 0; max-width: 620px; text-wrap: pretty; }
.phero__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.papp {
  margin-top: 52px; border-bottom: none; border-radius: 32px 32px 0 0;
  box-shadow: 0 -40px 120px -40px rgba(255,100,24,0.25); border-color: rgba(255,255,255,0.08);
}
.papp .mock__bar { padding: 16px 20px; }
.papp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.papp__kpis { padding: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; border-right: 1px solid rgba(255,255,255,0.06); }
.papp__kpis .mock__kpi { border-radius: 16px; padding: 16px; }
.papp__kpis .mock__kpi div:last-child { font-size: 34px; margin-top: 6px; letter-spacing: -0.02em; }
.papp__rows { grid-column: span 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.papp__rows .mock__row { border-radius: 16px; padding: 14px 16px; gap: 14px; }
.papp__rows .mock__row > span:first-child { width: 52px; }
.papp__rows .mock__row > div div:first-child { font-size: 16px; }
.papp__rows .mock__row > div div:last-child { font-size: 13px; }
@media (max-width: 900px) { .papp__rows { grid-column: auto; } .papp__kpis { border-right: 0; } }
.pstatgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
}
.pstatgrid > div { background: var(--bg); padding: 26px; }
.pstatgrid .big { font-size: clamp(44px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-top: 14px; color: var(--accent); }
.pstatgrid .big span:last-child { color: var(--ink); }
.pother {
  background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; gap: 28px; min-height: 180px; color: var(--ink); transition: transform .4s var(--ease);
}
.pother:hover { transform: translateY(-6px); color: var(--ink); }
.pother div { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.pother div span:first-child { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pother div span:last-child { font-size: 24px; }

/* Careers */
.role-empty {
  margin-top: 40px; border: 1.5px dashed var(--line-3); border-radius: 32px; padding: clamp(28px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.role-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); background: var(--peach); padding: 6px 12px; border-radius: 999px; }
.role-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.role-empty h3, .role h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 0; }
.role-empty p, .role p { font-size: 17px; line-height: 1.5; color: var(--soft-2); margin: 8px 0 0; max-width: 560px; }
.roles { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.role {
  background: #fff; border: 1px solid var(--line-2); border-radius: 32px; padding: clamp(24px, 3.5vw, 40px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ink);
  transition: transform .4s var(--ease), border-color .3s;
}
.role:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--ink); }
.role h3 { margin-top: 12px; }
.role__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.role__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.hire { position: relative; margin-top: 52px; }
.hire__rail, .hire__line { position: absolute; left: 0; right: 0; top: 11px; height: 2px; }
.hire__rail { background: rgba(255,255,255,0.1); }
.hire__line { background: var(--accent); transform-origin: left; transform: scaleX(0); }
.no-motion .hire__line { transform: none; }
.hire__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; position: relative; }
.hire__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--dark); border: 2px solid var(--accent); }
.hire__when { font-family: var(--mono); font-size: 12px; color: var(--accent-2); margin-top: 28px; }
.hire__t { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.035em; margin-top: 10px; }
.hire p { font-size: 16px; line-height: 1.5; color: var(--on-dark-soft); margin: 10px 0 0; }

/* Career detail + legal: long-form text */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; font-weight: 700; margin: 48px 0 14px; line-height: 1.05; }
.prose h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 700; margin: 32px 0 10px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); font-weight: 500; }
.prose .table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 6px 10px; margin-bottom: 24px; }
.prose .table-wrap table { margin: 0; }
.legal-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.legal-entity { background: #fff; border: 1px solid var(--line-2); border-radius: 24px; padding: 24px 28px; margin: 0 0 32px; }
.legal-entity dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; font-size: 16px; }
.legal-entity dt { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; padding-top: 3px; }
.legal-entity dd { margin: 0; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.rights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 8px 0 24px; }
.rights div { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; }
.rights b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.rights span { display: block; font-size: 15px; line-height: 1.45; color: var(--soft-2); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.brief { grid-column: span 2; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 32px; padding: clamp(22px, 3.4vw, 44px); scroll-margin-top: 110px; }
@media (max-width: 820px) { .brief { grid-column: auto; } }
.brief form { display: flex; flex-direction: column; gap: 22px; }
.brief h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; font-weight: 700; margin: 0; line-height: 1; }
.brief__sub { font-size: 16px; color: var(--muted); margin: 10px 0 0; }
.brief .label { margin-bottom: 10px; display: block; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .label { margin: 0; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg); outline: none; color: var(--ink); width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.brief__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px dashed var(--line); }
.brief__foot .label { text-transform: none; }
.brief__err { background: var(--peach-2); color: var(--accent-ink); border-radius: 16px; padding: 14px 18px; font-size: 15px; }
.sent { min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.sent__dot { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.sent h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.04em; font-weight: 700; margin: 0; line-height: 0.95; }
.sent p { font-size: 19px; line-height: 1.5; color: var(--soft); margin: 0; max-width: 440px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ccard { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 26px; display: block; color: var(--ink); }
a.ccard:hover { border-color: var(--accent); color: var(--ink); }
.ccard__v { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; overflow-wrap: anywhere; }
.ccard__s { font-size: 15px; color: var(--muted); margin-top: 6px; }
.ccard--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.ccard--dark .ccard__s { color: var(--muted-3); }
.ccard--dark .btn { margin-top: 18px; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; transition: background .2s; }
.faq__item.is-open { background: #fff; }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  padding: 24px 26px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
}
.faq__q span:first-child { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; letter-spacing: -0.025em; }
.faq__icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--bg); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .2s, color .2s;
}
.faq__item.is-open .faq__icon { background: var(--accent); color: #fff; }
.faq__a { overflow: hidden; }
.faq__a[hidden] { display: none; }
.faq__a p { font-size: 17px; line-height: 1.55; color: var(--soft); margin: 0; padding: 0 26px 26px; max-width: 620px; }

/* Bookable slots (staff) */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 36px; }
.slotcard { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 26px; }
.slotcard__who { display: flex; gap: 14px; align-items: center; }
.slotcard__who img, .slotcard__init { width: 56px; height: 56px; border-radius: 18px; object-fit: cover; flex-shrink: 0; }
.slotcard__init { background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; }
.slotcard h4 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.slotcard__role { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.slotcard > p { font-size: 15px; color: var(--soft-2); margin: 14px 0 0; line-height: 1.5; }
.slotcard details { margin-top: 16px; }
.slotcard summary { cursor: pointer; list-style: none; }
.slotcard summary::-webkit-details-marker { display: none; }
.slotcard__toggle { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.slot { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-top: 8px; }
.slot summary { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.slot summary strong { font-family: var(--mono); font-weight: 500; }
.slot summary span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.slot form { margin-top: 12px; display: grid; gap: 8px; }
.slot input, .slot textarea {
  font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; width: 100%;
}
.slot .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot .btn { justify-self: start; padding: 12px 20px; font-size: 15px; }
.muted-mono { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(72px, 9vw, 112px) var(--gx) 28px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer__brand { grid-column: span 2; min-width: 0; }
@media (max-width: 480px) { .footer__brand { grid-column: auto; } }
.footer__brand p { font-size: 20px; line-height: 1.4; color: var(--on-dark-2); max-width: 380px; margin: 0; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center; color: var(--on-dark);
}
.socials a:hover { background: var(--accent); color: #fff; }
.footer__h { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__col a, .footer__col span { color: var(--on-dark-2); }
.footer__col a:hover { color: var(--accent); }
.footer__col .footer__book {
  color: var(--accent); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 8px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.footer__col .footer__book:hover { color: #fff; }
.footer__logo { margin-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.footer__logo img { width: 100%; display: block; }
.footer__bot {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted-2);
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: var(--muted-2); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--accent); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 560px; background: var(--ink); color: var(--on-dark);
  border-radius: 28px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(23,20,15,0.55);
  transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility .5s;
}
.cookie.is-visible { transform: none; opacity: 1; visibility: visible; }
.cookie__head { display: flex; align-items: center; gap: 12px; }
.cookie__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.cookie__dot i { width: 10px; height: 10px; border-radius: 50%; background: #fff; display: block; }
.cookie h2 { font-size: 22px; letter-spacing: -0.025em; font-weight: 700; margin: 0; }
.cookie p { font-size: 15px; line-height: 1.5; color: var(--on-dark-soft); margin: 12px 0 0; }
.cookie p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cookie__btns .btn { padding: 13px 20px; font-size: 15px; box-shadow: none; }
.cookie__btns .btn--accent:hover { background: #fff; color: var(--ink); }

/* ---------- 404 / errors ---------- */
.notfound { min-height: 80vh; display: flex; align-items: center; }

/* Reduced motion: never hide content, skip hover lifts */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wcard, .member, .pother, .role, .cookie { transition: none; }
}

/* ---------- Responsive refinements ---------- */
/* Sticky side columns only make sense next to the content they label. */
@media (max-width: 960px) {
  .sticky-col { position: static; }
}
@media (max-width: 760px) {
  /* Tall product cards: stack normally instead of covering each other. */
  .stack--tall .stack__item { position: static; }
  .role { flex-direction: column; align-items: flex-start; }
  .role .btn { align-self: flex-start; }
  .case__corner { top: 18px; font-size: 11px; }
  .case__corner--l { left: 20px; } .case__corner--r { right: 20px; }
  .case__tile { border-radius: 28px; }
  .case__next { border-radius: 28px; min-height: 180px; }
}
@media (max-width: 600px) {
  .orbit { display: none; }
  .hero-home { min-height: 0; }
  .svc { min-height: 0; }
  .svc h3 { margin-top: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bot { flex-direction: column; gap: 10px; }
  .mock__kpis { gap: 8px; padding: 12px; }
  .mock__kpi { padding: 10px 12px; }
  .mock__kpi div:first-child { font-size: 10px; letter-spacing: 0; }
  .mock__list { padding: 0 12px 12px; }
  .mock__row { padding: 10px 12px; gap: 10px; }
  .mock__row > span:first-child { display: none; }
  .mock__row > div div:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .papp__kpis, .papp__rows { padding: 14px; }
  .papp__kpis .mock__kpi div:last-child { font-size: 24px; }
  .step__deliv { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; border-radius: 22px; }
  .cookie h2 { font-size: 18px; }
  .cookie__dot { width: 28px; height: 28px; }
  .cookie p { font-size: 14px; margin-top: 8px; }
  .cookie__btns { margin-top: 14px; flex-wrap: nowrap; }
  .cookie__btns .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; }
  .anchor-chips a { padding: 8px 14px; font-size: 14px; }
  .chip { padding: 9px 15px; font-size: 14px; }
}
/* Careers hiring steps: vertical line once the steps stack. */
@media (max-width: 700px) {
  .hire__grid { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .hire__rail { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .hire__line { display: none; }
  [data-hstep] { position: relative; }
  .hire__dot { position: absolute; left: -40px; top: 0; }
  .hire__when { margin-top: 2px; }
}
