/* =====================================================
   LOADLIGHT — Brand Stylesheet
   Typography: Fraunces (display serif) + Outfit (sans)
   Palette: Warm parchment, deep charcoal, terracotta
   ===================================================== */

:root {
  --bg: #F7F5F0;
  --bg-alt: #EFECE4;
  --fg: #1C1917;
  --fg-muted: #6B6660;
  --accent: #B85C38;
  --accent-warm: #E8A87C;
  --charcoal: #2C2926;
  --rule: #D9D4C9;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

/* ── Navigation ─────────────────────────────── */

.nav {
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--rule);
}

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

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ── Hero ────────────────────────────────────── */

.hero {
  padding: 5rem 3rem 6rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 44ch;
}

/* Hero visual — atmospheric design */
.hero-visual { position: relative; }

.hero-image-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
}

.hero-image-atmosphere {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2C2926 0%, #3D3530 40%, #4A3F38 70%, #B85C38 100%);
}

.atmosphere-circle {
  position: absolute;
  border-radius: 50%;
}

.atmosphere-circle-1 {
  width: 60%;
  height: 60%;
  top: 15%;
  left: 20%;
  background: radial-gradient(circle, rgba(184,92,56,0.5) 0%, transparent 70%);
}

.atmosphere-circle-2 {
  width: 40%;
  height: 40%;
  top: 25%;
  right: 15%;
  background: radial-gradient(circle, rgba(232,168,124,0.3) 0%, transparent 70%);
}

.atmosphere-circle-3 {
  width: 80%;
  height: 30%;
  bottom: 20%;
  left: 10%;
  background: linear-gradient(90deg, transparent, rgba(247,245,240,0.08), transparent);
}

.atmosphere-object {
  position: absolute;
  background: rgba(247,245,240,0.06);
  border-radius: 2px;
}

.object-1 {
  width: 2px; height: 40%;
  top: 30%; left: 35%;
  background: rgba(247,245,240,0.15);
}

.object-2 {
  width: 25%; height: 2px;
  top: 45%; left: 30%;
  background: rgba(247,245,240,0.1);
}

.object-3 {
  width: 15%; height: 15%;
  bottom: 25%; right: 25%;
  border-radius: 50%;
  background: rgba(232,168,124,0.15);
}

.atmosphere-texture {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.hero-caption span {
  font-size: 0.75rem;
  color: rgba(247,245,240,0.5);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* Hero photo (sleep brand refresh) */
.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Manifesto ───────────────────────────────── */

.manifesto {
  padding: 7rem 3rem;
  background: var(--charcoal);
  color: var(--bg);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.label-rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 1rem;
}

.label-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-warm);
}

.manifesto-label { margin-bottom: 3rem; }

.manifesto-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--bg);
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
}

.manifesto-body {
  font-size: 1rem;
  color: rgba(247,245,240,0.75);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

/* ── Principles ──────────────────────────────── */

.principles {
  padding: 7rem 3rem;
}

.principles-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.principles-label { margin-bottom: 4rem; }

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

.principle-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.principle-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.principle-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ── Approach ───────────────────────────────── */

.approach {
  padding: 7rem 3rem;
  background: var(--bg-alt);
}

.approach-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.approach-visual {}

.approach-image-frame {
  aspect-ratio: 1;
  background: var(--charcoal);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.approach-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid rgba(247,245,240,0.06);
}

.approach-cell-icon {
  font-size: 1.5rem;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.approach-cell-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,245,240,0.4);
}

.approach-cell-1 { background: rgba(184,92,56,0.1); }
.approach-cell-2 { background: rgba(232,168,124,0.05); }
.approach-cell-3 { background: rgba(232,168,124,0.05); }
.approach-cell-4 { background: rgba(184,92,56,0.1); }

.approach-label { margin-bottom: 2rem; }

