/* ============================================================
   LemuriaAI — Shared Stylesheet
   "Midnight Electric" dark theme
   Near-black bg · electric blue → cyan accent
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --navy:       #3b82f6;   /* electric blue — primary fill / brand "Lemuria" */
  --navy-deep:  #f2f6fd;   /* near-white — headings */
  --sky:        #38bdf8;   /* bright sky — accent / brand "AI" */
  --sky-light:  #7dd3fc;   /* lighter accent / tagline */
  --sky-deep:   #22d3ee;   /* cyan — eyebrows / highlights */

  --bg:         #0b0f1a;   /* page background (midnight) */
  --bg-soft:    #0f1524;   /* tinted sections / inputs */
  --surface:    #141a2b;   /* cards */
  --line:       rgba(255,255,255,0.09);  /* hairline borders */

  --text:       #e8edf7;   /* primary text */
  --muted:      #9aa6bd;   /* secondary text */
  --muted-soft: #6b7689;   /* tertiary text */

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --shadow: 0 28px 70px -28px rgba(0,0,0,0.75);
  --shadow-sm: 0 12px 34px -18px rgba(0,0,0,0.6);

  --grad: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);

  --serif: "Space Grotesk", "Inter", -apple-system, sans-serif;  /* display / headings */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

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

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section--soft { background: var(--bg-soft); }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.07; letter-spacing: -0.025em; color: var(--navy-deep); }
.display { font-size: clamp(2.75rem, 6.5vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p  { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--text); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 1.1rem;
  display: inline-block;
}
.text-accent { color: var(--sky-deep); }
.serif-em {
  font-family: var(--serif); font-style: normal; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--sky);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 12px 30px -10px rgba(59,130,246,0.55); }
.btn--primary:hover { background: var(--sky-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sky); color: var(--sky-deep); }
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,15,26,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(9,12,20,0.9); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* Brand / logo lockup */
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { height: 46px; width: auto; flex: none; display: block; }
.brand__mark img { height: 100%; width: auto; display: block; }
/* Wordmark is now baked into logo-mark.png (lockup image), so the HTML text spans are hidden site-wide. */
.brand__text { display: none; }
.brand__name { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.brand__name b { color: var(--sky); font-weight: 700; }
.brand__tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-light); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--muted); position: relative; padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sky); border-radius: 2px; transition: width 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; }
.nav__cta a::after { display: none; }

/* Mobile toggle */
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { top: 21px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 80px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform 0.45s var(--ease);
    height: calc(100vh - 80px);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding-block: 1rem; font-size: 1.3rem; font-family: var(--serif); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 1.5rem 0 0; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-block: clamp(5rem, 12vw, 9rem); overflow: hidden; }
.hero--compact-bottom { padding-bottom: clamp(0.25rem, 1vw, 1rem); }
.hero--compact-top    { padding-top:    clamp(2rem, 4.5vw, 4rem); }
.hero--bottom-only    { padding-top:    clamp(0.5rem, 1.5vw, 1.25rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--bottom-only .hero__actions { margin-top: 0; }
.section--tight-top { padding-top: clamp(0.75rem, 2.5vw, 1.5rem); }

/* ============================================================
   Prose wrapper (legal / long-form content, e.g. privacy.html)
   ============================================================ */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 {
  font-family: var(--serif); font-weight: 600; color: var(--navy-deep);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin-top: 2.5rem; margin-bottom: 0.15rem; letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--serif); font-weight: 600; color: var(--sky);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  margin-top: 1.6rem; margin-bottom: 0.1rem;
}
.prose p { color: var(--text); line-height: 1.75; margin-top: 0; margin-bottom: 1rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0.1rem; }
.prose a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--sky-light); }
.prose strong { color: var(--navy-deep); font-weight: 600; }
.prose code {
  font-family: Consolas, "SF Mono", Menlo, monospace;
  background: var(--surface); padding: 0.1rem 0.4rem; border-radius: 4px;
  color: var(--sky-light); font-size: 0.92em;
}
.prose ul.tick-list { margin: 1.25rem 0 1.5rem; }
.prose ul.tick-list li { color: var(--text); line-height: 1.6; }

