/* =========================================================
   Ignito.Advisory — design system
   Cold restraint: light neutral field, warm paper, one red.
   ========================================================= */

/* ---------- Fonts (self-hosted, subset by script, no third-party requests) ---------- */
@font-face {
  font-family: "InterVar"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "InterVar"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "InterVar"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "InterVar"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: "InterVar"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "InterVar"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "InterVar"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "InterVar"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext-italic.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:            #F5F6F7;   /* base field */
  --paper:         #FAFAF7;   /* warm panel */
  --white:         #FFFFFF;
  --ink-bg:        #0C0D0E;   /* dark section */
  --ink-bg-soft:   #131416;

  /* text */
  --ink:           #0E0F10;
  --ink-2:         #3A3E42;
  --muted:         #6E7479;
  --faint:         #A7ADB2;
  --on-dark:       #F2F3F4;
  --on-dark-mut:   #9AA0A6;

  /* accent */
  --red:           #FF4B3A;
  --red-ink:       #E23A2A;   /* accessible red on light bg for body text */
  --red-wash:      rgba(255, 75, 58, .08);

  /* lines */
  --line:          #E3E5E7;
  --line-soft:     #ECEEEF;
  --line-dark:     rgba(255,255,255,.12);

  /* geometry */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* rhythm */
  --gut: clamp(20px, 4.2vw, 64px);
  --maxw: 1360px;
  --sec-y: clamp(76px, 9.5vw, 160px);

  /* type scale */
  --t-display: clamp(3rem, 7.6vw, 7rem);   /* ONE-WORD page titles only */
  --t-h1:      clamp(1.85rem, 2.9vw, 2.7rem);
  --t-h2:      clamp(1.55rem, 2.15vw, 1.95rem);
  --t-h3:      clamp(1.05rem, 1.25vw, 1.2rem);
  --t-lead:    clamp(1.03rem, 1.12vw, 1.2rem);
  --t-body:    clamp(0.975rem, 1.02vw, 1.075rem);
  --t-sm:      0.875rem;
  --t-xs:      0.78rem;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "InterVar", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: "cv05" 1, "ss03" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--red); color: #fff; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 940px; }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }

/* Two-column: sticky eyebrow label left, content right */
.split {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
}

.eyebrow {
  position: sticky;
  top: 108px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 550;
  white-space: normal;
  max-width: 100%;
  line-height: 1.45;
  align-items: baseline;
}
.eyebrow i { position: relative; top: .38em; }
.eyebrow i {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--red);
  flex: none;
  display: block;
}
.eyebrow--dark { color: var(--on-dark); }
.eyebrow--center { position: static; justify-content: center; }
@media (max-width: 860px) { .eyebrow { position: static; } }

/* Two-up layout that always collapses on small screens */
.duo {
  display: grid;
  grid-template-columns: minmax(0, var(--duo-a, 1fr)) minmax(0, var(--duo-b, 1fr));
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
}
.duo--end { align-items: end; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 26px; align-items: start; } }

