/* Secret City Golf: one-page site, version 3 */

:root {
  /* Brand colors */
  --heron: #3A3C3D;
  --magnolia: #F0EDE7;
  --peach: #EFB28B;
  --chill: #9BD8D3;
  --dolphin: #656B6F;

  /* Fonts: swap families here */
  --font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --font-type: "Special Elite", "Courier New", Courier, monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: 1.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 7rem;
}

/* Motion can be turned off by the visitor's device or by the switch in the footer.
   The script in the page head puts the class "still" on the page when it should hold still. */
html:not(.still) {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--heron);
  background-image: radial-gradient(circle at center, rgba(240, 237, 231, 0.05) 1.5px, transparent 2px);
  background-size: 22px 22px;
  color: var(--magnolia);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--chill);
}

:focus-visible {
  outline: 3px solid var(--chill);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The tilted strip is wider than the page. Clip it so the page never scrolls sideways. */
main {
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -5rem;
  z-index: 100;
  background: var(--peach);
  color: var(--heron);
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.6rem;
}

/* Classification banner, top and bottom of the page */
.banner {
  margin: 0;
  padding: 0.4rem 1rem 0.25rem;
  background: var(--peach);
  color: var(--heron);
  font-family: var(--font-type);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 34rem) {
  .banner {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .banner-wide {
    display: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--heron);
  border-bottom: 3px solid var(--peach);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 0.55rem 0.75rem;
}

.header-logo img {
  display: block;
  width: 11.5rem;
  height: auto;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons: chunky, with a hard offset shadow like the logo lettering */
.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem 0.7rem;
  border: 2px solid transparent;
  border-radius: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
  background: var(--peach);
  color: var(--heron);
  box-shadow: 5px 5px 0 var(--chill);
}

.btn-ghost {
  background: var(--heron);
  color: var(--magnolia);
  border-color: var(--chill);
  box-shadow: 5px 5px 0 var(--peach);
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn-primary:hover {
  box-shadow: 8px 8px 0 var(--chill);
}

.btn-ghost:hover {
  box-shadow: 8px 8px 0 var(--peach);
}

.btn:active {
  transform: translate(3px, 3px);
}

.btn-primary:active {
  box-shadow: 2px 2px 0 var(--chill);
}

.btn-ghost:active {
  box-shadow: 2px 2px 0 var(--peach);
}

.btn-big {
  padding: 1.05rem 1.6rem 0.95rem;
  font-size: 1.05rem;
}

@media (max-width: 34rem) {
  .header-inner {
    justify-content: center;
  }

  .header-logo img {
    width: 8rem;
  }

  .header-actions {
    width: 100%;
    gap: 0.8rem;
  }

  .header-actions .btn {
    flex: 1 1 8rem;
    padding: 0.65rem 0.5rem 0.55rem;
    font-size: 0.7rem;
  }
}

/* Shared type */
.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.7rem 0.15rem;
  border: 2px solid var(--peach);
  color: var(--peach);
  font-family: var(--font-type);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  rotate: -2deg;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 2.2rem;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1;
  text-shadow: 0.06em 0.06em 0 var(--dolphin);
}

.accent {
  color: var(--peach);
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.3rem, 6.2vw, 4.3rem);
  line-height: 0.98;
}

/* Headline: only the word SECRET is blue with an orange shadow, and only the word OUT is orange with a blue shadow.
   THE and IS stay off-white. */
.h1-line {
  display: block;
  white-space: nowrap;
  color: var(--magnolia);
  text-shadow: 0.06em 0.06em 0 var(--dolphin);
}

.w-secret {
  color: var(--chill);
  text-shadow: 0.06em 0.06em 0 var(--peach);
}

.w-out {
  color: var(--peach);
  text-shadow: 0.06em 0.06em 0 var(--chill);
}

/* Official Powered by Trackman logo, under the Secret City Golf logo and beside the 24/7 badge */
.powered-by {
  position: absolute;
  left: 8%;
  bottom: clamp(0.9rem, 2.4vw, 2rem);
  display: block;
  width: clamp(9.5rem, 46%, 15rem);
  height: auto;
}

.hero-sub {
  max-width: 30rem;
  margin: 0 0 2rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

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

.hero-art {
  position: relative;
}

.atom {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.orbit-line {
  fill: none;
  stroke: var(--chill);
  stroke-width: 5;
}

.electron-chill {
  fill: var(--chill);
}

.electron-peach {
  fill: var(--peach);
}

.ball-gap {
  fill: var(--heron);
}

.ball {
  fill: var(--magnolia);
}

.dimple {
  fill: var(--heron);
}

#dimples {
  animation: spin 80s linear infinite;
}

.ring-text {
  font-family: var(--font-display);
  font-size: 46px;
  letter-spacing: 2px;
  fill: var(--peach);
}

.ring-back {
  opacity: 0.2;
}

.ring-front {
  paint-order: stroke;
  stroke: var(--heron);
  stroke-width: 9px;
  stroke-linejoin: round;
}

.hero-logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero-art {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.spin-badge {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: clamp(6.5rem, 24%, 9rem);
  rotate: -8deg;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.28));
}

.spin-badge svg {
  display: block;
}

.badge-bg {
  fill: var(--peach);
}

.badge-text {
  font-family: var(--font-type);
  font-size: 15px;
  fill: var(--heron);
}

.badge-center {
  font-family: var(--font-display);
  font-size: 62px;
  fill: var(--heron);
}

.badge-spin {
  transform-origin: 100px 100px;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 44rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  /* On small screens give the badge its own room so it does not cover the logo */
  .hero-art {
    padding-bottom: 6rem;
  }

  .spin-badge {
    width: 5.2rem;
  }

  .hero-art {
    width: min(26rem, 100%);
    margin-inline: auto;
  }
}

/* Scrolling strip of services */
.marquee {
  overflow: hidden;
  background: var(--peach);
  color: var(--heron);
  border-block: 3px solid var(--heron);
  transform: rotate(-1.4deg) scale(1.04);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  display: flex;
  align-items: center;
  padding-block: 0.75rem 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 0.62em;
  height: 0.62em;
  margin-inline: 1.3rem;
  border: 3px solid var(--heron);
  border-radius: 50%;
  background: var(--magnolia);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* When motion is off, show the whole list at once instead of a frozen, cut-off strip */
.still .marquee {
  transform: none;
}

.still .marquee-track {
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  padding-inline: 1rem;
}

.still .marquee-track span:nth-child(n + 6) {
  display: none;
}

/* No dot after the last item when the list is standing still */
.still .marquee-track span:nth-child(5)::after {
  display: none;
}

/* Trackman block. Colors and fonts are Trackman's own, from their media kit. */
.trackman {
  position: relative;
  overflow: hidden;
  background: #191919;
  color: #ffffff;
}

/* The photo fills the right side. The left side stays dark so the words never sit on the golfer. */
.trackman-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.trackman::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #191919 0%, #191919 38%, rgba(25, 25, 25, 0.6) 50%, rgba(25, 25, 25, 0) 68%);
}

.trackman-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.5rem, 11vw, 9rem);
}

