/* NovaTrade — site styles */
:root {
  --ink: #12223d;
  --ink-2: #1a2e50;
  --ink-3: #243a60;
  --paper: #f5f6f2;
  --paper-2: #e9ede5;
  --white: #ffffff;
  --line: #d3dad0;
  --line-dark: #2f4466;
  --text: #172033;
  --muted: #4f5b6b;
  --muted-dark: #a9b5c7;
  --on-dark: #f1f4f8;
  --ember: #0a7a42;
  --ember-ink: #066839;
  --ember-soft: #d4ecd9;
  --mineral: #9aa0a6;
  --destructive: #b3261e;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-control: 4px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- labels & buttons ---------- */
.kicker {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ember-ink); margin: 0 0 18px; display: block;
}
.dark .kicker { color: #8fd18b; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--ember); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  border: 0; border-radius: var(--radius-control); cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--ember-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: inherit; font-weight: 600;
  text-decoration: none; border: 0; background: none; cursor: pointer; border-bottom: 1px solid currentColor;
}
.btn-ghost:hover { color: var(--ember-ink); }
.dark .btn-ghost:hover { color: #8fd18b; }
.arrow::after { content: "→"; font-family: var(--font-body); transition: transform .15s; }
a:hover > .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { min-height: var(--header-h); position: sticky; top: 0; z-index: 50; background: rgba(245, 246, 242, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
.foot .brand img { height: 36px; }
@media (max-width: 480px) { .brand img { height: 24px; } }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: 0.02em; }
.brand-word b { font-weight: 800; color: var(--ember); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink-2); white-space: nowrap; }
.nav a:hover { color: var(--ember-ink); }
.nav a[aria-current="page"] { color: var(--ember-ink); box-shadow: inset 0 -2px 0 var(--ember); border-radius: 0; }
.nav a.nav-cta { background: var(--ink); color: var(--on-dark); padding: 9px 16px; margin-left: 8px; border-radius: var(--radius-control); }
.nav a.nav-cta:hover { background: var(--ember); color: #fff; }
.nav a.nav-cta[aria-current="page"] { box-shadow: none; background: var(--ember); color: #fff; }
.lang { display: inline-flex; margin-left: 12px; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 6px 10px; font-family: var(--font-mono); font-size: 13px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-control); padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--ink); }

@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px var(--pad) 24px; gap: 0; display: none;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ember); padding-left: 12px; }
  .nav a.nav-cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
  .lang { margin: 16px 0 0; align-self: flex-start; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.alt { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(30px, 4vw, 52px); max-width: 18ch; }
.sec-head p { color: var(--muted); max-width: 60ch; margin: 16px 0 0; }
.dark .sec-head p { color: var(--muted-dark); }
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 38%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(18,34,61,.88) 22%, rgba(18,34,61,.25) 60%, rgba(18,34,61,.1) 100%); }
.hero-media.is-product { background: #eeedeb; }
.hero-media.is-product img { object-fit: contain; object-position: 72% 55%; padding: 32px 0; }
.hero-media.is-product::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(18,34,61,.92) 14%, rgba(18,34,61,0) 42%); }
@media (max-width: 900px) { .hero-media.is-product { opacity: .3; } }
.hero-inner { position: relative; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(42px, 7vw, 96px); max-width: 11ch; letter-spacing: -0.035em; }
.hero .sub { font-size: clamp(18px, 1.6vw, 21px); color: #d7d1c8; max-width: 50ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-strip { position: relative; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip a { padding: 26px var(--pad) 30px 0; text-decoration: none; border-right: 1px solid var(--line-dark); padding-left: 24px; transition: background .15s; }
.hero-strip a:first-child { padding-left: 0; }
.hero-strip a:last-child { border-right: 0; }
.hero-strip a:hover { background: rgba(255,255,255,.03); }
.hero-strip .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8fd18b; display: block; margin-bottom: 6px; }
.hero-strip .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--on-dark); }
@media (max-width: 860px) {
  .hero-media { inset: 0; opacity: .45; }
  .hero-media::after { background: linear-gradient(180deg, rgba(18,34,61,.6), var(--ink)); }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip a, .hero-strip a:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

/* ---------- page header ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ember-ink); }
.page-head h1 { font-size: clamp(38px, 6vw, 78px); max-width: 16ch; }
.page-head .lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 58ch; margin: 22px 0 0; }

/* ---------- layers diagram ---------- */
.layers { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.layers figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.layers figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 14px; }
.legend { list-style: none; padding: 0; margin: 28px 0 32px; counter-reset: l; }
.legend li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.legend li:last-child { border-bottom: 1px solid var(--line); }
.legend .n { font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--ember-ink); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; } }
.dia { display: block; width: 100%; height: auto; max-height: 560px; }
.dia .face { fill: #d6b98f; }
.dia .core { fill: url(#mineral); }
.dia .rail { fill: url(#grain); }
.dia .frame { fill: #3b3f46; }
.dia .intu { fill: #d9480f; }
.dia .seal-base { fill: #1d1f22; }
.dia .brush { stroke: #1d1f22; stroke-width: 1.4; }
.dia .edge { fill: none; stroke: #2a2d31; stroke-width: 1.5; }
.dia .dim { stroke: var(--muted); stroke-width: 1; fill: none; }
.dia .dimt { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); }
.dia .mk circle { fill: var(--ember); }
.dia .mk text { font-family: var(--font-mono); font-size: 12px; font-weight: 500; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.dia .lead { stroke: var(--ember); stroke-width: 1.2; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s, transform .2s; }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .media { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img { transform: scale(1.03); }
.card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--ember-ink); }
.card.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.card.wide .media { aspect-ratio: auto; min-height: 320px; }
.card.wide .body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.card.wide h3 { font-size: clamp(26px, 3vw, 38px); }
@media (max-width: 760px) { .card.wide { grid-template-columns: 1fr; } .card.wide .media { min-height: 220px; } }
.ph { width: 100%; height: 100%; min-height: 180px; background-color: var(--paper-2); background-image: repeating-linear-gradient(135deg, transparent 0 10px, rgba(21,23,26,.05) 10px 11px); }

/* numbered service rows */
.rows-list { border-top: 1px solid var(--line); }
.dark .rows-list { border-color: var(--line-dark); }
.row-link { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding .2s, background .2s; }
.dark .row-link { border-color: var(--line-dark); }
.row-link:hover { padding-left: 12px; }
.row-link .n { font-family: var(--font-mono); font-size: 14px; color: var(--ember-ink); }
.dark .row-link .n { color: #8fd18b; }
.row-link h3 { font-size: clamp(21px, 2.2vw, 28px); }
.row-link p { margin: 0; color: var(--muted); font-size: 16px; }
.dark .row-link p { color: var(--muted-dark); }
.row-link .chev { font-size: 22px; text-align: right; transition: transform .2s; }
.row-link:hover .chev { transform: translateX(4px); color: #8fd18b; }
@media (max-width: 760px) { .row-link { grid-template-columns: 44px 1fr; } .row-link p { grid-column: 2; } .row-link .chev { display: none; } }

/* brand wordmarks */
.brand-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); min-height: 230px; text-decoration: none; color: inherit; }
.dark .brand-card { background: var(--ink-2); border-color: var(--line-dark); }
.brand-card .logo { height: 56px; display: flex; align-items: center; }
.brand-card .logo img { max-height: 56px; width: auto; }
.brand-card .word { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.01em; }
.brand-card p { margin: 0; color: var(--muted); font-size: 16px; }
.dark .brand-card p { color: var(--muted-dark); }
.brand-card .go { margin-top: auto; font-weight: 600; font-size: 15px; }
a.brand-card:hover { border-color: var(--ember); }

/* ---------- article / detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.detail-media { margin: 0 0 clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.detail-media img { width: 100%; height: auto; }
.prose { font-size: 18px; max-width: 70ch; }
.prose h3 { font-size: 26px; margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--ember); }
.prose strong { font-weight: 600; }
.prose a { color: var(--ember-ink); }
.prose figure { margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); padding: 12px; }
.prose img { width: 100%; height: auto; }
.prose video { display: block; width: 100%; height: auto; max-height: 72vh; background: #000; border-radius: calc(var(--radius-md) - 4px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 12px; font-size: .875rem; color: var(--muted, #5b6577); }
.prose blockquote { margin: 1.2em 0; padding: 16px 20px; border-left: 3px solid var(--ember); background: var(--white); font-weight: 500; }
.docs .doc-name { color: inherit; font-weight: 500; white-space: normal; }
/* represented-brand product */
.bp { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: 32px 0; border-top: 1px solid var(--line); }
.bp:first-of-type { border-top: 0; padding-top: 8px; }
.bp-media { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; align-self: start; }
.bp-media img { width: 100%; height: auto; }
.bp h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.bp .lede { color: var(--muted); }
@media (max-width: 700px) { .bp { grid-template-columns: 1fr; } }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--white); }
.aside-box h2 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li a { display: block; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.aside-box li:first-child a { border-top: 0; }
.aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--ember-ink); }
.aside-cta { background: var(--ink); color: var(--on-dark); border: 0; }
.aside-cta h2 { color: var(--muted-dark); }
.aside-cta p { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; }

/* ---------- tables ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 2px solid var(--ink); }
.spec tbody th { font-weight: 600; width: 30%; }
.spec .grp th { background: var(--ink); color: var(--on-dark); font-family: var(--font-display); font-size: 15px; letter-spacing: .01em; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.table-scroll .spec tr:last-child td, .table-scroll .spec tr:last-child th { border-bottom: 0; }

.docs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.docs li { display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.docs .tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ember-ink); }
.docs .soon { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.docs a { font-weight: 600; color: var(--ember-ink); text-decoration: none; white-space: nowrap; }
.docs a:hover { text-decoration: underline; }
@media (max-width: 560px) { .docs li { grid-template-columns: 1fr; gap: 4px; } }

/* report tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-control); cursor: pointer; font-weight: 500; font-size: 15px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tabs button:hover { border-color: var(--ink); }
.panel h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.panel .lede { color: var(--muted); margin-bottom: 28px; max-width: 60ch; }
.note { border-left: 3px solid var(--ember); background: var(--white); padding: 18px 20px; color: var(--muted); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 0; }

/* ---------- states ---------- */
.state { padding: 40px 0; color: var(--muted); font-family: var(--font-mono); font-size: 14px; }
.state.err { color: var(--destructive); font-family: var(--font-body); font-size: 16px; }
.state button { margin-left: 12px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 40px; text-align: center; color: var(--muted); background: var(--white); }
.is-dim { opacity: .55; transition: opacity .2s; }
.center { text-align: center; margin-top: 40px; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 60px); max-width: 16ch; }
.cta-band p { color: var(--muted-dark); max-width: 54ch; margin: 18px 0 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; }
.field label, .field .lbl { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .req { color: var(--ember-ink); font-weight: 500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--ember-soft); }
.field [aria-invalid="true"] { border-color: var(--destructive); }
.field .help { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.field .err { font-size: 14px; color: var(--destructive); margin: 6px 0 0; }
.field.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ember); }
.field.check label { font-weight: 400; margin: 0; }
.field.check .err { grid-column: 2; }
.form-error { color: var(--destructive); font-weight: 500; }
.thanks { border: 1px solid var(--line); border-left: 4px solid var(--ember); background: var(--white); padding: 28px; border-radius: var(--radius-md); font-size: 18px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.info-list .k { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: block; margin-bottom: 4px; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--ember-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.foot .brand { color: var(--on-dark); }
.foot p { color: var(--muted-dark); max-width: 40ch; margin-top: 18px; font-size: 15px; }
.foot h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot li { margin-bottom: 10px; break-inside: avoid; }
.foot a { text-decoration: none; color: var(--on-dark); font-size: 15px; }
.foot a:hover { color: #8fd18b; }
.foot .contact-lines li { columns: auto; }
.foot .contact-lines { columns: 1; }
.foot .contact-lines .co { font-weight: 600; font-size: 14px; color: var(--on-dark); }
.socials { display: flex; gap: 18px; margin-top: 18px; }
.socials a { font-family: var(--font-mono); font-size: 13px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); font-family: var(--font-mono); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; gap: 36px; } }

/* Content is visible by default; only items the observer reports off-screen are held back (.pre). */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.pre { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .reveal.pre { opacity: 1; transform: none; } .reveal { transition: none; } html { scroll-behavior: auto; } * { transition: none !important; } }