/* =========================================
   DRAPE — Premium Men's Style Guides
   Design: Editorial luxury, warm tactility
   ========================================= */

:root {
  --bg: #f4f0ea;
  --bg-warm: #ede6da;
  --bg-deep: #1a1a1a;
  --fg: #1a1a1a;
  --fg-muted: #6b6459;
  --fg-subtle: #9e9589;
  --accent: #8b5e3c;
  --accent-light: #b07d53;
  --sand: #d4c4a8;
  --cognac: #c4956a;
  --white: #faf8f4;
}

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

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

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

/* ── HEADER ─────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(244, 240, 234, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 196, 168, 0.3);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--fg);
}

.site-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s;
}

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

/* ── HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(160deg, var(--bg-warm) 0%, var(--sand) 60%, var(--cognac) 100%);
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

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

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 6px 14px;
  border: 1px solid var(--sand);
  border-radius: 2px;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fabric-texture {
  position: absolute;
  inset: -20px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 3px,
      rgba(139, 94, 60, 0.04) 3px,
      rgba(139, 94, 60, 0.04) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(139, 94, 60, 0.03) 3px,
      rgba(139, 94, 60, 0.03) 4px
    ),
    linear-gradient(135deg, var(--bg-warm), var(--sand));
  border-radius: 4px;
}

.hero-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 40px 36px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.08), 0 4px 12px rgba(26, 26, 26, 0.04);
}

.card-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--fg);
}

.card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.card-pages {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  border-top: 1px solid var(--sand);
  padding-top: 16px;
}

/* ── MANIFESTO ────────────────────────── */
.manifesto {
  background: var(--fg-deep);
  color: var(--white);
  padding: 100px 48px;
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  align-items: start;
}

.manifesto-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;
}

.manifesto-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
}

.manifesto-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
}

/* ── GUIDES ───────────────────────────── */
.guides {
  padding: 100px 48px;
  background: var(--bg);
}

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

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

.guides-header {
  margin-bottom: 0;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.guide-card {
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid var(--sand);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,26,26,0.07);
}

.guide-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 20px;
}

.guide-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.guide-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.guide-pages {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ── PHILOSOPHY ───────────────────────── */
.philosophy {
  padding: 100px 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.35;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.pull-cite {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-style: normal;
  padding-left: 28px;
}

.philosophy-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

/* ── OUTCOMES ──────────────────────────── */
.outcomes {
  padding: 100px 48px;
  background: var(--bg);
}

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

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--sand);
}

.outcome-item:nth-child(odd) {
  padding-right: 60px;
  border-right: 1px solid var(--sand);
}

.outcome-item:nth-child(even) {
  padding-left: 60px;
}

.outcome-item:nth-child(3),
.outcome-item:nth-child(4) {
  border-bottom: none;
}

.outcome-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: 2px;
}

.outcome-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.45;
}

/* ── CLOSING STATEMENT ───────────────── */
.closing-statement {
  padding: 120px 48px;
  background: var(--fg-deep);
  color: var(--white);
  text-align: center;
}

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

.closing-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 48px;
}

.closing-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.closing-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing-divider {
  color: var(--accent);
}

/* ── FOOTER ────────────────────────────── */
.site-footer {
  padding: 80px 48px 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--sand);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--sand);
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--fg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer-note {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  .hero-grid,
  .manifesto-inner,
  .philosophy-inner,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .outcomes-list {
    grid-template-columns: 1fr;
  }

  .outcome-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .outcome-item:nth-child(even) {
    padding-left: 0;
  }

  .hero {
    padding: 100px 28px 60px;
  }

  .manifesto,
  .guides,
  .philosophy,
  .outcomes,
  .closing-statement,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .site-header {
    padding: 0 28px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .manifesto-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    display: none;
  }

  .hero-headline {
    font-size: 2.8rem;
  }
}