/* Shared base styles for fh6tune.com. Page-specific layout and components
   live in each page's inline <style> block. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('./fonts/JetBrainsMono-latin.woff2') format('woff2');
}

:root {
  /* Background scale */
  --bg: #131313;
  --surface: #1B1B1B;
  --surface-active: #2A2A2A;
  --hover: #191919;
  /* Borders */
  --border: #232323;
  --border-bright: #303030;
  --border-active: #404040;
  --sep: #383838;
  /* Text. WCAG AA compliant against --bg */
  --text-bright: #F5F5F5;
  --text-headline: #E0E0E0;
  --text-primary: #C8C8C8;
  --text-body: #B0B0B0;
  --text-secondary: #9A9A9A;
  --text-meta: #858585;
  --text-faint: #6B6B6B;
  --text-warm: #C8A87A;
  /* Accent. Muted copper for Forza identity */
  --accent: #D4886A;
  --accent-bright: #E89A7D;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(212, 136, 106, 0.2); color: var(--accent-bright); }

/* HEADER. Each page overrides .hero-inner max-width and (optionally) layout */
header.hero {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 19, 19, 0.95);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border-bottom: 1px solid var(--border);
}
header.hero .hero-inner {
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
header.hero .nav-link {
  font-size: 0.8125rem;
  color: var(--text-meta);
  text-decoration: none;
  border: 1px solid var(--border-bright);
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  transition: color 0.12s, border-color 0.12s;
}
header.hero .nav-link:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
}
header.hero .wordmark {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  display: inline-block;
  margin: 0;
  line-height: 1.2;
}
header.hero .wordmark .accent { color: var(--accent); }
header.hero .wordmark .wordmark-sub {
  color: var(--text-meta);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 0.125rem;
}

.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;
}

::-webkit-scrollbar { width: 0.375rem; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 0.1875rem; }
