/* ==========================================================================
   SECTIONS
   Composition rules that only apply to one band of the page.
   Ordered top-to-bottom to match index.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  /* Top padding trimmed 25% so the hero column sits higher and the stats row
     clears the docked section bar above the fold on desktop */
  padding-top: calc(var(--header-height) + clamp(3rem, 7.5vw, 5.25rem));
  /* Reserves the docked section bar, so the hero lays out inside the area
     that is actually visible rather than behind it */
  padding-bottom: calc(clamp(2rem, 5vw, 4rem) + var(--section-nav-bottom));
  overflow: hidden;
}

/* Full-bleed court photograph */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keeps the floodlight and fence line in frame as the hero gets shorter */
  object-position: center 42%;
}

/* Layered gradients: vertical fade, left-side scrim, green tint, vignette */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Left scrim — carries the headline and stats over the court surface */
    radial-gradient(95% 88% at 6% 50%, rgba(3, 10, 5, 0.95) 0%, rgba(3, 10, 5, 0.6) 38%, transparent 72%),
    /* Vertical shaping — the fade is held back until the last stretch so the
       blue court stays readable instead of crushing to black */
    linear-gradient(180deg,
      rgba(2, 7, 4, 0.7) 0%,
      rgba(2, 7, 4, 0.18) 38%,
      rgba(3, 10, 5, 0.5) 80%,
      rgba(3, 10, 5, 0.97) 100%),
    /* Light brand tint — enough to tie the photo to the palette without
       turning its blue court olive */
    linear-gradient(180deg, rgba(10, 42, 18, 0.12) 0%, rgba(10, 42, 18, 0.05) 100%),
    radial-gradient(90% 60% at 78% 30%, rgba(223, 255, 0, 0.08) 0%, transparent 60%);
}

/* Fine digital dot grid for texture */
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(223, 255, 0, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.22;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 80%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__lede {
  max-width: 46ch;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Hero stat strip sits on a hairline rule */
.hero__stats {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.hero__device {
  position: relative;
  justify-self: center;
}

/* --------------------------------------------------------------------------
   SECTION NAV — sticky deck pager
   Sits directly below the hero and then sticks under the header, tracking
   which section is on screen. To make it a static strip instead, remove the
   `position: sticky` and `top` declarations.
   -------------------------------------------------------------------------- */

/* Docked to the bottom of the viewport, always visible, tracking the section
   currently on screen. Page content is padded clear of it in base.css. */
.section-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 56; /* over the drawer (55), under the header pill (60) */
  border-top: 1px solid var(--color-border);
  /* Opaque — the bar overlays content scrolling beneath it */
  background: var(--color-background);
  /* Clears the iOS home indicator */
  padding-bottom: var(--safe-bottom);
}

.section-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--section-nav-height);
}

/* Horizontally scrollable chip rail. Scrollbar is hidden because the step
   buttons and the progress rule already communicate that it scrolls. */
.section-nav__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* No `scroll-behavior` here on purpose: main.js picks smooth or instant per
     call (instant for reduced motion). Declaring it in CSS would force every
     scroll of this rail to animate, including the ones meant to be instant. */
}

.section-nav__viewport::-webkit-scrollbar {
  display: none;
}

.section-nav__list {
  display: flex;
  gap: 0.25rem;
  width: max-content;
}

.section-nav__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--tap-target);
  padding: 0.3rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.section-nav__index {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.section-nav__chip:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}

/* Current section — set by main.js */
.section-nav__chip[aria-current="true"] {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-border);
  color: var(--color-accent);
  font-weight: 600;
}

.section-nav__chip[aria-current="true"] .section-nav__index {
  opacity: 1;
}

/* Prev / next step buttons */
.section-nav__step {
  display: grid;
  place-items: center;
  width: var(--tap-target);
  height: var(--tap-target);
  flex: none;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast),
    opacity var(--transition-fast);
}

.section-nav__step:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-border);
}

.section-nav__step .icon {
  width: 15px;
  height: 15px;
}

/* The shared arrow icon points right; flip it for the previous control */
.section-nav__step:not(.section-nav__step--next) .icon {
  transform: rotate(180deg);
}

/* Kept focusable at the ends so keyboard focus is never dropped */
.section-nav__step[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
}