/* ---------- Panels ---------- */
.panel {
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  position: relative;
}
.panel--paper { background: var(--paper); }
.panel--round { border-radius: var(--r-xl); }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Typography ---------- */
.display {
  font-size: var(--t-display);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 620;
}
.h1 { font-size: var(--t-h1); line-height: 1.12; letter-spacing: -.028em; font-weight: 600; }
.h2 { font-size: var(--t-h2); line-height: 1.2; letter-spacing: -.022em; font-weight: 600; }
.h3 { font-size: var(--t-h3); line-height: 1.22; letter-spacing: -.018em; font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.58; color: var(--ink-2); letter-spacing: -.009em; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.red { color: var(--red-ink); }
.red-pure { color: var(--red); }
.on-dark .red, .on-dark .red-pure { color: var(--red); }
.measure { max-width: 52ch; }
.measure-sm { max-width: 44ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 520;
  letter-spacing: -.01em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--wide { width: 100%; justify-content: center; padding-block: 17px; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-ink);
  font-size: var(--t-sm);
  font-weight: 520;
  letter-spacing: -.01em;
  position: relative;
}
.tlink svg { transition: transform .5s var(--ease-out); align-self: center; }
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  height: 1px; width: 100%;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink:hover svg { transform: translateX(5px); }
.on-dark .tlink { color: var(--red); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), padding .4s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}
.brand { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand__mark { font-size: 1.075rem; font-weight: 650; letter-spacing: -.035em; }
.brand__mark b { color: var(--red); font-weight: 650; }
.brand__sub {
  font-size: .625rem; letter-spacing: .045em; color: var(--muted);
  text-transform: none; line-height: 1.25; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 15px; border-radius: var(--r-pill);
  font-size: var(--t-sm); color: var(--ink-2); font-weight: 480;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.nav a:hover { background: rgba(14,15,16,.055); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(14,15,16,.055); }

.hdr__tools { display: flex; align-items: center; gap: 8px; }
.iconbtn {
  width: 36px; height: 36px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.iconbtn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: transparent;
  font-size: var(--t-sm); font-weight: 550; color: var(--red-ink);
  cursor: pointer;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.lang__btn:hover { border-color: var(--red); background: var(--red-wash); }
.lang__btn svg { transition: transform .35s var(--ease); }
.lang[data-open="true"] .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 6px; min-width: 156px;
  box-shadow: 0 18px 44px -18px rgba(12,13,14,.28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 5;
}
.lang[data-open="true"] .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--ink-2);
}
.lang__menu a:hover { background: var(--bg); color: var(--ink); }
.lang__menu a[aria-current="true"] { color: var(--ink); font-weight: 550; }
.lang__menu a span { font-size: var(--t-xs); color: var(--faint); }

/* mobile nav */
.burger { display: none; }
.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: 20px var(--gut) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .62s var(--ease-out);
  overflow-y: auto;
}
.mnav[data-open="true"] { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; padding-block: 4px 28px; }
.mnav__list { display: flex; flex-direction: column; gap: 2px; }
.mnav__list a {
  font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: -.035em; font-weight: 600;
  padding-block: 9px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; justify-content: space-between;
}
.mnav__list a i { font-size: .7rem; color: var(--faint); font-style: normal; letter-spacing: 0; }
.mnav__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 16px; }
.mnav__langs { display: flex; gap: 8px; }
.mnav__langs a {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--t-sm); font-weight: 520;
}
.mnav__langs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: transparent; cursor: pointer;
  }
  .burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); border-radius: 2px; }
  .burger span + span { margin-top: 4.5px; }
  .brand__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(46px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 84px); }
.hero__kicker {
  text-align: center; color: var(--faint); font-size: var(--t-sm);
  letter-spacing: -.005em; margin-bottom: clamp(34px, 6vw, 78px);
}
.hero__title { text-align: left; }

/* Big display headline with hanging accent */
.hero__lock { display: grid; gap: clamp(20px, 3vw, 34px); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 44px);
  padding-top: clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.hero__meta div { display: grid; gap: 3px; }
