/* ============================================================
   CACIE CUTRIGHT — Coming Soon Teaser
   Matches caciecutright.com design system:
   Fraunces + Plus Jakarta Sans · espresso / cream / blush / sage / gold
   ============================================================ */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-md: 0.875rem; --radius-lg: 1.25rem; --radius-xl: 2rem; --radius-full: 9999px;
  --transition: 260ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
}

:root, [data-theme='light'] {
  --color-bg: #fbf7f3;
  --color-surface: #ffffff;
  --color-surface-2: #fdf5f2;
  --color-border: #ecdcd4;
  --color-text: #3f342f;
  --color-text-muted: #8a7a72;
  --color-text-faint: #b9aaa2;
  --color-primary: #c98a94;
  --color-primary-hover: #b6737e;
  --color-primary-soft: #f6e4e6;
  --color-sage: #8ea587;
  --color-sage-soft: #e6ede1;
  --color-gold: #d9b779;
  --shadow-sm: 0 1px 3px rgba(120,90,80,.06);
  --shadow-md: 0 8px 28px rgba(120,90,80,.09);
  --shadow-lg: 0 20px 50px rgba(120,90,80,.14);
  --orb-blush: rgba(201,138,148,.30);
  --orb-sage: rgba(142,165,135,.28);
  --orb-gold: rgba(217,183,121,.26);
}

[data-theme='dark'] {
  --color-bg: #211b19;
  --color-surface: #2a2320;
  --color-surface-2: #2f2724;
  --color-border: #443832;
  --color-text: #ece2dc;
  --color-text-muted: #b0a099;
  --color-text-faint: #7d6f68;
  --color-primary: #dda6ac;
  --color-primary-hover: #e9bcc1;
  --color-primary-soft: #3d2e30;
  --color-sage: #a6bd9e;
  --color-sage-soft: #2e352a;
  --color-gold: #e3c58e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 8px 28px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
  --orb-blush: rgba(221,166,172,.16);
  --orb-sage: rgba(166,189,158,.14);
  --orb-gold: rgba(227,197,142,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ---- decorative orbs ---- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.orb--blush { width: 46vw; height: 46vw; background: var(--orb-blush); top: -12vw; right: -10vw; }
.orb--sage  { width: 38vw; height: 38vw; background: var(--orb-sage); bottom: -14vw; left: -8vw; }
.orb--gold  { width: 26vw; height: 26vw; background: var(--orb-gold); top: 40%; left: 42%; }

/* ---- topbar ---- */
.topbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-6) clamp(1.25rem, 5vw, 4rem);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-text); }
.brand-mark { flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }

.theme-toggle {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface);
  cursor: pointer; position: relative; transition: var(--transition); flex: none;
}
.theme-toggle::before {
  content: '☀'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1rem; color: var(--color-gold);
}
[data-theme='dark'] .theme-toggle::before { content: '☾'; color: var(--color-primary); }
.theme-toggle:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* ---- stage / teaser layout ---- */
.stage { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 4rem) clamp(1.25rem, 5vw, 4rem) var(--space-16); }
.teaser {
  width: 100%; max-width: 1160px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  display: inline-block; font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.teaser-title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.05;
  font-size: var(--text-3xl); letter-spacing: -.02em; color: var(--color-text);
  margin-bottom: var(--space-6);
}
.teaser-title em { font-style: italic; color: var(--color-primary); }
.lead { font-size: var(--text-lg); line-height: 1.6; color: var(--color-text-muted); max-width: 34ch; margin-bottom: var(--space-8); }

/* ---- notify form ---- */
.notify { margin-bottom: var(--space-8); }
.notify-row { display: flex; gap: var(--space-3); max-width: 460px; }
.notify input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: var(--text-base);
  padding: .85rem 1.1rem; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface);
  color: var(--color-text); transition: var(--transition);
}
.notify input::placeholder { color: var(--color-text-faint); }
.notify input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.notify-note { font-size: var(--text-sm); color: var(--color-text-faint); margin-top: var(--space-3); }
.notify-note.ok { color: var(--color-sage); font-weight: 600; }
.notify-note.err { color: var(--color-primary-hover); font-weight: 600; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 600;
  padding: .85rem 1.4rem; border-radius: var(--radius-full); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: var(--transition);
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { transition: transform var(--transition); }
.btn--primary:hover svg { transform: translateX(3px); }

/* ---- socials ---- */
.socials { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.socials-label { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.socials-icons { display: flex; gap: var(--space-3); }
.social {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text);
  transition: var(--transition);
}
.social:hover { color: #fff; background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- photo ---- */
.teaser-media { position: relative; }
.photo-frame { position: relative; border-radius: var(--radius-xl); width: 100%; max-width: 400px; margin-left: auto; aspect-ratio: 3 / 4; }
.photo-ph {
  border-radius: var(--radius-xl); border: 2px dashed var(--color-border);
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-primary-soft));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  color: var(--color-text-faint); text-align: center; padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}
.ph-portrait { aspect-ratio: 3 / 4; width: 100%; }
.photo-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.ph-title { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text-muted); }
.ph-spec { font-size: var(--text-sm); color: var(--color-text-faint); }
.photo-ph svg { color: var(--color-primary); opacity: .7; }
.photo-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--color-sage); color: #fff;
  font-family: var(--font-display); font-weight: 600; line-height: 1.05;
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); font-size: 1.3rem;
}
[data-theme='dark'] .photo-badge { color: #211b19; }

/* ---- footer ---- */
.foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: var(--space-3); flex-wrap: wrap;
  padding: var(--space-6) clamp(1.25rem, 5vw, 4rem);
  font-size: var(--text-sm); color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.foot a { color: var(--color-text-muted); text-decoration: none; }
.foot a:hover { color: var(--color-primary); }
.foot-dot { color: var(--color-text-faint); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
.teaser-media.reveal { transition-delay: .12s; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .teaser { grid-template-columns: 1fr; gap: var(--space-12); }
  .teaser-media { order: -1; max-width: 380px; margin: 0 auto; }
  .lead { max-width: none; }
  .photo-badge { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .notify-row { flex-direction: column; }
  .notify input, .notify .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
