/* Homepage */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--green-950); overflow: clip; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(6, 20, 15, .92) 0%, rgba(6, 20, 15, .55) 38%, rgba(6, 20, 15, .12) 70%),
  linear-gradient(90deg, rgba(6, 20, 15, .55), rgba(6, 20, 15, 0) 60%); }
.hero__inner { padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(40px, 8vh, 96px); display: grid; gap: clamp(16px, 2.4vh, 26px); }
.hero__title { font-size: clamp(2.5rem, min(6.4vw, 11.2vh), 6.4rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__lede { color: #E4EAE6; margin: 0; font-size: clamp(1.08rem, 1.25vw, 1.22rem); }
.hero__btns { margin-top: 4px; }

.hero__next {
  position: absolute; right: var(--gut); bottom: clamp(40px, 8vh, 96px); width: min(360px, 32vw);
  padding: 20px 22px 18px; background: rgba(9, 28, 21, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 160, 74, .55); border-left: 4px solid var(--red); border-radius: var(--r);
}
.hero__next p { margin: 0; }
.hero__next-k { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-lt); }
.hero__next-name { font-family: var(--f-display); font-stretch: 100%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; margin: 6px 0 4px !important; }
.hero__next-when { color: #D7DFDA; }
.hero__next-in { display: inline-block; margin-left: 6px; padding: 1px 8px; background: var(--red); color: #fff; font-weight: 700; font-size: .9rem; border-radius: 2px; }
.hero__next-in:empty { display: none; }
.hero__next-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--brass-lt); font-weight: 600; text-underline-offset: 4px; padding: 4px 0; }
.hero__cue { position: absolute; left: 50%; bottom: 18px; width: 4px; height: 42px; margin-left: -2px; overflow: clip; opacity: .8; }
.hero__cue span { position: absolute; left: 0; top: -100%; width: 4px; height: 200%; background: repeating-linear-gradient(180deg, var(--brass) 0 9px, transparent 9px 18px); animation: cue 1.4s linear infinite; }
@keyframes cue { to { transform: translateY(50%); } }

@media (min-width: 1181px) {
  .hero__inner { padding-right: calc(min(360px, 32vw) + var(--gut) + 24px); }
}
@media (max-width: 1180px) {
  .hero { align-items: stretch; }
  .hero__inner { align-content: end; padding-bottom: 24px; }
  .hero { flex-direction: column; justify-content: flex-end; }
  .hero__next { position: relative; right: auto; bottom: auto; width: auto; margin: 0 var(--gut) 28px; }
  .hero__cue { display: none; }
}
@media (max-width: 560px) {
  .hero__next { padding: 14px 16px; }
  .hero__next-name { font-size: 1.15rem; }
  .hero__next-link { margin-top: 4px; }
  .hero__btns .btn { flex: 1 1 auto; }
}

/* Hero entrance start states (motion only) */
html.motion .hero__media { clip-path: inset(7% 5% 7% 5%); }
html.motion [data-hero-rise], html.motion .hero__next { opacity: 0; }
html.motion [data-hero-title]:not(.split-h) { opacity: 0; }

/* ---------- Where to start ---------- */
.drivers__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.drivers__head .lede { margin: 0; text-align: right; }
.drivers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); perspective: 1200px; }
.dcard { position: relative; display: flex; flex-direction: column; background: var(--green-800); color: var(--on-dark); text-decoration: none; border-radius: var(--r); overflow: clip; border-top: 3px solid var(--brass); transform-style: preserve-3d; will-change: transform; }
.dcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: clip; }
.dcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.07); }
.dcard__body { display: grid; gap: 8px; padding: 20px 20px 22px; flex: 1; align-content: start; }
.dcard__title { font-family: var(--f-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.1; }
.dcard__text { color: var(--on-dark-muted); font-size: 1rem; line-height: 1.5; }
.dcard__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--f-display); font-weight: 750; font-stretch: 90%; color: var(--brass-lt); }
.dcard__go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.dcard:hover .dcard__go svg { transform: translateX(6px); }
.dcard__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 238, 190, .22), transparent 60%); transition: opacity .3s; }
.dcard:hover .dcard__glare { opacity: 1; }
@media (max-width: 1100px) { .drivers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dcard__media { aspect-ratio: 16 / 9; } }
@media (max-width: 700px) {
  .drivers__head { grid-template-columns: 1fr; }
  .drivers__head .lede { text-align: left; }
  .drivers__grid { grid-template-columns: 1fr; }
}

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.intro__copy { display: grid; gap: 18px; }
.intro__copy .lede { margin: 0; }
.intro__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.intro__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 14px 12px 12px; background: var(--paper); border-radius: var(--r); border-top: 3px solid var(--brass); }
.intro__list svg { width: 34px; height: 34px; color: var(--red); }
.intro__list strong { display: block; font-family: var(--f-display); font-stretch: 96%; font-weight: 750; font-size: 1.08rem; }
.intro__media { aspect-ratio: 4 / 3; max-height: var(--media-cap); overflow: visible; }
.intro__media { margin: 0 14px 14px 0; }
.intro__media .frame__media img, .join__media .frame__media img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__list { grid-template-columns: 1fr; }
}

