/* RangeHub landing — local fonts only */

@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-ThinIt.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-LightIt.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Reg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Medium.ttf") format("truetype");
  font-weight: 500; /* Proxima Nova Medium */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-RegIt.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Sbold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-SboldIt.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-BoldIt.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Xbold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-XboldIt.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/ProximaNova-BlackIt.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --charcoal: #232d32;
  --orange: #ec8629;
  --terracotta: #b34927;
  --dash: #b34728;
  --cream: #e3dcd0;
  --starter: #bcc7d4;
  --basic: #187cbd;
  --pro: #d09e5d;
  --white: #ffffff;
  --muted: #bcc7d4;
  --font-sans: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --max: 1920px;
  --pad-x: clamp(1.5rem, 7.35vw, 8.8125rem); /* ~141px at 1920 */
  --rule-w: min(1642px, 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ——— Buttons ——— */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 49px;
  padding: 0 0.75rem;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline:active {
  background: #b34927;
  border-color: #b34927;
  color: var(--white);
  outline: none;
}

/* ——— Header / Hero ——— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--pad-x) 1.5rem;
  background: transparent;
  border-bottom: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: var(--pad-x); /* same left as .logo */
  right: var(--pad-x); /* flush with Get Started button right edge */
  bottom: 0;
  width: auto; /* span logo-left → button-right (was fixed 1642px, short of button) */
  height: 2px;
  background: var(--orange);
  pointer-events: none;
}

/* Flush to header padding — no extra inset (SVG viewBox cropped to ink) */
.logo {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 464px;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  display: block;
  height: 878px; /* PDF v2: hero ends at y=878, band follows */
  min-height: 878px;
  max-height: 878px;
  background: var(--black);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  /* Keep left copy readable over the photo */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 38%,
    rgba(0, 0, 0, 0.2) 62%,
    rgba(0, 0, 0, 0) 78%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* top-anchored from orange rule */
  align-items: stretch;
  height: 100%;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  /* header (1.75rem + 69px logo + 1.5rem) + 40px to topline */
  padding: calc(1.75rem + 69px + 1.5rem + 40px) var(--pad-x) 0;
}

/* Centered topline: 40px below orange rule */
.hero-topline {
  font-family: var(--font-sans);
  font-size: 30px; /* Proxima Nova Bold */
  font-weight: 700;
  letter-spacing: 6.88px;
  text-transform: uppercase;
  text-align: left; /* align with RANGEHUB wordmark, not bullseye icon */
  color: var(--white);
  margin: 0;
  line-height: 1; /* 30px → stack margin math is exact */
  width: 100%;
  align-self: stretch;
  white-space: nowrap;
  /* Logo SVG viewBox 26 0 464 69; wordmark ~x98 → 72px inset at 464px display */
  padding-left: 72px; /* start under the R of RANGEHUB */
  box-sizing: border-box;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
  min-width: 0;
  /* Club Ops top = 219px below rule; topline at 40px + 30px tall */
  margin-top: calc(219px - 40px - 30px); /* 149px */
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* Tuned for ~80px ink-to-ink (More Clays. → button); box margin ≠ visual */
  margin: 0 0 72px;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
}

.hero-line--ops {
  font-size: 85px; /* Proxima Nova Bold */
  font-weight: 700;
  letter-spacing: 5.74px;
  color: var(--white);
  line-height: 0.9; /* hug caps so margin ≈ visual gap */
  margin-bottom: 25px; /* → ~47px ink-to-ink to MADE EASY */
}

.hero-line--easy {
  font-size: 136px; /* Proxima Nova Extra Bold */
  font-weight: 800;
  letter-spacing: 9.19px;
  color: var(--terracotta); /* #B34927 */
  line-height: 0.88;
  margin-bottom: 27px; /* → ~47px ink-to-ink to LESS CHASE. */
}

.hero-line--chase,
.hero-line--clays {
  font-size: 85px; /* Proxima Nova Bold */
  font-weight: 700;
  letter-spacing: 5.74px;
  color: var(--white);
  line-height: 0.82; /* tight Less Chase. / More Clays. pair */
  margin-bottom: 0;
}