.hero__meta dt { font-size: var(--t-xs); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.hero__meta dd { margin: 0; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; }

/* ---------- Scroll reveal (signature motion) ---------- */
.rv { --rv-i: 0; }
.rv > .rv-w { display: inline-block; }
.js .rv > .rv-w {
  color: var(--faint);
  transition: color .62s var(--ease) calc(var(--rv-i) * 26ms);
  will-change: color;
}
.rv.is-in > .rv-w { color: inherit; }
.on-dark .rv > .rv-w { color: #3d4145; }
.rv > .rv-w > em { font-style: normal; color: inherit; }
.rv.is-in > .rv-w.is-accent { color: var(--red-ink); }
.on-dark .rv.is-in > .rv-w.is-accent { color: var(--red); }

.js .fade { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.fade.is-in { opacity: 1; transform: none; }
.fade[data-d="1"] { transition-delay: .08s; }
.fade[data-d="2"] { transition-delay: .16s; }
.fade[data-d="3"] { transition-delay: .24s; }
.fade[data-d="4"] { transition-delay: .32s; }
.fade[data-d="5"] { transition-delay: .40s; }

.imgrv { overflow: hidden; border-radius: var(--r-lg); background: var(--line-soft); }
.imgrv img { width: 100%; height: 100%; object-fit: cover; }
.imgrv--face img { object-position: 50% 22%; }
.js .imgrv img {
  transform: scale(1.14);
  clip-path: inset(0 0 100% 0);
  transition: transform 1.5s var(--ease-out), clip-path 1.25s var(--ease-out);
}
.imgrv.is-in img { transform: scale(1); clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .rv > .rv-w { color: inherit !important; transition: none; }
  .rv.is-in > .rv-w.is-accent { color: var(--red-ink); }
  .fade { opacity: 1; transform: none; transition: none; }
  .imgrv img { transform: none; clip-path: none; transition: none; }
}

.headblock { display: grid; gap: clamp(26px, 3vw, 48px); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { border-color: #D5D8DA; transform: translateY(-2px); box-shadow: 0 22px 48px -34px rgba(12,13,14,.36); }
.card__ico { width: 22px; height: 22px; color: var(--red); }
.card__t { font-size: 1.02rem; font-weight: 600; letter-spacing: -.018em; }
.card__b { color: var(--muted); font-size: var(--t-sm); line-height: 1.62; }

/* stat cards */
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 260px;
  position: relative; overflow: hidden;
}
.stat__dots { display: flex; gap: 5px; }
.stat__dots b { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.stat__dots b.on { background: var(--red); }
.stat__n { font-size: clamp(2.6rem, 4.4vw, 3.7rem); font-weight: 620; letter-spacing: -.05em; line-height: 1; margin-top: auto; }
.stat__l { color: var(--red-ink); font-size: var(--t-sm); font-weight: 520; }
.stat__b { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; margin-top: 12px; }
.stat::after {
  content: "+"; position: absolute; top: 18px; right: 20px;
  color: var(--red); opacity: .38; font-size: .9rem; line-height: 1;
}

/* case cards */
.case { display: grid; gap: 14px; }
.case__img { aspect-ratio: 3 / 4; }
.case__t { font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; }
.case__d { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.case a.case__hit { display: grid; gap: 14px; }
.case a.case__hit:hover .case__t { color: var(--red-ink); }

/* ---------- Dark section ---------- */
.dark {
  background: var(--ink-bg);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dark .lead, .dark .muted { color: var(--on-dark-mut); }
.dark .rule { background: var(--line-dark); }
.dark__mark {
  position: absolute; left: 50%; bottom: -6%;
  transform: translateX(-50%);
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 700; letter-spacing: -.06em;
  color: rgba(255,255,255,.026);
  pointer-events: none; user-select: none; z-index: -1;
  line-height: .8; white-space: nowrap;
}
.dark__glow {
  position: absolute; z-index: -1;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -12%; top: -18%;
  background: radial-gradient(circle, rgba(255,75,58,.13) 0%, rgba(255,75,58,0) 68%);
  pointer-events: none;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.form__row { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; position: relative; }
.field > label {
  font-size: var(--t-xs); letter-spacing: .02em; color: var(--muted); font-weight: 500;
}
.field > label .req { color: var(--red); }
.field input, .field textarea, .field select {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0 11px;
  font-size: var(--t-body);
  color: var(--ink);
  transition: border-color .4s var(--ease);
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); font-style: italic; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); }
.field select { color: var(--ink); cursor: pointer; padding-right: 28px; }
.field select:invalid, .field select[data-empty="true"] { color: var(--faint); }
.field option { color: var(--ink); }
.field__chev { position: absolute; right: 2px; bottom: 14px; pointer-events: none; color: var(--muted); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-bottom-color: var(--red); }
.field__err { font-size: var(--t-xs); color: var(--red-ink); display: none; }
.field.is-error .field__err { display: block; }

.dark .field > label { color: var(--on-dark-mut); }
.dark .field input, .dark .field textarea, .dark .field select {
  color: #fff; border-bottom-color: rgba(255,255,255,.17);
}
.dark .field input::placeholder, .dark .field textarea::placeholder { color: #5C6167; }
.dark .field__chev { color: var(--on-dark-mut); }
.dark .field select option { color: var(--ink); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: var(--t-xs); color: var(--muted); text-align: center; font-style: italic; }
.dark .form__note { color: #7A8086; }

.form__state { display: none; }
.form.is-sent .form__state--ok { display: block; }
.form.is-sent .form__body { display: none; }
.form__ok {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 46px); text-align: center; display: grid; gap: 12px; justify-items: center;
}
.dark .form__ok { border-color: var(--line-dark); }
.form__ok .tick {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
}
.form__fail { font-size: var(--t-sm); color: var(--red-ink); text-align: center; display: none; }
.form.is-failed .form__fail { display: block; }

.spinner {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite; display: none;
}
.btn.is-busy .spinner { display: block; }
.btn.is-busy .btn__label { opacity: .55; }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ two-column */
.faqgrid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.7fr); gap: clamp(24px,4vw,64px); }
@media (max-width: 900px) { .faqgrid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Accordion ---------- */
.acc { display: grid; gap: 10px; }
.acc__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: clamp(16px, 1.8vw, 22px); text-align: left;
  background: transparent; border: 0; cursor: pointer;
  font-size: 1rem; font-weight: 520; letter-spacing: -.015em;
}
.acc__ico {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.acc__item[data-open="true"] .acc__ico { background: var(--red); transform: rotate(180deg); }
.acc__ico i { display: block; width: 11px; height: 1.5px; background: currentColor; position: relative; }
.acc__ico i::after {
  content: ""; position: absolute; inset: 0; background: currentColor;
  transform: rotate(90deg); transition: transform .4s var(--ease);
}
.acc__item[data-open="true"] .acc__ico i::after { transform: rotate(0deg); opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc__item[data-open="true"] .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__body {
  padding: 0 clamp(16px, 1.8vw, 22px) clamp(20px, 2vw, 26px);
  color: var(--muted); font-size: var(--t-sm); line-height: 1.68;
  display: grid; gap: 11px; max-width: 74ch;
}
.acc__body ul { display: grid; gap: 5px; padding-left: 4px; }
.acc__body li { position: relative; padding-left: 16px; }
.acc__body li::before { content: "•"; position: absolute; left: 0; color: var(--red); }

/* ---------- Pricing ---------- */
.price {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price:hover { border-color: #D5D8DA; transform: translateY(-2px); box-shadow: 0 22px 48px -34px rgba(12,13,14,.3); }
.price--hi { background: var(--white); border-color: rgba(255,75,58,.34); }
.price__tag {
  align-self: flex-start; font-size: var(--t-xs); letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.price--hi .price__tag { color: var(--red-ink); }
.price__h { font-size: 1.16rem; font-weight: 600; letter-spacing: -.022em; line-height: 1.24; }
.price__amt { margin-top: auto; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price__amt small { color: var(--muted); font-size: var(--t-xs); }
.price__amt b { font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 620; letter-spacing: -.04em; }
.price__list { display: grid; gap: 7px; padding-top: 16px; border-top: 1px solid var(--line); }
.price__list li { color: var(--muted); font-size: var(--t-sm); position: relative; padding-left: 17px; }
.price__list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 1px; background: var(--red); opacity: .75;
}

/* ---------- Item-level price table ---------- */
.pt { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.pt th {
  text-align: left; font-size: var(--t-xs); letter-spacing: .07em; text-transform: uppercase;
  color: var(--faint); font-weight: 550; padding: 0 14px 10px 0; border-bottom: 1px solid var(--line);
}
.pt td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pt tr:last-child td { border-bottom: 0; }
.pt__s { width: 52%; }
.pt__s b { display: block; font-weight: 550; color: var(--ink); letter-spacing: -.012em; }
.pt__s span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--t-xs); line-height: 1.55; }
.pt__p { width: 21%; white-space: nowrap; font-weight: 550; color: var(--ink); }
.pt__n { width: 27%; color: var(--muted); font-size: var(--t-xs); line-height: 1.55; }
.pt__star { color: var(--red); font-style: normal; }
@media (max-width: 780px) {
  .pt, .pt tbody, .pt tr, .pt td { display: block; width: 100%; }
  .pt thead { display: none; }
  .pt tr { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .pt tr:last-child { border-bottom: 0; }
  .pt td { border: 0; padding: 0; }
  .pt__p { margin-top: 8px; }
  .pt__n { margin-top: 4px; }
}

/* ---------- Footer ---------- */
.foot { background: var(--white); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: clamp(30px, 4vw, 60px); }
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(30px, 5vw, 80px);
  padding-block: clamp(44px, 5.5vw, 76px);
}
@media (max-width: 940px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__l { display: grid; gap: 22px; align-content: start; }
.foot__desc { color: var(--muted); font-size: var(--t-sm); line-height: 1.65; max-width: 44ch; }
.foot__meta { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot__meta h4 { font-size: var(--t-xs); color: var(--faint); font-weight: 500; letter-spacing: .04em; margin-bottom: 5px; }
.foot__meta p { font-size: var(--t-sm); color: var(--ink-2); }
.foot__r { display: grid; grid-template-columns: minmax(0,1.5fr) auto auto; gap: clamp(24px, 3.5vw, 54px); }
@media (max-width: 720px) { .foot__r { grid-template-columns: 1fr 1fr; } .foot__news { grid-column: 1 / -1; } }
.foot__news { display: grid; gap: 12px; align-content: start; }
.foot__news h4 { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.foot__news p { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.subrow { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.subrow input { flex: 1; border: 0; background: transparent; padding: 8px 0; font-size: var(--t-sm); }
.subrow input:focus { outline: none; }
.subrow button {
  border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill);
  padding: 8px 18px; font-size: var(--t-xs); font-weight: 520; cursor: pointer;
  transition: background .4s var(--ease);
}
.subrow button:hover { background: var(--red); }
.foot__col h4 { font-size: var(--t-xs); color: var(--faint); font-weight: 500; letter-spacing: .04em; margin-bottom: 12px; }
.foot__col ul { display: grid; gap: 8px; }
.foot__col a { font-size: var(--t-sm); color: var(--ink-2); transition: color .35s var(--ease); }
.foot__col a:hover { color: var(--red-ink); }
.foot__bar {
  background: var(--ink-bg); color: var(--on-dark-mut);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.foot__bar .wrap {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding-block: 20px; font-size: var(--t-xs);
}

/* ---------- Article / legal prose ---------- */
.prose { display: grid; gap: 18px; max-width: 68ch; color: var(--ink-2); font-size: var(--t-body); line-height: 1.72; }
.prose h2 { font-size: 1.28rem; font-weight: 620; letter-spacing: -.022em; color: var(--ink); margin-top: 22px; line-height: 1.3; }
.prose h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-top: 12px; }
.prose ul { display: grid; gap: 7px; }
.prose li { position: relative; padding-left: 19px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .8; }
.prose a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--muted); }

/* ---------- Marks / ornaments ---------- */
.marks { display: flex; gap: 8px; color: var(--red); opacity: .5; }
.marks span { font-size: .7rem; line-height: 1; }

/* three-column model block */
.model { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 860px) { .model { grid-template-columns: 1fr; gap: 28px; } }
.model h3 { font-size: 1.1rem; font-weight: 620; letter-spacing: -.02em; margin-bottom: 10px; }
.model p { color: var(--muted); font-size: var(--t-sm); line-height: 1.66; }

/* service columns */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(22px, 3.4vw, 54px); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 26px; } }
.svc h4 { font-size: var(--t-xs); color: var(--muted); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; font-weight: 550; }
.svc ul { display: grid; gap: 9px; }
.svc li { font-size: var(--t-sm); color: var(--ink-2); position: relative; padding-left: 16px; }
.svc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 1px; background: var(--red); }
.svc__note { margin-top: 16px; font-size: var(--t-sm); font-weight: 550; color: var(--ink); }

/* wordmark row */
.wordrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 4vw, 60px); align-items: end; }
@media (max-width: 780px) { .wordrow { grid-template-columns: 1fr; gap: 34px; } }
.wordrow__w { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 640; letter-spacing: -.055em; line-height: .9; }
.wordrow__w b { color: var(--red); font-weight: 640; }
.wordrow p { margin-top: 16px; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; max-width: 26ch; }

/* contact channel cards */
.chan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  min-height: 210px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.chan:hover { border-color: rgba(255,75,58,.4); transform: translateY(-2px); }
.chan svg { color: var(--red); }
.chan span { margin-top: auto; font-size: var(--t-xs); color: var(--muted); }
.chan b { color: var(--red-ink); font-size: 1.06rem; font-weight: 550; letter-spacing: -.02em; }

/* full-bleed image band */
.band { width: 100%; overflow: hidden; border-radius: var(--r-xl); }
.band img { width: 100%; height: clamp(280px, 52vh, 560px); object-fit: cover; }

/* prev / next between case studies */
.casenav {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.casenav a {
  font-size: var(--t-sm); color: var(--ink-2); font-weight: 500;
  transition: color .35s var(--ease);
}
.casenav a:hover { color: var(--red-ink); }
.casenav span { color: var(--red); }

/* insight cards */
.post { display: grid; gap: 14px; }
.post__img { aspect-ratio: 4 / 3; }
.post__img--tall { aspect-ratio: 3 / 4; }
.post__d { font-size: var(--t-xs); color: var(--faint); letter-spacing: .04em; }
.post__t { font-size: 1.06rem; font-weight: 600; letter-spacing: -.022em; line-height: 1.3; }
.post__x { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.post a:hover .post__t { color: var(--red-ink); }

/* 404 */
.nf { position: relative; }
.nf__code {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: clamp(9rem, 26vw, 22rem); font-weight: 700; letter-spacing: -.06em;
  line-height: .8; color: rgba(255,75,58,.10); pointer-events: none; user-select: none; z-index: 0;
}
@media (max-width: 760px) { .nf__code { right: -4%; opacity: .7; } }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  font-size: var(--t-sm);
}
.skip:focus { left: 0; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--r-pill);
  font-size: var(--t-sm); opacity: 0; pointer-events: none; z-index: 120;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: 0 20px 46px -20px rgba(0,0,0,.5);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* utils */
.stack { display: grid; }
.g-8 { gap: 8px } .g-12 { gap: 12px } .g-16 { gap: 16px } .g-20 { gap: 20px }
.g-24 { gap: 24px } .g-32 { gap: clamp(26px, 2.8vw, 44px) } .g-40 { gap: 40px }
.g-56 { gap: clamp(30px, 3.6vw, 60px) } .g-72 { gap: clamp(34px, 4.6vw, 72px) }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.row--between { justify-content: space-between; }
.center { text-align: center; }
.mt-auto { margin-top: auto; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
