/* Legendario Technologies — landing
   Palette: amber, caramel, dark mahogany, cream. No external requests (CSP: default-src 'self'). */

/* ---------- Fonts (local, OFL) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-wght-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-cyrillic-wght-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-wght-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-wght-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;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #120b07;
  --bg-deep: #0d0805;
  --surface: #1e140d;
  --surface-2: #281a10;
  --cream: #f4e7d0;
  --cream-2: #cdb99a;
  --muted: #a8937a;
  --amber: #e2a24c;
  --amber-bright: #f3c177;
  --caramel: #c27a36;
  --mahogany: #5b2814;
  --pale-gold: #ead29a;
  --line: rgba(226, 162, 76, 0.16);
  --line-strong: rgba(226, 162, 76, 0.38);
  --glow: rgba(226, 150, 60, 0.22);
  --danger: #f39a7e;
  --on-amber: #1a0f08;

  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(80px, 10vw, 144px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--cream-2);
  font: 400 1rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--cream); font-family: var(--font-serif); font-weight: 500; }
a { color: var(--amber-bright); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
code { font-family: var(--font-mono); font-size: 0.88em; color: var(--pale-gold); overflow-wrap: anywhere; }
svg { display: block; }
[hidden] { display: none !important; }

::selection { background: rgba(226, 162, 76, 0.35); color: var(--cream); }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--on-amber); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 0.95rem/1.1 var(--font-sans);
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.btn--primary {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  color: var(--on-amber);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.45), 0 12px 32px -12px rgba(226, 162, 76, 0.6);
}
.btn--primary:hover {
  color: var(--on-amber);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.45), 0 16px 40px -10px rgba(226, 162, 76, 0.8);
}
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--amber-bright); border-color: var(--amber); }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.85; transform: none; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 15, 8, 0.3);
  border-top-color: var(--on-amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }

/* ---------- Frame (engraved label border) ---------- */
.frame { position: relative; }
.frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.frame__corner {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 1px solid var(--amber);
  background: var(--bg);
  transform: rotate(45deg);
  pointer-events: none;
}
.frame__corner--tl { top: -5px; left: -5px; }
.frame__corner--tr { top: -5px; right: -5px; }
.frame__corner--bl { bottom: -5px; left: -5px; }
.frame__corner--br { bottom: -5px; right: -5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(18, 11, 7, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
}
.brand:hover { color: var(--cream); }
.brand__seal { width: 36px; height: 36px; flex: none; color: var(--amber); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 600 1.5rem/1 var(--font-serif); letter-spacing: 0.01em; }
.brand__sub {
  margin-top: 0.28rem;
  font: 600 0.58rem/1 var(--font-sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--cream-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav__list a:hover { color: var(--cream); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bar:nth-of-type(2) { top: 17px; }
.nav-toggle__bar:nth-of-type(3) { top: 25px; }
.site-header.is-open .nav-toggle__bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .site-nav__list { display: none; }
  .js .nav-toggle { display: inline-block; }
  .js .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg-deep);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .js .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .js .site-nav__list { display: flex; flex-direction: column; gap: 0; }
  .js .site-nav__list a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__cta { margin-top: 1.25rem; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(72px, 9vw, 128px);
}
.hero__backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 55% at 74% 42%, var(--glow), transparent 70%),
    radial-gradient(40% 45% at 8% 0%, rgba(110, 44, 18, 0.45), transparent 70%),
    linear-gradient(180deg, #180e08 0%, var(--bg) 100%);
  animation: breathe 10s ease-in-out infinite alternate;
}
.hero__guilloche {
  position: absolute;
  top: 50%;
  right: -18%;
  width: min(1080px, 120vw);
  height: auto;
  aspect-ratio: 1;
  color: var(--amber);
  opacity: 0.11;
  translate: 0 -50%;
  animation: spin 260s linear infinite;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.32s; }
.hero__code { animation: rise 1.1s var(--ease) 0.3s both; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  color: var(--amber);
  font: 600 0.74rem/1.3 var(--font-sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero__rule { width: 40px; height: 1px; flex: none; background: currentColor; opacity: 0.7; }

.hero__title {
  margin-bottom: 1.75rem;
  font-size: clamp(2.9rem, 6.1vw, 6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.hero__title em {
  display: block;
  font-style: italic;
  color: var(--amber-bright);
  background: linear-gradient(100deg, var(--pale-gold) 0%, var(--amber-bright) 35%, var(--amber) 70%, var(--caramel) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}
.hero__lead { max-width: 34em; font-size: 1.1rem; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

.hero__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
}
.hero__notes > div { padding: 1rem 1rem 0 0; }
.hero__notes > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero__notes dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font: 600 0.66rem/1.2 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__notes dd { color: var(--cream); font: 500 1.2rem/1.2 var(--font-serif); }

/* ---------- Code card ---------- */
.code-card {
  background: linear-gradient(180deg, rgba(40, 26, 16, 0.94), rgba(22, 14, 9, 0.96));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 90px -24px rgba(226, 162, 76, 0.3);
}
.code-card__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.code-tabs { display: flex; gap: 1.25rem; }
.code-tabs__tab {
  position: relative;
  padding: 0.6rem 0 0.8rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 0.78rem/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.code-tabs__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.code-tabs__tab:hover { color: var(--cream); }
.code-tabs__tab[aria-selected="true"] { color: var(--cream); }
.code-tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }

.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--cream-2);
  font: 500 0.75rem/1 var(--font-sans);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.code-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.code-copy:hover { color: var(--amber-bright); border-color: var(--line-strong); }
.code-copy.is-done { color: var(--amber-bright); border-color: var(--amber); }

.code {
  margin: 0;
  padding: 1.35rem 1.5rem 1.5rem;
  overflow-x: auto;
  color: #eadcc2;
  font: 400 0.84rem/1.75 var(--font-mono);
  tab-size: 4;
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 162, 76, 0.35) transparent;
}
.code code, .diff__code code { color: inherit; font-size: inherit; overflow-wrap: normal; }
.t-kw { color: #f0a35a; }
.t-str { color: #e8cb8f; }
.t-com { color: #a38e74; font-style: italic; }
.t-fn { color: var(--cream); font-weight: 600; }
.t-num { color: #ec9a78; }

.code-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1.5rem 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}
.code-card__status { display: inline-flex; align-items: center; gap: 0.55rem; }
.code-card__hint code { font-size: 0.95em; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 0 0 rgba(243, 193, 119, 0.6);
  animation: ping 2.4s ease-out infinite;
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-pad); }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  color: var(--amber);
  font: 600 0.74rem/1 var(--font-sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.numeral {
  min-width: 1.9em;
  color: var(--amber-bright);
  font: 500 1.45rem/1 var(--font-serif);
  letter-spacing: 0.08em;
}
.eyebrow__rule { width: 48px; height: 1px; flex: none; background: var(--line-strong); }
.section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--amber-bright); }
.section-lead { max-width: 40em; font-size: 1.08rem; }

/* ---------- I. Flow diagram ---------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 72px minmax(0, 1.1fr) minmax(64px, 110px) minmax(0, 1.1fr);
  grid-template-areas:
    ". . . . listhead"
    "client in core fan list"
    ". . . . note";
  align-items: center;
  row-gap: 0.9rem;
}
.flow__node { position: relative; padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.flow__node--client { grid-area: client; }
.flow__node--core {
  grid-area: core;
  padding: 1.75rem;
  border-color: var(--line-strong);
  background: radial-gradient(120% 90% at 50% 0%, rgba(226, 162, 76, 0.16), transparent 65%), var(--surface-2);
  box-shadow: 0 0 70px -16px rgba(226, 162, 76, 0.4);
}
.flow__kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font: 600 0.66rem/1.3 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.flow__title { margin-bottom: 0.4rem; color: var(--cream); font: 500 1.55rem/1.15 var(--font-serif); }
.flow__title--brand { font-size: 2.1rem; color: var(--amber-bright); }
.flow__meta code { font-size: 0.78rem; }
.flow__checks { display: grid; gap: 0.45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.flow__checks li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.9rem; color: var(--cream-2); }
.flow__checks li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--amber);
  transform: rotate(45deg);
}

.flow__link {
  position: relative;
  grid-area: in;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--amber));
}
.flow__link::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--amber);
  border-right: 1px solid var(--amber);
  transform: rotate(45deg);
}
.flow__link--out { display: none; }
.flow__pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 18px;
  height: 5px;
  border-radius: 3px;
  background: var(--amber-bright);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse-x 2.4s linear infinite;
}

.flow__fan { grid-area: fan; align-self: stretch; }
.flow__fan svg { width: 100%; height: 100%; overflow: visible; }
.flow__fan path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.5s;
}
.flow__fan path.is-active {
  stroke: var(--amber-bright);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
  animation: dash 0.9s linear infinite;
}

.flow__listhead { grid-area: listhead; margin: 0; }
.flow__list {
  grid-area: list;
  align-self: stretch;
  display: grid;
  grid-auto-rows: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--surface);
}
.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--line);
  transition: background-color 0.5s;
}
.model-row:first-child { border-top: 0; }
.model-row__name { display: flex; align-items: center; gap: 0.65rem; color: var(--cream); font-size: 0.95rem; font-weight: 500; }
.model-row__name::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
  transition: background-color 0.4s, box-shadow 0.4s, opacity 0.4s;
}
.model-row__tag {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 0.68rem/1 var(--font-mono);
  transition: color 0.4s, border-color 0.4s;
}
.model-row.is-active { background: rgba(226, 162, 76, 0.08); }
.model-row.is-active .model-row__name::before { background: var(--amber-bright); box-shadow: 0 0 10px var(--amber); opacity: 1; }
.model-row.is-active .model-row__tag { color: var(--amber-bright); border-color: var(--line-strong); }
.flow__note { grid-area: note; color: var(--muted); font-size: 0.85rem; }
.flow__note code { font-size: 0.8rem; white-space: nowrap; }

.maxim {
  position: relative;
  max-width: 860px;
  margin: clamp(64px, 8vw, 112px) auto;
  padding-top: 2.25rem;
  color: var(--cream);
  font: italic 500 clamp(1.55rem, 3vw, 2.35rem)/1.3 var(--font-serif);
  text-align: center;
  text-wrap: balance;
}
.maxim::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--amber);
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg);
  z-index: 1;
}
.maxim::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 180px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--line-strong), transparent 42%, transparent 58%, var(--line-strong));
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process__step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.process__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.process__num { display: block; margin-bottom: 0.9rem; color: var(--amber); font: 500 0.8rem/1 var(--font-mono); }
.process__title { margin-bottom: 0.55rem; font-size: 1.6rem; line-height: 1.15; }
.process__step p { font-size: 0.95rem; }

/* ---------- II. Modes ---------- */
.section--modes {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(110, 44, 18, 0.28), transparent 70%),
    var(--bg-deep);
  border-block: 1px solid var(--line);
}
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mode {
  --tint: var(--amber);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.mode::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--tint);
}
.mode:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.85), 0 0 60px -26px var(--tint);
}
.mode--economy { --tint: var(--pale-gold); }
.mode--balanced { --tint: var(--amber); }
.mode--quality { --tint: #b4602a; }
.mode--balanced { border-color: var(--line-strong); }
.mode__code { color: var(--muted); font: 500 0.76rem/1 var(--font-mono); letter-spacing: 0.04em; }
.mode__badge {
  position: absolute;
  top: 1.6rem;
  right: 1.4rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line-strong);
  color: var(--amber-bright);
  font: 600 0.6rem/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mode__title { margin: 0.9rem 0 0.9rem; font-size: 2.5rem; line-height: 1; }
.mode__desc { margin-bottom: 1.5rem; font-size: 0.97rem; }
.weights { display: grid; gap: 0.65rem; margin-bottom: 1.5rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.weights > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.weights dt { color: var(--cream-2); font-size: 0.84rem; }
.pips { display: inline-flex; gap: 5px; }
.pip { width: 20px; height: 4px; background: rgba(226, 162, 76, 0.16); }
.pip.is-on { background: var(--tint); }
.mode__fit-title {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font: 600 0.66rem/1 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.mode__fit { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.mode__fit li { position: relative; padding-left: 1.15rem; font-size: 0.93rem; }
.mode__fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--tint);
  transform: rotate(45deg);
}
.modes__note { max-width: 46em; margin-top: 2.25rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- III. Why ---------- */
.audit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 1.5rem;
  padding: clamp(28px, 4.5vw, 64px);
  border: 1px solid var(--line-strong);
  background: radial-gradient(80% 110% at 0% 0%, rgba(226, 162, 76, 0.1), transparent 60%), var(--surface);
}
.audit__kicker {
  margin-bottom: 1rem;
  color: var(--amber);
  font: 600 0.7rem/1.3 var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.audit__title { margin-bottom: 1.1rem; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; text-wrap: balance; }
.audit__intro p:not(.audit__kicker) { font-size: 0.98rem; }

.seal { width: 132px; height: 132px; margin-top: 2rem; color: var(--amber); opacity: 0.85; }
.seal__ring { transform-origin: 60px 60px; animation: spin 60s linear infinite; }
.seal__text { fill: currentColor; font: 600 8.6px/1 var(--font-sans); letter-spacing: 0.12em; }

.audit__list { margin: 0; padding: 0; list-style: none; }
.audit__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.audit__list li:first-child { padding-top: 0.2rem; border-top: 0; }
.audit__num { color: var(--amber); font: italic 500 1.45rem/1.1 var(--font-serif); }
.audit__name { margin-bottom: 0.25rem; color: var(--cream); font: 600 1rem/1.35 var(--font-sans); }
.audit__list p { font-size: 0.93rem; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.feature {
  position: relative;
  padding: 1.75rem 1.6rem 1.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.35s, transform 0.35s var(--ease), background-color 0.35s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--amber);
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature__title { margin-bottom: 0.6rem; font-size: 1.5rem; line-height: 1.15; }
.feature p { font-size: 0.93rem; }

/* ---------- IV. Steps ---------- */
.section--start {
  background: radial-gradient(50% 60% at 85% 100%, rgba(226, 150, 60, 0.1), transparent 70%), var(--bg);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 36px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong) 0%, var(--line-strong) 75%, transparent);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--amber-bright);
  font: italic 500 2.1rem/1 var(--font-serif);
  font-variant-numeric: lining-nums;
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -8px rgba(226, 162, 76, 0.45);
}
.step__title { margin-bottom: 0.6rem; font-size: 1.75rem; line-height: 1.15; }
.step__body p { font-size: 0.97rem; }

.diff {
  max-width: 640px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.diff__caption {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 600 0.66rem/1.3 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.diff__code {
  margin: 0;
  padding: 0.9rem 0;
  overflow-x: auto;
  color: #eadcc2;
  font: 400 0.84rem/1.9 var(--font-mono);
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 162, 76, 0.35) transparent;
}
.diff__line { display: block; min-width: max-content; padding: 0 1.25rem; }
.diff__line--del { background: rgba(243, 154, 126, 0.07); color: #cfa99a; }
.diff__line--del .t-str { color: #cfa99a; text-decoration: line-through; text-decoration-color: rgba(243, 154, 126, 0.55); }
.diff__line--add { background: rgba(226, 162, 76, 0.1); }
.diff__sign { display: inline-block; width: 1.6em; color: var(--muted); }
.diff__line--add .diff__sign { color: var(--amber-bright); }

/* ---------- V. Request ---------- */
.section--request {
  background:
    radial-gradient(45% 55% at 75% 45%, rgba(226, 150, 60, 0.12), transparent 70%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
}
.request {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.request__next { display: grid; gap: 0.9rem; margin: 2.25rem 0 0; padding: 0; list-style: none; counter-reset: next; }
.request__next li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--cream-2);
  counter-increment: next;
}
.request__next li::before {
  content: counter(next, upper-roman);
  position: absolute;
  left: 0;
  top: -0.1em;
  color: var(--amber);
  font: 500 1.25rem/1.4 var(--font-serif);
}
.request__alt { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

.request__card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), 0 0 120px -50px rgba(226, 162, 76, 0.45);
}
.lead-form { position: relative; }
.lead-form__note { margin-bottom: 1.4rem; color: var(--muted); font-size: 0.84rem; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cream);
  font: 600 0.8rem/1.3 var(--font-sans);
  letter-spacing: 0.03em;
}
.field__req { color: var(--amber-bright); }
.field__opt { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(226, 162, 76, 0.28);
  border-radius: 2px;
  background: rgba(13, 8, 5, 0.65);
  color: var(--cream);
  font: 400 1rem/1.4 var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(226, 162, 76, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(13, 8, 5, 0.9);
  box-shadow: 0 0 0 3px rgba(226, 162, 76, 0.25);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(243, 154, 126, 0.25); }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  caret-color: var(--cream);
  box-shadow: 0 0 0 100px #1c120b inset;
}
.select-wrap { position: relative; display: block; }
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 2.75rem; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: #1e140d; color: var(--cream); }
.field select:has(option[value=""]:checked) { color: var(--muted); }
.field__error { margin-top: 0.4rem; color: var(--danger); font-size: 0.82rem; line-height: 1.4; }
.field__error:empty { display: none; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border: 1px solid rgba(243, 154, 126, 0.45);
  border-left-width: 3px;
  background: rgba(243, 154, 126, 0.08);
  color: #f7c9b8;
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-alert:empty { display: none; }
.form-alert a { color: var(--cream); }
.lead-form__noscript { margin-top: 1.2rem; color: var(--danger); font-size: 0.9rem; }
.lead-form__submit { margin-top: 1.5rem; }
.lead-form__consent { margin-top: 1rem; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }

.lead-success { padding: clamp(16px, 4vw, 40px) 0; text-align: center; outline: none; }
.lead-success__seal { width: 72px; height: 72px; margin: 0 auto 1.5rem; color: var(--amber-bright); }
.lead-success__title { margin-bottom: 0.8rem; font-size: 2.2rem; line-height: 1.1; }
.lead-success p { max-width: 30em; margin-inline: auto; }
.lead-success.is-shown { animation: rise 0.8s var(--ease) both; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 2rem; background: var(--bg); border-top: 1px solid var(--line); }
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer__tagline { max-width: 26em; margin-top: 1.25rem; color: var(--muted); font-size: 0.92rem; }
.site-footer__nav ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a, .site-footer__mail { color: var(--cream-2); text-decoration: none; }
.site-footer__nav a:hover, .site-footer__mail:hover { color: var(--amber-bright); }
.site-footer__label {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font: 600 0.66rem/1.3 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer__mail { font: 500 1.35rem/1.3 var(--font-serif); color: var(--cream); overflow-wrap: anywhere; }
.site-footer__api { margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--muted);
  font-size: 0.78rem;
}
.site-footer__legal p:last-child { max-width: 52em; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { --reveal-delay: 0.08s; }
.reveal--d2 { --reveal-delay: 0.16s; }
.reveal--d3 { --reveal-delay: 0.24s; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { from { opacity: 0.85; } to { opacity: 1; } }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(243, 193, 119, 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(243, 193, 119, 0); }
}
@keyframes pulse-x {
  0% { left: 0; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: calc(100% - 18px); opacity: 0; }
}
@keyframes pulse-y {
  0% { top: 0; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { top: calc(100% - 18px); opacity: 0; }
}
@keyframes dash { to { stroke-dashoffset: -11; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(2.9rem, 13.5vw, 5.2rem); }
  .hero__guilloche { top: 18%; right: -45%; width: 150vw; opacity: 0.08; }
  .request { grid-template-columns: minmax(0, 1fr); }
  .audit { grid-template-columns: minmax(0, 1fr); }
  .seal { position: absolute; top: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); width: 96px; height: 96px; margin: 0; opacity: 0.6; }
  .audit__intro { padding-right: 96px; }
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "client" "in" "core" "out" "listhead" "list" "note";
    row-gap: 0;
  }
  .flow__link, .flow__link--out {
    display: block;
    justify-self: center;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--line-strong), var(--amber));
  }
  .flow__link--out { grid-area: out; }
  .flow__link::after { top: auto; right: -4px; bottom: 0; transform: rotate(135deg); }
  .flow__pulse { top: 0; left: -2px; width: 5px; height: 18px; animation-name: pulse-y; }
  .flow__fan { display: none; }
  .flow__listhead { margin: 1rem 0 0.75rem; text-align: center; }
  .flow__note { margin-top: 0.9rem; text-align: center; }
  .modes { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .modes__note { margin-inline: auto; text-align: center; max-width: 560px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before { top: 36px; bottom: 36px; left: 36px; right: auto; width: 1px; height: auto; background: var(--line-strong); }
  .step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
  .step__num { margin-bottom: 0; }
  .step__body { padding-top: 0.9rem; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand__seal { width: 32px; height: 32px; }
  .brand__name { font-size: 1.35rem; }
  .hero__eyebrow { letter-spacing: 0.16em; font-size: 0.7rem; }
  .hero__rule { display: none; }
  .hero__lead { font-size: 1.02rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__notes { grid-template-columns: minmax(0, 1fr); }
  .hero__notes > div,
  .hero__notes > div + div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__notes dt { margin-bottom: 0; }
  .hero__notes dd { text-align: right; font-size: 1.1rem; }
  .code-card__head { padding-left: 1.1rem; padding-right: 0.9rem; }
  .code { padding: 1.1rem 1.1rem 1.25rem; font-size: 0.76rem; }
  .code-card__foot { padding-inline: 1.1rem; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .mode { padding: 1.75rem 1.35rem; }
  .mode__badge { position: static; align-self: flex-start; margin-top: 0.9rem; }
  .mode__title { font-size: 2.2rem; }
  .audit__intro { padding-right: 0; }
  .seal { display: none; }
  .audit__list li { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; }
  .lead-form__grid { grid-template-columns: minmax(0, 1fr); }
  .request__card { padding: 24px 18px; }
  .diff__code { font-size: 0.74rem; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .site-footer__legal { flex-direction: column; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__guilloche, .seal__ring, .hero__glow { animation: none; }
  .flow__pulse { display: none; }
}

@media (forced-colors: active) {
  .frame__corner, .hero__backdrop, .flow__pulse { display: none; }
  .btn { border-color: ButtonText; }
}
