/* ─── Design tokens ─── */
:root {
  --navy: #0a1628;
  --navy-light: #132038;
  --dark-blue: #1a2d4a;
  --white: #f8f9fb;
  --black: #050508;
  --muted: rgba(248, 249, 251, 0.55);
  --glow: rgba(248, 249, 251, 0.35);
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── Subpage header ─── */
.subpage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}

.subpage-header > * { pointer-events: auto; }

/* keep social icons in the right column even when a page has no logo */
.subpage-header .social-links { grid-column: 3; }

.back-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: transform var(--transition), opacity var(--transition);
}

.back-arrow:hover {
  transform: translateX(-4px);
  opacity: 0.75;
}

.back-arrow svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  stroke-width: 1.5;
  fill: none;
}

.header-logo {
  justify-self: center;
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-self: end;
  align-items: center;
}

.social-links a {
  display: flex;
  opacity: 0.6;
  transition: opacity var(--transition), transform var(--transition);
}

.social-links a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* ─── Home page ─── */
body[data-page="home"] {
  background: var(--navy);
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
}

.home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.home-cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: blur(52px);
}

.home.is-cursor-active .home-cursor-glow {
  opacity: 0.55;
}

.cursor-blob {
  position: absolute;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.cursor-blob--1 {
  width: clamp(220px, 28vw, 360px);
  height: clamp(180px, 22vw, 280px);
  border-radius: 58% 42% 64% 36% / 48% 58% 42% 52%;
  background: radial-gradient(
    ellipse at 38% 32%,
    rgba(145, 172, 215, 0.15) 0%,
    rgba(90, 118, 165, 0.05) 55%,
    transparent 78%
  );
  animation: blob-morph-a 9s ease-in-out infinite;
}

.cursor-blob--2 {
  width: clamp(190px, 24vw, 300px);
  height: clamp(240px, 30vw, 380px);
  border-radius: 42% 58% 38% 62% / 62% 38% 58% 42%;
  background: radial-gradient(
    ellipse at 55% 45%,
    rgba(110, 140, 190, 0.12) 0%,
    rgba(65, 92, 138, 0.04) 50%,
    transparent 80%
  );
  animation: blob-morph-b 11s ease-in-out infinite;
}

.cursor-blob--3 {
  width: clamp(160px, 20vw, 260px);
  height: clamp(200px, 26vw, 320px);
  border-radius: 65% 35% 52% 48% / 44% 56% 36% 64%;
  background: radial-gradient(
    ellipse at 42% 58%,
    rgba(125, 152, 200, 0.1) 0%,
    rgba(75, 102, 150, 0.035) 52%,
    transparent 76%
  );
  animation: blob-morph-c 8s ease-in-out infinite;
}

@keyframes blob-morph-a {
  0%, 100% { border-radius: 58% 42% 64% 36% / 48% 58% 42% 52%; }
  50% { border-radius: 44% 56% 40% 60% / 58% 42% 62% 38%; }
}

@keyframes blob-morph-b {
  0%, 100% { border-radius: 42% 58% 38% 62% / 62% 38% 58% 42%; }
  50% { border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%; }
}

@keyframes blob-morph-c {
  0%, 100% { border-radius: 65% 35% 52% 48% / 44% 56% 36% 64%; }
  50% { border-radius: 38% 62% 48% 52% / 55% 45% 60% 40%; }
}

.home-header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 4;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  pointer-events: none;
}

.home-header .social-links {
  pointer-events: auto;
}

