/* RASSU-MANHE Technology Solutions — shared stylesheet
   Colors are drawn from the company logo. */
:root {
  --navy: #1d2b40;          /* body text, headings */
  --navy-soft: #2b3d55;     /* logo navy */
  --muted: #4a5870;         /* secondary text (≥ 7:1 on --surface) */
  --surface: #fffdf9;       /* warm white page */
  --surface-alt: #fbf5ee;   /* warm band */
  --card: #ffffff;
  --line: #ebe2d6;
  --orange: #f7931e;        /* decorative only */
  --pink: #d81b60;          /* decorative only */
  --accent: #b0154f;        /* link/accent text, ≈ 7:1 on white */
  --accent-hover: #8c0f3e;
  --focus: #1d4ed8;
  --radius: 12px;
  --measure: 68ch;
  --wrap: 72rem;
  --gradient: linear-gradient(90deg, var(--orange), var(--pink));
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--navy);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; z-index: 200; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-header::before { content: ""; display: block; height: 4px; background: var(--gradient); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy-soft);
  min-height: 44px;
}
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; }
.brand-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.brand:hover { color: var(--navy); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { background: var(--surface-alt); color: var(--navy); }
.site-nav a[aria-current] {
  color: var(--accent);
  background: var(--surface-alt);
  border-bottom-color: var(--accent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Sections */
.section { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.page-intro { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-intro .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); }
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); }
.hero-line { display: block; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; max-width: 480px; margin-inline: auto; }
.tagline {
  font-weight: 600;
  color: var(--navy-soft);
  border-left: 4px solid var(--orange);
  padding-left: 0.85rem;
  margin-block: 1.25rem 1.75rem;
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
}
.button:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: var(--navy); color: #fff; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient);
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; font-weight: 700; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #fde8ef;
  color: var(--accent-hover);
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* Services page */
.service-list { display: grid; gap: 1.25rem; }
.service {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.service-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
}
.service h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service p { color: var(--muted); margin-bottom: 0; }

/* Feature list (product pages) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.feature-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}
.feature-list strong { display: block; margin-bottom: 0.25rem; }
.feature-list span { color: var(--muted); }

.note {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: var(--measure);
}
.note p:last-child { margin-bottom: 0; }

/* Product demo video */
.demo { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-2, 0 10px 30px rgba(29, 43, 64, 0.15));
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { margin-top: 1rem; font-weight: 700; }
.video-fallback a { display: inline-flex; align-items: center; min-height: 44px; }

/* Books */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.book-topics p { color: var(--muted); }
.book-topics a { white-space: nowrap; }
.book-group { margin-top: 2.5rem; scroll-margin-top: 1rem; }
.book-group:first-of-type { margin-top: 1rem; }
.book-group > h2 { padding-bottom: 0.5rem; border-bottom: 2px solid var(--line); margin-bottom: 1.25rem; }
.book-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.book {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.book-cover {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(29, 43, 64, 0.12), 0 6px 16px rgba(29, 43, 64, 0.12);
}
.book-body h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.book-subtitle { color: var(--muted); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.85rem; }
.book-body > p, .book-body details { max-width: var(--measure); }
.book details { margin: 0 0 1rem; }
.book summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
  min-height: 44px;
  display: flex;
  align-items: center;
  width: fit-content;
}
.book summary:hover { color: var(--accent-hover); }
.book summary::-webkit-details-marker { display: none; }
.book summary::before {
  content: "";
  width: 0.5em; height: 0.5em;
  margin-right: 0.6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.book details[open] summary::before { transform: rotate(45deg); }
.book details[open] summary { margin-bottom: 0.5rem; }
.book details p, .book details li { color: var(--muted); }
.book details ul { margin: 0 0 1rem; padding-left: 1.25rem; max-width: var(--measure); }
.book details li { margin-bottom: 0.3rem; }
.book-actions { margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.mission {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  border-left: 4px solid var(--pink);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
  max-width: var(--measure);
}

/* CTA band */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: 0.35rem; }
.cta-band p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #e7ebf2;
  padding-block: 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd2e1; }
.site-footer :focus-visible { outline-color: #ffd2e1; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer-inner p { margin: 0; }
.footer-name { font-weight: 700; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 404 */
.not-found { text-align: left; }

/* Small screens */
@media (max-width: 52rem) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 320px; margin-inline: 0; }
  .about-grid figure img { max-width: 320px; }
}
@media (max-width: 40rem) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .site-nav ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
  .site-nav a { justify-content: center; text-align: center; padding: 0.4rem 0.3rem; font-size: 0.92rem; line-height: 1.2; background: var(--surface-alt); }
  .book { grid-template-columns: 1fr; padding: 1.25rem; }
  .book-cover { max-width: 9rem; }
  .service { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .site-nav a { transition: background-color 0.15s ease, color 0.15s ease; }
}

/* ===== Depth / 3D treatment ===== */
:root {
  --shadow-1: 0 1px 1px rgba(29, 43, 64, 0.04), 0 2px 4px rgba(29, 43, 64, 0.05), 0 8px 18px rgba(29, 43, 64, 0.07);
  --shadow-2: 0 2px 2px rgba(29, 43, 64, 0.05), 0 10px 20px rgba(29, 43, 64, 0.09), 0 28px 48px rgba(29, 43, 64, 0.13);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-header {
  z-index: 10;
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(29, 43, 64, 0.06);
}

/* Hero: ambient glow + receding grid floor */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before,
.hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.hero::before {
  inset: 0;
  background:
    radial-gradient(38rem 28rem at 82% 35%, rgba(247, 147, 30, 0.16), transparent 62%),
    radial-gradient(30rem 24rem at 68% 78%, rgba(216, 27, 96, 0.10), transparent 62%),
    radial-gradient(40rem 30rem at 0% 0%, rgba(43, 61, 85, 0.05), transparent 60%);
}
.hero::after {
  left: -30%;
  right: -30%;
  bottom: -2px;
  height: 110%;
  background-image:
    linear-gradient(rgba(43, 61, 85, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 61, 85, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(58deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
}

/* Hero logo: angled, floating above a ground shadow */
.hero-figure { position: relative; perspective: 1200px; padding-bottom: 2.25rem; }
.hero-figure img {
  transform: rotateY(-12deg) rotateX(5deg);
  transform-origin: 50% 60%;
  filter:
    drop-shadow(0 1px 1px rgba(29, 43, 64, 0.12))
    drop-shadow(0 8px 10px rgba(29, 43, 64, 0.13))
    drop-shadow(0 22px 22px rgba(216, 27, 96, 0.08));
}
.hero-figure::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0.25rem;
  height: 1.5rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 43, 64, 0.26), rgba(29, 43, 64, 0.08) 60%, transparent);
}

/* Elevated surfaces */
.card,
.service,
.book,
.note,
.feature-list li {
  background-image: linear-gradient(180deg, #ffffff 0%, #fffbf6 100%);
  box-shadow: var(--highlight), var(--shadow-1);
}
.card { border-color: rgba(235, 226, 214, 0.8); }

/* Buttons with depth */
.button {
  background-image: linear-gradient(180deg, #34486a 0%, var(--navy) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px rgba(29, 43, 64, 0.30),
    0 6px 14px rgba(29, 43, 64, 0.22);
}
.button:hover { background-image: linear-gradient(180deg, #3d5378 0%, var(--navy-soft) 100%); }
.button-secondary {
  background-color: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f6f1ea 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(29, 43, 64, 0.14), 0 6px 14px rgba(29, 43, 64, 0.10);
}
.button-secondary:hover { background-image: none; }
.button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(29, 43, 64, 0.2); }

/* Spherical service numbers */
.service-num {
  background: radial-gradient(circle at 32% 28%, #ffc98a 0%, var(--orange) 38%, var(--pink) 100%);
  box-shadow: inset -3px -4px 8px rgba(120, 10, 50, 0.25), 0 6px 12px rgba(216, 27, 96, 0.28);
  text-shadow: 0 1px 2px rgba(120, 10, 50, 0.45);
}

/* Cards with a photo banner */
.media-card { overflow: hidden; }
.media-card::before { z-index: 1; }
.card-media {
  width: calc(100% + 3rem);
  max-width: none;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

/* Motion (only when the visitor allows it) */
@media (prefers-reduced-motion: no-preference) {
  .card, .button { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease, color 0.15s ease; }
  .card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--highlight), var(--shadow-2); }
  .card-media { transition: transform 0.4s ease; }
  .media-card:hover .card-media, .media-card:focus-within .card-media { transform: scale(1.04); }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(1px); }

  .hero-figure img { animation: hero-float 7s ease-in-out infinite; }
  .hero-figure::after { animation: hero-shadow 7s ease-in-out infinite; }
  .hero-figure:hover img { animation-play-state: paused; }
}
@keyframes hero-float {
  0%, 100% { transform: rotateY(-12deg) rotateX(5deg) translateY(0); }
  50%      { transform: rotateY(-8deg) rotateX(3deg) translateY(-10px); }
}
@keyframes hero-shadow {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50%      { transform: scaleX(0.86); opacity: 0.7; }
}

@media (max-width: 52rem) {
  .hero::after { height: 70%; }
  .hero-figure { padding-bottom: 1.75rem; }
  .hero-figure::after { left: 0; right: auto; width: min(100%, 320px); }
}

/* AURELIA capability cards */
.capabilities { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cap-group { margin-top: 2.25rem; scroll-margin-top: 1rem; }
.cap-group > h3 { font-size: 1.4rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--line); margin-bottom: 1rem; }
.cap-intro { color: var(--muted); }
.cap-card h4 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 0.6rem; }
.cap-list { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--muted); font-size: 0.98rem; }
.cap-list li { margin-bottom: 0.3rem; }
.cap-list li::marker { color: var(--orange); }
.card p.cap-plan {
  margin: auto 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--navy-soft);
}
.cap-plan span { font-weight: 700; color: var(--accent); }
.cap-docs { margin-top: 2rem; }

/* Services page photos */
.service-media {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--surface-alt);
  box-shadow: 0 1px 2px rgba(29, 43, 64, 0.08), 0 6px 16px rgba(29, 43, 64, 0.10);
}

