/* ==========================================================================
   esmilemalik.tech — PromptEdge by Vektor Matrix
   Single stylesheet. Dark-committed brand: black ground, orange circuit accent.
   ========================================================================== */

:root {
  /* ---- LIGHT (default) ---- */
  --bg:          #fbfbfc;
  --bg-1:        #f4f4f6;
  --bg-2:        #ededf0;
  --bg-3:        #e5e5e9;
  --line:        #d8d8dd;
  --line-soft:   #e6e6ea;

  --fg:          #131316;
  --fg-dim:      #4c4c55;
  --fg-mute:     #6b6b76;

  --orange:      #a44807;
  --orange-lit:  #8a3b05;
  --orange-deep: #7d3505;
  --orange-wash: rgba(180, 80, 10, 0.08);
  --orange-edge: rgba(180, 80, 10, 0.30);

  --btn-bg:      #b4500a;
  --btn-fg:      #ffffff;

  --header-bg:   rgba(251, 251, 252, 0.85);
  --bloom-strong: rgba(180, 80, 10, .10);
  --bloom-soft:   rgba(180, 80, 10, .035);
  --bloom-faint:  rgba(180, 80, 10, .07);
  --input-hover:  #c2c2ca;

  /* the EM mark has white traces — on light ground it needs a dark plate */
  --logo-plate: #08080a;
  --logo-pad:   5px 7px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --wrap: 1180px;
  --gap: 1.5rem;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- DARK: the brand's native look ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #050505;
    --bg-1:        #0b0b0c;
    --bg-2:        #101012;
    --bg-3:        #17171a;
    --line:        #232326;
    --line-soft:   #1a1a1d;

    --fg:          #f4f4f5;
    --fg-dim:      #a1a1aa;
    --fg-mute:     #8b8b95;

    --orange:      #f97316;
    --orange-lit:  #ff8a1f;
    --orange-deep: #c2560a;
    --orange-wash: rgba(249, 115, 22, 0.10);
    --orange-edge: rgba(249, 115, 22, 0.32);

    --btn-bg:      #f97316;
    --btn-fg:      #0a0500;

    --header-bg:   rgba(5, 5, 5, 0.82);
    --bloom-strong: rgba(249, 115, 22, .16);
    --bloom-soft:   rgba(249, 115, 22, .05);
    --bloom-faint:  rgba(249, 115, 22, .12);
    --input-hover:  #2e2e33;

    --logo-plate: transparent;
    --logo-pad:   0;
  }
}

:root[data-theme="dark"] {
  --bg:          #050505;
  --bg-1:        #0b0b0c;
  --bg-2:        #101012;
  --bg-3:        #17171a;
  --line:        #232326;
  --line-soft:   #1a1a1d;

  --fg:          #f4f4f5;
  --fg-dim:      #a1a1aa;
  --fg-mute:     #8b8b95;

  --orange:      #f97316;
  --orange-lit:  #ff8a1f;
  --orange-deep: #c2560a;
  --orange-wash: rgba(249, 115, 22, 0.10);
  --orange-edge: rgba(249, 115, 22, 0.32);

  --btn-bg:      #f97316;
  --btn-fg:      #0a0500;

  --header-bg:   rgba(5, 5, 5, 0.82);
  --bloom-strong: rgba(249, 115, 22, .16);
  --bloom-soft:   rgba(249, 115, 22, .05);
  --bloom-faint:  rgba(249, 115, 22, .12);
  --input-hover:  #2e2e33;

  --logo-plate: transparent;
  --logo-pad:   0;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--btn-bg); color: var(--btn-fg); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--btn-bg); color: var(--btn-fg); padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.01em; }
p { color: var(--fg-dim); }
strong { color: var(--fg); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--orange); flex: none;
}
.eyebrow.center { justify-content: center; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--fg-dim); max-width: 62ch; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(100% - 1.75rem, var(--wrap)); } }

section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 68ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); display: grid; gap: 1rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}

/* circuit hairline used as a section divider */
.trace-divider { position: relative; height: 1px; background: var(--line-soft); }
.trace-divider::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--orange);
  transform: translate(-50%, -50%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .8rem; flex: 0 1 auto; min-width: 0; }
.brand img {
  height: 34px; width: auto;
  background: var(--logo-plate); padding: var(--logo-pad);
  border-radius: 3px; box-sizing: content-box;
}
.brand-text { display: grid; line-height: 1.1; min-width: 0; }
.brand-name, .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name {
  font-family: var(--font-display); font-size: .95rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-mute);
}
@media (max-width: 420px) { .brand-text { display: none; } }