.approach-headline {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.approach-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.approach-rule {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.rule-mark {
  color: var(--accent);
  font-family: 'Fraunces', serif;
  display: block;
  margin-bottom: 0.5rem;
}

.rule-text {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  max-width: 38ch;
  line-height: 1.6;
}

/* ── Closing ─────────────────────────────────── */

.closing {
  padding: 8rem 3rem;
  text-align: center;
  background: var(--bg);
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.closing-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* ── Product Hero ─────────────────────────────── */

.product-hero {
  padding: 7rem 3rem 6rem;
  background: var(--charcoal);
  color: var(--bg);
}

.product-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-tag {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.tag-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-right: 1rem;
}

.tag-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-warm);
}

.product-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.product-sub {
  font-size: 1.05rem;
  color: rgba(247,245,240,0.7);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 4rem;
}

/* Product hero grid layout */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-hero-text .product-headline {
  color: var(--bg);
  margin-bottom: 1.25rem;
}

.product-hero-text .product-sub {
  margin-bottom: 2.5rem;
  max-width: 45ch;
}

.product-hero-text .product-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.1);
  border-radius: 100px;
  padding: 0.875rem 1.5rem;
  max-width: 480px;
}

.product-hero-visual {}

.product-photo-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-photo {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Suggestion pill */
.product-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.1);
  border-radius: 100px;
  padding: 0.875rem 1.5rem;
  max-width: 500px;
}

.suggestion-icon {
  font-size: 1.25rem;
  color: var(--accent-warm);
  flex-shrink: 0;
}

.suggestion-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.suggestion-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,245,240,0.4);
}

.suggestion-value {
  font-size: 0.9rem;
  color: rgba(247,245,240,0.85);
  line-height: 1.4;
}

/* ── Product Features ────────────────────────── */

.product-features {
  padding: 7rem 3rem;
  background: var(--bg);
}

.product-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-label { margin-bottom: 3rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--rule);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.feature-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Product Brief ────────────────────────────── */

.product-brief {
  padding: 7rem 3rem;
  background: var(--bg-alt);
}

.product-brief-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.brief-item {}

.brief-key {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.brief-val {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.55;
  font-weight: 400;
}

/* ── Product Supply ─────────────────────────── */

.product-supply {
  padding: 7rem 3rem;
  background: var(--charcoal);
  color: var(--bg);
}

.product-supply-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.supply-item {
  padding: 1.5rem;
  background: rgba(247,245,240,0.04);
  border: 1px solid rgba(247,245,240,0.08);
  border-radius: 4px;
}

.supply-estimate {
  background: rgba(184,92,56,0.1);
  border-color: rgba(184,92,56,0.2);
}

.supply-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,245,240,0.4);
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.supply-vendor {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

.supply-detail {
  font-size: 0.8rem;
  color: rgba(247,245,240,0.5);
  line-height: 1.6;
}

.supply-price {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* ── Product CTA ────────────────────────────── */

.product-cta {
  padding: 7rem 3rem;
  background: var(--bg);
  text-align: center;
}

.product-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-input {
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--fg);
  border-radius: 2px;
  min-width: 240px;
  outline: none;
}

.cta-input:focus {
  border-color: var(--accent);
}

.cta-button {
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.85;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

.cta-success {
  background: rgba(184, 92, 56, 0.08);
  border: 1px solid rgba(184, 92, 56, 0.2);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.cta-success-text {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
}

.cta-error {
  background: rgba(220, 60, 60, 0.06);
  border: 1px solid rgba(220, 60, 60, 0.15);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.cta-error-text {
  font-size: 0.95rem;
  color: #c0392b;
}

/* ── Footer ──────────────────────────────────── */

.footer {
  padding: 4rem 3rem 3rem;
  border-top: 1px solid var(--rule);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand { margin-bottom: 2rem; }

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
}

.footer-philosophy {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
  margin-top: 0.5rem;
}

.footer-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 1.5rem;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── Responsive ──────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner,
  .approach-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual,
  .approach-visual {
    order: -1;
  }

  .hero-image-frame,
  .approach-image-frame {
    aspect-ratio: 16/9;
    max-height: 280px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav { padding: 1.5rem 1.5rem; }
  .hero { padding: 3rem 1.5rem 4rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .principles { padding: 5rem 1.5rem; }
  .approach { padding: 5rem 1.5rem; }
  .product-hero { padding: 5rem 1.5rem 4rem; }
  .product-features { padding: 5rem 1.5rem; }
  .product-brief { padding: 5rem 1.5rem; }
  .product-supply { padding: 5rem 1.5rem; }
  .product-cta { padding: 5rem 1.5rem; }
  .closing { padding: 6rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 2rem; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brief-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .closing-headline { font-size: 2rem; }
  .nav-tagline { display: none; }
}