/*
Theme Name: Postpartum Care with Sabrina
Description: Custom theme — Iridescent Softness identity (brand book v2.0).
  Light is soft; put it through structure and it resolves into a spectrum.
  Cool neutrals carry every surface. Iris is the one accessible accent.
  The prism gradient is decoration with a job: one per screen, never two.
Version: 3.0.3
Author: Postpartum Care with Sabrina
*/

/* Type is declared in assets/fonts/fonts.css, enqueued sitewide. */

/* === Tokens =================================================== */
:root {
  /* Core neutrals — these carry every surface */
  --mist: #f3f4f8;        /* page background */
  --veil: #fafafd;        /* cards and raised surfaces */
  --haze: #dee1ea;        /* borders, dividers, table rules. Never text */
  --ink: #191c28;         /* all body text and headlines. 15.4:1 on Mist */
  --ink-muted: #565c71;   /* secondary text, labels, captions. 6.0:1 */
  --ink-faint: #787e92;   /* metadata at 14px and above only. 3.7:1 */

  /* Prism spectrum — decoration, in gradient order */
  --iris-deep: #332fa0;   /* hover and pressed. 9.3:1 */
  --iris: #4b45c6;        /* THE accent: links, buttons, focus rings. 6.44:1 */
  --periwinkle: #7c79e8;  /* display type at 24px and above only */
  --aqua-light: #7fd3de;  /* on Ink or Night only */
  --aqua-deep: #17646f;   /* secondary accent where two are unavoidable. 6.2:1 */
  --butter: #f2c46b;      /* decoration only, never behind text */
  --petal: #e86fa8;       /* Night only */
  --petal-deep: #c4477f;  /* "don't" labels at 18px and above. 4.2:1 */

  /* Night — the footer and any inverted panel */
  --night: #101219;
  --night-surface: #171a24;
  --night-border: #2c303d;
  --chalk: #e5e7f0;       /* text on Night. 15.2:1 */
  --chalk-muted: #949aae; /* secondary text on Night. 6.7:1 */
  --peri-light: #a9a6f7;  /* the accent on Night. 8.5:1 */

  /* Hairlines — the quiet alternative to a gradient */
  --hairline: var(--haze);
  --hairline-night: var(--night-border);

  /* The prism gradient device. 100°, spectrum order. ONE PER SCREEN. */
  --prism: linear-gradient(
    100deg,
    #7c79e8 0%,
    #7fd3de 32%,
    #f2c46b 58%,
    #e86fa8 82%,
    #4b45c6 100%
  );

  /* The cool half of the spectrum. Butter and Petal go muddy when they are
     blurred over Night, so halos on dark surfaces use this instead. */
  --prism-cool: linear-gradient(100deg, #7c79e8 0%, #7fd3de 52%, #4b45c6 100%);

  /* Type */
  --font-display: 'Gambetta', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape — no sharp 90°, no blobs */
  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-panel: 22px;

  /* Motion — 220ms for state, 620ms for entrance */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 220ms var(--ease);
  --transition-enter: 620ms var(--ease);

  /* Shadows — almost never. One soft lift on hover. */
  --lift: 0 18px 28px -18px rgba(25, 28, 40, 0.22);
}

/* === Reset / base ============================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--ink); letter-spacing: -0.015em; }
p { margin: 0; }
em { font-style: italic; font-weight: 300; color: var(--iris); }
/* Periwinkle is display-only (24px+). Iris carries every small accent. */
.hero h1 em,
.section-head h2 em,
.svc-hero h1 em,
.about-hero h1 em { color: var(--periwinkle); }

/* === Buttons ================================================= */
.btn-primary, .btn-ghost, .btn-accent {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--mist); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(25,28,40,0.35); }
.btn-accent { background: var(--iris); color: var(--mist); }
.btn-primary:hover, .btn-accent:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-ghost:hover { background: rgba(25,28,40,0.05); }
.btn-text {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

/* === Eyebrows / labels ====================================== */
.eyebrow, .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--iris-deep);
}
.eyebrow-light { color: var(--haze); }
.hero-eyebrow .rule {
  width: 28px; height: 1px; background: var(--iris); display: inline-block;
}

/* === Header ================================================== */
#site-header {
  background: var(--mist);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo .ds-mark { display: block; width: auto; height: 26px; }
