/* cecilemarion.org — site stylesheet (rebuilt 2026-09-17, tidied 2026-09-21)
   One file, no framework. Colours from the original Webflow palette. */

:root {
  --navy: #000e36;
  --ink: #1c2442;
  --muted: #5b617a;
  --orange: #f58d41;
  --pink: #d10058;
  --cream: #f3f5f9; /* cool navy wash (was warm cream #f9f5f1, changed 2026-09-18) */
  --paper: #ffffff;
  --line: rgba(0, 14, 54, 0.14);
  --line-soft: rgba(0, 14, 54, 0.08);
  --radius: 12px;
  --wrap: 960px;
  --measure: 40em;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: Newsreader, Georgia, "Times New Roman", serif;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-family: var(--display); font-weight: 600; font-size: 2.8rem; letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.01em; margin-top: 0; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.35; }
p, ul, ol, blockquote, figure { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* heading variants */
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 0.15em; }
.hero-line--light { font-weight: 400; }
.h3--spaced { margin-top: 2.2em; margin-bottom: 1.8em; }
.heading-tight { margin-bottom: 28px; }
.heading-small { font-family: var(--font); font-size: 1.6rem; line-height: 1.3; }

/* text utilities */
.hl { color: var(--pink); }
.lede { font-size: 1.25rem; line-height: 1.45; font-weight: 500; color: var(--navy); }
.lede--big { font-family: var(--display); font-size: 1.75rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lede--compact { font-size: 1.125rem; line-height: 1.4; }
.pull-line { margin: 1.75rem 0; } /* equal space above and below a pulled-out line inside prose */
.small { font-size: 1rem; color: var(--muted); }
.center { text-align: center; }
.link--quiet { color: inherit; text-decoration-color: var(--line); }
.link--quiet:hover { color: var(--pink); text-decoration-color: currentColor; }
.category-label { position: relative; display: inline-block; margin: 24px 0 16px; padding: 4px 0 16px; font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.category-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--line); }

/* accessibility helpers */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 720px; }
.section { padding-block: 56px; }
.section--cream { background: var(--cream); }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > blockquote { max-width: var(--measure); }
.prose > .cards, .prose > .quote-cards, .prose > .voices, .prose > .cta, .prose > .center { max-width: none; }
/* In a narrow column, cards/quote-cards should still line up with the paragraph text's own
   measure instead of stretching to the full (slightly wider) wrap--narrow content width. */
.wrap--narrow.prose > .cards, .wrap--narrow.prose > .quote-cards { max-width: var(--measure); }
.prose > img { max-width: 100%; }
.prose-img { margin: 0 auto 32px; } /* a full-width image inside prose (On Sabbatical screenshot) */

