/* theme.css — ThreadRoot main stylesheet.
   Design tokens: --cream, --indigo, --saffron, --text
   Sections: navbar, hero, how-it-works, extensions-gallery, tier-comparison, closing, footer */

:root {
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --indigo: #1C2B4A;
  --indigo-light: #2D4170;
  --saffron: #C8956C;
  --saffron-light: #E0B898;
  --text: #2A1F1A;
  --text-muted: #6B5E54;
  --white: #FFFFFF;
}

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

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ======================== Navbar ======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  border-bottom: 1px solid rgba(28, 43, 74, 0.1);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--indigo); }

/* ======================== Hero ======================== */
.hero {
  padding: 80px 64px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(200,149,108,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-overline {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--indigo);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--indigo-light); }
.hero-tier-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.tier-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.tier-classic {
  background: rgba(200,149,108,0.15);
  color: var(--saffron);
  border: 1px solid rgba(200,149,108,0.3);
}
.tier-signature {
  background: var(--indigo);
  color: var(--cream);
}
.hero-image-block { display: flex; justify-content: center; align-items: center; }
.hero-image-container {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 32px;
  background: linear-gradient(to top, rgba(28,43,74,0.85) 0%, transparent 100%);
}
.craft-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--cream);
  font-weight: 600;
}
.craft-sub {
  display: block;
  font-size: 12px;
  color: var(--saffron-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-bottom-rule {
  height: 2px;
  background: linear-gradient(to right, var(--saffron) 0%, transparent 60%);
  max-width: 1200px;
  margin: 64px auto 0;
}

/* ======================== How It Works ======================== */
.how-it-works {
  padding: 100px 64px;
  background: var(--cream-dark);
}
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 20px;
  font-weight: 500;
}
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.1;
  margin-bottom: 64px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.step { position: relative; }
.step-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(200,149,108,0.4);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 12px;
}
.step-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.hiw-cta-row {
  text-align: center;
  margin-top: 56px;
}

/* ======================== Extensions Gallery ======================== */
.extensions-gallery {
  padding: 100px 64px;
  background: var(--cream);
}
.ext-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.ext-card {
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(28,43,74,0.1);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ext-card:hover {
  border-color: var(--saffron);
  box-shadow: 0 8px 32px rgba(28,43,74,0.08);
}
.ext-visual {
  height: 180px;
  background: var(--indigo);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.ext-visual-sleeve { background: linear-gradient(135deg, #3a4f6a 0%, #1C2B4A 100%); }
.ext-visual-collar { background: linear-gradient(135deg, #4a3560 0%, #2D1F3D 100%); }
.ext-visual-pocket { background: linear-gradient(135deg, #2a4060 0%, #1C2B4A 100%); }
.ext-visual-side { background: linear-gradient(135deg, #1a2535 0%, #0f1a28 100%); }
.ext-before,
.ext-after {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,248,240,0.5);
}
.ext-after {
  color: var(--saffron-light);
  margin-top: 4px;
}
.ext-info { padding: 20px 16px; }
.ext-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 6px;
}
.ext-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.ext-from {
  font-size: 13px;
  font-weight: 500;
  color: var(--saffron);
}

/* ======================== Tier Comparison ======================== */
.tier-comparison {
  padding: 100px 64px;
  background: var(--cream-dark);
}
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.tier-card {
  background: var(--white);
  border-radius: 6px;
  padding: 40px 36px;
  border: 2px solid transparent;
  position: relative;
}
.tier-classic-card { border-color: rgba(28,43,74,0.1); }
.tier-signature-card { border-color: var(--saffron); }
.tier-badge-pop {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.tier-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--indigo);
}
.tier-price-row { text-align: right; }
.tier-price {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--indigo);
}
.tier-price-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.tier-tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.tier-features {
  list-style: none;
  margin-bottom: 32px;
}
.tier-features li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-check { color: var(--saffron); font-weight: 500; }
.tier-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s;
}
.tier-cta-classic {
  background: transparent;
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
}
.tier-cta-classic:hover { background: var(--indigo); color: var(--cream); }
.tier-cta-signature {
  background: var(--indigo);
  color: var(--cream);
}
.tier-cta-signature:hover { background: var(--indigo-light); }

/* ======================== Closing ======================== */
.closing {
  padding: 100px 64px;
  background: var(--cream);
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.swap-visuals {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.swap-card {
  width: 480px;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.swap-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.closing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
.closing-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--saffron);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.closing-cta:hover { background: #b07850; }

/* ======================== Footer ======================== */
.footer {
  background: var(--cream-dark);
  padding: 40px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(28,43,74,0.1);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--indigo);
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================== Responsive ======================== */
@media (max-width: 1100px) {
  .ext-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .navbar { padding: 20px 28px; }
  .hero { padding: 60px 28px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-container { max-width: 100%; }
  .how-it-works { padding: 64px 28px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .extensions-gallery { padding: 64px 28px; }
  .ext-grid { grid-template-columns: 1fr 1fr; }
  .tier-comparison { padding: 64px 28px; }
  .tier-grid { grid-template-columns: 1fr; }
  .closing { padding: 64px 28px; }
  .footer { padding: 32px 28px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .ext-grid { grid-template-columns: 1fr; }
}
