/* ============================================================
   Leyla Fıratlı — "Indigo & rose" design system
   One shared stylesheet. Warm, soft, breath-like.
   ============================================================ */

:root {
  /* Palette */
  --indigo:      #23285E;
  --indigo-soft: #343A7A;
  --ecru:        #EFE7DA;
  --ecru-deep:   #E4D9C6;
  --rose:        #E5A3AE;
  --rose-light:  #EDB9C2;
  --rose-wash:   #F5E1E3;
  --periwinkle:  #6E7BC4; /* decorative only — never read as text */

  --shadow-card: 0 12px 32px rgba(35, 40, 94, 0.12);
  --shadow-drop: 0 16px 40px rgba(35, 40, 94, 0.16);

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1320px;
  --maxw-narrow: 720px;
  --radius-card: 24px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-pad: clamp(64px, 10vw, 128px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ecru);
  color: var(--indigo);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 70, "WONK" 0;
  line-height: 1.15;
  color: var(--indigo);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; max-width: var(--maxw-narrow); }
a { color: var(--indigo); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--indigo-soft); }
strong { font-weight: 600; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-pad); position: relative; }
.section-tight { padding-block: clamp(2rem, 6vw, 4rem); position: relative; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body); font-weight: 500;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); margin: 0 0 1rem;
}
.lede { font-size: clamp(1.12rem, 2.2vw, 1.4rem); line-height: 1.5; }
.credentials { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; color: var(--indigo); opacity: 0.85; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--indigo); color: var(--ecru); padding: 0.75rem 1.25rem;
  font-family: var(--font-body); font-weight: 500; z-index: 100; border-radius: 999px;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.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;
}

/* ---------- Background contexts ---------- */
.bg-ecru      { background: var(--ecru);      color: var(--indigo); }
.bg-ecru-deep { background: var(--ecru-deep);  color: var(--indigo); }
.bg-indigo, .band-plum { background: var(--indigo); color: var(--ecru); }
.bg-rose      { background: var(--rose);       color: var(--indigo); }

.bg-indigo h1, .bg-indigo h2, .bg-indigo h3, .bg-indigo h4,
.band-plum h1, .band-plum h2, .band-plum h3, .on-plum h1, .on-plum h2, .on-plum h3 { color: var(--ecru); }
.bg-indigo p, .band-plum p, .on-plum, .on-plum p { color: var(--ecru); }
.bg-indigo .eyebrow, .band-plum .eyebrow, .on-plum .eyebrow { color: var(--rose); }
.bg-indigo a, .band-plum a, .on-plum a { color: var(--rose); }
.bg-indigo .credentials, .band-plum .credentials, .on-plum .credentials { color: var(--ecru); opacity: 0.85; }

.bg-rose h1, .bg-rose h2, .bg-rose h3, .bg-rose p, .bg-rose .eyebrow { color: var(--indigo); }

/* ---------- Buttons (pill, arrow) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  line-height: 1.1; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 14px 26px;
  transition: background-color .2s ease-out, color .2s ease-out, transform .2s ease-out, border-color .2s ease-out;
}
.btn::after {
  content: "→"; font-size: 1.05em; line-height: 1;
  transition: transform .2s ease-out;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn-lg { font-size: 16px; padding: 16px 30px; }

/* primary on light = indigo / ecru */
.btn-primary { background: var(--indigo); color: var(--ecru); border-color: var(--indigo); }
.btn-primary:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); color: var(--ecru); }
/* primary on dark (indigo bg) = rose / indigo */
.bg-indigo .btn-primary, .band-plum .btn-primary, .on-plum .btn-primary {
  background: var(--rose); color: var(--indigo); border-color: var(--rose);
}
.bg-indigo .btn-primary:hover, .band-plum .btn-primary:hover, .on-plum .btn-primary:hover {
  background: var(--rose-light); border-color: var(--rose-light); color: var(--indigo);
}
/* primary on rose band = indigo / ecru */
.bg-rose .btn-primary { background: var(--indigo); color: var(--ecru); border-color: var(--indigo); }
.bg-rose .btn-primary:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); }

/* secondary = outline */
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: var(--ecru); }
.bg-indigo .btn-outline, .band-plum .btn-outline, .on-plum .btn-outline { color: var(--ecru); border-color: var(--ecru); }
.bg-indigo .btn-outline:hover, .band-plum .btn-outline:hover, .on-plum .btn-outline:hover { background: var(--ecru); color: var(--indigo); }
.bg-rose .btn-outline { color: var(--indigo); border-color: var(--indigo); }
.bg-rose .btn-outline:hover { background: var(--indigo); color: var(--ecru); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Pull quotes ---------- */
/* band: rose band, indigo text, very large Fraunces italic */
.pq-band, .pullquote { background: var(--rose); color: var(--indigo); text-align: center; }
.pq-band p, .pullquote p {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 3.6rem); line-height: 1.14;
  margin: 0 auto; max-width: 20ch; color: var(--indigo);
}
.pq-band.band-indigo, .pq-band.bg-indigo { background: var(--indigo); }
.pq-band.band-indigo p, .pq-band.bg-indigo p { color: var(--ecru); }
.pq-band .mark > svg, .pullquote .mark > svg { color: var(--indigo); }
.pq-band.bg-indigo .mark > svg { color: var(--rose); }

/* inline: Fraunces italic with a short rose rule above, in reading width */
.pq-inline { max-width: var(--maxw-narrow); margin-inline: auto; }
.pq-inline::before {
  content: ""; display: block; width: 3rem; height: 3px; border-radius: 2px;
  background: var(--rose); margin: 0 0 1.1rem;
}
.pq-inline p {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.38;
  color: var(--indigo); margin: 0; max-width: none;
}
.pq-inline.center { text-align: center; }
.pq-inline.center::before { margin-left: auto; margin-right: auto; }
.on-plum .pq-inline p, .bg-indigo .pq-inline p { color: var(--ecru); }
.bg-indigo .pq-inline::before { background: var(--rose); }
.bg-rose .pq-inline::before { background: var(--indigo); }

