/* Nova Tempora · Gemeinsames Design für Start, Verein und Kontakt */
:root {
  color-scheme: dark;
  --bg: #071321;
  --bg-deep: #050f1a;
  --panel: #0f2537;
  --panel-2: #132d42;
  --ink: #f5f7fb;
  --muted: #b5c8d6;
  --gold: #ebbd70;
  --gold-soft: #f6dcae;
  --blue: #75cdec;
  --mint: #8ddac7;
  --line: rgba(196, 218, 234, .16);
  --max: 1160px;
  --page-gutter: 24px;
}
*,*::before,*::after { box-sizing: border-box; }
html {
  /* Keep browser text inflation consistent without restricting user zoom. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0; color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(ellipse 600px 500px at 100% 12%, rgba(34,119,166,.105), transparent 75%),
              radial-gradient(ellipse 600px 550px at -15% 38%, rgba(207,145,73,.055), transparent 75%), var(--bg);
  line-height: 1.67;
  -webkit-font-smoothing: antialiased;
}
main,section,.container { min-width: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,blockquote { margin-top: 0; }
figure { margin: 0; }
h1,h2,h3 { line-height: 1.18; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.65rem); font-weight: 720; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); font-weight: 710; }
h3 { font-size: 1.36rem; }
p { color: var(--muted); }
.container { width: min(var(--max), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 300; padding: 12px 18px; color: var(--bg); background: var(--gold); border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .21em; text-transform: uppercase; font-weight: 800; }
.section { padding-block: clamp(76px, 9vw, 120px); }
.section-head { max-width: 755px; margin-bottom: 38px; }
.section-head h2 { margin: 12px 0 18px; }
.section-head p { font-size: 1.03rem; line-height: 1.8; margin: 0; }
.tiny-label { font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.rule { height: 1px; border: 0; background: var(--line); }
/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 19, 33, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 85px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 208px; height: 69px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 550; color: #d5e2ea; transition: color .18s ease; }
.desktop-nav a:not(.nav-contact):not(.nav-join)::after { content: ''; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.desktop-nav > a:hover,.desktop-nav > a[aria-current="page"] { color: var(--gold); }
.desktop-nav a:hover::after,.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: inherit; }
.nav-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-actions .nav-contact { border-color: rgba(235, 189, 112, .65); color: var(--gold); }
.nav-actions .nav-contact:is(:hover, [aria-current="page"]) { border-color: var(--gold-soft); }
.nav-actions .nav-join { background-color: #EABD70; color: #071321; }
.nav-actions .nav-join:hover { background-color: #F6DCAE; box-shadow: 0 3px 12px rgba(235, 189, 112, .22); }
.nav-actions .nav-join[aria-current="page"] { border-color: var(--gold-soft); }
.nav-actions a:focus-visible { outline-offset: 2px; }
.mobile-menu { display: none; }
.mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 700; color: var(--gold); border: 1px solid rgba(235,189,112,.42); border-radius: 10px; font-size: .9375rem; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-bars { display: inline-grid; gap: 4px; }
.menu-bars i { display: block; width: 19px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .18s ease, opacity .18s ease; }
.mobile-menu[open] .menu-bars i:first-child { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .menu-bars i:nth-child(2) { opacity: 0; }
.mobile-menu[open] .menu-bars i:last-child { transform: translateY(-6px) rotate(-45deg); }
.mobile-links { border: 1px solid rgba(235,189,112,.3); background: #0b2032; border-radius: 15px; padding: 10px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
.nav-pages { display: grid; gap: 3px; min-height: 0; overflow-y: auto; }
.nav-pages a { display: flex; align-items: center; min-height: 44px; text-decoration: none; padding: 10px 14px; border-radius: 8px; color: #dbe7ee; font-weight: 600; }
.nav-pages a:hover,.nav-pages a[aria-current="page"] { color: var(--gold); background: rgba(235,189,112,.08); }
.nav-pages a:focus-visible { outline-offset: -2px; }
.mobile-links .nav-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.mobile-links .nav-actions a { font-size: .875rem; padding-inline: 6px; text-align: center; }
@media (max-width: 1160px) {
  .header-inner { gap: 16px; }
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: .875rem; }
  .desktop-nav .nav-actions a { padding-inline: 12px; }
}
@media (max-width: 58.75rem) {
  .header-inner {
    --menu-height: max(44px, 2.75rem);
    --menu-width: 5.7rem;
    --header-row: max(68px, 4.25rem);
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto var(--menu-width);
    grid-template-rows: var(--header-row) auto;
    column-gap: clamp(6px, 1.4vw, 12px);
    row-gap: 0;
  }
  .brand { grid-area: 1 / 1; min-width: 0; justify-self: start; }
  .brand img { width: clamp(112px, 38vw, 185px); height: auto; }
  .lang-switch { grid-area: 1 / 2; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; grid-area: 2 / 1 / 3 / -1; min-width: 0; }
  .mobile-menu summary {
    position: absolute;
    inset-block-start: calc((var(--header-row) - var(--menu-height)) / 2);
    inset-inline-end: 0;
    inline-size: var(--menu-width);
    block-size: var(--menu-height);
    white-space: nowrap;
    background: rgba(235,189,112,.045);
  }
  .mobile-menu[open] summary { background: rgba(235,189,112,.12); }
  .mobile-links {
    margin-block-end: 10px;
    max-block-size: min(22rem, 56vh);
    max-block-size: min(22rem, 56dvh);
  }
  .nav-pages a[aria-current="page"] { border-inline-start: 2px solid var(--gold); }
}
@media (max-width: 23rem) {
  .header-inner { --menu-width: var(--menu-height); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .mobile-menu { interpolate-size: allow-keywords; }
    .mobile-menu::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size .2s ease, opacity .18s ease, content-visibility .2s allow-discrete;
    }
    .mobile-menu[open]::details-content { block-size: auto; opacity: 1; }
  }
  @supports not ((interpolate-size: allow-keywords) and selector(details::details-content)) {
    .mobile-menu[open] .mobile-links { animation: menu-enter .18s ease-out; }
    @keyframes menu-enter { from { opacity: 0; } to { opacity: 1; } }
  }
}
/* Buttons */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; gap: 11px; padding: 11px 21px; border-radius: 9px; border: 1px solid transparent; text-decoration: none; font: inherit; font-weight: 750; font-size: .94rem; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #0c2535; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--ink); border-color: rgba(217,235,246,.29); background: rgba(255,255,255,.025); }
.btn-ghost:hover { border-color: var(--gold); }
.text-link { color: var(--gold); text-decoration: none; font-weight: 740; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
/* Home hero */
.hero { padding: 45px 0 92px; }
.hero-art { border: 1px solid rgba(255,255,255,.14); background: #091826; border-radius: 19px; overflow: hidden; box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.hero-art img { width: 100%; height: auto; }
.hero-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(28px, 6vw, 95px); padding-top: 47px; align-items: end; }
.hero-intro h1 { max-width: 730px; margin: 12px 0 0; }
.hero-intro-right p { font-size: 1.07rem; line-height: 1.82; margin: 0 0 26px; }
/* Themes */
.themes { border-top: 1px solid var(--line); background: linear-gradient(180deg,rgba(23,94,135,.06),transparent 77%); }
.themes-layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(26px, 6vw, 76px); margin-bottom: 36px; }
.themes-visual { overflow: hidden; background: #0c1a2b; border: 1px solid var(--line); border-radius: 19px; }
.themes-image { width: 100%; height: auto; }
.themes-copy h2 { margin: 13px 0 18px; }
.themes-copy p { line-height: 1.85; font-size: 1.04rem; }
.topic-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.themes [data-theme="history"] { --theme-accent: var(--gold); --theme-glow: 235, 189, 112; }
.themes [data-theme="technology"] { --theme-accent: var(--blue); --theme-glow: 117, 205, 236; }
.themes [data-theme="society"] { --theme-accent: var(--mint); --theme-glow: 141, 218, 199; }
.topic-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20,48,68,.94), rgba(9,28,42,.92));
  padding: 30px 27px;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}
