/* Huff Guitars — launch page */

:root {
  --bg: #050b18;
  --fg: #e8e4d8;
  --card: #0c1428;
  --gold: #e9c035;
  --gold-hover: rgba(233, 192, 53, 0.9);
  --muted: #6b7fa3;
  --border: rgba(233, 192, 53, 0.15);

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 80rem;
  --gutter: 1.5rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible {
  outline: 2px solid rgba(233, 192, 53, 0.6);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gold { color: var(--gold); }

/* Icons (Lucide, stroke style) */
.icon {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 19px; height: 19px; }
.icon-gold { color: var(--gold); }
.arrow { transition: transform 0.2s ease; }
a:hover .arrow { transform: translateX(4px); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Header ─────────────────────────────────────────── */
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 7rem; }
.brand { color: var(--fg); }
.logo-full { display: none; height: 5rem; width: auto; aspect-ratio: 651.15 / 225.969; overflow: visible; }
.logo-mark { width: 3.5rem; height: 3.5rem; }
.header-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s ease;
}
.header-link:hover { color: var(--gold); }
.hide-mobile { display: none; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero-scrim { position: absolute; inset: 0; background: rgba(5, 11, 24, 0.78); }

.hero-content { position: relative; z-index: 10; padding-top: 9rem; padding-bottom: 5rem; }
.hero-copy { max-width: 48rem; }

.eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.rule { width: 2.5rem; height: 1px; background: var(--gold); }

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 48rem;
}

.lede {
  margin-top: 2rem; max-width: 42rem;
  font-size: 1.125rem; line-height: 1.625; font-weight: 300;
  color: var(--muted);
}
.sublede {
  margin-top: 1rem; max-width: 36rem;
  line-height: 1.625;
  color: rgba(232, 228, 216, 0.8);
}

.cta-row { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: var(--gold); color: var(--bg);
  padding: 1rem 2rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--gold-hover); }

.muted-link { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); transition: color 0.2s ease; }
.muted-link:hover { color: var(--fg); }

.offerings {
  margin-top: 5rem; max-width: 48rem;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.offerings li {
  background: rgba(5, 11, 24, 0.9);
  padding: 1rem 1.25rem;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.offer-value { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; }
.offer-label {
  margin-top: 0.25rem;
  font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Commission section ─────────────────────────────── */
.commission { position: relative; padding: 6rem var(--gutter); }
.commission > .container { padding-inline: 0; }
.commission-line {
  position: absolute; top: 0; left: 50%;
  width: 1px; height: 10rem; pointer-events: none;
  background: linear-gradient(to bottom, rgba(233, 192, 53, 0.4), transparent);
}

.section-intro { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-intro h2 {
  margin-top: 1.25rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.875rem; line-height: 1.2;
}
.section-intro > p:last-child { margin-top: 1.25rem; line-height: 1.625; color: var(--muted); }

.cards { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { border: 1px solid var(--border); background: rgba(12, 20, 40, 0.6); padding: 2rem; }
.card-icon {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(233, 192, 53, 0.3); color: var(--gold);
}
.card h3 { margin-top: 1.75rem; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.4; }
.card p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }

.closing {
  margin-top: 5rem; padding-block: 3rem;
  border-block: 1px solid var(--border);
  text-align: center;
}
.closing-quote {
  max-width: 48rem; margin-inline: auto;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; line-height: 1.625;
}
.text-cta {
  margin-top: 2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: rgba(12, 20, 40, 0.4); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-mark { width: 2.5rem; height: 2.5rem; }
.footer-name { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; }
.footer-loc { margin-top: 0.25rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
.footer-meta { text-align: center; }
.footer-meta .muted-link:hover { color: var(--gold); }
.footer-small { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.footer-copy { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted); opacity: 0.8; }

/* ── 404 ────────────────────────────────────────────── */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.notfound h1 { margin-top: 1.5rem; }
.notfound .cta-row { margin-top: 2.5rem; }

/* ── Phones: lighter, shorter layout ────────────────── */
@media (max-width: 639px) {
  .mobile-hide { display: none !important; }

  .hero-content { padding-top: 8rem; padding-bottom: 3.5rem; }
  .eyebrow-row { margin-bottom: 1.5rem; }
  .sublede { margin-top: 1.5rem; font-size: 1.0625rem; }
  .cta-row { margin-top: 2rem; }
  .btn { width: 100%; }

  .commission { padding-block: 4rem; }
  .commission-line { height: 6rem; }
  .cards { margin-top: 2.5rem; gap: 0.75rem; }
  .card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; padding: 1.25rem; }
  .card h3 { margin-top: 0; font-size: 1.0625rem; }
  .card p { grid-column: 1 / -1; margin-top: 0.875rem; }
  .closing { margin-top: 3rem; padding-block: 2.5rem; }
  .closing-quote { font-size: 1.375rem; line-height: 1.5; }
  .text-cta { margin-top: 1.5rem; }
}

/* ── Breakpoints ────────────────────────────────────── */
@media (min-width: 640px) {
  .logo-full { display: block; }
  .logo-mark { display: none; }
  .hide-mobile { display: inline; }
  h1 { font-size: 3.75rem; }
  .lede { font-size: 1.25rem; }
  .cta-row { flex-direction: row; align-items: center; }
  .offerings { grid-template-columns: repeat(3, 1fr); }
  .commission { padding-block: 8rem; }
  .section-intro h2 { font-size: 2.25rem; }
  .closing-quote { font-size: 1.875rem; }
  .footer-inner { flex-direction: row; }
  .footer-meta { text-align: right; }
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
  .hero-media { left: 52%; }
  .hero-scrim {
    background: linear-gradient(to right, var(--bg), rgba(5, 11, 24, 0.75), rgba(5, 11, 24, 0.2));
  }
}

/* ── Motion ─────────────────────────────────────────── */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.fade-up { animation: fade-up 0.7s ease-out both; }
.fade-in { animation: fade-in 0.6s ease-out 0.65s both; }

/* Cards fade up as they scroll into view (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .arrow { transition: none; }
}