/* Top bar: deep navy with a polished 3D bevel */
.site-header {
  background:
    radial-gradient(120% 140% at 15% -40%, rgba(247, 147, 30, 0.16), transparent 55%),
    radial-gradient(120% 140% at 90% -40%, rgba(216, 27, 96, 0.14), transparent 55%),
    linear-gradient(180deg, #2d4262 0%, #1f3049 48%, #15223a 100%);
  border-bottom: 1px solid #0c1526;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(13, 21, 38, 0.18),
    0 10px 28px rgba(13, 21, 38, 0.22);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 4px 0 auto 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.header-inner { position: relative; z-index: 1; }
.site-header :focus-visible { outline-color: #9ec5ff; }

.brand, .brand:hover { color: #ffffff; }
.brand-name { text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25); }
.brand-sub { color: #c9d4e6; }
.brand img {
  padding: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #fbf5ee 60%, #e9e1d6 100%);
  box-shadow: inset 0 -2px 3px rgba(29, 43, 64, 0.18), 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 14px rgba(247, 147, 30, 0.22);
}

.site-nav a {
  color: #e8eef8;
  border: 1px solid transparent;
  border-bottom-width: 3px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.site-nav a:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.site-nav a[aria-current] {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 40rem) {
  .site-nav a { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.08); }
}

/* Fixed top bar: stays in view while the page scrolls */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
}
html { scroll-padding-top: 6rem; }
@media (max-width: 40rem) {
  html { scroll-padding-top: 13rem; }
  .header-inner { padding-block: 0.5rem; gap: 0.5rem; }
}