.logo-text { line-height: 1; }
.logo-name {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 19px; letter-spacing: 0.04em; color: var(--ink);
}
.logo-sub {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--iris); margin-top: 3px;
}
#site-navigation ul {
  list-style: none; display: flex; gap: 32px; align-items: center;
  margin: 0; padding: 0;
}
#site-navigation a {
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); opacity: 0.85;
}
#site-navigation a:hover { opacity: 1; color: var(--iris); }
.header-cta {
  background: var(--ink); color: var(--mist);
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.25em; text-transform: uppercase;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* === Hero ==================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--mist);
  padding: 80px 56px 110px;
}
/* Halo — the page's one prism device. Blurred spectrum, bleeding off an
   edge, behind content, never centred behind text. */
.halo {
  position: absolute; border-radius: 50%;
  background: var(--prism);
  pointer-events: none; z-index: 0;
}
.halo--hero {
  right: -170px; top: -130px;
  width: 540px; height: 540px;
  filter: blur(74px); opacity: 0.30;
}
.hero-content { position: relative; max-width: 1080px; margin: 0 auto; }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--font-display); font-size: 92px; line-height: 0.96;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 0; max-width: 940px;
}
.hero-sub {
  font-family: var(--font-display); font-size: 22px; line-height: 1.45;
  color: rgba(25,28,40,0.8); margin-top: 28px; max-width: 560px;
}
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-aside {
  margin-top: 72px;
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 12px;
}
.aside-rule { width: 18px; height: 1px; background: rgba(25,28,40,0.35); }

/* === About teaser =========================================== */
.about-story-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	align-items: flex-start;
}

/* === Pull quote ============================================= */
.pull-quote {
  background: var(--ink); color: var(--mist);
  padding: 90px 56px; text-align: center; position: relative;
}
.quote-rule {
  width: 88px; margin: 0 auto 56px;
  background: var(--peri-light); opacity: 0.55;
}
.pull-quote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 44px; line-height: 1.25; max-width: 900px; margin: 0 auto;
  color: var(--mist);
}
.pull-quote blockquote span { color: var(--haze); }
.pull-quote cite {
  display: block; margin-top: 26px; font-style: normal;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--haze);
}

/* === Services teaser ======================================== */
.services-teaser {
  background: var(--veil);
  padding: 100px 56px;
}
.services-teaser-header {
  max-width: 1280px; margin: 0 auto 50px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.services-teaser-header .eyebrow { margin-bottom: 16px; }
.services-teaser h2 { font-size: 60px; line-height: 1; }
.services-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: var(--mist);
  border: 1px solid rgba(25,28,40,0.12);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(25,28,40,0.10);
}
.service-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.service-num {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 30px; color: var(--iris);
}
.service-card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 32px;
  line-height: 1; letter-spacing: -0.01em; color: var(--ink);
}
.service-card p {
  font-family: var(--font-display); font-size: 17px; line-height: 1.5;
  color: rgba(25,28,40,0.75); margin: 14px 0 22px;
}
.service-includes {
  list-style: none; padding: 0; margin: 0 0 24px;
  border-top: 1px solid rgba(25,28,40,0.13);
}
.service-includes li {
  padding: 11px 0; border-bottom: 1px solid rgba(25,28,40,0.08);
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.04em;
  color: rgba(25,28,40,0.85);
  display: flex; align-items: center; gap: 10px;
}
.service-includes li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--iris);
}
.card-link {
  margin-top: auto;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink);
}