/* 31px ink gap between LESS CHASE. and MORE CLAYS. @85px (11px natural + 20px) */
.hero-line--clays {
  margin-top: 0.2353em;
}

/* Topline fit below 1920 (1920+ untouched: 30px, one line).
   1700–1919: same one line, scaled with vw so it never runs past the orange rule;
   stack margin compensates so CLUB OPERATIONS keeps its 219px-below-rule position. */
@media (min-width: 1700px) and (max-width: 1919.98px) {
  .hero-topline {
    font-size: calc((100vw - 374px) / 54.9); /* fits 72px inset, ends before rule end */
    letter-spacing: 0.2293em; /* 6.88px @ 30px */
  }

  .hero-stack {
    margin-top: calc(219px - 40px - (100vw - 374px) / 54.9);
  }
}

/* 1101–1699: wrap to 2 balanced lines, ranged left under the orange rule */
@media (min-width: 1101px) and (max-width: 1699.98px) {
  .hero-topline {
    font-size: 26px;
    letter-spacing: 0.2293em;
    line-height: 1.3;
    white-space: normal;
    text-wrap: balance;
    min-height: calc(2 * 1.3 * 26px); /* reserve 2 lines even where it fits on 1 (~1670–1699) */
    padding-left: 72px;
  }

  .hero-stack {
    /* 2 lines × 33.8px = 67.6px tall → keep CLUB OPERATIONS at 219px below rule */
    margin-top: calc(219px - 40px - 2 * 1.3 * 26px);
  }
}

/* ——— Ticker / brand band ——— */
/* Desktop: 124px total incl. 7px #187CBD rules (border-box).
   Art = img/ticker-art.svg (650×58.82 viewBox) at native size on 1920, 30px gap between repeats. */
.ticker {
  position: relative;
  display: flex;
  align-items: center;
  height: 124px;
  padding: 0;
  background: var(--charcoal);
  border-top: 7px solid #187cbd;
  border-bottom: 7px solid #187cbd;
  overflow: hidden;
  box-sizing: border-box;
}

.ticker-viewport {
  overflow: hidden;
  width: 100%;
  padding-block: 12px; /* room for script descenders (the "f" in "of") after the optical nudge */
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  flex-shrink: 0; /* keep track at full 2-group width so -50% = exactly one group (seamless loop) */
  animation: ticker-scroll 48s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* gap lives on every item (incl. last) so the -50% loop has no seam */
  padding-right: clamp(1.25rem, 1.5625vw, 30px);
}

.ticker-art {
  display: block;
  height: clamp(2.75rem, 3.064vw, 58.82px);
  width: auto;
  aspect-ratio: 650 / 58.82;
  flex-shrink: 0;
  /* optical centering: center the JT square / caps, let the script descenders hang (matches mockup) */
  transform: translateY(8.4%);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: translateX(0);
  }

  .ticker-viewport {
    overflow-x: auto;
  }
}

/* ——— Feature bands (Membership / Volunteer) — v2 tan bands, first pass from mockup ———
   All knobs are variables on .feature; per-band overrides on --membership / --volunteer. */
.feature {
  --feat-bg: #cac0ac;              /* light tan (sampled from mockup) */
  --feat-pad-y: 85px;              /* band top/bottom padding @1920 */
  --feat-max: 1275px;              /* content width (mockup: x≈325 → 1600 @1920) */
  --feat-gap: 64px;                /* copy ↔ image */
  --feat-img-w: 604px;             /* image frame width @1920 */
  --feat-img-ratio: 604 / 322;     /* frame aspect (mockup crop) */
  --feat-img-zoom: 108.3%;         /* image width inside frame (crops screenshot edges) */
  --feat-img-x: -4.4%;             /* image offset inside frame (% of frame width) */
  --feat-img-y: -3.9%;
  --feat-copy-offset: 6px;         /* nudge copy down vs image top */
  --feat-copy-max: 600px;          /* body measure */
  --feat-text: #000000;
  --feat-sub: #923014;
  --feat-h2-size: 36px;
  --feat-sub-size: 20px;
  --feat-body-size: 19.3px;
  --feat-body-lh: 28px;

  background: var(--feat-bg);
  padding: var(--feat-pad-y) var(--pad-x);
}

