/* ===========================================
   FITWISE — Custom Stylesheet
   =========================================== */

:root {
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --accent: #C8793A;
  --accent-light: #E8A870;
  --muted: #7A7067;
  --surface: #F0EDE8;
  --border: #DDD9D3;
  --white: #FFFFFF;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px clamp(24px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 121, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
  font-weight: 300;
}

/* ---- WARDROBE ILLUSTRATION ---- */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wardrobe-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wardrobe-frame {
  width: 280px;
  height: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.08);
}

.wardrobe-rod {
  position: absolute;
  top: 40px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--fg);
  border-radius: 2px;
}

.hanger-group {
  position: absolute;
  top: 44px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 160px;
}

.hanger {
  width: 26px;
  height: 60px;
  border-radius: 4px 4px 8px 8px;
  position: relative;
}

.hanger::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  border-color: inherit;
  background: transparent;
}

.hanger-1 { background: #2A2A2A; color: #2A2A2A; }
.hanger-2 { background: #C8793A; color: #C8793A; height: 65px; }
.hanger-3 { background: #E8DDD4; color: #E8DDD4; }
.hanger-4 { background: #3D4A3A; color: #3D4A3A; height: 55px; }
.hanger-5 { background: #8A6A52; color: #8A6A52; }
.hanger-6 { background: #1A1A1A; color: #1A1A1A; }

.shelf {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  height: 80px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.shelf-item {
  flex: 1;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.shelf-item-1 { height: 70px; }
.shelf-item-2 { height: 55px; }
.shelf-item-3 { height: 65px; }

/* Outfit card floating to the side */
.outfit-card {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  width: 180px;
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.1);
}

.outfit-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.outfit-card-items {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.outfit-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.outfit-dot:nth-child(1) { background: #2A2A2A; }
.outfit-dot:nth-child(2) { background: #C8793A; }
.outfit-dot:nth-child(3) { background: #E8DDD4; border: 1px solid var(--border); }

.outfit-card-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.features-header {
  max-width: 560px;
  margin-bottom: 72px;
}

.features-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 48px 40px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--white);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--fg);
  color: var(--bg);
}

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

.manifesto-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
}

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

.manifesto-body {
  font-size: 1rem;
  color: #B8B3AC;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.manifesto-body:last-child {
  margin-bottom: 0;
  color: #8A8680;
}

/* ---- HOW IT WORKS ---- */
.how {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.how-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 4px;
}

.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.closing-body--secondary {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 6px;
}

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

.footer-legal {
  font-size: 0.78rem;
  color: var(--muted);
}

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

  .hero-graphic {
    order: -1;
  }

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

  .outfit-card {
    position: static;
    transform: none;
    margin-top: 16px;
  }

  .wardrobe-illustration {
    align-items: flex-start;
  }

  .step {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .step-num {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 88px 24px 64px;
    min-height: auto;
  }

  .wardrobe-frame {
    width: 220px;
    height: 280px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}