/* ==========================================================================
   Fabric Winterfest 2026
   Night sky with a live aurora in Fabric colours (lime, mint, teal).
   Clean Geist type, white pill actions, warm community photography.
   ========================================================================== */

/* ---- Font (self-hosted Geist, SIL OFL) ---- */
@font-face { font-family: 'Geist'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('../fonts/geist-variable.woff2') format('woff2'); }

/* ---- Tokens ---- */
:root {
  color-scheme: dark;

  /* Night */
  --night: #03090f;
  --surface-1: rgba(8, 20, 28, 0.74);
  --surface-2: rgba(13, 29, 39, 0.86);
  --surface-solid: #0d1d27;
  --line: rgba(170, 225, 210, 0.12);
  --line-strong: rgba(242, 247, 246, 0.28);

  /* Text */
  --ink: #f2f7f6;
  --ink-soft: #c9d8d5;
  --muted: #9fb3b0;
  --on-light: #03110d;

  /* Aurora, from the Fabric logo */
  --green: #3cc789;       /* Fabric green: accent text, links, icons, focus */
  --teal: #128c78;
  --aurora-edge: linear-gradient(90deg, var(--teal), var(--green));

  /* Slope colours: only on the ridge of each slope icon */
  --training: #ffb547;
  --blue: #5b9cff;
  --black: #05080b;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);
  --header-h: 72px;

  /* Radius rule: pills for actions and chips, 12px inputs, 18px cards and photos */
  --r-input: 12px;
  --r-card: 18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--green); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
