/* ==========================================================================
   STEM2Mars — site styles
   Two pages: home (/) and athletes (/athletes/).
   No external fonts or images; everything here is self-contained.
   ========================================================================== */

:root {
  --void: #07080c;
  --deep: #0c0e14;
  --panel: #12151d;
  --panel-2: #171b25;
  --line: #262c3a;
  --line-soft: #1c2130;

  --ink: #d9dee8;
  --ink-dim: #9aa3b4;
  --ink-faint: #6b7385;

  --rust: #d2552f;
  --ember: #f5903f;
  --cyan: #3fd3c6;
  --gold: #c9a44c;
  --gold-dim: #8a6f2f;

  --q-poor: #9d9d9d;
  --q-common: #ffffff;
  --q-uncommon: #1eff00;
  --q-rare: #0070dd;
  --q-epic: #a335ee;
  --q-legendary: #ff8000;

  --shell: 1180px;
  --radius: 4px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }
.shell--narrow { max-width: 780px; }

.kicker {
  font: 600 .74rem/1.2 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 .9rem;
}
.kicker--cyan { color: var(--cyan); }

.lede { font-size: 1.12rem; color: var(--ink-dim); }
.muted { color: var(--ink-faint); }
.tiny { font-size: .82rem; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ember); color: #150b04; padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

/* -------------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 8, 12, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__row {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__text {
  font: 700 1.16rem/1 var(--sans); letter-spacing: -.02em; color: #fff;
}
.brand__text span { color: var(--rust); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: var(--ink-dim); font-weight: 600; font-size: .92rem;
  padding: .5rem .8rem; border-radius: var(--radius);
}
.nav a:hover { color: #fff; background: var(--panel-2); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: var(--panel-2); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.15rem; border-radius: var(--radius);
  font-weight: 700; font-size: .93rem; border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--ember); text-decoration: none; color: #1a0d05; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

/* ---------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line-soft);
}
.hero__sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, #dfe6f5 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 42%, #cdd6e8 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 56%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 62%, #e6ecf8 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 22%, #fff 50%, transparent 51%),
    radial-gradient(900px 420px at 74% -12%, rgba(210, 85, 47, .22), transparent 70%),
    radial-gradient(700px 380px at 10% 8%, rgba(63, 211, 198, .10), transparent 70%);
}
.hero__horizon {
  position: absolute; left: -10%; right: -10%; bottom: -80%;
  height: 94%; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #6d2f18 0%, #401a0e 40%, #180a06 100%);
  box-shadow: 0 -1px 0 rgba(245, 144, 63, .45), 0 -22px 70px rgba(210, 85, 47, .22);
  pointer-events: none;
}
/* .hero__inner is also a .shell, so the page gutter stays put; only the
   measure of the text is constrained. */
