/* REHO-CONNECT — Design system */
:root {
  --ink: #121816;
  --ink-soft: #2c3832;
  --muted: #5a675f;
  --paper: #f6f7f6;
  --white: #ffffff;
  --brand: #0b6b54;
  --brand-deep: #084c3c;
  --brand-bright: #0f8a6c;
  --accent: #c9920f;
  --accent-soft: #f7efd8;
  --danger: #b42318;
  --success: #16794d;
  --info: #1a5f8a;
  --line: rgba(18, 24, 22, 0.1);
  --shadow: 0 1px 2px rgba(18, 24, 22, 0.06);
  --radius: 8px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  margin: 0 0 0.45em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mt { margin-top: 1rem; }
.container { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }

/* Header — three-zone professional bar */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(18,24,22,0.03);
}
.header-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 1.25rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); font-weight: 700; }
.logo:hover { color: var(--ink); }
.logo-img {
  width: 52px;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.site-header .logo-img {
  width: 56px;
  filter: drop-shadow(0 1px 1px rgba(8, 30, 22, 0.12));
}
.footer-logo .logo-img {
  width: 56px;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-deep);
  color: #fff; font-family: var(--display); font-size: 1.1rem; font-weight: 700;
}
.logo-text { letter-spacing: 0.03em; font-size: 0.98rem; }
.site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-width: 0;
}
.nav-links {
  display: flex; align-items: center; justify-content: center; flex: 1;
  gap: 0.15rem;
}
.nav-links a {
  color: var(--ink-soft); font-weight: 500; font-size: 0.9rem;
  padding: 0.55rem 0.85rem; border-radius: 8px;
  position: relative;
}
.nav-links a:hover { color: var(--ink); background: rgba(11,107,84,0.06); }
.nav-links a.is-active {
  color: var(--brand-deep); font-weight: 600;
  background: rgba(11,107,84,0.08);
}
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  flex-direction: column; gap: 5px; margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.15rem; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-ghost-light {
  background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.84rem; }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 0.98rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: #0a2e26;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 4rem 0 4.5rem;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35em;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.65em;
  max-width: 34ch;
  letter-spacing: -0.015em;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  margin-top: 1.5rem;
}
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: #eef2f0; color: var(--ink); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.hero .btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

/* —— Home (classic hub layout) —— */
.site-contact-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}
.site-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(8, 24, 18, 0.28);
  transform: translateY(12px);
  opacity: 0;
  animation: site-contact-pop 0.45s ease forwards;
}
.site-contact-btn:hover { color: #fff; filter: brightness(1.06); }
.site-contact-btn i,
.site-contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.site-contact-wa {
  background: #1fa855;
  animation-delay: 0.15s;
}
.site-contact-call {
  background: var(--brand);
  animation-delay: 0.28s;
}
@keyframes site-contact-pop {
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 640px) {
  .site-contact-float { right: 0.85rem; bottom: 0.85rem; }
  .site-contact-btn span { display: none; }
  .site-contact-btn {
    width: 3.15rem;
    height: 3.15rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

.page-home {
  background:
    radial-gradient(ellipse 90% 45% at 50% -5%, rgba(11, 107, 84, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(201, 146, 15, 0.06), transparent 50%),
    linear-gradient(180deg, #eef4f1 0%, #f7f9f8 28%, #ffffff 55%, #f4f7f5 100%);
}
.home-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(4.5rem, 10vh, 6.5rem) 0 4.75rem;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #041c18;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../img/home-hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: home-hero-drift 28s ease-in-out infinite alternate;
}
.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(3, 28, 24, 0.88) 0%, rgba(6, 55, 44, 0.82) 42%, rgba(5, 35, 48, 0.88) 100%),
    linear-gradient(0deg, rgba(4, 22, 18, 0.55) 0%, transparent 38%);
}
.home-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 50% at 50% -8%, rgba(232, 163, 23, 0.22), transparent 58%),
    radial-gradient(circle at 18% 72%, rgba(15, 138, 108, 0.2), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(201, 146, 15, 0.14), transparent 26%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.025) 22px 23px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 100%);
}
.home-hero-mesh::before {
  content: "";
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  right: -8%;
  top: 45%;
  translate: 0 -50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(201, 146, 15, 0.12),
    0 0 80px rgba(15, 138, 108, 0.15);
  opacity: 0.7;
  animation: home-orbit 22s linear infinite;
}
.home-hero-mesh::after {
  content: "";
  position: absolute;
  width: min(340px, 48vw);
  height: min(340px, 48vw);
  left: -6%;
  bottom: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  opacity: 0.55;
}
@keyframes home-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, 0.8%, 0); }
}
@keyframes home-orbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
.home-hero-inner {
  position: relative; z-index: 2;
  max-width: 48rem;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}