::selection { background: var(--green); color: var(--on-light); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #1e3440 var(--night); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--on-light); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding-top: 0; }

/* ---- Type ---- */
h1 { font-size: clamp(3.2rem, 8vw, 7.4rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.055em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 0.45em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.accent { color: var(--green); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---- Aurora canvas ---- */
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.aurora--fallback {
  background:
    radial-gradient(60% 40% at 30% 30%, rgba(60, 199, 137, 0.28), transparent 70%),
    radial-gradient(50% 35% at 75% 25%, rgba(60, 199, 137, 0.18), transparent 70%),
    linear-gradient(180deg, #010509, #041018);
}
/* One sky behind the whole page: fixed, so content scrolls through it */
.aurora--page { position: fixed; inset: 0; z-index: -1; }

/* ---- Buttons: pills ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0 1.35em;
  border: 0; border-radius: 999px;
  font: 550 0.98rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--ink); color: var(--on-light); }
.btn--primary:hover { background: var(--green); color: var(--on-light); }
.btn--line { color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong) inset; background: rgba(3, 9, 15, 0.25); }
.btn--line:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.btn--small { min-height: 38px; padding: 0 1.05em; font-size: 0.92rem; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 550; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform 220ms var(--ease-out); }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---- Slope icons: faceted mountains in a night-sky window, ridge in the slope's colour ---- */
.slope-badge {
  display: inline-flex; align-items: flex-end; justify-content: center; flex: none; overflow: hidden;
  width: 72px; height: 54px; border-radius: 14px;
  background:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 255, 255, 0.9), transparent 100%),
    radial-gradient(1px 1px at 74% 16%, rgba(255, 255, 255, 0.75), transparent 100%),
    radial-gradient(1px 1px at 88% 38%, rgba(255, 255, 255, 0.6), transparent 100%),
    radial-gradient(1px 1px at 44% 10%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(120% 70% at 30% 0%, rgba(60, 199, 137, 0.22), transparent 70%),
    linear-gradient(180deg, #0b1f2b 0%, #06111a 100%);
  box-shadow: 0 0 0 1px rgba(242, 247, 246, 0.12) inset;
  transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.slope-icon { display: block; width: 100%; height: 100%; }
.slope-badge--training { --ridge: var(--training); }
.slope-badge--blue { --ridge: var(--blue); }
.slope-badge--black { --ridge: #020406; --ridge-halo: rgba(232, 240, 238, 0.85); }

/* ---- Header: a floating glass dock with a slowly turning aurora border ----
   No transform or backdrop-filter on the dock itself: the mobile menu is position: fixed
   inside it and must stay relative to the viewport. The glass lives in ::before. */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none;
  transition: top 320ms var(--ease-out);
}
.header-inner {
  position: relative; isolation: isolate; pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  width: auto; max-width: none; margin: 0; padding: 6px 6px 6px 18px; border-radius: 999px;
  transition: padding 320ms var(--ease-out);
}
.header-inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(5, 14, 20, 0.62);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.85), 0 8px 40px -12px rgba(60, 199, 137, 0.28);
  transition: background-color 320ms var(--ease-out);
}
.header-inner::after {
  content: ''; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), rgba(60, 199, 137, 0.9), rgba(18, 140, 120, 0.15), rgba(185, 238, 147, 0.75), rgba(18, 140, 120, 0.15), rgba(60, 199, 137, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: dock-spin 9s linear infinite;
}
@keyframes dock-spin { to { --spin: 360deg; } }
/* Scrolled: the dock tucks up and turns a little more solid */
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .header-inner { padding: 4px 4px 4px 16px; }
.site-header.is-scrolled .header-inner::before { background: rgba(5, 14, 20, 0.8); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.brand-name { font-weight: 600; letter-spacing: -0.025em; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-soft); font: 500 0.95rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 160ms, background-color 160ms, box-shadow 160ms;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(242, 247, 246, 0.08); }
/* The current page lights up green (Program lights up on the track pages) */
.nav-link[aria-current="page"], .nav-program:has([aria-current="page"]) > .nav-link {
  color: var(--ink); background: rgba(60, 199, 137, 0.16); box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.4) inset;
}
.nav-link .icon { width: 0.85em; height: 0.85em; transition: transform 200ms var(--ease-out); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav .btn { margin-left: 8px; }

.nav-program { position: relative; }
.program-menu {
  position: absolute; top: calc(100% + 14px); left: -8px; min-width: 220px;
  padding: 6px; background: var(--surface-solid); border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line) inset, 0 20px 50px rgba(0, 0, 0, 0.5);
}
.program-menu[hidden] { display: none; }
.program-menu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.program-menu a:hover, .program-menu a[aria-current="page"] { background: rgba(242, 247, 246, 0.07); color: var(--ink); }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { width: 100%; justify-content: space-between; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 49; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    overflow-y: auto; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: rgba(3, 9, 15, 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .nav:not(.is-open) { display: none; }
  .menu-toggle, .brand { position: relative; z-index: 51; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { height: 54px; width: 100%; font-size: 1.1rem; color: var(--ink); border-radius: 14px; }
  .nav-program .nav-link { display: none; }
  .program-menu, .program-menu[hidden] { position: static; display: block; min-width: 0; padding: 0; box-shadow: none; background: none; }
  .program-menu a { height: 54px; padding: 0 14px; font-size: 1.1rem; }
  .nav .btn { margin: 20px 0 0; min-height: 50px; }
  .menu-toggle.nav-link { width: 44px; height: 44px; padding: 0; justify-content: center; color: var(--ink); }
  .menu-toggle .icon { width: 1.4rem; height: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .header-inner::after { animation: none; } }

/* ---- Hero: the sky is the hero ---- */
.hero { display: flex; align-items: flex-end; min-height: 100dvh; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 96px); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { display: block; }
.hero .lede { margin-bottom: 28px; max-width: 46ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 32px; font-weight: 500; color: #dfe9e7; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--green); }
.hero-price a { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; text-decoration: none; }
.hero-price a:hover { color: var(--ink); }
.hero-price a:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.hero-price[hidden] { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal-in > * { animation: rise 1000ms var(--ease-out) both; }
  .reveal-in > :nth-child(1) { animation-delay: 150ms; }
  .reveal-in > :nth-child(2) { animation-delay: 260ms; }
  .reveal-in > :nth-child(3) { animation-delay: 340ms; }
  .reveal-in > :nth-child(4) { animation-delay: 420ms; }
  .reveal-in > :nth-child(5) { animation-delay: 500ms; }
  .aurora--page { animation: dawn 2200ms ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes dawn { from { opacity: 0; } to { opacity: 1; } }

/* ---- About ---- */
.about-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.about-head h2 { margin-bottom: 18px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.about-photo { margin: 0; overflow: hidden; border-radius: var(--r-card); }
.about-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.feature-list { display: grid; align-content: space-between; gap: 0; }
.feature-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.feature-list li:first-child { padding-top: 4px; border-top: 0; }
.feature-list li:last-child { padding-bottom: 0; }
.feature-list h3 { margin-bottom: 8px; }
.feature-list p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---- Slopes (piste board) ---- */
.slopes-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.slopes-head h2 { margin-bottom: 14px; }
.slopes-head p { margin: 0; }
.piste-board { display: grid; gap: 10px; }
.piste {
  position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr) auto; gap: 16px 40px; align-items: center;
  padding: 30px 32px; background: var(--surface-1); border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line) inset;
  text-decoration: none; color: var(--ink); overflow: hidden;
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.piste::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--aurora-edge); opacity: 0; transition: opacity 240ms var(--ease-out); }
.piste:hover { color: var(--ink); background: var(--surface-2); }
.piste:hover::before { opacity: 1; }
.piste-name { display: flex; align-items: center; gap: 16px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }

.piste h3 { font-size: 1.25rem; margin-bottom: 6px; }
.piste p { margin: 0; color: var(--muted); max-width: 62ch; }
.piste .link-arrow { justify-self: end; }
.piste:hover .link-arrow { color: var(--green); }
.piste:hover .link-arrow .icon { transform: translateX(4px); }
@media (max-width: 900px) {
  .piste { grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; }
  .piste .link-arrow { justify-self: start; }
}

/* ---- Practicals ---- */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 clamp(48px, 7vw, 72px); }
.facts-grid > div { padding: 22px 24px; background: var(--surface-1); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line) inset; }
.facts-grid dt { margin-bottom: 10px; font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.facts-grid dd { margin: 0 0 6px; font-weight: 500; }
.facts-grid dd.fact-action { margin: 16px 0 0; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts-grid { grid-template-columns: 1fr; } }

.day-line { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.day-line::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--aurora-edge); border-radius: 2px; opacity: 0.8; }
.day-line li { position: relative; padding-top: 34px; }
.day-line li::before { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 2px var(--green) inset; }
.day-line li.is-key::before { background: var(--green); box-shadow: 0 0 0 4px rgba(60, 199, 137, 0.18), 0 0 18px rgba(60, 199, 137, 0.5); }
.day-line time { display: block; margin-bottom: 8px; font-size: 2.1rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.day-line p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) {
  .day-line { grid-template-columns: 1fr; gap: 0; }
  .day-line::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--green), var(--green)); }
  .day-line li { padding: 0 0 26px 38px; }
  .day-line time { font-size: 1.8rem; }
}
.practical-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: clamp(32px, 5vw, 48px); }

/* ---- Gallery ---- */
.gallery-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 48px); }
.gallery-head .lede { margin: 0; }
.gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 14vw, 190px);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--surface-1); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-column: span 7; grid-row: span 3; }
.g2 { grid-column: span 5; grid-row: span 2; }
.g3 { grid-column: span 5; grid-row: span 1; }
.g4, .g5, .g6 { grid-column: span 4; grid-row: span 2; }
.g3 img { object-position: 50% 62%; }
.g4 img { object-position: 50% 78%; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; grid-row: span 1; }
  .g6 { display: none; }
}

