@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,800;1,500&family=Oswald:wght@700&display=swap');

:root {
  --black: #0a0a0a;
  --panel: #161616;
  --gold: #c9a84c;
  --gold-bright: #f5c842;
  --white: #ffffff;
  --dim: #9a9a9a;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; max-width: var(--max-width); margin: 0 auto; }
.nav-brand { font-weight: 800; font-size: 17px; letter-spacing: 0.2px; text-decoration: none; color: var(--white); }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--dim); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--gold-bright); color: var(--black); font-weight: 800; font-size: 14px;
  padding: 10px 20px; border-radius: 4px; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--white); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

@media (max-width: 760px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--black); flex-direction: column; gap: 0; border-bottom: 1px solid rgba(201,168,76,0.18); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 28px; width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- Pitch-line divider ---------- */
.pitch-divider { position: relative; height: 64px; overflow: hidden; }
.pitch-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5) 20%, rgba(201,168,76,0.5) 80%, transparent);
}
.pitch-divider::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 68px; height: 68px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 50%; transform: translate(-50%, -50%);
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }

/* Pitch lines drawn behind the hero */
.pitch-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.pitch-lines path {
  fill: none; stroke: rgba(201,168,76,0.22); stroke-width: 1.5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: pitch-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.pitch-lines .pl-2 { animation-delay: 0.35s; }
.pitch-lines .pl-3 { animation-delay: 0.6s; }
.pitch-lines .pl-4 { animation-delay: 0.85s; }
.pitch-lines .pl-5 { animation-delay: 1.1s; }
@keyframes pitch-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pitch-lines path { animation: none; stroke-dashoffset: 0; }
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.5px; margin-bottom: 22px; }
.hero p { color: var(--dim); font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.crest-slot {
  aspect-ratio: 1; background: var(--panel); border: 1px solid rgba(201,168,76,0.25); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 13px; text-align: center; padding: 24px;
}
.crest-slot img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 4px; font-weight: 800; font-size: 15px; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--gold-bright); color: var(--black); }
.btn-primary:hover { background: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-title { font-weight: 800; font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.section-lede { color: var(--dim); font-size: 17px; max-width: 60ch; margin-bottom: 48px; }

/* ---------- Offer teaser ---------- */
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card {
  background: var(--panel); border: 1px solid rgba(201,168,76,0.15); border-radius: 8px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--white); transition: border-color 0.2s;
}
.offer-card:hover { border-color: rgba(201,168,76,0.5); }
.offer-card .stat { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 15px; color: var(--gold); letter-spacing: 0.3px; }
.offer-card h3 { font-size: 22px; font-weight: 800; }
.offer-card p { color: var(--dim); font-size: 15px; }
.offer-card .go { color: var(--gold-bright); font-weight: 700; font-size: 14px; margin-top: auto; }

@media (max-width: 700px) { .offer-row { grid-template-columns: 1fr; } }

/* ---------- Product blocks ---------- */
.product-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.product-block:first-of-type { border-top: none; }
.product-block.reverse .product-media { order: 2; }
.product-media {
  background: var(--panel); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 14px; text-align: center; padding: 20px;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.product-media.tall { aspect-ratio: 1536 / 2752; max-width: 360px; margin: 0 auto; }
.product-tag { font-family: 'Oswald', sans-serif; color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-amount { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 26px; color: var(--white); }
.price-note { color: var(--dim); font-size: 14px; }
.product-block h3 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.product-block p { color: var(--dim); font-size: 16px; margin-bottom: 20px; max-width: 48ch; }
.product-list { list-style: none; margin-bottom: 24px; }
.product-list li { color: var(--dim); font-size: 15px; padding-left: 20px; position: relative; margin-bottom: 8px; }
.product-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

@media (max-width: 820px) {
  .product-block, .product-block.reverse { grid-template-columns: 1fr; }
  .product-block.reverse .product-media { order: 0; }
}

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.contact-panel { background: var(--panel); border: 1px solid rgba(201,168,76,0.15); border-radius: 8px; padding: 32px; height: fit-content; }
.contact-panel h3 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.contact-row { margin-bottom: 16px; }
.contact-row .label { color: var(--dim); font-size: 13px; margin-bottom: 3px; }
.contact-row .value { font-weight: 600; font-size: 15px; }
.contact-row a { text-decoration: none; color: var(--white); }
.contact-row a:hover { color: var(--gold); }

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

.bio-section { border-top: 1px solid rgba(255,255,255,0.08); }
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio-photo { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(201,168,76,0.25); }
.bio-name { font-size: 28px; margin-bottom: 4px; }
.bio-role { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.bio-text { color: var(--dim); font-size: 17px; margin-bottom: 16px; }
@media (max-width: 820px) {
  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 280px; }
}

/* ---------- Login page ---------- */
.login-hero { padding: 110px 0; text-align: center; }
.login-hero .crest-slot { width: 140px; margin: 0 auto 32px; }
.login-hero h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 16px; }
.login-hero p { color: var(--dim); max-width: 44ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 800; font-size: 15px; }
.footer-brand span { color: var(--gold); }
.footer-tagline { color: var(--dim); font-size: 13px; }
.footer-copy { color: var(--dim); font-size: 13px; }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { color: var(--dim); font-size: 13px; text-decoration: none; }
.footer-legal-links a:hover { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; padding: 48px 0 80px; }
.legal .effective-date { color: var(--dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 40px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--dim); font-size: 16px; margin-bottom: 16px; }
.legal ul { color: var(--dim); font-size: 16px; margin: 0 0 16px 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold); }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.1); color: var(--dim); }
.legal th { color: var(--white); font-weight: 700; }

/* ---------- Scroll reveal (classes added by site.js; kept last so it wins over component transitions) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
