/* ---------- Tokens ---------- */
:root {
  --bg: #f7f4ee;          /* warm ivory page */
  --bg-2: #efe9de;        /* sand, alternate bands */
  --surface: #ffffff;
  --surface-2: #f4efe6;
  --line: #e4dccd;
  --line-strong: #d3c8b4;
  --text: #15191f;        /* ink */
  --muted: #5d6470;
  --brand: #0f4c45;       /* deep emerald */
  --brand-2: #16675d;
  --brand-tint: #e6efec;
  --gold: #c2a06a;        /* brass, decorative */
  --gold-ink: #8a6a35;    /* brass, readable text */
  --danger: #b42318;
  --ok: #157f4a;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(21, 25, 31, .04), 0 2px 8px -2px rgba(21, 25, 31, .06);
  --shadow-lg: 0 2px 4px rgba(21, 25, 31, .04), 0 24px 48px -20px rgba(21, 25, 31, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.grad { font-style: italic; color: var(--brand); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 20px -10px rgba(15, 76, 69, .7); }
.btn-primary:hover { background: var(--brand-2); box-shadow: 0 12px 28px -12px rgba(15, 76, 69, .8); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--surface); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); background: rgba(247, 244, 238, .82); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(21, 25, 31, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 1.22rem var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; flex: none; }
@media (max-width: 380px) { .site-header .logo { font-size: 1.05rem; gap: 10px; } .site-header .logo-mark { width: 32px; height: 32px; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-links a.nav-cta, .nav-links a.nav-cta[aria-current="page"] { margin-left: 10px; color: #fff; background: var(--brand); padding: 10px 20px; }
.nav-links a.nav-cta:hover { background: var(--brand-2); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 16px; display: none; }
  .nav-menu.open { display: block; animation: drop .2s ease-out; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links a.nav-cta { margin: 10px 0 0; width: 100%; padding: 14px 16px; text-align: center; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 116px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(15, 76, 69, .09), transparent); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto auto -35% -15%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; background: radial-gradient(closest-side, rgba(194, 160, 106, .16), transparent); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.fiber path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.fiber .base { stroke: var(--line-strong); }
.fiber .pulse { stroke-width: 2.6; filter: drop-shadow(0 0 3px rgba(194, 160, 106, .55)); stroke-dasharray: 60 600; animation: flow 4.5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -660; } }
.hero-badge { position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; font-size: .85rem; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); }
.hero-badge b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21, 127, 74, .15); }
.hb-1 { top: 8%; left: -4%; }
.hb-2 { bottom: 10%; right: -2%; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: center; max-width: 380px; }
  .hb-1 { left: 0; } .hb-2 { right: 0; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; padding: 20px 0; width: max-content; animation: marquee 45s linear infinite; }
.ticker-track span { font: italic 500 1.05rem var(--font-head); color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: "✦"; font-style: normal; color: var(--gold); font-size: .75rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { max-width: 460px; margin: 0; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(214px, auto); gap: 16px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s, box-shadow .25s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile .icon { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-tint); display: grid; place-items: center; color: var(--brand); }
.tile .icon svg { width: 28px; height: 28px; }
.tile h3 { margin: 0 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile .arrow { position: absolute; top: 26px; right: 26px; color: var(--line-strong); transition: transform .25s, color .25s; }
.tile:hover .arrow { transform: translate(3px, -3px); color: var(--brand); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; background: linear-gradient(165deg, var(--brand) 0%, #0b3a35 100%); border-color: transparent; color: #fff; }
.tile.tall .icon { background: rgba(255, 255, 255, .1); color: var(--gold); }
.tile.tall p { color: rgba(255, 255, 255, .72); }
.tile.tall .count { color: var(--gold); }
.tile.tall .arrow { color: rgba(255, 255, 255, .4); }
.tile.tall:hover .arrow { color: var(--gold); }
.tile.tall::after { content: ""; position: absolute; right: -60px; top: 40%; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(194, 160, 106, .35); box-shadow: 0 0 0 30px rgba(194, 160, 106, .05), 0 0 0 60px rgba(194, 160, 106, .04); pointer-events: none; }
.tile .count { font: 600 .72rem var(--font-body); color: var(--gold-ink); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.wide, .tile.tall { grid-column: auto; grid-row: auto; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: var(--surface); padding: 36px 30px; }
.stat b { display: block; font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-head); color: var(--brand); margin-bottom: 10px; }
.stat > span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Split / feature list */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-list .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: italic 500 1.05rem var(--font-head); border: 1px solid var(--gold); color: var(--gold-ink); }
.feature-list h4 { margin: 0 0 4px; font-size: 1.1rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 8px 0; border-top: 1px solid var(--line-strong); }
.step::before { counter-increment: step; content: "0" counter(step); font: italic 500 2rem var(--font-head); color: var(--gold); display: block; margin-bottom: 12px; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--brand); }
.step h4 { margin-bottom: 6px; font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { position: relative; border-radius: 28px; padding: 64px 56px; background: linear-gradient(120deg, var(--brand) 0%, #0b3a35 100%); color: #fff; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(194, 160, 106, .4); box-shadow: 0 0 0 40px rgba(194, 160, 106, .06), 0 0 0 80px rgba(194, 160, 106, .04); z-index: -1; }
.cta-band h2 { margin: 0; max-width: 620px; }
.cta-band .btn-primary { background: var(--gold); color: #1d1608; box-shadow: none; }
.cta-band .btn-primary:hover { background: #d1b07c; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* ---------- Page hero ---------- */
.page-hero { padding: 72px 0 40px; position: relative; }
.page-hero p { max-width: 640px; font-size: 1.1rem; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0 0 18px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Catalogue ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; }
.search input { width: 100%; height: 52px; padding: 0 16px 0 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 76, 69, .12); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.select { height: 52px; padding: 0 42px 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235d6470' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; appearance: none; cursor: pointer; box-shadow: var(--shadow-sm); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--muted); font-size: .9rem; transition: all .2s; min-height: 40px; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); font-weight: 600; }
.result-meta { color: var(--muted); font-size: .9rem; margin-bottom: 18px; min-height: 1.5em; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-art { aspect-ratio: 16 / 10; background: radial-gradient(circle at 70% 20%, #ffffff, var(--surface-2) 75%); border-bottom: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); position: relative; }
.card-art svg { width: 34%; height: auto; }
.card-tag { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font: 600 .66rem var(--font-body); padding: 6px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .1em; }
.card-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font: 600 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-ink); }
.card h3 { font-size: 1.2rem; margin: 0; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { padding: 10px 16px; min-height: 42px; font-size: .88rem; flex: 1; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: var(--surface); }
.empty h3 { color: var(--text); }

/* Modal */
dialog.modal { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); border: 1px solid var(--line); border-radius: 24px; padding: 0; background: var(--surface); color: var(--text); overflow: auto; box-shadow: 0 40px 80px -30px rgba(21, 25, 31, .45); }
dialog.modal::backdrop { background: rgba(21, 25, 31, .38); backdrop-filter: blur(6px); }
.modal-art { height: 200px; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, #ffffff, var(--surface-2) 75%); border-bottom: 1px solid var(--line); color: var(--brand); }
.modal-art svg { width: 100px; }
.modal-body { padding: 30px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.modal-close:hover { border-color: var(--brand); color: var(--brand); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 38%; padding-right: 16px; }

/* ---------- About ---------- */
.timeline { position: relative; display: grid; gap: 30px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--brand), var(--gold)); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand); }
.tl-item b { font: italic 500 1.1rem var(--font-head); color: var(--gold-ink); }
.tl-item h4 { margin: 4px 0; font-size: 1.15rem; }
.tl-item p { margin: 0; color: var(--muted); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.value { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value .icon { color: var(--brand); margin-bottom: 18px; }
.value .icon svg { width: 30px; height: 30px; }
.value p { margin: 0; color: var(--muted); }
.quote { font: italic 400 clamp(1.4rem, 2.8vw, 2rem)/1.35 var(--font-head); letter-spacing: -.01em; border-left: 2px solid var(--gold); padding-left: 26px; margin: 0; }
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cert { padding: 14px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: 600 .92rem var(--font-body); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); }
.cert svg { width: 18px; color: var(--brand); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 40px; box-shadow: var(--shadow-lg); }
@media (max-width: 600px) { .form-card { padding: 22px; } }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; }
.field label .req { color: var(--gold-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(15, 76, 69, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff8f7; }
.field .err { color: var(--danger); font-size: .85rem; margin-top: 6px; min-height: 0; }
.field .hint { color: var(--muted); font-size: .82rem; margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; min-height: 2.7em; }
.field .hint .err { margin-top: 0; flex: 1; }
.field .hint #msg-count { flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #fdf1ef; border: 1px solid #f1c4bd; color: #8f1d14; }
.success-panel { text-align: center; padding: 40px 10px; }
.success-panel .tick { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.success-panel code { font-family: ui-monospace, Consolas, monospace; background: var(--surface-2); padding: 4px 10px; border-radius: 8px; color: var(--brand); }
.aside-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 12px; color: var(--muted); }
.aside-list svg { width: 22px; flex: none; color: var(--brand); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 76px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h4 { font: 600 .74rem var(--font-body); text-transform: uppercase; letter-spacing: .18em; color: var(--gold-ink); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact { font-style: normal; color: var(--muted); line-height: 1.7; margin-top: 22px; }
.contact strong { color: var(--text); }
.contact a { color: var(--text); }
.site-footer ul a { text-decoration: none; color: var(--text); }
.site-footer ul a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.newsletter input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 76, 69, .12); }
.newsletter .btn { padding: 0 20px; min-height: 48px; }
.nl-msg { font-size: .85rem; margin-top: 10px; min-height: 1.3em; }
.nl-msg.ok { color: var(--ok); }
.nl-msg.bad { color: var(--danger); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.mii { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .8rem; }
.mii i { width: 18px; height: 12px; background: linear-gradient(#ff9933 33%, #fff 33% 66%, #138808 66%); border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