.sports-labels {
  position: fixed;
  top: clamp(3.25rem, 7vh, 4.5rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.5rem, 1.4vh, 1rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.sports-labels.is-visible {
  opacity: 1;
  visibility: visible;
}

.sports-label-line {
  display: block;
  min-height: 1.15em;
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-size: clamp(1.35rem, 3.6vh, 2.85rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(248, 249, 251, 0.82);
  white-space: nowrap;
}

.sports-labels.is-long .sports-label-line {
  font-size: clamp(1rem, 2.6vh, 2rem);
  letter-spacing: 0.08em;
}

.sports-label-line.is-typing::after {
  content: '|';
  margin-left: 2px;
  opacity: 0.75;
  animation: type-cursor 0.75s step-end infinite;
}

.home-footer {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.3rem, 0.8vh, 0.55rem);
  pointer-events: none;
}

.home-footer-line {
  display: block;
  min-height: 1.1em;
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-size: clamp(0.55rem, 1.1vh, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(248, 249, 251, 0.5);
  white-space: nowrap;
}

.home-footer-line.is-typing::after {
  content: '|';
  margin-left: 2px;
  opacity: 0.75;
  animation: type-cursor 0.75s step-end infinite;
}

.home-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.65rem, 2vh, 1.5rem);
  padding-left: clamp(0.5rem, 1.2vw, 1rem);
  max-height: 100vh;
  box-sizing: border-box;
}

.nav-btn {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  --btn-size: clamp(2.25rem, 7.8vh, 7.5rem);
  font-size: var(--btn-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  transform-origin: left center;
  line-height: 0.98;
  opacity: 1;
  transition:
    font-size 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
    color 0.45s ease,
    opacity 0.45s ease,
    text-shadow 0.45s ease,
    filter 0.45s ease;
}

.nav-btn.is-dimmed {
  opacity: 0.42;
  filter: brightness(0.7);
}

.nav-btn.is-hover-active {
  font-size: calc(var(--btn-size) * 1.5);
  color: #ffffff;
  filter: brightness(1.22);
  text-shadow:
    0 0 18px rgba(248, 249, 251, 0.42),
    0 2px 14px rgba(0, 0, 0, 0.3);
}

.nav-btn.is-hover-active.is-flickering {
  animation: nav-btn-flicker 0.9s ease-in-out infinite;
}

.nav-btn.is-typing::after {
  content: '|';
  margin-left: 2px;
  opacity: 0.75;
  animation: type-cursor 0.75s step-end infinite;
}

@keyframes type-cursor {
  50% { opacity: 0; }
}

@keyframes nav-btn-flicker {
  0%, 100% {
    filter: brightness(1.22);
    text-shadow:
      0 0 18px rgba(248, 249, 251, 0.42),
      0 2px 14px rgba(0, 0, 0, 0.3);
  }
  50% {
    filter: brightness(1.48);
    text-shadow:
      0 0 28px rgba(248, 249, 251, 0.72),
      0 0 48px rgba(248, 249, 251, 0.28),
      0 2px 14px rgba(0, 0, 0, 0.25);
  }
}

/* ─── Spotlight modal (shared) ─── */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
}

.spotlight-overlay.active {
  opacity: 1;
  visibility: visible;
}

.spotlight-overlay img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.spotlight-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.spotlight-close:hover { opacity: 1; }

/* ─── Sports page (flex accordion) ─── */
.page-sports {
  background: #0b0f14;
  min-height: 100vh;
  overflow: hidden;
  font-family: var(--font);
}

.subpage-header--sports {
  grid-template-columns: 80px 1fr auto;
}

.sports-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.sports-corner {
  position: absolute;
  z-index: 10;
  display: flex;
  width: clamp(72px, 12vw, 140px);
  height: clamp(72px, 12vw, 140px);
  pointer-events: none;
}

.sports-corner--tl { top: 0; left: 0; align-items: flex-start; justify-content: flex-start; }
.sports-corner--tr { top: 0; right: 0; align-items: flex-start; justify-content: flex-end; }
.sports-corner--bl { bottom: 0; left: 0; align-items: flex-end; justify-content: flex-start; }
.sports-corner--br { bottom: 0; right: 0; align-items: flex-end; justify-content: flex-end; }

.sports-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  justify-self: center;
  user-select: none;
}

.sports-counter__edge {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(248, 249, 251, 0.28);
  font-variant-numeric: tabular-nums;
}

.sports-counter__current {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(248, 249, 251, 0.92);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}

.sports-counter__rail {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.sports-counter__tick {
  display: block;
  width: 1px;
  height: 5px;
  border-radius: 1px;
  background: rgba(248, 249, 251, 0.14);
  transition: height 0.25s ease, background 0.25s ease;
}

.sports-counter__tick.is-lit {
  height: 9px;
  background: rgba(248, 249, 251, 0.5);
}

.sports-counter__rail .sports-counter__tick:last-child.is-lit {
  height: 12px;
  background: rgba(248, 249, 251, 0.72);
}

.sports-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2rem;
  opacity: 0;
  transition: opacity 0.45s ease;
}

body.sports-ready .sports-stage {
  opacity: 1;
}

.sports-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f14;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.sports-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sports-loader__value {
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(248, 249, 251, 0.94);
  font-variant-numeric: tabular-nums;
}

body.page-sports:not(.sports-ready) .sports-viewport {
  pointer-events: none;
}

.sports-viewport {
  width: min(92vw, 1200px);
  height: 100%;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
}

.sports-track {
  display: flex;
  align-items: center;
  height: 100%;
  will-change: transform;
}

.sports-accordion {
  display: flex;
  width: max-content;
  height: min(52vh, 460px);
  gap: 3px;
}

.sports-slice {
  position: relative;
  flex: 0 0 var(--slice-w, 52px);
  width: var(--slice-w, 52px);
  height: 100%;
  border-radius: var(--slice-radius, 10px);
  background-color: #141a22;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
}

.sports-slice::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #e8e8ec;
  mix-blend-mode: saturation;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.sports-slice:hover::after,
.sports-slice.is-active::after {
  opacity: 1;
}