/* ---------- Highlighter ---------- */
.hl {
  display: inline-block;
  color: var(--indigo);
  background: linear-gradient(to top, var(--rose) 72%, transparent 72%);
  padding: 0 0.18em 0.04em;
  border-radius: 0.5em 0.3em 0.55em 0.32em;
  transform: rotate(-1deg);
}

/* ---------- Hand-drawn underline ---------- */
.mark { position: relative; white-space: nowrap; }
.mark > svg {
  position: absolute; left: 0; right: 0; bottom: -0.3em;
  width: 100%; height: 0.45em; overflow: visible; color: var(--periwinkle);
}
.bg-indigo .mark > svg, .band-plum .mark > svg, .on-plum .mark > svg { color: var(--rose); }

/* ---------- Stamp labels ---------- */
.stamp {
  display: inline-block; font-family: var(--font-body); font-weight: 500;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo); background: transparent;
  border: 1.5px solid var(--indigo); border-radius: 999px;
  padding: 0.35em 0.85em; transform: rotate(-4deg);
}
.stamp-rose, .stamp-saffron { color: var(--indigo); border-color: var(--rose); }
.bg-indigo .stamp, .band-plum .stamp, .on-plum .stamp { color: var(--ecru); border-color: var(--ecru); }
.bg-indigo .stamp-rose, .on-plum .stamp-rose { color: var(--rose); border-color: var(--rose); }

/* ---------- Breathing circle ---------- */
.breathe { position: relative; overflow: hidden; }
.breathe-circle {
  position: absolute; left: 50%; top: 50%; width: min(86vw, 640px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.92); border-radius: 50%;
  background: var(--rose); opacity: 0.16; z-index: 0; pointer-events: none;
  animation: breathe 10s ease-in-out infinite;
}
.breathe > :not(.breathe-circle) { position: relative; z-index: 1; }
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); }
  50%      { transform: translate(-50%, -50%) scale(1); }
}

/* ---------- Breath-line decoration ---------- */
.breath-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.breath-lines svg { position: absolute; width: 60%; height: auto; opacity: 0.18; color: var(--periwinkle); }
.bg-indigo .breath-lines svg, .band-plum .breath-lines svg { color: var(--rose); opacity: 0.22; }
.section > .wrap, .section > .wrap-narrow { position: relative; z-index: 1; }

/* ---------- Curved section edges ---------- */
.edge { display: block; width: 100%; line-height: 0; }
.edge svg { display: block; width: 100%; height: clamp(44px, 6vw, 92px); margin-bottom: -1px; } /* overlap the next section by 1px so no hairline seam shows */

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ecru);
  transition: box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--ecru-deep); box-shadow: 0 6px 20px rgba(35,40,94,0.06); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 86px; transition: min-height .3s ease;
}
.site-header.scrolled .nav { min-height: 64px; }
.brand {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-variation-settings: "SOFT" 90, "opsz" 40; color: var(--indigo); text-decoration: none;
  letter-spacing: -0.015em; white-space: nowrap; line-height: 1;
}
.nav-links { display: none; }
.nav-links a, .nav-links .menu-top {
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo);
  text-decoration: none; background: none; border: none; cursor: pointer;
  position: relative; padding: 0.4rem 0;
}
.nav-links a::after, .nav-links .menu-top::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--rose); transition: width .25s ease-out;
}
.nav-links a:hover::after, .has-dropdown:hover .menu-top::after, .has-dropdown:focus-within .menu-top::after { width: 100%; }
/* "Free class" in the top bar hovers like the other links: rose underline, no fill */
.nav-links .nav-cta:hover { background: none; color: var(--indigo); transform: none; }
.nav-links .nav-cta:hover::after { transform: none; }

.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--indigo); padding: 0.4rem; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: 1.9rem; }
  .nav-cta { display: inline-flex; }
  .has-dropdown { position: relative; }
  .has-dropdown .menu-top::before { content: ""; }
  .has-dropdown > .dropdown {
    position: absolute; left: -0.5rem; top: 100%; min-width: 260px;
    background: var(--ecru); border-radius: 16px; padding: 0.6rem;
    box-shadow: var(--shadow-drop); display: none; margin-top: 0.4rem;
  }
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .dropdown.open { display: block; }
  .dropdown a {
    display: block; padding: 0.6rem 0.75rem; border-radius: 10px; text-transform: none;
    letter-spacing: normal; font-size: 15px;
  }
  .dropdown a::after { display: none; }
  .dropdown a:hover { background: var(--rose-wash); color: var(--indigo); }
}