/* === Footer ================================================== */
#site-footer {
  background: var(--night); color: var(--mist);
  padding: 90px 56px 36px; position: relative; overflow: hidden;
}
.footer-wordmark {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: 0.09em; color: var(--chalk);
}
.footer-cta {
  position: relative; max-width: 1280px; margin: 0 auto;
}
.footer-cta h2 {
  font-family: var(--font-display); font-size: 76px; line-height: 1;
  color: var(--mist); max-width: 900px; margin: 22px 0 36px;
}
.footer-cta h2 em { color: var(--haze); }
.footer-grid {
  position: relative; max-width: 1280px; margin: 96px auto 0;
  padding-top: 32px; border-top: 1px solid rgba(243,244,248,0.13);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-tagline {
  font-family: var(--font-display); font-style: italic; font-size: 16px;
  color: var(--haze); margin-top: 18px; max-width: 320px;
}
.footer-col-title {
  display: block; font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--haze); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-links a {
  font-family: var(--font-display); font-size: 16px;
  color: rgba(243,244,248,0.85); padding: 4px 0; display: block;
}
.footer-links a:hover { color: var(--mist); }
.footer-bottom {
  position: relative; max-width: 1280px; margin: 40px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(222,225,234,0.7);
}
/* === Footer ticker ========================================== */
.footer-ticker {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 40px;          /* top spacing only; was "40px auto 0" */
  padding: 18px 0;
  border-top: 1px solid rgba(243,244,248,0.13);
  border-bottom: 1px solid rgba(243,244,248,0.13);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.footer-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: footer-ticker-scroll 44s linear infinite;
}
.footer-ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);   /* Switzer, like the eyebrows */
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(243,244,248,0.85);
}
/* checkmark, in the footer's remapped accent (Peri Light) */
.footer-ticker__track span::before {
  content: '✔';
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--iris);   /* resolves to --peri-light inside #site-footer */
}
@keyframes footer-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.footer-ticker:hover .footer-ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .footer-ticker__track { animation: none; white-space: normal; }
  .footer-ticker { -webkit-mask-image: none; mask-image: none; }
}
/* === fade in animation ====================================== */
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* === About page ============================================= */
.about-hero {
  background: var(--mist); padding: 80px 56px 64px;
  border-bottom: 1px solid var(--hairline);
}
.about-hero-inner { max-width: 1080px; margin: 0 auto; }
.about-hero h1 {
  font-size: 96px; line-height: 0.96; margin-top: 22px;
}
.about-hero-sub {
  font-family: var(--font-display); font-size: 22px; line-height: 1.5;
  color: rgba(25,28,40,0.75); margin-top: 28px; max-width: 600px;
}
.about-story { background: var(--mist); padding: 80px 56px 100px; }
.about-story-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}
.about-story-body p {
  font-family: var(--font-display); font-size: 19px; line-height: 1.6;
  color: rgba(25,28,40,0.85); margin-bottom: 24px;
}
.about-story-body p:last-child { margin-bottom: 0; }
.about-story-body em { color: var(--iris); }

.credentials-block { background: var(--haze); padding: 90px 56px; }
.credentials-inner { max-width: 1080px; margin: 0 auto; }
.credentials-block h2 { font-size: 56px; margin: 16px 0 48px; line-height: 1.0; }
.cred-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(25,28,40,0.18); }
.cred-list li { border-bottom: 1px solid rgba(25,28,40,0.18); }
.cred-list a {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 28px;
  padding: 22px 0; align-items: baseline;
  transition: padding-left 0.25s ease;
}
.cred-list a:hover { padding-left: 14px; }
.cred-num {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: var(--iris);
}
.cred-name {
  font-family: var(--font-display); font-size: 22px; color: var(--ink);
}
.cred-org {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink-muted);
}

