/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--ivory);
  z-index: 100;
}
.nav-brand { }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--charcoal); }

/* ===== HERO ===== */
.hero {
  padding: 80px 60px 60px;
  border-bottom: 1px solid var(--border);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}
.hero-overline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 420px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-garment-illustration {
  width: 100%;
  max-width: 300px;
}
.hero-garment-illustration svg {
  width: 100%;
  height: auto;
}
.hero-annotation {
  text-align: center;
}
.annotation-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-style: italic;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cream);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1;
}
.meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== SECTION SHARED ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.section-label span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
}
.label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 480px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  align-items: start;
  gap: 0;
  margin-top: 60px;
}
.step {
  padding: 32px 40px 32px 0;
}
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.step-body {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 200px;
}
.step-connector {
  color: var(--border);
  padding-top: 44px;
  flex-shrink: 0;
}

/* ===== THE EDITOR ===== */
.the-editor {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
  background: #F5F0EB;
}
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.component-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.component-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.component-icon {
  color: var(--terracotta);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.editor-diagram {
  display: flex;
  justify-content: center;
}
.diagram-garment {
  width: 100%;
  max-width: 280px;
}
.diagram-garment svg { width: 100%; height: auto; }

/* ===== THE PATTERN ===== */
.the-pattern {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
}
.pattern-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pattern-sheets {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pattern-sheet {
  background: white;
  border: 1px solid var(--border);
  padding: 20px;
  flex: 1;
}
.sheet-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 16px;
  text-align: center;
}
.pattern-sheet svg {
  width: 100%;
  height: auto;
}
.pattern-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
}
.pattern-feature {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pattern-feature:first-child { border-top: 1px solid var(--border); }
.pf-label {
  font-size: 0.82rem;
  color: var(--charcoal);
}
.pf-value {
  font-size: 0.82rem;
  color: var(--warm-gray);
}
.pattern-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--warm-gray);
  font-style: italic;
  border-left: 2px solid var(--border);
  padding-left: 16px;
}

/* ===== SILHOUETTES ===== */
.silhouettes {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
  background: #F5F0EB;
}
.silhouettes-headline {
  margin-bottom: 60px;
}
.silhouette-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
}
.silhouette-item {
  background: var(--ivory);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.silhouette-icon {
  width: 80px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.silhouette-icon svg {
  width: 100%;
  height: 100%;
}
.silhouette-item h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}
.silhouette-item p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--warm-gray);
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
}
.closing-content {
  max-width: 640px;
}
.closing-statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 40px;
}
.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--terracotta);
  margin-bottom: 40px;
}
.closing-details {
  display: flex;
  gap: 48px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
.detail-note {
  font-size: 0.72rem;
  color: var(--warm-gray);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal);
  color: var(--ivory);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(250,248,245,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.footer-meta {
  font-size: 0.72rem;
  color: rgba(250,248,245,0.4);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 20px 32px; }
  .nav-links { display: none; }
  .hero { padding: 60px 32px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .editor-layout, .pattern-layout { grid-template-columns: 1fr; }
  .editor-diagram { display: none; }
  .silhouette-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works, .the-editor, .the-pattern, .silhouettes, .closing { padding: 60px 32px; }
  .footer { padding: 32px; }
  .closing-details { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 480px) {
  .silhouette-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { gap: 24px; }
}