/* ---------- Mobile full-screen menu ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--indigo); color: var(--ecru);
  display: flex; flex-direction: column; padding: clamp(1.5rem, 6vw, 3rem);
  transform: translateY(-100%); transition: transform .4s ease; visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav .mobile-brand { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--ecru); text-decoration: none; }
.mobile-nav .mobile-close { background: none; border: none; color: var(--ecru); cursor: pointer; padding: 0.4rem; }
.mobile-nav .mobile-close svg { width: 28px; height: 28px; }
.mobile-nav a, .mobile-nav .menu-top {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--ecru); text-decoration: none; background: none; border: none;
  text-align: left; padding: 0.35rem 0; cursor: pointer; display: block; width: 100%;
}
.mobile-nav .m-sub { overflow: hidden; max-height: 0; transition: max-height .35s ease; padding-left: 1rem; }
.mobile-nav .m-sub.open { max-height: 320px; }
.mobile-nav .m-sub a { font-size: clamp(1.15rem, 4.5vw, 1.5rem); color: var(--rose); font-family: var(--font-head); font-style: italic; font-weight: 400; }
.mobile-nav .menu-top .chev { transition: transform .3s ease; display: inline-block; }
.mobile-nav .menu-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mobile-nav .mobile-foot { margin-top: auto; padding-top: 2rem; }
.mobile-nav .mobile-foot .btn { width: 100%; justify-content: center; margin-bottom: 1.25rem; }
.mobile-nav .mobile-social { display: flex; gap: 1.25rem; }
.mobile-nav .mobile-social a { font-family: var(--font-body); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ecru); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero-grid { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
@media (min-width: 900px) { .hero-grid.reverse { grid-template-columns: 0.9fr 1.1fr; } .hero-grid.reverse .hero-media { order: -1; } }
/* full-screen hero */
.hero-full { min-height: calc(100svh - 86px); display: flex; align-items: center; }
.hero-full .wrap { width: 100%; }
.hero-full h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
/* portrait + figure stack */
.hero-stack { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.hero-stack .fig-beside { position: absolute; bottom: -3%; right: -3%; width: 33%; z-index: 2; filter: drop-shadow(0 8px 18px rgba(35,40,94,0.22)); }
@media (max-width: 600px) { .hero-stack .fig-beside { right: 0; width: 28%; } }

/* ---------- Framed images (arch / pebble / circle + offset outline) ---------- */
.framed { position: relative; display: block; }
.framed .ph { position: relative; z-index: 1; overflow: hidden; border-radius: inherit; }
.framed .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.framed::after {
  content: ""; position: absolute; inset: 0; border: 1.5px solid var(--periwinkle);
  border-radius: inherit; transform: translate(12px, 12px); z-index: 0;
  transition: transform .6s ease; pointer-events: none;
}
.framed:hover .ph img { transform: scale(1.03); }
.framed:hover::after { transform: translate(16px, 16px); }
.framed .ph video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.framed:hover .ph video { transform: scale(1.03); }
.img-arch { border-radius: 999px 999px 24px 24px; }
.img-arch .ph img, .img-arch .ph video { aspect-ratio: 4/5; }
.img-pebble   { border-radius: 62% 38% 55% 45% / 58% 52% 48% 42%; }
.img-pebble-2 { border-radius: 42% 58% 38% 62% / 46% 42% 58% 54%; }
.img-pebble-3 { border-radius: 55% 45% 60% 40% / 50% 58% 42% 50%; }
.img-pebble .ph img, .img-pebble-2 .ph img, .img-pebble-3 .ph img { aspect-ratio: 5/4; }
.img-circle { border-radius: 50%; }
.img-circle .ph img { aspect-ratio: 1; }
.duotone .ph img { filter: saturate(0.85) brightness(0.95); }

/* ---------- Plain photo (soft rounded rectangle, no outline) ---------- */
.photo { margin: 0; overflow: hidden; border-radius: 24px; }
.photo img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .6s ease; }
.photo:hover img { transform: scale(1.03); }
.photo-tall img { aspect-ratio: 4/5; }
@media (max-width: 899px) { .split-media .photo-tall { max-width: 440px; } }

/* ---------- "Is this you" list (periwinkle hand-drawn marks) ---------- */
.check-list { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 62ch; }
.check-list li { position: relative; padding-left: 2.4rem; margin-bottom: 1rem; font-size: 1.12rem; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.25em; width: 1.5rem; height: 1.1rem;
  background: var(--periwinkle);
  -webkit-mask: var(--tick) center/contain no-repeat; mask: var(--tick) center/contain no-repeat;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M3 15 C 12 24, 16 24, 22 12 S 33 2, 37 6'/%3E%3C/svg%3E");
}
.check-grid { margin-bottom: 0; max-width: none; display: grid; gap: 0.85rem 2.5rem; }
@media (min-width: 680px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid li { margin-bottom: 0; font-size: 1.05rem; }

/* standalone hand-drawn squiggle underline */
.squiggle { display: block; width: clamp(180px, 60%, 280px); height: 18px; color: var(--periwinkle); margin: 0.9rem 0 0; overflow: visible; }
.squiggle.on-rose, .bg-indigo .squiggle, .band-plum .squiggle { color: var(--rose); }

/* criteria as squiggle-marked statements */
.criteria { list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .criteria { margin-top: 2.25rem; } }
.criteria li {
  position: relative; padding-left: 2.4rem; margin-bottom: 1.2rem;
  font-size: 1.08rem; line-height: 1.45; color: var(--indigo);
}
.criteria li:last-child { margin-bottom: 0; }
.criteria li::before {
  content: ""; position: absolute; left: 0; top: 0.52em; width: 1.7rem; height: 0.6rem;
  background: var(--periwinkle);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M2 8 C 8 2, 14 10, 20 6 S 32 2, 38 8'/%3E%3C/svg%3E") left center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M2 8 C 8 2, 14 10, 20 6 S 32 2, 38 8'/%3E%3C/svg%3E") left center/contain no-repeat;
}
.big-statement {
  font-family: var(--font-head); font-weight: 600; font-variation-settings: "SOFT" 80;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.15; color: var(--indigo); margin-top: 1.5rem;
}
.bg-indigo .big-statement, .band-plum .big-statement { color: var(--ecru); }

/* ---------- "Is this you?" criteria cards ---------- */
.criteria-head { text-align: center; max-width: 56ch; margin-inline: auto; }
.criteria-head .squiggle { margin: 0.5rem auto 0; color: var(--rose); }
.criteria-list {
  list-style: none; padding: 0;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0; max-width: 820px;
  display: grid; gap: 0.6rem 2.25rem;
}
@media (min-width: 680px) { .criteria-list { grid-template-columns: 1fr 1fr; } }
.criteria-list li {
  position: relative; padding-left: 2rem;
  font-size: 1.04rem; line-height: 1.4; color: var(--indigo);
}
.criteria-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 1.5rem; height: 0.55rem;
  background: var(--rose);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M2 8 C 8 2, 14 10, 20 6 S 32 2, 38 8'/%3E%3C/svg%3E") left center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M2 8 C 8 2, 14 10, 20 6 S 32 2, 38 8'/%3E%3C/svg%3E") left center/contain no-repeat;
}
.criteria-bridge {
  text-align: center; margin: clamp(1.5rem, 3vw, 2rem) auto 0; max-width: 46ch;
  font-size: 1.04rem; color: var(--indigo);
}
.criteria-bridge a { font-weight: 600; white-space: nowrap; }