/* ============================================================
   Cookie consent banner
   Bottom-fixed, dismissible, remembers acknowledgment in localStorage
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(15, 21, 36, 0.96);
  border-top: 1px solid rgba(56,189,248,0.32);
  backdrop-filter: blur(12px);
  padding: 1.1rem var(--gutter);
  transform: translateY(0);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  box-shadow: 0 -12px 40px -18px rgba(0,0,0,0.7);
}
.cookie-banner--dismissed { transform: translateY(100%); opacity: 0; }
.cookie-banner__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner__msg {
  flex: 1; min-width: 260px; margin: 0;
  font-size: 0.92rem; line-height: 1.55; color: var(--text);
}
.cookie-banner__msg strong { color: var(--sky); font-weight: 600; }
.cookie-banner__msg a {
  color: var(--sky); text-decoration: underline; text-underline-offset: 2px;
}
.cookie-banner__msg a:hover { color: var(--sky-light); }
.cookie-banner__ok {
  padding: 0.6rem 1.6rem !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .cookie-banner__inner { gap: 0.9rem; }
  .cookie-banner__msg { font-size: 0.86rem; }
}

/* Hero with background photo (home page) — image sits behind a dark
   gradient overlay so the headline and tick-list stay legible. */
.hero--photo {
  background-image: url('../assets/hero.jpg?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11,15,26,0.72) 0%, rgba(11,15,26,0.88) 100%);
  pointer-events: none;
}
.hero--photo .hero__glow,
.hero--photo .container { position: relative; z-index: 1; }
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 55% at 12% 0%, rgba(59,130,246,0.30), transparent 70%),
    radial-gradient(50% 55% at 92% 8%, rgba(34,211,238,0.22), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { max-width: 880px; }
.hero p.lead { margin-top: 1.6rem; max-width: 620px; }
.hero__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Rotating word in the hero headline */
.rotator { display: inline-block; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.rotator.is-fading { opacity: 0; transform: translateY(8px); }

.hero__stats {
  margin-top: 4.5rem; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line); padding-top: 2.5rem;
}
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy); }
.stat__label { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 620px){ .hero__stats { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ============================================================
   Generic sections
   ============================================================ */
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

/* Feature / card grid */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px){ .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.1rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,0.55); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.4rem;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 12px 26px -10px rgba(34,211,238,0.45);
}
.card h3 { margin-bottom: 0.7rem; }
.card__num { font-family: var(--serif); font-size: 1rem; color: var(--sky-deep); letter-spacing: 0.1em; font-weight: 600; }

/* Clickable card */
.card--link { display: block; color: inherit; cursor: pointer; }
.card--link .card__num { display: block; margin-bottom: 0.6rem; }
.card__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.4rem; font-size: 0.9rem; font-weight: 600; color: var(--sky-deep);
  transition: gap 0.35s var(--ease);
}
.card__cta .btn__arrow { transition: transform 0.35s var(--ease); }
/* Pronounced hover / focus state so it's obviously interactive */
.card--link:hover, .card--link:focus-visible {
  transform: translateY(-8px);
  border-color: var(--sky);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  outline: none;
}
.card--link:hover .card__cta, .card--link:focus-visible .card__cta { color: var(--navy); }
.card--link:hover .card__cta .btn__arrow, .card--link:focus-visible .card__cta .btn__arrow { transform: translateX(5px); }

