/* ==========================================================================
   Laue Labs — Design System
   Brass · Teal · Charcoal · Warm Paper
   Workshop / steampunk-adjacent, clean & modern
   ========================================================================== */

:root {
  --brass: #B8860B;
  --brass-light: #D4A017;
  --brass-dark: #8B6508;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #14B8A6;
  --charcoal: #1C1917;
  --charcoal-soft: #292524;
  --paper: #F5F0E8;
  --paper-dark: #E8E0D4;
  --white: #FFFFFF;
  --muted: #78716C;
  --border: rgba(28, 25, 23, 0.12);
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 25, 23, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brass); }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 38em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--charcoal);
  color: var(--paper);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: rgba(245, 240, 232, 0.7); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brass);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}
.btn-primary:hover {
  background: var(--brass-light);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.btn-teal:hover {
  background: var(--teal-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--paper);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(245, 240, 232, 0.5);
  color: var(--paper);
}
.btn-outline-light:hover {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  padding-inline: 0.75rem;
}
.btn-ghost:hover { color: var(--brass); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--charcoal); }
.logo svg, .logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
}
.logo-mark {
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(28, 25, 23, 0.12));
}
.site-footer .logo-mark,
.hero-dark .logo-mark {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
.logo-text span { color: var(--brass); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: var(--charcoal-soft);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  background: var(--paper-dark);
  color: var(--charcoal);
}
.nav-links a.active {
  color: var(--teal-dark);
  background: rgba(13, 148, 136, 0.1);
  font-weight: 600;
}

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--charcoal);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 0.85rem 1rem; }
  .nav-cta { margin: 0.75rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(4.5rem, 11vw, 7.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(184, 134, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-dark {
  background:
    radial-gradient(ellipse 70% 60% at 85% 40%, rgba(184, 134, 11, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #141210 0%, var(--charcoal) 45%, var(--charcoal-soft) 100%);
  color: var(--paper);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.hero-dark::before {
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.16) 0%, transparent 68%);
}

.hero-dark h1 { color: var(--white); letter-spacing: -0.04em; }
.hero-dark .lead { color: rgba(245, 240, 232, 0.72); }
.hero-dark .eyebrow { color: var(--brass-light); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.35rem; }
.hero .lead { margin-bottom: 0.5rem; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual svg,
.hero-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
}
.hero-visual svg {
  filter: drop-shadow(0 16px 40px rgba(28, 25, 23, 0.15));
}

.logo-lockup {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  filter:
    drop-shadow(0 0 28px rgba(184, 134, 11, 0.28))
    drop-shadow(0 18px 48px rgba(0, 0, 0, 0.45));
}

.hero-dark .logo-lockup {
  filter:
    drop-shadow(0 0 36px rgba(212, 160, 23, 0.35))
    drop-shadow(0 0 80px rgba(13, 148, 136, 0.18))
    drop-shadow(0 22px 56px rgba(0, 0, 0, 0.55));
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 300px; margin: 0 auto; }
  .logo-lockup { max-width: 280px; }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--paper-dark), var(--paper));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.card-media svg { width: 72%; max-width: 180px; height: auto; }
.card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-dark);
}
.tag-brass {
  background: rgba(184, 134, 11, 0.15);
  color: var(--brass-dark);
}
.price {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.05rem;
}

/* Feature / audience cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
}
.feature-card .icon-wrap.gold {
  background: rgba(184, 134, 11, 0.15);
  color: var(--brass);
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.5rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brass);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brass);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a {
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.form-group .hint {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}
.form-group input.error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.form-error {
  color: #DC2626;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}
.form-error.show { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--teal);
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

#waitlist-form.hide { display: none; }

/* --------------------------------------------------------------------------
   Pricing / membership
   -------------------------------------------------------------------------- */
.price-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.price-big {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--brass);
  letter-spacing: -0.03em;
}
.price-big span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}
.perk-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.perk-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}
.perk-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}
.product-visual svg { width: 85%; max-width: 340px; }
.product-info .price {
  font-size: 1.75rem;
  color: var(--brass);
  margin: 1rem 0;
}
.product-info .includes {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.product-info .includes h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.product-info .includes ul { display: grid; gap: 0.5rem; }
.product-info .includes li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.product-info .includes li::before {
  content: "·";
  color: var(--brass);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}



.product-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-diagram-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.product-visual-secondary {
  aspect-ratio: auto;
  padding: 1.25rem;
}
.product-visual-secondary img {
  width: 55%;
  max-width: 220px;
}

.eng-specs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.25rem 0 0.25rem;
  padding: 0.85rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.eng-spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  min-width: 0;
}
.eng-spec-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.eng-spec-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
}
.product-visual img {
  width: 85%;
  max-width: 340px;
  height: auto;
}
.product-visual img.product-photo {
  width: 100%;
  max-width: none;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}
@media (max-width: 900px) {
  .eng-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .eng-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .product-hero { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-portrait {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-portrait svg { width: 70%; max-width: 220px; }
.about-lockup {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(184, 134, 11, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #1a1714 0%, var(--charcoal) 100%);
  border-color: rgba(245, 240, 232, 0.1);
  aspect-ratio: 1;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}
.about-lockup .logo-lockup {
  max-width: 100%;
  filter:
    drop-shadow(0 0 24px rgba(212, 160, 23, 0.3))
    drop-shadow(0 12px 32px rgba(0, 0, 0, 0.4));
}
.about-body p {
  margin-bottom: 1.15rem;
  color: var(--charcoal-soft);
}
.about-body p:last-child { margin-bottom: 0; }
.about-body h1 { letter-spacing: -0.04em; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 240, 232, 0.75);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo {
  color: var(--paper);
  margin-bottom: 0.85rem;
}
.footer-brand .logo:hover { color: var(--paper); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.92rem;
  padding: 0.3rem 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

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

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mt-lg { margin-top: 2.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Gear decoration */
.gear-bg {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  color: var(--charcoal);
}


.bom-estimate {
  margin: 1.25rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.bom-estimate h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.bom-estimate p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.bom-estimate ul { margin: 0 0 0.75rem 1.1rem; list-style: disc; color: var(--charcoal); }
.bom-estimate li { margin-bottom: 0.35rem; font-size: 0.95rem; }
.bom-estimate .bom-note { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sourcing page
   -------------------------------------------------------------------------- */
.affiliate-banner {
  margin: 1.5rem 0 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 134, 11, 0.35);
  background: rgba(184, 134, 11, 0.08);
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.55;
}
.affiliate-banner strong { color: var(--brass-dark); }
.sourcing-pending {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}
.sourcing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.section-alt .sourcing-card { background: var(--paper); }
.sourcing-card h3 { margin-bottom: 0.65rem; font-size: 1.15rem; }
.sourcing-why, .sourcing-search {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin-bottom: 0.55rem;
}
.sourcing-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.sourcing-link.muted { color: var(--muted); font-weight: 500; }