.feature--volunteer {
  --feat-bg: #b4a287;              /* darker tan (sampled from mockup) */
  --feat-copy-max: 490px;
  --feat-img-y: -2.2%;             /* volunteer screenshot title sits higher; show it fully */
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(var(--feat-img-w), 48%);
  column-gap: var(--feat-gap);
  align-items: start;
  max-width: var(--feat-max);
  margin: 0 auto;
}

.feature--flip .feature-inner {
  grid-template-columns: min(var(--feat-img-w), 48%) minmax(0, 1fr);
}

.feature--flip .feature-media {
  order: 1;
}

.feature--flip .feature-copy {
  order: 2;
}

.feature-copy {
  padding-top: var(--feat-copy-offset);
  min-width: 0;
}

.feature-copy h2 {
  font-family: var(--font-sans);
  font-size: var(--feat-h2-size);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--feat-text);
  margin: 0 0 calc(0.6rem - 2px);
}

.feature-copy .feature-sub {
  font-family: var(--font-sans);
  font-size: var(--feat-sub-size);
  font-weight: 700; /* Proxima Nova Bold */
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--feat-sub);
  margin: 0 0 calc(1.75rem + 3px);
}

.feature-copy .feature-body {
  font-family: var(--font-sans);
  font-size: var(--feat-body-size);
  font-weight: 500; /* Proxima Nova Medium */
  line-height: var(--feat-body-lh);
  letter-spacing: 0.01em;
  color: var(--feat-text);
  max-width: var(--feat-copy-max);
  margin: 0;
}

.feature-media {
  min-width: 0;
}

.feature-frame {
  position: relative;
  aspect-ratio: var(--feat-img-ratio);
  overflow: hidden;
  background: var(--cream);
}

.feature-frame img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: var(--feat-img-zoom);
  max-width: none;
  height: auto;
  margin-left: var(--feat-img-x);
  margin-top: var(--feat-img-y); /* % margins resolve against frame width */
}

@media (max-width: 1280px) {
  .feature {
    --feat-gap: 48px;
    --feat-h2-size: 32px;
  }
}

@media (max-width: 1100px) {
  .feature {
    --feat-pad-y: 64px;
    --feat-gap: 40px;
    --feat-h2-size: 28px;
    --feat-sub-size: 18px;
    --feat-body-size: 17px;
    --feat-body-lh: 1.55;
  }
}

/* Stack: copy on top, image below (both bands) */
@media (max-width: 900px) {
  .feature-inner,
  .feature--flip .feature-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.5rem;
  }

  .feature--flip .feature-media,
  .feature--flip .feature-copy {
    order: 0;
  }

  .feature-copy {
    padding-top: 0;
  }

  .feature-media {
    max-width: var(--feat-img-w);
  }

  .feature--volunteer {
    --feat-copy-max: 600px;
  }
}

@media (max-width: 640px) {
  .feature {
    --feat-pad-y: 48px;
    --feat-h2-size: 24px;
    --feat-sub-size: 16px;
    --feat-body-size: 16px;
    --feat-body-lh: 1.55;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .feature-inner,
  .feature--flip .feature-inner {
    row-gap: 2rem;
  }
}

/* ——— Pricing (v2: Kari specs, designer pt = CSS px @1920) ———
   --u = 1px at desktop; scales the whole trio + promo down when 1275px won't fit. */
.pricing,
.promo {
  --u: min(1px, calc((100vw - 2 * var(--pad-x)) / 1275));
  --tier-w: calc(355 * var(--u));     /* bottom rule + top rule group width */
  --tier-h: calc(313 * var(--u));     /* star top → bottom-rule bottom */
  --tier-gap: calc(105 * var(--u));   /* between tiers (reference) */
  --star: calc(41 * var(--u));      /* reference star ink 41×42 */
  --star-gap: calc(16 * var(--u));    /* star ↔ star */
  --rule-gap: calc(16 * var(--u));    /* rule ↔ star */
  --rule-top: 3px;                    /* top rule thickness */
  --rule-bottom: 6px;                 /* bottom rule thickness */
  background: var(--charcoal);
  text-align: center;
}

.pricing {
  padding: calc(96 * var(--u)) var(--pad-x) 0;
}

.pricing-heading {
  font-family: var(--font-sans);
  font-size: max(26px, calc(35 * var(--u)));
  font-weight: 700;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
  margin: 0 0 calc(26 * var(--u));
}

.pricing-sub {
  font-family: var(--font-sans);
  font-size: max(16px, calc(20 * var(--u)));
  font-weight: 700;
  letter-spacing: 1.46px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0 0 calc(81 * var(--u));
}

.tiers {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--tier-gap);
  margin: 0 auto;
}

