/* ============================================================
   SOPHIE — sophiecurious.com landing
   Warm, natural-light, 35mm feel. SFW public page + 18+ gate.
   Palette: warm cream + coffee neutral, one warm accent.
   ============================================================ */

:root {
  --cream: #f4e9dd;          /* page ground */
  --cream-2: #eadcc9;        /* band ground */
  --ink: #211d19;            /* text */
  --ink-soft: #5a4f44;       /* secondary text */
  --accent: #c96f4a;         /* warm terracotta — clubsophie CTA */
  --accent-ink: #fff;
  --line: rgba(33, 29, 25, 0.14);
  --shadow: 0 18px 50px rgba(33, 29, 25, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,111,74,0.10), transparent 60%),
    var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px);
  background: rgba(244, 233, 221, 0.82); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.nav-brand { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.02em; }
.nav-brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 8px 15px; font-size: 0.9rem; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-block; border: none; cursor: pointer; border-radius: 999px;
  padding: 13px 26px; font-family: var(--sans); font-size: 0.98rem; font-weight: 600;
  text-decoration: none; text-align: center; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(33,29,25,0.24); }
.btn-club { background: var(--accent); color: var(--accent-ink); }
.btn-club:hover { box-shadow: 0 10px 22px rgba(201,111,74,0.34); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.btn-xl { padding: 16px 34px; font-size: 1.05rem; }
.muted { opacity: 0.62; font-weight: 400; }
.fine { font-size: 0.8rem; }

/* ---------- HERO ---------- */
.hero { max-width: 1080px; margin: 0 auto; padding: 74px 22px 58px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem;
  color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.98; letter-spacing: -0.01em; margin-bottom: 10px; }
.tagline { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: 18px; }
.hero-sub { color: var(--ink-soft); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-figure { text-align: center; }
.hero-image-slot { aspect-ratio: 3 / 4; width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: 20px; background: linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; }
.hero-image-slot img, .hero-image-slot picture img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.slot-label { color: var(--ink-soft); opacity: 0.6; font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.hero-figure figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- WHO ---------- */
.who { background: rgba(255,255,255,0.5); border-block: 1px solid var(--line); }
.who-inner { max-width: 1080px; margin: 0 auto; padding: 72px 22px; }
.who h2, .socials h2, .club h2 { font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 2.8rem); margin-bottom: 6px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 34px; }
.who-card { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.who-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; margin-bottom: 10px; }
.who-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- BIO ---------- */
.bio-inner { max-width: 1080px; margin: 0 auto; padding: 64px 22px; }
.bio-band { background: var(--cream-2); border-radius: 22px; padding: 42px; }
.bio-quote { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); font-style: italic;
  line-height: 1.35; margin-bottom: 26px; }
.bio-facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bio-facts li { color: var(--ink-soft); font-size: 0.96rem; padding-left: 18px; position: relative; }
.bio-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); }

/* ---------- SOCIALS ---------- */
.socials-inner { max-width: 1080px; margin: 0 auto; padding: 56px 22px 72px; text-align: center; }
.socials-lead { color: var(--ink-soft); margin-bottom: 26px; }
.socials-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social.chip { text-decoration: none; padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.55); font-weight: 600;
  color: var(--ink); transition: .12s ease; }
.social.chip:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.social.chip[data-status="pending"] { opacity: 0.5; }

/* ---------- CLUB ---------- */
.club { background: var(--ink); color: var(--cream); }
.club-inner { max-width: 1080px; margin: 0 auto; padding: 80px 22px; text-align: center; }
.club .eyebrow { color: #e29a76; }
.club p { max-width: 34em; margin: 0 auto 26px; color: rgba(244,233,221,0.85); }
.club .btn-club { background: var(--accent); color: var(--accent-ink); }
.club .fine { color: rgba(244,233,221,0.55); margin-top: 18px; }

/* ---------- FOOTER ---------- */
.foot { background: #1a1713; color: rgba(244,233,221,0.7); text-align: center;
  padding: 44px 22px; font-size: 0.92rem; }
.foot a { color: var(--cream); }
.foot .muted { color: rgba(244,233,221,0.5); }
.foot .fine { color: rgba(244,233,221,0.4); margin-top: 8px; }

/* ---------- 18+ GATE ---------- */
.gate { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(26,23,19,0.78); backdrop-filter: blur(6px); }
.gate[hidden] { display: none; }
.gate-panel { background: var(--cream); color: var(--ink); max-width: 480px; width: 100%;
  border-radius: 20px; padding: 38px; box-shadow: var(--shadow); text-align: center; }
.gate-panel h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 12px; }
.gate-panel p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 22px; }
.gate-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.gate .fine { color: var(--ink-soft); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 34px; }
  .hero-image-slot { max-width: 300px; }
  .nav-links .nav-cta { display: none; }
  .bio-band { padding: 28px; }
  .gate-panel { padding: 30px 24px; }
}

/* SM 10-10: hidden attribute must win over .btn/.chip display rules */
[hidden] { display: none !important; }
.hero-image-slot.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.hero-image-slot.has-image { border: 0 !important; background: none !important; }

/* SM 10-10: moments as small photo + text rows, spread between sections */
.moments-inner { max-width: 820px; margin: 0 auto; padding: 36px 22px; display: flex; flex-direction: column; gap: 36px; }
.moment-row { display: flex; align-items: center; gap: 28px; }
.moment-row.flip { flex-direction: row-reverse; text-align: right; }
.moment-row img { width: 170px; flex: 0 0 170px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: block; }
.moment-text h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin-bottom: 6px; }
.moment-text p { color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 760px) {
  .moment-row, .moment-row.flip { gap: 16px; }
  .moment-row img { width: 110px; flex-basis: 110px; }
  .moment-text h3 { font-size: 1.15rem; }
  .moment-text p { font-size: .92rem; }
}
