/*
Theme Name: Ski Race Academy Mals
Theme URI: https://skiraceacademymals.local/
Author: Ski Race Academy Mals
Description: Custom static-style WordPress theme for Ski Race Academy Mals.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ski-race-academy-mals
*/

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #15191d;
  --muted: #5e6974;
  --navy: #07172b;
  --blue: #123d6c;
  --steel: #e9eef3;
  --snow: #f7f9fb;
  --white: #ffffff;
  --red: #d73232;
  --red-dark: #a61f28;
  --line: rgba(7, 23, 43, 0.14);
  --shadow: 0 22px 70px rgba(7, 23, 43, 0.14);
  --radius: 8px;
  --ease-out: cubic-bezier(0.2, 0.82, 0.2, 1);
  --ease-snap: cubic-bezier(0.18, 0.9, 0.28, 1);
  --motion-fast: 180ms;
  --motion-medium: 420ms;
  --motion-slow: 720ms;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 23, 43, 0.08);
  backdrop-filter: blur(18px);
  transition:
    min-height var(--motion-fast) ease,
    padding var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background var(--motion-fast) ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(7, 23, 43, 0.08);
}

.brand img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--motion-fast) ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px) scale(1.015);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 24px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #243344;
}

.site-header nav a {
  position: relative;
  padding: 12px 0;
  transition: color var(--motion-fast) ease;
}

.site-header nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--motion-fast) ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--red-dark);
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header nav a[aria-current="page"] {
  color: var(--red-dark);
}

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

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #243344;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-picker select {
  width: auto;
  min-height: 38px;
  padding: 0 30px 0 10px;
  border-color: rgba(7, 23, 43, 0.18);
  border-radius: 4px;
  background-color: var(--white);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.language-picker select:hover,
.language-picker select:focus-visible {
  border-color: rgba(215, 50, 50, 0.46);
  box-shadow: 0 8px 20px rgba(7, 23, 43, 0.08);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(7, 23, 43, 0);
  transition:
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.header-cta,
.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta:hover,
.header-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(166, 31, 40, 0.25);
  transform: translateY(-2px);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.84);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.menu-button:hover span:nth-child(1),
.menu-button:focus-visible span:nth-child(1) {
  transform: translateX(-3px);
}

.menu-button:hover span:nth-child(3),
.menu-button:focus-visible span:nth-child(3) {
  transform: translateX(3px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 48%;
  transform: scale(1.03);
  animation: heroImageSettle 1400ms var(--ease-out) both;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 23, 43, 0.88) 0%, rgba(7, 23, 43, 0.58) 43%, rgba(7, 23, 43, 0.1) 75%),
    linear-gradient(0deg, rgba(7, 23, 43, 0.55) 0%, rgba(7, 23, 43, 0) 45%);
}

.hero-content {
  position: relative;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 190px clamp(20px, 5vw, 56px) 82px;
}

