/* Closetspace — shared styles for index.html and privacy.html */

html, body {
  margin: 0;
  padding: 0;
  background: #FAF7F2;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: Inter, system-ui, sans-serif;
  color: #141414;
}

a {
  color: inherit;
}

/* ---------- Reveal-on-scroll ---------- */

@keyframes csRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes csFadeLate {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-reveal] { opacity: 0; }
[data-reveal="on"] { animation: csRise 600ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; }
}

/* ---------- Image placeholders ---------- */
/* Stand-in for photos that haven't been shot/sourced yet. Swap the element
   for a real <img> (or set a background-image) and delete these styles
   once real photography is in place. */

.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EDE7F6, #F3EEE6);
  color: #8f8878;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  padding: 10px;
  box-sizing: border-box;
}

.image-slot span {
  max-width: 26ch;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px clamp(20px, 5vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FAF7F2;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.brand-name {
  font-family: Fraunces, serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: #FAF7F2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FAF7F2;
  text-decoration: none;
  border: 1px solid rgba(250, 247, 242, 0.5);
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(20, 20, 20, 0.15);
  transition: background 200ms ease;
}

.btn-ghost:hover {
  background: rgba(20, 20, 20, 0.35);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .image-slot,
.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 12, 10, 0.66) 0%, rgba(15, 12, 10, 0.20) 48%, rgba(15, 12, 10, 0.08) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(30px, 5vh, 64px);
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: Fraunces, serif;
  font-weight: 400;
  font-size: clamp(34px, 5.8vw, 72px);
  line-height: 1.06;
  margin: 0 0 24px;
  color: #FAF7F2;
  text-wrap: balance;
}

.hero-headline em {
  font-style: italic;
  color: #C9A9F5;
}

.hero-widgets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.weather-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.weather-chip {
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(250, 247, 242, 0.5);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(6px);
  user-select: none;
  color: #FAF7F2;
  background: rgba(20, 20, 20, 0.18);
  transition: background 250ms ease, color 250ms ease, transform 150ms ease;
}

.weather-chip:hover { transform: translateY(-2px); }
.weather-chip:active { transform: scale(0.92); }

.weather-chip.is-active {
  color: #141414;
  background: rgba(250, 247, 242, 0.95);
}

.weather-hint {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.75);
}

.hero-score-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-score-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #7C3AED;
  color: #FAF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

@keyframes csPop {
  from { transform: scale(0.55); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pop-in { animation: csPop 450ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }

.hero-score-title {
  font-size: 13px;
  font-weight: 600;
  color: #141414;
}

.hero-score-sub {
  font-size: 11px;
  color: #6b6560;
}

.hero-miss-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(8px);
  border-radius: 11px;
  padding: 8px 14px 8px 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  animation: csFadeLate 700ms ease-out 800ms both;
  transform-origin: left top;
}

.hero-miss-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7C3AED;
  flex-shrink: 0;
}

.hero-miss-title {
  font-size: 11px;
  font-weight: 600;
  color: #141414;
}

.hero-miss-sub {
  font-size: 10px;
  color: #6b6560;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  background: #141414;
  color: #FAF7F2;
  text-decoration: none;
  border-radius: 10px;
  padding: 9px 18px;
}

.store-button span {
  display: flex;
  flex-direction: column;
}