/* === Services page (extra) ================================== */
.services-hero {
  background: var(--mist); padding: 80px 56px 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.halo--services {
  right: -150px; top: -110px; width: 460px; height: 460px;
  filter: blur(66px); opacity: 0.30;
}
.services-hero-inner { max-width: 760px; position: relative; }
.services-hero h1 { font-size: 76px; line-height: 1.0; margin: 22px 0 24px; }
.services-hero p {
  font-family: var(--font-display); font-size: 19px; line-height: 1.55;
  color: rgba(25,28,40,0.8); max-width: 620px;
}
.services-full { background: var(--veil); padding: 90px 56px; }
.services-full .services-grid {
  max-width: 1280px; margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.pricing-section { background: var(--ink); padding: 100px 56px; color: var(--mist); }
.pricing-inner { max-width: 1080px; margin: 0 auto; }
.pricing-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.pricing-header h2 {
  color: var(--mist); font-size: 64px; line-height: 1.0; margin: 16px 0 22px;
}
.pricing-header h2 em { color: var(--haze); }
.pricing-header p {
  font-family: var(--font-display); font-size: 19px; line-height: 1.55;
  color: rgba(243,244,248,0.75);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 760px; margin: 0 auto;
}
.price-card {
  background: rgba(243,244,248,0.06);
  border: 1px solid rgba(243,244,248,0.14);
  padding: 36px 32px; text-align: center;
}
/* Iris is only 2.8:1 on Ink. On dark surfaces Peri Light is the accent. */
.price-card--accent { border-color: var(--peri-light); background: rgba(169,166,247,0.09); }
.price-tier {
  display: block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--haze); margin-bottom: 18px;
}
.price-amount {
  font-family: var(--font-display); font-size: 64px; font-weight: 400;
  color: var(--mist); line-height: 1;
}
.price-card--accent .price-amount { color: var(--peri-light); }
.price-unit {
  font-family: var(--font-display); font-style: italic; font-size: 16px;
  color: var(--haze); display: block; margin-top: 6px;
}
.price-note {
  font-family: var(--font-display); font-size: 15px; line-height: 1.55;
  color: rgba(243,244,248,0.65); margin-top: 18px;
}
.pricing-cta { text-align: center; margin-top: 44px; }

.services-bottom-cta {
  background: var(--veil); padding: 70px 56px; text-align: center;
  border-top: 1px solid var(--hairline);
}
.services-bottom-cta p {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: rgba(25,28,40,0.7); margin-bottom: 24px;
}

/* === Contact page =========================================== */
.contact-page { background: var(--mist); padding: 90px 56px 100px; }
.contact-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.contact-left h1 { font-size: 80px; line-height: 1.0; margin-top: 22px; }
.contact-lead {
  font-family: var(--font-display); font-size: 22px; color: rgba(25,28,40,0.75);
  margin: 24px 0 44px; max-width: 360px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 44px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding-top: 20px; border-top: 1px solid var(--hairline);
}
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(75,69,198,0.4); border-radius: 50%;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label {
  display: block; font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--iris-deep); margin-bottom: 4px;
}
.contact-value {
  display: block; font-family: var(--font-display); font-size: 19px;
  color: var(--ink);
}
.availability-box {
  background: var(--haze); padding: 28px 30px;
  border-left: 3px solid var(--iris);
}
.availability-box .eyebrow { margin-bottom: 12px; }
.availability-box p {
  font-family: var(--font-display); font-size: 16px; line-height: 1.55;
  color: rgba(25,28,40,0.85); margin: 0;
}

.contact-form-wrap {
  background: var(--veil); padding: 48px 44px;
  border: 1px solid var(--hairline);
}
.contact-form-wrap h2 {
  font-size: 38px; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--hairline);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--iris-deep); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; background: var(--mist);
  border: 1px solid rgba(25,28,40,0.2); border-radius: 2px;
  font-family: var(--font-display); font-size: 16px; color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--iris);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; border: 0; cursor: pointer; margin-top: 6px; }
.form-note {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: var(--ink-muted); text-align: center; margin-top: 16px;
}