/* ---------- Regular meets ---------- */
.meets { overflow: clip; isolation: isolate; }
.meets__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.meets__bg img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; }
.meets__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 20, .86), rgba(8, 26, 20, .58) 45%, rgba(8, 26, 20, .9)); }
.meets__head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 54px); }
.meets__head .lede { margin: 0; }
.meets__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); }
.meets__road { position: absolute; left: -2%; right: -2%; top: 42%; width: 104%; height: 120px; z-index: 0; pointer-events: none; }
.ticket { position: relative; z-index: 1; display: grid; gap: 8px; padding: clamp(22px, 2.6vw, 34px); background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); border-radius: var(--r) var(--r) 0 0; }
.ticket--alt::before { background: var(--brass); }
.ticket p { margin: 0; }
.ticket__k { font-family: var(--f-display); font-stretch: 82%; font-weight: 750; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ticket--alt .ticket__k { color: #7A5A12; }
.ticket__when { display: flex; align-items: center; gap: 18px; padding: 8px 0 12px; border-bottom: 2px dashed #C3CBC6; }
.ticket__big { font-size: clamp(3rem, 5vw, 4.4rem); line-height: .9; font-weight: 800; }
.ticket__rule { font-weight: 600; line-height: 1.35; }
.ticket__place { font-size: clamp(1.4rem, 2vw, 1.9rem); --fs: 100%; margin-top: 6px; }
.ticket__addr { color: var(--muted); }
.ticket__next { font-weight: 700; color: var(--green-800); }
.ticket__next:empty { display: none; }
@media (max-width: 800px) {
  .meets__grid { grid-template-columns: 1fr; }
  .meets__road { display: none; }
}

/* ---------- The club year on the clock ---------- */
.gauge { position: relative; background: var(--green-950); color: var(--on-dark); overflow: clip; }
.gauge::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 600px at 25% 55%, rgba(201, 160, 74, .12), transparent 70%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 9px); }
.gauge__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) - 10px) 0 28px; }
.gauge__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "dial head" "dial side"; gap: 18px clamp(28px, 5vw, 80px); align-items: center; align-content: center; }
.gauge__h { grid-area: head; align-self: end; }
.gauge__dialwrap { grid-area: dial; display: grid; gap: 16px; justify-items: center; }
.gauge__side { grid-area: side; align-self: start; display: grid; gap: 18px; justify-items: start; }
.gauge__dial { position: relative; width: min(46vh, 430px, 100%); aspect-ratio: 1; }
.gauge__svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.gauge__track { fill: none; stroke: rgba(238, 241, 236, .14); stroke-width: 14; }
.gauge__red { fill: none; stroke: var(--red); stroke-width: 14; opacity: .85; }
.gauge__prog { fill: none; stroke: var(--brass); stroke-width: 14; }
.gauge__tick { stroke: #EEF1EC; stroke-width: 3; }
.gauge__tick--minor { stroke: rgba(238, 241, 236, .45); stroke-width: 2; }
.gauge__lbl { fill: #EEF1EC; font-family: var(--f-ui); font-stretch: 78%; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-anchor: middle; dominant-baseline: middle; }
.gauge__lbl.is-on { fill: var(--brass-lt); }
.gauge__readout { position: absolute; left: 0; right: 0; top: 56%; display: grid; justify-items: center; gap: 2px; text-align: center; }
.gauge__num { font-size: clamp(2rem, 4vh, 2.8rem); line-height: 1; color: #fff; }
.gauge__unit { font-size: .92rem; color: var(--on-dark-muted); line-height: 1.3; white-space: nowrap; }
.gauge__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.gauge__tab { min-width: 44px; min-height: 44px; padding: 6px 8px; background: transparent; color: var(--on-dark); border: 1px solid rgba(201, 160, 74, .45); border-radius: 0; font-family: var(--f-ui); font-stretch: 80%; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background-color .25s, color .25s; }
.gauge__tab:hover { background: rgba(201, 160, 74, .2); }
.gauge__tab[aria-pressed="true"] { background: var(--brass); color: var(--ink); border-color: var(--brass); }

.gauge__live { display: grid; gap: 8px; width: 100%; }
.gauge__photo { width: min(100%, calc(30vh * 1.6)); aspect-ratio: 16 / 10; margin: 0 14px 12px 0; }
.gauge__photo .frame__media { position: relative; background: var(--green-800) center / cover no-repeat; }
.gauge__photo img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.gmonth { display: grid; gap: 10px; }
.gmonth__photo { aspect-ratio: 16 / 10; margin: 0 14px 18px 0; }
.gmonth__photo img { width: 100%; height: 100%; object-fit: cover; }
.gmonth__name { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; color: #fff; }
.gmonth__count { margin: 0; color: var(--brass-lt); font-weight: 600; }
.gmonth__count .fig, .gmonth__count [data-live-count] { font-family: var(--f-ui); font-stretch: 78%; font-weight: 700; font-size: 1.4rem; color: #fff; margin-right: 4px; }
.gmonth__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.gmonth__list li { position: relative; padding-left: 18px; line-height: 1.4; }
.gmonth__list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.gmonth__more { color: var(--on-dark-muted); }
.gmonth__more::before { background: var(--on-dark-muted) !important; }
.gauge__cta { margin-top: 4px; }

/* With the script: one live panel. Without it: every month as a list of cards. */
html.js .gauge__months { display: none; }
html.js .gauge__live[hidden] { display: grid; }
html.no-js .gauge__live { display: none; }
html.no-js .gauge__tabs, html.no-js .gauge__needle { display: none; }
html.no-js .gauge__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
html.no-js .gauge__grid { grid-template-columns: 1fr; grid-template-areas: "head" "dial" "side"; }

@media (max-width: 900px) {
  .gauge__pin { align-items: flex-start; padding-top: calc(var(--head-h) + 4px); }
  .gauge__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "dial" "side"; gap: 12px; }
  .gauge__h { text-align: center; justify-self: stretch; }
  .gauge__side { justify-items: stretch; gap: 10px; }
  .gauge__dial { width: min(30vh, 270px); }
  .gauge__tabs, .gauge__photo, .gauge__unit { display: none; }
  .gmonth__name { font-size: 1.9rem; }
  .gmonth__list { grid-template-columns: 1fr; gap: 3px; }
  .gauge__live .gmonth__list li:nth-child(n+5) { display: none; }
  .gauge__cta { justify-self: start; }
  html.no-js .gauge__months { grid-template-columns: 1fr; }
  html:not(.motion) .gauge__tabs, html:not(.motion) .gauge__photo { display: flex; }
  html:not(.motion) .gauge__photo { display: block; }
}

/* ---------- Members' cars ---------- */
.cars { overflow: clip; padding-bottom: clamp(48px, 6vw, 88px); }
.cars__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.cars__head .lede { margin: 14px 0 0; }
.cars__ctrl { display: flex; align-items: center; gap: 10px; }
.cars__count { margin: 0 10px 0 0; font-size: 1.3rem; }
.cars__btn { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 0; border-radius: var(--r-btn); cursor: pointer; transition: background-color .25s; }
.cars__btn:hover { background: var(--red); }
.cars__btn svg { width: 20px; height: 20px; }
.cars__btn:disabled { background: #9AA59F; cursor: default; }
.cars__viewport { overflow: clip; padding: 6px 0 10px; }
.cars__track { list-style: none; margin: 0; padding: 0 var(--gut); display: flex; gap: clamp(16px, 2vw, 26px); }
html.js .cars__track { width: max-content; padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); cursor: grab; touch-action: pan-y; }
html.js .cars__track:active { cursor: grabbing; }
html.no-js .cars__track { flex-wrap: wrap; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; }
html.no-js .car { width: calc(25% - 20px); }
html.no-js .cars__ctrl, html.no-js .cars__hint, html.no-js .cars__bar { display: none; }
.car { flex: none; width: clamp(260px, 25vw, 340px); background: var(--paper); border-radius: var(--r); overflow: clip; border-bottom: 3px solid var(--brass); user-select: none; }
.car__photo { position: relative; aspect-ratio: 4 / 3; overflow: clip; background: #CDD3CE; }
.car__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s var(--ease); }
.car:hover .car__photo img { transform: scale(1.05); }
.car__body { padding: 16px 18px 18px; }
.car__name { font-size: 1.28rem; --fs: 96%; line-height: 1.15; }
.car__owner { margin: 4px 0 0; font-weight: 700; color: var(--red); font-size: .98rem; }
.car__text { margin: 6px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.cars__foot { display: flex; align-items: center; gap: 28px; margin-top: 22px; }
.cars__bar { flex: 1; height: 3px; background: #C8D0CB; position: relative; overflow: clip; }
.cars__bar span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(.0625); }
@media (max-width: 700px) {
  .cars__head { grid-template-columns: 1fr; }
  .car { width: 78vw; }
  html.no-js .car { width: 100%; }
}

/* ---------- Membership ---------- */
.join__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.join__media { aspect-ratio: 4 / 3; max-height: var(--media-cap); margin: 0 14px 14px 0; overflow: visible; }
.join__copy { display: grid; gap: 20px; }
.join__copy .lede { margin: 0; }
.join__price { display: flex; align-items: baseline; gap: 12px; margin: 0; color: var(--brass-lt); font-family: var(--f-display); font-weight: 750; font-stretch: 90%; font-size: 1.2rem; }
.join__price .fig { font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: .9; font-weight: 850; color: #fff; font-stretch: 100%; }
.join__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.join__list li { position: relative; padding-left: 30px; }
.join__list li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 9px; border-left: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: rotate(-45deg); }
@media (max-width: 900px) { .join__grid { grid-template-columns: 1fr; } }

/* ---------- Out and about ---------- */
.about-strip { overflow: clip; }
.strip__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 44px); }
.strip { display: grid; gap: 16px; }
.strip__row { overflow: clip; }
.strip__belt { display: flex; width: max-content; animation: belt 60s linear infinite; }
.strip__row--b .strip__belt { animation-direction: reverse; animation-duration: 70s; }
.strip__set { display: flex; gap: 16px; padding-right: 16px; }
.strip__tile { width: clamp(220px, 24vw, 360px); aspect-ratio: 3 / 2; border-radius: var(--r); overflow: clip; background: #D5DAD6; }
.strip__tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes belt { to { transform: translateX(-50%); } }

/* ---------- Finale ---------- */
.finale { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; color: #fff; overflow: clip; isolation: isolate; background: var(--green-950); padding: 96px 0; }
.finale__media { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.finale__media img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; }
.finale__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 26, 20, .92) 0%, rgba(8, 26, 20, .74) 50%, rgba(8, 26, 20, .35) 100%); }
.finale__inner { display: grid; gap: 22px; }
.finale__inner .lede { color: #E1E8E3; margin: 0; }
