/* ==========================================
   LETTES — Quiet Luxury Editorial Theme
   ========================================== */

:root {
  --bg: #F7F3EE;
  --bg-alt: #EDE7DD;
  --fg: #1A1008;
  --fg-muted: #6B5E4F;
  --accent: #C21E3A;
  --accent-dark: #8B1528;
  --cream: #F5EFE7;
  --border: rgba(26,16,8,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: transparent;
  mix-blend-mode: normal;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dots {
  display: flex;
  gap: 4px;
}

.nav-dots::before,
.nav-dots::after,
.nav-dots span {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-muted);
  transition: color 0.2s;
}

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 120%;
  background: radial-gradient(ellipse at center, #F0E6DA 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-text { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 2rem;
}

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

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 480px;
}

.hero-book-stack {
  position: relative;
  width: 200px;
  height: 280px;
}

.book {
  position: absolute;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 20px 60px rgba(26,16,8,0.18), 0 4px 12px rgba(26,16,8,0.1);
}

.book-1 {
  width: 140px;
  height: 200px;
  background: linear-gradient(135deg, #1A1008 0%, #2D1F14 100%);
  bottom: 0;
  left: 10px;
  transform: rotate(-4deg);
}

.book-1::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  bottom: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  border-radius: 2px;
}

.book-2 {
  width: 130px;
  height: 190px;
  background: linear-gradient(135deg, var(--accent-dark) 0%, #6B0F1E 100%);
  bottom: 10px;
  left: 40px;
  transform: rotate(3deg);
}

.book-3 {
  width: 125px;
  height: 185px;
  background: linear-gradient(135deg, #3A2B1E 0%, #1A1008 100%);
  bottom: 20px;
  left: 70px;
  transform: rotate(7deg);
}

.hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(194,30,58,0.08) 0%, transparent 60%);
  border: 1px solid rgba(194,30,58,0.12);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--fg-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--fg-muted);
}

/* ── PILLARS ── */
.pillars {
  background: var(--fg);
  color: var(--cream);
  padding: 7rem 3rem;
}

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

.pillars-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
}

.pillar {
  padding: 0 3rem 0 0;
}

.pillar:first-child { padding-left: 0; }

.pillar-divider {
  width: 1px;
  background: rgba(247,243,238,0.1);
  margin: 0 2rem;
  align-self: stretch;
}

.pillar-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  color: var(--cream);
}

.pillar p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,239,231,0.65);
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 8rem 3rem;
  background: var(--bg-alt);
  text-align: center;
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.manifesto-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 1rem;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 3rem;
}

.manifesto-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.manifesto-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 3rem;
}

.manifesto-dots .dot {
  width: 6px;
  height: 6px;
}

/* ── PRODUCTS ── */
.products {
  padding: 7rem 3rem;
  background: var(--bg);
}

.products-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.products-header {
  margin-bottom: 4rem;
}

.products-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.products-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--fg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product-card {
  background: var(--bg);
  padding: 3rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(194,30,58,0.04) 100%);
  pointer-events: none;
}

.product-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.product-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── CLOSING ── */
.closing {
  padding: 8rem 3rem;
  background: var(--fg);
  color: var(--cream);
}

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

.closing-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.closing-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,239,231,0.6);
}

.closing-cta {
  text-align: center;
}

.closing-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.closing-dots .dot {
  width: 10px;
  height: 10px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-dots::before,
.footer-dots::after,
.footer-dots span {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.footer-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--fg);
}

.footer-sep { color: var(--accent); }

.footer-legal {
  font-size: 0.7rem;
  color: rgba(107,94,79,0.5);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }

  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { height: 300px; }

  .hero-scroll-hint { display: none; }

  .pillars { padding: 5rem 1.5rem; }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pillar-divider {
    width: 40px;
    height: 1px;
    margin: 0;
    background: rgba(247,243,238,0.15);
  }

  .manifesto { padding: 5rem 1.5rem; }

  .products { padding: 5rem 1.5rem; }

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

  .closing { padding: 5rem 1.5rem; }

  .closing-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .closing-dots { justify-content: center; }
}