/* ==========================================================================
   CaliTex Technologies — main stylesheet
   Palette tokens are at the top; everything else uses them.
   ========================================================================== */

/* Palette: Navy & Copper (default) */
:root {
  --ink-900: #0f1e2e;      /* dark sections, headings */
  --ink-800: #182b3f;
  --ink-700: #2a3f55;
  --accent: #b14d1c;       /* buttons, links, highlights */
  --accent-dark: #8c3c15;
  --accent-on-dark: #f0a47a;
  --accent-tint: #f8ece4;
  --surface-alt: #f6f4f0;
  --line: #e2ddd5;
}
/* Alternative palettes (set data-palette on <html> to preview) */
:root[data-palette="teal"] {
  --ink-900: #121a21; --ink-800: #1b2630; --ink-700: #2c3a46;
  --accent: #0f6b63; --accent-dark: #0b524c; --accent-on-dark: #6cc9bd; --accent-tint: #e6f2f0;
  --surface-alt: #f3f6f6; --line: #dbe3e3;
}
:root[data-palette="cobalt"] {
  --ink-900: #0b1b33; --ink-800: #13284a; --ink-700: #233c63;
  --accent: #1f4fd1; --accent-dark: #183da3; --accent-on-dark: #93b2ff; --accent-tint: #e9effc;
  --surface-alt: #f4f6fa; --line: #dde3ec;
}

:root {
  --ink: var(--ink-900);
  --ink-soft: #3a4654;
  --muted: #5f6b78;
  --surface: #ffffff;

  --radius-sm: 2px;
  --radius: 4px;
  --container: 1200px;
  --header-h: 76px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: #fff; color: var(--ink); padding: 10px 16px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.4em; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 4px 12px -8px rgba(15, 30, 46, .25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none !important; }
.brand-logo { height: 58px; width: auto; }
.site-footer .brand-logo { height: 62px; }
@media (max-width: 480px) { .brand-logo { height: 50px; } }

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; height: var(--header-h);
  font: inherit; font-size: .95rem; font-weight: 500;
  color: var(--ink); background: none; border: 0; cursor: pointer;
  text-decoration: none !important;
  box-shadow: inset 0 -2px 0 transparent;
  transition: box-shadow .15s, color .15s;
}
.nav-link:hover, .nav-toggle:hover, .nav-item.open > .nav-toggle { color: var(--accent); }
.nav-link[aria-current="page"], .nav-item.active > .nav-toggle { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open > .nav-toggle .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent);
  box-shadow: 0 16px 32px -16px rgba(15, 30, 46, .3);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item.open > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.dropdown.mega { min-width: 660px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 18px 12px; }