.topic-card .number { font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--theme-accent); }
.topic-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--theme-accent);
}
@media (hover: hover) and (pointer: fine) {
  .topic-card:hover {
    border-color: rgba(var(--theme-glow), .62);
    box-shadow: 0 4px 18px rgba(var(--theme-glow), .14), inset 0 0 36px rgba(var(--theme-glow), .07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .topic-card { transition: none; }
}
.topic-card h3 { margin: 20px 0 13px; }
.topic-card p { margin: 0; font-size: .95rem; line-height: 1.75; }
/* About, projects and quote */
.band { border-block: 1px solid var(--line); background: linear-gradient(117deg,rgba(228,168,94,.065),rgba(35,92,129,.082)); }
.split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(34px, 9vw, 118px); align-items: center; }
.split h2 { max-width: 670px; margin: 12px 0 19px; }
.split p { font-size: 1.05rem; line-height: 1.82; }
.keylines { padding-left: 28px; border-left: 2px solid var(--gold); }
.keylines h3 { font-size: 1.22rem; margin: 0 0 8px; }
.keylines p { font-size: .96rem; margin: 0; }
.keylines div+div { margin-top: 29px; }
.pill { display: inline-block; max-inline-size: 100%; border: 1px solid rgba(235,189,112,.42); border-radius: 100px; color: var(--gold); padding: 7px 13px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.vision { text-align: center; padding-block: clamp(75px, 9vw, 115px); }
.vision blockquote { max-width: 960px; margin: 20px auto 18px; font-size: clamp(1.8rem, 4.8vw, 4rem); letter-spacing: -.043em; font-weight: 650; line-height: 1.25; }
.vision blockquote em { font-style: normal; color: var(--gold); }
.vision p { max-width: 685px; margin: 0 auto; }
.cta-wrap { padding-bottom: 96px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid rgba(235,189,112,.29); border-radius: 20px; padding: clamp(30px,5vw,62px); background: radial-gradient(circle at 95% 10%,rgba(238,188,104,.12),transparent 37%),#10273a; }
.cta-panel h2 { margin: 13px 0; }
.cta-panel p { max-width: 640px; margin: 0; }
.cta-panel .actions { flex-shrink: 0; }
/* Interior pages */
.page-hero { padding: 80px 0 76px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; margin-bottom: 34px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 920px; margin: 16px 0 20px; }
.page-hero p { max-width: 770px; font-size: 1.1rem; line-height: 1.82; margin-bottom: 0; }
.page-split { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: clamp(34px, 7vw, 85px); align-items: center; }
.page-split h2 { margin: 13px 0 19px; }
.page-split p { line-height: 1.85; font-size: 1.03rem; }
.frame-image { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #0a1c2b; }
.frame-image img { width: 100%; }
.values { border-top: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.value-card { border-left: 2px solid rgba(235,189,112,.75); padding: 4px 22px; }
.value-card h3 { margin: 10px 0 10px; }
.value-card p { font-size: .97rem; margin: 0; }
.membership { border-block: 1px solid var(--line); background: linear-gradient(105deg,rgba(218,165,103,.05),rgba(48,121,151,.08)); }
.membership-info { border: 1px solid var(--line); background: rgba(11,32,48,.85); border-radius: 16px; padding: 30px; }
.membership-info strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.membership-info p { margin-bottom: 20px; font-size: .96rem; }
/* Contact form */
.contact-section { padding-block: 76px 110px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.75fr); align-items: start; gap: 28px; }
.form-card { container: form-card / inline-size; min-width: 0; border: 1px solid rgba(235,189,112,.26); border-radius: 19px; background: linear-gradient(155deg,#132f45,#0b2032); padding: clamp(25px,4.6vw,51px); box-shadow: 0 20px 67px rgba(0,0,0,.15); }
.form-card form { min-width: 0; }
.form-card h2 { font-size: clamp(1.5rem,2.5vw,2.1rem); margin: 0 0 12px; }
.form-intro { margin-bottom: 30px; font-size: .96rem; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
/* Keep both columns at least 16rem wide, even beside a sidebar. */
@container form-card (min-width: 34rem) {
  .form-grid,.join-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--ink); font-size: .9rem; font-weight: 730; }
.required { color: var(--gold); }
.field input,.field select,.field textarea { display: block; width: 100%; max-width: 100%; min-width: 0; background: #081a2a; color: var(--ink); border: 1px solid rgba(206,226,239,.3); border-radius: 9px; padding: 13px 15px; font: inherit; }
.field select { padding-inline: 10px 4px; }
.field input,.field select { min-height: 50px; }
.field textarea { min-height: 182px; resize: vertical; }
.field input::placeholder,.field textarea::placeholder { color: #92aebd; opacity: 1; }
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px #081a2a inset;
  transition: background-color 9999s ease-out 0s;
}
.form-note { color: var(--muted); font-size: .83rem; line-height: 1.75; margin: 23px 0 18px; }
.form-note a { color: var(--gold); text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }
.contact-aside { display: grid; gap: 19px; }
.aside-card { border: 1px solid var(--line); border-radius: 15px; background: rgba(18,44,62,.84); padding: 28px; }
.aside-card h2 { font-size: 1.38rem; margin: 13px 0 11px; }
.aside-card p { font-size: .95rem; }
.aside-card a { color: var(--gold); overflow-wrap: anywhere; }
.aside-card ul { padding-left: 19px; color: var(--muted); font-size: .93rem; margin: 8px 0 0; }
.aside-card li+li { margin-top: 10px; }
/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 35px 0 45px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 19px; }
.footer-small { font-size: .86rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 23px; }
.footer-nav a { font-size: .86rem; color: var(--gold); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.back-to-top { display: none; }
/* Responsive layout */
@media (max-width: 980px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-intro-right { max-width: 720px; }
  .themes-layout { gap: 32px; }
}

@media (max-width: 860px) {
  .themes-layout,.page-split,.split,.contact-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .themes-visual { max-width: 660px; }
  .topic-cards,.value-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
  .topic-card,.value-card { padding: clamp(18px, 3vw, 24px); }
  .contact-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-card { padding: clamp(16px, 4.5vw, 34px); }
}

@media (max-width: 760px) {
  :root { --page-gutter: clamp(15px, 4.5vw, 24px); }
  html { scroll-padding-top: 78px; }
  body { line-height: 1.6; }

  .site-header { background: rgba(7,19,33,.97); }
  h1 { font-size: clamp(1.8rem, 1.25rem + 3.25vw, 2.25rem); line-height: 1.14; }
  h2 { font-size: clamp(1.5rem, 1.2rem + 1.7vw, 1.75rem); line-height: 1.2; }
  h3 { font-size: 1.25rem; line-height: 1.25; }
  h1,h2,h3,legend { hyphens: auto; overflow-wrap: break-word; }
  .eyebrow { letter-spacing: .15em; line-height: 1.6; }
  .section { padding-block: clamp(36px, 8vw, 64px); }
  .section-head { margin-bottom: 23px; }
  .section-head h2 { margin: 10px 0 13px; }
  .section-head p,.page-split p,.themes-copy p,.split p,.topic-card p,.value-card p,.aside-card p,.keylines p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero { padding: 18px 0 clamp(36px, 8vw, 62px); }
  .hero-art,.frame-image,.themes-visual { border-radius: 14px; }
  .hero-intro { padding-top: 24px; gap: 16px; }
  .hero-intro h1 { margin-top: 9px; }
  .hero-intro-right p { font-size: 1rem; line-height: 1.6; margin-bottom: 17px; }
  .actions { gap: 10px; }
  .btn { min-height: 48px; padding-inline: 16px; font-size: 1rem; }

  .themes-layout { gap: 22px; margin-bottom: 20px; }
  .topic-card h3 { margin: 12px 0 8px; }
  .keylines { padding-left: 16px; }

  .page-hero { padding: clamp(25px, 6vw, 42px) 0 clamp(30px, 7vw, 48px); }
  .page-hero h1 { margin: 10px 0 12px; }
  .page-hero p { font-size: 1rem; line-height: 1.65; }
  .breadcrumb { gap: 8px; margin-bottom: 18px; }
  .page-split h2 { margin-bottom: 12px; }

  .membership-info,.domicile-card { padding: clamp(17px, 4vw, 25px); }
  .vision { padding-block: clamp(34px, 8vw, 66px); }
  .cta-wrap { padding-bottom: clamp(35px, 8vw, 66px); }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: clamp(18px, 5vw, 32px); gap: 17px; }

  .contact-section { padding: clamp(28px, 6vw, 44px) 0 clamp(38px, 8vw, 68px); }
  .contact-layout { gap: 16px; }
  .form-card,.aside-card { border-radius: 14px; }
  .form-intro { margin-bottom: 18px; font-size: 1rem; }
  .field label,.form-note { font-size: .9375rem; line-height: 1.6; }
  .form-grid { gap: 14px; }
  .field input,.field select { min-height: 50px; }
  .field textarea { min-height: 140px; }
  .aside-card { padding: clamp(17px, 4vw, 24px); }

  .site-footer { padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
  .footer-inner { display: grid; justify-items: center; gap: 8px; text-align: center; }
  .footer-nav { justify-content: center; gap: 0 4px; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 9px; font-size: .9375rem; }
  .back-to-top {
    display: grid;
    place-items: center;
    justify-self: end;
    inline-size: 46px;
    block-size: 46px;
    border: 1px solid rgba(235,189,112,.4);
    border-radius: 10px;
    color: var(--gold);
    background: var(--panel);
  }
  .back-to-top:hover { border-color: var(--gold); }
  .back-to-top svg { width: 20px; height: 20px; }
}

@media (max-width: 600px) {
  .topic-cards,.value-grid,.contact-aside { grid-template-columns: minmax(0, 1fr); }
  .topic-cards,.value-grid { gap: 12px; }
  .value-card h3 { margin: 10px 0 7px; }
  .actions,.form-actions { align-items: stretch; flex-direction: column; }
  .cta-panel .actions,.actions .btn,.form-actions .btn { width: 100%; }
  .form-actions { gap: 8px; }
  .form-actions small { text-align: center; }
  .vision blockquote { font-size: clamp(1.55rem, 4.5vw + .6rem, 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,.desktop-nav a,.desktop-nav a::after,.nav-actions a,.menu-bars i { transition: none; }
}