/* two-column: text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split--img-narrow { grid-template-columns: 1.6fr 1fr; }
.split img { border-radius: var(--radius); width: 100%; }
.split--stretch { align-items: stretch; }
.split--stretch img { height: 100%; object-fit: cover; }
.split--fit img { height: 0; min-height: 100%; object-fit: cover; } /* must come after .split--stretch img so height: 0 wins */
.split--sticky-img img { position: sticky; top: 32px; }
.split--center { align-items: center; } /* photo keeps its own ratio; text sits vertically centred beside it */
.split--hero { align-items: stretch; }
.split--hero .prose { display: flex; flex-direction: column; }
.split--hero .prose > :last-child { margin-top: auto; }
.photo-credit { margin: 10px auto 0; font-size: 0.78rem; color: var(--muted); text-align: right; }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .split, .split--img-narrow { grid-template-columns: 1fr; gap: 24px; } .split--img-left > :first-child { order: -1; } .split--stretch img { height: auto; } .split--fit img { height: auto; min-height: 0; } .split--sticky-img img { position: static; } }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--pink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; text-decoration-color: var(--pink); }
.site-nav__social { display: flex; gap: 14px; padding-left: 8px; }
.site-nav__social img { opacity: 0.7; }
.site-nav__social a:hover img { opacity: 1; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 40px; position: relative; cursor: pointer; }
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-toggle__bar { top: 19px; }
.menu-toggle__bar::before { top: -6px; left: 0; }
.menu-toggle__bar::after { top: 6px; left: 0; }

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"] { text-underline-offset: 4px; }
  .site-nav__social { padding: 16px 0 0; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.site-footer__inner { padding-block: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.site-footer .brand { font-size: 1.1rem; margin: 0; }
.site-footer__links { margin: 0; display: flex; gap: 20px; font-size: 0.95rem; }
.site-footer__links a { color: var(--navy); text-decoration: none; }
.site-footer__links a:hover { color: var(--pink); }
.site-footer__note { margin: 0; margin-left: auto; font-size: 0.9rem; color: var(--muted); }

/* ---------- Buttons & calls to action ---------- */

.btn { display: inline-block; background: var(--pink); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: background-color 0.15s ease; }
.btn:hover { background: var(--navy); color: #fff; }
.btn--secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); padding: 10px 18px; font-size: 0.95rem; }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.cta { text-align: center; margin-top: 24px; }
.cta-gap { margin-top: 20px; }
.cta--spaced { margin-top: 56px; }
.cta-note { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Cards ---------- */

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0 0 24px; padding: 0; list-style: none; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card p + p { margin-top: 0.6em; }
.card--link { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s ease; }
.card--link:hover { border-color: var(--navy); color: inherit; }
.card--link h3 { color: var(--navy); }
/* offer cards (Strategy page pricing, Sabbaticals hub playbooks) */
.card--offer { text-align: center; padding: 32px 28px; display: flex; flex-direction: column; }
.card--offer h3 { font-size: 1.3rem; }
.card--offer p { font-size: 1rem; }
.card--offer .price { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.card--offer .btn { margin-top: 20px; align-self: center; justify-self: center; }
.cards--align { grid-template-rows: repeat(5, auto); align-items: stretch; }
.cards--align > li:has(> .card--link) { display: contents; }
.cards--align .card--offer { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
@supports not (grid-template-rows: subgrid) { .cards--align .card--offer { display: flex; flex-direction: column; } }
.cards--gap-top { margin-top: 19px; }
/* three-photo strip (Sabbaticals hub) */
.cards--photos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards--photos img { border-radius: var(--radius); }

/* ---------- Post lists (plain: no boxes, thin rules between entries) ---------- */

.post-list { list-style: none; margin: 0 0 28px; padding: 0; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 24px 0; color: inherit; text-decoration: none; }
.post-list h4 { margin: 0 0 6px; color: var(--navy); font-size: 17px; font-weight: 500; }
.post-list a:hover h4 { color: var(--pink); }
.post-list p { margin: 0; color: var(--muted); font-size: 16px; }
/* variant: list items with more than one link inside (Writing page visual summaries) */
.post-list--links li { padding: 24px 0; }
.post-list--links a { display: inline; padding: 0; }
.post-list--links h4 { margin: 0 0 6px; }
.post-list--links h4 a { color: var(--navy); text-decoration: none; }
.post-list--links h4 a:hover { color: var(--pink); }

/* ---------- Writing page ---------- */

.writing-head { margin-bottom: 40px; }
/* neuroscience intro with the small thinking figure beside it */
.neuro-intro { grid-template-columns: 1fr 120px; gap: 32px; align-items: center; margin-bottom: 8px; }
.neuro-intro__figure { width: 120px; height: auto; border-radius: 0; justify-self: end; }
.neuro-intro .prose p { color: var(--muted); font-size: 16px; } /* matches the post-list subtitle text */
@media (max-width: 767px) { .neuro-intro { grid-template-columns: 1fr; } .neuro-intro__figure { width: 96px; justify-self: start; } }

/* ---------- Steps (process flow) ---------- */

.steps-intro { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.steps-intro .lede { margin-bottom: 0; }
.steps { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 640px; counter-reset: step; }
.steps-note { max-width: 640px; margin-inline: auto; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px 22px 22px; display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; position: relative; }
.steps li::before { content: counter(step); width: 40px; height: 58px; border-radius: 8px; background: rgba(209, 0, 88, 0.12); color: var(--navy); font-weight: 600; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.steps li + li { margin-top: 28px; }
.steps li + li::after { content: ""; position: absolute; left: 41px; top: -28px; height: 28px; border-left: 2px dashed var(--line); }
.steps h3 { font-size: 1.1rem; margin: 8px 0 0.2em; color: var(--pink); }
.steps__subtitle { margin: 0 0 0.5em; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.steps p { margin: 0; font-size: 1rem; }

/* Step 6 (Strategic Partnership) is adjacent to the sprint, not part of it —
   dashed card, outlined badge, extra distance from step 5, connector line stretched to match. */
.steps li.steps__optional { margin-top: 73px; border: none; }
.steps li.steps__optional::after { height: 73px; top: -73px; }
.steps li.steps__optional::before { background: var(--line-soft); border: none; color: var(--navy); }
.steps li.steps__optional h3 { color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonial { margin: 56px auto 0; max-width: 760px; }
.testimonial + .testimonial { margin-top: 88px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--display);
  font-size: 8.25rem;
  line-height: 0.7;
  color: var(--pink);
  margin: 0 0 -54px;
}
.testimonial blockquote p { margin-bottom: 0.9em; }
.testimonial figcaption { font-size: 1.05rem; color: var(--muted); margin-top: 8px; }
.testimonial figcaption strong { display: block; color: var(--navy); margin-bottom: 0.175em; }
.testimonial--story figcaption { font-style: italic; }
.testimonial--story figcaption strong { font-style: normal; }
.testimonial figcaption.has-photo { display: flex; align-items: center; gap: 16px; }
.testimonial figcaption.has-photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--paper), 0 1px 4px rgba(0, 14, 54, 0.18); }
.testimonial figcaption.has-photo strong { margin-bottom: 0.05em; }
.testimonial figcaption.has-photo span { display: block; line-height: 1.3; }

/* video testimonials: landscape video sits above the quote; portrait video beside it */
.testimonial--video { max-width: 760px; }
.testimonial--video .video { max-width: 480px; margin-bottom: 20px; }
.testimonial--portrait { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; max-width: 760px; }
.testimonial--portrait .video { order: 1; margin: 38px 0 0; width: 100%; max-width: none; height: auto; }
@media (max-width: 767px) { .testimonial--portrait { grid-template-columns: 1fr; } .testimonial--portrait .video { order: 0; width: 100%; max-width: 240px; margin: 0 auto 24px; } }

/* anonymous quote cards (grey mark = real quotes from conversations, not testimonials) */
.quote-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote-cards li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.quote-cards blockquote { margin: 0 0 12px; font-size: 1rem; }
.quote-cards blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 5.5rem; line-height: 0.6; color: var(--pink); margin: 16px 0 -30px; }
.quote-cards figure { margin: 0; }
.quote-cards figcaption { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.quote-cards--muted blockquote::before { color: rgba(0, 14, 54, 0.22); }

/* short quotes (voices) */
.voices { list-style: none; margin: 32px auto 40px; padding: 0; max-width: 680px; }
.voices li { padding-left: 20px; border-left: 2px solid var(--line); margin-bottom: 24px; font-size: 1.05rem; }
.voices li:last-child { margin-bottom: 0; }

/* ---------- Video ---------- */

.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--cream); margin: 0 0 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--portrait { aspect-ratio: 9 / 16; max-width: 260px; }
.video--wrap { max-width: 760px; margin-inline: auto; }
.video--steps { max-width: 760px; margin-top: 80px; margin-bottom: 0; }

/* Crops a portrait video that YouTube has pillarboxed into a 16:9 frame,
   showing only the true vertical content instead of the blurred side padding. */
.video--crop-portrait iframe { inset: auto; top: 0; left: 50%; width: 316%; height: 100%; transform: translateX(-50%); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 500; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq details > div { padding: 0 0 16px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Topic / chapter lists (playbooks) ---------- */

.topic-list { list-style: none; margin: 24px 0; padding: 0; counter-reset: item; }
.topic-list li { display: flex; align-items: center; gap: 20px; counter-increment: item; margin-bottom: 22px; }
.topic-list li:last-child { margin-bottom: 0; }
.topic-list li::before { content: counter(item, decimal-leading-zero); flex: none; width: 44px; font-size: 1.5rem; font-weight: 600; line-height: 1; color: rgba(0, 14, 54, 0.3); letter-spacing: -0.02em; }
.topic-list p { margin: 0; font-size: 1.05rem; font-weight: 500; }
/* variant with a description under each title */
.topic-list--rich li { align-items: flex-start; margin-bottom: 28px; }
.topic-list--rich li::before { font-size: 2.1rem; width: 60px; line-height: 1.15; }
.topic-list--rich p { font-weight: 400; font-size: 1rem; }
.topic-list--rich .topic-list__title { font-weight: 500; font-size: 1.05rem; margin-bottom: 4px; }
/* chapters joined by a dotted line running behind small grey number tiles */
.topic-list--linked { position: relative; margin-bottom: 48px; }
.topic-list--linked::before { content: ""; position: absolute; left: 18px; top: 20px; bottom: 20px; border-left: 3px dotted rgba(0, 14, 54, 0.25); }
.topic-list--linked li { gap: 18px; }
.topic-list--linked li::before { content: counter(item); flex: none; width: 40px; height: 40px; border-radius: 8px; background: #e6e2e1; box-shadow: 0 0 0 6px var(--cream); color: var(--navy); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.topic-list--linked li > div { padding-top: 6px; }

/* ---------- People (panel, guide) ---------- */

.people { list-style: none; margin: 8px 0 24px; padding: 0; }
.people--rows li { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.people--rows li:last-child { border-bottom: 1px solid var(--line); }
.people--rows img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.people strong { display: block; }
.people p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.guide { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; max-width: 760px; margin-inline: auto; }
.guide img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.guide ul { padding-left: 1.2em; margin-bottom: 0; }
@media (max-width: 600px) { .guide { grid-template-columns: 1fr; } }

/* ---------- Self-renewal poster ---------- */

.poster { max-width: 900px; margin: 0 auto 32px; }
.poster img { width: 100%; }

/* ---------- Public conversations (Sabbaticals hub) ---------- */

.conversation { margin-bottom: 40px; max-width: var(--measure); }
.conversation h3 { margin-bottom: 16px; }
.conversation:first-of-type { margin-top: 16px; }
.conversation + .conversation { border-top: 1px solid var(--line); padding-top: 40px; }
.conversation__row { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; max-width: var(--measure); }
@media (max-width: 767px) { .conversation__row { grid-template-columns: 1fr; } }

/* ---------- Blog posts ---------- */

.post__header { padding-top: 48px; }
.post__header h1 { max-width: 20em; }
.post__date { margin: -0.2em 0 0; font-size: 0.95rem; color: var(--muted); }
.post__cover { width: 100%; max-width: 760px; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-top: 24px; }
.post__body { max-width: 720px; padding-top: 32px; padding-bottom: 32px; font-size: 17px; line-height: 1.7; }
.post__body p { margin-bottom: 1.1em; }
.post__body h2 { font-size: 1.7rem; margin-top: 1.6em; }
.post__body h3 { font-size: 1.3rem; margin-top: 1.4em; }
.post__body h4, .post__body h5, .post__body h6 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; color: var(--navy); margin: 1.6em 0 0.6em; }
.post__body figure { margin: 2em 0; }
.post__body figure img { border-radius: var(--radius); }
.post__body figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.post__body blockquote { border-left: 3px solid var(--pink); padding-left: 20px; color: var(--navy); }
.post__body img { margin: 1.5em 0; }
/* post footer: playbook callout and "read more" */
.post__more { margin-top: 32px; border-top: 1px solid var(--line); }
.post__playbook { border-top: 1px solid var(--line); padding: 40px 0 16px; }
.post__playbook h2 { margin-bottom: 28px; }
.post__playbook p:last-child { margin-bottom: 0; }

/* ---------- Mobile type & spacing ---------- */

@media (max-width: 767px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .section { padding-block: 36px; }
  .lede { font-size: 1.15rem; }
  .lede--big { font-size: 1.35rem; }
}
