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

:root {
  --primary: #DA241C;
  --primary-dark: #77130F;
  --primary-light: #FCEDEC;
  --accent: #FDFC78;
  --accent-dark: #B1B054;
  --bg: #ffffff;
  --surface: #FCEDEC;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --header-bg: #ffffff;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --radius: 2px;
  --radius-sm: 6px;
  --theme: modernist;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, 92vw); margin: 0 auto; }
.eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .75rem;
  font-family: var(--font-body);
}
h1,h2,h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { color: var(--muted); max-width: 58ch; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* Header */
.top-strip {
  background: var(--primary-dark);
  color: #fff;
  font-size: .78rem;
  padding: .45rem 0;
}
.top-strip .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top-strip span { display: inline-flex; align-items: center; gap: .4rem; }
.nav-phone { font-weight: 700; letter-spacing: .04em; margin-right: .5rem; color: var(--primary); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s;
}
.theme-noir .site-header { border-bottom-color: rgba(255,255,255,.08); }
.site-header.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.nav-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; opacity: .75; transition: opacity .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.5rem; font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s;
  cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: currentColor; }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }
.nav-mobile {
  display: none; flex-direction: column; gap: .5rem;
  padding: 1rem 0 1.25rem; border-top: 1px solid rgba(0,0,0,.08);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: .5rem 0; font-weight: 600; }

/* Hero variants */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }

.theme-mercantile .hero {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--surface);
}
.theme-mercantile .hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.theme-mercantile .hero-panel {
  background: var(--primary); color: #fff; padding: 2.5rem;
  border-radius: var(--radius); position: relative;
}
.theme-mercantile .hero-panel::after {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(255,255,255,.25); border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.theme-mercantile .hero-panel p { color: rgba(255,255,255,.85); }

.theme-industrial .hero {
  background: var(--text); color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-bottom: 6px solid var(--primary);
}
.theme-industrial .hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.theme-industrial .hero p { color: rgba(255,255,255,.78); max-width: 52ch; }
.theme-industrial .hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15);
}
.theme-industrial .hero-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 2rem; color: var(--accent);
}

.theme-editorial .hero {
  padding: clamp(5rem, 12vw, 9rem) 0 4rem;
}
.theme-editorial .hero h1 {
  font-size: clamp(3rem, 7vw, 5rem); max-width: 14ch;
  font-style: italic; font-weight: 500;
}
.theme-editorial .hero-rule {
  width: 80px; height: 3px; background: var(--primary); margin: 1.5rem 0 2rem;
}
.theme-editorial .hero-meta {
  display: flex; gap: 2rem; margin-top: 3rem; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}

.theme-playful .hero {
  text-align: center; padding: clamp(4rem, 9vw, 6.5rem) 0;
  background: var(--primary-light);
}
.theme-playful .hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem;
}
.theme-playful .badge {
  background: #fff; color: var(--primary-dark);
  padding: .4rem 1rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.theme-playful .hero-actions { justify-content: center; margin-top: 2rem; }

.theme-modernist .hero-band {
  display: grid; grid-template-columns: 1fr 1fr;
}
.theme-modernist .hero-band-a {
  background: var(--primary); color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.theme-modernist .hero-band-b {
  background: var(--text); color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 3rem;
  display: flex; align-items: flex-end;
}
.theme-modernist .hero-band-a p { color: rgba(255,255,255,.8); }
.theme-modernist .hero-band-b p { color: rgba(255,255,255,.65); font-size: .95rem; }

.theme-noir .hero {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.theme-noir .hero h1 { color: var(--text); font-weight: 500; }
.theme-noir .hero-accent-line {
  width: 48px; height: 1px; background: var(--accent); margin: 1.25rem 0;
}
.theme-noir p { color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(0,0,0,.08);
}
.theme-noir .stats-row { background: rgba(255,255,255,.08); }
.stat-cell {
  background: var(--bg); padding: 2rem 1.25rem; text-align: center;
}
.stat-cell strong {
  display: block; font-family: var(--font-display);
  font-size: 2rem; color: var(--primary); line-height: 1;
}
.stat-cell span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Cards */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.theme-noir .card { background: #161616; border-color: rgba(255,255,255,.06); }
.theme-industrial .card { border-radius: 0; border-left: 4px solid var(--primary); }
.theme-playful .card { border-top: 4px solid var(--accent); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.card h3 { margin-bottom: .5rem; color: var(--text); }
.card p { font-size: .92rem; }

.section-alt { background: var(--surface); }
.theme-industrial .section-alt { background: #eee; }
.section-dark {
  background: var(--primary-dark); color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.product-tag {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .5rem;
}

/* CTA */
.cta-block {
  text-align: center; padding: 4rem 2rem;
  background: var(--text); color: #fff;
}
.theme-noir .cta-block { background: var(--primary-dark); }
.cta-block h2 { color: #fff; margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,.75); margin: 0 auto 1.5rem; }

/* Footer */
.site-footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem; font-size: .88rem;
}
.theme-noir .site-footer { background: #050505; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .75rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem; font-size: .78rem;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-card {
  padding: 2rem; background: var(--surface);
  border-radius: var(--radius); border: 1px solid rgba(0,0,0,.06);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-line { display: flex; gap: .75rem; margin-bottom: 1rem; font-size: .95rem; }
.contact-line svg { flex-shrink: 0; color: var(--primary); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.theme-noir .page-hero { border-bottom-color: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .hero-grid, .hero-band, .contact-grid, .footer-grid,
  .card-grid.cols-4, .card-grid.cols-3, .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-row .btn { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .theme-modernist .hero-band { grid-template-columns: 1fr; }
}
