:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --surface: #fffaf0;
  --surface-2: #e7ded0;
  --text: #10151c;
  --muted: #59616b;
  --line: rgba(16, 21, 28, 0.14);
  --brand: #d3a64c;
  --brand-2: #f97316;
  --accent: #197278;
  --shadow: 0 18px 48px rgba(16, 21, 28, 0.14);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #151b22;
  --surface-2: #202a34;
  --text: #f5f1e8;
  --muted: #b6bec8;
  --line: rgba(245, 241, 232, 0.16);
  --brand: #e1b85f;
  --brand-2: #ff8a2a;
  --accent: #54b6bb;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(211, 166, 76, 0.12), transparent 34%), linear-gradient(240deg, rgba(25, 114, 120, 0.12), transparent 36%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}
.brand { display: flex; flex-direction: column; line-height: 1; min-width: max-content; }
.brand-logo {
  color: var(--brand);
  font-family: "Great Vibes", "Brush Script MT", cursive;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}
.brand-subtitle {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-links a { padding: 8px 0; }
.nav-links a:hover { color: var(--text); }
.theme-toggle {
  position: relative;
  width: 52px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.theme-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  transition: transform 180ms ease;
}
:root[data-theme="dark"] .theme-toggle::after { transform: translateX(20px); }
.sun, .moon { position: absolute; top: 9px; width: 10px; height: 10px; border-radius: 50%; }
.sun { left: 10px; background: #fff3b0; }
.moon { right: 10px; box-shadow: inset -4px 0 0 var(--muted); }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0.58) 43%, rgba(13, 17, 23, 0.12)), linear-gradient(0deg, rgba(13, 17, 23, 0.78), transparent 46%);
}
.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 92px 0 136px;
  color: #fffaf0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1, .section h2, .crusher-band h2, .quote-section h2, .kit-hero h1, .kit-section h2 {
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  letter-spacing: 0;
}
.hero h1 { max-width: 12ch; font-size: clamp(3.3rem, 9vw, 7.6rem); line-height: 0.94; }
.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--brand); color: #14100a; }
.button.secondary { border-color: rgba(255, 250, 240, 0.42); color: #fffaf0; }
.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 240, 0.22);
  background: rgba(13, 17, 23, 0.76);
  backdrop-filter: blur(14px);
}
.hero-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid rgba(255, 250, 240, 0.16);
  color: #fffaf0;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.section, .quote-section, .kit-section, .kit-hero { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
.section h2, .crusher-band h2, .quote-section h2 { font-size: clamp(2rem, 5vw, 4.3rem); line-height: 1.05; }
.intro p:not(.eyebrow), .crusher-copy p, .quote-copy p { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card, .steps article, .quote-form, .photo-card, .logo-tile, .swatches article, .type-specimens article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.service-card { min-height: 285px; padding: 24px; }
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  font-weight: 900;
}
.service-card h3, .steps h3 { margin: 0 0 12px; font-size: 1.1rem; }
.service-card p, .steps p, .form-note { margin: 0; color: var(--muted); line-height: 1.7; }
.crusher-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(64px, 10vw, 112px) clamp(18px, 6vw, 86px);
  background: #10151c;
  color: #fffaf0;
}
.crusher-copy p { color: rgba(255, 250, 240, 0.72); }
.crusher-list { display: grid; gap: 12px; }
.crusher-list span {
  padding: 18px 20px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-left: 5px solid var(--brand-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-card { overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 14px 16px 16px; color: var(--muted); font-weight: 700; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { min-height: 210px; padding: 24px; }
.steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(64px, 10vw, 112px) 0;
}
.contact-lines { display: grid; gap: 10px; margin-top: 20px; color: var(--brand); font-weight: 800; }
.quote-form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 34px); }
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}
textarea { resize: vertical; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: -3px 0 0; color: var(--muted); }
.site-footer a { color: var(--muted); font-weight: 800; }

.kit-hero { padding: clamp(56px, 9vw, 100px) 0 34px; }
.kit-hero h1 {
  color: var(--brand);
  font-family: "Great Vibes", "Brush Script MT", cursive;
  font-size: clamp(4rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 0.94;
}
.kit-hero p:not(.eyebrow), .kit-heading p { max-width: 720px; color: var(--muted); font-size: 1.1rem; line-height: 1.8; }
.kit-section {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 30px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.logo-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-tile { min-height: 190px; display: grid; place-items: center; min-width: 0; padding: 20px; }
.logo-tile .brand-logo { font-size: clamp(2.3rem, 4vw, 4.2rem); white-space: nowrap; }
.light-logo { background: #f5f1e8; }
.dark-logo { background: #10151c; }
.dark-logo .brand-logo { color: #e1b85f; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatches article, .type-specimens article { padding: 16px; }
.swatches span { display: block; height: 74px; margin-bottom: 14px; border-radius: 6px; background: var(--swatch); border: 1px solid rgba(0, 0, 0, 0.12); }
.swatches strong, .swatches code, .type-specimens span, .type-specimens code { display: block; }
.swatches code, .type-specimens code { margin-top: 6px; color: var(--muted); }
.type-specimens { display: grid; gap: 14px; }
.type-specimens span { color: var(--muted); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.spec-logo { margin: 12px 0; color: var(--brand); font-family: "Great Vibes", "Brush Script MT", cursive; font-size: 4rem; line-height: 1; }
.spec-heading { font-family: "Roboto Slab", Georgia, serif; font-size: 1.8rem; font-weight: 700; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .intro, .crusher-band, .quote-section, .kit-section { grid-template-columns: 1fr; }
  .service-grid, .hero-strip, .steps, .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .brand-logo { font-size: 2.2rem; }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 32px); margin: 0 auto; padding-top: 74px; }
  .hero h1 { font-size: 3.5rem; }
  .hero-actions .button { width: 100%; }
  .service-grid, .hero-strip, .steps, .photo-grid, .logo-showcase, .swatches { grid-template-columns: 1fr; }
  .hero-strip span { min-height: 48px; }
  .section-heading, .site-footer { display: block; }
  .site-footer a { display: inline-block; margin-top: 18px; }
  .kit-hero h1 { font-size: 4.2rem; }
  .spec-logo { font-size: 3rem; }
}