/* ---------- Free-class banner ---------- */
.class-banner {
  display: block; width: 100%; margin: 0 auto;
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, box-shadow .35s ease;
}
/* Give the banner the larger share so its baked-in text stays readable */
@media (min-width: 820px) {
  .class-postcard { grid-template-columns: 1.4fr 0.6fr; max-width: 1452px; }
}
/* ~10% larger section overall */
#free-class h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
#free-class .eyebrow { font-size: 0.95rem; }
#free-class p { font-size: 1.16rem; }
.class-banner:hover { transform: translateY(-5px); box-shadow: var(--shadow-drop); }
.class-banner:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
.class-banner img { display: block; width: 100%; height: auto; }

/* ---------- Feature quote (rose) ---------- */
.quote-feature { overflow: hidden; padding-block: clamp(44px, 7vw, 88px); }
.quote-feature-text {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.2;
  color: var(--indigo); margin: 0 auto; max-width: 24ch;
}

/* ---------- Free-class opt-in + player ---------- */
.fc-form { max-width: 540px; margin: 1.75rem auto 0; }
.fc-fields { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 560px) { .fc-fields { grid-template-columns: 1fr 1fr; } }
.fc-form input {
  width: 100%; padding: 0.9rem 1.15rem; font: inherit;
  background: var(--ecru); color: var(--indigo);
  border: 1.5px solid transparent; border-radius: 999px; outline: none;
  transition: border-color .2s ease;
}
.fc-form input::placeholder { color: rgba(35, 40, 94, 0.55); }
.fc-form input:focus { border-color: var(--rose); }
.fc-form .btn { width: 100%; }
.fc-error { margin: 0.9rem 0 0; color: var(--rose); font-weight: 500; }
.fc-fineprint { margin: 0.75rem 0 0; font-size: 0.85rem; opacity: 0.8; }
.fc-video {
  position: relative; padding-top: 56.25%;
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card); background: #000;
}
.fc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* hero version: form sits under the lede, portrait beside it */
.fc-hero .fc-form { margin-left: 0; }
.fc-hero .fc-fineprint { color: var(--ecru); }
.fc-preview-col { display: flex; justify-content: center; }
.fc-preview {
  position: relative; display: block; width: 100%; max-width: 400px; aspect-ratio: 4/5;
  overflow: hidden; border-radius: var(--radius-card);
}
/* crop the class banner down to the portrait side */
.fc-preview img { position: absolute; top: -10.9%; left: -190.7%; height: 130%; width: auto; max-width: none; }
/* watching: centered heading over a framed player sized to fit the screen */
.fc-hero.is-watching { padding-block: clamp(32px, 4vw, 48px); text-align: center; }
.fc-hero.is-watching h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.fc-hero #fc-player { margin-top: 1.25rem; }
.fc-stage {
  width: 100%; max-width: min(1180px, calc((100svh - 370px) * 16 / 9)); min-width: min(100%, 560px); margin-inline: auto;
  padding: clamp(8px, 1.2vw, 14px); background: var(--indigo-soft);
  border-radius: 32px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.fc-stage .fc-video { border-radius: 22px; box-shadow: none; }
.fc-stage-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 0.9rem 0.45rem; color: var(--ecru);
  font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.fc-now { display: inline-flex; align-items: center; gap: 0.6rem; }
.fc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); animation: fc-pulse 5s ease-in-out infinite; }
@keyframes fc-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.fc-hero.is-watching .fc-preview-col { display: none; }
.fc-hero.is-watching .hero-grid { display: block; }
@media (max-width: 899px) { .fc-preview { max-width: 300px; } }
.principles.four { gap: 2rem clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 600px) { .principles.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .principles.four { grid-template-columns: repeat(4, 1fr); } }
.principles.four .principle p { margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .cards.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--rose-wash); border: none; border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 2rem); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card.card-ecru { background: var(--ecru-deep); }
.card.card-rose { background: var(--rose); }
.card.card-rose .num, .card.card-rose h3, .card.card-rose p { color: var(--indigo); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card.card-indigo { background: var(--indigo); color: var(--ecru); }
.card.card-indigo h3, .card.card-indigo p, .card.card-indigo li, .card.card-indigo .num { color: var(--ecru); }
.card.card-plum { background: var(--indigo-soft); color: var(--ecru); }
.card.card-plum h3, .card.card-plum p { color: var(--ecru); }

/* ---------- Work with me / program page ---------- */
.cols-2 { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 820px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.meta-line { font-size: 0.95rem; opacity: 0.85; margin-top: 1.25rem; }
/* editorial text hero (no photo, big type, breath line) */
.hero-editorial { position: relative; overflow: hidden; }
.hero-editorial { padding-block: clamp(80px, 13vw, 160px); }
.hero-editorial .hero-inner { position: relative; z-index: 1; }
.hero-editorial h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1.04; }
.hero-editorial .lede { margin-top: 1.5rem; max-width: 62ch; }
/* full-bleed image band */
.image-band { line-height: 0; }
.image-band-media { display: block; width: 100%; height: clamp(280px, 44vw, 620px); object-fit: cover; }
.check-list.divided li { border-bottom: 1px solid var(--ecru-deep); padding-bottom: 1rem; }
.bg-ecru-deep .check-list.divided li { border-bottom-color: var(--ecru); }
.steps { display: grid; gap: 0; margin-top: 2.5rem; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: -4px; width: 1.5px; background: var(--periwinkle); opacity: 0.5; }
.step:last-child::before { display: none; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--periwinkle);
  display: grid; place-items: center; background: var(--ecru);
  font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--indigo);
  position: relative; z-index: 1;
}
.bg-ecru-deep .step .num { background: var(--ecru-deep); }
/* bold quote band */
.bold-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.08; color: var(--indigo); max-width: 20ch; margin-inline: auto; }
.bold-quote-sub { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.1rem, 2.6vw, 1.55rem); line-height: 1.4; color: var(--indigo); max-width: 46ch; margin: 1.75rem auto 0; }
/* why this works columns */
.why-col { border-top: 1.5px solid var(--periwinkle); padding-top: 1.25rem; }
.why-col h3 { margin-bottom: 0.5rem; }
/* featured testimonial */
.feature-quote { max-width: 60ch; margin: 2.5rem auto 0; padding: 0; }
.feature-quote p { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 2.5vw, 1.65rem); line-height: 1.5; max-width: none; }
.step-week { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--periwinkle); margin: 0 0 0.2rem; }
.step h3 { margin: 0; font-size: 1.3rem; }
.step p { margin: 0.4rem 0 0; max-width: none; }
.steps-3 { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 820px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.price-tag { font-family: var(--font-head); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--rose); display: block; margin-bottom: 0.5rem; }
.scarcity { margin-top: 2.5rem; background: var(--rose-wash); border-radius: var(--radius-card); padding: clamp(1.5rem, 4vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.scarcity p { margin: 0; max-width: 46ch; }
.todo { background: var(--rose-wash); border: 1px dashed var(--rose); border-radius: 5px; padding: 0 0.35em; color: var(--indigo); font-style: normal; }
.card h3 { color: var(--indigo); }
.card p { flex: 1; max-width: none; }

/* postcard / free-practice layout */
.postcard { display: grid; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; }
@media (min-width: 820px) { .postcard { grid-template-columns: 0.9fr 1.1fr; } }
.lead-magnet { background: transparent; border: none; padding: 0; }

/* ---------- Testimonials ---------- */
.testimonials.is-hidden { display: none; }
.quote-card { background: var(--rose-wash); border: none; border-radius: var(--radius-card); padding: clamp(1.75rem, 4vw, 2rem); position: relative; }
.quote-card::before {
  content: "\201C"; font-family: var(--font-head); font-size: 4rem; line-height: 0.8;
  color: var(--rose); display: block; margin-bottom: 0.25rem;
}
.quote-card blockquote { margin: 0 0 0.75rem; font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.2rem; line-height: 1.45; color: var(--indigo); }
.quote-card cite { font-family: var(--font-body); font-weight: 500; font-style: normal; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo); }

/* ---------- Principles (rose numerals on indigo) ---------- */
.principles { display: grid; gap: 2rem; counter-reset: principle; }
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { padding-top: 0.5rem; }
.principle.card { padding-top: clamp(1.75rem, 4vw, 2rem); }
.principle .num {
  font-family: var(--font-head); font-weight: 600; font-size: 2.4rem; color: var(--rose);
  display: block; line-height: 1; margin-bottom: 0.75rem;
}
/* rose reads as low-contrast on light backgrounds, so use indigo there */
.bg-ecru .principle .num, .bg-ecru-deep .principle .num, .bg-rose .principle .num { color: var(--indigo); }
.principle h3 { font-size: 1.3rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--ecru-deep); padding: 0.4rem 0; }
.bg-indigo .faq details { border-bottom-color: var(--indigo-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--indigo);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%) rotate(0deg);
  font-size: 1.6rem; color: var(--rose); line-height: 1; transition: transform .3s ease; font-family: var(--font-body);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p { padding: 0 0 1.1rem; margin: 0; color: var(--indigo); max-width: none; }

