/* fitjennie — one stylesheet for the whole site.
   Colors (all checked for WCAG AA on the backgrounds they sit on):
   cherry #b3122e on bg 6.5:1 · on blush 5.7:1 · white on cherry 6.9:1
   muted  #6b4f58 on bg 6.9:1 · ink on pink 12:1 */
:root {
  --bg: #fff6f7;
  --surface: #ffffff;
  --blush: #fbe3e8;
  --pink: #f4c6d0;
  --cherry: #b3122e;
  --cherry-dark: #8c0c22;
  --ink: #1a1215;
  --muted: #6b4f58;
  --line: #f0d3da;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(90, 20, 40, .06), 0 8px 24px rgba(90, 20, 40, .07);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cherry); text-underline-offset: .18em; }
a:hover { color: var(--cherry-dark); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h1 em, h2 em { color: var(--cherry); font-style: italic; }
ul, ol { margin: 0; padding-left: 1.2em; }

/* Keyboard focus: always visible, never removed */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.narrow { max-width: 560px; }
.reading { max-width: 720px; }
main { display: block; }
.section { padding-block: 44px; }
.section + .section { padding-top: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font: 600 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); }
.lede { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* Header */
.site-header { padding-block: 14px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wordmark { font: italic 600 1.45rem/1 var(--display); color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--cherry); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 99px; }
.nav a:hover { background: var(--blush); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px; border-radius: 99px; border: 2px solid var(--cherry);
  background: var(--cherry); color: #fff; font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--cherry-dark); border-color: var(--cherry-dark); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--cherry); }
.btn-ghost:hover { background: var(--blush); color: var(--cherry-dark); border-color: var(--cherry-dark); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-blush { background: var(--blush); border-color: var(--pink); box-shadow: none; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark .muted, .card-dark .lede { color: #e9d6db; }
.card-dark .eyebrow { color: var(--pink); }
.tag { display: inline-block; align-self: flex-start; font: 600 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--pink); color: var(--ink); }
.card-dark .tag { background: var(--cherry); color: #fff; }

/* Image slots — drop a photo with the named file into assets/img/ and it appears.
   Until then, the slot shows its suggested filename. */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm);
  background: repeating-linear-gradient(135deg, var(--blush) 0 14px, #f9dbe2 14px 28px);
  display: grid; place-items: center; aspect-ratio: 4 / 5;
}
.ph::after {
  content: "photo: " attr(data-file); font: 500 .74rem/1.3 var(--body); color: var(--muted);
  background: rgba(255, 255, 255, .85); padding: 5px 9px; border-radius: 99px; margin: 10px; text-align: center;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph.square { aspect-ratio: 1; }
.ph.wide { aspect-ratio: 16 / 10; }
.ph.round { border-radius: 50%; aspect-ratio: 1; }
.ph.round::after { content: attr(data-file); font-size: .64rem; }

/* Link-in-bio home */
.bio { padding-top: 12px; padding-bottom: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bio .avatar { width: 116px; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--pink); }
.bio h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
.bio .handle { font-weight: 600; color: var(--cherry); }
.bio .tagline { font: italic 500 1.15rem/1.3 var(--display); }
.links { display: flex; flex-direction: column; gap: 14px; }
.link-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
}
.link-row:hover { border-color: var(--cherry); color: var(--ink); }
.link-row .icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; color: var(--cherry); }
.link-row .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-row .txt b { font-weight: 600; }
.link-row .txt small { color: var(--muted); font-size: .86rem; }
.link-row .arrow { color: var(--cherry); flex: none; }
.code-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code {
  font: 700 1rem/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .08em;
  background: var(--blush); border: 1.5px dashed var(--cherry); color: var(--ink); padding: 8px 12px; border-radius: 10px;
}
.copy-btn { font: 600 .86rem/1 var(--body); background: var(--ink); color: #fff; border: 0; border-radius: 99px; padding: 10px 14px; cursor: pointer; min-height: 40px; }
.copy-btn:hover { background: #000; }
.socials { display: flex; justify-content: center; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.socials a:hover { color: var(--cherry); border-color: var(--cherry); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.content-grid a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 500; line-height: 1.3; }
.content-grid a:hover span { text-decoration: underline; }
.content-grid .ph { aspect-ratio: 9 / 16; }
.content-grid .ph::after { content: attr(data-file); font-size: .62rem; }
.disclose { font-size: .82rem; color: var(--muted); text-align: center; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
input[type="email"], input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 16px; font: 400 1rem/1.3 var(--body); color: var(--ink);
  background: var(--surface); border: 2px solid #c9a3ad; border-radius: 14px;
}
input::placeholder { color: #8a6e77; }
input:focus-visible { border-color: var(--ink); }
.card-dark input { border-color: #fff; }
.form-note { font-size: .82rem; color: var(--muted); }
.card-dark .form-note, .card-dark .form-note a { color: #e9d6db; }
.form-msg { font-size: .92rem; font-weight: 500; padding: 10px 14px; border-radius: 12px; background: var(--blush); color: var(--ink); }
.form-msg[hidden] { display: none; }
.kit-slot:empty { display: none; }

/* Hero (inner pages) */
.hero { display: grid; gap: 28px; align-items: center; padding-block: 28px 44px; }
@media (min-width: 820px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 48px; padding-block: 56px 64px; } }
.hero .ph { max-width: 440px; width: 100%; justify-self: center; }

/* Grids & lists */
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cherry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.card-dark .checks li::before { background-color: var(--pink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1215' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.num { font: italic 600 2rem/1 var(--display); color: var(--cherry); }

/* Price */
.price { font: 600 3rem/1 var(--display); }
.price small { font: 500 1rem/1 var(--body); color: var(--muted); }
.card-dark .price small { color: #e9d6db; }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; font: italic 500 1.08rem/1.5 var(--display); }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.needed { outline: 2px dashed var(--cherry); outline-offset: -8px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--body); color: var(--cherry); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 18px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }

/* Placeholder marker for things Jennie/Justin must fill in */
.todo { background: #fff3c4; color: #4a3b00; border: 1px dashed #b08a00; border-radius: 10px; padding: 10px 14px; font-size: .88rem; }

/* Legal pages */
.legal { padding-block: 32px 56px; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 16px; }
.legal .stack > p, .legal li { max-width: 68ch; }
.legal ul { display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.site-footer { margin-top: 40px; padding-block: 32px 40px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cherry); }

/* Screen sizes
   phones (< 700px): one column, link-in-bio style (the default above)
   tablets (700px+): wider home column, offer cards side by side, top menu shows
   laptops (1024px+): home becomes two columns with a pinned profile on the left
   big monitors (1440px+ / 1800px+): wider pages and slightly larger type */
.offers { display: flex; flex-direction: column; gap: 28px; }
.home-nav, .socials-desktop { display: none; }

@media (min-width: 700px) {
  .home-nav { display: block; }
  .home.narrow { max-width: 760px; }
  .offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
  .links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .links > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .content-grid { gap: 16px; }
  .content-grid a { font-size: .92rem; }
}

@media (min-width: 1024px) {
  .home.narrow {
    max-width: 1200px; display: grid; grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 56px; align-items: start; padding-block: 24px 16px;
  }
  .home .bio {
    position: sticky; top: 24px; padding: 8px 0 0; text-align: left; align-items: flex-start; gap: 14px;
  }
  .home .bio .avatar { width: 168px; }
  .home .bio h1 { font-size: 2.8rem; }
  .home .socials-desktop { display: flex; justify-content: flex-start; margin-top: 4px; }
  .home .socials-mobile { display: none; }
  .home .stack-lg { gap: 40px; padding-top: 8px; }
  .home h2.center { text-align: left; }
  .home .disclose { text-align: left; }
  .wrap { max-width: 1200px; }
  .hero .ph { max-width: 500px; }
}

@media (min-width: 1440px) {
  body { font-size: 18px; }
  .wrap, .home.narrow { max-width: 1320px; }
  .home.narrow { grid-template-columns: 360px 1fr; gap: 72px; }
  .home .bio .avatar { width: 192px; }
  h1 { font-size: 3.8rem; }
  .hero .ph { max-width: 560px; }
}

@media (min-width: 1800px) {
  .wrap, .home.narrow { max-width: 1480px; }
  .content-grid { gap: 24px; }
}

/* Toast for placeholder links */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20;
  max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: .92rem;
}
.toast[hidden] { display: none; }

/* ===== Nov 13 polish ===== */

/* Mock preview ribbon + stand-in photo badges (added by site.js while MOCK = true) */
.mock-ribbon {
  position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff3c4; color: #4a3b00; border-bottom: 1px dashed #b08a00;
  font: 600 .78rem/1.3 var(--body); padding: 7px 16px; text-align: center; letter-spacing: .02em;
}
.mock-ribbon b { background: #4a3b00; color: #fff3c4; padding: 2px 8px; border-radius: 99px; font-weight: 700; letter-spacing: .08em; }
.ph[data-stand-in]::before {
  content: "mock pick · Jennie to confirm"; position: absolute; left: 8px; top: 8px; z-index: 2;
  font: 600 .64rem/1.2 var(--body); letter-spacing: .02em; color: #4a3b00; background: #fff3c4;
  border: 1px dashed #b08a00; padding: 4px 8px; border-radius: 99px; max-width: calc(100% - 16px);
}
.content-grid .ph[data-stand-in]::before { content: "mock pick"; }
.ph.round[data-stand-in]::before { display: none; }

/* Home: the promise in three chips, and a proof strip */
.promise { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.promise li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font-size: .86rem; font-weight: 500; }
.promise li svg { color: var(--cherry); flex: none; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.proof div { background: var(--blush); border-radius: var(--radius-sm); padding: 12px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.proof b { font: 600 1.35rem/1.1 var(--display); color: var(--ink); }
.proof span { font-size: .74rem; color: var(--muted); line-height: 1.25; }
@media (min-width: 1024px) {
  .home .promise { justify-content: flex-start; }
}

/* Program: 4 phases as a timeline */
.phases { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: ph; }
.phases li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px 16px 64px; box-shadow: var(--shadow); }
.phases li::before {
  counter-increment: ph; content: counter(ph); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cherry); color: #fff; display: grid; place-items: center; font: italic 600 1.05rem/1 var(--display);
}
.phases b { display: block; font-weight: 700; }
.phases .wk { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cherry); }
.phases p { color: var(--muted); font-size: .94rem; margin-top: 4px; }
@media (min-width: 820px) { .phases { grid-template-columns: repeat(4, 1fr); } .phases li { padding: 64px 18px 18px; } }

/* Program: a real day from week 1 */
.day { padding: 0; overflow: hidden; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 18px 20px; background: var(--ink); color: #fff; }
.day-head h3 { color: #fff; }
.day-head span { font-size: .86rem; color: #e9d6db; }
.day ol { list-style: none; padding: 0; margin: 0; }
.day li { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 14px 20px; border-top: 1px solid var(--line); }
.day li:first-child { border-top: 0; }
.day .n { font: italic 600 1.1rem/1 var(--display); color: var(--cherry); }
.day .ex { font-weight: 600; }
.day .sr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.day .cue { grid-column: 2 / -1; font-size: .88rem; color: var(--muted); }
.day-foot { padding: 14px 20px; background: var(--blush); font-size: .88rem; color: var(--muted); }

/* Program: CSS-made cover, so the buy section needs no mockup photo */
.cover-mock {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; max-width: 440px; width: 100%; justify-self: center;
  background: radial-gradient(120% 80% at 80% 0%, #e0405c 0%, var(--cherry) 45%, var(--cherry-dark) 100%);
  color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 50px rgba(140, 12, 34, .28);
}
.cover-mock::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .1); }
.cover-mock small { font: 600 .74rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.cover-mock h3 { font: 600 clamp(2.2rem, 9vw, 3rem)/1 var(--display); color: #fff; }
.cover-mock h3 em { font-style: italic; color: var(--pink); }
.cover-mock ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; position: relative; z-index: 1; }
.cover-mock li::before { content: "♡ "; color: var(--pink); }
.cover-mock .by { font-size: .86rem; color: #ffd9e0; }

/* Collabs */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { background: var(--surface); border: 1px solid var(--pink); border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: .92rem; }
.chips span.star { background: var(--ink); color: #fff; border-color: var(--ink); }
.mail-big { font: 600 clamp(1.15rem, 5.4vw, 1.6rem)/1.2 var(--body); color: #fff; word-break: break-all; text-decoration: none; }
.mail-big:hover { color: var(--pink); }
.hit { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.hit .ph { aspect-ratio: 1; border-radius: 12px; }
.hit b { font: 600 1.5rem/1 var(--display); color: var(--cherry); display: block; }
.hit p { font-size: .9rem; color: var(--muted); }
.hit .ph[data-stand-in]::before { content: "mock pick"; left: 4px; top: 4px; padding: 2px 6px; }
.hit .ph::after { content: none; }
.card-dark .checks li { color: #fff; }