.trackman-lockup {
  display: block;
  width: clamp(14rem, 30vw, 21rem);
  height: auto;
  margin-bottom: 1.8rem;
}

.trackman h2 {
  max-width: 8.2em;
  margin-bottom: 1.1rem;
  color: #ec691a;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  text-shadow: none;
}

.trackman p {
  max-width: 28rem;
  margin: 0 0 2rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.15rem;
}

.trackman-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* The two Trackman buttons. Trackman's orange, dark gray and Oswald font. Same look wherever they appear. */
.btn-tm,
.btn-tm-ghost {
  padding: 0.7rem 1.2rem;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.btn-tm.btn-big,
.btn-tm-ghost.btn-big {
  padding: 1rem 1.7rem;
  font-size: 1.25rem;
}

.btn-tm {
  background: #ec691a;
  color: #191919;
  box-shadow: 5px 5px 0 #191919;
}

.btn-tm-ghost {
  border-color: #ffffff;
  background: #191919;
  color: #ffffff;
  box-shadow: 5px 5px 0 #ec691a;
}

.btn-tm:hover {
  box-shadow: 8px 8px 0 #191919;
}

.btn-tm-ghost:hover {
  box-shadow: 8px 8px 0 #ec691a;
}

.btn-tm:active {
  box-shadow: 2px 2px 0 #191919;
}

.btn-tm-ghost:active {
  box-shadow: 2px 2px 0 #ec691a;
}

.trackman :focus-visible {
  outline-color: #ffffff;
}

.trackman-credit {
  position: absolute;
  right: 4.5rem;
  bottom: 0.7rem;
  z-index: 1;
  margin: 0;
  color: #c1c1c1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
}

@media (max-width: 48rem) {
  .trackman-photo {
    width: 100%;
  }

  .trackman::after {
    background: linear-gradient(180deg, rgba(25, 25, 25, 0.93) 0%, rgba(25, 25, 25, 0.8) 100%);
  }

  .trackman-credit {
    right: 1rem;
  }
}

/* Sections */
.section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

/* Morse code rule. script.js fills it in from data-morse. */
.morse {
  display: flex;
  align-items: center;
  height: 10px;
  margin-bottom: 2.4rem;
  overflow: hidden;
}

.morse span {
  flex: none;
  height: 9px;
  margin-right: 9px;
  border-radius: 5px;
  background: var(--peach);
}

.morse .dot {
  width: 9px;
}

.morse .dash {
  width: 27px;
}

.morse .gap {
  width: 9px;
  background: none;
}

.morse .wgap {
  width: 36px;
  background: none;
}

/* Offer cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 12rem;
  padding: 1.3rem 1.3rem 1.4rem;
  background: var(--heron);
  border: 3px solid var(--chill);
  border-radius: 0.9rem;
  box-shadow: 7px 7px 0 var(--peach);
  color: var(--chill);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:nth-child(even) {
  border-color: var(--peach);
  box-shadow: 7px 7px 0 var(--chill);
  color: var(--peach);
}

.card:hover {
  transform: translate(-4px, -4px) rotate(-1.2deg);
  box-shadow: 12px 12px 0 var(--peach);
}

.card:nth-child(even):hover {
  transform: translate(-4px, -4px) rotate(1.2deg);
  box-shadow: 12px 12px 0 var(--chill);
}

.card-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-type);
  font-size: 1rem;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.icon {
  width: 4.2rem;
  height: 4.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .fill {
  fill: currentColor;
  stroke: none;
}

.card-name {
  margin-top: auto;
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Offer panels: each one fills the screen and sticks, so the next slides over it on scroll */
.offer {
  padding-bottom: 0;
}

.offer > .wrap {
  padding-bottom: 1.2rem;
}

.panel {
  position: sticky;
  top: var(--header-h, 6rem);
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h, 6rem));
  min-height: calc(100svh - var(--header-h, 6rem));
  overflow: hidden;
  border-top: 4px solid var(--heron);
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  top: 50%;
  border: 4px dashed currentColor;
  border-radius: 50%;
  opacity: 0.16;
  animation: spin 90s linear infinite;
}

.panel::after {
  right: -16vmin;
  width: 76vmin;
  height: 76vmin;
  margin-top: -38vmin;
}

.panel::before {
  right: 2vmin;
  width: 40vmin;
  height: 40vmin;
  margin-top: -20vmin;
  animation-duration: 60s;
  animation-direction: reverse;
}

.panel-chill {
  background: var(--chill);
  color: var(--heron);
}

.panel-peach {
  background: var(--peach);
  color: var(--heron);
}

.panel-magnolia {
  background: var(--magnolia);
  color: var(--heron);
}

.panel-heron {
  background-color: var(--heron);
  background-image: radial-gradient(circle at center, rgba(240, 237, 231, 0.05) 1.5px, transparent 2px);
  background-size: 22px 22px;
  border-top-color: var(--chill);
  color: var(--magnolia);
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem;
}

.panel-num {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.7rem 0.15rem;
  border: 2px solid currentColor;
  font-family: var(--font-type);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  rotate: -2deg;
}

.panel-word {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13.5vw, 10.5rem);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0.045em 0.045em 0 var(--peach);
}

.panel-peach .panel-word {
  text-shadow: 0.045em 0.045em 0 var(--magnolia);
}

.panel-heron .panel-word {
  color: var(--chill);
}

.panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.8rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.panel-list .icon {
  flex: none;
  width: clamp(3rem, 6vw, 4.4rem);
  height: clamp(3rem, 6vw, 4.4rem);
}

/* Play panel: the word and its item on one row, then three Trackman photos */
.panel-play .panel-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1rem 3rem;
}

.panel-play .panel-word {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
}

.panel-play .panel-list {
  margin: 0 0 0.6rem;
}