.home-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 236, 180, 0.78);
}
.home-brand {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  letter-spacing: -0.03em; line-height: 1;
  margin: 0 0 0.55em; font-weight: 700;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.home-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.home-lead {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  line-height: 1.6;
}
.home-cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.home-hero .btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 8px 24px rgba(201, 146, 15, 0.35);
}
.home-hero .btn-primary:hover { background: #f0b328; color: var(--ink); }
.home-hero .btn-ghost-light {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
}
.home-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(720px, 100%);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.home-pillars a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.home-pillars a:hover {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border-color: rgba(232, 163, 23, 0.45);
  transform: translateY(-2px);
}
.home-pillars i {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  color: var(--accent);
}

.home-section { padding: 4.5rem 0; position: relative; }
.home-section-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)),
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(11, 107, 84, 0.05), transparent 55%),
    rgba(238, 244, 241, 0.85);
  border-block: 1px solid rgba(18, 24, 22, 0.06);
}
.home-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.home-section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.025em;
}
.home-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.home-hubs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-hub {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.home-hub:hover {
  color: var(--ink);
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(8,76,60,0.1);
  transform: translateY(-3px);
}
.home-hub-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
}
.home-hub strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}
.home-hub p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.home-hub-go {
  margin-top: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-deep);
}

.home-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-roles a {
  display: grid; gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.home-roles a:hover {
  color: var(--ink);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.home-roles strong {
  font-size: 1.05rem;
  font-weight: 700;
}
.home-roles span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: none;
}
.home-steps li {
  text-align: center;
  padding: 0 0.5rem;
}
.home-steps span {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.home-steps strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.home-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-live {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 40px rgba(8, 48, 40, 0.05);
}
.home-live-col {
  padding: 1.25rem 1.2rem 1.35rem;
  border-right: 1px solid var(--line);
}
.home-live-col:last-child { border-right: 0; }
.home-live-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.home-live-top h3 {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.home-live-top a { font-size: 0.8rem; font-weight: 600; }
.home-live-col article {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.home-live-col article:last-child { border-bottom: 0; }
.home-live-col strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.home-live-col strong a { color: var(--ink); }
.home-live-col strong a:hover { color: var(--brand-deep); }
.home-live-col span {
  font-size: 0.8rem;
  color: var(--muted);
}

.home-final {
  position: relative;
  text-align: center;
  padding: 4.75rem 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #07352c;
}
.home-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(201, 146, 15, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 40%, rgba(15, 138, 108, 0.35), transparent 50%),
    linear-gradient(145deg, #052820 0%, #0a4a3c 55%, #0a3542 100%);
}
.home-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 28px,
    rgba(255,255,255,0.02) 28px 29px
  );
  pointer-events: none;
}
.home-final-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}
.home-final h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff;
  margin: 0 0 0.65rem;
}
.home-final p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}
.home-final .btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 8px 24px rgba(201, 146, 15, 0.3);
}
.home-final .btn-primary:hover { background: #f0b328; color: var(--ink); }

@media (max-width: 1100px) {
  .home-hubs, .home-roles, .home-steps, .home-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-live-col:nth-child(2n) { border-right: 0; }
  .home-live-col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .home-pillars { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .home-hubs,
  .home-roles,
  .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .home-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-live-col { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .home-live-col:nth-child(2n) { border-right: 0; }
  .home-live-col:nth-last-child(-n+2) { border-bottom: 0; }
  .home-hero { padding: 3.25rem 0 2.75rem; min-height: auto; }
  .home-hero-mesh::before,
  .home-hero-mesh::after { opacity: 0.35; }
  .home-section { padding: 2.75rem 0; }
  .home-section-head { margin-bottom: 1.35rem; text-align: left; max-width: none; }
  .home-section-head h2 { font-size: 1.45rem; }
  .home-section-head p { font-size: 0.92rem; }
  .home-hub {
    padding: 1rem 0.9rem 0.95rem;
    border-radius: 14px;
    gap: 0.3rem;
    min-height: 0;
  }
  .home-hub p { display: none; }
  .home-hub strong { font-size: 1.02rem; line-height: 1.25; }
  .home-hub-go { margin-top: 0.35rem; font-size: 0.8rem; }
  .home-roles a {
    padding: 1rem 0.75rem;
    border-radius: 14px;
    text-align: left;
    gap: 0.25rem;
  }
  .home-roles strong { font-size: 0.95rem; }
  .home-roles span {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-steps li {
    text-align: left;
    padding: 0.85rem 0.9rem;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .home-steps span { font-size: 1.05rem; margin-bottom: 0.25rem; }
  .home-steps strong { font-size: 0.95rem; margin-bottom: 0.25rem; }
  .home-steps p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-live-col { padding: 0.95rem 0.85rem 1rem; }
  .home-live-col article:nth-child(n+4) { display: none; }
  .home-pillars a {
    padding: 0.7rem 0.35rem;
    border-radius: 12px;
    font-size: 0.78rem;
  }
  .home-brand { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .home-lead { font-size: 0.98rem; }
  .home-cta { width: 100%; }
  .home-cta .btn { flex: 1 1 auto; min-width: 0; }
  .home-final { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-bg,
  .home-hero-mesh::before { animation: none; }
}

/* Legacy hero helpers */
.section { padding: 3.75rem 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 2rem;
  text-align: left;
}
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.section-head p { max-width: 56ch; margin-bottom: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature {
  padding: 1.25rem 0;
  border-top: 2px solid var(--brand);
}
.feature i { color: var(--brand); margin-bottom: 0.75rem; width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; }

.split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.panel-visual {
  min-height: 280px; border-radius: var(--radius);
  background: #0d4a3c;
  position: relative; overflow: hidden;
}
.panel-visual .stat-float {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: #fff; color: var(--ink);
  padding: 0.85rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.cta-band {
  background: var(--brand-deep);
  color: #fff; padding: 2.75rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35rem; }
.cta-band .muted { color: rgba(255,255,255,0.7); margin: 0; }

/* Forms */
.auth-body {
  min-height: 100vh; display: grid; place-items: center;
  background: var(--paper);
  padding: 2rem;
}
.auth-card, .form-card {
  width: min(420px, 100%);
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.brand-mark {
  font-family: var(--display); font-size: 1.45rem; color: var(--brand-deep); margin-bottom: 0.5rem;
}
label { display: block; font-weight: 600; font-size: 0.88rem; margin: 0.85rem 0 0.35rem; }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(13,122,95,0.35); border-color: var(--brand);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.alert {
  padding: 0.85rem 1rem; border-radius: 10px; margin: 1rem 0; font-weight: 500;
}
.alert.success { background: #e5f7ee; color: var(--success); }
.alert.error { background: #fdeaea; color: var(--danger); }
.alert.info { background: #e8f3fa; color: var(--info); }

/* Dashboard */
.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: var(--ink);
  color: #fff;
  padding: 1.25rem 1rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  position: sticky; top: 0; height: 100vh;
}
.dash-sidebar .logo { color: #fff; }
.dash-sidebar .logo-text { color: #fff; }
.dash-sidebar .logo-img {
  width: 52px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.role-pill {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(20,168,134,0.2); color: #9fe8d4;
  padding: 0.2rem 0.45rem; border-radius: 4px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.65rem;
  color: rgba(255,255,255,0.72); padding: 0.65rem 0.75rem; border-radius: 10px;
  font-weight: 500; font-size: 0.92rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.08); color: #fff;
}
.sidebar-nav a.active { background: var(--brand); }
.sidebar-nav i { width: 18px; height: 18px; }
.sidebar-user {
  display: flex; gap: 0.75rem; align-items: center;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.sidebar-user a { color: #9fe8d4; font-size: 0.8rem; display: block; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-bright); display: grid; place-items: center; font-weight: 700;
}
.dash-main { padding: 1.75rem; }
.dash-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1.75rem;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.stat .label { color: var(--muted); font-size: 0.85rem; }
.stat .value { font-family: var(--display); font-size: 1.85rem; margin-top: 0.2rem; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.card-list { display: grid; gap: 1rem; }
.item-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: grid; gap: 0.5rem;
}
.item-card h3 { font-size: 1.15rem; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; color: var(--muted); font-size: 0.88rem; }
.badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.55rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600; background: var(--accent-soft); color: #8a5a00;
}
.badge.green { background: #e5f7ee; color: var(--success); }
.badge.blue { background: #e8f3fa; color: var(--info); }
.badge.red { background: #fdeaea; color: var(--danger); }

.grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.25rem; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.chart-box { position: relative; height: 280px; }

.progress {
  height: 8px; background: #e4ebe7; border-radius: 999px; overflow: hidden;
}
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }

.quiz-option {
  display: block; padding: 0.9rem 1rem; margin: 0.5rem 0;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.quiz-option:hover, .quiz-option:has(input:checked) {
  border-color: var(--brand); background: rgba(13,122,95,0.06);
}
.quiz-option input { width: auto; margin-right: 0.6rem; }

.leaderboard li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line); list-style: none;
}
.leaderboard { margin: 0; padding: 0; }
.rank { font-weight: 700; color: var(--brand); width: 2rem; }

.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.8); padding: 3.5rem 0 1.5rem; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand p { color: rgba(255,255,255,0.62); max-width: 34ch; line-height: 1.55; }
.site-footer a { display: block; color: rgba(255,255,255,0.7); margin: 0.4rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.85rem; }
.footer-contact a { word-break: break-word; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.15rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.55); text-align: center;
}
.footer-credit {
  margin-top: 1.25rem;
  padding: 1rem 0 1.35rem;
  background: #060e0c;
  border-top: 1px solid rgba(232, 163, 23, 0.28);
}
.footer-credit-inner {
  text-align: center;
}
.footer-slogan {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-slogan-text {
  color: rgba(255, 255, 255, 0.58);
}
.footer-slogan-sep {
  color: rgba(232, 163, 23, 0.55);
  font-weight: 400;
}
.footer-bcom {
  display: inline-block !important;
  margin: 0 !important;
  color: var(--accent) !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 163, 23, 0.35);
  background: rgba(232, 163, 23, 0.08);
  transition: color .15s, background .15s, border-color .15s;
}
.footer-bcom:hover {
  color: #fff !important;
  background: rgba(232, 163, 23, 0.22);
  border-color: rgba(232, 163, 23, 0.7);
}

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

.level-tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.5rem;
}
.level-tabs a {
  padding: 0.4rem 0.75rem; border-radius: 6px; border: 1px solid var(--line);
  font-weight: 600; font-size: 0.85rem; color: var(--ink); background: #fff;
}
.level-tabs a.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.syllabus-level h3 { font-family: var(--display); font-size: 1.45rem; margin: 0 0 0.35rem; }

/* —— Public surfaces —— */
.eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 0.5rem;
}
.lead { font-size: 1.05rem; max-width: 62ch; line-height: 1.6; }
.text-link { font-weight: 600; color: var(--brand-deep); }
.page-hero {
  padding: 2.5rem 0 1.75rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  max-width: 22ch;
  margin-inline: 0;
}
.page-hero .lead,
.page-hero > .container > .muted {
  margin-inline: 0;
}
.page-hero .public-toolbar,
.page-hero .stat-pills,
.page-hero .hero-cta {
  justify-content: flex-start;
  width: 100%;
}
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head.compact { margin-bottom: 1.5rem; }
.inline-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}
.inline-head > div { max-width: 640px; }
.inline-head p { margin-inline: 0; }

.hero-pro {
  min-height: auto;
  display: block;
  background:
    linear-gradient(180deg, rgba(8, 40, 34, 0.15), rgba(8, 40, 34, 0.55)),
    linear-gradient(135deg, #0a2e26 0%, #0d4a3c 55%, #12353f 100%);
}
.hero-grid-bg { display: none; }
.hero-layout {
  position: relative; z-index: 1;
  display: block;
  padding: 4.5rem 0 4.75rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.hero-copy { max-width: 38rem; }
.hero-copy .hero-brand { margin-bottom: 0.15em; color: #fff; }
.hero-copy h1 {
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  max-width: 28ch;
  line-height: 1.25;
  animation: none;
}
.hero-kicker { display: none; }
.hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,0.74);
  max-width: 48ch; line-height: 1.55;
  animation: none;
}
.hero-trust { display: none; }
.hero-panel { display: none; }

.roles-section { background: #fff; }
.role-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.role-list li { border-bottom: 1px solid var(--line); }
.role-list a {
  display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1rem; align-items: baseline;
  padding: 1.15rem 0; color: var(--ink);
}
.role-list a:hover { color: var(--ink); }
.role-list a:hover strong { color: var(--brand-deep); }
.role-list strong {
  font-size: 1rem; font-weight: 600;
}
.role-list span { color: var(--muted); font-size: 0.95rem; }

.step-list {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  padding: 1.1rem 0 1.1rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.1rem;
  font-weight: 700; font-size: 0.9rem; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.step-list strong { display: block; margin-bottom: 0.25rem; }
.step-list p { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.95rem; }
.step-list a { font-weight: 600; font-size: 0.88rem; }

.path-strip { padding: 3rem 0; background: #fff; border-bottom: 1px solid var(--line); }
.path-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.path-card {
  display: grid; gap: 0.45rem; align-content: start;
  padding: 1.25rem 1rem 1.25rem 0; border: 0; border-right: 1px solid var(--line);
  border-radius: 0; background: transparent; color: var(--ink);
  box-shadow: none;
}
.path-card:last-child { border-right: 0; }
.path-card:hover {
  border-color: var(--line); transform: none; box-shadow: none; color: var(--ink);
}
.path-card i { width: 20px; height: 20px; color: var(--brand); }
.path-card h3 { font-size: 1rem; margin: 0; }
.path-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.path-link { font-weight: 600; font-size: 0.85rem; color: var(--brand-deep); margin-top: 0.25rem; }

.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.flow-card {
  padding: 0; border-top: 2px solid var(--brand);
  padding-top: 1rem;
}
.flow-num {
  font-family: var(--font); font-size: 0.85rem; font-weight: 700;
  color: var(--brand); display: block; margin-bottom: 0.45rem;
}
.flow-card a { font-weight: 600; font-size: 0.88rem; }

.split-pro {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: start;
}
.split-pro > div:first-child h2 { max-width: 16ch; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.split-pro > div:first-child .muted { max-width: 52ch; }
.check-list {
  list-style: none; padding: 0; margin: 1.25rem 0 1.5rem;
}
.check-list li {
  position: relative; padding: 0.4rem 0 0.4rem 1.35rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem;
  width: 8px; height: 8px; border-radius: 1px; background: var(--brand);
}
.level-stack { display: grid; gap: 0; border: 1px solid var(--line); background: #fff; }
.level-stack-label {
  margin: 0; padding: 0.75rem 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line);
}
.level-stack a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.95rem 1rem; border-radius: 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.level-stack a:last-child { border-bottom: 0; }
.level-stack a:hover { transform: none; border-color: var(--line); color: var(--ink); background: var(--paper); }
.level-stack strong { font-family: var(--font); font-size: 1rem; font-weight: 600; }
.level-stack span { color: var(--muted); font-size: 0.85rem; }

.triple-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); background: #fff;
}
.live-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); background: #fff;
}
.feed-col {
  background: transparent; border: 0; border-right: 1px solid var(--line);
  border-radius: 0; padding: 1.15rem 1.2rem 1.25rem;
}
.feed-col:last-child { border-right: 0; }
.feed-col-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.75rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line);
}
.feed-col-head h3 { font-size: 0.85rem; margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }
.feed-col-head a { font-size: 0.82rem; font-weight: 600; }
.feed-item { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.feed-item:last-of-type { border-bottom: 0; }
.feed-item h4 { font-family: var(--font); font-size: 0.95rem; margin: 0 0 0.2rem; font-weight: 600; }
.feed-item h4 a { color: var(--ink); }
.feed-item h4 a:hover { color: var(--brand-deep); }
.feed-item p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.news-grid-list { grid-template-columns: 1fr; }
.news-card {
  display: grid; grid-template-columns: 7rem 1fr;
  border-radius: 0; overflow: hidden; border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink);
}
.news-card:hover { transform: none; box-shadow: none; color: var(--ink); }
.news-featured { grid-row: auto; }
.news-cover {
  min-height: 0; display: grid; place-items: center; padding: 0.75rem;
  font-family: var(--font); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
  background: var(--brand-deep); text-align: center;
}
.news-featured .news-cover { min-height: 0; font-size: 0.72rem; }
.news-body { padding: 1rem 0 1rem 1rem; display: grid; gap: 0.35rem; align-content: start; }
.news-body h3 { font-size: 1.05rem; margin: 0; }
.news-body p { margin: 0; font-size: 0.9rem; }

.proof-band {
  padding: 2.75rem 0;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.proof-band h2 { color: var(--ink); max-width: 24ch; }
.proof-band .muted { color: var(--muted); max-width: 52ch; }
.proof-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center;
}
.proof-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.proof-stats div {
  padding: 0.85rem 0; border-radius: 0;
  background: transparent; border: 0; border-top: 1px solid var(--line);
}
.proof-stats strong {
  display: block; font-family: var(--font); font-size: 1.45rem; font-weight: 700;
}
.proof-stats span { font-size: 0.82rem; color: var(--muted); }

.cta-pro { text-align: left; }
.cta-pro-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-pro .btn-primary { background: #fff; color: var(--ink); }
.cta-pro .btn-primary:hover { background: #eef2f0; color: var(--ink); }
.cta-pro .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }

.article-layout {
  display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 2rem; align-items: start;
}
.article-main h1 { font-size: clamp(1.6rem, 3vw, 2.15rem); max-width: 28ch; }
.article-cover {
  margin: 1.25rem 0; min-height: 140px; border-radius: var(--radius);
  display: grid; place-items: end start; padding: 1rem;
  font-family: var(--font); font-size: 1.1rem; font-weight: 600; color: #fff;
  background: var(--brand-deep);
}
.article-cover-photo {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -80px 80px rgba(0,0,0,0.45);
}
.article-body { line-height: 1.7; }
.article-body h2, .article-body h3 { margin-top: 1.25rem; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1rem); }

.public-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  align-items: flex-end; margin-bottom: 1.5rem;
}
.stat-pills { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.stat-pill {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.stat-pill strong { color: var(--ink); }

[data-reveal] {
  opacity: 1; transform: none;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.syllabus-level .section-head {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}
.syllabus-level .section-head p { margin-inline: 0; max-width: 70ch; }

.subject-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.subject-list-linked li { padding: 0; }
.subject-list-linked a {
  display: grid; gap: 0.2rem;
  padding: 0.85rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.subject-list-linked li { border-bottom: 0; padding: 0; }
.subject-list-linked a:hover { color: var(--ink); }
.subject-list-linked a:hover strong { color: var(--brand-deep); }
.subject-list-linked strong { font-weight: 600; font-size: 1rem; }
.subject-list-linked span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

.subject-page { padding: 2rem 0 3rem; background: #fff; }
.subject-head { margin-bottom: 1.5rem; max-width: 40rem; }
.subject-head h1 { margin-bottom: 0.4rem; }
.subject-counts {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  margin-top: 1rem; font-size: 0.9rem; color: var(--muted);
}
.subject-counts strong { color: var(--ink); }
.subject-gate {
  padding: 1rem 1.15rem; margin-bottom: 1.5rem;
  border: 1px solid var(--line); background: var(--paper);
}
.subject-gate p { margin: 0 0 0.85rem; }
.learn-gate { margin-bottom: 2rem; }
.subject-sections { display: grid; gap: 2rem; }
.subject-sections h2 { font-size: 1.05rem; margin: 0; }
.subject-sections .feed-col-head { margin-bottom: 0.75rem; }

/* Learning page */
.page-learning .site-footer { margin-top: 0; }
.learn-hero { display: none; }
.learn-rail {
  position: sticky; top: var(--header-h); z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.learn-rail-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.learn-rail-item {
  display: grid; gap: 0.15rem; padding: 0.95rem 0.75rem;
  text-align: center; color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.learn-rail-item:hover { color: var(--ink); background: rgba(13,122,95,0.04); }
.learn-rail-item.is-active {
  color: var(--brand-deep);
  border-bottom-color: var(--brand);
  background: rgba(13,122,95,0.06);
}
.learn-rail-name { font-weight: 700; font-size: 0.95rem; }
.learn-rail-meta { font-size: 0.75rem; color: var(--muted); }
.learn-rail-item.is-active .learn-rail-meta { color: var(--brand); }

.learn-body { padding: 2.5rem 0 4rem; background: var(--paper); }
.learn-level {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.learn-level:last-of-type { border-bottom: 0; }
.learn-level-head {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  text-align: left;
  margin: 0 0 1.5rem;
  max-width: 52rem;
}
.learn-level-exam {
  margin: 0;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand);
  max-width: none;
}
.learn-level-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin: 0;
  max-width: none;
  line-height: 1.2;
}
.learn-level-ages {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
}
.learn-level-blurb {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
}
.learn-subjects-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.75rem;
}

.learn-practice {
  margin-top: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.learn-practice-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.learn-practice-head h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
.learn-practice-head p { margin: 0; max-width: 42ch; }
.learn-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.learn-col-title {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.75rem; margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--brand);
}
.learn-col-title h3 { margin: 0; font-size: 1.15rem; }
.learn-col-title a { font-size: 0.85rem; font-weight: 700; }
.learn-rows { list-style: none; margin: 0; padding: 0; }
.learn-rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.learn-rows li:last-child { border-bottom: 0; }
.learn-rows strong {
  display: block; font-family: var(--font); font-size: 0.95rem;
  font-weight: 600; line-height: 1.35; margin-bottom: 0.15rem;
}
.learn-rows span { display: block; font-size: 0.8rem; color: var(--muted); }
.learn-row-action {
  flex: 0 0 auto;
  font-size: 0.82rem; font-weight: 700;
  color: var(--brand-deep);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.learn-row-action:hover { border-color: var(--brand); background: rgba(13,122,95,0.06); }
.learn-empty { color: var(--muted); font-size: 0.9rem; }

.learn-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 0 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.learn-cta h2 { margin: 0 0 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.learn-cta .hero-cta { justify-content: flex-start; margin-top: 0; }

/* Jobs page — top search bar */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.jobs-hero {
  padding: 2rem 0 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.jobs-hero .container {
  display: flex; flex-direction: column; align-items: stretch;
}
.jobs-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  max-width: 22ch;
  margin: 0 0 1.25rem;
}
.jobs-search {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1.4fr auto 1fr auto;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  padding: 0.35rem;
  margin-bottom: 0.85rem;
}
.jobs-search-field {
  display: flex; align-items: center; gap: 0.55rem;
  margin: 0; padding: 0 0.85rem; min-width: 0;
}
.jobs-search-field i { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.jobs-search-field input[type="search"],
.jobs-search-field input[type="text"] {
  border: 0 !important;
  background: transparent !important;
  padding: 0.75rem 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.jobs-search-field input:focus {
  outline: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.jobs-search-hint {
  margin: 0 0 0.75rem;
  text-align: left;
}
.jobs-search-divider {
  width: 1px; align-self: stretch; margin: 0.55rem 0; background: var(--line);
}
.jobs-search-btn {
  border-radius: 6px;
  padding-inline: 1.15rem;
  white-space: nowrap;
}
.jobs-hero-actions { margin-top: 0.25rem; justify-content: flex-start; }
.jobs-results { padding-top: 2rem; }
.jobs-results-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1.25rem;
}
.jobs-results-head h2 { margin: 0; font-size: 1.25rem; font-family: var(--font); font-weight: 700; }

/* Skills training */
.train-hero {
  padding: 2rem 0 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.train-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  max-width: 18ch;
  margin: 0 0 0.5rem;
}
.train-hero .lead { margin-bottom: 1.25rem; }
.train-search {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.train-search-field {
  display: flex; align-items: center; gap: 0.55rem;
  margin: 0; padding: 0 0.85rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.train-search-field i { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.train-search-field input {
  border: 0 !important; background: transparent !important;
  padding: 0.8rem 0 !important; border-radius: 0 !important;
  outline: none !important; width: 100%; font: inherit; font-size: 0.95rem;
}
.train-search-btn { white-space: nowrap; }
.train-filters, .train-audience {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  margin-bottom: 0.65rem;
}
.train-chip {
  display: inline-flex; align-items: center;
  padding: 0.35rem 0.7rem; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink-soft);
  font-size: 0.82rem; font-weight: 600;
}
.train-chip.sm { font-size: 0.78rem; padding: 0.28rem 0.55rem; }
.train-chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.train-chip.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.train-results { padding-top: 2rem; }
.train-results-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin: 2rem 0 1rem; padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.train-results-head:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.train-results-head h2 { margin: 0; font-size: 1.15rem; }
.train-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.train-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.25rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start;
}
.train-row-cat {
  margin: 0 0 0.25rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand);
}
.train-row h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.train-row h3 a { color: var(--ink); }
.train-row h3 a:hover { color: var(--brand-deep); }
.train-row-main p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.train-row-skills { margin-top: 0.45rem !important; font-size: 0.82rem !important; }
.train-row-side {
  display: grid; gap: 0.5rem; justify-items: end; align-content: start;
  min-width: 7.5rem;
}
.train-hours { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.train-detail { padding: 2rem 0 3rem; background: #fff; }
.train-back { margin: 0 0 1rem; }
.train-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0 0 1.25rem; font-size: 0.88rem; color: var(--muted);
}
.train-actions {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center;
  margin-bottom: 1.25rem;
}
.train-body { margin-top: 0.5rem; }
.train-preview { opacity: 0.9; }

@media (max-width: 768px) {
  .train-search { grid-template-columns: 1fr; }
  .train-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .train-row-side { justify-items: start; grid-auto-flow: column; align-items: center; min-width: 0; }
  .jobs-search {
    grid-template-columns: 1fr;
    border-radius: 18px;
    gap: 0.35rem;
    padding: 0.65rem;
  }
  .jobs-search-divider { display: none; }
  .jobs-search-field {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.15rem 0.75rem;
  }
  .jobs-search-btn { width: 100%; }
}

@media (max-width: 960px) {
  .learn-practice-grid { grid-template-columns: 1fr; }
  .learn-rail-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subject-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
}
@media (max-width: 768px) {
  .learn-rail-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
  .learn-rail-item { flex: 0 0 42%; text-align: left; padding-inline: 1rem; }
  .subject-list { grid-template-columns: 1fr; }
}

.path-strip .section-head {
  text-align: center;
  margin-inline: auto;
}

/* Newsroom + sponsored photo banners */
.banner-stage {
  background: #111816;
  padding: 0.75rem 0 1.15rem;
  overflow: hidden;
}
.banner-stage-label { margin-bottom: 0.55rem; }
.banner-stage-label span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.banner-row { overflow: hidden; }
.banner-track {
  display: flex; gap: 0.85rem; width: max-content;
  animation: marqueeLeft 70s linear infinite;
  padding: 0.25rem 0 0.65rem;
}
.banner-track-reverse { animation-name: marqueeRight; animation-duration: 78s; }
.banner-row:hover .banner-track { animation-play-state: paused; }
@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.ad-unit {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.ad-unit-label {
  position: absolute; top: 0.45rem; left: 0.45rem; z-index: 2;
  background: rgba(0,0,0,0.72); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.4rem;
}
.ad-unit-media {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #1b2a24;
}
.ad-unit-media-fallback {
  background: linear-gradient(145deg, #0d5c4a, #1a4a6e);
}
.ad-unit-copy { padding: 0.7rem 0.8rem 0.85rem; }
.ad-unit-biz {
  margin: 0; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand);
}
.ad-unit-copy h3 {
  font-family: var(--font); font-size: 0.95rem; margin: 0.25rem 0 0.35rem;
  font-weight: 700; line-height: 1.3;
}
.ad-unit-phone { margin: 0; font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.live-strip {
  display: flex; align-items: stretch; gap: 0;
  margin: 0.15rem 0 0.65rem;
  background: #0a1411;
  border-block: 1px solid rgba(255,255,255,0.1);
}
.live-strip-label {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: #b42318;
  color: #fff; font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.live-strip-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.live-strip-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marqueeLeft 45s linear infinite;
  padding-inline: 1rem;
}
.live-strip-track a {
  color: rgba(255,255,255,0.9); white-space: nowrap; font-size: 0.9rem;
}
.live-strip-track a strong {
  color: #f0c14a; margin-right: 0.4rem; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.live-strip:hover .live-strip-track { animation-play-state: paused; }

.newsroom { background: #fff; padding-bottom: 3rem; }
.newsroom-masthead {
  display: flex; justify-content: space-between; align-items: end; gap: 1.5rem;
  padding: 1.5rem 0 1.15rem; border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.newsroom-edition {
  margin: 0 0 0.25rem; font-size: 0.78rem; color: var(--muted); font-weight: 600;
}
.newsroom-masthead h1 {
  margin: 0; font-family: var(--font); font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.02em;
}
.newsroom-tagline {
  margin: 0; max-width: 34ch; color: var(--muted); font-size: 0.95rem; line-height: 1.5;
}
.newsroom-body { padding-top: 1.75rem; }
.newsroom-filters {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.5rem;
}
.newsroom-filters a {
  padding: 0.35rem 0.75rem; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-size: 0.85rem; font-weight: 600;
}
.newsroom-filters a.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.newsroom-layout {
  display: grid; grid-template-columns: 1.45fr 0.85fr; gap: 1.75rem;
  align-items: start;
}
.news-lead {
  display: grid; color: var(--ink); background: #fff;
  border: 1px solid var(--line);
}
.news-lead:hover { color: var(--ink); }
.news-lead-visual {
  min-height: 220px;
  display: grid; place-items: end start; padding: 1rem;
  color: #fff; font-family: var(--font); font-size: 1.15rem; font-weight: 600;
  background: var(--brand-deep);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -70px 70px rgba(0,0,0,0.35);
}
.news-lead-copy { padding: 1.25rem 1.35rem 1.5rem; }
.news-kicker {
  margin: 0 0 0.45rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
}
.news-lead-copy h2 {
  margin: 0 0 0.65rem; font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.2;
}
.news-lead-copy p { margin: 0 0 0.85rem; color: var(--muted); }
.news-more { font-weight: 700; font-size: 0.9rem; color: var(--brand-deep); }

.news-rail {
  background: #fff; border: 1px solid var(--line); padding: 1rem 1.1rem 0.5rem;
}
.news-rail h3 {
  margin: 0 0 0.75rem; font-family: var(--font); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.news-rail ul { list-style: none; margin: 0; padding: 0; }
.news-rail li { border-top: 1px solid var(--line); }
.news-rail a {
  display: grid; gap: 0.2rem; padding: 0.85rem 0; color: var(--ink);
}
.news-rail a:hover { color: var(--ink); }
.news-rail span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brand);
}
.news-rail strong { font-family: var(--font); font-size: 0.95rem; line-height: 1.35; }
.news-rail em { font-style: normal; font-size: 0.78rem; color: var(--muted); }

.news-stack {
  margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.news-stack-item {
  display: grid; gap: 0.35rem; padding: 1rem 1.1rem;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.news-stack-item:hover { color: var(--ink); border-color: var(--brand); }
.news-stack-item span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brand);
}
.news-stack-item strong { font-family: var(--font); font-size: 1.05rem; line-height: 1.3; }
.news-stack-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.advertise-fab {
  position: fixed; right: 1.25rem; bottom: 8.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.05rem; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 600;
  box-shadow: var(--shadow); cursor: pointer;
}
.advertise-fab i { width: 18px; height: 18px; }
.advertise-fab:hover { background: var(--brand-deep); }

.ad-modal[hidden] { display: none !important; }
.ad-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 1rem;
}
.ad-modal-backdrop {
  position: absolute; inset: 0; background: rgba(8,20,16,0.65);
  backdrop-filter: blur(4px);
}
.ad-modal-panel {
  position: relative; z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #fff; border-radius: 18px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.ad-modal-close {
  position: absolute; top: 0.75rem; right: 0.85rem;
  border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; color: var(--muted);
}
body.modal-open { overflow: hidden; }

@media (min-width: 961px) and (max-width: 1280px) {
  .container,
  .hero-layout { width: min(1080px, calc(100% - 3.5rem)); }
  .path-grid,
  .flow-grid { gap: 1rem; }
  .hero-copy h1 { max-width: 20ch; }
}

@media (max-width: 960px) {
  .page-hero { text-align: left; }
  .page-hero .container { align-items: stretch; }
  .page-hero h1 { margin-inline: 0; }
  .page-hero .public-toolbar,
  .page-hero .stat-pills,
  .page-hero .hero-cta { justify-content: flex-start; }
  .section-head { text-align: left; margin-inline: 0; }
  .section-head p { margin-inline: 0; }
  .hero-layout, .path-grid, .flow-grid, .split-pro, .triple-grid, .live-grid,
  .news-grid, .news-grid-list, .proof-grid, .article-layout,
  .newsroom-masthead, .newsroom-layout, .news-stack,
  .split, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
    margin-bottom: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 0.85rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-brand p {
    max-width: none;
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .footer-col {
    padding: 0.85rem 0.9rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
  }
  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 0.75rem;
  }
  .footer-contact h4,
  .footer-contact a[href^="mailto"] {
    grid-column: 1 / -1;
  }
  .site-footer {
    padding: 2rem 0 1.15rem;
  }
  .site-footer h4 {
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
  }
  .site-footer a {
    margin: 0.28rem 0;
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .role-list a { grid-template-columns: 1fr; gap: 0.25rem; }
  .triple-grid, .live-grid { border: 1px solid var(--line); }
  .feed-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .feed-col:last-child { border-bottom: 0; }
  .newsroom-masthead { display: grid; }
  .news-featured { grid-row: auto; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .subject-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-unit { flex-basis: 260px; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .live-grid .feed-col:nth-child(2n) { border-right: 0; }
  .app-shell { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: relative; height: auto;
    display: grid; grid-template-columns: 1fr;
  }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .header-shell { position: relative; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    width: 100%;
    background: #fff; flex-direction: column; padding: 0.75rem 0 1.15rem;
    border-bottom: 1px solid var(--line); align-items: stretch;
    box-shadow: 0 12px 28px rgba(18,24,22,0.08);
    justify-content: flex-start;
  }
  .site-nav.open { display: flex; gap: 0.75rem; }
  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding-inline: 0.5rem;
  }
  .nav-links a { padding: 0.75rem 0.85rem; }
  .nav-actions {
    flex-direction: column; align-items: stretch;
    padding: 0.5rem 0.5rem 0;
    border-top: 1px solid var(--line);
  }
  .nav-actions .btn { width: 100%; }
}

@media (max-width: 768px) {
  .container { width: min(1160px, calc(100% - 1.5rem)); }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner, .hero-layout { padding: 2.5rem 0 3rem; }
  .path-grid { grid-template-columns: 1fr; }
  .subject-list { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .ad-unit { flex-basis: 240px; }
  .live-strip { flex-direction: column; }
  .advertise-fab { right: 1rem; bottom: 7.5rem; }
  .site-contact-float { bottom: 5.5rem; }
  body { padding-bottom: 4.5rem; }
  .footer-slogan {
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    gap: 0.4rem;
  }
  .footer-bottom { font-size: 0.78rem; padding-top: 0.9rem; }
  .news-stack { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .item-card, .panel {
    border-radius: 14px;
  }
}
