/* Layout: navy hero band with the playbook mockup, cream body sections, navy closing band. Fonts and palette match the FemmeWords site (Halimun script, Montserrat, navy/pink/orange). */
@font-face {
  font-family: "Halimun";
  src: url("assets/fonts/Halimun.otf") format("opentype");
  font-display: swap;
}

:root {
  --navy: #203360;
  --navy-deep: #16244a;
  --pink: #fc0788;
  --pink-deep: #b60953;
  --orange: #f77f3e;
  --grad: linear-gradient(115deg, var(--orange) 0%, var(--pink) 52%, var(--pink-deep) 100%);

  --bg: #fffaf8;
  --bg-alt: #f9f3f2;
  --surface: #ffffff;
  --fg: #1d2540;
  --muted: #5a6280;
  --line: #ece4e2;
  --accent-text: #b60953;
  --tab-fg: #203360;

  --band-bg: #16244a;
  --band-fg: #ffffff;
  --band-muted: #c3cae6;
  --band-line: rgba(255, 255, 255, .16);
  --field-bg: #ffffff;
  --field-fg: #1d2540;
  --ok: #7de3b0;
  --warn: #ffb48a;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Halimun", "Brush Script MT", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16244a; --bg-alt: #1b2b57; --surface: #203360; --fg: #f6f1f3; --muted: #b8c0df; --line: #33467f;
    --accent-text: #ff6db3; --tab-fg: #f6f1f3; --band-bg: #0f1a3a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16244a; --bg-alt: #1b2b57; --surface: #203360; --fg: #f6f1f3; --muted: #b8c0df; --line: #33467f;
  --accent-text: #ff6db3; --tab-fg: #f6f1f3; --band-bg: #0f1a3a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner { max-width: 1160px; margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--band-muted); margin: 0 0 18px; }
.eyebrow--ink { color: var(--accent-text); }

/* Halimun script accents. Padding gives the swashes room so the gradient clip does not cut them off. */
.script {
  font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; display: inline-block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .3em .45em .35em .35em; margin: -.3em -.45em -.35em -.35em; line-height: 1.1; overflow: visible;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Full-bleed bands: body padding is the gutter, so bands extend with negative margins */
.band, .statement, .redline-sec, .syllabus, .about {
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
.band { background: var(--band-bg); color: var(--band-fg); }

/* Buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none;
  padding: 1em 1.7em; border-radius: 999px; font: 700 .95rem/1 var(--sans); letter-spacing: .02em; color: #fff;
  background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  transition: background-position .3s ease, transform .15s ease;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.btn--ghost { background: none; color: var(--fg); border: 2px solid var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: none; }

.optin { max-width: 540px; }
.optin__row { display: flex; gap: 10px; flex-wrap: wrap; }
.optin input[type="email"] {
  flex: 1 1 250px; min-width: 0; font: 500 1rem var(--sans); color: var(--field-fg); background: var(--field-bg);
  border: 2px solid transparent; border-radius: 999px; padding: 1em 1.4em;
}
.optin input[type="email"]::placeholder { color: #6b7396; }
.optin input[type="email"]:focus-visible { border-color: var(--orange); outline-offset: 2px; }
.status { min-height: 1.5em; margin: 12px 0 0; font-size: .95rem; }
.status.err { color: var(--warn); }
.fine { margin: 6px 0 0; font-size: .85rem; color: var(--band-muted); }
.success { border: 1px solid var(--pink); border-radius: 18px; padding: 20px 24px; background: rgba(255, 255, 255, .06); }
.success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.success p { margin: 0; color: var(--band-muted); }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; display: grid; justify-items: start; line-height: 1; }
.h1__the { font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: .08em; }
.h1__main { font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: .98; }
.hero h1 .script { font-size: clamp(3rem, 7.4vw, 6.2rem); }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.5; max-width: 30em; margin: 24px 0 32px; color: var(--band-fg); }
.lede strong { font-weight: 700; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 7, 136, .5), rgba(247, 127, 62, .16) 60%, transparent 100%); filter: blur(30px);
}
.hero__art img { position: relative; width: min(100%, 400px); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.proof { list-style: none; margin: clamp(48px, 7vw, 88px) auto 0; padding: 26px 0 30px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; gap: 10px 40px; font-size: .95rem; color: var(--band-muted); }
.proof b { color: var(--band-fg); font-weight: 700; }

/* Statement */
.statement { padding-block: clamp(64px, 10vw, 128px); }
.statement h2 { font-size: clamp(2rem, 5.6vw, 4.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1; max-width: 14em; }
.statement p { max-width: 36em; margin: 28px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* Shared section head */
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head h2, .syllabus__head h2, .about h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.01em; }
.sec-head h2 .script, .syllabus__head h2 .script { font-size: 1.25em; }
.sec-head > p:last-child { color: var(--muted); font-size: 1.1rem; margin: 18px 0 0; }

/* Redline */
.redline-sec { background: var(--bg-alt); padding-block: clamp(56px, 8vw, 104px); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
  font: 600 .95rem var(--sans); cursor: pointer; color: var(--tab-fg); background: transparent;
  border: 2px solid var(--line); border-radius: 999px; padding: .65em 1.3em;
}
.tab:hover { border-color: var(--pink); }
.tab[aria-selected="true"] { color: #fff; background: var(--grad); border-color: transparent; }
.redline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; min-width: 0; box-shadow: 0 18px 50px -28px rgba(32, 51, 96, .4); }
.tag { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pane--before .tag { color: var(--muted); }
.pane--after { border: 2px solid var(--pink); }
.pane--after .tag { color: var(--accent-text); }
.copy { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.3; font-weight: 600; }
.pane--before .copy { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.why { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .95rem; color: var(--muted); }
.note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }

/* Syllabus */
.syllabus { padding-block: clamp(56px, 8vw, 104px); }
.syllabus__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.syllabus__head { position: sticky; top: 32px; display: grid; gap: 22px; justify-items: start; }
.syllabus__head .eyebrow { margin: 0; }
.days { list-style: none; margin: 0; padding: 0; }
.days li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); align-items: start; }
.days li:first-child { border-top: 0; padding-top: 0; }
.days__n { font-size: 4rem; font-weight: 800; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.days h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.days p { margin: 8px 0 0; color: var(--muted); max-width: 34em; }

/* About */
.about { background: var(--bg-alt); padding-block: clamp(56px, 8vw, 104px); }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { position: relative; max-width: 440px; width: 100%; }
.about__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 999px 999px 28px 28px; background: var(--grad); opacity: .85; }
.about__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 28px 28px; background: var(--pink); }
.about h2 { margin-bottom: 10px; }
.about__role { color: var(--accent-text); font-weight: 600; margin-bottom: 1.4em; }
.about__lede { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 700; line-height: 1.3; }
.about__copy p { max-width: 36em; }
.about__facts { list-style: none; margin: 1.6em 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; color: var(--muted); }
.about__facts b { color: var(--fg); }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }

/* Final */
.final { padding-block: clamp(64px, 9vw, 112px); }
.final__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
.final h2 .script { font-size: 1.3em; margin-left: -.05em; }
.final .lede { margin: 20px 0 0; color: var(--band-muted); }

.foot { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 22px max(16px, env(safe-area-inset-left, 0px)) 28px; background: var(--band-bg); color: var(--band-muted); font-size: .85rem; border-top: 1px solid var(--band-line); }

@media (max-width: 860px) {
  .hero__grid, .final__grid, .about__grid, .syllabus__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; }
  .hero__art img { width: min(70%, 300px); }
  .redline { grid-template-columns: minmax(0, 1fr); }
  .syllabus__head { position: static; }
  .about__photo { max-width: 340px; margin-inline: 8px 22px; }
  .days li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .days__n { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__art img { animation: none; }
  .btn { transition: none; }
}
