:root {
  --ink: #18312d;
  --muted: #5d6f6a;
  --paper: #f7f3e9;
  --panel: #fffaf0;
  --line: #d9cfb7;
  --forest: #2f7d57;
  --water: #397f9d;
  --sun: #d88b2f;
  --clay: #b74e37;
  --shadow: 0 24px 60px rgba(36, 51, 42, 0.16);
}

* {
  box-sizing: border-box;
}

/* The browser's own [hidden] rule is a bare element selector, so any class that
   sets `display` quietly outranks it and the element stays on screen. Every
   toggled block on this page is styled by a class, so without this the hidden
   attribute does nothing. */
[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------ daybar --
   The bar is fixed, and the page is pushed down by exactly its height rather
   than sliding under it. That matters here more than usual: .topbar is
   absolutely positioned inside .hero at top 24px, so a bar floating over the
   page would land on the navigation — the same overlap that once covered the
   hero text on phones. Moving the whole page down moves the hero, and the nav
   inside it, out of the way for free.

   z-index clears 3, which `main` claims while pulling itself up over the hero.

   The padding itself is set from JS, measured off the rendered bar, because the
   bar's height is not knowable here: it wraps to a second line on a narrow
   screen, and how soon depends on the language and on whether a rider name and
   two buttons are present. A hardcoded value would be right in one of those
   cases and either leave a gap or hide the navigation in the others. */
.daybar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 7px clamp(12px, 4vw, 28px);
  background: var(--ink);
  color: #f4efe2;
  font-size: 0.88rem;
  box-shadow: 0 1px 0 rgba(24, 49, 45, 0.35);
}

.daybar-state {
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* The dot only exists while somebody is actually recording, so it is the one
   piece of the page that says "now" without words. */
.daybar-state.is-live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #7fd6a4;
  vertical-align: middle;
  animation: daybar-pulse 2s ease-in-out infinite;
}

@keyframes daybar-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.daybar-rider {
  color: #c8d6d1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pushed to the right on a wide screen; on a phone the row wraps and this simply
   starts the second line. */
.daybar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.daybar-map,
.daybar-photo {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 226, 0.35);
  background: transparent;
  color: #f4efe2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.daybar-photo {
  border-color: var(--forest);
  background: var(--forest);
  /* The bar's parchment white lands at 4.4:1 on this green, just under the 4.5
     the guideline asks of text this size. Plain white clears it. */
  color: #fff;
}

.daybar-map:hover,
.daybar-photo:hover {
  border-color: #f4efe2;
}

.daybar-map:focus-visible,
.daybar-photo:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .daybar-state.is-live::before { animation: none; }
}

/* On a phone the row wraps to a second line rather than clipping; the measured
   padding above follows whatever height that produces. */
@media (max-width: 480px) {
  .daybar { font-size: 0.83rem; }
  .daybar-actions { margin-left: 0; }
}

html {
  scroll-behavior: smooth;
}

main section[id] { scroll-margin-top: calc(var(--daybar-height, 0px) + 16px); }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(57, 127, 157, 0.13), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(216, 139, 47, 0.22), transparent 28%),
    var(--paper);
  font-family: Avenir Next, Trebuchet MS, Verdana, sans-serif;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  position: relative;
  padding: 24px clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(14, 37, 34, 0.76), rgba(14, 37, 34, 0.28)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fffaf0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 24px;
  right: clamp(20px, 5vw, 72px);
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-archive-nav { display: none; }

.topbar a,
.language-switcher button,
.button {
  text-decoration: none;
  border: 1px solid rgba(255, 250, 240, 0.55);
  color: #fffaf0;
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(24, 49, 45, 0.22);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 2px;
  border: 1px solid rgba(255, 250, 240, 0.4);
  border-radius: 999px;
  background: rgba(24, 49, 45, 0.18);
  backdrop-filter: blur(10px);
}

.language-switcher button {
  min-width: 42px;
  padding: 8px 10px;
  border-color: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: #fffaf0;
  color: var(--ink);
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sun);
}

