/* ===== ATTACK FIRST CYCLING — BASTION-STYLE BLACK + GOLD ===== */
:root {
  /* Canvas */
  --canvas: #000000;
  --surface-dark: #000000;

  /* Brand gold (single signal) */
  --gold: #a8804f;
  --gold-soft: rgba(168, 128, 79, 0.5);
  --gold-mute: rgba(168, 128, 79, 0.3);
  --gold-faint: rgba(168, 128, 79, 0.12);

  /* Muted / disabled */
  --muted: #7d7d7d;
  --muted-soft: rgba(125, 125, 125, 0.4);

  /* Hairlines */
  --hairline: #a8804f;
  --hairline-soft: rgba(168, 128, 79, 0.25);

  /* Typography */
  --sans: "Suisse Intl", "Inter", "Neue Haas Grotesk Text", "Noto Sans TC", system-ui, sans-serif;
  --display: "Vanguard", "Bebas Neue", "Oswald", "Archivo Narrow", "Noto Sans TC", sans-serif;
  --serif: "Ivar Display", "Cormorant Garamond", "Spectral", serif;

  /* Spacing scale */
  --xxs: 4px;
  --xs: 8px;
  --sm: 12px;
  --md: 16px;
  --lg: 24px;
  --xl: 48px;
  --xxl: 64px;
  --section: 240px;
  --section-hero: 280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--canvas);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; font-weight: 400; }
img { max-width: 100%; display: block; }

/* ============ TYPE ============ */
.display     { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 0.92; text-transform: uppercase; }
.display-mega{ font-family: var(--display); font-weight: 400; line-height: 0.9;  letter-spacing: 0; text-transform: uppercase; }
.serif       { font-family: var(--serif); font-weight: 400; font-style: italic; }
.caption     { font-size: 12px; font-weight: 500; line-height: 12px; letter-spacing: 0.6px; text-transform: uppercase; }
.nav-text    { font-size: 16px; font-weight: 400; line-height: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.body-md     { font-size: 16px; font-weight: 400; line-height: 24px; }

/* ============ LAYOUT ============ */
.container { max-width: 1344px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 48px;
  background: transparent;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-logo { cursor: pointer; display: flex; align-items: center; gap: 14px; }
.nav-logo .shield-mark { width: 28px; height: 32px; color: var(--gold); }
.nav-logo .nav-club { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.6px; line-height: 1.4; color: var(--gold); text-transform: uppercase; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 400; line-height: 24px;
  text-transform: uppercase; color: var(--gold); padding: 0; height: 32px;
  letter-spacing: 0.04em;
}
.nav-trigger:hover { color: #c89860; }
.nav-trigger .lines { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-trigger .lines span { display: block; width: 22px; height: 1px; background: var(--gold); transition: transform 0.3s ease; }
.nav-trigger.open .lines span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.nav-trigger.open .lines span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-logo .nav-club { display: none; }
}

/* ============ FULL-SCREEN MENU OVERLAY ============ */
.overlay {
  position: fixed; inset: 0; z-index: 45;
  background: var(--canvas);
  padding: 120px 48px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.overlay-list { display: flex; flex-direction: column; gap: 20px; max-width: 1344px; margin: 0 auto; width: 100%; }
.overlay-link {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--display); font-size: clamp(48px, 9vw, 128px);
  text-transform: uppercase; line-height: 0.95;
  border-bottom: 1px solid var(--hairline-soft);
  padding: 20px 0; color: var(--gold);
  transition: padding 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.overlay-link:hover { padding-left: 24px; color: #c89860; }
.overlay-link .idx { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.6px; }
.overlay-foot { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1344px; margin: 0 auto; width: 100%; gap: 32px; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0;
  margin-top: var(--section);
  background: var(--canvas);
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 96px; }
.footer h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; opacity: 0.6; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--gold); font-size: 16px; font-weight: 400; line-height: 24px; text-transform: uppercase; letter-spacing: 0.02em; transition: padding-left 0.2s ease; display: inline-block; }
.footer ul a:hover { padding-left: 8px; }
.footer-brand .shield-mark { width: 32px; height: 36px; color: var(--gold); margin-bottom: 24px; }
.footer-brand p { color: var(--gold); font-size: 16px; line-height: 24px; max-width: 36ch; opacity: 0.85; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 16px; line-height: 24px; color: var(--gold); padding-top: 32px;
  border-top: 1px solid var(--hairline-soft);
}
.footer-mega {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(72px, 14.5vw, 220px); line-height: 0.9;
  letter-spacing: -0.005em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; margin: 0 0 64px;
  text-align: left; transform: translateX(-0.05em);
}
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ============ BUTTONS — TEXT ONLY (no pills) ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 0 4px 0;
  font-size: 16px; font-weight: 400; line-height: 24px; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold);
  transition: padding 0.2s ease;
  letter-spacing: 0.04em;
}
.btn:hover { padding-bottom: 6px; }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(6px); }

.btn-cap {
  font-size: 12px; font-weight: 500; line-height: 12px; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 0 0 2px 0;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ============ DECORATIVE ============ */
.hairline { height: 1px; background: var(--hairline); }
.hairline-soft { height: 1px; background: var(--hairline-soft); }

.section { padding: var(--section) 0; }
.section-tight { padding: 120px 0; }
.section-head {
  display: grid; grid-template-columns: 12ch 1fr;
  gap: 48px; margin-bottom: 96px; align-items: end;
}
.section-head .marker { font-size: 12px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; padding-top: 8px; border-top: 1px solid var(--hairline-soft); }
.section-title {
  font-family: var(--display); font-weight: 400; line-height: 0.95;
  font-size: clamp(48px, 7vw, 112px); letter-spacing: 0; text-transform: uppercase;
}

/* Inputs */
.input {
  width: 100%; background: transparent; color: var(--gold);
  font-family: var(--sans); font-size: 16px; line-height: 24px; font-weight: 400;
  border: none; border-bottom: 1px solid var(--gold);
  padding: 16px 0;
  outline: none;
}
.input::placeholder { color: var(--muted); }
.input:focus { border-bottom-color: #c89860; }

/* Marquee */
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }

/* Hide scrollbars on overlay */
.overlay::-webkit-scrollbar { display: none; }