/* ---- Tickets ---- */
.tickets-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.waves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wave {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; background: var(--surface-1); border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.wave-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin-bottom: 32px; font-size: 0.9rem; font-weight: 500; }
.wave-step, .wave-flag { color: var(--muted); }
.wave h3 { margin-bottom: 4px; }
.wave-price { margin: 0 0 26px; font-size: clamp(3.4rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; }
.wave-options { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.wave-options li + li { margin-top: 6px; }
.wave.is-past { opacity: 0.45; }
/* The wave on sale glows like the aurora */
.wave.is-current {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(60, 199, 137, 0.16), transparent 60%),
    radial-gradient(100% 70% at 100% 100%, rgba(60, 199, 137, 0.14), transparent 60%),
    var(--surface-2);
  box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.45) inset, 0 20px 60px -20px rgba(60, 199, 137, 0.35);
}
.wave.is-current .wave-flag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--green); color: var(--on-light); font-weight: 600; }
.wave.is-current .wave-price { color: var(--green); }
/* Only the wave on sale carries the button; it follows the live wave automatically */
.wave-cta { display: none; margin-top: 24px; width: 100%; }
.wave.is-current .wave-cta { display: inline-flex; }
.wave.is-current .wave-cta:hover { background: var(--green); }
.tickets-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.tickets-foot p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .waves { grid-template-columns: 1fr; } .wave-status { margin-bottom: 20px; } }