.tier {
  --tier-c: var(--starter);
  position: relative;
  flex: 0 0 auto;
  width: var(--tier-w);
  height: var(--tier-h);
  margin: 0;
  text-align: center;
  color: var(--tier-c);
}

.tier--starter { --tier-c: #bcc7d4; }
.tier--basic   { --tier-c: var(--basic); }
.tier--pro     { --tier-c: var(--pro); }

/* Top: rule — stars — rule, exactly --tier-w wide */
.tier-top {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tier-w);
  height: calc(42 * var(--u));
  display: flex;
  align-items: flex-start;
  gap: var(--rule-gap);
}

.tier-rule {
  flex: 1 1 0;
  height: var(--rule-top);
  margin-top: calc(23 * var(--u));
  background: currentColor;
}

.tier-stars {
  display: flex;
  gap: var(--star-gap);
  flex: 0 0 auto;
}

.tier-star {
  display: block;
  width: var(--star);
  height: calc(42 * var(--u));
}

.tier-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--tier-w);
  height: var(--rule-bottom);
  background: currentColor;
}

/* Rows positioned from star top (reference proportions) */
.tier-name,
.tier-price,
.tier-desc {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.tier-name {
  top: calc(84 * var(--u));
  font-family: var(--font-sans);
  font-size: calc(35 * var(--u));
  font-weight: 800;
  letter-spacing: calc(3.6 * var(--u));
  text-transform: uppercase;
  color: var(--tier-c);
}

.tier-price {
  top: calc(147 * var(--u));
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: calc(1 * var(--u));
  color: var(--white);
}

.tier-price .num {
  font-family: var(--font-serif);
  font-size: calc(61 * var(--u));
  font-weight: 700;
  letter-spacing: calc(3 * var(--u)); /* reference numerals sit a bit looser than default Lora */
  line-height: 1;
}

.tier-price .unit,
.tier-price--call .call {
  font-family: var(--font-sans);
  font-size: calc(32 * var(--u));
  font-weight: 700;
  letter-spacing: calc(1.27 * var(--u));
  line-height: 1;
  color: var(--white);
}

.tier-price--call {
  top: calc(181 * var(--u));
}

.tier-desc {
  top: calc(235 * var(--u));
  font-family: var(--font-sans);
  font-size: calc(20 * var(--u));
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bcc7d4;
}

.promo {
  padding: calc(58 * var(--u)) var(--pad-x) calc(96 * var(--u));
}

.promo p {
  font-family: var(--font-sans);
  font-size: calc(28 * var(--u));
  font-weight: 700;
  letter-spacing: calc(2.88 * var(--u));
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0 auto;
  white-space: nowrap;
}

.promo-code {
  color: var(--orange);
  font-weight: 700;
}

/* Stack: one tier per row, full-size where it fits */
@media (max-width: 900px) {
  .pricing,
  .promo {
    --u: min(1px, calc((100vw - 2 * var(--pad-x)) / 355));
  }

  .tiers {
    flex-direction: column;
    align-items: center;
    gap: calc(64 * var(--u));
  }

  .pricing-heading {
    font-size: min(35px, 6.4vw);   /* keep EARLY-BIRD PRICING on one line */
    letter-spacing: min(3.6px, 0.66vw);
  }

  .promo p {
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1.35;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  .promo p {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
}

/* ——— CTA ——— */
.cta {
  background: var(--black);
  text-align: center;
  padding: clamp(4.5rem, 8vw, 7rem) var(--pad-x);
}

.cta-lead {
  font-size: clamp(1.125rem, 1.823vw, 35px); /* Proxima Nova Bold 35 @1920 */
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
  letter-spacing: 1.12px;
}

.cta-title {
  font-size: clamp(1.5rem, 1.823vw, 35px); /* Proxima Nova Extra Bold 35 @1920 */
  font-weight: 800;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 2.25rem;
  line-height: 1.05;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  background: var(--black);
  border-top: none;
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad-x) clamp(2rem, 3vw, 2.75rem);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: var(--pad-x);  /* align with footer logo left */
  right: var(--pad-x); /* align with hours right edge */
  top: 0;
  height: 2px;
  background: var(--orange);
  pointer-events: none;
}

.footer-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  min-height: 100%;
}

.footer-logo img {
  height: 2rem;
  width: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px; /* space between phone/hours and social icons */
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1.25rem 1.75rem;
  text-align: right;
}

.footer-phone {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-hours {
  font-size: clamp(0.75rem, 0.95vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--white);
  opacity: 0.9;
  /* Aligns with bottom of social icons via footer-left space-between */
  line-height: 1.875rem; /* match social icon row height */
}

.social {
  display: flex;
  align-items: center;
  gap: 36px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7a8ab;
  transition: color 0.2s ease;
}

.social a:hover,
.social a:focus-visible,
.social a:active {
  color: var(--orange);
  outline: none;
}

/* Icons drawn as masks so they take the link color (grey → orange on hover/click) */
.social-icon {
  display: block;
  width: 1.875rem;
  height: 1.875rem;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.social-icon--facebook  { --icon: url("img/social/facebook.svg"); }
.social-icon--instagram { --icon: url("img/social/instagram.svg"); }
.social-icon--x         { --icon: url("img/social/x.svg"); }
.social-icon--youtube   { --icon: url("img/social/youtube.svg"); width: 1.93rem; height: 1.35rem; }
.social-icon--linkedin  { --icon: url("img/social/linkedin.svg"); width: 1.9375rem; height: 1.9375rem; }

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-copy {
    max-width: none;
    height: auto;
    justify-content: flex-start;
    /* header (1.75rem + logo height + 1.5rem) + 32px → topline always below the orange rule */
    padding: calc(1.75rem + min(69px, 8.179vw) + 1.5rem + 32px) var(--pad-x) 3rem;
  }

  .hero-topline {
    font-size: clamp(0.7rem, 2.2vw, 22px);
    letter-spacing: clamp(1.5px, 0.4vw, 6.88px);
    line-height: 1.3;
    white-space: normal;
    text-wrap: balance;
    padding-left: calc(min(464px, 55vw) * 72 / 464);
  }

  .hero-line--ops,
  .hero-line--chase,
  .hero-line--clays {
    font-size: clamp(2rem, 6vw, 56px);
    letter-spacing: clamp(2px, 0.35vw, 5.74px);
  }

  .hero-line--easy {
    font-size: clamp(2.75rem, 9vw, 90px);
    letter-spacing: clamp(3px, 0.5vw, 9.19px);
  }

  .logo img {
    width: min(464px, 55vw);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1.25rem 1.25rem 1.1rem;
  }

  .site-header::after {
    left: 1.25rem; /* align orange rule with logo + hero copy on mobile */
    right: 1.25rem;
  }

  .logo img {
    width: min(280px, 70vw);
    height: auto;
  }

  .btn-outline {
    width: 160px;
    height: 44px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .hero-copy {
    height: auto;
    justify-content: flex-start;
    /* header (1.25rem + logo height + 1.1rem) + 20px → below the orange rule */
    padding: calc(1.25rem + min(41.64px, 10.41vw) + 1.1rem + 20px) 1.25rem 3rem;
  }

  .hero-topline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    white-space: normal;
    margin-bottom: 1rem;
    padding-left: calc(min(280px, 70vw) * 72 / 464);
  }

  /* Mobile: headlines fill the column width (OK to sit over the shooter photo) */
  .hero-line--ops,
  .hero-line--chase,
  .hero-line--clays {
    font-size: 8.8vw;      /* ~34px @390 */
    letter-spacing: 0.55vw;
  }

  .hero-line--easy {
    font-size: 14vw;       /* ~55px @390 */
    letter-spacing: 0.9vw;
  }

  .hero-title {
    margin-bottom: 1.25rem;
  }

  .ticker {
    height: 86px; /* 124 × (120/174) proportional to prior mobile ratio */
    padding: 0;
    border-top-width: 5px;
    border-bottom-width: 5px;
  }

  .ticker-item {
    padding-right: 1.25rem;
  }

  .ticker-art {
    height: 2.25rem;
  }

  .cta-lead {
    font-size: 1.125rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-left {
    width: 100%;
    gap: 1.25rem;
  }

  .footer-right {
    width: 100%;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-contact {
    justify-content: flex-start;
    text-align: left;
  }

  .site-footer {
    padding: 2rem 1.25rem;
  }

  .site-footer::before {
    left: 1.25rem;
    right: 1.25rem;
  }

  .social {
    gap: 28px;
  }
}

/* ——— Feature carousels (v1, Weft) ———
   Specs from Kari's "home page.pdf" @1920 (pt = px): side cards 375px wide,
   active (center) card 484px wide (scale 1.29), ~13px visible gap,
   dots 13px terracotta, 40px center-to-center, ~57px below cards.
   Motion from Card-Slider gif: horizontal slide, active card scales up,
   ~0.5s ease, autoplay ~2s hold, infinite loop, dots below, no arrows. */
.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;
}

.feature--carousel .feature-inner,
.feature--carousel.feature--flip .feature-inner {
  grid-template-columns: minmax(0, 1fr);
}

.carousel {
  --card-w: 375px;
  --card-scale: 1.2907;            /* 484 / 375 */
  --card-step: 442px;              /* center-to-center: 375/2 + 13 + 484/2 */
  --card-ratio: 1900 / 1972;
  --dot: 13px;
  --dot-step: 40px;
  --car-dur: 550ms;
  position: relative;
  margin: 52px auto 0;              /* PDF: ~69px body ink → centre card top */
  max-width: var(--max);
  outline: none;
}

.carousel:focus-visible {
  outline: 3px solid var(--basic);
  outline-offset: 8px;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  /* tall enough for the scaled center card */
  height: calc(var(--card-w) / (var(--card-ratio)) * var(--card-scale) + 24px);
}

.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.carousel-slide {
  --off: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-w);
  margin: 0;
  transform: translate(-50%, -50%) translateX(calc(var(--off) * var(--card-step))) scale(1);
  transition: transform var(--car-dur) cubic-bezier(.4, 0, .2, 1), opacity var(--car-dur) ease;
  cursor: pointer;
  opacity: 1;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--card-ratio);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

.carousel-slide.is-active {
  transform: translate(-50%, -50%) scale(var(--card-scale));
  z-index: 2;
  cursor: default;
}

.carousel-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.carousel-slide.no-anim { transition: none; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: calc(var(--dot-step) - var(--dot));
  margin-top: 33px;
}

.carousel-dots button {
  width: var(--dot);
  height: var(--dot);
  padding: 0;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  background: var(--terracotta);
  cursor: pointer;
}

/* mockup: active dot is the hollow ring */
.carousel-dots button[aria-current="true"] {
  background: transparent;
}

.carousel-dots button:focus-visible {
  outline: 2px solid var(--basic);
  outline-offset: 3px;
}

@media (max-width: 1440px) {
  .carousel {
    --card-w: min(375px, 19.53vw); /* keep 1920 proportions */
    --card-step: calc(var(--card-w) * 1.1787);
  }
}

@media (max-width: 900px) {
  .carousel {
    --card-w: min(375px, 58vw);
    --card-scale: 1.12;
    --card-step: calc(var(--card-w) * 1.1);
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

/* ===================================================================
   PDF v2 changes (Kari "home page.pdf", Oct 13). PDF pt = CSS px @1920.
   =================================================================== */

/* 1. Headline: "LESS OFFICE. MORE CLAYS." on one line.
   PDF: cap height 45px (vs 57px for CLUB OPERATIONS @85px) → 67px, ink 144→1105 (≈961px). */
.hero-line--chase,
.hero-line--clays {
  display: inline;
  font-size: 67px;
  letter-spacing: 4.52px;   /* 5.74 × 67/85, same tracking ratio as line 1 */
  line-height: 0.9;
}
.hero-line--clays { margin-top: 0; }
.hero-line--office {
  font-size: 67px; font-weight: 700; letter-spacing: 4.52px;
  line-height: 0.9; color: var(--white); white-space: nowrap;
}
.hero-line--office > span { font-size: inherit; letter-spacing: inherit; line-height: inherit; }
.hero-line--easy { margin-bottom: 35px; } /* ≈50px ink gap MADE EASY → LESS OFFICE */

/* 2. JTech band under hero. PDF: y 878→1076 (198px), vertical gradient
   #0D1830 → #1B3254; logo 93×119 at x594; copy column 576px wide at x744. */
.jtech-band {
  background: linear-gradient(180deg, #0d1830 0%, #1b3254 100%);
  padding: 39px var(--pad-x) 38px;
}
.jtech-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 57px;
}
.jtech-band-logo { display: block; flex: 0 0 auto; line-height: 0; }
.jtech-band-logo img { display: block; width: 93px; height: auto; }
.jtech-band-copy {
  display: flex;
  flex-direction: column;
  width: 576px;
  max-width: 100%;
  gap: 9px;
}
.jtech-band-by {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 34px;             /* cap height 23px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: 4.1px;       /* fills 576px column, ink 746→1316 */
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.jtech-band-makers { display: block; width: 576px; max-width: 100%; height: auto; }

/* 3. Membership / volunteer: centred heading + subhead, full-width body.
   PDF: H2 cap 23px (36px), body ink 332→1556 → 1240px measure. */
.feature--carousel .feature-copy { text-align: center; padding-top: 0; }
.feature--carousel .feature-copy .feature-body {
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
}
.feature--carousel .feature-inner { max-width: 1240px; }
.feature--carousel .feature-copy h2 { white-space: normal; }

/* 4. Pricing stars: Kari's SVGs (colours baked in). Heights 43/42/42 @1920. */
.tier-stars-img { display: block; height: calc(42 * var(--u)); width: auto; }
.tier-stars-img--1 { height: calc(43 * var(--u)); }
.tier-desc--spaced { letter-spacing: 0.125em; } /* PDF: starter line ink ≈1.056× basic line */

/* 6. Footer: RANGEHUB + CREATED BY + JTech logo + Makers badge.
   PDF: RH logo ink 270px; label cap 19px (28px) #BCC7D4; gaps 54 / 28 / 14;
   JTech logo 56px wide, Makers two-line 184px wide. */
.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 54px;
}
.footer-logo img { height: auto; width: 270px; }
.footer-created {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-created-label {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #bcc7d4;
  margin-right: 14px;          /* 28px total to logo */
  white-space: nowrap;
}
.footer-jtech { display: block; line-height: 0; }
.footer-jtech img { display: block; width: 56px; height: auto; }
.footer-makers { display: block; width: 184px; height: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-line--office { font-size: 44px; letter-spacing: 2.9px; }
  .footer-logo img { width: 220px; }
  .footer-created-label { font-size: 22px; }
}
@media (max-width: 760px) {
  .jtech-band { padding: 28px 1.25rem; }
  .jtech-band-inner { gap: 20px; }
  .jtech-band-logo img { width: 56px; }
  .jtech-band-copy { width: auto; flex: 1 1 0; min-width: 0; gap: 10px; }
  .jtech-band-by { font-size: clamp(11px, 3.4vw, 20px); letter-spacing: 0.08em; white-space: normal; }
}
@media (max-width: 640px) {
  .hero-line--office { white-space: normal; font-size: 8.8vw; letter-spacing: 0.55vw; line-height: 0.82; }
  .hero-line--office > span { display: block; }
  .hero-line--clays { margin-top: 0.2353em; }
  .footer-logo img { width: 200px; }
  .footer-created-label { font-size: 18px; letter-spacing: 1.6px; margin-right: 4px; }
  .footer-jtech img { width: 44px; }
  .footer-makers { width: 144px; }
}

/* 5. CTA lead on one line at desktop (PDF) */
@media (min-width: 1300px) {
  .cta-lead { max-width: none; white-space: nowrap; }
}

/* Footer spacing per PDF: rule → content 39px, copyright directly under logos */
@media (min-width: 1101px) {
  .site-footer { padding-top: 40px; padding-bottom: 38px; }
  .footer-left { justify-content: flex-start; gap: 4px; }
  .footer-copy { line-height: 1.4; }
  .footer-right { gap: 22px; }
}

/* Footer "Created by" group at 80% (Kari, Oct 13). Band under hero untouched. */
.footer-created { gap: 11.2px; }
.footer-created-label { font-size: 22.4px; letter-spacing: 1.92px; margin-right: 11.2px; }
.footer-jtech img { width: 44.8px; }
.footer-makers { width: 147.2px; }
@media (max-width: 1100px) {
  .footer-created-label { font-size: 17.6px; }
}
@media (max-width: 640px) {
  .footer-created-label { font-size: 14.4px; letter-spacing: 1.28px; margin-right: 3.2px; }
  .footer-jtech img { width: 35.2px; }
  .footer-makers { width: 115.2px; }
}

/* Stars: every tier uses copies of Kari's clean single star (recoloured only). */
.tier-stars { gap: calc(14 * var(--u)); }
.tier-stars-img { height: calc(43 * var(--u)); width: auto; }

/* Subheads + carousel dots → #923014 (Kari, Oct 14), all breakpoints */
.feature { --feat-sub: #923014; }
.feature-copy .feature-sub { color: #923014; }
.carousel-dots button { border-color: #923014; background: #923014; }
.carousel-dots button[aria-current="true"] { background: transparent; border-color: #923014; }

/* Membership / volunteer copy v5 (Kari Oct 15): 840px body + bullet list with Kari's icon */
.feature--carousel .feature-copy .feature-body,
.feature--carousel .feature-list { max-width: 840px; margin-left: auto; margin-right: auto; text-align: left; }
.feature--carousel .feature-copy .feature-body + .feature-body { margin-top: 28px; }
.feature--carousel .feature-copy .feature-sub { color: #923014; }
.feature-list { list-style: none; padding: 0; margin-top: 28px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--feat-body-size);
  line-height: var(--feat-body-lh);
  letter-spacing: 0.01em;
  color: var(--feat-text);
}
.feature-list li + li { margin-top: 28px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((var(--feat-body-lh) - 15px) / 2);
  width: 15px;
  height: 15px;
  background: url("img/feature-bullet.svg") center / contain no-repeat;
}
.feature-list__title { display: block; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.feature-list__desc { display: block; font-weight: 500; }
@media (max-width: 640px) {
  .feature-list li { padding-left: 24px; }
  .feature-list li + li, .feature--carousel .feature-copy .feature-body + .feature-body, .feature-list { margin-top: 20px; }
}

/* Kari Oct 15: feature copy weights — body Medium (500), bullet titles Bold (700) */
.feature--carousel .feature-copy .feature-body,
.feature--carousel .feature-list__desc { font-family: var(--font-sans); font-weight: 500; }
.feature--carousel .feature-list__title { font-family: var(--font-sans); font-weight: 700; }

/* Button label "Get Started with JTech" stays on one line (Kari, Oct 16) */
.btn-outline { white-space: nowrap; width: auto; padding: 0 22px; }
