/* Closet Shopper marketing page — built to design_handoff_homepage
   (2026-09-17). Every value is a token from the app's design system. */
:root {
  --cream: #F6F1E7;
  --ink: #1E1B17;
  --muted: #8A8175;
  --rust: #9C4A2E;
  --line: #E2D9C9;
  --surface: #FFFFFF;
  --line-on-ink: rgba(246, 241, 231, 0.22);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --maxw: 1200px;
  --gutter: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--rust); }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.micro { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); }

/* Cards */
.card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 3 / 4;
}
.card img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 9999px; padding: 17px 30px; transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.btn svg { display: block; flex: none; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { opacity: 0.8; color: var(--cream); }
.btn-header { padding: 12px 20px; gap: 9px; }
.btn-secondary { background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: 15px 28px; }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.btn-row.center { justify-content: center; gap: 16px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.site-header .brand img { height: 56px; width: auto; margin-left: -34px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px 48px; align-items: center; padding-top: 48px; padding-bottom: 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 74px); font-weight: 700; line-height: 1.02;
  letter-spacing: 0.04em; text-transform: uppercase; max-width: 12ch;
}
.hero .fine { margin-top: -12px; }
.flatlay { position: relative; width: 100%; max-width: 540px; aspect-ratio: 10 / 11; margin: 0 auto; }
.piece { position: absolute; transition: transform 0.4s ease; }
.piece:hover { transform: translateY(-6px); }
.piece.dress { left: 30%; top: 4%; width: 42%; }
.piece.bracelet { left: 4%; top: 20%; width: 20%; }
.piece.necklace { right: 0; top: 0; width: 23%; }
.piece.ring { right: 8%; top: 35%; width: 15%; }
.piece.sandals { left: 8%; bottom: 4%; width: 38%; aspect-ratio: 4 / 3; }
.piece.bag { right: 2%; bottom: 2%; width: 30%; }

/* Entrance */
@keyframes cs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: cs-rise 0.85s ease both; animation-delay: var(--d, 0s); }

/* Rail */
.rail { overflow: hidden; padding-bottom: 96px; }
.track { display: flex; width: max-content; gap: 16px; animation: cs-rail 70s linear infinite; }
.tile { width: clamp(120px, 14vw, 170px); flex: none; }
@keyframes cs-rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Statement */
.statement { background: var(--ink); color: var(--cream); }
.statement-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 64px; align-items: end; padding-top: 120px; padding-bottom: 120px;
}
.statement h2 {
  font-size: clamp(30px, 4vw, 56px); font-weight: 700; line-height: 1.08;
  letter-spacing: 0.04em; text-transform: uppercase; max-width: 16ch;
}
.statement-right { display: flex; flex-direction: column; gap: 28px; max-width: 420px; }
.statement-right > p { font-size: 20px; line-height: 1.5; color: var(--line); }
.micro-list li {
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 0; border-top: 1px solid var(--line-on-ink);
}
.micro-list li:last-child { border-bottom: 1px solid var(--line-on-ink); }

/* Section headings */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 2px solid var(--ink); margin-bottom: 40px;
}
.features h2, .faq h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.1;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Features */
.features { padding-top: 120px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px 24px; }
.feature-grid article { display: flex; flex-direction: column; gap: 18px; }
.shot { transition: transform 0.4s ease; }
.shot:hover { transform: translateY(-6px); }
.feature-text { display: flex; flex-direction: column; gap: 8px; }
.feature-text h3 { font-size: 15px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.soon { color: var(--rust); margin-left: 8px; }

/* Testimonials */
.testimonials { padding-top: 120px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.quote { aspect-ratio: auto; padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; }

/* Privacy strip */
.privacy { padding-top: 120px; }
.privacy-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.privacy-grid > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.privacy-grid > div:first-child { padding-left: 0; }
.privacy-grid > div:last-child { padding-right: 0; }

/* FAQ */
.faq { padding-top: 120px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 80px; align-items: start; }
.faq dl > div { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq dl > div:last-child { border-bottom: 1px solid var(--line); }
.faq dd { font-size: 16px; line-height: 1.6; }
a.inline { text-decoration: underline; text-underline-offset: 3px; }

/* Closing */
.closing {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px;
  padding-top: 120px; padding-bottom: 120px;
}
.closing-card { width: 120px; }
.closing h2 {
  font-size: clamp(30px, 4vw, 56px); font-weight: 700; line-height: 1.05;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px;
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-inner nav a { color: var(--muted); }
.footer-inner nav a:hover { color: var(--rust); }

@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .rise { animation: none; }
  .piece, .shot { transition: none; }
}
@media (max-width: 480px) {
  .site-header .brand img { height: 44px; margin-left: -26px; }
  .btn-header span { display: none; }
  .btn-header { padding: 12px 14px; }
}
