/* ==========================================================================
   brandTURBO — site styles
   Design direction: the product is a browser new tab, so the page is built
   like one. A graphite browser shell holds a live club canvas; the accent
   colour is not fixed — it inherits from whichever club is on screen.
   brandTURBO orange stays constant as the frame around it.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */
:root {
  /* shell — cool graphite, not pure black */
  --ink:            #0B0E13;
  --ink-raised:     #141922;
  --ink-edge:       #1D242F;
  --ink-hairline:   #2A3341;

  /* paper — warm counterweight to the shell */
  --paper:          #F2EFE9;
  --paper-edge:     #E2DCD1;
  --paper-ink:      #14181D;

  /* brand constant */
  --brand:          #E77A3C;
  --brand-hot:      #FF9C00;
  --brand-grad:     linear-gradient(115deg, var(--brand-hot), var(--brand));

  /* text */
  --text:           #EEF1F5;
  --text-dim:       #98A3B2;
  --text-faint:     #5E6B7D;

  --success:        #28B692;

  /* the variable: current club colour, driven by JS */
  --club:           #E77A3C;

  /* type */
  --display: "Archivo", system-ui, -apple-system, sans-serif;
  --body:    "Roboto", system-ui, -apple-system, sans-serif;
  --mono:    "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --gut:      clamp(1.25rem, 4vw, 2.5rem);
  --stack:    clamp(4rem, 9vw, 7.5rem);
  --measure:  1000px;
  --radius:   14px;
  --shell-r:  18px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand-hot);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem;
  font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- layout primitives ---------------------------------------------------- */
.wrap {
  width: min(1220px, 100% - (var(--gut) * 2));
  margin-inline: auto;
}
.band { padding-block: var(--stack); }
.band--paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* --- type ----------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--club);
  transition: background .6s ease;
}
.band--paper .eyebrow { color: #7A7266; }

.h-display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.h-section {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.band--paper .lede { color: #5C5648; }
.lede--centred { margin-inline: auto; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 26px -12px rgba(231, 122, 60, .9);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(231, 122, 60, .95);
}
.btn--ghost {
  background: transparent;
  border-color: var(--ink-hairline);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--club); }
.band--paper .btn--ghost { border-color: var(--paper-edge); color: var(--paper-ink); }
.band--paper .btn--ghost:hover { border-color: var(--paper-ink); }

/* --- header --------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-hairline);
}
.site-head__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}
.site-head__logo { flex: none; }
.site-head__logo img { height: 30px; width: auto; }
.site-nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
  font-size: .95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color .18s ease;
}
.site-nav a:hover { color: var(--text); }
.site-head .btn { padding: .62rem 1.25rem; font-size: .9rem; }

@media (max-width: 800px) {
  .site-nav { display: none; }
  .site-head__inner { justify-content: space-between; }
  .site-head .btn { margin-left: auto; }
}

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
/* ambient wash picks up the live club colour */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 40%;
  background: radial-gradient(60% 55% at 50% 30%, color-mix(in srgb, var(--club) 22%, transparent), transparent 70%);
  transition: background .8s ease;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* The headline runs full width so the display type keeps its scale; the copy
   and the browser shell sit side by side underneath. The shell is capped at
   the screenshots' native 700px — they only exist at 700x438, and anything
   wider upscales them into mush, so the layout is built around the asset. */
.hero__top { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
/* ch here resolves against the display font-size, which is what we want */
.hero__top .h-display { max-width: 17ch; margin-bottom: 0; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__head .lede { margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__stage-col { min-width: 0; max-width: 700px; }

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* the browser shell — signature element */
.shell {
  border-radius: var(--shell-r);
  overflow: hidden;
  background: var(--ink-raised);
  border: 1px solid var(--ink-hairline);
  box-shadow:
    0 2px 6px rgba(0,0,0,.4),
    0 40px 90px -40px color-mix(in srgb, var(--club) 55%, #000);
  transition: box-shadow .8s ease;
}
.shell__bar {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem 1rem;
  background: var(--ink-edge);
  border-bottom: 1px solid var(--ink-hairline);
}
.shell__dots { display: flex; gap: .42rem; flex: none; }
.shell__dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #39424F; display: block;
}
.shell__tab {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--ink-raised);
  border-radius: 8px 8px 0 0;
  padding: .4rem .95rem;
  font-size: .8rem;
  color: var(--text-dim);
  max-width: 230px;
  border-top: 2px solid var(--club);
  transition: border-color .6s ease;
}
.shell__tab b {
  width: 13px; height: 13px; border-radius: 3px;
  background: var(--club); flex: none;
  transition: background .6s ease;
}
.shell__url {
  flex: 1;
  background: var(--ink);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* matches the source screenshots exactly, so nothing is cropped or stretched */
.shell__stage {
  position: relative;
  aspect-ratio: 700 / 438;
  background: #05070A;
}
.shell__stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .7s ease, transform 1.4s ease;
}
.shell__stage img.is-live { opacity: 1; transform: scale(1); }

.shell__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.6rem 1.4rem 1.15rem;
  background: linear-gradient(transparent, rgba(5,7,10,.9) 62%);
  pointer-events: none;
}
.shell__club { min-width: 0; }
.shell__club-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.shell__club-meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--club);
  transition: color .6s ease;
}

/* club switcher rail */
.rail {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: 1.15rem .25rem .35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-hairline) transparent;
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink-hairline); border-radius: 99px; }
.rail__btn {
  flex: none;
  background: transparent;
  border: 1px solid var(--ink-hairline);
  border-radius: 999px;
  padding: .48rem 1rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--text-faint);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.rail__btn:hover { color: var(--text); border-color: var(--text-faint); }