/* --------------------------------------------------- the 2027 daydream ---
   Both digits share one grid cell; which one is solid depends on whether the
   hero is dreaming (.is-2027). The watermark is a real link, but it accepts
   clicks only while visible — an invisible click target over the photo would
   be a trap. */
.laps-token { white-space: nowrap; }  /* inline-grid invites a break after the 11 */

/* The date line and the lead dream along with the digit: the ridden Saturday
   dissolves into "elokuussa 2027", eleven laps into twelve. */
.hero-lead { display: grid; }
.hero-lead > span { grid-area: 1 / 1; transition: opacity 2s ease, filter 2s ease; }
.hero-lead .hl-b { opacity: 0; filter: blur(6px); }
.hero.is-2027 .hero-lead .hl-a { opacity: 0; filter: blur(6px); }
.hero.is-2027 .hero-lead .hl-b { opacity: 1; filter: blur(0); }

.hero-date { display: grid; }
.hero-date > span { grid-area: 1 / 1; transition: opacity 2s ease, filter 2s ease; }
.hero-date .hd-b {
  opacity: 0;
  filter: blur(6px);
  color: inherit;
  text-decoration: underline dotted rgba(232, 178, 90, 0.6);
  text-underline-offset: 0.18em;
  pointer-events: none;   /* a link only while visible */
}
.hero.is-2027 .hero-date .hd-a { opacity: 0; filter: blur(6px); }
.hero.is-2027 .hero-date .hd-b {
  opacity: 1;
  filter: blur(0);
  text-shadow: 0 0 18px rgba(232, 178, 90, 0.5);
  pointer-events: auto;
}
.hero-date .hd-b:hover { color: #fff; }
/* The dreamt 1 is drawn by CSS, and .md-b is left empty in the markup. It used
   to carry the character itself — invisible to the eye at opacity 0, but not to
   anything reading text: the heading's textContent said "Sääksi 101+1 Laps",
   which is the one string on this page that has to be exactly right. Generated
   content is outside the text layer, and the empty span keeps its aria-hidden
   over the whole thing, so the animation is unchanged and the heading reads as
   the name of the event. */
.morph-digit { display: inline-grid; }
.morph-digit > span { grid-area: 1 / 1; transition: opacity 2s ease, filter 2s ease; }
.morph-digit .md-b { opacity: 0; filter: blur(6px); }
.morph-digit .md-b::after { content: "1"; }
.hero.is-2027 .morph-digit .md-a { opacity: 0; filter: blur(6px); }
.hero.is-2027 .morph-digit .md-b {
  opacity: 1;
  filter: blur(0);
  text-shadow: 0 0 22px rgba(232, 178, 90, 0.65);
}

/* Lives in the flow between the title and the date line, so it lands in the
   same gap at every viewport width — the space is reserved even while
   invisible, so nothing jumps when the dream starts. The dotted underline,
   the ↗ and the pointer say "this is a link" louder than the haze alone. */
.ghost-2027 {
  display: inline-block;
  align-self: start;
  margin: 2px 0 4px;
  transform: rotate(-2deg) translateY(8px);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: rgba(255, 250, 240, 0.45);
  text-shadow: 0 0 24px rgba(232, 178, 90, 0.55);
  text-decoration: underline dotted rgba(232, 178, 90, 0.6);
  text-underline-offset: 0.18em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2.4s ease, transform 2.4s ease, color 0.3s ease;
}
.hero.is-2027 .ghost-2027 {
  opacity: 1;
  transform: rotate(-2deg) translateY(0);
  pointer-events: auto;
}
.ghost-2027:hover {
  color: rgba(255, 250, 240, 0.95);
  text-shadow: 0 0 34px rgba(232, 178, 90, 0.9);
}
.hero .hero-inner { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .morph-digit > span, .ghost-2027 { transition: none; }
}

.hero .eyebrow {
  color: #ffd99e;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, Cambria, serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.88;
  max-width: 8ch;
  margin-bottom: 24px;
}

h2 {
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button.primary {
  background: #fffaf0;
  color: var(--ink);
  border-color: #fffaf0;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: -70px auto 80px;
  position: relative;
  z-index: 3;
}

.summary-band,
.backstory,
.split,
.map-section,
.weather,
.schedule,
.howto,
.live,
.photos,
.done,
.join,
.sources {
  margin-bottom: 28px;
}

/* The finished day, in the site's own dark ink rather than on paper — it is a
   result, not another section of the plan. */
.done {
  border-radius: 8px;
  padding: 30px clamp(20px, 4vw, 36px);
  background: var(--ink);
  color: #f4efe2;
  box-shadow: var(--shadow);
}

.done .eyebrow { color: var(--sun); }

.done h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  text-wrap: balance;
}

.done p { max-width: 64ch; color: #d8dedb; }

.done-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  margin: 22px 0 24px;
  background: rgba(244, 239, 226, 0.18);
  border: 1px solid rgba(244, 239, 226, 0.18);
}

.done-figures div { background: var(--ink); padding: 12px 14px; }

.done-figures dt {
  margin: 0 0 3px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fada7;
}

.done-figures dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 600;
}