.hero__inner { position: relative; }
.hero__inner > * { max-width: 820px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero__tag {
  font: 600 clamp(1.05rem, 2.4vw, 1.4rem)/1.4 var(--sans);
  color: var(--cyan); margin: 0 0 1.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ------------------------------------------------------------------ sections */
.band { padding: clamp(3rem, 6vw, 5rem) 0; }
.band--panel { background: var(--deep); border-block: 1px solid var(--line-soft); }
.band__head { max-width: 720px; margin-bottom: 2.4rem; }

.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.5rem;
}
.card--accent { border-top: 2px solid var(--rust); }
.card--accent-cyan { border-top: 2px solid var(--cyan); }
.card h3 { color: #fff; margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 30px; height: 30px; color: var(--ember); margin-bottom: .8rem; }
.card--accent-cyan .card__icon { color: var(--cyan); }

.stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.05rem 1.15rem; }
.stat__k { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.stat__v { font: 700 clamp(1.3rem, 2.6vw, 1.75rem)/1.1 var(--sans); color: #fff; margin-top: .45rem; }
.stat__v small { font-size: .55em; font-weight: 600; color: var(--ink-dim); }
.stat__n { font-size: .8rem; color: var(--ink-faint); margin-top: .3rem; }

.taglines { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.taglines li {
  font-size: .88rem; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem;
}

.pull {
  border-left: 3px solid var(--rust); padding: .2rem 0 .2rem 1.3rem;
  font: italic 1.18rem/1.55 var(--serif); color: #edf0f5; margin: 0;
}

/* ------------------------------------------------------------- athlete cards */
.roster { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.athlete-card {
  display: flex; gap: 1.1rem; align-items: center;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--rust);
  border-radius: var(--radius); padding: 1.15rem 1.3rem;
}
.athlete-card:hover { border-color: var(--line); text-decoration: none; }
.athlete-card__av { width: 58px; height: 58px; flex: 0 0 auto; }
.athlete-card__name { font-weight: 700; color: #fff; }
.athlete-card__role { font-size: .87rem; color: var(--ink-faint); }

/* ================================================== WoW-style character sheet
   Bronze/parchment frame, item-quality colours, hover tooltips.
   ========================================================================== */

.sheet-wrap { position: relative; }

.sheet {
  --frame: #4a3a1c;
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201, 164, 76, .09), transparent 60%),
    linear-gradient(180deg, #14151a 0%, #0d0e12 100%);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #1d1a12, 0 18px 50px rgba(0, 0, 0, .6);
  padding: 1.4rem;
}

.sheet__top {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.2rem;
  border-bottom: 1px solid #2c2717; padding-bottom: 1rem; margin-bottom: 1.2rem;
}
.sheet__name {
  font: 700 clamp(1.5rem, 3.4vw, 2.15rem)/1.1 var(--serif);
  color: var(--gold); margin: 0;
  text-shadow: 0 1px 0 #000;
}
.sheet__name span { color: #fff; }
.sheet__title { font: italic 1rem/1.3 var(--serif); color: #b9ac86; }
.sheet__meta { margin-left: auto; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .84rem; color: var(--ink-dim); }
.sheet__meta b { color: #fff; font-weight: 650; }
.sheet__guild { color: var(--q-uncommon); }

.sheet__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.slots { display: grid; gap: .5rem; }
.slots--bottom {
  grid-column: 1 / -1;
  grid-auto-flow: column; justify-content: center;
  gap: .5rem; margin-top: .4rem;
}

/* ---- a single equipment slot ---- */
.slot {
  display: flex; align-items: center; gap: .6rem;
  background: linear-gradient(180deg, #1b1c22, #14151a);
  border: 1px solid #332e1e; border-radius: var(--radius);
  padding: .4rem .55rem; width: 100%; text-align: left;
  color: inherit; font: inherit; cursor: help;
}
.slots--right .slot { flex-direction: row-reverse; text-align: right; }
.slots--bottom .slot { flex-direction: column; width: 108px; text-align: center; gap: .35rem; }
.slot:hover, .slot:focus-visible {
  border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 1px rgba(201, 164, 76, .35), 0 0 16px rgba(201, 164, 76, .18);
}
.slot--empty { opacity: .5; cursor: default; }
.slot--empty:hover { border-color: #3a3524; box-shadow: none; }

.slot__icon {
  width: 46px; height: 46px; flex: 0 0 auto; position: relative;
  border-radius: 3px; border: 1px solid #000;
  background: linear-gradient(160deg, #2b2d36, #171921);
  display: grid; place-items: center;
}
.slots--bottom .slot__icon { width: 44px; height: 44px; }
.slot__icon svg { width: 28px; height: 28px; }
.slot__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.slot__qty {
  position: absolute; right: 1px; bottom: 0;
  font: 700 .68rem/1 var(--sans); color: #fff;
  text-shadow: 0 0 3px #000, 0 0 3px #000;
}
.slot__txt { min-width: 0; }
.slot__label {
  font: 600 .64rem/1.1 var(--sans); letter-spacing: .1em;
  text-transform: uppercase; color: #7a7360;
}
.slot__item {
  font-size: .82rem; font-weight: 600; line-height: 1.22;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}
.slots--bottom .slot__item { font-size: .74rem; -webkit-line-clamp: 3; }
.slot__w { font: 600 .7rem/1.2 var(--mono); color: var(--ink-faint); }

/* item quality colours */
.q-poor { color: var(--q-poor); }
.q-common { color: var(--q-common); }
.q-uncommon { color: var(--q-uncommon); }
.q-rare { color: var(--q-rare); }
.q-epic { color: var(--q-epic); }
.q-legendary { color: var(--q-legendary); }

.b-poor { border-color: #4a4a4a !important; }
.b-common { border-color: #6a6a6a !important; }
.b-uncommon { border-color: #14801a !important; }
.b-rare { border-color: #12508f !important; }
.b-epic { border-color: #6b2497 !important; }
.b-legendary { border-color: #9a5600 !important; }

/* ---- portrait / model ---- */
.portrait {
  position: relative; border: 1px solid #332e1e; border-radius: var(--radius);
  background: #0f1015; overflow: hidden; min-height: 340px;
}
.portrait svg { display: block; width: 100%; height: 100%; }
.portrait__ilvl {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.6rem .5rem .55rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 11, 15, 0), rgba(10, 11, 15, .92));
  font: 600 .72rem/1 var(--sans); color: var(--gold); letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---- attributes / resistances ---- */
.sheet__cols {
  display: grid; gap: 1rem; margin-top: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.attrs { border: 1px solid #2c2717; border-radius: var(--radius); background: rgba(0, 0, 0, .25); padding: .9rem 1rem; }
.attrs h4 {
  font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .7rem;
}
.attrs dl { display: grid; grid-template-columns: 1fr auto; gap: .38rem .8rem; margin: 0; font-size: .88rem; }
.attrs dt { color: var(--ink-dim); }
.attrs dd { margin: 0; text-align: right; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.attrs dd small { font-weight: 600; color: var(--ink-faint); }

/* ---- bags ---- */
.bags { margin-top: 1.4rem; }
.bags__head {
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
  border-top: 1px solid #2c2717; padding-top: 1.1rem; margin-bottom: .9rem;
}
.bags__head h4 {
  font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0;
}
.bags__grid {
  display: grid; gap: .45rem;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
}
.cell {
  position: relative; aspect-ratio: 1; border-radius: 3px;
  border: 1px solid #332e1e; background: linear-gradient(160deg, #23252e, #14161d);
  display: grid; place-items: center; cursor: help; padding: 0;
}
.cell:hover, .cell:focus-visible {
  border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 1px rgba(201, 164, 76, .35), 0 0 14px rgba(201, 164, 76, .2);
}
.cell svg { width: 60%; height: 60%; }
.cell__qty {
  position: absolute; right: 2px; bottom: 1px;
  font: 700 .7rem/1 var(--sans); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000;
}

/* ---- tooltip ---- */
.tip {
  position: fixed; z-index: 120; max-width: 310px; pointer-events: none;
  background: rgba(4, 5, 8, .97); border: 1px solid var(--gold-dim);
  border-radius: 3px; padding: .6rem .7rem;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .75);
  font-size: .84rem; line-height: 1.45;
  opacity: 0; transform: translateY(-4px); transition: opacity .09s linear;
}
.tip[data-open="1"] { opacity: 1; transform: none; }
.tip__name { font: 700 .98rem/1.25 var(--sans); margin-bottom: .1rem; }
.tip__slot { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-dim); font-size: .8rem; }
.tip__real { color: #dfe4ee; margin-top: .35rem; font-size: .82rem; }
.tip__stat { color: var(--q-uncommon); font-size: .81rem; }
.tip__flavor { color: var(--gold); font: italic .82rem/1.4 var(--serif); margin-top: .35rem; }
.tip__w { color: #ffd98a; font-family: var(--mono); font-size: .79rem; margin-top: .3rem; }
.tip__link { color: var(--cyan); font-size: .78rem; margin-top: .35rem; }
.tip__note { color: var(--ink-faint); font-size: .76rem; margin-top: .3rem; }

.legend { display: flex; flex-wrap: wrap; gap: .3rem .95rem; font-size: .78rem; color: var(--ink-faint); margin-top: .9rem; }
.legend b { font-weight: 700; }

/* ---------------------------------------------------------- weights table */
.wtable { width: 100%; border-collapse: collapse; font-size: .89rem; }
.wtable caption { text-align: left; color: var(--ink-faint); font-size: .8rem; padding-bottom: .5rem; }
.wtable th, .wtable td { padding: .48rem .6rem; border-bottom: 1px solid var(--line-soft); }
.wtable th {
  text-align: left; font: 600 .7rem/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.wtable td:last-child, .wtable th:last-child,
.wtable td:nth-child(2), .wtable th:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
.wtable tbody tr:hover { background: rgba(255, 255, 255, .025); }
.wtable tfoot td { font-weight: 700; color: #fff; border-top: 1px solid var(--line); }
.wtable .bar {
  display: block; height: 4px; border-radius: 2px; margin-top: .28rem;
  background: linear-gradient(90deg, var(--rust), var(--ember));
}

/* ================================================================== tracker */
.tracker { display: grid; gap: 1.1rem; }

.live {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--ink-faint); border-radius: var(--radius);
  padding: .85rem 1.1rem;
}
.live[data-state="live"] { border-left-color: var(--q-uncommon); }
.live[data-state="scheduled"] { border-left-color: var(--cyan); }
.live[data-state="finished"] { border-left-color: var(--gold); }
.live[data-state="error"] { border-left-color: var(--rust); }
.live__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink-faint); flex: 0 0 auto;
}
.live[data-state="live"] .live__dot { background: #2bd94a; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 217, 74, .55); }
  50% { box-shadow: 0 0 0 7px rgba(43, 217, 74, 0); }
}
.live__label { font-weight: 700; color: #fff; }
.live__detail { color: var(--ink-dim); font-size: .9rem; }
.live__foot { margin-left: auto; font-size: .8rem; color: var(--ink-faint); }

.profile-card, .map-card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.1rem 1.15rem 1rem;
}
.profile-card__head, .map-card__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: .8rem;
}
.profile-card__head h3, .map-card__head h3 { margin: 0; color: #fff; }
.chips { margin-left: auto; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; color: var(--ink-dim); }
.chip { display: inline-flex; align-items: center; gap: .35rem; }
.chip i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.chip--you i { background: var(--ember); }
.chip--ghost i { background: #8fa6c7; }
.chip--pass i { background: var(--cyan); }

.profile { width: 100%; height: auto; display: block; touch-action: pan-y; }
.profile text { font-family: var(--sans); }

/* The loop is ~43 mi tall and ~17 mi wide, so fitBounds is height-limited;
   a tall box buys a whole extra zoom level of detail. */
#map { height: 620px; border-radius: var(--radius); background: #0e1015; }
.leaflet-container { font: inherit; background: #0e1015; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: #0e1015; color: var(--ink); border: 1px solid var(--line);
}
.leaflet-bar a { background: #14161d; color: var(--ink); border-color: var(--line); }
.leaflet-bar a:hover { background: var(--panel-2); }
.map-fallback { padding: 1rem; color: var(--ink-faint); font-size: .88rem; }
.map-reset {
  font: 600 .78rem/1 var(--sans); color: var(--ink);
  background: rgba(14, 16, 21, .92); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .45rem .7rem; cursor: pointer;
}
.map-reset:hover { color: var(--cyan); border-color: var(--cyan); }

.segments { width: 100%; border-collapse: collapse; font-size: .88rem; }
.segments th, .segments td { padding: .45rem .6rem; border-bottom: 1px solid var(--line-soft); }
.segments th {
  text-align: left; font: 600 .7rem/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.segments td:nth-child(1), .segments td:nth-child(3) { font-variant-numeric: tabular-nums; }
.segments td:nth-child(1) { color: var(--ember); font-weight: 700; width: 4.5rem; }
.segments td:nth-child(3) { text-align: right; white-space: nowrap; }
.segments tr[data-kind="pass"] td:nth-child(2) { color: #fff; font-weight: 600; }
.segments tr[data-passed="1"] { opacity: .5; }
.segments small { color: var(--ink-faint); display: block; font-size: .78rem; }

/* -------------------------------------------------------------------- footer */
.site-foot {
  border-top: 1px solid var(--line-soft); background: var(--deep);
  padding: 2.6rem 0 3rem; font-size: .88rem; color: var(--ink-faint);
}
.site-foot__row { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: space-between; }
.site-foot a { color: var(--ink-dim); }
.site-foot a:hover { color: var(--cyan); }
.site-foot ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.site-foot li { margin-bottom: .25rem; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .sheet__body { grid-template-columns: 1fr 1fr; }
  .portrait { grid-column: 1 / -1; grid-row: 1; min-height: 240px; max-height: 360px; }
  .slots--right .slot { flex-direction: row; text-align: left; }
}
@media (max-width: 560px) {
  .sheet { padding: 1rem .8rem; }
  .sheet__body { grid-template-columns: 1fr; }
  .slots--bottom { grid-auto-flow: row; }
  .slots--bottom .slot { width: 100%; flex-direction: row; text-align: left; }
  #map { height: 420px; }
  .site-head__row { min-height: 58px; }
  .nav a { padding: .45rem .55rem; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