.sports-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(5, 8, 12, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  cursor: pointer;
}

.sports-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.sports-lightbox__frame {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: min(94vw, 1400px);
  cursor: default;
}

.sports-lightbox__frame img {
  display: block;
  max-width: min(calc(100vw - 10rem), 1400px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
}

/* Arrows sit fixed at the middle of the left and right screen edges */
.sports-lightbox__nav {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sports-lightbox__nav .sports-lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

#sports-lightbox-prev { left: clamp(0.75rem, 2.5vw, 2rem); }
#sports-lightbox-next { right: clamp(0.75rem, 2.5vw, 2rem); }

.sports-lightbox__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.08);
  border: 1px solid rgba(248, 249, 251, 0.14);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sports-lightbox__btn:hover {
  background: rgba(248, 249, 251, 0.14);
  border-color: rgba(248, 249, 251, 0.28);
}

.sports-lightbox__btn svg {
  width: 22px;
  height: 22px;
  stroke: rgba(248, 249, 251, 0.85);
  stroke-width: 1.5;
  fill: none;
}

body.sports-lightbox-open {
  overflow: hidden;
}

body.sports-lightbox-open .sports-viewport {
  pointer-events: none;
}

@media (max-width: 768px) {
  .subpage-header--sports {
    grid-template-columns: 48px 1fr auto;
    padding: 1rem;
  }

  .sports-counter {
    gap: 0.4rem;
  }

  .sports-counter__current {
    font-size: 0.9rem;
  }

  .sports-viewport {
    width: 96vw;
  }

  .sports-accordion {
    height: min(46vh, 380px);
  }

  .sports-lightbox__btn {
    width: 44px;
    height: 44px;
  }

  .sports-lightbox__frame img {
    max-width: calc(100vw - 7rem);
  }
}

/* ─── Family page ─── */
.page-family {
  background: var(--navy);
  padding: 100px 1.5rem 4rem;
  min-height: 100vh;
}

.masonry {
  columns: 1;
  column-gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  will-change: transform;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img {
  transform: scale(1.04);
}

/* ─── Community page ─── */
.page-community {
  --community-tone: #0c0e12;
  background-color: var(--community-tone);
  transition: background-color 1.1s ease;
  min-height: 100vh;
}

/* the fixed header gets a soft fade so it stays readable over photos */
.page-community .subpage-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
}

.community {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 6rem;
}

.community-intro {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 4rem;
}

.community-title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #f4f2ef;
  margin-left: -0.04em;
}

.community-chapter {
  display: grid;
  grid-template-columns: minmax(200px, 290px) 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  scroll-margin-top: 4rem;
}

.community-chapter__head {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.community-chapter__title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.05;
  overflow-wrap: break-word;
  letter-spacing: -0.02em;
  color: #f4f2ef;
}

.community-chapter__count {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(244, 242, 239, 0.45);
}

.community-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.community-row {
  display: flex;
  gap: 10px;
}

.community-photo {
  flex: var(--a) 1 0;
  aspect-ratio: var(--a);
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  cursor: zoom-in;
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.35s ease;
}

.community-photo.is-loaded img {
  opacity: 1;
}

.community-photo:focus-visible {
  outline: 2px solid #f4f2ef;
  outline-offset: 3px;
}

/* hovering one photo quietly dims the rest of its chapter */
@media (hover: hover) {
  .community-rows:hover .community-photo:not(:hover) img {
    filter: brightness(0.5) saturate(0.7);
  }
}

.community-lightbox__caption {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(244, 242, 239, 0.6);
  white-space: pre;
  pointer-events: none;
}

@media (max-width: 820px) {
  .community-intro {
    min-height: 40vh;
    padding: 6rem 0 2.5rem;
  }

  .community-chapter {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 3rem 0;
  }

  .community-chapter__head {
    position: static;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }

  .community-chapter__count {
    margin-top: 0;
  }

  .community-rows,
  .community-row {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-community,
  .community-photo img {
    transition: none;
  }
}

/* ─── Nature & Cities page ─── */
.page-nature {
  background-color: #1d2932;
  min-height: 100vh;
}

.nature-scroll {
  position: relative;
}

.nature-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nature-strip {
  --h: min(70vh, 760px);
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding: 0 30vw 0 clamp(1.5rem, 5vw, 5rem);
  will-change: transform;
}

.nature-intro {
  flex: none;
  width: min(40vw, 600px);
}

.nature-title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #f4f2ef;
}

.nature-hint {
  margin-top: 1.5rem;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(244, 242, 239, 0.6);
}

.nature-photo {
  flex: none;
  height: var(--h);
  aspect-ratio: var(--a);
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
}

.nature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.nature-photo.is-loaded img {
  opacity: 1;
}

.nature-photo:focus-visible {
  outline: 2px solid #f4f2ef;
  outline-offset: 4px;
}

