:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --accent: #111827;
  --accent-hover: #000000;
  --focus: #2563eb;
  --ok-bg: #ecfdf5;
  --ok-ink: #065f46;
  --err-bg: #fef2f2;
  --err-ink: #991b1b;
  --win: #047857;
  --loss: #b91c1c;
  --disc-red: #e11d48;
  --disc-blue: #2563eb;
  --disc-jack: #eab308;
  --disc-green: #65a30d;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
  --font: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --space: 1.25rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

input,
select,
button,
textarea {
  font: inherit;
  color: inherit;
  caret-color: var(--ink);
}

input[type="number"] {
  font-variant-numeric: tabular-nums;
}

.demo-banner {
  background: var(--ink);
  color: #e5e7eb;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 0.4rem 1rem;
  letter-spacing: 0.01em;
}

.demo-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}

.top {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.top__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.nav-cta-desktop {
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.04);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.06);
}

.season-line {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.main {
  margin-top: 1.75rem;
  animation: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-block {
  margin-bottom: 2rem;
  padding: 0;
  border: none;
  background: transparent;
}

.hero-block h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 22ch;
}

.hero-block p {
  margin: 0 0 1.25rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--bg);
  border-color: var(--muted);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 10rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.field input,
.field select {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  padding: 0.55rem 0.7rem;
  min-height: 2.5rem;
}

.field input:hover,
.field select:hover {
  border-color: #9ca3af;
}

.field input:focus,
.field select:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.tabs button {
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.55rem 0.85rem;
  margin-bottom: -1px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.tabs button:hover {
  color: var(--ink);
}

.tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  background: transparent;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  min-width: 480px;
}

table.data th,
table.data td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

table.data th {
  background: #fafafa;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

table.data tbody tr:last-child td {
  border-bottom: none;
}

table.data tbody tr:hover {
  background: #fafafa;
}

table.data .rank {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  width: 2.5rem;
}

table.data a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

table.data a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.match-list {
  display: grid;
  gap: 0.5rem;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.95rem 1.05rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-row:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.match-row__meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.match-row__score {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wizard-steps span {
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.wizard-steps span::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--line-strong);
}

.wizard-steps span:last-child::after {
  content: none;
}

.wizard-steps span[data-active="true"] {
  color: var(--ink);
}

.wizard-steps span[data-done="true"] {
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.35rem;
  min-height: 12rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.grid-2 {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.singles {
  display: grid;
  gap: 0.5rem;
}

.single-row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 0.75rem;
}

@media (min-width: 860px) {
  .single-row {
    grid-template-columns: 1.2fr 4.5rem auto 4.5rem 1.2fr 3rem;
    align-items: end;
    background: var(--surface);
  }
}

.single-row .vs {
  font-weight: 600;
  text-align: center;
  align-self: center;
  color: var(--muted);
}

.single-row .win-pill {
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  align-self: center;
  font-variant-numeric: tabular-nums;
}

.win-pill[data-side="home"] {
  color: var(--win);
}

.win-pill[data-side="away"] {
  color: var(--loss);
}

.live-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.live-totals strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.flash {
  border: 1px solid #a7f3d0;
  background: var(--ok-bg);
  color: var(--ok-ink);
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
}

.empty {
  padding: 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}

.footer-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.score-line {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.75rem;
  font-variant-numeric: tabular-nums;
}

.mobile-cta {
  display: none;
}

.mobile-cta[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .nav-cta-desktop {
    display: none;
  }

  .is-admin .hero-actions .btn:not(.btn--ghost) {
    display: none;
  }

  .mobile-cta:not([hidden]) {
    display: flex;
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 20;
    text-align: center;
    box-shadow: var(--shadow);
  }

  body:has(.mobile-cta:not([hidden])) .shell {
    padding-bottom: 5.5rem;
  }
}

/* ——— Public site ——— */

.brand-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 247, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.public-hero {
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, #2a3340 0%, #151a22 55%, #0f1218 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.public-hero--photo {
  background: #0f1218;
}

.public-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-zoom 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
    filter: blur(2px);
  }
  to {
    transform: scale(1.06);
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-hero__img {
    animation: none;
    transform: scale(1.04);
  }
}

.public-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.35) 0%, rgba(15, 18, 24, 0.78) 100%);
  pointer-events: none;
}

.public-hero__inner {
  position: relative;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.75rem;
  animation: fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.public-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: none;
}

