:root {
  --ink: #0b0d0f;
  --surface: #111315;
  --surface-raised: #171a1e;
  --blue: #4b9cd3;
  --blue-bright: #6ec1e4;
  --white: #fff;
  --muted: #a6adb5;
  --line: rgba(75, 156, 211, 0.38);
  --content: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 0.35rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8vw;
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
}
.brand img { width: 132px; height: 132px; object-fit: contain; }
.shop-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  padding: .7rem 0;
  border-bottom: 2px solid var(--blue);
  transition: color .2s ease, border-color .2s ease;
}
.shop-link:hover, .shop-link:focus-visible { color: var(--blue-bright); border-color: var(--white); }

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: -3; }
.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: hero-fade 25s infinite;
  transform: scale(1.04);
}
.hero-slide-1 { background-image: url('/assets/hero-1.jpeg'); animation-delay: 0s; }
.hero-slide-2 { background-image: url('/assets/hero-2.jpeg'); animation-delay: 5s; background-position: center 42%; }
.hero-slide-3 { background-image: url('/assets/hero-3.jpeg'); animation-delay: 10s; }
.hero-slide-4 { background-image: url('/assets/hero-4.jpeg'); animation-delay: 15s; background-position: center 34%; }
.hero-slide-5 { background-image: url('/assets/hero-5.jpeg'); animation-delay: 20s; background-position: center 38%; }
.hero-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.35) 52%, #0b0d0f 100%);
}
.hero-copy { text-align: center; padding: 9rem 1.25rem 14rem; text-transform: uppercase; }
.hero-copy h1 {
  max-width: 15ch;
  margin: .2rem auto;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: .9;
  letter-spacing: .045em;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(0,0,0,.45);
}
.eyebrow {
  margin: 0;
  color: var(--blue-bright);
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .24em;
}
.scroll-cue { position: absolute; bottom: 7rem; width: 34px; height: 52px; border: 2px solid rgba(255,255,255,.65); border-radius: 30px; }
.scroll-cue span { position: absolute; left: 50%; top: 10px; width: 5px; height: 9px; border-radius: 4px; background: var(--blue-bright); transform: translateX(-50%); animation: scroll-dot 1.8s infinite; }

.experiences {
  position: relative;
  z-index: 3;
  max-width: var(--content);
  margin: -8rem auto 0;
  padding: 0 1.5rem 6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.experience-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}
.card-image-wrap { position: absolute; inset: 0; }
.card-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,6,8,.94) 100%); }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.experience-card:hover .card-image-wrap img { transform: scale(1.045); }
.card-copy { position: absolute; inset: auto 0 0; padding: 2rem; text-align: center; }
.card-copy h2 { margin: 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: .11em; text-transform: uppercase; }
.card-copy p { margin: .3rem 0 .95rem; color: var(--blue-bright); font-size: 1.05rem; font-weight: 800; }
.text-link { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.sport-section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}
.sport-image { position: relative; }
.sport-image::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1; }
.sport-image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.sport-copy { max-width: 32rem; }
.section-kicker { margin: 0 0 .4rem; color: var(--blue-bright); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.sport-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: .95; text-transform: uppercase; letter-spacing: .04em; }
.sport-copy > p:not(.section-kicker) { margin: 0 0 1.6rem; color: #d4d8dd; font-size: 1.08rem; }
.button { display: inline-flex; gap: .55rem; align-items: center; padding: .78rem 1.1rem; background: var(--blue); color: #071018; text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .055em; transition: background .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible { background: var(--blue-bright); transform: translateY(-2px); }

.closing-image {
  position: relative;
  min-height: min(70vw, 700px);
  margin-top: 3rem;
  background: url('/assets/closing.jpeg') center 32% / cover no-repeat;
  display: grid;
  place-items: end center;
}
.closing-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0b0d0f 0%, transparent 40%, rgba(0,0,0,.74) 100%); }
.closing-image p { position: relative; margin: 0 1.5rem 4rem; text-align: center; font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 950; line-height: 1; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 8px 30px #000; }

.site-footer { padding: 4rem 1.5rem 2.5rem; text-align: center; background: #0b0d0f; color: var(--muted); }
.site-footer img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 1.5rem; }
.site-footer p { margin: 0; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes hero-fade {
  0% { opacity: 0; transform: scale(1.05); }
  4%, 20% { opacity: 1; }
  24%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 18px); } }

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 1.1rem; }
  .brand img { width: 98px; height: 98px; }
  .shop-link { font-size: .76rem; }
  .hero { min-height: 760px; }
  .hero-copy { padding-bottom: 17rem; }
  .scroll-cue { display: none; }
  .experiences { grid-template-columns: 1fr; margin-top: -12rem; padding-inline: 1rem; }
  .experience-card { min-height: 520px; }
  .sport-section { grid-template-columns: 1fr; padding: 4rem 1.25rem; gap: 2.5rem; }
  .sport-equestrian .sport-copy { order: 2; }
  .sport-equestrian .sport-image { order: 1; }
  .sport-image::before { inset: 12px -10px -12px 10px; }
  .closing-image { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide-1 { opacity: 1; }
  .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-image-wrap img, .button { transition: none; }
}