/* ---------- Prose ---------- */
.prose { max-width: var(--maxw-narrow); margin-inline: auto; }
.prose p { max-width: none; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { max-width: none; line-height: 1.6; }
.prose li { margin-bottom: 0.5rem; }

/* TODO block for the author to fill in */
.todo-block {
  border: 1.5px dashed var(--periwinkle); background: var(--rose-wash);
  padding: 1.25rem 1.5rem; border-radius: 16px; color: var(--indigo);
}
.todo-block::before { content: "✎ TODO — add your own words here"; display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); opacity: 0.75; margin-bottom: 0.4rem; }

/* ---------- Footer (cream) ---------- */
.site-footer { background: var(--ecru); color: var(--indigo); padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ecru-deep); }
.site-footer h3, .site-footer p, .site-footer a { color: var(--indigo); }
.footer-brand { font-family: var(--font-head); font-weight: 600; font-variation-settings: "SOFT" 90, "opsz" 40; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--indigo); margin: 0 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-nav a, .footer-social a { display: block; text-decoration: none; padding: 0.3rem 0; }
.footer-nav a:hover, .footer-social a:hover { color: var(--indigo-soft); text-decoration: underline; }
.footer-head { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo-soft); margin-bottom: 0.75rem; }
.footer-bottom { border-top: 1px solid var(--ecru-deep); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.9rem; color: var(--indigo); opacity: 0.8; }
.footer-bottom p { max-width: none; margin: 0.25rem 0; }
.footer-stance { margin-top: 2.5rem; }
.stance-flags { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; }
.stance-flags li { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); }
.flag { width: 30px; height: 20px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(35,40,94,0.15); }
.stance-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; }
.stance-line { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.1rem; line-height: 1.3; color: var(--indigo); margin: 0; }

/* ---------- Editorial split (heading/text + content) ---------- */
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); }
@media (min-width: 900px) { .split { grid-template-columns: 0.82fr 1.18fr; align-items: start; } }
.split .faq { max-width: none; margin: 0; }
@media (min-width: 900px) { .split-media { align-items: center; } }
.split-media .framed { margin: 0; }

/* large editorial pull quote */
.pq-lg p { font-size: clamp(1.5rem, 3.3vw, 2.3rem); line-height: 1.28; }
.pq-inline.pq-right { text-align: right; }
.pq-inline.pq-right::before { margin-left: auto; margin-right: 0; }
@media (max-width: 700px) { .pq-inline.pq-right { text-align: left; } .pq-inline.pq-right::before { margin-left: 0; } }