.store-button .store-eyebrow {
  font-size: 9px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.store-button .store-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Generic section layout ---------- */

.section {
  padding: clamp(100px, 16vh, 200px) clamp(20px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.section--tight {
  padding-top: clamp(100px, 15vh, 180px);
  padding-bottom: clamp(100px, 15vh, 180px);
}

.section-bg-warm { background: #F3EEE6; }
.section-bg-cream { background: #FAF7F2; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7C3AED;
}

.section-title {
  font-family: Fraunces, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.section-lede {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: #6b6560;
  max-width: 40ch;
}

/* ---------- Phone mockups ---------- */

.phone {
  background: #1B1620;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 90px rgba(27, 22, 32, 0.28);
}

.phone--small {
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 32px 70px rgba(27, 22, 32, 0.24);
}

.phone-screen {
  border-radius: 36px;
  background: #FBFAFD;
  overflow: hidden;
}

/* Check-in card (R2) */

.checkin-card { width: min(340px, 100%); }

.checkin-head {
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.checkin-head-left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkin-thumb {
  width: 52px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #EFE9F8;
}

.checkin-date {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-bottom: 4px;
}

.checkin-caption {
  font-size: 12px;
  font-weight: 500;
  color: #141414;
  line-height: 1.4;
  max-width: 130px;
}

.checkin-score {
  text-align: right;
}

.checkin-score-num {
  font-family: Fraunces, serif;
  font-size: 34px;
  line-height: 1;
  color: #7C3AED;
}

.checkin-score-label {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-top: 2px;
}

.checkin-body { padding: 16px 20px 0; }

.checkin-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #4A4551;
}

.checkin-dims { padding: 18px 20px 24px; }

.checkin-dims-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-bottom: 14px;
}

.dim-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dim-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #141414;
  margin-bottom: 7px;
}

.dim-row-label span { font-weight: 500; }

.dim-track {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: #EDE7F6;
}

.dim-fill {
  height: 100%;
  border-radius: 2px;
  background: #7C3AED;
}

.dim-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FBFAFD;
  border: 3px solid #7C3AED;
  box-sizing: border-box;
}

.dim-scale {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #B4ADC0;
  margin-top: 6px;
}

/* Today / home-screen mockup (R3) */

.today-card { width: min(300px, 100%); margin-top: 8px; }

.today-screen {
  border-radius: 33px;
  background: linear-gradient(180deg, #E9DEF9 0%, #F6F2FA 48%, #F2EEF6 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.today-top { padding: 16px 14px 0; }

.today-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.today-date {
  font-size: 9.5px;
  font-weight: 600;
  color: #55505E;
  margin-bottom: 1px;
}

.today-greeting {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #C026D3, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.today-avatars { display: flex; gap: 5px; }

.today-avatar {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EFE8F8;
}

.today-avatar-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D946EF;
}

.today-tabs {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  overflow: hidden;
}

.today-tab-now {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #A855F7, #8B2FE8);
  border-radius: 999px;
  padding: 5px 9px;
  flex-shrink: 0;
}

.today-tab-now span:first-child { font-size: 9px; font-weight: 700; color: #fff; }

.today-tab-now .tag-now {
  font-size: 6.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 1.5px 4px;
}

.today-tab {
  font-size: 9px;
  font-weight: 600;
  color: #3E3947;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  flex-shrink: 0;
}

.today-ai-card {
  background: #3A2F4E;
  border-radius: 16px;
  padding: 12px;
  margin-top: 12px;
}

.today-ai-weather {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 600;
  color: #EDE7F6;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3.5px 8px;
}

.today-ai-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 9px;
}

.today-ai-cards {
  display: flex;
  gap: 6px;
}

.today-ai-outfit {
  flex: 1;
  aspect-ratio: 3 / 4;
  background: #fff;
  border-radius: 10px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.today-ai-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.today-ask-now {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
}

.today-ask-now span {
  font-size: 10.5px;
  font-weight: 700;
  color: #23212B;
}

.today-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 9px;
}

.today-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D5CCE2;
}

.today-dot--active {
  width: 12px;
  border-radius: 999px;
  background: #A855F7;
}

.today-days {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.today-day {
  flex: 1;
  aspect-ratio: 1 / 2.1;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
  gap: 8px;
  background: #F6E3DA;
}

.today-day span {
  font-size: 7.5px;
  font-weight: 700;
  color: #B0736B;
}

.today-day-bar {
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: #D9A79C;
}

.today-day-photo {
  overflow: hidden;
  position: relative;
  background: #7C3AED;
  padding-top: 0;
}

.today-day-photo .image-slot { position: absolute; inset: 0; }

.today-day-score {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.today-day-empty {
  border-radius: 9px;
  border: 1.5px dashed #CFC6DD;
  justify-content: space-between;
  padding: 5px 0 12px;
  background: none;
}

.today-day-empty span { color: #8A8494; }

.today-day-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CFC6DD;
}

.today-streak {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.today-streak-flame {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #F97316, #FBBF24);
  border-radius: 999px;
  padding: 4px 9px;
}

.today-streak-flame span { font-size: 9px; font-weight: 800; color: #fff; }

.today-streak-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #EFE8F8;
  border-radius: 999px;
  padding: 4px 9px;
}

.today-streak-pill span { font-size: 9px; font-weight: 700; color: #3E3947; }

.today-journey {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #7C3AED;
}

.today-inspiration { margin-top: 14px; }

.today-inspiration-title { font-size: 15px; font-weight: 800; color: #23212B; }

.today-inspiration-sub { font-size: 9.5px; color: #6b6560; margin-top: 2px; }

.today-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  margin-top: 16px;
  position: relative;
}

.today-tabbar-home {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, #A855F7, #8B2FE8);
  border-radius: 999px;
  padding: 6px 11px;
}

.today-tabbar-home span { font-size: 9px; font-weight: 700; color: #fff; }

.today-tabbar-fab {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C026D3, #7C3AED);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -14px;
}

/* Getting-ready photo (R3) */

.getting-ready-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}

.getting-ready-photo .image-slot { position: absolute; inset: 0; }

/* ---------- Play stylist (closet toy) ---------- */

.closet {
  position: relative;
  width: min(430px, 100%);
  border-radius: 26px;
  overflow: hidden;
  background: #F3EEE6;
  box-shadow: 0 40px 90px rgba(27, 22, 32, 0.20);
}

.closet-inner { position: relative; padding: 24px 20px 22px; }

.closet-title {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A93A6;
  text-align: center;
  margin-bottom: 6px;
}

.closet-hint {
  font-size: 11px;
  color: #6b6560;
  text-align: center;
  margin-bottom: 14px;
}

.closet-hint strong {
  color: #7C3AED;
  font-weight: 600;
}

.closet-rack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #EDE7F6;
  border-radius: 16px;
  padding: 16px 10px 12px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.05);
  transition: box-shadow 500ms ease;
}

.closet-rack.is-glow {
  box-shadow: 0 0 0 3px #7C3AED, 0 18px 50px rgba(124, 58, 237, 0.25);
}

.closet-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toy-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7C3AED;
  font-size: 22px;
  line-height: 1;
  background: #F6F2FC;
  user-select: none;
  flex-shrink: 0;
  padding-bottom: 3px;
  border: none;
  transition: transform 150ms ease, background 150ms ease;
}

.toy-arrow:hover { transform: scale(1.1); background: #EFE7FA; }
.toy-arrow:active { transform: scale(0.88); }

.closet-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.garment-top { position: relative; width: 118px; height: 60px; }

.garment-top .sleeve {
  position: absolute;
  top: 3px;
  width: 24px;
  height: 38px;
  border-radius: 8px;
  transition: background 400ms ease;
}

.garment-top .sleeve--left { left: 0; }
.garment-top .sleeve--right { right: 0; }

.garment-top .torso {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  bottom: 0;
  border-radius: 10px 10px 12px 12px;
  transition: background 400ms ease;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.06);
}

.garment-top .collar {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 22px;
  height: 9px;
  border-radius: 0 0 999px 999px;
  background: #FFFFFF;
}

.garment-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.garment-bottom .waist {
  width: 59px;
  height: 9px;
  border-radius: 5px 5px 0 0;
  transition: background 400ms ease;
}

.garment-bottom .legs {
  display: flex;
  gap: 7px;
}

.garment-bottom .leg {
  width: 26px;
  height: 52px;
  border-radius: 0 0 9px 9px;
  transition: background 400ms ease;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.06);
}

.garment-shoes {
  display: flex;
  gap: 14px;
  padding: 6px 0 2px;
}

.garment-shoes .shoe {
  width: 40px;
  height: 16px;
  transition: background 400ms ease;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.08);
}

.garment-shoes .shoe--left { border-radius: 10px 12px 5px 5px; }
.garment-shoes .shoe--right { border-radius: 12px 10px 5px 5px; }

.closet-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #141414;
  text-align: center;
}

.closet-score-row {
  position: relative;
  margin-top: 12px;
  background: #FFFFFF;
  border: 1px solid #EDE7F6;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  min-height: 64px;
}

.closet-score-num {
  flex-shrink: 0;
  min-width: 76px;
  font-family: Fraunces, serif;
  font-size: 54px;
  line-height: 1;
  color: #141414;
  animation: csPop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.closet-score-num.is-high { color: #7C3AED; }

.closet-score-label {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-bottom: 4px;
}

.closet-score-verdict {
  font-size: 13px;
  line-height: 1.5;
  color: #4A4551;
}

.closet-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

@keyframes csBurst {
  from { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--rr)); opacity: 0; }
}

.confetti-piece {
  position: absolute;
  left: 52px;
  top: 32px;
  width: 7px;
  height: 10px;
  border-radius: 2px;
  animation: csBurst 850ms ease-out both;
}

.closet-doors {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}

.closet-door {
  pointer-events: auto;
  cursor: pointer;
  width: 50%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #EAE3D9 0px, #EAE3D9 16px, #E5DDD0 16px, #E5DDD0 18px);
  display: flex;
  align-items: center;
  border: none;
  padding: 0;
  transition: transform 1200ms cubic-bezier(0.76, 0, 0.24, 1);
}

.closet-door--left {
  border-right: 1px solid #D8CFC0;
  justify-content: flex-end;
  transform: translateX(0);
}

.closet-door--right {
  border-left: 1px solid #D8CFC0;
  justify-content: flex-start;
  transform: translateX(0);
}

.closet.is-open .closet-door--left { transform: translateX(-103%); }
.closet.is-open .closet-door--right { transform: translateX(103%); }

.closet-door-handle {
  width: 9px;
  height: 34px;
  border-radius: 5px;
  background: #B9AD9B;
}

.closet-door--left .closet-door-handle { margin-right: 10px; }
.closet-door--right .closet-door-handle { margin-left: 10px; }

/* ---------- Feature showcase (R5) ---------- */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-item {
  cursor: pointer;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  border: none;
  text-align: left;
  font: inherit;
  width: 100%;
  transition: background 350ms ease, box-shadow 350ms ease;
}

.feature-item.is-active {
  background: #FFFFFF;
  box-shadow: 0 14px 40px rgba(20, 20, 20, 0.08);
}

.feature-num {
  font-family: Fraunces, serif;
  font-size: 20px;
  line-height: 1.25;
  min-width: 30px;
  color: #C9BFD6;
  transition: color 350ms ease;
}

.feature-item.is-active .feature-num { color: #7C3AED; }

.feature-label {
  font-size: 15px;
  font-weight: 600;
  color: #141414;
}

.feature-caption {
  font-size: 13px;
  line-height: 1.5;
  color: #6b6560;
  margin-top: 3px;
}

.showcase-phone {
  width: min(320px, 100%);
}

.showcase-screen-frame {
  border-radius: 36px;
  background: #FBFAFD;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 18.5;
}

.showcase-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px;
}

.showcase-screen.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* S1 Snap */
.screen-snap {
  background: #17131C;
  padding: 22px 16px 18px;
}

.screen-snap-title {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.55);
  text-align: center;
  margin-bottom: 12px;
}

.screen-snap-frame {
  flex: 1;
  border-radius: 18px;
  border: 1.5px dashed rgba(250, 247, 242, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-snap-frame span {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.5);
}

@keyframes csScan {
  0%, 100% { top: 10%; }
  50% { top: 86%; }
}

.screen-snap-scanline {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 1px;
  background: #C9A9F5;
  box-shadow: 0 0 14px rgba(201, 169, 245, 0.9);
  animation: csScan 2.8s ease-in-out infinite;
}

.screen-snap-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  align-items: flex-start;
}

.screen-snap-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(250, 247, 242, 0.10);
  border: 1px solid rgba(250, 247, 242, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10.5px;
  color: #FAF7F2;
}

.screen-snap-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C9A9F5;
}