.section-nav__step[aria-disabled="true"]:hover {
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

/* Progress rule pinned to the bottom edge of the bar */
.section-nav__progress {
  height: 2px;
  margin-bottom: -1px;
  background: var(--color-border-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.section-nav__progress span {
  display: block;
  height: 100%;
  width: var(--deck-progress, 0%);
  background: var(--color-accent);
  transition: width var(--transition-med);
}

/* --------------------------------------------------------------------------
   SECTION DRAWER — toggleable side panel
   A fixed panel pinned below the header on the right edge. Opened and closed
   by .deck-toggle in the site header; slides fully off-screen when closed.
   -------------------------------------------------------------------------- */

.deck-drawer {
  --drawer-width: 250px;

  position: fixed;
  right: 0;
  top: var(--drawer-top);
  z-index: 55; /* over the content, under the fixed header (60) */
  /* Stops short of the docked section bar rather than running under it */
  max-height: calc(100svh - var(--drawer-top) - var(--section-nav-bottom) - 1rem);
  transition: transform var(--transition-med);
}

/* Closed: park the panel entirely off-screen */
.deck-drawer:not(.is-open) {
  transform: translateX(110%);
}

.deck-drawer__panel {
  width: var(--drawer-width);
  margin-right: var(--gutter);
  padding: var(--space-sm);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
  overflow-y: auto;
  max-height: inherit;
  /* Closed panels must leave the tab order, not just slide out of sight */
  visibility: hidden;
  transition: visibility var(--transition-med);
}

.deck-drawer.is-open .deck-drawer__panel {
  visibility: visible;
}

.deck-drawer__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2xs);
  margin-bottom: 0.5rem;
}

.deck-drawer__title {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.deck-drawer__count {
  font-size: var(--text-meta);
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}

.deck-drawer__progress {
  height: 2px;
  margin-bottom: 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--color-border-soft);
  overflow: hidden;
}

.deck-drawer__progress span {
  display: block;
  height: 100%;
  width: var(--deck-progress, 0%);
  background: var(--color-accent);
  transition: width var(--transition-med);
}

.deck-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.deck-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--tap-target);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
}

.deck-drawer__link:hover {
  background: var(--color-surface-raised);
  color: var(--color-text);
}

.deck-drawer__index {
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-subtle);
}

/* Current section — set by main.js */
.deck-drawer__link[aria-current="true"] {
  background: var(--color-accent-soft);
  border-left-color: var(--color-accent);
  color: var(--color-accent);
  font-weight: 600;
}

.deck-drawer__link[aria-current="true"] .deck-drawer__index {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   4. OPPORTUNITY — split reality / opportunity panels
   -------------------------------------------------------------------------- */

.compare-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.panel {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

/* The neon-bordered "opportunity" side */
.panel--accent {
  border-color: var(--color-accent-border);
  background:
    linear-gradient(180deg, rgba(223, 255, 0, 0.05) 0%, transparent 55%),
    var(--color-surface-raised);
  box-shadow: var(--shadow-glow);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-soft);
}

.panel__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.panel--accent .panel__title {
  color: var(--color-accent);
}

/* Ticked / dashed feature lists inside panels */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.feature-list__item .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.2em;
  flex: none;
  color: var(--color-text-subtle);
}

.panel--accent .feature-list__item {
  color: var(--color-text);
}

.panel--accent .feature-list__item .icon {
  color: var(--color-accent);
}

.feature-list__item b {
  display: block;
  font-weight: 600;
  color: var(--color-text);
}

.feature-list__item span {
  display: block;
  color: var(--color-text-muted);
}

/* Pull quote closing the section, marked with a neon vertical rule */
.pull-statement {
  margin-top: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-accent);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--color-text);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   5. PLATFORM — audience tabs above numbered cards
   -------------------------------------------------------------------------- */

.platform__tabs {
  margin-bottom: var(--space-lg);
}

/* Each tab panel holds the four numbered capability cards */
.platform__panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   6. PLAYERS — benefit list beside a handset
   -------------------------------------------------------------------------- */

.benefit-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-lg);
}

.benefit-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}

.benefit-list__item:last-child {
  border-bottom: 0;
}

.benefit-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border-strong);
  background: var(--color-accent-faint);
  color: var(--color-accent);
}

.benefit-list__icon .icon {
  width: 15px;
  height: 15px;
}

.benefit-list__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.benefit-list__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. PLAYER PROFILE — wide hub with a centred rating dial
   -------------------------------------------------------------------------- */

.profile-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: center;
}

/* Centre column: the circular rating element */
.profile-dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-md) var(--space-sm);
}