/* === FAQ page ============================================== */
.faq-page {
  background: var(--ink); color: var(--mist);
  padding: 100px 56px 120px; min-height: 80vh;
}
.faq-page h1, .faq-page h2 { color: var(--mist); }
.faq-header { max-width: 720px; margin-bottom: 72px; }
.faq-header h1 { font-size: 80px; line-height: 1.0; margin: 22px 0 22px; }
.faq-header h1 em { color: var(--haze); }
.faq-header p {
  font-family: var(--font-display); font-size: 19px; line-height: 1.55;
  color: rgba(243,244,248,0.7); max-width: 540px;
}
.faq-list { max-width: 880px; }
.faq-item { border-top: 1px solid rgba(243,244,248,0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(243,244,248,0.15); }
.faq-trigger {
  width: 100%; background: none; border: 0; cursor: pointer;
  padding: 28px 0; display: grid;
  grid-template-columns: 56px 1fr 36px; gap: 20px; align-items: center;
  text-align: left; color: var(--mist);
}
.faq-num {
  font-family: var(--font-display); font-style: italic; font-size: 20px;
  color: var(--iris);
}
.faq-q {
  font-family: var(--font-display); font-size: 24px; line-height: 1.3;
  color: var(--mist); transition: color 0.2s;
}
.faq-item.open .faq-q { color: var(--haze); }
.faq-icon {
  width: 32px; height: 32px; border: 1px solid rgba(222,225,234,0.4);
  border-radius: 50%; position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.faq-item.open .faq-icon { background: rgba(75,69,198,0.18); border-color: var(--iris); }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--haze);
  transition: transform 0.3s, opacity 0.3s;
}
.faq-icon::before { width: 11px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-icon::after { width: 1.5px; height: 11px; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-item.open .faq-body { max-height: 600px; }
.faq-a {
  font-family: var(--font-display); font-size: 17px; line-height: 1.65;
  color: rgba(243,244,248,0.78); padding: 0 56px 32px 76px;
}
.faq-a strong { color: var(--mist); font-weight: 500; }
.faq-cta {
  max-width: 880px; margin-top: 64px; padding-top: 44px;
  border-top: 1px solid rgba(222,225,234,0.18);
}
.faq-cta p {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: rgba(243,244,248,0.7); margin-bottom: 24px;
}

/* === Resources page ======================================== */
.resources-page { background: var(--mist); }
.resources-hero {
  background: var(--ink); padding: 100px 56px 90px;
  text-align: center; position: relative; overflow: hidden;
  color: var(--mist);
}
.halo--resources {
  right: -150px; bottom: -170px; width: 460px; height: 460px;
  filter: blur(70px); opacity: 0.46;
  background: var(--prism-cool); /* sits on Night */
}
.resources-hero h1 {
  color: var(--mist); font-size: 76px; line-height: 1.0;
  margin: 22px 0 28px; position: relative;
}
.resources-hero h1 em { color: var(--haze); }
.resources-hero p {
  font-family: var(--font-display); font-size: 19px; line-height: 1.55;
  color: rgba(243,244,248,0.7); max-width: 540px; margin: 0 auto;
  position: relative;
}
.eyebrow-light .rule-light { background: var(--haze); }
.resources-main {
  max-width: 1180px; margin: 0 auto; padding: 90px 56px;
}
.resources-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.resource-card {
  background: var(--veil);
  border: 1px solid rgba(25,28,40,0.12);
  padding: 30px 28px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.resource-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--iris);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(25,28,40,0.10); }
.resource-card:hover::before { transform: scaleX(1); }
.rc-role {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--iris-deep); margin-bottom: 8px;
}
.rc-name {
  font-family: var(--font-display); font-weight: 500; font-size: 26px;
  color: var(--ink); line-height: 1.15; margin-bottom: 14px;
}
.rc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.rc-tag {
  font-family: var(--font-body); font-size: 9px;
  letter-spacing: 0.1em; padding: 4px 9px;
  background: rgba(25,28,40,0.07); color: var(--ink);
}
.rc-blurb {
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; line-height: 1.55;
  color: rgba(25,28,40,0.78); flex: 1; margin-bottom: 22px;
}
.rc-footer {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid rgba(25,28,40,0.13);
}
.rc-link {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink);
}
.rc-phone {
  display: block; padding-left: 19px; margin-top: 4px;
  font-family: var(--font-body); font-size: 11px;
  color: var(--ink-muted);
}
.resources-cta {
  max-width: 1100px; margin: 0 auto; padding: 60px 56px 100px;
  text-align: center; border-top: 1px solid var(--hairline);
}
.resources-cta p {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: rgba(25,28,40,0.65); margin-bottom: 26px;
}

/* === Generic page / 404 / single / journal =================== */
.generic-page { background: var(--veil); padding: 100px 56px; }
.generic-page-inner { max-width: 760px; margin: 0 auto; }
.generic-page h1 { font-size: 56px; line-height: 1.0; margin: 22px 0 36px; }
.generic-page-content {
  font-family: var(--font-display); font-size: 18px; line-height: 1.7;
  color: rgba(25,28,40,0.85);
}
.generic-page-content p { margin-bottom: 22px; }
.generic-page-content a { color: var(--iris); border-bottom: 1px solid rgba(75,69,198,0.4); }

.four-oh-four {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  background: var(--mist); padding: 100px 56px; text-align: center;
  position: relative; overflow: hidden;
}
/* The 404 halo sits low and left so it never washes out the message. */
.halo--404 {
  left: -150px; bottom: -240px; width: 400px; height: 400px;
  filter: blur(70px); opacity: 0.22;
}
.four-oh-four-inner { position: relative; }
.four-oh-four-num {
  font-family: var(--font-display); font-size: 160px; font-weight: 300;
  /* Haze on Mist is 1.19:1. Even a decorative numeral should clear the 3:1 large-text bar. */
  color: #8785d5; display: block; line-height: 1;
}
.four-oh-four h1 { font-size: 56px; margin: 18px 0 22px; }
.four-oh-four p {
  font-family: var(--font-display); font-size: 19px;
  color: rgba(25,28,40,0.7); margin-bottom: 36px;
}