.done-cta {
  display: inline-block;
  background: var(--forest);
  border-color: var(--forest);
  color: #fffaf0;
}

/* The paper's story as a clipping beside the day's result: sun-edged card with
   label, headline and masthead. The whole card is the link. */
.press-clip {
  display: block;
  width: fit-content;
  max-width: 52ch;
  margin-top: 20px;
  padding: 14px 18px 13px;
  border: 1px solid rgba(244, 239, 226, 0.18);
  border-left: 3px solid var(--sun);
  border-radius: 0 6px 6px 0;
  text-decoration: none;
  color: #d8dedb;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.press-clip:hover,
.press-clip:focus-visible {
  background: rgba(244, 239, 226, 0.07);
  border-color: rgba(244, 239, 226, 0.34);
  border-left-color: var(--sun);
}

.press-clip-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
}

.press-clip-title {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f4efe2;
  text-wrap: balance;
}

.press-clip:hover .press-clip-title { text-decoration: underline; text-underline-offset: 3px; }

.press-clip-src {
  display: block;
  font-size: 0.78rem;
  color: #9fada7;
}

.history-replay { font-weight: 800; color: var(--forest); }

/* The day is the reason to visit now, so its nav link is filled rather than
   outlined — the one entry in the bar that is a destination, not a heading. */
.topbar .nav-done {
  background: var(--forest);
  border-color: var(--forest);
  color: #fffaf0;
  font-weight: 800;
}

.topbar .nav-done:hover { background: var(--ink); border-color: var(--ink); }

/* Two calls in the bar, and they are not the same call. "Se ajettiin" is where
   everyone goes, so it keeps the filled pill; this one asks something of the
   few people who rode, so it is marked but quieter — a second filled button
   beside the first would only dilute both. */
.topbar .nav-mine {
  border-color: var(--sun);
  color: #ffe4bd;
  font-weight: 800;
}