.hero h1 {
  max-width: min(560px, 50vw);
  margin: 0;
  font-size: clamp(3.05rem, 5.9vw, 5.5rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  animation: heroCopyRise 780ms var(--ease-snap) 120ms both;
}

.hero p {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  animation: heroCopyRise 780ms var(--ease-snap) 240ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: heroCopyRise 780ms var(--ease-snap) 360ms both;
}

@media (min-width: 981px) {
  .hero-image {
    left: auto;
    right: -24%;
    width: 124%;
  }
}

.section {
  padding: 104px clamp(20px, 5vw, 64px);
}

.section-kicker {
  margin-bottom: 15px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.64fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-left: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 4.75rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  min-height: 230px;
  padding: 34px;
  background: var(--snow);
  transition:
    background var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.pillar:hover,
.pillar:focus-within {
  background: var(--white);
  box-shadow: 0 18px 44px rgba(7, 23, 43, 0.1);
  transform: translateY(-5px);
}

.pillar p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(380px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.split-copy,
.media-stack,
.identity-copy,
.logo-meaning,
.life-panel,
.pathway {
  min-width: 0;
}

.training {
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.split-copy p {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263647;
  font-weight: 750;
  min-width: 0;
  overflow-wrap: anywhere;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.media-stack {
  position: relative;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    box-shadow var(--motion-medium) ease,
    transform var(--motion-medium) var(--ease-out);
}

.image-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.media-stack:hover .image-frame,
.image-frame:hover,
.image-frame:focus-within {
  box-shadow: 0 28px 78px rgba(7, 23, 43, 0.18);
  transform: translateY(-4px);
}

.media-stack:hover .image-frame img,
.image-frame:hover img,
.image-frame:focus-within img {
  transform: scale(1.045);
}

.action-frame img {
  object-position: center 18%;
}

.training-note {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: min(360px, 74%);
  padding: 24px;
  background: var(--navy);
  color: var(--white);
  border-left: 5px solid var(--red);
  box-shadow: 0 18px 45px rgba(7, 23, 43, 0.22);
  transition: transform var(--motion-medium) var(--ease-out), box-shadow var(--motion-medium) ease;
}

.media-stack:hover .training-note {
  box-shadow: 0 22px 52px rgba(7, 23, 43, 0.3);
  transform: translateY(-5px);
}

.training-note strong,
.training-note span {
  display: block;
}

.training-note span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.action-visuals {
  background: var(--navy);
}

.action-visual-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}

.action-visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-right: clamp(10px, 2vw, 22px);
}

.action-visual-copy h2 {
  color: var(--white);
  font-size: clamp(2.05rem, 4vw, 4.25rem);
}

.action-visual-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.action-visual-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.action-visual-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
  line-height: 1.35;
}

.action-visual-copy li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--red);
  transform: rotate(45deg);
}

.action-visual {
  margin: 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #050b14;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transition: transform var(--motion-medium) var(--ease-out), box-shadow var(--motion-medium) ease;
}

.action-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.action-visual:hover,
.action-visual:focus-within {
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.36);
  transform: translateY(-5px);
}

.action-visual:hover img,
.action-visual:focus-within img {
  transform: scale(1.04);
}

.action-visual-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 18px;
  min-width: 0;
}

.action-visual-wide img {
  object-position: center 48%;
}

.action-visual-portrait img {
  object-position: center 40%;
}

.identity {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(380px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--navy);
}

.identity h2,
.identity p {
  color: var(--white);
}

.identity p {
  color: rgba(255, 255, 255, 0.72);
}

.logo-meaning {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.logo-meaning img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  transition: transform var(--motion-medium) var(--ease-out);
}

.logo-meaning:hover,
.logo-meaning:focus-within {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-4px);
}

.logo-meaning:hover img,
.logo-meaning:focus-within img {
  transform: scale(1.025);
}

.about {
  max-width: 1280px;
  margin: 0 auto;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.coach-card {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 0 0 rgba(7, 23, 43, 0);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.coach-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.coach-card:hover,
.coach-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.coach-card:hover img,
.coach-card:focus-within img {
  transform: scale(1.04);
}

.coach-mountain img {
  object-position: center top;
}

.coach-course img {
  object-position: center 22%;
}

.coach-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 23, 43, 0.82), rgba(7, 23, 43, 0.02) 56%);
}

.coach-card figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
}

.coach-card strong,
.coach-card span {
  display: block;
}

.coach-card strong {
  font-size: 1.34rem;
}

.coach-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.about-story img.coach-goggles-photo {
  object-position: center 30%;
}