/* Journal listing */
.journal-page { background: var(--mist); padding: 100px 56px; }
.journal-header { max-width: 720px; margin-bottom: 56px; }
.journal-header h1 { font-size: 76px; line-height: 1.0; margin: 22px 0 22px; }
.journal-header p {
  font-family: var(--font-display); font-size: 19px;
  color: rgba(25,28,40,0.7); max-width: 540px;
}
.cat-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px;
  max-width: 1180px;
}
.cat-pill {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 9px 18px; border: 1px solid rgba(25,28,40,0.25);
  color: rgba(25,28,40,0.8); border-radius: 999px;
  transition: all 0.2s;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--iris); color: var(--iris);
  background: rgba(75,69,198,0.06);
}
.journal-grid {
  max-width: 1280px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.journal-card {
  background: var(--veil); border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.journal-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(25,28,40,0.08); }
.journal-card-img {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--mist);
}
.journal-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.journal-card:hover .journal-card-img img { transform: scale(1.04); }
/* Placeholder panels match the about-page portrait treatment: a quiet Mist
   surface with a small monochrome mark. Not a logo lockup, and no gradient —
   the page spends its one prism device on the hero. */
.journal-card-img--placeholder {
  background: var(--mist);
  border-bottom: 1px solid var(--hairline);
}
.journal-card-img--placeholder svg { width: auto; height: 34px; opacity: 0.3; }
.journal-card-body { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.journal-cat {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--iris-deep);
  display: block; margin-bottom: 12px;
}
.journal-title {
  font-family: var(--font-display); font-size: 26px; line-height: 1.2;
  color: var(--ink); margin-bottom: 12px;
}
.journal-title a { color: inherit; }
.journal-title a:hover { color: var(--iris); }
.journal-excerpt {
  font-family: var(--font-display); font-size: 16px; line-height: 1.6;
  color: rgba(25,28,40,0.7); flex: 1; margin-bottom: 22px;
}
.journal-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hairline); padding-top: 14px;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em;
  /* 60% Ink over Veil lands at 4.41:1 — just under AA for 11px text. */
  color: var(--ink-muted);
}
.journal-read-more {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); transition: color 0.2s;
}
.journal-read-more:hover { color: var(--iris); }
.journal-pagination { margin-top: 64px; max-width: 1280px; text-align: center; }
.journal-pagination .nav-links { display: inline-flex; gap: 6px; }
.journal-pagination a, .journal-pagination span {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.2em;
  padding: 11px 18px; border: 1px solid rgba(25,28,40,0.2);
  color: var(--ink);
}
.journal-pagination a:hover { border-color: var(--iris); color: var(--iris); }
.journal-pagination .current { background: var(--ink); color: var(--mist); border-color: var(--ink); }
.journal-empty { padding: 80px 0; text-align: center; }
.journal-empty p { font-family: var(--font-display); font-size: 18px; color: var(--ink-muted); }

/* Single post */
.post-hero {
  background: var(--ink); color: var(--mist);
  padding: 100px 56px 70px; position: relative; overflow: hidden;
}
.post-hero-inner { max-width: 800px; position: relative; }
.post-meta-row {
  display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
}
.post-cat {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--haze);
}
.post-meta-divider {
  width: 1px; height: 14px; background: rgba(222,225,234,0.3); display: inline-block;
}
.post-date {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.25em;
  color: rgba(243,244,248,0.6);
}
.post-hero h1 { color: var(--mist); font-size: 60px; line-height: 1.05; }
.post-excerpt {
  font-family: var(--font-display); font-style: italic; font-size: 20px;
  line-height: 1.55; color: rgba(243,244,248,0.78); margin-top: 22px;
}
.post-feature-img {
  max-width: 920px; margin: -36px auto 0; padding: 0 56px;
  position: relative; z-index: 3;
}
.post-feature-img img { width: 100%; height: auto; display: block; }
.post-section { background: var(--veil); padding: 80px 56px; }
.post-layout {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: start;
}
.post-content {
  font-family: var(--font-display); font-size: 18px; line-height: 1.7;
  color: rgba(25,28,40,0.9);
}
.post-content p { margin-bottom: 22px; }
.post-content h2 {
  font-family: var(--font-display); font-size: 36px; margin: 48px 0 18px;
}
.post-content h3 {
  font-family: var(--font-display); font-size: 26px; margin: 36px 0 14px;
}
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--iris);
  padding: 16px 28px; margin: 36px 0;
  background: var(--mist);
  font-style: italic; font-size: 20px; color: var(--ink);
}
.post-content a { color: var(--iris); border-bottom: 1px solid rgba(75,69,198,0.35); }
.post-content a:hover { border-color: var(--iris); }
.post-content img { max-width: 100%; height: auto; margin: 28px 0; }

