:root {
  --ink: #17140f;
  --muted: #5c564c;
  --navy: #14203d;
  --navy-deep: #0c1428;
  --crimson: #b42318;
  --crimson-deep: #8c1a12;
  --gold: #b0893e;
  --paper: #f3eee4;
  --paper-2: #e8e0d0;
  --white: #fffdf8;
  --line: rgba(20, 32, 61, 0.12);
  --shadow: 0 18px 40px -24px rgba(20, 32, 61, 0.45);
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --ui: "Sora", "Source Sans 3", sans-serif;
  --wrap: min(1380px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.crumbs {
  font-size: 0.82rem;
  padding: 16px 0 0;
  color: #cfc6b4;
  background: transparent;
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
}
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; color: #f4efe4; }
.crumbs + .page .page-hero,
.crumbs + .flash + .page .page-hero { padding-top: 58px; }
.search-bar { display: flex; gap: 0; margin: 0 0 28px; max-width: 640px; }
.search-bar input {
  flex: 1; font: inherit; padding: 13px 16px;
  border: 1px solid var(--line); background: var(--white);
  border-radius: 999px 0 0 999px;
}
.search-bar .btn { border-radius: 0 999px 999px 0; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.cat-bar a {
  text-decoration: none;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: 600 0.88rem/1.2 var(--ui);
}
.cat-bar a.is-on { background: var(--navy); color: #fffdf8; border-color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 90; }
.wrap { width: var(--wrap); margin-inline: auto; }

.topbar {
  background: var(--navy-deep);
  color: #d7d0c2;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 34px;
}
.topbar a { color: #f4efe4; text-decoration: none; }
.topbar-links { display: flex; gap: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(240px, 58vw);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > a,
.nav-drop > summary {
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
  padding: 8px 10px;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
}
.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.nav-drop[open] > summary,
.nav-drop > summary[aria-current="page"] { color: var(--crimson); }
body.nav-open { overflow: hidden; }
.nav-drop { position: relative; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}
.nav-drop a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-drop a:hover { background: var(--paper); color: var(--crimson); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); padding: 10px 11px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

.kicker {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin: 0 0 12px;
}
.kicker-light { color: #f0c2b8; }
h1, h2, h3, .section-title {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; font-family: var(--ui); font-size: 0.9rem;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn-solid { background: var(--crimson); color: #fff; box-shadow: 0 10px 22px -14px rgba(180, 35, 24, 0.9); }
.btn-solid:hover { background: var(--crimson-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: 640px;
  padding: 72px 0 108px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 22%;
  transform: scale(1.08);
  animation: ken 22s ease-out forwards;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(12, 20, 40, 0.94) 0%, rgba(20, 32, 61, 0.72) 48%, rgba(12, 20, 40, 0.28) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr); gap: 40px; align-items: end; }
.hero-copy { animation: rise .85s ease both; }
.hero-panel { animation: rise .95s .12s ease both; }
.hero h1, .hero .lead, .hero .kicker, .hero .stats { color: #fffdf8; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); margin: 0 0 16px; max-width: 18ch; }
.lead { font-size: 1.12rem; max-width: 44ch; opacity: 0.92; margin: 0; }
.hero .btn-ghost { color: #fffdf8; border-color: rgba(255,253,248,0.7); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.stats div {
  background: rgba(255,253,248,0.1);
  border: 1px solid rgba(255,253,248,0.16);
  padding: 10px 14px;
  min-width: 118px;
}
.stats dt { font-family: var(--display); font-size: 1.45rem; }
.stats dd { margin: 0; font-size: 0.78rem; opacity: 0.78; }
.hero-panel blockquote {
  margin: 0;
  padding: 24px 26px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.35;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.hero-panel cite { display: block; margin-top: 14px; font-size: 0.82rem; font-family: var(--sans); font-style: normal; color: var(--muted); }

.shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -76px;
  position: relative;
  z-index: 2;
}
.card, .card-link {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow);
  border-radius: 20px;
}
.card-link h2, .card h3 { margin: 0 0 8px; font-size: 1.28rem; }
.card-link:hover, .card:hover { border-color: color-mix(in srgb, var(--navy) 35%, var(--line)); transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(20, 32, 61, 0.55); }
.card, .card-link { transition: transform .35s ease, border-color .25s ease, box-shadow .35s ease; }
.section { padding: 88px 0; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 32px; max-width: 16ch; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.band { background: var(--paper-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.list-row {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.list-row a { font-family: var(--display); text-decoration: none; font-size: 1.28rem; color: var(--navy); }
.list-row a:hover { color: var(--crimson); }
.quote-card p { font-family: var(--display); font-size: 1.2rem; line-height: 1.4; }
.meta { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--ui); font-weight: 600; }
.benefit-card { counter-increment: benefits; }
.benefit-card h3::before {
  content: counter(benefits, decimal-leading-zero);
  display: block;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cards-3.benefits-grid { counter-reset: benefits; }
.cta-final {
  background: var(--navy-deep);
  color: #fff;
  padding: 92px 0;
  position: relative;
}
.cta-final .wrap { display: grid; gap: 18px; max-width: 720px; }
.cta-final h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.cta-final .cta-row { margin: 8px 0 0; }
.site-footer { background: #0a1020; color: #d7d0c2; padding: 56px 0 22px; }
.footer-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #fffdf8;
  border-radius: 16px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f0c2b8; }
.site-footer h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; font-family: var(--ui); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { opacity: 0.6; font-size: 0.86rem; }

.page { padding: 0 0 88px; }
.page-hero, .page > header.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 72px 0 60px;
  margin: 0 0 40px;
}
.page-hero::before, .page > header.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(12, 20, 40, 0.92) 0%, rgba(20, 32, 61, 0.78) 58%, rgba(12, 20, 40, 0.42) 100%),
    url("../img/hero-autonomos.jpg") 72% 22% / cover no-repeat;
  transform: scale(1.06);
  animation: ken 20s ease-out forwards;
}
.page-hero h1, .page-head h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 0; color: #fff; max-width: 16ch; }
.page-hero .lead, .page-head .lead { color: #e8e0d0; margin-top: 14px; max-width: 46ch; }
.page-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-top: 18px;
}
.page-body { padding-top: 8px; }
.page-body .list-row { max-width: 70ch; }
.narrow { max-width: 680px; }
.prose { font-size: 1.06rem; max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.auth-shell {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 48px 0 80px;
}
.auth-card {
  width: min(460px, var(--wrap));
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 14px; margin: 24px 0; }
.form-card, .form fieldset {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 0.92rem; }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 13px; border: 1px solid var(--line); background: var(--white);
  border-radius: 12px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid color-mix(in srgb, var(--navy) 35%, transparent);
  border-color: var(--navy);
}
.check { font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--navy); background: #fff; }
.join-aside h2 { font-size: 3rem; margin: 0 0 12px; }
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 78px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
  background: var(--navy-deep);
  color: #f4efe4;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; max-width: 58ch; }
.cookie-bar a { color: #f0c2b8; }
.cookie-bar-actions { display: flex; align-items: center; gap: 14px; }
.hint { background: var(--paper-2); padding: 14px 16px; border-left: 3px solid var(--gold); }
.flash { padding: 12px 16px; margin: 12px auto; border-radius: 14px; position: relative; z-index: 3; }
.flash-ok { background: #e5f4ea; }
.flash-err { background: #fde8e6; }
.form-errors { color: var(--crimson); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.area-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  position: sticky;
  top: 72px;
  z-index: 22;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
}
.area-nav a {
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}
.area-nav a:hover { border-color: var(--navy); }
.area-nav a.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.area-actions form { margin: 0; }
.plain-list { padding-left: 1.1em; }
.list-row.is-unread { background: color-mix(in srgb, var(--gold) 8%, transparent); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.thread { display: grid; gap: 12px; margin-bottom: 24px; }
.empty {
  background: var(--white);
  border: 1px dashed var(--line);
  padding: 40px 28px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty p { margin: 0 0 12px; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-ok { background: #e5f4ea; color: #1b5e2f; }
.pill-warn { background: #f8edd4; color: #7a4d00; }
.pill-err { background: #fde8e6; color: #8c1a12; }
.pill-mute { background: #eeeae2; color: #5c564c; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.badge {
  display: inline-block;
  min-width: 1.2em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  font-size: 0.72rem;
}
.member-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, #1a2748 0%, var(--navy-deep) 100%);
  color: #f4efe4;
  padding: 28px 26px 28px 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.member-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--gold);
}
.member-card h2 { color: #fff; margin: 8px 0; }
.member-card .meta { color: #cfc6b4; }
.member-card .pill { background: rgba(255,253,248,0.14); color: #f4efe4; }
.member-card .pill-ok { background: #2d6a4f; }
.member-card .pill-warn { background: #8a5a12; }
.member-status {
  display: inline-block;
  margin: 8px 0 16px;
}
.member-qr {
  background: #fffdf8;
  padding: 12px;
  width: min(240px, 100%);
}
.member-qr svg { width: 100%; height: auto; display: block; }
.faq-list summary { cursor: pointer; font-weight: 700; font-family: var(--display); font-size: 1.15rem; }

@keyframes ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.shortcut-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--navy) 8%, var(--paper));
  color: var(--navy);
}
.shortcut-icon.is-accent { background: color-mix(in srgb, var(--crimson) 12%, #fff); color: var(--crimson); }
.shortcut-icon svg { width: 22px; height: 22px; }
.go { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--crimson); text-decoration: none; }
.page-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px;
}
.page-tabs a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: 600 0.88rem/1.2 var(--ui);
}
.page-tabs a.is-on, .page-tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card.is-featured { grid-column: 1 / span 2; }
.card-cover, .article-cover {
  width: 100%;
  height: auto;
  max-height: 220px;
  display: block;
  border-radius: 12px;
  margin: 0 0 12px;
  object-fit: cover;
}
.sponsor-logo {
  max-height: 56px;
  max-width: 200px;
  width: auto;
  display: block;
  margin: 0 0 12px;
  object-fit: contain;
}
.article-cover { max-height: 420px; }
.person-card img, .quote-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}
.quote-photo { width: 64px; height: 64px; }
.news-card h2 { margin: 8px 0; font-size: 1.35rem; }
.article-prose { max-width: 68ch; font-size: 1.12rem; }
.article-nav { margin: 0 0 20px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.news-tags a {
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: 600 0.82rem/1.2 var(--ui);
  border-radius: 999px;
}
.enroll-card, .join-aside { position: sticky; top: 96px; align-self: start; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.footer-social a {
  padding: 6px 12px;
  border: 1px solid rgba(255,253,248,0.18);
  border-radius: 999px;
  font-size: 0.86rem;
}
.auth-logo { height: 52px; width: auto; margin-bottom: 10px; }
.auth-shell {
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.55), rgba(243, 238, 228, 0.94)),
    url("../img/hero-autonomos.jpg") 72% 22% / cover no-repeat;
}
.news-card h2 a { text-decoration: none; color: var(--navy); }
.news-card h2 a:hover { color: var(--crimson); }
.community {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.community-card {
  border-radius: 24px;
  padding: 36px 32px;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.community-ig { background: linear-gradient(160deg, #1a2748, #8c1a12); color: #fffdf8; }
.community-tg { background: linear-gradient(160deg, #14203d, #1d4e89); color: #fffdf8; }
.community-card h2 { margin: 0; color: inherit; }
.community-card p { margin: 0; opacity: 0.9; }
.story-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.story-main { padding: 32px; }
.story-aside { background: var(--navy); color: #f4efe4; }
.story-aside p { font-family: var(--display); font-size: 1.25rem; }
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #128c4a;
  color: #fff;
  text-decoration: none;
  font: 700 0.88rem var(--ui);
  box-shadow: 0 16px 30px -16px rgba(18, 140, 74, 0.9);
  animation: rise .6s .4s ease both;
}
.fab.is-contact { background: var(--crimson); box-shadow: 0 16px 30px -16px rgba(180, 35, 24, 0.9); }
.fab:hover { transform: translateY(-2px); color: #fff; }
body:has(.auth-shell) .fab { display: none; }
body.is-scrolled .site-header { box-shadow: 0 12px 30px -20px rgba(20, 32, 61, 0.55); }
body.is-scrolled .brand img { height: 50px; }
.auth-shell { animation: rise .6s ease both; }
.form-card, .auth-card, .join-aside { border-radius: 20px; }
.hero-panel blockquote, .search-bar input, .cat-bar a, .area-nav a, .empty { border-radius: 16px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.chips div { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.chips strong { display: block; font-size: 0.92rem; }

@media (max-width: 720px) {
  .topbar-inner > span:first-child { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .site-nav > a,
  .nav-drop > summary { padding: 8px 7px; font-size: 0.8rem; }
  .brand img { height: 50px; }
}
@media (max-width: 900px) {
  .hero-panel { display: none; }
  .hero { min-height: 520px; padding: 48px 0 88px; }
}
@media (max-width: 860px) {
  .hero { min-height: auto; padding: 40px 0 80px; }
  .hero-grid, .shortcuts, .cards-3, .cards-2, .split, .footer-grid, .form-grid, .news-grid, .community, .story-grid, .chips { grid-template-columns: 1fr; }
  .news-card.is-featured { grid-column: auto; }
  .enroll-card, .join-aside { position: static; }
  .area-nav { top: 0; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  .site-nav.open { display: flex; }
  .nav-drop ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .nav-actions { margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img, .page-hero::before { transform: none; }
}
@media print {
  .skip, .topbar, .site-header, .site-footer, .area-nav, .cookie-bar, .cta-row, .btn, .fab { display: none !important; }
  body::before { display: none; }
  .page-hero { background: #fff; color: #000; padding: 16px 0; }
  .member-card { box-shadow: none; break-inside: avoid; }
}