.dial {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(164px, 16vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(var(--color-accent) 0 var(--meter, 72%), rgba(255, 255, 255, 0.07) var(--meter, 72%) 100%);
  box-shadow: var(--shadow-glow);
}

/* Punch out the centre so it reads as a ring */
.dial::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.dial__inner {
  position: relative;
  text-align: center;
}

.dial__value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* Tighter tracking than a normal label so it fits inside the ring */
.dial__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.profile-identity__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  flex: none;
}

.profile-identity__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}

.profile-identity__meta {
  display: block;
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* Achievement squares */
.medal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.medal {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-subtle);
}

.medal .icon {
  width: 14px;
  height: 14px;
}

.medal--earned {
  border-color: var(--color-accent-border);
  background: var(--color-accent-faint);
  color: var(--color-accent);
}

/* Form guide: W/L pips */
.form-guide {
  display: flex;
  gap: 4px;
}

.form-guide__pip {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border-soft);
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--color-text-subtle);
}

.form-guide__pip--win {
  border-color: var(--color-accent-border);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   8. TOURNAMENTS — dashboard plus summary metrics
   -------------------------------------------------------------------------- */

.tournament-dashboard .dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  /* Below this width the panels stop being readable, so the wrapper scrolls */
  min-width: 640px;
}

/* Footer strip of the tournament dashboard */
.summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--color-border-soft);
}

.summary-strip__item {
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--color-border-soft);
}

.summary-strip__item:last-child {
  border-right: 0;
}

.summary-strip__label {
  display: block;
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.summary-strip__text {
  font-size: 0.625rem;
  color: var(--color-text-subtle);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. OPERATING SYSTEM — capability matrix
   -------------------------------------------------------------------------- */

.matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-border-soft);
  overflow: hidden;
}

.matrix__cell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--space-md) var(--space-sm);
  background: var(--color-surface);
  transition: background-color var(--transition-fast);
}

.matrix__cell:hover {
  background: var(--color-surface-raised);
}

.matrix__cell .icon {
  width: 17px;
  height: 17px;
  color: var(--color-accent);
}

.matrix__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.matrix__text {
  font-size: var(--text-meta);
  line-height: 1.5;
  color: var(--color-text-subtle);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. NETWORK EFFECT — connected stakeholder flow
   -------------------------------------------------------------------------- */

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: var(--space-lg) var(--space-xs);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(60% 120% at 50% 50%, rgba(223, 255, 0, 0.05) 0%, transparent 70%),
    var(--color-surface);
}

.flow__node {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-raised);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
}

.flow__node .icon {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* Connector between nodes. Hidden from assistive tech via aria-hidden. */
.flow__link {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  opacity: 0.5;
}

.flow__link .icon {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   13. COMMERCIAL — revenue cards get a neon corner detail
   -------------------------------------------------------------------------- */

.card--revenue::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 42px;
  height: 42px;
  border-top: 1px solid var(--color-accent-border);
  border-right: 1px solid var(--color-accent-border);
  border-top-right-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card--revenue:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. SCALE — five numbered principles
   -------------------------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.principle__number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}

.principle__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.principle__text {
  font-size: var(--text-meta);
  line-height: 1.55;
  color: var(--color-text-subtle);
  margin: 0;
}

/* --------------------------------------------------------------------------
   15. FINAL CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-black);
  text-align: center;
}

/* Radial glow + faint court geometry behind the type */
.cta__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -45%;
  width: min(1100px, 150%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(223, 255, 0, 0.14) 0%,
    rgba(223, 255, 0, 0.04) 35%,
    transparent 65%
  );
  pointer-events: none;
}

.cta__rings {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.28;
}

.cta__rings svg {
  width: min(920px, 130%);
  height: auto;
  color: var(--color-accent);
}

/* The closing statement carries hero-level weight */
.cta__title {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.cta__lede {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.cta__audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-xl) var(--space-md);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.site-footer__blurb {
  margin-top: var(--space-sm);
  max-width: 34ch;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.footer-nav__title {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav__list a {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  transition: color var(--transition-fast);
}

.footer-nav__list a:hover {
  color: var(--color-accent);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-soft);
  font-size: var(--text-meta);
  color: var(--color-text-subtle);
}

.social-links {
  display: flex;
  gap: 0.4rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: var(--tap-target);
  height: var(--tap-target);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}

.social-links .icon {
  width: 15px;
  height: 15px;
}