/* ---- Partners: monochrome logo wall ---- */
.partners-head { max-width: 760px; margin-bottom: 40px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.logo-grid li {
  display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 24px 28px;
  background: var(--surface-1); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line) inset;
  transition: background-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.logo-grid img {
  max-height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1) invert(1) brightness(0.95); mix-blend-mode: screen; opacity: 0.75;
  transition: filter 320ms var(--ease-out), opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
/* Hover: the tile turns to snow and the logo shows in its own colours
   (multiply lets the white backgrounds of JPG logos disappear into the tile) */
.logo-grid li:hover { background: #f4f8f7; box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.6) inset, 0 16px 40px -18px rgba(60, 199, 137, 0.55); transform: translateY(-3px); }
.logo-grid li:hover img { filter: none; mix-blend-mode: multiply; opacity: 1; transform: scale(1.06); }

.partners-more { margin: 28px 0 0; }

/* ---- Partners page: every logo in its own colours ---- */
.partner-wall { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-wall li { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); }
@media (max-width: 1100px) { .partner-wall { --cols: 4; } }
@media (max-width: 820px) { .partner-wall { --cols: 3; } }
.partner-wall li {
  position: relative; display: grid; aspect-ratio: 16 / 10;
  background: #f4f8f7; border-radius: var(--r-card);
  box-shadow: 0 0 0 1px rgba(242, 247, 246, 0.2) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.partner-wall a { position: relative; display: grid; place-items: center; padding: 32px 36px; border-radius: inherit; }
.partner-wall a:focus-visible { outline-offset: 4px; }
.partner-wall .visit {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: var(--on-light); opacity: 0; transform: translate(-4px, 4px) scale(0.8);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.partner-wall .visit .icon { width: 15px; height: 15px; }
.partner-wall li:hover .visit, .partner-wall a:focus-visible .visit { opacity: 1; transform: none; }
/* multiply lets the white backgrounds of JPG logos disappear into the tile */
.partner-wall img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 320ms var(--ease-out); }
.partner-wall li:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--green) inset, 0 24px 50px -20px rgba(60, 199, 137, 0.55); }
.partner-wall li:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .partner-wall { --cols: 2; gap: 8px; } .partner-wall li { flex-basis: calc((100% - 8px) / 2); } .partner-wall a { padding: 18px 20px; } .partner-wall img { max-height: 44px; } }

/* Very wide, thin logos (Visser & Van Baars): more room and a little more weight */
.partner-wall li.logo--wide a { padding-inline: 16px; }
.partner-wall li.logo--wide img { max-height: 72px; filter: contrast(1.35) brightness(0.8); }
.logo-grid li.logo--wide { padding-inline: 14px; }
.logo-grid li.logo--wide img { max-height: 54px; filter: grayscale(1) invert(1) brightness(1.15) contrast(1.2); opacity: 0.9; }
.logo-grid li.logo--wide:hover img { filter: contrast(1.35) brightness(0.8); }