/* Split / alternating layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/3; position: relative;
  background: linear-gradient(150deg, #141a2b, #0c111d);
  box-shadow: var(--shadow-sm);
}
.split__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 25% 20%, rgba(59,130,246,0.35), transparent 60%),
              radial-gradient(60% 60% at 85% 90%, rgba(34,211,238,0.28), transparent 60%);
}
/* When a media slot holds an illustration, show the image and drop the gradient wash */
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media.has-img { background: #0f1524; }
.split__media.has-img::after { display: none; }

/* Bulleted value lists */
.tick-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.tick-list li { display: flex; gap: 0.85rem; color: var(--text); }
.tick-list svg { flex: none; color: var(--sky); margin-top: 4px; }

/* ============================================================
   Industry banner — continuous-scroll strip
   ============================================================ */
.industry-banner {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.industry-banner::before, .industry-banner::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.industry-banner::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.industry-banner::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.industry-banner__viewport { overflow: hidden; }
.industry-banner__track {
  display: flex; gap: 1.25rem;
  width: max-content;
  animation: industryScroll 80s linear infinite;
}
.industry-banner:hover .industry-banner__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .industry-banner__track { animation: none; flex-wrap: wrap; justify-content: center; }
}
@keyframes industryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.industry-card {
  position: relative; flex: 0 0 320px; height: 200px;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  text-decoration: none;
  isolation: isolate;
}
.industry-card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,0.5); }
.industry-card__image {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-color: #0f1524;
  transition: transform 0.6s var(--ease), filter 0.35s var(--ease);
  filter: saturate(1.05) brightness(0.85);
}
.industry-card:hover .industry-card__image { transform: scale(1.05); filter: saturate(1.15) brightness(1); }
.industry-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.1rem 1.2rem 0.95rem;
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--text);
  background: linear-gradient(0deg, rgba(11,15,26,0.92) 0%, rgba(11,15,26,0.55) 60%, transparent 100%);
}
/* Small cyan dot before label for brand-mark accent */
.industry-card__label::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); margin-right: 0.55rem;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .industry-card { flex: 0 0 260px; height: 170px; }
  .industry-card__label { font-size: 0.92rem; }
  .industry-banner::before, .industry-banner::after { width: 50px; }
}

/* Hero application list — 2-column compact grid */
.hero__apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2rem;
  margin-top: 2rem;
  margin-bottom: 0;
  max-width: 660px;
  font-size: 1.02rem;
}
@media (max-width: 620px) {
  .hero__apps { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--grad); position: relative; overflow: hidden; }
.cta-band h2, .cta-band .eyebrow, .cta-band .lead { color: #fff; }
.cta-band .eyebrow { opacity: 0.85; }
.cta-band .lead { opacity: 0.92; }
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band .hero__actions { justify-content: center; }
.cta-band .btn--primary { background: #0b0f1a; color: #fff; }
.cta-band .btn--primary:hover { background: #ffffff; color: #0b0f1a; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }

.info-block { display: grid; gap: 1.8rem; margin-top: 2.5rem; }
.info-item { display: flex; gap: 1rem; }
.info-item__icon { color: var(--sky-deep); flex: none; margin-top: 3px; }
.info-item h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.info-item p { color: var(--text); }

.form { display: grid; gap: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.5rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 520px){ .field--row { grid-template-columns: 1fr; } }
.field label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; font-weight: 500; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.9rem 1rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sky); background: #131b2e;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.22);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.85rem; color: var(--muted-soft); }
.form__success {
  display: none; padding: 1rem 1.2rem; border-radius: 10px;
  background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.4);
  color: var(--text); font-size: 0.95rem; font-weight: 500;
}
.form__success.is-visible { display: block; }
.form__error {
  display: none; padding: 1rem 1.2rem; border-radius: 10px;
  background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.4);
  color: var(--text); font-size: 0.95rem; font-weight: 500;
}
.form__error.is-visible { display: block; }
/* Honeypot field: visually removed, still present for bots that fill every input */
.field--hp {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer p { font-size: 0.95rem; max-width: 320px; margin-top: 1rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted); padding-block: 0.4rem; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--sky-deep); }
/* Keep the footer logo lockup horizontal (override the generic .footer-col a rule) */
.footer-col .brand { display: flex; padding-block: 0; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted-soft);
}

/* ============================================================
   Reveal-on-scroll animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Interaction overrides
   Declared AFTER .reveal so hover/focus transforms win on
   source order (otherwise ".reveal.is-visible { transform:none }"
   cancels the hover lift on cards that also use scroll-reveal).
   ============================================================ */
.card {
  transition: opacity 0.6s var(--ease), transform 0.4s var(--ease),
              border-color 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.6);
  box-shadow: var(--shadow);
}
.card--link:hover,
.card--link:focus-visible {
  transform: translateY(-8px);
  border-color: var(--sky);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  outline: none;
}
.card--link:hover .card__cta .btn__arrow,
.card--link:focus-visible .card__cta .btn__arrow { transform: translateX(5px); }