.post-tags {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.post-tags-label {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--iris-deep); margin-right: 8px;
}
.post-tag {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 6px 14px;
  border: 1px solid rgba(25,28,40,0.2); color: rgba(25,28,40,0.75);
  transition: all 0.2s;
}
.post-tag:hover { border-color: var(--iris); color: var(--iris); }

.post-nav {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(25,28,40,0.13);
}
.post-nav-link {
  background: var(--mist); padding: 26px 28px;
  display: block; transition: background 0.2s;
}
.post-nav-link:hover { background: var(--veil); }
.post-nav-link--right { text-align: right; }
.post-nav-label {
  display: block; font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--iris-deep); margin-bottom: 8px;
}
.post-nav-title {
  display: block; font-family: var(--font-display); font-size: 18px;
  color: var(--ink);
}

.post-sidebar { display: flex; flex-direction: column; gap: 16px; }
.post-side-card {
  background: var(--mist); border: 1px solid var(--hairline);
  padding: 28px;
}
.post-side-card p {
  font-family: var(--font-display); font-size: 15px; line-height: 1.6;
  margin: 14px 0 18px; color: rgba(25,28,40,0.8);
}
/* Declared after the base rule so the dark variant actually wins. */
.post-side-card--dark { background: var(--ink); border-color: var(--night); color: var(--mist); }
.post-side-card--dark p, .post-side-card--dark a { color: var(--chalk); }
.post-side-link {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--haze);
  border-bottom: 1px solid rgba(222,225,234,0.4); padding-bottom: 3px;
}
.post-cat-list { list-style: none; padding: 0; margin: 14px 0 0; }
.post-cat-list li { border-bottom: 1px solid var(--hairline); }
.post-cat-list a {
  display: flex; justify-content: space-between; padding: 9px 0;
  font-family: var(--font-body); font-size: 12px; color: rgba(25,28,40,0.85);
}
.post-cat-list a:hover { color: var(--iris); }
.post-cat-list a span { color: var(--iris); font-size: 11px; letter-spacing: 0.1em; }
.post-side-card--cta { background: var(--haze); border-color: rgba(75,69,198,0.3); }
.post-side-card--cta p { color: rgba(25,28,40,0.8); }
.post-side-card--cta .btn-primary { display: block; text-align: center; margin-top: 8px; }

/* === Accent on dark surfaces ==================================
   Iris measures 2.8:1 against Ink and Night, so it cannot carry text there.
   Rather than duplicate every rule, the dark regions remap the token itself:
   inside them --iris resolves to Peri Light (8.5:1) and --iris-deep to a
   lighter tint for hover. Everything downstream stays correct for free. */
.pull-quote,
.pricing-section,
.faq-page,
.resources-hero,
.post-hero,
.post-side-card--dark,
#site-footer {
  --iris: var(--peri-light);
  --iris-deep: #c2c0fa;
}
/* Halos on dark surfaces use the cool ramp. */
.pull-quote .halo,
.pricing-section .halo,
.faq-page .halo,
.resources-hero .halo,
.post-hero .halo,
#site-footer .halo { background: var(--prism-cool); }

/* A filled accent flips its text colour to match. */
.pull-quote .btn-accent,
.pricing-section .btn-accent,
.faq-page .btn-accent,
.resources-hero .btn-accent,
.post-hero .btn-accent,
.post-side-card--dark .btn-accent,
#site-footer .btn-accent {
  background: var(--peri-light); color: var(--night);
}
.pull-quote .btn-accent:hover,
.pricing-section .btn-accent:hover,
.faq-page .btn-accent:hover,
.resources-hero .btn-accent:hover,
.post-hero .btn-accent:hover,
.post-side-card--dark .btn-accent:hover,
#site-footer .btn-accent:hover {
  background: #c2c0fa; color: var(--night);
}

/* === Brand devices (brand book v2.0 §08) ======================
   One device per screen. The mark and the footer watermark are exempt.
   When in doubt use the hairline stack instead — most screens should. */

/* Hairline stack — the quiet default */
.hairline-rule { height: 1px; background: var(--haze); border: 0; margin: 0; }
.hairline-rule--night { background: var(--night-border); }

/* Prism rule — a 2px spectrum line. Section openers only. */
.prism-rule {
  height: 2px; border: 0; margin: 0;
  background: var(--prism); border-radius: var(--radius-pill);
}
.prism-rule--short { width: 88px; }