.stands { display: grid; grid-template-columns: 7fr 5fr; grid-auto-rows: clamp(180px, 22vw, 300px); gap: 10px; }
.stands figure { margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--surface-1); }
.stands img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
.stands figure:hover img { transform: scale(1.045); filter: saturate(1.12) brightness(1.05); }
.stands .s1 { grid-row: span 2; }
.stands .s4 { grid-column: 1 / -1; }
@media (max-width: 760px) { .stands { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .stands .s1, .stands .s4 { grid-column: 1 / -1; grid-row: auto; } }

/* ---- Footer ---- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer-grid p { color: var(--muted); max-width: 40ch; margin: 16px 0 0; font-size: 0.94rem; }
.footer-grid h2 { font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--green); }
.footer-grid .brand, .footer-grid .brand:hover { color: var(--ink); font-size: 1rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-base .made { display: inline-flex; align-items: center; gap: 6px; }
.footer-base .made .icon { color: var(--green); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---- Inner page header: a band of sky ---- */
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(3rem, 7vw, 5.8rem); margin-bottom: 18px; }
.page-head .lede { margin: 0; }

/* ---- Track pages ---- */
.slope-switch {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: clamp(32px, 5vw, 52px);
  background: rgba(3, 9, 15, 0.55); border-radius: 999px; box-shadow: 0 0 0 1px var(--line) inset;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.slope-switch a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.94rem;
  transition: background-color 180ms, color 180ms;
}
.slope-switch a:hover { color: var(--ink); background: rgba(242, 247, 246, 0.06); }
.slope-switch a[aria-current="page"] { background: var(--ink); color: var(--on-light); }
.slope-switch .slope-badge, .program-menu .slope-badge { width: 36px; height: 27px; border-radius: 7px; }
.slope-switch a[aria-current="page"] .slope-badge { box-shadow: 0 0 0 1px rgba(3, 17, 13, 0.25) inset; }
@media (max-width: 560px) { .slope-switch { display: flex; border-radius: 22px; } .slope-switch a { flex: 1 1 100%; } }

.track-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.track-grid h1 { display: flex; align-items: center; gap: 0.22em; margin-bottom: 14px; }
.track-title .slope-badge { width: 1.1em; height: 0.82em; border-radius: 0.16em; margin-right: 0.08em; }
.track-tagline { margin: 0 0 14px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; color: var(--green); text-wrap: balance; }
.track-photo { margin: 0; overflow: hidden; border-radius: var(--r-card); }
.track-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.track-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.track-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(3, 9, 15, 0.55); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 500; font-size: 0.94rem; }
.track-facts .icon { color: var(--green); }
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } .track-photo { display: none; } }

.schedule-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 20px; }
.schedule-head h2 { margin: 0; }
.schedule-head p { margin: 0; }
.schedule { display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 32px; padding: 28px 30px; background: var(--surface-1); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line) inset; }
.slot .slot-time { margin: 0; font-size: 1.9rem; font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.slot-time small { display: block; margin-top: 10px; font-size: 0.86rem; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.slot h3 { font-size: 1.25rem; margin-bottom: 8px; }
.slot p { margin: 0 0 14px; color: var(--muted); max-width: 70ch; }
.speaker { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-weight: 500; }
.slot .speaker { color: var(--ink); }
.speaker-photo, .speaker-initials { flex: none; width: 44px; height: 44px; border-radius: 50%; }
.speaker-photo { object-fit: cover; background: var(--surface-solid); box-shadow: 0 0 0 1px var(--line-strong); }
.speaker-initials { display: inline-grid; place-items: center; background: linear-gradient(135deg, #7ddcb0, var(--green)); color: var(--on-light); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em; }
/* Co-speakers: overlapping photos, the ring matches the slot background */
.speaker-photos { display: inline-flex; flex: none; }
.speaker-photos .speaker-photo + .speaker-photo { margin-left: -10px; box-shadow: 0 0 0 2px #07121a, 0 0 0 3px var(--line-strong); }
.slot--tba { padding: 18px 30px; align-items: center; background: transparent; }
.slot--tba .slot-time { font-size: 1.4rem; }
.slot--tba .slot-time small { display: inline; margin: 0 0 0 10px; }
.slot--tba .tba { margin: 0; color: var(--muted); }
.slot--tba .tba strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .slot, .slot--tba { grid-template-columns: 1fr; padding: 22px 20px; }
  .slot .slot-time { font-size: 1.7rem; }
  .slot-time small { display: inline; margin-left: 10px; }
}
/* Confirmed sessions whose time is not fixed yet */
.schedule-note { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 10px 16px; border-radius: 14px; background: rgba(3, 9, 15, 0.55); box-shadow: 0 0 0 1px var(--line) inset; color: var(--ink-soft); font-size: 0.94rem; }
.schedule-note .icon { flex: none; color: var(--green); }
.slot .slot-time--tbc { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink-soft); }
@media (min-width: 641px) { .slot--tba .slot-time--tbc small { display: block; margin: 6px 0 0; } }

/* Course outline (Training Bar): numbered modules in parts, with topics and labs */
.course-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(40px, 6vw, 56px); }
.course-intro > div { padding: 26px 30px; background: var(--surface-1); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line) inset; }
.course-intro h3 { margin-bottom: 8px; }
.course-intro p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .course-intro { grid-template-columns: 1fr; } .course-intro > div { padding: 22px 20px; } }
.course-part { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 16px; }
.schedule + .course-part { margin-top: clamp(40px, 6vw, 56px); }
.course-part h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.035em; }
.part-label { margin: 0; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.slot h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 8px; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin: 0 0 18px; max-width: 78ch; }
.topics li { position: relative; padding-left: 18px; color: var(--ink-soft); line-height: 1.45; }
.topics li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }
.slot .lab { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(60, 199, 137, 0.1); box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.35) inset; color: var(--ink); font-weight: 500; font-size: 0.94rem; max-width: 100%; }
.lab .icon { color: var(--green); }
.lab strong { margin-right: 6px; font-weight: 600; color: var(--green); }
.course-source { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 24px 0 0; color: var(--muted); }

