/* ========================================
   Merit Track & Field
   Freeform / Editorial / Minimal
   ======================================== */

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

:root {
  --black: #0b0b0b;
  --off-black: #1a1a1a;
  --charcoal: #2c2c2c;
  --dim: #666;
  --mid: #999;
  --silver: #bbb;
  --light: #ddd;
  --cloud: #ebebeb;
  --snow: #f5f5f5;
  --white: #fff;
  --gold: #b08d35;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 720px; }

/* ---- Typography ---- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }

h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.body-lg {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dim);
  font-weight: 400;
  max-width: 540px;
}

/* ---- Pills (buttons) ---- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.pill-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.pill-dark:hover { background: var(--charcoal); transform: translateY(-1px); }

.pill-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.pill-white:hover { background: var(--snow); transform: translateY(-1px); }

.pill-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.pill-ghost:hover { border-color: rgba(255,255,255,0.6); }

.pill-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--cloud);
}
.pill-outline:hover { border-color: var(--black); }

.pill-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.pill-outline-light:hover { border-color: rgba(255,255,255,0.5); }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--cloud);
}

.nav-logo img { height: 36px; }

.nav-center {
  display: flex;
  gap: 32px;
}

.nav-center a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.nav-center a:hover { color: var(--white); }

.nav.scrolled .nav-center a { color: var(--mid); }
.nav.scrolled .nav-center a:hover { color: var(--black); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 22px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  transition: all 0.3s;
}
.nav-cta:hover { border-color: var(--white); }

.nav.scrolled .nav-cta {
  color: var(--black);
  border-color: var(--cloud);
}
.nav.scrolled .nav-cta:hover { border-color: var(--black); }

.nav-right { display: flex; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--black); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0 32px 100px;
}

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

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--black) 0%, rgba(11,11,11,0.7) 40%, rgba(11,11,11,0.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
}

.hero-p {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 48px;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--mid));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- Sections ---- */
.s { padding: 100px 0; }
.s-alt { background: var(--snow); }
.s-dark { background: var(--black); color: var(--white); }
.s-dark .body-lg { color: var(--silver); }

/* ---- Blend row (side by side) ---- */
.blend-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.blend-left .body-lg { margin-bottom: 0; }

/* ---- Value items (right column) ---- */
.val {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cloud);
}

.val:first-child { border-top: 1px solid var(--cloud); }

.val-n {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.1em;
  padding-top: 2px;
  flex-shrink: 0;
}

.val h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.val p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.65;
}

/* ---- Programs (right column) ---- */
.prog {
  padding: 24px 0;
  border-bottom: 1px solid var(--cloud);
}

.prog:first-child { border-top: 1px solid var(--cloud); }

.s-alt .prog { border-color: var(--light); }
.s-alt .prog:first-child { border-color: var(--light); }
.s-alt .val { border-color: var(--light); }
.s-alt .val:first-child { border-color: var(--light); }

.prog-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.prog-num {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.08em;
}

.prog-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 3px 10px;
  border: 1px solid var(--cloud);
  border-radius: 100px;
}

.prog-tag-soon {
  color: var(--gold);
  border-color: rgba(176,141,53,0.3);
}

.prog h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.prog p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.7;
  max-width: 460px;
}

/* ---- Tier chips ---- */
.tier-pair {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.tier-chip {
  flex: 1;
  padding: 20px;
  border: 1px solid var(--cloud);
  border-radius: 10px;
}

.s-alt .tier-chip { border-color: var(--light); background: var(--white); }

.tier-chip-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.tier-n {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tier-chip p {
  font-size: 0.82rem;
  color: var(--dim);
  line-height: 1.6;
}

.tier-chip-dark p { color: var(--silver); }

/* ---- Pricing ---- */
.price-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.price-top .body-lg { max-width: 360px; text-align: right; }

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.price-block {
  padding: 44px 32px;
  background: var(--off-black);
  display: flex;
  flex-direction: column;
}

.price-block-featured { background: var(--charcoal); }

.price-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1;
}

.price-amount small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mid);
}

.price-block p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.price-block .pill { align-self: flex-start; }

/* ---- FAQ ---- */
.faq-list { margin-top: 24px; }

.faq-item { border-bottom: 1px solid var(--cloud); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }

.faq-q::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--silver);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-a { max-height: 200px; }

.faq-a p {
  padding-bottom: 18px;
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.75;
}

/* ---- Contact ---- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-line strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.contact-line span {
  font-size: 0.88rem;
  color: var(--dim);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--cloud);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--silver); }

.contact-form textarea { resize: vertical; min-height: 60px; }

.contact-form .pill { align-self: flex-start; margin-top: 6px; }

/* ---- Footer ---- */
.foot {
  background: var(--snow);
  padding: 56px 0 32px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.foot-brand img {
  height: 28px;
  margin-bottom: 10px;
}

.foot-brand p {
  font-size: 0.82rem;
  color: var(--mid);
}

.foot-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 0.82rem;
  color: var(--mid);
  transition: color 0.3s;
}

.foot-links a:hover { color: var(--black); }

.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--cloud);
}

.foot-bottom span {
  font-size: 0.75rem;
  color: var(--silver);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .blend-row { grid-template-columns: 1fr; gap: 48px; }
  .price-row { grid-template-columns: 1fr; }
  .price-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price-top .body-lg { text-align: left; }
  .tier-pair { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-center, .nav-right { display: none; }
  .nav-burger { display: flex; }

  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--cloud);
    animation: slideDown 0.3s var(--ease);
  }

  .nav-center.open a {
    color: var(--dim);
    font-size: 0.95rem;
  }

  .hero { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .s { padding: 64px 0; }
  .foot-inner { flex-direction: column; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---- Store coming soon nav item ---- */
.nav-soon {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
  user-select: none;
  white-space: nowrap;
}

.nav.scrolled .nav-soon { color: var(--mid); }

.nav-soon-tag {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.nav.scrolled .nav-soon-tag { color: var(--silver); }


/* ---- Nav CTA coming soon ---- */
.nav-cta-soon {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 22px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  cursor: default;
  gap: 5px;
}

.nav.scrolled .nav-cta-soon {
  color: var(--black);
  border-color: var(--cloud);
}

.nav-cta-soon .nav-soon-tag {
  font-size: 0.65rem;
  font-weight: 400;
}

/* ---- Pill coming soon ---- */
.pill-soon {
  cursor: default;
  opacity: 0.7;
}


/* ---- Waitlist Modal ---- */
.waitlist-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.waitlist-overlay.open { display: flex; }

.waitlist-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.waitlist-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.4rem; color: var(--mid);
  cursor: pointer; line-height: 1;
}
.waitlist-close:hover { color: var(--black); }

.waitlist-modal h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.waitlist-sub {
  font-size: 0.88rem;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.waitlist-field {
  margin-bottom: 12px;
}

.waitlist-field input,
.waitlist-field select {
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--cloud);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-field input:focus,
.waitlist-field select:focus { border-color: var(--black); }

.waitlist-field input::placeholder { color: var(--silver); }

.waitlist-field select { appearance: none; cursor: pointer; color: var(--black); }
.waitlist-field select option[value=""] { color: var(--silver); }

.waitlist-note {
  font-size: 0.72rem;
  color: var(--silver);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .waitlist-modal { padding: 28px 24px; }

}