.dropdown-group-title {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 4px 12px 10px; margin: 0 0 4px; border-bottom: 1px solid var(--line);
}
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dd-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; color: var(--ink);
  text-decoration: none !important;
  transition: background .12s;
}
.dd-link:hover, .dd-link:focus-visible { background: var(--surface-alt); }
.dd-link:hover .dd-title { color: var(--accent); }
.dd-link[aria-current="page"] .dd-title { color: var(--accent); }
.dd-icon { flex: none; width: 26px; height: 26px; margin-top: 0; color: var(--ink); }
.dd-icon svg { width: 26px; height: 26px; }
.dd-title { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.dd-desc { display: block; font-size: .83rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.nav-cta { margin-left: 12px; }
.menu-btn {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
body.nav-open .menu-btn .icon-close { display: block; }
body.nav-open .menu-btn .icon-open { display: none; }

@media (hover: hover) and (min-width: 1081px) {
  .nav-item.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-item.has-dropdown:hover > .nav-toggle { color: var(--accent); }
  .nav-item.has-dropdown:hover > .nav-toggle .chev { transform: rotate(180deg); }
}
@media (min-width: 1081px) {
  .nav-item:nth-last-child(1) > .dropdown, .nav-item:nth-last-child(2) > .dropdown { left: auto; right: 0; }
  .nav-item:nth-child(2) > .dropdown.mega { left: -120px; }
}

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
    visibility: hidden;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-toggle { width: 100%; height: auto; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; box-shadow: none !important; }
  .dropdown, .dropdown.mega {
    position: static; transform: none !important; min-width: 0;
    box-shadow: none; border: 0; padding: 0 0 12px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-item.open > .dropdown { display: block; }
  .dropdown-group-title { padding: 12px 4px 6px; border: 0; }
  .dd-link { padding: 10px 4px; }
  .dd-desc { display: none; }
  .nav-cta { margin: 24px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #c9d2dc;
  padding: 96px 0 104px;
  border-bottom: 4px solid var(--accent);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero-lead { font-size: 1.15rem; max-width: 58ch; color: #c9d2dc; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow .dot { display: none; }
.hero .eyebrow, .section.dark .eyebrow, .panel .eyebrow { color: var(--accent-on-dark); }

.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.16);
  background: var(--ink-800);
  padding: 28px 28px 8px;
}
.hero-panel .panel-label {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-on-dark); margin: 0 0 8px;
}
.hero-panel dl { margin: 0; }
.hero-panel dl > div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-panel dl > div:first-child { border-top: 0; }
.hero-panel dt { font-size: .8rem; color: #8d9aa8; margin-bottom: 2px; }
.hero-panel dd { margin: 0; color: #fff; font-weight: 500; font-size: 1rem; }

@media (max-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Page hero (inner pages) — light */
.page-hero { background: var(--surface-alt); color: var(--ink-soft); padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); max-width: 24ch; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .hero-lead { color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .btn-outline { border-color: var(--ink); color: var(--ink); }
.page-hero .btn-outline:hover { background: var(--ink); color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0 0 28px; list-style: none; padding: 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a7b0ba; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--surface-alt); }
.section.dark { background: var(--ink-900); color: #c9d2dc; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section.dark .section-head p { color: #9eabb8; }

.grid { display: grid; gap: 40px 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } body { font-size: 16px; } }

/* ---------- Cards: ruled columns, not floating boxes ---------- */
.card {
  position: relative;
  background: transparent;
  border-top: 2px solid var(--ink);
  padding: 24px 0 0;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none !important; transition: border-color .15s; }
a.card:hover { border-top-color: var(--accent); }
a.card:hover h3 { color: var(--accent); }
/* Icons (custom set, tools/icons.py): ink line + one accent detail */
.ico .a { fill: var(--accent); stroke: none; }
.ico .as { fill: var(--accent); }
.section.dark .ico .a, .section.dark .ico .as, .panel .ico .a, .panel .ico .as { fill: var(--accent-on-dark); }
.card .icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--ink); }
.card .icon svg { width: 40px; height: 40px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--accent); }
.card .more svg { width: 15px; height: 15px; transition: transform .15s; }
a.card:hover .more svg { transform: translateX(3px); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: .94rem; color: var(--ink-soft); }
.card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 2px; background: var(--accent); }
.section.dark .card { border-top-color: rgba(255,255,255,.5); }
.section.dark .card p { color: #9eabb8; }
.section.dark .card .icon { color: #fff; }

/* Cloud provider cards */
.provider { display: flex; flex-direction: column; gap: 4px; }
.provider .badge-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.provider .logo-dot {
  min-width: 44px; height: 30px; padding: 0 8px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 500; font-size: .8rem;
  color: var(--ink); border: 1px solid var(--ink);
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--ink); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 14px;
  font-family: var(--font-mono); font-weight: 500; font-size: .95rem; color: var(--accent);
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .97rem; }
.section.dark .step { border-top-color: rgba(255,255,255,.5); }
.section.dark .step::before { color: var(--accent-on-dark); }
.section.dark .step p { color: #9eabb8; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  padding: 7px 14px; font-size: .9rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.tech-note { font-size: .8rem; color: var(--muted); margin-top: 18px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.check-list .ck { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.check-list .ck svg { width: 18px; height: 18px; }
.check-list strong { color: var(--ink); display: block; }
.section.dark .check-list li { border-top-color: rgba(255,255,255,.12); }
.section.dark .check-list strong { color: #fff; }
.section.dark .check-list .ck { color: var(--accent-on-dark); }

.panel { padding: 36px; background: var(--ink-900); color: #c9d2dc; border-top: 4px solid var(--accent); }
.panel h3 { color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 20px; }
.stat { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.stat:nth-child(odd) { padding-right: 16px; }
.stat strong { display: block; color: #fff; font-size: 1.1rem; font-weight: 600; }
.stat span { font-size: .87rem; color: #9eabb8; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.logo-strip span { font-weight: 600; font-size: 1.15rem; color: #9eabb8; }

/* Certifications */
.cert-strip { padding: 28px 0; border-bottom: 1px solid var(--line); background: #fff; }
.cert-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.cert-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cert-strip .logo-strip span { color: var(--ink); font-size: 1.05rem; }
.cert-strip .logo-strip .cert-more { font-weight: 400; font-size: .92rem; color: var(--muted); }
.cert-box { margin-top: 40px; padding: 24px 28px; background: var(--surface-alt); border-left: 3px solid var(--accent); }
.cert-box h3 { margin-bottom: .2em; }
.cert-box p { color: var(--muted); margin-bottom: 14px; }
.cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cert-list li { display: flex; align-items: baseline; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.cert-list li svg { width: 14px; height: 14px; color: var(--accent); align-self: center; }
.cert-list li span { font-weight: 400; color: var(--muted); font-size: .88rem; }

/* Founders */
.founder { display: flex; flex-direction: column; }
.founder .avatar {
  width: 72px; height: 72px; object-fit: cover; margin-bottom: 18px;
  background: var(--ink-900); color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 1.7rem;
}
.founder h3 { margin-bottom: 2px; font-size: 1.35rem; }
.founder-role { color: var(--accent) !important; font-weight: 500; font-size: .9rem !important; margin-bottom: 14px !important; }
.founder p { margin-bottom: .8em; }
.card .tags.small { margin-top: auto; padding-top: 8px; gap: 6px; }
.card .tags.small li { padding: 4px 10px; margin: 0; font-size: .8rem; background: #fff; color: var(--ink-soft); }
.card .tags.small li::before { content: none; }

/* CTA band */
.cta-band {
  padding: 56px 60px;
  background: var(--ink-900); color: #c9d2dc;
  border-left: 6px solid var(--accent);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-band .btn-white { background: var(--accent); color: #fff; }
.cta-band .btn-white:hover { background: var(--accent-dark); }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > .card { border-top: 2px solid var(--ink); padding: 28px 0 0 !important; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 12px; border-radius: var(--radius-sm); border: 1px solid #c3c9d0; background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
@media (max-width: 640px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-grid label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin: 0; }
.checkbox-grid input { width: 17px; height: 17px; accent-color: var(--accent); }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #ecf6ef; color: #1d5b33; border-left: 3px solid #2f8a50; }
.form-status.err { background: #fbeeee; color: #8a1f1f; border-left: 3px solid #b42318; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 0 !important; border-top: 1px solid var(--line) !important; }
.info-card .icon { margin: 0; flex: none; width: 28px; height: 28px; }
.info-card .icon svg { width: 28px; height: 28px; }
.info-card h3 { font-size: .95rem; margin-bottom: 2px; }
.info-card p, .info-card a { font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #9eabb8; padding: 72px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #b7c2cd; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-on-dark); }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem;
}

/* ---------- Reveal on scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.placeholder-note { background: #fff8e6; border: 1px dashed #d29a1f; color: #7a5410; padding: 2px 8px; font-size: .85em; }