.abstract { margin-top: 6px; }
.abstract summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
  cursor: pointer; list-style: none; font-weight: 500; font-size: 0.9rem; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-strong) inset; transition: box-shadow 160ms;
}
.abstract summary:hover { box-shadow: 0 0 0 1px var(--ink) inset; }
.abstract summary::-webkit-details-marker { display: none; }
.abstract summary .icon { color: var(--green); transition: transform 220ms var(--ease-out); }
.abstract[open] summary .icon { transform: rotate(45deg); }
.abstract-body { margin-top: 18px; padding-left: 18px; border-left: 1px solid var(--green); }
.slot .abstract-body p { color: var(--ink-soft); }

.track-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 14px 14px 14px 30px; border-radius: 999px; background: var(--surface-1); box-shadow: 0 0 0 1px var(--line) inset; }
.track-cta p { margin: 0; font-weight: 500; }
@media (max-width: 640px) { .track-cta { border-radius: var(--r-card); padding: 22px; } }

.other-slopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.other-slope { display: grid; gap: 8px; padding: 30px; border-radius: var(--r-card); background: var(--surface-1); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; color: var(--ink); transition: background-color 220ms var(--ease-out); }
.other-slope:hover { color: var(--ink); background: var(--surface-2); }
.other-slope .piste-name { font-size: 1.8rem; margin-bottom: 6px; }
.other-slope p { margin: 0; color: var(--muted); }
.other-slope .link-arrow { margin-top: 10px; }
.other-slope:hover .link-arrow { color: var(--green); }
@media (max-width: 760px) { .other-slopes { grid-template-columns: 1fr; } }