.public-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 28ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.btn--on-hero {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--on-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.public-hero .btn:not(.btn--ghost) {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.public-hero .btn:not(.btn--ghost):hover {
  background: #f3f4f6;
  border-color: #f3f4f6;
}

.public-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 4rem;
}

.public-body--page {
  padding-top: 2.75rem;
  padding-bottom: 5rem;
  animation: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-public main {
  min-height: 50vh;
}

.public-section {
  margin-bottom: 2.75rem;
}

.public-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
}

.public-section__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.5;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose {
  max-width: 58ch;
  font-size: 1.02rem;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1rem;
}

.prose a {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  border-top: none;
  background: var(--ink);
  color: #e5e7eb;
  padding: 0;
  margin-top: 0;
}

.site-footer__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.25rem;
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.site-footer__brand .brand {
  color: #fff;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.site-footer__brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9ca3af;
}

.site-footer__season {
  margin-top: 0.85rem !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d1d5db !important;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer__col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.site-footer__col h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.site-footer__col a {
  color: #f3f4f6;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1.4;
}

.site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 1.5rem 1.35rem;
}

.site-footer__bottom p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: #9ca3af;
}

.public-hero__discs {
  position: absolute;
  right: 8%;
  top: 22%;
  width: 160px;
  height: 120px;
  pointer-events: none;
  opacity: 0.9;
}

.disc {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.12);
}

.disc--red {
  width: 64px;
  height: 64px;
  background: var(--disc-red);
  left: 0;
  top: 20px;
}

.disc--blue {
  width: 64px;
  height: 64px;
  background: var(--disc-blue);
  right: 10px;
  top: 0;
}

.disc--jack {
  width: 36px;
  height: 36px;
  background: var(--disc-jack);
  left: 48px;
  bottom: 8px;
}

.sport-intro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.sport-intro p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.sport-intro--split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .sport-intro--split {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
  }
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-frame img,
.page-hero-photo img,
.photo-band img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame:hover img,
.page-hero-photo:hover img,
.photo-band img:hover {
  transform: scale(1.03);
}

.news-row--media > img {
  display: block;
}

.page-hero-photo {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero-photo--sm {
  max-width: 420px;
}

.page-hero-photo--wide img {
  max-height: 280px;
  width: 100%;
  object-fit: cover;
}

.photo-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.photo-band img {
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 160px;
  }
}

.news-row--media {
  grid-template-columns: 140px 1fr;
  align-items: stretch;
  gap: 1.15rem;
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
}

.news-row--media > img {
  width: 140px;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  border-radius: 6px;
}

.news-row__body {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  padding: 0.35rem 0.15rem 0.35rem 0;
}

.teaser-note {
  margin: -0.35rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52ch;
}

.teaser-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .teaser-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.75rem;
  }
}

.teaser-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.teaser-cta {
  margin-top: 1.35rem;
}

.teaser-liga {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.news-list {
  display: grid;
  gap: 0.9rem;
}

.news-list--page {
  gap: 1.1rem;
}

.news-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-row:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.news-row time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.news-row strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.news-row span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 560px) {
  .news-row--media {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.75rem;
  }

  .news-row--media > img {
    width: 100%;
    height: 160px;
    min-height: 0;
  }

  .news-row__body {
    padding: 0.15rem 0.25rem 0.4rem;
  }
}

.fact-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin: 1.75rem 0 2rem;
}

@media (min-width: 720px) {
  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .public-hero__discs {
    right: 12%;
    top: 28%;
  }
}

.fact {
  border-top: 2px solid var(--ink);
  padding-top: 0.75rem;
}

.fact strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.fact span {
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
    gap: 2.25rem;
  }
}

.contact-aside {
  display: grid;
  gap: 1.15rem;
}

.contact-photo {
  margin: 0;
  width: 148px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  flex-shrink: 0;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
}

.contact-aside-top {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

@media (min-width: 800px) {
  .contact-aside-top {
    flex-direction: column;
    gap: 1.15rem;
  }

  .contact-photo {
    width: 100%;
    max-width: 280px;
  }

  .contact-photo img {
    height: 180px;
  }
}

.contact-details h2,
.contact-form__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-details dl {
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.contact-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-details dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-details a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form textarea {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  padding: 0.55rem 0.7rem;
  resize: vertical;
  min-height: 7rem;
  font: inherit;
}

.contact-form textarea:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 0.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .public-hero {
    min-height: min(68vh, 480px);
  }

  .public-hero__discs {
    opacity: 0.35;
    right: 4%;
    top: 12%;
    transform: scale(0.75);
  }
}