/* the day as a thin color line, with a dot for where you are */
.nature-rail {
  position: fixed;
  left: clamp(1.5rem, 5vw, 5rem);
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  height: 2px;
  z-index: 50;
  pointer-events: none;
}

.nature-rail__bar {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  opacity: 0.75;
}

.nature-rail__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #f4f2ef;
  box-shadow: 0 0 0 4px rgba(244, 242, 239, 0.18);
}

body.sports-lightbox-open .nature-rail {
  opacity: 0;
}

/* phones and short screens: a simple vertical walk through the day */
@media (max-width: 760px), (max-height: 520px) {
  .nature-sticky {
    position: static;
    height: auto;
    overflow: visible;
    display: block;
  }

  .nature-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 7rem 1rem 5rem;
    transform: none !important;
  }

  .nature-intro {
    width: auto;
    padding: 0 0.25rem 1.5rem;
  }

  .nature-title {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .nature-photo {
    width: 100%;
    height: auto;
  }

  .nature-rail {
    display: none;
  }
}

/* ─── Merch page ─── */
/* The page is split into the two shirt colors: a black lookbook, then cream. */
.page-merch {
  --merch-black: #0d0d0e;
  --merch-cream: #ece6da;
  --merch-ink: #1b1915;
  background: var(--merch-black);
  min-height: 100vh;
}

/* header icons stay visible on both the black and the cream half */
.page-merch .subpage-header {
  mix-blend-mode: difference;
}

.merch-look {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem clamp(1rem, 3vw, 2.5rem) clamp(4rem, 8vw, 7rem);
}

.merch-look__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.merch-title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: #f4f2ef;
  margin-left: -0.04em;
}

.merch-colors {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
  color: rgba(244, 242, 239, 0.7);
}

.merch-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 239, 0.45);
}

.merch-swatch--black { background: #000; }
.merch-swatch--cream { background: var(--merch-cream); margin-left: 0.9rem; }

.merch-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(127, 127, 127, 0.12);
  cursor: zoom-in;
}

.merch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.merch-photo.is-loaded img {
  opacity: 1;
}

.merch-photo:focus-visible {
  outline: 2px solid #f4f2ef;
  outline-offset: 3px;
}

.merch-hero .merch-photo {
  aspect-ratio: var(--a);
}

/* lookbook: one large portrait beside a 2×2 of the others */
.merch-lookbook {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.merch-lookbook .merch-photo {
  aspect-ratio: 2 / 3;
}

.merch-lookbook .merch-photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* in the wild: the cream half */
.merch-wild {
  background: var(--merch-cream);
  color: var(--merch-ink);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2.5rem) clamp(4rem, 8vw, 6rem);
}

.merch-wild__head,
.merch-grid {
  max-width: 1280px;
  margin: 0 auto;
}

.merch-wild__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.merch-wild__text {
  padding: 0 clamp(0rem, 2vw, 2rem) clamp(0.5rem, 2vw, 1.5rem) 0;
}

.merch-wild__title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.merch-wild__note {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(27, 25, 21, 0.7);
}

.merch-wild__note a {
  color: var(--merch-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.merch-wild__lead .merch-photo {
  aspect-ratio: var(--a);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.merch-grid .merch-photo {
  aspect-ratio: 3 / 4;
}

.merch-wild .merch-photo:focus-visible {
  outline-color: var(--merch-ink);
}

@media (max-width: 760px) {
  .merch-look {
    padding-top: 6rem;
  }

  .merch-lookbook,
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .merch-lookbook {
    margin-top: 6px;
  }

  .merch-wild__head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 6px;
  }

  .merch-wild__text {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merch-photo img { transition: none; }
}

/* ─── Contact page ─── */
.page-contact {
  background: var(--navy);
  min-height: 100vh;
}

.contact {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 16vh, 10rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
}

.contact-title {
  font-family: 'Syne', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #f4f2ef;
  margin-left: -0.04em;
}

.contact-intro {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(244, 242, 239, 0.65);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-field {
  display: grid;
  gap: 0.5rem;
}

.contact-field span {
  font-size: 0.9rem;
  color: rgba(244, 242, 239, 0.7);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #f4f2ef;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.55;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(244, 242, 239, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.contact-send {
  justify-self: start;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: #f4f2ef;
  color: #0a1628;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-send:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.contact-send:focus-visible {
  outline: 2px solid #f4f2ef;
  outline-offset: 3px;
}

.contact--sent .contact-send {
  margin-top: 2.5rem;
}

.contact-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: rgba(244, 242, 239, 0.7);
}

/* hidden field that only spam bots fill in */
.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Utilities ─── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 600px) {
  .subpage-header {
    grid-template-columns: 56px 1fr 56px;
    padding: 1rem;
  }

  .header-logo { height: 28px; }
}