/* ---------- Matisse figure illustrations ---------- */
.fig { display: block; height: auto; }
.fig-media { width: 100%; max-width: 380px; margin-inline: auto; }
/* recolour a silhouette figure to a brand accent via mask */
.fig-colored {
  display: block; width: 100%; max-width: 360px; margin-inline: auto;
  aspect-ratio: 563 / 626; background-color: var(--rose);
  -webkit-mask: url("assets/figures/fig-dance.webp") center / contain no-repeat;
          mask: url("assets/figures/fig-dance.webp") center / contain no-repeat;
}
/* decorative corner accents — sit behind content, playful */
.fig-accent { position: absolute; z-index: 0; width: clamp(96px, 13vw, 190px); height: auto; pointer-events: none; }
.fig-accent.rot-l { transform: rotate(-8deg); }
.fig-accent.rot-r { transform: rotate(7deg); }
@media (max-width: 760px) { .fig-accent { display: none; } }
/* small circular portrait */
.portrait-sm { width: clamp(180px, 40vw, 300px); aspect-ratio: 1; }

/* ---------- Story chapters (photo beside text, sides alternate) ---------- */
.chapters { display: grid; gap: clamp(3rem, 8vw, 6.5rem); max-width: 1120px; }
.chapter { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.chapter .photo { width: 100%; max-width: 440px; }
.chapter .photo img { aspect-ratio: 4/3; }
.chapter-text p { max-width: none; }
.chapter-text > :last-child { margin-bottom: 0; }
@media (min-width: 820px) {
  .chapter { grid-template-columns: 0.85fr 1.15fr; }
  .chapter .photo { max-width: none; }
  .chapter .photo img { aspect-ratio: 4/5; }
  .chapter.flip { grid-template-columns: 1.15fr 0.85fr; }
  .chapter.flip .photo { order: 2; }
}

/* ---------- Writing: article list and article page ---------- */
/* writing index: hero */
.writing-hero { overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.writing-hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; margin-bottom: 0.6em; }
.writing-hero h1 .mark > svg { bottom: -0.22em; height: 0.26em; }
.writing-hero .lede { max-width: 46ch; }
.writing-hero .breath-lines svg { width: min(70%, 820px); }
/* writing index: entries (newest large, the rest staggered) */
.writing-list { padding-block: clamp(48px, 7vw, 88px); }
.entries { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.entry { display: grid; gap: 1.25rem; align-items: center; }
.entry-media { display: block; }
.entry-media .framed { display: block; max-width: 300px; }
.entry-media .framed .ph { display: block; }
.entry-media .photo { display: block; max-width: 260px; box-shadow: var(--shadow-card); }
.entry-head { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 0.6rem; max-width: none; }
.entry-num {
  font-family: var(--font-head); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--indigo);
}
.entry h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.24; margin: 0 0 0.7rem; }
.entry h2 .mark > svg { bottom: -0.14em; height: 0.24em; }
.entry-feature h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.14; }
.entry h2 a { color: var(--indigo); text-decoration: none; }
.entry h2 a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.entry-quote { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.45; max-width: 52ch; margin: 0 0 1.1rem; }
.entry .btn-row { margin-top: 0; }
.entry .post-more { color: var(--indigo); text-decoration: none; border-bottom: 2px solid var(--rose); padding-bottom: 0.3rem; }
.post-more { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.post-more::after { content: "→"; display: inline-block; margin-left: 0.5rem; transition: transform .2s ease-out; }
.post-more:hover::after { transform: translateX(4px); }
@media (min-width: 860px) {
  .entry-feature { grid-template-columns: repeat(12, 1fr); gap: 0 1.5rem; }
  .entry-feature .entry-media { grid-column: 1 / span 3; }
  .entry-feature .entry-text { grid-column: 5 / span 8; }
  .entry-feature .entry-media .framed { max-width: none; }
  .entry-a, .entry-b { grid-template-columns: repeat(12, 1fr); gap: 0 1.5rem; }
  .entry-a .entry-text { grid-column: 1 / span 7; grid-row: 1; }
  .entry-a .entry-media { grid-column: 10 / span 3; grid-row: 1; transform: rotate(1.5deg); }
  .entry-b .entry-media { grid-column: 1 / span 3; grid-row: 1; transform: rotate(-1.5deg); }
  .entry-b .entry-text { grid-column: 5 / span 7; grid-row: 1; }
  .entry-a .entry-media .photo, .entry-b .entry-media .photo { max-width: none; }
}
/* article page: intro and article in the left column, photo and contents in the right column,
   so the article starts right under the intro instead of below the photo */
.post-grid { display: grid; gap: 2rem; grid-template-areas: "head" "photo" "body" "aside"; }
.post-head { grid-area: head; }
.post-body { grid-area: body; }
.post-side { display: contents; }
.post-side .photo { grid-area: photo; max-width: 440px; }
.post-side .post-aside { grid-area: aside; }
/* related questions: always open, one left-aligned column at reading width */
.post-qa { max-width: 680px; margin-top: 0.5rem; }
.post-qa > div + div { margin-top: 2rem; }
.post .post-qa h3 { margin: 0 0 0.5rem; }
.post-qa p { max-width: none; margin: 0; }
@media (min-width: 860px) {
  .post-grid { grid-template-columns: 1.2fr 0.8fr; grid-template-rows: auto 1fr; grid-template-areas: "head side" "body side"; gap: 0 clamp(2.5rem, 6vw, 5rem); }
  .post-head { padding-bottom: 0.75rem; }
  .post-side { display: block; grid-area: side; }
  .post-side .photo { max-width: none; margin-bottom: 2.5rem; }
}
.post h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.post .eyebrow a { text-decoration: none; }
.post .eyebrow a::before { content: "← "; }
.post-meta { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; margin-bottom: 2rem; }
.post-answer { padding-left: 1.25rem; border-left: 3px solid var(--rose); }
.post h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.75rem; }
.post .post-rule { margin-top: 3.5rem; padding-top: 2rem; border-top: 1.5px solid var(--ecru-deep); }
/* article body: reading column, with a small sticky side note on wide screens */
.post-body { max-width: 680px; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body ul, .post-body ol { max-width: none; }
.post-body li { margin-bottom: 0.6rem; }
.post-aside { align-self: start; }
.post-toc { list-style: none; padding: 0; margin: 0 0 2rem; }
.post-toc li { margin-bottom: 0.6rem; }
.post-note { font-size: 0.9rem; opacity: 0.85; margin-top: 1.25rem; }
@media (min-width: 860px) {
  .post-aside { position: sticky; top: 110px; padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 1.5px solid var(--ecru-deep); }
}
/* writing index: compact list of everything after the first three */
.writing-archive { padding-block: clamp(48px, 7vw, 88px); }
.archive { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.75rem clamp(2rem, 5vw, 4rem); }
.archive-row { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; text-decoration: none; color: var(--indigo); }
.archive-row .photo { display: block; border-radius: 16px; }
.archive-row .photo img { aspect-ratio: 4/5; }
.archive-row h3 { margin: 0 0 0.3rem; font-size: 1.25rem; line-height: 1.25; }
.archive-row:hover h3 { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.archive-line { display: block; font-size: 0.98rem; line-height: 1.5; }
@media (min-width: 860px) { .archive { grid-template-columns: 1fr 1fr; } }
.post h3 { margin-top: 2rem; }
/* end of article: related questions on the left, keep reading tiles on the right (same columns as the article) */
.post-end { display: grid; gap: 0; }
@media (min-width: 860px) {
  .post-end { grid-template-columns: 1.2fr 0.8fr; gap: 0 clamp(2.5rem, 6vw, 5rem); align-items: start; }
  .post-end-more:only-child { grid-column: 1 / -1; }
}
/* keep reading: small square photo tiles, two by two */
.post-others { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.5rem); }
.other-tile { display: block; text-decoration: none; color: var(--indigo); }
.other-tile .photo { display: block; border-radius: 16px; }
.other-tile .photo img { aspect-ratio: 1 / 1; }
.other-title { display: block; margin-top: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.other-tile:hover .other-title { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.other-tile:hover .photo img { transform: scale(1.03); }
.other-tile:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; border-radius: 16px; }

/* ---------- Writing as a blog: posts + sidebar, Substack band ---------- */
.writing-hero-sm h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 0; }
.writing-hero .eyebrow a, .post .eyebrow a.no-arrow { text-decoration: none; }
.post .eyebrow a.no-arrow::before { content: none; }
.blog { padding-block: clamp(48px, 7vw, 96px); }
.blog-grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .blog-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-post { display: grid; grid-template-columns: 1fr; gap: 1.1rem; padding-block: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1.5px solid var(--ecru); }
.blog-grid > div { min-width: 0; }
.blog-thumb { display: block; max-width: 420px; }
.blog-thumb img { aspect-ratio: 3/2; }
.blog-post:hover .blog-thumb img { transform: scale(1.03); }
.blog-post h4 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.22; margin: 0 0 0.55rem; }
.blog-post h4 a { color: var(--indigo); text-decoration: none; }
.blog-post h4 a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.blog-excerpt { margin: 0 0 0.6rem; max-width: 60ch; }
.blog-meta { margin: 0; font-size: 0.92rem; opacity: 0.8; }
@media (min-width: 640px) {
  .blog-post { grid-template-columns: 220px 1fr; gap: 1.75rem; align-items: center; }
  .blog-thumb img { aspect-ratio: 4/3; }
}
/* sidebar */
.blog-side { display: grid; gap: 2.25rem; }
@media (min-width: 960px) { .blog-side { position: sticky; top: 104px; } }
.side-block .eyebrow { margin-bottom: 0.8rem; }
.side-me { display: grid; grid-template-columns: 72px 1fr; gap: 0.5rem 1rem; align-items: center; }
.side-photo { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.side-me p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.side-me .post-more { grid-column: 2; justify-self: start; color: var(--indigo); text-decoration: none; border-bottom: 2px solid var(--rose); padding-bottom: 0.2rem; }
.side-ss { background: var(--indigo); color: var(--ecru); border-radius: var(--radius-card); padding: 1.6rem 1.5rem 1.7rem; }
.side-ss .eyebrow { color: var(--rose); }
.side-ss-title { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--ecru); margin: 0 0 1rem; }
/* the questions that come up most: title, then topic pills that filter the list (radios + CSS, see build_writing.py) */
.blog-list-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1.25rem; }
fieldset.sr-only { min-width: 0; margin: 0; padding: 0; border: 0; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1rem; max-width: none; }
.topic-pills label {
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); border: 1.5px solid var(--indigo); border-radius: 999px; padding: 0.6em 1.15em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.topic-pills label span { opacity: 0.7; margin-left: 0.25em; }
.topic-pills label:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); color: var(--ecru); }
.blog-topic { margin: 0 0 0.45rem; font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
#common-questions { scroll-margin-top: 80px; }
/* Substack sign-up form (posts to Substack, styled in the brand) */
.ss-form { display: grid; gap: 0.6rem; }
.ss-form input[type="email"] {
  width: 100%; padding: 0.85rem 1.1rem; font: inherit; color: var(--indigo); background: var(--ecru);
  border: 1.5px solid transparent; border-radius: 999px; outline: none;
}
.ss-form input[type="email"]::placeholder { color: rgba(35, 40, 94, 0.55); }
.ss-form input[type="email"]:focus-visible { border-color: var(--rose); outline: 2px solid var(--rose); outline-offset: 2px; }
.ss-form .btn { justify-content: center; }
.ss-form.lg { grid-template-columns: 1fr auto; }
@media (max-width: 520px) { .ss-form.lg { grid-template-columns: 1fr; } }
/* Substack band: newest essay large, sign-up under its text */
.ss-band { padding-block: clamp(48px, 7vw, 88px); }
.ss-feature { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .ss-feature { grid-template-columns: 1fr 1fr; } }
.ss-feature-empty { grid-template-columns: 1fr !important; max-width: 560px; }
.ss-feature .ss-img { margin: 0; }
.ss-feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 0.8rem; }
.ss-feature h2 a { color: var(--ecru); text-decoration: none; }
.ss-feature h2 a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ss-feature .ss-sub { display: block; margin: 0 0 1.1rem; font-size: 1.05rem; }
.ss-feature-text > .post-more { color: var(--ecru); text-decoration: none; border-bottom: 2px solid var(--rose); padding-bottom: 0.2rem; }
.ss-signup { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--indigo-soft); }
.ss-feature-empty .ss-signup { margin-top: 0; padding-top: 0; border-top: 0; }
.ss-signup .eyebrow { margin-bottom: 0.8rem; }
.ss-more { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: clamp(1.5rem, 3vw, 2rem) 0 0; border-top: 1px solid var(--indigo-soft); display: grid; gap: 1.25rem 3rem; }
@media (min-width: 760px) { .ss-more { grid-template-columns: 1fr 1fr; } }
.ss-more .ss-title { color: var(--ecru); }
.ss-post { display: block; text-decoration: none; color: inherit; }
.ss-img { display: block; overflow: hidden; border-radius: 20px; margin-bottom: 1rem; }
.ss-img img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .6s ease; }
.ss-post:hover .ss-img img { transform: scale(1.03); }
.ss-text { display: grid; gap: 0.35rem; }
.ss-date { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); }
.bg-ecru-deep .ss-date, .blog-side .ss-date { color: var(--indigo); opacity: 0.75; }
.ss-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.ss-band .ss-title { color: var(--ecru); font-size: 1.45rem; }
.ss-post:hover .ss-title { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ss-sub { color: var(--ecru); opacity: 0.85; font-size: 0.98rem; }
.ss-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.blog-side .ss-title { color: var(--indigo); }
.side-ss .btn-primary { background: var(--rose); color: var(--indigo); border-color: var(--rose); }
.side-ss .btn-primary:hover { background: var(--rose-light); border-color: var(--rose-light); color: var(--indigo); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Focus states ---------- */
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 2px; }
.bg-rose :focus-visible { outline-color: var(--indigo); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .breathe-circle, .fc-dot { animation: none; }
  .btn, .btn::after, .card, .framed .ph img, .framed::after, .photo img, .ss-img img, .post-more::after, .nav-links a::after { transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .framed:hover .ph img, .photo:hover img { transform: none; }
}

/* ---------- Stage tabs (CSS only: radio buttons + labels) ---------- */
.stage-tabs { position: relative; margin-top: 2.25rem; }
.stage-tabs > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.stage-tablist { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.stage-tablist label {
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ecru); border: 1.5px solid var(--ecru); border-radius: 999px; padding: 0.7em 1.3em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.stage-tablist label:hover { background: rgba(239, 231, 218, 0.12); }
.stage-panel { display: none; }
#stage-observe:checked ~ .stage-tablist label[for="stage-observe"],
#stage-deepen:checked ~ .stage-tablist label[for="stage-deepen"],
#stage-express:checked ~ .stage-tablist label[for="stage-express"],
#stage-envision:checked ~ .stage-tablist label[for="stage-envision"] { background: var(--rose); border-color: var(--rose); color: var(--indigo); }
#stage-observe:focus-visible ~ .stage-tablist label[for="stage-observe"],
#stage-deepen:focus-visible ~ .stage-tablist label[for="stage-deepen"],
#stage-express:focus-visible ~ .stage-tablist label[for="stage-express"],
#stage-envision:focus-visible ~ .stage-tablist label[for="stage-envision"] { outline: 2px solid var(--rose); outline-offset: 4px; }
#stage-observe:checked ~ #observe,
#stage-deepen:checked ~ #deepen,
#stage-express:checked ~ #express,
#stage-envision:checked ~ #envision { display: block; }
.prompt-list { list-style: none; margin: 0; padding: 0; counter-reset: prompt; }
.prompt-list li {
  counter-increment: prompt; display: grid; grid-template-columns: 3rem 1fr; gap: 0 0.75rem;
  padding-block: 1.25rem; border-top: 1px solid rgba(239, 231, 218, 0.2);
}
.prompt-list li:last-child { border-bottom: 1px solid rgba(239, 231, 218, 0.2); }
.prompt-list li::before {
  content: counter(prompt, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; color: var(--rose); padding-top: 0.45rem;
}
.prompt-list .prompt {
  font-family: var(--font-head); font-weight: 600; font-variation-settings: "SOFT" 80;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.3; color: var(--ecru); margin: 0;
}
.prompt-list .prompt-more { margin: 0.4rem 0 0; color: var(--ecru); opacity: 0.88; }
.related-writing { font-size: 0.95rem; margin-top: 1rem; }
.related-writing .label { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.2rem; }

/* six items in the desktop nav: tighten the spacing on narrower laptop screens */
@media (min-width: 900px) and (max-width: 1099px) { .nav-links { gap: 1.2rem; } }

/* ---------- Resources: "Start here" list of articles (on indigo) ---------- */
.start-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.start-list li { border-top: 1px solid rgba(239, 231, 218, 0.25); }
.start-list li:last-child { border-bottom: 1px solid rgba(239, 231, 218, 0.25); }
.start-list a { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.15rem 0; text-decoration: none; }
.bg-indigo .start-list a { color: var(--ecru); }
.start-n { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; color: var(--rose); }
.start-t { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.3; }
.start-arrow { color: var(--rose); transition: transform 200ms ease; }
.start-list a:hover .start-t { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.start-list a:hover .start-arrow { transform: translateX(4px); }
.start-list a:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 4px; }
.start-all { margin-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .start-arrow { transition: none; } .start-list a:hover .start-arrow { transform: none; } }