.screen-snap-shutter {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #FAF7F2;
  margin: 0 auto;
  flex-shrink: 0;
}

/* S2 Closet grid */
.screen-closet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.screen-closet-title {
  font-family: Fraunces, serif;
  font-size: 19px;
  color: #141414;
}

.screen-closet-count {
  font-size: 10px;
  color: #9A93A6;
}

.screen-closet-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.screen-closet-tab {
  font-size: 10px;
  color: #6b6560;
  background: #F1EDF7;
  border-radius: 999px;
  padding: 5px 12px;
}

.screen-closet-tab--active {
  font-weight: 600;
  color: #FAF7F2;
  background: #7C3AED;
}

.screen-closet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.screen-closet-grid div {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

.screen-closet-footer {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  color: #9A93A6;
}

/* S3 Check-in */
.screen-checkin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.screen-checkin-date {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-bottom: 5px;
}

.screen-checkin-caption {
  font-family: Fraunces, serif;
  font-size: 17px;
  color: #141414;
  max-width: 150px;
  line-height: 1.25;
}

.screen-checkin-score {
  text-align: right;
}

.screen-checkin-score-num {
  font-family: Fraunces, serif;
  font-size: 40px;
  line-height: 1;
  color: #7C3AED;
}

.screen-checkin-score-label {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-top: 2px;
}

.screen-checkin p {
  margin: 0 0 18px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #4A4551;
}

/* S4 Today (mini) */
.screen-today {
  background: linear-gradient(180deg, #E9DEF9 0%, #F6F2FA 48%, #F2EEF6 100%);
  padding: 18px 14px 14px;
}

/* S5 Shop the gap */
.screen-shop-eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A93A6;
  margin-bottom: 5px;
}

.screen-shop-title {
  font-family: Fraunces, serif;
  font-size: 19px;
  color: #141414;
  margin-bottom: 16px;
}

.screen-shop-card {
  background: #FFFFFF;
  border: 1px solid #EDE7F6;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}

.screen-shop-card-image {
  height: 110px;
  border-radius: 11px;
  background: #D2A96F;
  margin-bottom: 12px;
}

.screen-shop-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #141414;
  margin-bottom: 3px;
}

.screen-shop-card-caption {
  font-size: 11px;
  line-height: 1.5;
  color: #6b6560;
}

.screen-shop-thumbs {
  display: flex;
  gap: 8px;
}

.screen-shop-thumbs div {
  flex: 1;
  height: 54px;
  border-radius: 10px;
  background: #F1EDF7;
}

.screen-shop-cta {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #7C3AED;
  border: 1.5px solid #7C3AED;
  border-radius: 999px;
  padding: 11px;
}

/* S6 Ask */
.screen-ask-title {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A93A6;
  text-align: center;
  margin-bottom: 18px;
}

.screen-ask-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-bubble {
  max-width: 82%;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 13px;
  font-size: 11.5px;
  line-height: 1.5;
  align-self: flex-end;
  background: #7C3AED;
  color: #FAF7F2;
}

.ask-bubble--reply {
  max-width: 85%;
  align-self: flex-start;
  background: #F1EDF7;
  color: #4A4551;
  border-radius: 14px 14px 14px 4px;
  line-height: 1.55;
}

.screen-ask-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5DEF0;
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
}