.play-shots {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.play-shots li {
  overflow: hidden;
  border: 3px solid var(--heron);
  border-radius: 0.8rem;
  background: var(--heron);
  box-shadow: 7px 7px 0 var(--peach);
  rotate: -1.2deg;
}

.play-shots li:nth-child(2) {
  rotate: 0.9deg;
}

.play-shots li:nth-child(3) {
  rotate: -0.6deg;
}

.play-shots img {
  display: block;
  width: 100%;
  height: clamp(8rem, 27vh, 15rem);
  object-fit: cover;
}

.play-shots span {
  display: block;
  padding: 0.6rem 0.9rem 0.45rem;
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-transform: uppercase;
}

/* On small screens the panels are taller than the screen, so they scroll normally instead of sticking */
@media (max-width: 44rem) {
  .panel {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .panel-play .panel-inner {
    grid-template-columns: 1fr;
  }

  .play-shots {
    grid-template-columns: 1fr;
  }

  .play-shots img {
    height: 12rem;
  }
}

/* Hours: a full color block */
.hours {
  background-color: var(--chill);
  background-image: radial-gradient(circle at center, rgba(58, 60, 61, 0.13) 2px, transparent 2.5px);
  background-size: 22px 22px;
  color: var(--heron);
}

.hours .eyebrow,
.area .eyebrow {
  border-color: var(--heron);
  color: var(--heron);
}

.hours :focus-visible,
.area :focus-visible {
  outline-color: var(--heron);
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.huge {
  margin: 0;
  font-size: clamp(5.5rem, 21vw, 15rem);
  line-height: 0.85;
  text-shadow: 0.05em 0.05em 0 var(--peach);
}

.now {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.1vw, 2.2rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.hours-small {
  margin: 0;
  font-family: var(--font-type);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 48rem) {
  .hours-grid {
    grid-template-columns: 1fr;
  }
}

/* Clearance: bars you hover or tap to see the answer */
.lead {
  max-width: 48rem;
  margin: 0 0 2.2rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.dossier {
  max-width: 48rem;
  padding: 1.5rem 1.5rem 1.2rem;
  border: 2px dashed var(--dolphin);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.14);
}

.dossier-row {
  display: grid;
  grid-template-columns: minmax(10rem, 17rem) 1fr;
  align-items: center;
  gap: 0.5rem 1.2rem;
  margin: 0 0 1.1rem;
}

.dossier-key {
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.redact {
  position: relative;
  justify-self: start;
  min-width: 12rem;
  padding: 0.45rem 0.8rem 0.35rem;
  border: 0;
  background: none;
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.redact::after {
  content: "Eyes only";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0.15rem 0.8rem 0;
  border-radius: 0.2rem;
  background: var(--peach);
  color: var(--heron);
  font-family: var(--font-type);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.redact:hover::after,
.redact:focus-visible::after,
.redact.open::after {
  clip-path: inset(0 0 0 100%);
}

.hint {
  margin: 0.2rem 0 0;
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

@media (max-width: 40rem) {
  .dossier-row {
    grid-template-columns: 1fr;
  }
}

/* Area served: a light block with tilted tags */
.area {
  background: var(--magnolia);
  color: var(--heron);
}

.area h2 {
  text-shadow: 0.06em 0.06em 0 var(--peach);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 0.8rem 1.1rem 0.65rem;
  border-radius: 0.6rem;
  background: var(--heron);
  color: var(--magnolia);
  box-shadow: 6px 6px 0 var(--peach);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  rotate: -2deg;
}

.tag:nth-child(3n + 2) {
  background: var(--chill);
  color: var(--heron);
  box-shadow: 6px 6px 0 var(--heron);
  rotate: 1.5deg;
}

.tag:nth-child(3n) {
  background: var(--peach);
  color: var(--heron);
  box-shadow: 6px 6px 0 var(--heron);
  rotate: 3deg;
}

/* Contact */
.contact-list {
  display: grid;
  gap: 1.7rem;
  margin: 0 0 2.8rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.contact-key {
  color: var(--peach);
  font-family: var(--font-type);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-big {
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.4vw, 3rem);
  line-height: 1.15;
  text-decoration: none;
}

a.contact-big {
  padding-inline: 0.1em;
  background: linear-gradient(var(--chill), var(--chill)) left bottom / 100% 0.12em no-repeat;
  transition: background-size 0.2s ease, color 0.2s ease;
}

a.contact-big:hover {
  background-size: 100% 100%;
  color: var(--heron);
}

a.contact-address {
  padding-inline: 0;
  background: none;
  font-size: clamp(1.05rem, 3.4vw, 2.2rem);
  text-decoration: underline;
  text-decoration-color: var(--chill);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a.contact-address:hover {
  background: none;
  color: var(--chill);
}

.contact-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.redact-static {
  display: block;
  width: min(15rem, 46vw);
  height: 0.85em;
  border-radius: 0.15rem;
  background: var(--peach);
}

.soon {
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding-block: 3.5rem;
  border-top: 3px solid var(--chill);
  text-align: center;
}

.footer-logo {
  display: block;
  width: min(22rem, 80%);
  height: auto;
  margin-inline: auto;
}

.footer-note {
  margin: 1.6rem 0 0.4rem;
  color: var(--chill);
  font-family: var(--font-type);
  letter-spacing: 0.06em;
}

.footer-domain {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-powered {
  display: block;
  width: 11rem;
  height: auto;
  margin: 2.2rem auto 0.9rem;
}

/* Trackman requires this line on any page that shows their logo */
.footer-legal {
  margin: 0;
  color: var(--magnolia);
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Scroll putt: the ball rolls down the right edge and drops in the cup at the bottom */
.putt {
  display: none;
}

@media (min-width: 64rem) {
  .js .putt {
    position: fixed;
    right: 1.2rem;
    top: 9.5rem;
    bottom: 2rem;
    z-index: 40;
    display: block;
    width: 2rem;
    pointer-events: none;
  }
}

.putt::before {
  content: "";
  position: absolute;
  inset: -0.9rem -0.35rem;
  border: 2px solid var(--dolphin);
  border-radius: 2rem;
  background: var(--heron);
  opacity: 0.94;
}

.putt-line {
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 1rem;
  margin-left: -1.5px;
  border-left: 3px dotted rgba(155, 216, 211, 0.5);
}

.putt-cup {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1.7rem;
  height: 0.6rem;
  margin-left: -0.85rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 2px var(--dolphin);
}

.putt-flag {
  position: absolute;
  left: 78%;
  bottom: 0.25rem;
  width: 2px;
  height: 2.4rem;
  background: var(--magnolia);
}

.putt-flag::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 0;
  border-right: 0.8rem solid var(--peach);
  border-block: 0.35rem solid transparent;
}

.putt-ball {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: -0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, var(--magnolia) 42%, #b9b7b2 100%);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* Dropping in: the ball rolls over the lip, shrinks down into the cup, then fades.
   script.js does the move and the shrink together, so the ball stays over the cup.
   The old rule shrank the ball with a separate scale, which also shrank how far it had rolled, so it slid backwards as it faded. */
.putt.sunk .putt-ball {
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.45, 0, 0.9, 0.55), opacity 0.2s ease 0.32s;
}

.putt-nice {
  position: absolute;
  right: 2.6rem;
  bottom: -0.1rem;
  margin: 0;
  padding: 0.3rem 0.6rem 0.15rem;
  border-radius: 0.3rem;
  background: var(--peach);
  color: var(--heron);
  font-family: var(--font-type);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.putt.sunk .putt-nice {
  opacity: 1;
}

/* Reveal on scroll. Only hidden when script.js is running. */
.js .reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  translate: 0 0;
}

.js .card.reveal {
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.15s ease, box-shadow 0.15s ease;
}

.js .card.reveal:nth-child(4n + 2),
.js .tag.reveal:nth-child(3n + 2) {
  transition-delay: 0.08s, 0.08s, 0s, 0s;
}

.js .card.reveal:nth-child(4n + 3),
.js .tag.reveal:nth-child(3n) {
  transition-delay: 0.16s, 0.16s, 0s, 0s;
}

.js .card.reveal:nth-child(4n) {
  transition-delay: 0.24s, 0.24s, 0s, 0s;
}

/* ==================== Version 3 additions ==================== */

/* The film grain that sat over the whole page was taken off on 2026-11-23. Stefan found it looked like faded white dots. */

/* Keeps the page from shifting sideways when a pop-up hides the scroll bar */
html {
  scrollbar-gutter: stable;
}

/* Hero: soft color glows, with ball-flight tracers drawn behind the words */
.hero {
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(44rem 26rem at 78% 36%, rgba(155, 216, 211, 0.14), transparent 70%),
    radial-gradient(36rem 22rem at 8% 96%, rgba(236, 105, 26, 0.16), transparent 70%);
}

.hero-tracer {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
}

/* A dark halo keeps the words easy to read when a tracer passes behind them */
.hero-sub,
.hero-live {
  text-shadow: 0 0 3px var(--heron), 0 0 9px var(--heron), 0 0 16px var(--heron);
}

.hero-sub {
  margin-bottom: 1.2rem;
}

/* Live weather line under the headline */
.hero-live {
  max-width: 34rem;
  margin: 0 0 1.9rem;
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.hero-live[hidden] {
  display: none;
}

/* Keep the old gap above the buttons while the live line is hidden */
.hero-live[hidden] + .hero-actions {
  margin-top: 2rem;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.65rem;
  vertical-align: 0.08em;
  text-shadow: none;
  padding: 0.22rem 0.55rem 0.08rem;
  border: 1.5px solid var(--peach);
  border-radius: 0.3rem;
  color: var(--peach);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.12rem;
  border-radius: 50%;
  background: #ec691a;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
    scale: 0.7;
  }
}

/* Take a swing: the driving-range game. Trackman's orange, grays and fonts. */
.range {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: #101112;
  color: #ffffff;
}

.range::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50rem 26rem at 85% 0%, rgba(236, 105, 26, 0.14), transparent 70%);
}

.range .wrap {
  position: relative;
}

.range h2 {
  margin-bottom: 1rem;
  color: var(--magnolia);
  text-shadow: 0.06em 0.06em 0 #ec691a;
}

.range-lead {
  max-width: 41rem;
  margin: 0 0 2.2rem;
  color: #c1c1c1;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.range-screen {
  overflow: hidden;
  border: 3px solid #414141;
  border-radius: 1rem;
  background: #0b0c0d;
  box-shadow: 9px 9px 0 #ec691a, 0 44px 90px -44px rgba(236, 105, 26, 0.6);
}

.range-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
}

.range-data {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  border-top: 1px solid #414141;
  background: #414141;
}

.tile {
  padding: 0.7rem 0.9rem 0.6rem;
  background: #191919;
}

.tile dt {
  color: #c1c1c1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tile dd {
  margin: 0.1rem 0 0;
  color: #ffffff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.tile dd small {
  margin-left: 0.3rem;
  color: #c1c1c1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
}

.tile-carry {
  background: #ec691a;
}

.tile-carry dt,
.tile-carry dd,
.tile-carry dd small {
  color: #191919;
}

.range-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.3rem 1.8rem;
  margin-top: 2.2rem;
}

/* Power meter. The full bar is 120 percent power, so 100 percent sits at five sixths of the way across. */
.meter {
  grid-column: 1 / -1;
  position: relative;
  height: 1.6rem;
  overflow: hidden;
  border: 2px solid #414141;
  border-radius: 1rem;
  background: #191919;
}

.meter::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 83.33%;
  right: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 6px, transparent 6px 12px);
}

.meter-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-right: 3px solid #ffffff;
  background: linear-gradient(90deg, rgba(155, 216, 211, 0.35), var(--chill));
}

.meter-sweet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 78.33%;
  width: 5%;
  background: #ec691a;
  mix-blend-mode: screen;
}

.swing-btn {
  justify-self: start;
  padding: 1.1rem 2rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: #ec691a;
  color: #191919;
  box-shadow: 6px 6px 0 #ffffff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.swing-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #ffffff;
}

.swing-btn.holding {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #ffffff;
}

.swing-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}

.range :focus-visible {
  outline-color: #ffffff;
}

.range-result {
  margin: 0;
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.3;
  text-transform: uppercase;
}

.range-fine {
  margin: 1.7rem 0 0;
  color: #8f8f8f;
  font-size: 0.85rem;
}

@media (max-width: 48rem) {
  .range-canvas {
    aspect-ratio: 4 / 3;
  }

  .range-data {
    grid-template-columns: repeat(3, 1fr);
  }

  .range-controls {
    grid-template-columns: 1fr;
  }
}

/* Learn and Compete panels: the word, then two photos */
.panel-duo .panel-inner {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.panel-duo .panel-word {
  font-size: clamp(3.2rem, 10vw, 7.6rem);
}

.duo-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.duo-shots li {
  overflow: hidden;
  border: 3px solid var(--heron);
  border-radius: 0.8rem;
  background: var(--heron);
  box-shadow: 8px 8px 0 var(--chill);
  rotate: -1deg;
}

.duo-shots li:nth-child(2) {
  rotate: 1.1deg;
}

.panel-peach .duo-shots li {
  box-shadow: 8px 8px 0 var(--magnolia);
}

.duo-shots img {
  display: block;
  width: 100%;
  height: clamp(10rem, 40vh, 23rem);
  object-fit: cover;
}

/* Which part of each photo stays in view when the card crops it */
.shot-courses {
  object-position: 28% 50%;
}

.shot-practice {
  object-position: 40% 50%;
}

.shot-games {
  object-position: 45% 40%;
}

.shot-lessons {
  object-position: 50% 30%;
}

.shot-beginners {
  object-position: 72% 30%;
}

.shot-leagues {
  object-position: 76% 30%;
}

.shot-tournaments {
  object-position: 62% 40%;
}

.shot-bragging {
  object-position: 86% 30%;
}

/* Compete has three photos across */
.trio-shots {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.trio-shots img {
  height: clamp(9rem, 36vh, 20rem);
}

.trio-shots li:nth-child(3) {
  rotate: -0.7deg;
}

@media (max-width: 44rem) {
  .trio-shots {
    grid-template-columns: 1fr;
  }

  .trio-shots img {
    height: 13rem;
  }
}

.duo-shots span {
  display: block;
  padding: 0.6rem 0.9rem 0.45rem;
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  text-transform: uppercase;
}

/* Photo cards lean toward the pointer. live.js sets the angle. */
.play-shots li,
.duo-shots li,
.clearance-photo {
  transition: transform 0.25s ease;
}

.play-shots img,
.duo-shots img,
.clearance-photo img {
  transition: scale 0.6s ease;
}

/* Only photos that open something zoom under the pointer */
.shot-btn:hover img,
.shot-btn:focus-visible img {
  scale: 1.06;
}

@media (max-width: 44rem) {
  .duo-shots {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .duo-shots img {
    height: 13rem;
  }
}

/* Hours: a dark block with a lit golfer on the right and twenty-four lit hours */
.hours {
  overflow: hidden;
  background: #0c0c0d;
  color: var(--magnolia);
}

.hours-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(64%, 62rem);
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
}

.hours::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c0c0d 0%, #0c0c0d 36%, rgba(12, 12, 13, 0.6) 55%, rgba(12, 12, 13, 0) 80%);
}

.hours-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hours .huge {
  margin-bottom: 1.4rem;
  color: var(--chill);
}

.hours-copy {
  max-width: 34rem;
}

.hours :focus-visible {
  outline-color: var(--chill);
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  max-width: 38rem;
  margin: 3.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.day-strip li {
  position: relative;
  height: 2.1rem;
  border-radius: 3px;
  background: var(--chill);
}

.day-strip li.is-now {
  background: var(--peach);
  box-shadow: 0 0 0 2px #0c0c0d, 0 0 0 4px var(--peach);
  animation: pulse-soft 1.8s ease-in-out infinite;
}

@keyframes pulse-soft {
  50% {
    opacity: 0.55;
  }
}

.day-strip span {
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 0.45rem;
  color: var(--magnolia);
  font-family: var(--font-type);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.day-strip .is-now span {
  top: auto;
  bottom: 100%;
  translate: -50% -0.5rem;
  color: var(--peach);
  text-transform: uppercase;
}

@media (max-width: 48rem) {
  .hours-photo {
    width: 100%;
    opacity: 0.45;
  }

  .hours::after {
    background: linear-gradient(180deg, rgba(12, 12, 13, 0.45) 0%, rgba(12, 12, 13, 0.85) 100%);
  }

  .day-strip {
    gap: 2px;
  }
}

/* Clearance: the bars on the left, a photo on the right */
.clearance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.6rem);
}

.clearance-photo {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--magnolia);
  border-radius: 0.8rem;
  background: var(--magnolia);
  box-shadow: 8px 8px 0 var(--peach);
  rotate: 2deg;
}

.clearance-photo img {
  display: block;
  width: 100%;
  height: clamp(9rem, 19vw, 14rem);
  object-fit: cover;
  object-position: 86% 50%;
}

.clearance-photo figcaption {
  padding: 0.6rem 0.9rem 0.45rem;
  color: var(--heron);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-transform: uppercase;
}

@media (max-width: 56rem) {
  .clearance-grid {
    grid-template-columns: 1fr;
  }
}

/* Area served: the tags on the left, the map on the right */
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.6rem);
}