.text-link {
  position: relative;
  display: inline-flex;
  margin-top: 28px;
  color: var(--red-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.text-link::after {
  bottom: -5px;
}

.life {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  background: var(--snow);
}

.life-panel {
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border-left: 6px solid var(--red);
  box-shadow: 0 0 0 rgba(7, 23, 43, 0);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.life-panel:hover,
.life-panel:focus-within {
  box-shadow: 0 20px 54px rgba(7, 23, 43, 0.1);
  transform: translateY(-4px);
}

.pathway {
  display: grid;
  gap: 14px;
}

.pathway-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  transition:
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    padding var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.pathway-step:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(215, 50, 50, 0.32);
  transform: translateX(4px);
}

.pathway-step span {
  color: var(--red);
  font-weight: 950;
}

.pathway-step strong {
  color: var(--navy);
  font-size: clamp(1.3rem, 2.5vw, 2.25rem);
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123d6c);
}

.contact h2 {
  color: var(--white);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.contact-form:focus-within {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(215, 50, 50, 0.52);
  box-shadow: 0 0 0 4px rgba(215, 50, 50, 0.12);
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.form-message {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.contact-form.is-sent .form-message {
  display: block;
}

.contact-form.is-error .form-message {
  display: block;
  color: #ffd8d8;
}

.contact-form.is-pending button {
  opacity: 0.72;
  cursor: progress;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 64px);
  background: #050b14;
  color: var(--white);
}

.partner-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.partner-banner span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

.partner-logos img {
  width: 100%;
  height: 92px;
  padding: 16px 20px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.partner-logos img:hover {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.footer > img {
  width: 196px;
  height: 70px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer a {
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.legal-hero {
  padding: 174px clamp(20px, 5vw, 64px) 78px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 23, 43, 0.94), rgba(7, 23, 43, 0.72) 52%, rgba(7, 23, 43, 0.28)),
    url("../public/assets/academy-banner-gates.jpg") center 42% / cover;
}

.legal-hero > div,
.legal-content {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.55;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-copy {
  display: grid;
  gap: 34px;
}

.legal-copy article {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  line-height: 1.04;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-copy p {
  margin: 0;
}

.legal-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.base-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 23, 43, 0.92), rgba(7, 23, 43, 0.64) 46%, rgba(7, 23, 43, 0.16)),
    linear-gradient(0deg, rgba(7, 23, 43, 0.5), rgba(7, 23, 43, 0) 48%),
    url("public/assets/athlete-air.JPG") 68% 44% / cover;
}

.base-hero-content {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 190px clamp(20px, 5vw, 56px) 78px;
}

.base-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 7.4rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.base-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.base-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.base-intro-copy p {
  max-width: 680px;
  margin-top: 0;
}

.base-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.base-facts div {
  min-height: 138px;
  padding: 24px;
  background: var(--snow);
  transition:
    background var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.base-facts div:hover {
  background: var(--white);
  box-shadow: 0 16px 38px rgba(7, 23, 43, 0.09);
  transform: translateY(-4px);
}

.base-facts strong,
.base-facts span {
  display: block;
}

.base-facts strong {
  color: var(--navy);
  font-size: 1.18rem;
  text-transform: uppercase;
}

.base-facts span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.training-map-section {
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.base-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 1fr);
  gap: clamp(22px, 4vw, 52px);
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}

.base-location-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.location-card {
  display: grid;
  grid-template-columns: 98px 42px 1fr;
  gap: 15px;
  width: 100%;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.location-photo {
  width: 98px;
  height: 96px;
  border-radius: 6px;
  object-fit: cover;
}

.location-card:hover,
.location-card.is-active {
  border-left-color: var(--red);
  box-shadow: 0 16px 38px rgba(7, 23, 43, 0.1);
  transform: translateY(-1px);
}

.location-card:hover {
  transform: translateY(-4px);
}

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

.location-card strong {
  color: var(--navy);
  font-size: 1.06rem;
  text-transform: uppercase;
  line-height: 1.15;
}

.location-card small {
  margin-top: 6px;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.location-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
}

.location-icon::before,
.location-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.location-icon.sun {
  background: #c84229;
}

.location-icon.snow::before {
  inset: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
}

.location-icon.lift::before {
  inset: 8px 11px 13px;
  border-width: 0 2px 2px;
  border-radius: 0 0 12px 12px;
}

.location-icon.speed::before {
  inset: 9px 8px;
  border-width: 2px 2px 0 0;
  border-radius: 0;
  transform: skewX(-24deg);
}

.map-panel {
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  gap: 16px;
  min-width: 0;
}

.map-canvas {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #edf3f8;
  box-shadow: var(--shadow);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.map-canvas:hover,
.map-canvas:focus-within {
  box-shadow: 0 28px 78px rgba(7, 23, 43, 0.18);
  transform: translateY(-3px);
}

.leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 540px;
}

.leaflet-container {
  font: inherit;
}

.leaflet-control-attribution {
  font-size: 0.64rem;
}

.leaflet-location-marker,
.leaflet-home-marker {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(7, 23, 43, 0.28);
}

.leaflet-location-marker {
  width: 34px;
  height: 34px;
  background: var(--red);
  border: 3px solid var(--white);
}

.leaflet-location-marker::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.leaflet-location-marker span,
.leaflet-home-marker span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 180px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(7, 23, 43, 0.12);
  white-space: normal;
  text-align: center;
}

.leaflet-home-marker span {
  top: calc(100% + 8px);
  bottom: auto;
}

.leaflet-location-marker:not(.is-active) {
  background: var(--blue);
}

.leaflet-location-marker.is-active {
  background: var(--red);
  transform: scale(1.16);
  transform-origin: center;
}

.leaflet-home-marker {
  width: 26px;
  height: 26px;
  background: var(--navy);
  border: 3px solid var(--white);
}

.leaflet-home-marker::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.training-route {
  stroke: rgba(215, 50, 50, 0.3);
  stroke-dasharray: 7 8;
}

.training-route.is-active {
  stroke: var(--red);
  stroke-dasharray: none;
}

.map-detail {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: 22px;
  padding: 24px;
  border-left: 5px solid var(--red);
  background: var(--navy);
  color: var(--white);
}

.map-detail-photo {
  margin: 0;
  min-width: 0;
}

.map-detail-photo img {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  object-fit: cover;
}

.map-detail-photo figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  line-height: 1.35;
}

.map-detail h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  text-transform: uppercase;
}

.map-detail strong {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-detail p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.detail-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.season-rhythm {
  background: var(--white);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1280px;
  margin: 44px auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.rhythm-grid article {
  min-height: 290px;
  padding: 28px;
  background: var(--snow);
  transition:
    background var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.rhythm-grid article:hover {
  background: var(--white);
  box-shadow: 0 18px 44px rgba(7, 23, 43, 0.1);
  transform: translateY(-5px);
}

.rhythm-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 950;
}

.rhythm-grid h3 {
  text-transform: uppercase;
}

.rhythm-grid p {
  margin-bottom: 0;
}

.base-action-photo {
  max-width: 1280px;
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.base-action-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 44%;
  transition: transform 900ms var(--ease-out);
}

.base-action-photo:hover,
.base-action-photo:focus-within {
  box-shadow: 0 28px 78px rgba(7, 23, 43, 0.18);
  transform: translateY(-4px);
}

.base-action-photo:hover img,
.base-action-photo:focus-within img {
  transform: scale(1.035);
}

.base-transport-photo img {
  object-position: center 48%;
}

.pathway-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.pathway-banner-photo,
.pathway-results-photo {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: var(--shadow);
  transition: box-shadow var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
}

.pathway-banner-photo img,
.pathway-results-photo img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: 780px;
  border-radius: var(--radius);
  object-fit: contain;
  transition: transform var(--motion-slow) var(--ease-out);
}

.pathway-banner-photo:hover,
.pathway-results-photo:hover {
  box-shadow: 0 28px 78px rgba(7, 23, 43, 0.18);
  transform: translateY(-4px);
}

.pathway-banner-photo:hover img,
.pathway-results-photo:hover img {
  transform: scale(1.025);
}

html.js [data-animate] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-snap);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-animate="fade-left"] {
  transform: translate3d(34px, 0, 0);
}

html.js [data-animate="fade-right"] {
  transform: translate3d(-34px, 0, 0);
}

html.js [data-animate="zoom"] {
  transform: translate3d(0, 24px, 0) scale(0.965);
}

html.js [data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroImageSettle {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero-image,
  .brand:hover img,
  .brand:focus-visible img,
  .header-cta:hover,
  .header-cta:focus-visible,
  .button:hover,
  .button:focus-visible,
  .pillar:hover,
  .pillar:focus-within,
  .media-stack:hover .image-frame,
  .media-stack:hover .image-frame img,
  .media-stack:hover .training-note,
  .action-visual:hover,
  .action-visual:focus-within,
  .action-visual:hover img,
  .action-visual:focus-within img,
  .logo-meaning:hover,
  .logo-meaning:focus-within,
  .logo-meaning:hover img,
  .logo-meaning:focus-within img,
  .coach-card:hover,
  .coach-card:focus-within,
  .coach-card:hover img,
  .coach-card:focus-within img,
  .life-panel:hover,
  .life-panel:focus-within,
  .pathway-step:hover,
  .base-action-photo:hover,
  .base-action-photo:focus-within,
  .base-action-photo:hover img,
  .base-action-photo:focus-within img,
  .pathway-banner-photo:hover,
  .pathway-results-photo:hover,
  .pathway-banner-photo:hover img,
  .pathway-results-photo:hover img {
    transform: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .brand img {
    width: 148px;
    height: 50px;
  }

  .menu-button {
    display: block;
  }

  .language-picker {
    margin-left: auto;
  }

  .site-header nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-header nav.is-open {
    display: grid;
    gap: 8px;
  }

  .site-header nav .mobile-nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
    padding: 13px 18px;
    border-radius: 4px;
    background: var(--red);
    color: var(--white);
  }

  .site-header nav .mobile-nav-cta::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .section-heading,
  .split,
  .identity,
  .life,
  .contact,
  .base-intro,
  .base-map-layout {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .coach-grid,
  .base-facts,
  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .training-note {
    right: 14px;
  }

  .action-visual-grid {
    grid-template-columns: 1fr;
  }

  .action-visual-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.46fr);
  }

  .action-visual img {
    height: 460px;
    min-height: 460px;
  }

  .base-action-photo img {
    height: 460px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .partner-banner {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-panel {
    grid-template-rows: auto auto;
  }

  .map-canvas {
    min-height: 500px;
  }

  .leaflet-map {
    min-height: 500px;
  }

  .map-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
    padding: 11px 16px;
  }

  .site-header nav {
    top: 74px;
  }

  .brand img {
    width: 124px;
    height: 42px;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }

  .partner-logos img {
    height: 84px;
  }

  .language-picker span {
    display: none;
  }

  .language-picker select {
    min-height: 36px;
    padding-left: 8px;
    padding-right: 26px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 3.6rem);
    line-height: 0.96;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 23, 43, 0.9), rgba(7, 23, 43, 0.45)),
      linear-gradient(0deg, rgba(7, 23, 43, 0.65), rgba(7, 23, 43, 0.04) 58%);
  }

  .hero-image {
    object-position: 72% center;
  }

  .base-hero {
    min-height: 650px;
  }

  .base-hero-content {
    padding-bottom: 48px;
  }

  .base-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
    line-height: 0.96;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .legal-hero {
    padding-top: 132px;
  }

  .legal-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
    line-height: 0.96;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-photo {
    width: 100%;
    height: 132px;
  }

  .map-canvas {
    min-height: 420px;
  }

  .leaflet-map {
    min-height: 420px;
  }

  .leaflet-location-marker span,
  .leaflet-home-marker span {
    max-width: 116px;
    font-size: 0.62rem;
  }

  .image-frame img,
  .coach-card,
  .coach-card img {
    min-height: 420px;
    height: 420px;
  }

  .action-visual img {
    height: 320px;
    min-height: 320px;
  }

  .action-visual-gallery {
    grid-template-columns: 1fr;
  }

  .pathway-photo-pair {
    grid-template-columns: 1fr;
  }

  .action-visual-portrait img {
    object-position: center 36%;
  }

  .base-action-photo img {
    height: 320px;
  }

  .pathway-banner-photo img,
  .pathway-results-photo img {
    max-height: 640px;
  }

  .training-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -2px;
  }

  .media-stack,
  .image-frame,
  .training-note {
    max-width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-form button {
    width: 100%;
  }
}
