/* ==========================================================================
   Clovalis — styles
   Minimal · Elegant · Technical
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --blue: #2563eb;
  --indigo: #5a5cf6;
  --violet: #a25bf4;
  --brand-gradient: linear-gradient(120deg, var(--blue) 0%, var(--indigo) 50%, var(--violet) 100%);

  --bg: #fbfbfd;
  --bg-elev: #ffffff;
  --bg-soft: #f3f3f7;
  --text: #1d1d1f;
  --text-muted: #5f5f6b;
  --text-faint: #8a8a96;
  --line: rgba(20, 20, 40, 0.09);
  --line-strong: rgba(20, 20, 40, 0.16);
  --accent: #4f46e5;
  --accent-text: #4338ca;
  --card-shadow: 0 1px 2px rgba(20, 20, 50, 0.04), 0 12px 32px -12px rgba(40, 40, 120, 0.12);
  --card-shadow-hover: 0 1px 2px rgba(20, 20, 50, 0.05), 0 24px 48px -16px rgba(70, 60, 200, 0.22);
  --orb-a: rgba(37, 99, 235, 0.22);
  --orb-b: rgba(162, 91, 244, 0.22);
  --grid-line: rgba(30, 30, 80, 0.06);
  --header-bg: rgba(251, 251, 253, 0.72);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI",
    "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display",
    "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(88px, 12vw, 152px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* Dark tokens — used when the system prefers dark (unless user picked light)… */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b10;
    --bg-elev: #14141c;
    --bg-soft: #111118;
    --text: #f5f5f7;
    --text-muted: #a1a1b0;
    --text-faint: #6f6f7e;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #8b8cff;
    --accent-text: #a5a6ff;
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --card-shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 56px -16px rgba(90, 92, 246, 0.35);
    --orb-a: rgba(37, 99, 235, 0.28);
    --orb-b: rgba(162, 91, 244, 0.26);
    --grid-line: rgba(255, 255, 255, 0.045);
    --header-bg: rgba(11, 11, 16, 0.68);
    color-scheme: dark;
  }
}
/* …or when the user explicitly picked dark. */
:root[data-theme="dark"] {
  --bg: #0b0b10;
  --bg-elev: #14141c;
  --bg-soft: #111118;
  --text: #f5f5f7;
  --text-muted: #a1a1b0;
  --text-faint: #6f6f7e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #8b8cff;
  --accent-text: #a5a6ff;
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --card-shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 56px -16px rgba(90, 92, 246, 0.35);
  --orb-a: rgba(37, 99, 235, 0.28);
  --orb-b: rgba(162, 91, 244, 0.26);
  --grid-line: rgba(255, 255, 255, 0.045);
  --header-bg: rgba(11, 11, 16, 0.68);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; color: inherit; }

::selection { background: rgba(90, 92, 246, 0.22); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(90deg); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--bg-soft);
}
.theme-toggle .icon {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle .icon .fill { fill: currentColor; stroke: none; }
.theme-toggle .icon-dark { fill: currentColor; stroke: none; }
:root:not([data-theme]) .icon-system,
:root[data-theme="light"] .icon-light,
:root[data-theme="dark"] .icon-dark {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-lg svg { width: 18px; height: 18px; }

.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  background-size: 140% 100%;
  background-position: 0% 0;
  box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 14px 32px -10px rgba(79, 70, 229, 0.65);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--line-strong);
}
.btn-ghost:hover svg { transform: translateY(2px); }
.btn-ghost svg { transition: transform 0.25s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 0 96px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.orb {
  position: absolute;
  width: min(620px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.orb-a {
  background: radial-gradient(circle, var(--orb-a), transparent 65%);
  top: -8%;
  left: 50%;
  transform: translateX(-85%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.orb-b {
  background: radial-gradient(circle, var(--orb-b), transparent 65%);
  top: 12%;
  left: 50%;
  transform: translateX(-15%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to { transform: translate(-70%, 8%) scale(1.08); }
}
@keyframes drift-b {
  to { transform: translate(-30%, -6%) scale(0.94); }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  width: 88px;
  height: 88px;
  margin-bottom: 36px;
  padding: 16px;
  border-radius: 26px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow), 0 0 0 8px color-mix(in srgb, var(--bg-elev) 40%, transparent);
}
.hero-mark svg {
  width: 100%;
  height: 100%;
  animation: spin-in 1.4s var(--ease) both;
}
@keyframes spin-in {
  from { transform: rotate(-90deg) scale(0.7); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 4px rgba(90, 92, 246, 0.14);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 18ch;
}

.hero-lede {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }

.section-kicker {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 600px;
}

/* ---------- Mission ---------- */
.mission {
  padding: var(--section-y) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.mission-sub {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 19px;
  color: var(--text-muted);
}

/* ---------- Focus cards ---------- */
.focus {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card::before {
  /* gradient hairline on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.12), rgba(162, 91, 244, 0.14));
}
.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon .fill { fill: currentColor; stroke: none; }
.card-icon .faint { fill: currentColor; fill-opacity: 0.12; }

.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-soft);
}

/* ---------- Principles ---------- */
.principles { padding: var(--section-y) 0; }

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.principle {
  display: flex;
  gap: 24px;
  padding: 36px 32px 40px 0;
  border-bottom: 1px solid var(--line);
}
.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.principle:nth-child(even) { padding-left: 32px; padding-right: 0; }
.principle-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding-top: 6px;
  color: var(--text-faint);
  min-width: 2ch;
}
.principle h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.principle p {
  margin-top: 8px;
  color: var(--text-muted);
  max-width: 420px;
}

/* ---------- Status ---------- */
.status { padding: 0 0 var(--section-y); }

.status-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(162, 91, 244, 0.1), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(37, 99, 235, 0.08), transparent 55%),
    var(--bg-elev);
  box-shadow: var(--card-shadow);
}
.status-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.status-copy p:last-child {
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 460px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--indigo), var(--line-strong) 40%);
}
.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
}
.timeline .dot {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--line-strong);
}
.timeline .is-active .dot {
  border: 0;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 5px rgba(90, 92, 246, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(90, 92, 246, 0.05); }
}
.timeline strong {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.timeline .is-active strong { color: var(--accent-text); }
.timeline li > span:last-child {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.timeline li:not(.is-active) > span:last-child { color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact {
  padding: var(--section-y) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: min(900px, 120vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90, 92, 246, 0.14), transparent);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.contact-lede {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 19px;
  color: var(--text-muted);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.contact-note {
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--text-faint);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.brand-sm { font-size: 15px; color: var(--text); gap: 8px; }
.brand-sm .brand-mark { width: 20px; height: 20px; }
.footer-privacy { flex: 1; min-width: 240px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .status-panel { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-links a { padding: 8px 10px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px 26px; }
  .principle-list { grid-template-columns: 1fr; }
  .principle,
  .principle:nth-child(even) { padding: 28px 0 30px; border-right: 0; }
  .principle:nth-child(odd) { border-right: 0; }
  .section-lede, .mission-sub, .contact-lede { font-size: 17px; }
  .hero-mark { width: 72px; height: 72px; padding: 13px; border-radius: 22px; margin-bottom: 28px; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  .theme-toggle { margin-left: auto; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .btn-lg { font-size: 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion & print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-bg, .toast, .theme-toggle { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  .js .reveal { opacity: 1; transform: none; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