/* Prism dot tag — pill plus one 8px spectrum dot. Max three in a row. */
.prism-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--haze); border-radius: var(--radius-pill);
  background: var(--veil);
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.prism-tag::before {
  content: ''; flex: none; width: 8px; height: 8px;
  border-radius: 50%; background: var(--prism);
}

/* Prism word — one gradient-filled word per page, hero only, 32px+.
   Never on French copy where accents sit above the cap line. */
.prism-word {
  background: var(--prism);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Refraction diagram — the mark geometry as illustration */
.ds-diagram { width: auto; }

/* The mark never gets stretched by a container */
.ds-mark { width: auto; flex: none; }
/* A placeholder is not a logo lockup. Keep the mark small and quiet so a grid of
   them reads as texture rather than three repeated signatures. */
/* === Responsive ============================================== */
@media (max-width: 900px) {
  .header-inner { padding: 16px 24px; gap: 16px; }
  #site-navigation, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
  .hero { padding: 56px 24px 80px; }
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 18px; }
  .halo--hero { width: 300px; height: 300px; right: -110px; top: -40px; filter: blur(52px); opacity: 0.30; }
  .about-teaser, .pull-quote, .services-teaser, #site-footer { padding-left: 24px; padding-right: 24px; }
  .about-teaser-grid { grid-template-columns: 1fr; gap: 32px; }
  .pull-quote blockquote { font-size: 28px; }
  .services-teaser h2, .about-teaser h2, .footer-cta h2 { font-size: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-teaser-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .about-hero { padding: 56px 24px 40px; }
  .about-hero h1 { font-size: 56px; }
  .about-hero-sub { font-size: 18px; }
  .about-story { padding: 56px 24px 64px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-story-body p { font-size: 17px; }
  .credentials-block { padding: 56px 24px; }
  .credentials-block h2 { font-size: 36px; }
  .cred-list a { grid-template-columns: 32px 1fr; gap: 16px; }
  .cred-org { grid-column: 2; font-size: 10px; margin-top: 4px; }

  .services-hero { padding: 56px 24px 40px; }
  .services-hero h1 { font-size: 44px; }
  .services-hero p { font-size: 17px; }
  .halo--services { width: 280px; height: 280px; right: -110px; top: -80px; filter: blur(48px); opacity: 0.28; }
  .services-full { padding: 56px 24px; }
  .services-full .services-grid { grid-template-columns: 1fr; }
  .pricing-section { padding: 64px 24px; }
  .pricing-header h2 { font-size: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 50px; }

  .contact-page { padding: 56px 24px 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-left h1 { font-size: 50px; }
  .contact-form-wrap { padding: 32px 24px; }
  .contact-form-wrap h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .faq-page { padding: 64px 24px 80px; }
  .faq-header h1 { font-size: 50px; }
  .faq-trigger { grid-template-columns: 36px 1fr 30px; gap: 14px; padding: 22px 0; }
  .faq-q { font-size: 18px; }
  .faq-a { font-size: 15px; padding: 0 0 24px 50px; }

  .resources-hero { padding: 64px 24px 56px; }
  .resources-hero h1 { font-size: 48px; }
  .halo--resources { width: 300px; height: 300px; right: -120px; bottom: -140px; filter: blur(52px); opacity: 0.36; }
  .resources-main { padding: 56px 24px; }
  .resources-grid { grid-template-columns: 1fr; }
  .resources-cta { padding: 48px 24px 80px; }

  .four-oh-four { padding: 80px 24px; }
  .four-oh-four-num { font-size: 100px; }
  .four-oh-four h1 { font-size: 36px; }
  .halo--404 { width: 280px; height: 280px; left: -130px; bottom: -190px; filter: blur(52px); }

  .journal-page { padding: 56px 24px; }
  .journal-header h1 { font-size: 48px; }
  .journal-grid { grid-template-columns: 1fr; }

  .post-hero { padding: 64px 24px 56px; }
  .post-hero h1 { font-size: 38px; }
  .post-feature-img { padding: 0 24px; }
  .post-section { padding: 56px 24px; }
  .post-layout { grid-template-columns: 1fr; gap: 48px; }
  .post-sidebar { order: -1; }
  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .resources-grid, .journal-grid, .services-full .services-grid { grid-template-columns: repeat(2, 1fr); }
}