/* ---- Practical info page ---- */
.info-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-grid .facts-grid { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
.info-photo { margin: 0; overflow: hidden; border-radius: var(--r-card); }
.info-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } .info-photo { display: none; } }
@media (max-width: 560px) { .info-grid .facts-grid { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .intro { position: sticky; top: 32px; }
.faq-grid .intro a { color: var(--green); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface-1); border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; transition: background-color 200ms; }
.faq details[open] { background: var(--surface-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 550; font-size: 1.06rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--green); transition: transform 220ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 24px; max-width: 66ch; color: var(--muted); }
.faq .answer p { margin: 0; }
.faq .answer a { color: var(--green); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .intro { position: static; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 40px); background: var(--surface-1); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line) inset; }
.contact-form h2, .contact-grid aside h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-grid aside { padding-top: clamp(24px, 4vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 500; font-size: 0.94rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--night); border: 1px solid rgba(170, 225, 210, 0.2); border-radius: var(--r-input);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: #7f9491; }
.field input:hover, .field textarea:hover { border-color: rgba(170, 225, 210, 0.38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(60, 199, 137, 0.22); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.form-status[data-state="success"] { background: rgba(60, 199, 137, 0.1); color: var(--ink); box-shadow: 0 0 0 1px var(--green) inset; }
.form-status[data-state="error"] { background: rgba(255, 120, 100, 0.1); color: var(--ink); box-shadow: 0 0 0 1px #ff8a78 inset; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 8px; }
.contact-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 18px 20px; background: var(--surface-1); border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
.contact-list strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }
.contact-list div { color: var(--muted); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--green); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid aside { padding-top: 0; } }

.venue-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 32px; border-radius: var(--r-card); background: var(--surface-1); box-shadow: 0 0 0 1px var(--line) inset; }
.venue-band h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 4px; }
.venue-band p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .venue-band { grid-template-columns: 1fr; } }

/* ---- Prose (legal pages) ---- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.8em 0 0.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }
.prose li::marker { color: var(--green); }
.prose li + li { margin-top: 6px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green); }

/* ---- 404 ---- */
.lost { display: flex; align-items: flex-end; min-height: 100dvh; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 10vh, 120px); }
.lost h1 { margin-bottom: 20px; }
.lost .lede { margin-bottom: 28px; }

/* ==========================================================================
   Hover: aurora light that follows the pointer
   ========================================================================== */
:is(.about-photo, .track-photo, .info-photo, .gallery figure) img { transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
:is(.about-photo, .track-photo, .info-photo, .gallery figure):hover img { transform: scale(1.045); filter: saturate(1.12) brightness(1.05); }

/* Cards pick up a soft glow at the pointer (position set in site.js) */
:is(.piste, .wave:not(.is-current), .facts-grid > div, .slot:not(.slot--tba), .other-slope, .faq details, .contact-list li, .feature-list li) {
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}
:is(.piste, .wave:not(.is-current), .facts-grid > div, .slot:not(.slot--tba), .other-slope, .faq details, .contact-list li):hover {
  background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(60, 199, 137, 0.14), transparent 65%);
  box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.3) inset;
}
/* Links that lead somewhere lift slightly */
:is(.piste, .other-slope):hover { transform: translateY(-2px); }
:is(.piste, .other-slope):hover .slope-badge { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.45) inset, 0 0 22px rgba(60, 199, 137, 0.2); }
.wave.is-current { transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.wave.is-current:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(60, 199, 137, 0.7) inset, 0 24px 70px -20px rgba(60, 199, 137, 0.5); }

/* Feature list: the heading warms to lime */
.feature-list h3 { transition: color 240ms var(--ease-out); }
.feature-list li:hover h3 { color: var(--green); }

/* Day timeline: the dot glows */
.day-line li::before { transition: box-shadow 240ms var(--ease-out), background-color 240ms var(--ease-out); }
.day-line li:hover::before { background: var(--green); box-shadow: 0 0 0 5px rgba(60, 199, 137, 0.18), 0 0 22px rgba(60, 199, 137, 0.6); }
.day-line li:hover time { color: var(--green); }
.day-line time { transition: color 240ms var(--ease-out); }

/* Buttons: primary glows like the aurora */
.btn--primary:hover { box-shadow: 0 8px 30px -8px rgba(60, 199, 137, 0.6); }
.btn .icon { transition: transform 240ms var(--ease-out); }
.btn:hover .icon { transform: translateX(2px) rotate(-6deg); }

/* Footer and inline links: an underline that grows in */
.footer-grid ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-out), color 200ms; padding-bottom: 2px; }
.footer-grid ul a:hover { background-size: 100% 1px; }

@media (hover: none) {
  :is(.piste, .other-slope, .wave.is-current, .logo-grid li):hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.about-photo, .track-photo, .info-photo, .gallery figure):hover img, :is(.piste, .other-slope, .wave.is-current, .logo-grid li):hover, .logo-grid li:hover img { transform: none; }
}