.rail__btn[aria-current="true"] {
  color: #0B0E13;
  background: var(--club);
  border-color: var(--club);
  font-weight: 500;
}

/* --- stats ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--ink-hairline);
  border-block: 1px solid var(--ink-hairline);
}
.stat { background: var(--ink); padding: 1.9rem var(--gut); }
.stat__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: .55rem;
}

/* --- features (paper band) ------------------------------------------------ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 2.2rem 2.6rem;
  margin-top: 3rem;
}
.feature { border-top: 2px solid var(--paper-ink); padding-top: 1.15rem; }
.feature__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -.015em;
  margin: 0 0 .55rem;
}
.feature__body { margin: 0; font-size: .97rem; line-height: 1.6; color: #5C5648; }

/* --- partner wall --------------------------------------------------------- */
.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--ink-hairline);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.75rem;
}
.club {
  background: var(--ink);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 78px;
  transition: background .2s ease;
}
.club:hover { background: var(--ink-raised); }
/* background colour comes from the generated assets/css/partners.css —
   a style attribute would be blocked by style-src 'self' */
.club__chip {
  width: 6px;
  align-self: stretch;
  border-radius: 99px;
  background: var(--brand);
  flex: none;
}
.club__name {
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.25;
}
.club__meta {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: .2rem;
}

/* --- contact -------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.contact__card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.contact__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink-hairline);
  font-size: .95rem;
}
.contact__row:last-child { border-bottom: 0; }
.contact__row dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact__row dd { margin: 0; text-align: right; }
.contact__row a { text-decoration: none; border-bottom: 1px solid var(--brand); }
.contact__row a:hover { color: var(--brand-hot); }
.contact__list { margin: 0; }

/* --- footer --------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--ink-hairline);
  padding-block: 3rem 2.4rem;
  font-size: .9rem;
}
.site-foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a, .foot-btn {
  color: var(--text-dim);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .18s ease;
}
.foot-links a:hover, .foot-btn:hover { color: var(--text); }
.site-foot__bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: .84rem;
}
.lang-list { display: flex; gap: 1rem; flex-wrap: wrap; }
.lang-list a { color: var(--text-faint); text-decoration: none; }
.lang-list a:hover { color: var(--text); }
.lang-list a[aria-current="true"] { color: var(--brand); }

/* --- legal / content pages ------------------------------------------------ */
.page-head {
  border-bottom: 1px solid var(--ink-hairline);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
}
.page-head .h-display { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0; }

.prose {
  max-width: var(--measure);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) var(--stack);
  font-size: 1rem;
  color: var(--text-dim);
}
.prose p { margin: 0 0 1.15rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose h2, .prose h3 {
  font-family: var(--display);
  color: var(--text);
  letter-spacing: -.02em;
  margin: 2.5rem 0 .9rem;
}
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--ink-hairline); }
.prose th { color: var(--text); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* --- goodbye -------------------------------------------------------------- */
.goodbye { display: grid; place-items: center; min-height: 68vh; padding-block: var(--stack); }
.goodbye__card { width: min(560px, 100%); margin-inline: auto; text-align: center; }
.goodbye__form { margin-top: 1.9rem; text-align: left; }
.goodbye__form label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .6rem;
}
.goodbye__form textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  background: var(--ink-raised);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: .97rem;
  padding: .9rem 1.05rem;
  transition: border-color .18s ease;
}
.goodbye__form textarea:focus { border-color: var(--brand); outline: none; }
.goodbye__form .btn { margin-top: 1.05rem; width: 100%; justify-content: center; }
.goodbye__done {
  margin-top: 1.3rem;
  color: var(--success);
  font-weight: 500;
  display: none;
}
.goodbye__done.is-shown { display: block; }
.goodbye__error {
  margin-top: 1.3rem;
  color: #FF8A80;
  font-size: .92rem;
  display: none;
}
.goodbye__error.is-shown { display: block; }

/* --- consent -------------------------------------------------------------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: clamp(.75rem, 2vw, 1.5rem);
  transform: translate(-50%, calc(100% + 3rem));
  width: min(680px, calc(100% - 1.5rem));
  z-index: 120;
  background: var(--ink-raised);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .85);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  opacity: 0;
  visibility: hidden;
}
.consent.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.consent__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
}
.consent__text { margin: 0 0 1.15rem; font-size: .93rem; line-height: 1.55; color: var(--text-dim); }
.consent__text a { color: var(--brand); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.consent__actions .btn { flex: 1 1 auto; justify-content: center; padding: .8rem 1.3rem; font-size: .92rem; }
.consent__detail {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ink-hairline);
  display: none;
}
.consent__detail.is-shown { display: block; }
.consent__opt {
  display: flex;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink-hairline);
}
.consent__opt:last-of-type { border-bottom: 0; }
.consent__opt input { margin-top: .35rem; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.consent__opt-name { font-weight: 500; font-size: .95rem; }
.consent__opt-desc { font-size: .86rem; color: var(--text-faint); margin-top: .2rem; line-height: 1.5; }
.consent__actions--save { margin-top: 1rem; }
.consent__toggle {
  margin-top: .9rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-dim);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__toggle:hover { color: var(--text); }

@media (max-width: 520px) {
  .consent__actions { flex-direction: column; }
  .consent__actions .btn { width: 100%; }
}

/* --- reveal on scroll ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