.screen-ask-input span {
  flex: 1;
  font-size: 11px;
  color: #9A93A6;
}

.screen-ask-input-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #7C3AED;
  flex-shrink: 0;
}

/* ---------- Whats coming teaser ---------- */

.teaser {
  padding: 26px clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.teaser-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #141414;
  flex-shrink: 0;
}

.teaser-list {
  font-size: 13px;
  color: #4a4551;
  line-height: 1.6;
}

/* ---------- Founder + invitation ---------- */

.founder-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: clamp(70px, 10vh, 120px);
  padding: clamp(100px, 15vh, 180px) clamp(20px, 5vw, 64px) 0;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.founder-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #E9E2D8;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-quote {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4551;
  font-style: italic;
}

.founder-byline {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a938a;
}

.invite {
  padding: 0 clamp(20px, 5vw, 64px) 56px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 38px;
}

.invite-title {
  font-family: Fraunces, serif;
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

.invite-title em {
  font-style: italic;
  color: #7C3AED;
}

.footer {
  width: 100%;
  border-top: 1px solid #E5DED2;
  padding-top: 26px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #9a938a;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer a {
  color: #9a938a;
  text-decoration: none;
}

/* ---------- Privacy policy page ---------- */

.policy-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid #EDE6DA;
}

.policy-nav .brand { color: #141414; }
.policy-nav .brand img { box-shadow: none; }
.policy-nav .brand-name { color: #141414; text-shadow: none; }

.policy-nav .btn-outline {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #141414;
  text-decoration: none;
  border: 1px solid #D8CFC0;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 200ms ease;
}

.policy-nav .btn-outline:hover { background: #F3EEE6; }

.policy-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) clamp(20px, 5vw, 64px) 80px;
}

.policy-date {
  font-size: 13px;
  color: #9a938a;
  margin-bottom: 8px;
}

.policy-intro {
  margin: 0 0 48px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a4551;
}

.policy-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy-sections h2 {
  font-family: Fraunces, serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 12px;
}

.policy-sections p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a4551;
}

.policy-sections p:last-child { margin-bottom: 0; }

.policy-sections ul {
  margin: 0 0 10px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.9;
  color: #4a4551;
}

.policy-sections a {
  color: #7C3AED;
}

.policy-sections a:hover {
  color: #5B21B6;
}

.policy-footer {
  border-top: 1px solid #E5DED2;
  margin-top: 64px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #9a938a;
}

.policy-footer a {
  color: #9a938a;
  text-decoration: none;
}
