/* TLM — Custom styles on top of Tailwind CDN */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface2: #1C1C1C;
  --border: #2E2E2E;
  --muted-border: #888;
  --text: #F0EDE8;
  --muted: #7A7A7A;
  --accent: #C0C0C0;
  --red: #A02820;
  --red-dim: #7A1E17;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--text);
}

/* TLM Badge SVG */
.tlm-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.tlm-badge .badge-svg {
  width: 28px;
  height: 36px;
}

.tlm-badge .badge-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.tlm-badge .badge-wordmark .tlm-letters {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: uppercase;
}

.tlm-badge .badge-wordmark .tlm-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Hero */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0A0A0A 0%, #111111 50%, #0D0D0D 100%);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(192,192,192,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-real {
  display: inline-block;
  font-size: 0.25em;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  transform: rotate(45deg);
  transform-origin: left bottom;
  vertical-align: top;
  position: relative;
  top: 0.1em;
  margin-left: 0.6em;
}

.hero-manifesto {
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: left;
}

.hero-manifesto p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--red-dim);
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--text);
  border: none;
  padding: 0.85rem 2rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #8B2218;
}

.btn-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
}

/* Philosophy */
#philosophy {
  background: var(--surface);
}

.philosophy-body p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 680px;
  line-height: 1.8;
}

.philosophy-body p strong {
  color: var(--text);
  font-weight: 500;
}

.philosophy-sign {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  margin-top: 3rem;
  letter-spacing: 0.05em;
}

/* Parts */
#parts {
  background: var(--bg);
}

.parts-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.8;
}

.parts-list {
  list-style: none;
  margin-bottom: 3rem;
  columns: 2;
  gap: 0.5rem;
}

.parts-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.25rem;
  position: relative;
  break-inside: avoid;
}

.parts-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Garage */
#garage {
  background: var(--surface);
}

.garage-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.8;
}

.garage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.garage-placeholder {
  background: var(--surface2);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.garage-placeholder span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.garage-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.25;
}

/* Club */
#club {
  background: var(--bg);
}

.club-benefits {
  list-style: none;
  margin-bottom: 3rem;
}

.club-benefits li {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5rem;
  position: relative;
}

.club-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-max {
  max-width: 540px;
}

/* Contact */
#contact {
  background: var(--surface);
}

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--accent);
}

/* Divider line */
.divider {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav .nav-links {
    display: none;
  }

  .garage-grid {
    grid-template-columns: 1fr;
  }

  .parts-list {
    columns: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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