.site-nav { margin-left: auto; order: 2; }
.site-nav ul { display: flex; align-items: center; gap: 1.9rem; list-style: none; padding: 0; }
.site-nav a {
  font-size: .875rem; color: var(--fg-dim); position: relative;
  padding-block: .35rem; transition: color .2s var(--ease);
}
.site-nav a:hover { color: var(--fg); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--orange); transition: width .28s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
.site-nav a[aria-current="page"] { color: var(--fg); }

/* ---------- theme toggle ---------- */
.theme-toggle {
  order: 3; flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  background: none; cursor: pointer; color: var(--fg-dim);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { color: var(--orange-lit); border-color: var(--orange); background: var(--orange-wash); }
.theme-toggle svg { width: 16px; height: 16px; }

/* show the icon for the theme the button switches TO */
.theme-toggle .i-sun  { display: none; }
.theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun  { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* the header CTA is a button, not a nav link: .site-nav a (0,1,1) would
   otherwise beat .btn-primary (0,1,0) and wash out its label */
.site-nav a.btn-primary { color: var(--btn-fg); }
.site-nav a.btn-primary:hover { color: var(--btn-fg); }
.site-nav a.btn::after { content: none; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .7rem; cursor: pointer; color: var(--fg);
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }
.nav-toggle span + span { margin-top: 4px; }

@media (max-width: 980px) {
  /* on mobile the nav leaves the flow, so order these explicitly:
     brand … [theme toggle] [hamburger], both pinned right */
  .nav-toggle { display: block; margin-left: 0; order: 4; }
  .theme-toggle { margin-left: auto; order: 3; }
  .site-nav {
    position: absolute; inset: 74px 0 auto; margin: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .site-nav[data-open="true"] { max-height: 26rem; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav a { display: block; padding: .95rem 0; font-size: 1rem; }
  .site-nav .nav-cta { margin-top: 1rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .82rem 1.5rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
.btn-primary:hover { background: var(--orange-lit); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-lit); background: var(--orange-wash); }
.btn-sm { padding: .58rem 1.05rem; font-size: .82rem; }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* text link with trace underline */
.tlink {
  color: var(--orange); font-size: .875rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem;
  justify-self: start; align-self: start;
  border-bottom: 1px solid var(--orange-edge); padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.tlink:hover { border-color: var(--orange); gap: .7rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  /* circuit grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  opacity: .8;
}
.hero::after {
  /* orange bloom, echoing the logo-reveal ring */
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 900px; border-radius: 50%;
  top: -55%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--bloom-strong) 0%, var(--bloom-soft) 38%, transparent 66%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { display: grid; gap: 1.75rem; max-width: 60rem; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { font-size: clamp(1.08rem, 1.75vw, 1.3rem); max-width: 56ch; }

.mission-strip {
  margin-top: .75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--line); border-left: 2px solid var(--orange);
  background: linear-gradient(90deg, var(--orange-wash), transparent 60%);
  border-radius: var(--radius);
}
.mission-strip .m-label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--orange); flex: none;
}
.mission-strip p { color: var(--fg); font-size: .96rem; margin: 0; }

/* ---------- two-path chooser ---------- */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 780px) { .paths { grid-template-columns: 1fr; } }

.path-card {
  position: relative; display: grid; gap: .9rem; align-content: start;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left; width: 100%; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.path-card:hover { border-color: var(--orange-edge); background: var(--bg-2); transform: translateY(-2px); }
.path-card[aria-selected="true"] {
  border-color: var(--orange); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--orange-edge);
}
.path-card .p-num {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em;
  color: var(--fg-mute); text-transform: uppercase;
}
.path-card h3 { color: var(--fg); }
.path-card p { font-size: .93rem; margin: 0; }
.path-card .p-go {
  margin-top: .35rem; font-size: .82rem; color: var(--orange);
  display: inline-flex; align-items: center; gap: .45rem;
}
/* node dot in the corner, circuit motif */
.path-card::after {
  content: ""; position: absolute; top: 1.15rem; right: 1.15rem;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.path-card[aria-selected="true"]::after { border-color: var(--orange); background: var(--orange); }

.path-panel[hidden] { display: none; }
.path-panel { margin-top: clamp(2rem, 4vw, 3rem); }
.path-panel-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.path-panel-head h3 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 400; color: var(--fg-dim); }

/* ---------- card grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: grid; gap: .75rem; align-content: start;
  padding: 1.65rem 1.5rem;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--orange-edge); background: var(--bg-2); transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; }
.card p { font-size: .92rem; margin: 0; }
.card .c-index {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  color: var(--orange); text-transform: uppercase;
}
.card ul { margin: .35rem 0 0; padding-left: 1.05rem; display: grid; gap: .3rem; }
.card li { font-size: .87rem; color: var(--fg-dim); }
.card li::marker { color: var(--orange-deep); }
.card-link { display: block; }

/* icon plate */
.plate {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--orange-edge); border-radius: var(--radius);
  background: var(--orange-wash); color: var(--orange);
  margin-bottom: .25rem;
}
.plate svg { width: 19px; height: 19px; }

/* ---------- A3 method ---------- */
.a3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .a3 { grid-template-columns: 1fr; } }
.a3-step {
  padding: clamp(1.6rem, 3vw, 2.35rem);
  background: var(--bg-1); position: relative;
  display: grid; gap: .7rem; align-content: start;
}
.a3-step + .a3-step { border-left: 1px solid var(--line); }
@media (max-width: 820px) { .a3-step + .a3-step { border-left: 0; border-top: 1px solid var(--line); } }
.a3-step .n {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em;
  color: var(--orange); text-transform: uppercase;
  display: flex; align-items: center; gap: .6rem;
}
.a3-step .n::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--orange-edge), transparent); }
.a3-step h3 { font-size: 1.3rem; }
.a3-step p { font-size: .92rem; margin: 0; }