.area-map {
  overflow: hidden;
  border: 3px solid var(--heron);
  border-radius: 1rem;
  background-color: var(--heron);
  background-image: radial-gradient(circle at center, rgba(240, 237, 231, 0.05) 1.5px, transparent 2px);
  background-size: 22px 22px;
  box-shadow: 9px 9px 0 var(--peach);
}

.area-map:empty {
  display: none;
}

.area-map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Light and thin, the way Stefan liked them, in short dashes so the eye can still see them turn.
   A bolder version was tried on 2026-11-23 and he said it stole the show.
   The dash and gap add up to one fiftieth of the inner ring's way around, and the other rings are exact multiples of it,
   so no ring has an uneven join. */
.map-ring {
  fill: none;
  stroke: rgba(240, 237, 231, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 5.2 7.99;
}

.map-arc {
  fill: none;
  stroke: #ec691a;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(236, 105, 26, 0.85));
}

.map-ball {
  fill: #ffffff;
}

.map-dot {
  fill: var(--chill);
  stroke: var(--heron);
  stroke-width: 3;
}

.map-label {
  fill: var(--magnolia);
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
}

.map-home {
  fill: var(--peach);
}

.map-note {
  fill: rgba(240, 237, 231, 0.7);
  font-family: var(--font-type);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.map-line {
  fill: none;
  stroke: var(--magnolia);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.map-pulse {
  fill: none;
  stroke: var(--peach);
  stroke-width: 2.5;
}

@media (max-width: 44rem) {
  .area-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer extras: weather credit and the motion switch */
.footer-fine {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

.motion-toggle {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem 0.35rem;
  border: 1.5px solid var(--dolphin);
  border-radius: 2rem;
  background: none;
  color: var(--magnolia);
  font-family: var(--font-type);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.motion-toggle:hover {
  border-color: var(--chill);
  color: var(--chill);
}

/* Small notice for visitors whose device has animations turned off */
.motion-note {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 23rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--peach);
  border-radius: 0.8rem;
  background: var(--heron);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
  color: var(--magnolia);
}

.motion-note[hidden] {
  display: none;
}

.motion-note p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.motion-note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
}

.motion-keep {
  padding: 0.3rem;
  border: 0;
  background: none;
  color: var(--chill);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Play cards are buttons. Each one opens a pop-up. */
.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.shot-btn > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 0.8rem;
}

.shot-more {
  padding: 0.3rem 0.55rem 0.12rem;
  border-radius: 0.3rem;
  background: var(--peach);
  color: var(--heron);
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.shot-btn:hover .shot-more,
.shot-btn:focus-visible .shot-more {
  background: var(--chill);
}

.shot-btn:focus-visible {
  outline-color: var(--heron);
  outline-offset: -6px;
}

/* Making it obvious which photos can be clicked, as Stefan asked on 2026-11-23.
   A card that opens something carries a round plus badge that pulses and a pill that looks like a button, and it reacts to the pointer.
   A plain photo has none of that and holds still. */
.shot-btn {
  position: relative;
}

.shot-btn::after {
  content: "+";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding-bottom: 0.14rem;
  border: 3px solid var(--heron);
  border-radius: 50%;
  background: var(--peach);
  color: var(--heron);
  box-shadow: 3px 3px 0 var(--heron), 0 0 0 0 rgba(240, 237, 231, 0.8);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  animation: tap-me 2.6s ease-out infinite;
  transition: scale 0.2s ease, background-color 0.2s ease;
}

.shot-btn:hover::after,
.shot-btn:focus-visible::after {
  scale: 1.15;
  background: var(--chill);
}

@keyframes tap-me {
  0% {
    box-shadow: 3px 3px 0 var(--heron), 0 0 0 0 rgba(240, 237, 231, 0.8);
  }

  70%,
  100% {
    box-shadow: 3px 3px 0 var(--heron), 0 0 0 0.95rem rgba(240, 237, 231, 0);
  }
}

.shot-more {
  padding: 0.4rem 0.65rem 0.2rem;
  border: 2px solid var(--magnolia);
  font-size: 0.82rem;
}

.shot-more::after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  border-left: 0.5em solid currentColor;
  border-block: 0.32em solid transparent;
}

.shot-btn .shot-sub {
  flex-basis: 100%;
  margin-top: 0;
}

/* Pop-ups opened from the Play cards */
html.pop-open {
  overflow: hidden;
}

dialog.pop {
  width: min(66rem, calc(100vw - 1.6rem));
  max-width: none;
  max-height: calc(100vh - 1.6rem);
  max-height: calc(100dvh - 1.6rem);
  padding: 0;
  overflow: visible;
  border: 3px solid var(--chill);
  border-radius: 1.1rem;
  background: var(--heron);
  color: var(--magnolia);
  box-shadow: 10px 10px 0 var(--peach);
}

dialog.pop::backdrop {
  background: rgba(8, 8, 9, 0.82);
}

dialog.pop[open] {
  animation: pop-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

.pop-inner {
  max-height: calc(100vh - 1.6rem - 6px);
  max-height: calc(100dvh - 1.6rem - 6px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 0.9rem;
  /* A slim dark scroll bar instead of the browser's white one */
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--dolphin) transparent;
}

.pop :focus-visible {
  outline-color: var(--peach);
}

.pop-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  border: 2px solid var(--heron);
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 3px 3px 0 var(--chill);
  cursor: pointer;
}

.pop-close::before,
.pop-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.3rem;
  height: 3px;
  margin: -1.5px 0 0 -0.65rem;
  border-radius: 2px;
  background: var(--heron);
  rotate: 45deg;
}

.pop-close::after {
  rotate: -45deg;
}

.pop-close:hover {
  background: var(--chill);
  box-shadow: 3px 3px 0 var(--peach);
}

.pop-kicker {
  margin: 0 0 0.3rem;
  color: var(--peach);
  font-family: var(--font-type);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pop h2 {
  margin-bottom: 0.8rem;
  padding-right: 3.2rem;
  color: var(--chill);
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-shadow: 0.06em 0.06em 0 var(--peach);
}

.pop-lead {
  max-width: 44rem;
  margin: 0 0 1.1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.4;
}

.pop-big {
  color: var(--peach);
  font-family: var(--font-display);
  font-size: 1.7em;
  line-height: 1;
  vertical-align: -0.06em;
}

.pop-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.pop-cols-practice {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.pop-note {
  margin: 0.8rem 0 0;
  color: rgba(240, 237, 231, 0.75);
  font-size: 0.85rem;
}

.pop-fine {
  margin: 1.6rem 0 0;
  color: rgba(240, 237, 231, 0.6);
  font-size: 0.8rem;
}

/* Courses: ten numbered names */
.course-list {
  counter-reset: course;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-list li {
  counter-increment: course;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  column-gap: 0.4rem;
  padding: 0.36rem 0 0.26rem;
  border-bottom: 1px dashed var(--dolphin);
}

.course-list li::before {
  content: counter(course, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--peach);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.course-name {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.course-place {
  grid-column: 2;
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The course video. A still with a play button until it is pressed. */
.video-slot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--magnolia);
  border-radius: 0.8rem;
  background: #000000;
  box-shadow: 7px 7px 0 #ec691a;
}

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

.video-play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.6rem;
  height: 4.6rem;
  margin: -2.3rem 0 0 -2.3rem;
  border-radius: 50%;
  background: #ec691a;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
  transition: scale 0.2s ease;
}

.video-icon::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  translate: -50% -50%;
  border-left: 1.35rem solid #191919;
  border-block: 0.85rem solid transparent;
}

.video-play:hover .video-icon {
  scale: 1.1;
}

/* Practice: the menu as tiles, with a photo beside it */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-grid li {
  padding: 0.9rem 1rem 0.8rem;
  border-left: 5px solid var(--chill);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.24);
}

.menu-grid li:nth-child(4n + 2),
.menu-grid li:nth-child(4n + 3) {
  border-left-color: var(--peach);
}

.menu-grid h3,
.game-text h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.menu-grid p,
.game-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pop-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--magnolia);
  border-radius: 0.8rem;
  box-shadow: 7px 7px 0 var(--peach);
  rotate: 1.2deg;
}

/* Games: Trackman's own artwork where there is some, plain tiles for the rest */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-art {
  overflow: hidden;
  border: 3px solid var(--magnolia);
  border-radius: 0.7rem;
  background: #111111;
}

.game-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-art span {
  display: block;
  padding: 0.55rem 0.8rem 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.game-art small {
  display: block;
  margin-top: 0.15rem;
  color: var(--chill);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: none;
}

.game-text {
  padding: 1rem 1rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--chill);
  color: var(--heron);
}

.game-text:nth-child(odd) {
  background: var(--peach);
}

@media (max-width: 52rem) {
  .pop-cols,
  .pop-cols-practice {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 52.01rem) and (max-width: 62rem) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 30rem) {
  .game-grid {
    gap: 0.6rem;
  }

  .game-art span {
    padding: 0.45rem 0.55rem 0.4rem;
    font-size: 0.82rem;
  }

  .game-art small {
    font-size: 0.72rem;
  }
}

/* The four tall posters: which part of each shows in the tile */
.art-bullseye {
  object-position: 50% 88%;
}

.art-hit-it {
  object-position: 50% 22%;
}

.art-flag {
  object-position: 50% 72%;
}

.art-pin {
  object-position: 50% 57%;
}

/* The long tag sits on one line, a size down from the town names */
.tag-long {
  font-size: clamp(0.85rem, 1.9vw, 1.25rem);
  white-space: nowrap;
}

/* The distance rings on the map turn, every other one the opposite way. The bigger the ring, the longer its lap,
   so all four move at about the same pace, close to the pace of the big circles behind the Play and Learn panels. */
.map-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 15s linear infinite;
}

.map-ring:nth-of-type(2) {
  animation-duration: 29s;
  animation-direction: reverse;
}

.map-ring:nth-of-type(3) {
  animation-duration: 43s;
}

.map-ring:nth-of-type(4) {
  animation-duration: 57s;
  animation-direction: reverse;
}

/* Second line on a photo card, under its name */
.shot-sub {
  display: block;
  margin-top: 0.25rem;
  color: var(--chill);
  font-family: var(--font-type);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

/* Beginners class pop-up: a ball is hit from the tee to each name in the list */
.starts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.starts-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.starts-arc {
  fill: none;
  stroke: #ec691a;
  stroke-width: 3;
  stroke-linecap: round;
  transition: opacity 0.7s ease;
}

.starts-arc.faded {
  opacity: 0.16;
}

.starts-fly {
  fill: #ffffff;
  stroke: #ec691a;
  stroke-width: 2;
}

.starts-tee {
  position: relative;
}

/* The ball on its tee, at the corner of the photo. The balls fly from here. */
.starts-tee-spot {
  position: absolute;
  right: -0.7rem;
  bottom: 14%;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, var(--magnolia) 45%, #b9b7b2 100%);
  box-shadow: 0 0 0 3px var(--heron), 3px 4px 0 rgba(0, 0, 0, 0.35);
}

.starts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.starts-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 2px dashed var(--dolphin);
  border-radius: 0.7rem;
  opacity: 0.3;
  transition: opacity 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.starts-list li.landed {
  border-style: solid;
  border-color: var(--chill);
  background: rgba(0, 0, 0, 0.24);
  opacity: 1;
}

.starts-list li:nth-child(even).landed {
  border-color: var(--peach);
}

.starts-ball {
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 2px dashed var(--dolphin);
  border-radius: 50%;
}

.landed .starts-ball {
  border: 0;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, var(--magnolia) 45%, #b9b7b2 100%);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
  animation: ball-land 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

@keyframes ball-land {
  from {
    scale: 1.7;
  }
}

.starts-text {
  display: block;
  min-width: 0;
}

.starts-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.8vw, 1.2rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.starts-what {
  display: block;
  margin-top: 0.15rem;
  color: rgba(240, 237, 231, 0.8);
  font-size: 0.86rem;
  line-height: 1.3;
}

.starts-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 1.8rem;
}

.starts-foot .swing-btn {
  padding: 0.75rem 1.3rem 0.65rem;
  font-size: 1.05rem;
}

.starts-foot .pop-note {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 52rem) {
  .starts {
    grid-template-columns: 1fr;
  }

  .starts-tee {
    width: min(20rem, 82%);
  }

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

/* Scroll putt on narrower windows and phones: the same ball and cup, running along the bottom edge instead of down the side */
@media (max-width: 63.99rem) {
  .js .putt {
    position: fixed;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 0.9rem;
    z-index: 40;
    display: block;
    height: 1.3rem;
    pointer-events: none;
  }

  .putt::before {
    inset: -0.45rem -0.8rem;
  }

  .putt-line {
    left: 0.4rem;
    right: 1.7rem;
    top: 50%;
    bottom: auto;
    margin: -1.5px 0 0;
    border-left: 0;
    border-top: 3px dotted rgba(155, 216, 211, 0.5);
  }

  .putt-cup {
    left: auto;
    right: 0.1rem;
    bottom: 50%;
    width: 1.5rem;
    height: 0.55rem;
    margin: 0 0 -0.28rem;
  }

  .putt-flag {
    height: 1.6rem;
  }

  .putt-ball {
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 1.2rem;
    margin: -0.6rem 0 0;
  }

  .putt-nice {
    right: 0;
    bottom: 2rem;
  }
}

/* Neon heart over the hero logo. It sits exactly on top of the logo image and scales with it. */
.hero-heart {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 702;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 5px #ff2e73) drop-shadow(0 0 14px #ff0f4f) drop-shadow(0 0 30px rgba(255, 15, 79, 0.75));
  animation: neon-heart 12.2s step-end infinite;
}

/* The glass tube, neon pink, and the white-hot line down its middle */
.heart-tube {
  fill: none;
  stroke: #ff3f86;
  stroke-width: 9.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heart-core {
  fill: none;
  stroke: #fff1f6;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* One loop is 12.2 seconds, timed the way Stefan asked on 2026-11-23, like a neon sign coming on at night:
   dark for 7.5 seconds, a short flicker on (under a second), lit for 3 seconds, flickers off, then dark again.
   His first timing was 5 seconds dark with a longer flicker. He then asked for a shorter flicker on and 2 to 3 more seconds of dark.
   Each step jumps, it does not fade. The seconds are noted beside each step. */
@keyframes neon-heart {
  0% { opacity: 0; }          /* 0.00   dark for 7.5 seconds */
  61.48% { opacity: 0.9; }    /* 7.50   first strike */
  62.05% { opacity: 0; }      /* 7.57 */
  63.28% { opacity: 0.7; }    /* 7.72 */
  63.85% { opacity: 0.1; }    /* 7.79 */
  65.16% { opacity: 1; }      /* 7.95 */
  65.74% { opacity: 0.3; }    /* 8.02 */
  66.72% { opacity: 1; }      /* 8.14 */
  67.21% { opacity: 0.6; }    /* 8.20 */
  68.03% { opacity: 1; }      /* 8.30   lit and steady for 3 seconds */
  92.62% { opacity: 0.3; }    /* 11.30  starts to go */
  93.28% { opacity: 1; }      /* 11.38 */
  94.67% { opacity: 0; }      /* 11.55 */
  95.33% { opacity: 0.8; }    /* 11.63 */
  96.07% { opacity: 0; }      /* 11.72 */
  97.13% { opacity: 0.5; }    /* 11.85 */
  97.7% { opacity: 0; }       /* 11.92  dark, and the next loop starts with 7.5 more seconds of dark */
  100% { opacity: 0; }
}

/* Neon 24/7. Two layers sit on top of the peach badge and share the heart's 12.2 second loop.
   The night layer fades the badge to dark in the half second before the neon strikes, and back to peach when it goes out.
   The neon layer is the brand blue turned up to neon. It uses the heart's own flicker, so the two always fire together. */
.badge-night,
.badge-neon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.badge-night {
  animation: badge-night 12.2s linear infinite;
}

.badge-night circle {
  fill: #131415;
}

@keyframes badge-night {
  0% { opacity: 0; }
  57% { opacity: 0; }       /* 6.95   dusk starts */
  61.3% { opacity: 1; }     /* 7.48   dark, just before the first strike */
  97.7% { opacity: 1; }     /* 11.92  the neon is out */
  100% { opacity: 0; }      /* 12.20  back to peach */
}

.badge-neon {
  overflow: visible;
  filter: drop-shadow(0 0 3px #58f2e6) drop-shadow(0 0 9px #18d2c4) drop-shadow(0 0 20px rgba(24, 210, 196, 0.75));
  animation: neon-heart 12.2s step-end infinite;
}

.neon-ring {
  fill: none;
  stroke: #8ff7ef;
  stroke-width: 4;
}

.neon-247 {
  fill: rgba(143, 247, 239, 0.16);
  stroke: #d4fffb;
  stroke-width: 2.2;
  stroke-linejoin: round;
  font-family: var(--font-display);
  font-size: 62px;
}

/* Local rules card: the back of a golf scorecard, with a scoring pencil lying across its corner */
.rules-card {
  position: relative;
  max-width: 34rem;
  border: 3px solid var(--heron);
  border-radius: 0.9rem;
  background: var(--magnolia);
  color: var(--heron);
  box-shadow: 8px 8px 0 var(--chill);
  rotate: -1.4deg;
}

.rules-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin: 0;
  padding: 0.85rem 1.3rem 0.65rem;
  border-bottom: 3px solid var(--heron);
  border-radius: 0.65rem 0.65rem 0 0;
  background: var(--peach);
}

.rules-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.rules-club {
  font-family: var(--font-type);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rules-list {
  margin: 0;
  padding: 0.3rem 1.3rem 1.5rem;
  list-style: none;
}

.rules-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0 0.85rem;
  border-bottom: 2px solid rgba(58, 60, 61, 0.22);
}

.rules-no {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding-top: 0.1rem;
  border-radius: 50%;
  background: var(--heron);
  color: var(--magnolia);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
}

.rules-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.rules-pencil {
  position: absolute;
  right: -1.4rem;
  bottom: -0.7rem;
  width: 9.5rem;
  height: auto;
  rotate: -14deg;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.3));
}

@media (max-width: 30rem) {
  .rules-pencil {
    right: -0.4rem;
    width: 7.5rem;
  }
}

/* Lighter mode. live.js turns it on by itself when a device cannot keep up, and the endless animations stop. */
.lite .panel::before,
.lite .panel::after,
.lite .live-tag::before,
.lite .day-strip li.is-now {
  animation: none;
}

/* On phones the tracers sit further back so the words stay in front */
@media (max-width: 44rem) {
  .hero-tracer {
    opacity: 0.55;
  }
}

/* Website layout or phone layout: the page is both. It shows the website layout in any window wider than 44rem
   (about 700 pixels) and the stacked phone layout below that. Until 2026-11-23 the switch happened at 56rem
   (about 900 pixels), so a browser snapped to half the screen, or zoomed in, got the phone layout.
   This block tightens the website layout for those in-between widths. */
@media (min-width: 44.01rem) and (max-width: 56rem) {
  h1 {
    font-size: 5.5vw;
  }

  .hero-art {
    padding-bottom: 4.4rem;
  }

  .spin-badge {
    width: 4.6rem;
  }

  .powered-by {
    width: 8.5rem;
  }

  .panel-play .panel-inner {
    gap: 1rem 1.6rem;
  }

  .play-shots,
  .trio-shots {
    gap: 1rem;
  }

  .duo-shots {
    gap: 1.3rem;
  }
}

/* Short windows. The big panel words and photos shrink with the height of the window so a whole panel fits on screen. */
.panel-play .panel-word {
  font-size: clamp(3.2rem, min(11vw, 18vh), 8.5rem);
}

.panel-duo .panel-word {
  font-size: clamp(3.2rem, min(10vw, 16vh), 7.6rem);
}

@media (max-height: 46rem) {
  .duo-shots img {
    height: clamp(8.5rem, 32vh, 23rem);
  }

  .trio-shots img {
    height: clamp(8rem, 30vh, 20rem);
  }
}

/* On a very short window the panels stop sticking and scroll normally, so nothing is cut off */
@media (max-height: 34rem) {
  .panel {
    position: relative;
    top: auto;
    min-height: 0;
  }
}

/* On wide screens keep the standing-still list clear of the scroll putt on the right edge */
@media (min-width: 64rem) {
  .still .marquee-track {
    padding-inline: 4.5rem;
  }
}

/* Motion off: nothing animates. Set by the visitor's device or by the switch in the footer. */
.still *,
.still *::before,
.still *::after {
  animation: none !important;
  transition: none !important;
}

/* If scripts are blocked, still respect a device that asks for less motion */
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *,
  html:not(.js) *::before,
  html:not(.js) *::after {
    animation: none !important;
    transition: none !important;
  }
}