.topbar .nav-mine:hover { background: var(--sun); border-color: var(--sun); color: #2a1d0c; }

.hero-date {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.hero-countdown {
  color: #ffd99e;
  font-weight: 800;
  margin-bottom: 0;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.summary-band article,
.panel,
.backstory,
.map-section,
.weather,
.schedule,
.howto,
.live,
.photos,
.join,
.sources {
  background: rgba(255, 250, 240, 0.94);
}

.howto {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

/* The number sits in column one; title and copy both belong in column two, or
   the copy falls into the 38px counter column and wraps one word per line. */
.steps li strong,
.steps li span {
  grid-column: 2;
}

.steps li::before {
  content: counter(step);
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: #fffaf0;
  font-weight: 800;
}

.steps strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.steps span {
  color: var(--muted);
}

.route-gpx {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.schedule {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.schedule-table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.schedule-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 10px 10px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-table td {
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.schedule-table td small {
  display: block;
  color: var(--muted);
  white-space: normal;
}

.schedule-lap {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fffaf0;
  font-weight: 800;
  font-size: 0.85rem;
}

.schedule-table tr:last-child .schedule-lap {
  background: var(--clay);
}

.schedule-cutoff {
  color: var(--clay);
  font-weight: 800;
}

.schedule-weather {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-icon,
.weather-big-icon {
  font-size: 1.3rem;
}

.weather-figures small {
  display: block;
  color: var(--muted);
}

.weather-pending {
  color: var(--muted);
}

.weather-main {
  display: grid;
  gap: 16px;
}

.weather-headline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-big-icon {
  font-size: 2.6rem;
}

.weather-headline small {
  display: block;
  color: var(--muted);
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.weather-stats div {
  background: var(--panel);
  padding: 10px 12px;
}

.weather-stats span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.weather-stats strong {
  font-size: 1.05rem;
}

.weather-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
}

.weather-hour {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
  text-align: center;
}

.weather-hour-time {
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
}

.weather-hour-icon {
  display: block;
  font-size: 1.4rem;
  margin: 2px 0;
}

.weather-hour small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.live {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.live .button {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  display: inline-block;
  text-decoration: none;
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.live-state {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.live-state.is-live::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--clay);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.live-stats {
  margin: 16px 0 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.live-stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--panel);
  padding: 10px 12px;
}

.live-stats dt {
  color: var(--muted);
}

.live-stats dd {
  margin: 0;
  font-weight: 800;
}

.live-marker .live-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
  border: 3px solid #fffaf0;
  box-shadow: 0 2px 8px rgba(24, 49, 45, 0.35);
}

.live-marker.is-primary .live-dot {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 4px rgba(183, 78, 55, 0.28);
}

.rider-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rider-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.rider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

.rider-list small {
  margin-left: auto;
  color: var(--muted);
}

/* Photos are the one section that grows all day, so it is a single column: the
   grid below it has to be able to run the full width. */
.photos {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.photos-head {
  max-width: 62ch;
}

.photo-form {
  display: grid;
  gap: 6px;
  max-width: 460px;
  margin: 20px 0 4px;
}

.photo-form label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--muted);
  margin-top: 8px;
}

.photo-form input[type="text"] {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.file-picker {
  position: relative;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  cursor: pointer;
  overflow: hidden;
}
.file-picker input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-picker:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }

.form-help,
.file-name,
.send-summary {
  margin: 2px 0 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.form-help a { font-weight: 700; }
.file-name { font-weight: 700; }
.send-summary {
  padding: 10px 12px;
  border-left: 3px solid var(--sun);
  background: rgba(216, 139, 47, 0.08);
  color: var(--ink);
}

.photo-form button {
  margin-top: 14px;
  justify-self: start;
  cursor: pointer;
}

/* `.button.primary` is cream with dark text. That works over the hero photo and
   inside the dark "Se ajettiin" card, where it is the brightest thing on a dark
   ground. On a pale panel it becomes cream on cream with a cream border, and a
   control that a person reads instead of pressing — which is what happened to
   both form buttons on this page.
   
   Scoped by surface rather than by form, so the next primary button dropped
   into a light section is right without anyone remembering this. Two classes
   plus the section beat the base rule's two classes. */
.photos .button.primary,
.join .button.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #fffaf0;
  font-weight: 800;
  padding: 13px 22px;
}

.photos .button.primary:hover,
.join .button.primary:hover { background: var(--ink); border-color: var(--ink); }

.photo-form button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.photo-form button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.photo-message {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest);
  min-height: 1.2em;
}

.photo-message.is-error {
  color: var(--clay);
}

.photo-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.photo-post {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* One photo fills the card; two to four share it as a grid, so a post is always
   the same size in the feed no matter how many photos it carries. */
.photo-shots {
  display: grid;
  gap: 2px;
  background: var(--line);
}

.photo-shots-2 { grid-template-columns: 1fr 1fr; }
.photo-shots-3,
.photo-shots-4 { grid-template-columns: 1fr 1fr; }

.photo-open {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-shots-1 .photo-open img {
  aspect-ratio: 3 / 2;
}

.photo-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 12px 14px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.photo-caption {
  margin: 4px 14px 14px;
  font-size: 0.95rem;
}

.photo-closed {
  margin-top: 18px;
}

/* A share arrives with the phone already in the rider's hand, so the result has
   to be readable at arm's length rather than tucked into a status line. */
.photo-shared {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--forest);
  background: rgba(47, 125, 87, 0.08);
  font-weight: 700;
}

.photo-shared.is-error {
  border-left-color: var(--clay);
  background: rgba(183, 78, 55, 0.08);
}

.photo-pending {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.photo-pending img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.join {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.join-form {
  display: grid;
  gap: 6px;
}

.join-form label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--muted);
  margin-top: 8px;
}

.join-form input {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.join-form button {
  margin-top: 16px;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffaf0;
}

.join-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Field and its paste button read as one control. */
.join-link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.join-link-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.paste-button {
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fffaf0;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Pressed at 05:15 with gloves on, so it stays big enough to hit. */
.join-submit {
  margin-top: 18px;
  min-height: 56px;
  font-size: 1.05rem;
}

.help-toggle {
  font: inherit;
  font-weight: 800;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.help-toggle[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffaf0;
}

.join-note {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.paste-button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.join-status {
  margin: 4px 0 0;
  font-weight: 800;
  min-height: 1.2em;
}

.join-status.is-live { color: var(--forest); }
.join-status.is-warning { color: var(--clay); }
.join-status.is-error { color: var(--clay); }

.join-secondary {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.linkish {
  font: inherit;
  font-size: 0.88rem;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.join-message {
  margin: 12px 0 0;
  color: var(--forest);
  font-weight: 800;
  min-height: 1.2em;
}

.join-message.is-error {
  color: var(--clay);
}

.summary-band article {
  padding: 24px;
}

.summary-band span,
.route-card small,
.route-card em,
.place-list span,
.totals,
.note {
  color: var(--muted);
}

/* The wheel's calling card: a little rendered kiekko beside its button, so the
   link shows what it promises instead of describing it. */
/* The quiet next-year pointer above the footer: one line, centered, no card. */
.next-year { text-align: center; padding: 6px 20px 2px; }

.wheel-peek {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.wheel-peek img {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.summary-band strong {
  display: block;
  font-size: 1.35rem;
  margin: 6px 0;
}

.summary-band p {
  margin: 0;
}

.backstory {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 28px 32px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

/* The two old attempts sit under both columns: they are evidence for the copy
   above, not a third topic. */
.backstory .history-list {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.relive-copy a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
}

.relive-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 801;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}

.relive-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1.22fr);
  gap: 28px;
  align-items: start;
}

.section-copy {
  padding: 18px 0;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.route-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 0 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(36, 51, 42, 0.08);
}

.route-select {
  appearance: none;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.route-select:focus-visible { outline: 3px solid var(--forest); outline-offset: -4px; }

.route-card.is-active {
  border-color: var(--forest);
  outline: 3px solid rgba(47, 125, 87, 0.18);
}

.route-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fffaf0;
  font-weight: 800;
}

.route-card strong,
.route-card small,
.route-card em {
  display: block;
}

.route-card .route-gpx { margin: 0 14px 0 72px; }

.route-card small {
  margin: 4px 0 8px;
}

.route-card em {
  font-style: normal;
}

.map-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.map-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

#map {
  min-height: 640px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.place-marker {
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf0;
  border: 2px solid #fffaf0;
  box-shadow: 0 8px 18px rgba(24, 49, 45, 0.22);
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
}

.place-marker.shop {
  background: var(--clay);
}

.place-marker.sauna,
.place-marker.sauna-venue {
  background: var(--sun);
  color: var(--ink);
}

.place-marker.cafe-kiosk,
.place-marker.cafe {
  background: var(--water);
}

.support {
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
}

.history-list {
  display: grid;
  gap: 12px;
}

.history-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 18px;
  text-align: left;
  cursor: pointer;
}

.history-card.is-active {
  border-color: var(--ink);
  outline: 3px solid rgba(24, 49, 45, 0.16);
}

.history-card strong,
.history-card small,
.history-card span,
.history-card a {
  display: block;
}

.history-card small,
.history-card span {
  color: var(--muted);
  margin-top: 6px;
}

.history-card a {
  margin-top: 12px;
  font-weight: 800;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(36, 51, 42, 0.1);
}

.place-list,
.sources ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.place-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.place-list li.has-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.place-logo {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.place-body {
  display: block;
}

.partner {
  margin-bottom: 22px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.partner-card img {
  flex: none;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.partner-card small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--sun);
}

.partner-card strong {
  display: block;
  font-size: 1.15rem;
  margin: 3px 0 5px;
}

.partner-card em {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.logo-marker {
  background: #fffaf0;
  border-radius: 50%;
  border: 2px solid var(--ink);
  padding: 3px;
  box-shadow: 0 6px 16px rgba(24, 49, 45, 0.25);
}

.place-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.place-list strong,
.place-list span {
  display: block;
}

.place-list span {
  margin-top: 4px;
}

.weather {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.weather-links {
  display: grid;
  gap: 10px;
}

.weather-links a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
}

.sources {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.sources li {
  margin: 8px 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .summary-band,
  .backstory,
  .split,
  .schedule,
  .howto,
  .live,
  .join,
  .weather {
    grid-template-columns: 1fr;
  }

  .route-list {
    grid-template-columns: 1fr;
  }

  .map-header {
    display: block;
  }

  #map {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  /* Side by side the button squeezes the field to nothing on a narrow phone. */
  .join-link-row {
    flex-direction: column;
  }

  .paste-button {
    min-height: 52px;
  }
}

@media (max-width: 620px) {
  /* On a phone the bar wraps to three rows and, positioned over the content,
     covered the first lines of the hero. In the flow it pushes them down
     instead — and the third language button made it taller still. */
  .hero {
    min-height: 680px;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
  }

  .topbar { display: none; }

  .mobile-archive-nav {
    display: block;
    position: relative;
    z-index: 4;
    width: min(100% - 28px, 460px);
    margin: 0 auto;
    color: #fffaf0;
  }

  .mobile-archive-nav summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 250, 240, 0.55);
    border-radius: 999px;
    background: rgba(24, 49, 45, 0.68);
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-archive-nav summary::-webkit-details-marker { display: none; }
  .mobile-archive-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(24, 49, 45, 0.96);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  }

  .mobile-archive-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    color: #fffaf0;
    text-align: center;
    text-decoration: none;
    font-weight: 750;
  }

  .mobile-archive-nav a:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; }

  .schedule-table-wrap { overflow: visible; }
  .schedule-table, .schedule-table tbody { display: block; }
  .schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .schedule-table tr {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 12px 16px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
  }
  .schedule-table td {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .schedule-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .schedule-table td:first-child { grid-row: span 2; }
  .schedule-table .schedule-weather { display: grid; }

  .hero-inner {
    margin: auto 0;
    padding-top: 12px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  main {
    width: min(100% - 20px, 1180px);
  }

  .summary-band article,
  .backstory,
  .map-section,
  .weather,
  .schedule,
  .howto,
  .live,
  .join,
  .panel {
    padding: 18px;
  }
}

/* Footer disclaimer. Deliberately quiet: it has to be findable and readable,
   but it is not the reason anyone opened the page. */
.disclaimer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.disclaimer h2 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.disclaimer ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.disclaimer li {
  margin: 6px 0;
}

/* The language switcher restyled for paper pages: the hero version assumes a
   dark photograph behind it, and white-on-cream is nothing at all. */
.doc-lang {
  float: right;
  margin: 4px 0 12px 16px;
  border-color: var(--line);
  background: transparent;
  backdrop-filter: none;
}

.doc-lang button {
  color: var(--muted);
  background: transparent;
  backdrop-filter: none;
}

.doc-lang button.is-active {
  background: var(--ink);
  color: var(--paper, #fbf7ee);
}

/* Two quiet document links: the reviewed packing list and the architecture
   page. Small on purpose — they are for the curious, not for event day. */
.footer-docs {
  margin: 18px 0 14px;
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-docs a {
  color: var(--muted);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.footer-docs a:hover { color: var(--ink); }

/* Sits directly under the document links, so it reads as a second row of the
   same list rather than a new block. */
.footer-riders { margin-top: -6px; align-items: baseline; }
.footer-riders > span:first-child { color: var(--muted); }

.build-tag {
  margin: 0 0 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.6;
}

.disclaimer-ai {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.disclaimer-emergency {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--clay);
  background: rgba(183, 78, 55, 0.06);
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------ fence --
   A portrait video beside its own explanation: side by side where there is
   room, stacked where there is not. The video is capped by height rather than
   width, because a phone-shaped video given a full column becomes a wall. */
.fence {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  border-radius: 8px;
  padding: 30px clamp(20px, 4vw, 36px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.fence h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); text-wrap: balance; }
.fence p { margin: 0; max-width: 54ch; }

.fence-video {
  display: block;
  width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  background: #101614;
  box-shadow: 0 10px 30px rgba(36, 51, 42, 0.22);
}

@media (max-width: 760px) {
  .fence { grid-template-columns: 1fr; }
  .fence-video { max-height: 60vh; justify-self: center; max-width: 340px; }
}

/* --------------------------------------------------------- a single subject --
   One page, one thing on it. No hero photograph: the subject is the pictures,
   and a second image above them would only be in the way. */
.page-plain { background: var(--paper); }

.single {
  width: min(760px, calc(100% - 32px));
  margin: clamp(28px, 6vw, 64px) auto 72px;
}

.single-title {
  font-family: Georgia, Cambria, serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 14ch;
  text-wrap: balance;
}

.single-lead { max-width: 60ch; }

/* The pictures are the whole subject, so the video gets as much room as the
   screen has. Capped by viewport height as well as width: a 3:4 video given a
   620 px column is 827 px tall, which on a laptop means scrolling to see the
   bottom of the thing you came to watch. */
.single-video {
  display: block;
  width: 100%;
  max-width: min(620px, 100%);
  max-height: 78vh;
  height: auto;
  margin: 28px auto 12px;
  border-radius: 8px;
  background: #101614;
  box-shadow: var(--shadow);
}

/* The one photograph on a subject page: both riders in it, so it carries a
   caption that says who is who. The caption is the reason the image is wrapped
   in a figure at all. */
.single-figure {
  margin: 8px 0 22px;
  max-width: 100%;
}

.single-figure .single-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.single-figure figcaption {
  margin-top: 10px;
  max-width: 60ch;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.fence-table {
  border-collapse: collapse;
  margin: 26px 0 32px;
  font-variant-numeric: tabular-nums;
}

.fence-table caption {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}

.fence-table th,
.fence-table td { padding: 7px 26px 7px 0; text-align: left; border-bottom: 1px solid var(--line); }
.fence-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.fence-table .is-finale td { font-weight: 800; border-bottom: 0; }

/* The two numbers on /nrd. Side by side on anything wider than a phone,
   stacked below — they are read as a pair either way. */
.nrd-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 28px 0 30px;
}

.nrd-counter {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.nrd-n {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--forest);
}

.nrd-counter.is-done .nrd-n { color: var(--muted); }

.nrd-label {
  padding-top: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

.nrd-sub {
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.nrd-table { margin-bottom: 10px; }

/* What the vendor actually returned. Boxed rather than run into the prose,
   because it is evidence and should read as quoted, not as claim. */
.nrd-verdict {
  margin: 22px 0 8px;
  border-left: 3px solid var(--forest);
  padding: 4px 0 4px 16px;
  display: grid;
  gap: 8px;
}

.nrd-verdict dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nrd-verdict dd { margin: 2px 0 0; font-size: 0.95rem; }

.single-links { display: flex; gap: 12px; flex-wrap: wrap; }

.single-links .button.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #fffaf0;
  font-weight: 800;
}

.single-links .button {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