.scale-note {
  margin-top: 1.5rem; display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 780px) { .scale-note { grid-template-columns: 1fr; } }
.scale-note div {
  padding: 1.25rem 1.4rem; border: 1px dashed var(--line); border-radius: var(--radius);
}
.scale-note h4 {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .5rem;
}
.scale-note p { font-size: .9rem; margin: 0; }

/* ---------- offer ladder ---------- */
.ladder { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rung {
  display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.6rem 1.5rem; background: var(--bg-1);
  transition: background .25s var(--ease);
}
.rung:hover { background: var(--bg-2); }
.rung + .rung { border-top: 1px solid var(--line); }
.rung .r-num { font-family: var(--font-mono); font-size: .78rem; color: var(--orange); letter-spacing: .12em; }
.rung h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.rung p { font-size: .9rem; margin: 0; max-width: 70ch; }
.rung .r-cta { flex: none; }
@media (max-width: 760px) {
  .rung { grid-template-columns: 1fr; gap: .85rem; }
  .rung .r-cta { justify-self: start; }
}

/* ---------- proof / prompt-to-output ---------- */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; } }
.proof > div { padding: clamp(1.5rem, 3vw, 2rem); background: var(--bg-1); }
.proof > div + div { border-left: 1px solid var(--line); background: var(--bg-2); }
@media (max-width: 820px) { .proof > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.proof h4 {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .9rem;
}
.proof pre {
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.6;
  color: var(--fg-dim); white-space: pre-wrap; margin: 0;
}

/* ---------- placeholder / pending content ---------- */
.pending {
  border: 1px dashed var(--orange-edge); background: var(--orange-wash);
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  display: grid; gap: .4rem;
}
.pending .p-tag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--orange);
}
.pending p { font-size: .89rem; margin: 0; }

/* ---------- notice / compliance ---------- */
.notice {
  border-left: 2px solid var(--orange); background: var(--bg-1);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice p { font-size: .88rem; margin: 0; }
.notice strong { color: var(--orange-lit); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-body { display: grid; gap: 1.15rem; }
.about-body p { font-size: 1rem; }

.stats { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 1.35rem 1.5rem; background: var(--bg-1); }
.stat + .stat { border-top: 1px solid var(--line); }
.stat dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: .35rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: 1.05rem; color: var(--fg); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, var(--bloom-faint), transparent 70%);
}
.cta-band .wrap { position: relative; z-index: 1; text-align: center; display: grid; gap: 1.35rem; justify-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 54ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .82rem; color: var(--fg-dim); font-weight: 500; }
.field label .req { color: var(--orange); }
.field input, .field textarea, .field select {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .95rem; font-size: .93rem; color: var(--fg);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--input-hover); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange); background: var(--bg-2); outline: none;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field .hint { font-size: .78rem; color: var(--fg-mute); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand p { font-size: .88rem; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-mute); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a { font-size: .89rem; color: var(--fg-dim); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--orange-lit); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .8rem; color: var(--fg-mute); margin: 0; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 100% at 15% 0%, var(--bloom-faint), transparent 65%);
}
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 1.2rem; max-width: 58rem; }

.crumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.crumbs a { color: var(--fg-mute); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: var(--orange); }

/* ---------- vertical detail blocks ---------- */
.vblock {
  display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line-soft);
}
.vblock:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { .vblock { grid-template-columns: 1fr; gap: 1.25rem; } }
.vblock-aside { display: grid; gap: .8rem; align-content: start; }
.vblock-aside h3 { font-size: 1.45rem; }
.vblock-aside .v-tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange);
}
.vblock-body { display: grid; gap: 1.15rem; }
.vblock-body p { font-size: .96rem; }

.chiprow { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  padding: .38rem .7rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--fg-dim); background: var(--bg-1);
}

/* ---------- misc ---------- */
.muted { color: var(--fg-mute); }
.center { text-align: center; }
.stack { display: grid; gap: 1.25rem; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
