/* Bedrock Minds — bedrockminds.ca (WordPress block theme)
   Slate + stone, with a hi-vis amber accent taken from the crew photos.
   Carried over from the static site; WordPress block markup is mapped at the end. */

/* Self-hosted variable fonts, latin subset (SIL Open Font License, see assets/fonts) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --slate-900: #172226;
  --slate-800: #1f2d32;
  --slate-700: #2c3e44;
  --slate-500: #5b6f75;
  --stone-50: #faf8f4;
  --stone-100: #f3efe7;
  --stone-200: #e6e0d4;
  --stone-300: #d4ccbc;
  --ink: #1b2427;
  --ink-soft: #46555a;
  --amber: #e8a317;
  --amber-deep: #8a5c00;
  --green: #3e7339;
  --yellow: #d9b627;
  --orange: #a3500f;
  --red: #b8412f;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(23, 34, 38, .06), 0 8px 24px rgba(23, 34, 38, .08);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--slate-700); text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--slate-900);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--slate-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--amber); border-radius: 2px; }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--slate-900); }
.btn-primary:hover { background: #f2b52e; color: var(--slate-900); }
.btn-ghost { border-color: var(--slate-700); color: var(--slate-800); background: transparent; }
.btn-ghost:hover { background: var(--slate-800); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-light:hover { background: #fff; color: var(--slate-900); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--stone-200);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate-900); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--amber-deep); }
/* menu and quote button: see "Header" under WordPress block markup below */
@media (max-width: 420px) {
  .brand-name { font-size: 1.05rem; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; border-bottom: 1px solid var(--stone-200); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 span, .hero h1 mark { display: block; color: var(--slate-500); background: none; }
.hero .lede { margin: 18px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px; max-width: 250px;
  background: var(--slate-900); color: #fff; border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); font-size: .92rem; line-height: 1.45;
}
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--amber); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-badge { left: 14px; bottom: 14px; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.alt { background: var(--stone-100); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.dark { background: var(--slate-900); color: #dfe6e7; }
.dark h2, .dark h3 { color: #fff; }
.dark .lede { color: #b9c6c8; }
.dark .eyebrow { color: var(--amber); }

/* Problem cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(23,34,38,.04);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--stone-100); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--slate-700); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* 4C */
.pathway-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.step-num { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--amber); color: var(--slate-900); font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; }
.step h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.step p { margin: 0; color: #b9c6c8; font-size: .97rem; }
.pathway-figure { margin: 0; }
.pathway-figure img { border-radius: var(--radius); background: #fff; }
.pathway-figure figcaption { font-size: .88rem; color: #9fb0b3; margin-top: 10px; }
@media (max-width: 900px) { .pathway-grid { grid-template-columns: 1fr; } }

/* Zones */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; }
.zone { padding: 22px 20px 24px; color: #fff; }
.zone .zone-name { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.zone p { font-size: .93rem; opacity: .95; line-height: 1.5; display: block; }
.z1 { background: var(--green); }
.z2 { background: var(--yellow); color: var(--slate-900); }
.z3 { background: var(--orange); }
.z4 { background: var(--red); }
@media (max-width: 760px) { .zones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .zones { grid-template-columns: 1fr; } }

/* Format / streams */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: -1; } }

.streams { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.stream { background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 28px; position: relative; }
.stream.featured { border: 2px solid var(--slate-800); }
.stream-tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--stone-100); color: var(--slate-700); margin-bottom: 14px; }
.stream.featured .stream-tag { background: var(--slate-800); color: #fff; }
.stream h3 { font-size: 1.4rem; margin-bottom: 4px; }
.stream .who { color: var(--ink-soft); margin-bottom: 18px; }
.stream dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .97rem; }
.stream dt { font-weight: 600; color: var(--slate-800); }
.stream dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 780px) { .streams { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--slate-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a317' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Practical day gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(23,34,38,.82); color: #fff; font-size: .88rem; line-height: 1.4;
  padding: 9px 12px; border-radius: var(--radius-sm);
}
@media (max-width: 780px) { .gallery { grid-template-columns: 1fr; } .gallery .tall { grid-row: auto; } }

.day-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
.day-list li { border-top: 3px solid var(--stone-300); padding-top: 12px; }
.day-list strong { display: block; font-family: var(--font-head); color: var(--slate-900); margin-bottom: 2px; }
.day-list li { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 680px) { .day-list { grid-template-columns: 1fr; } }

/* Standard band */
.standard { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.standard .note { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 24px; font-size: .95rem; color: #c3cfd1; }
.standard .note strong { color: #fff; }
.dark .ticks li::before { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172226' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .standard { grid-template-columns: 1fr; } }

/* Who it's for */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience .card { padding: 22px; }
.audience h3 { font-size: 1.05rem; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }

/* Booking steps */
.booking { counter-reset: b; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.booking li { counter-increment: b; background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 24px 22px; }
.booking li::before { content: counter(b, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--stone-300); line-height: 1; margin-bottom: 14px; }
.booking strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--slate-900); margin-bottom: 6px; }
.booking li { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .booking { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--stone-300); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--slate-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 3px solid var(--amber-deep); border-bottom: 3px solid var(--amber-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--ink-soft); padding-right: 44px; }

/* CTA */
.cta { background: var(--slate-800); color: #dfe6e7; border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; opacity: .08;
  background: repeating-linear-gradient(0deg, #fff 0 14px, transparent 14px 30px);
  border-radius: 50%;
}
.cta h2 { color: #fff; }
.cta p { color: #b9c6c8; }
.cta-actions { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta-actions .btn { width: 100%; }
.cta-contact { font-size: .95rem; color: #b9c6c8; margin-top: 6px; }
.cta-contact a { color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Quote form */
.cta-form { grid-template-columns: .8fr 1.2fr; align-items: start; }
.cta-form .cta-actions { margin-top: 24px; max-width: 340px; }
.quote-form { position: relative; z-index: 1; background: var(--stone-50); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.quote-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: .92rem; font-weight: 600; color: var(--slate-800); }
.quote-form label > input:not([type="checkbox"]), .quote-form label > select, .quote-form label > textarea { flex-basis: 100%; }
.quote-form .req { font-weight: 500; font-size: .78rem; color: var(--ink-soft); }
.quote-form input:not([type="checkbox"]), .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--stone-300); border-radius: var(--radius-sm); background: #fff;
}
.quote-form textarea { resize: vertical; min-height: 88px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(232,163,23,.45); outline-offset: 1px; border-color: var(--amber-deep); }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.qf-streams { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.qf-streams legend { font-size: .92rem; font-weight: 600; color: var(--slate-800); margin-bottom: 8px; padding: 0; }
.quote-form .qf-streams label, .quote-form .qf-optin { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; font-weight: 500; }
.quote-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--amber-deep); flex: none; }
.quote-form .qf-optin { font-size: .88rem; color: var(--ink-soft); }
.quote-form .btn { width: 100%; }
.quote-form .qf-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.quote-form .qf-note a { color: var(--slate-800); }
.qf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .cta-form { grid-template-columns: 1fr; } .cta-form .cta-actions { max-width: none; } }
@media (max-width: 560px) { .qf-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--slate-900); color: #9fb0b3; padding: 56px 0 40px; font-size: .92rem; }
.site-footer a { color: #dfe6e7; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.foot-grid h4, .foot-grid .foot-title { color: #fff; font-size: .95rem; margin: 0 0 12px; letter-spacing: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.crisis { background: rgba(232,163,23,.12); border: 1px solid rgba(232,163,23,.35); color: #f3dcae; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 28px; }
.crisis strong { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .84rem; line-height: 1.6; color: #84979a; }
.legal p { margin-bottom: .7em; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name span { color: var(--amber); }

/* ---------- WordPress block markup ---------- */

/* Core blocks bring their own margins; the design sets its own. */
.wp-block-image, .wp-block-image figure { margin: 0; }
.wp-block-image img { border-radius: inherit; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-post-content > :last-child, .wp-block-group > :last-child { margin-bottom: 0; }

/* Button block styles: Amber / Outline / Outline (dark background) */
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.6;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap; background: var(--amber); color: var(--slate-900);
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); background: #f2b52e; color: var(--slate-900); }
.wp-block-button.is-style-ghost .wp-block-button__link { border-color: var(--slate-700); color: var(--slate-800); background: transparent; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--slate-800); color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--slate-900); }

/* Header: menu (Navigation block) plus the quote button */
.site-header .nav { display: flex; align-items: center; gap: 26px; }
.nav-links .wp-block-navigation__container { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--slate-900); }
.site-header .nav .wp-block-button__link { padding: 10px 18px; font-size: .94rem; }
@media (max-width: 1040px) { .nav-links { display: none; } }
@media (max-width: 420px) {
  .site-header .wrap { gap: 8px; }
  .site-header .nav { gap: 8px; }
  .site-header .nav .wp-block-button__link { padding: 8px 12px; font-size: .82rem; }
  .site-header .brand { gap: 8px; }
  .site-header .brand svg { width: 28px; height: 28px; }
  .brand-name { white-space: nowrap; }
}

/* Mobile and tablet menu (details/summary, no script) */
.mnav { display: none; position: relative; }
@media (max-width: 1040px) { .mnav { display: block; } }
.mnav summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--stone-300); border-radius: 12px; background: #fff;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; fill: none; stroke: var(--slate-800); stroke-width: 2; stroke-linecap: round; }
.mnav[open] summary { background: var(--stone-100); }
.mnav nav {
  position: absolute; right: 0; top: 54px; min-width: 250px; z-index: 60;
  background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
}
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--slate-800); font-weight: 500; }
.mnav a:hover { background: var(--stone-100); color: var(--slate-900); }

/* Hero */
.hero-media .wp-block-image img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge p { margin: 0; }
.hero-facts { margin-top: 34px; }

/* Cards, steps, zones, streams */
.card h3 { margin-top: 0; }
.step .step-num { margin: 0; color: var(--slate-900); font-size: 1.35rem; line-height: 1; }
.step h3 { margin: 2px 0 4px; }
.pathway-figure img { border-radius: var(--radius); }
.pathway-figure figcaption { margin: 10px 0 0; text-align: left; }
.zone p { margin: 0; }
.zone .zone-name { color: inherit; font-weight: 700; }
.stream .stream-tag { margin-bottom: 14px; }
.stream-dl { display: grid; gap: 10px; font-size: .97rem; }
.stream-dl p { display: grid; grid-template-columns: 5.6em 1fr; gap: 18px; margin: 0; color: var(--ink-soft); }
.stream-dl strong { font-weight: 600; color: var(--slate-800); }
.split .wp-block-image img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Practical day */
.gallery .wp-block-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery .wp-block-image figcaption { margin: 0; text-align: left; }

/* FAQ (Details blocks) */
.faq .wp-block-details { margin: 0; }
.faq .wp-block-details p { margin-top: 0; }

/* Quote section */
.cta-actions .wp-block-buttons, .cta-actions .wp-block-button, .cta-actions .wp-block-button__link { width: 100%; }
.cta .wp-block-shortcode { position: relative; z-index: 1; }

/* Footer */
.site-footer .foot-grid h4 { margin-top: 0; }
.site-footer .wp-block-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .wrap > .crisis { margin-top: 0; }

/* Inner pages (privacy, thanks, articles) */
.page-body { max-width: 780px; }
.page-body h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-body .wp-block-post-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page-body .wp-block-post-content h3 { margin-top: 1.4em; }

/* ---------- Inner pages ---------- */

/* Breadcrumbs (Rank Math) */
.crumbs { background: var(--stone-50); border-bottom: 1px solid var(--stone-200); font-size: .88rem; color: var(--ink-soft); }
.crumbs .wrap { padding-top: 12px; padding-bottom: 12px; }
.crumbs .rank-math-breadcrumb p { margin: 0; }
.crumbs a { color: var(--slate-700); text-decoration: underline; text-decoration-color: var(--stone-300); text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-color: var(--amber-deep); }
.crumbs .separator { margin: 0 6px; color: var(--stone-300); }
.crumbs .last { color: var(--ink-soft); }
.crumbs + .page-hero, .crumbs + .wp-block-post-content > .page-hero:first-child { border-top: 0; }

/* Page hero (landing pages and Resources) */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); background: var(--stone-100); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; }
.page-hero .lede { margin: 16px 0 26px; }
.page-hero .wp-block-buttons:last-child { margin-bottom: 0; }

/* Longer text inside landing sections */
.prose { max-width: 760px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.section-head + .prose { margin-top: -8px; }
.dark .prose a, .dark .note-box a { color: #fff; }
.split + .prose, .cards-3 + .prose, .prose + .cards-3, .audience + .prose, .prose + .ticks { margin-top: 28px; }
.cards-3 + .ticks, .cards-3 + .wp-block-buttons, .ticks + .wp-block-buttons, .prose + .wp-block-buttons { margin-top: 28px; }

/* Note box */
.note-box { background: #fff; border: 1px solid var(--stone-200); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.4em 0; }
.note-box p { color: var(--ink-soft); }
.note-box p:last-child { margin-bottom: 0; }
.dark .note-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); border-left-color: var(--amber); }
.dark .note-box p { color: #c3cfd1; }

/* Sources list */
.sources-title { font-size: 1rem; margin-top: 2em; }
.sources { font-size: .88rem; color: var(--ink-soft); padding-left: 1.2em; }
.sources li { margin-bottom: .35em; overflow-wrap: anywhere; }
.sources-section { padding: clamp(36px, 5vw, 56px) 0; }
.sources-section + .cta-band { padding-top: 0; }
.sources-section .sources-title { margin-top: 0; }

/* Link cards (hub pages) */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-cards .card h3 a { text-decoration: none; color: var(--slate-900); }
.link-cards .card h3 a::after { content: " →"; color: var(--amber-deep); }
.link-cards .card h3 a:hover { color: var(--amber-deep); }
@media (max-width: 860px) { .link-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .link-cards { grid-template-columns: 1fr; } }

/* "More" links under sections on the home page */
.more-link { margin-top: 24px; font-weight: 600; }
.more-link a { text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.dark .more-link a { color: #fff; }

/* Quote band at the end of pages */
.cta-band { padding-top: 0; }
.page-hero + .cta-band, .alt + .cta-band, .dark + .cta-band { padding-top: clamp(56px, 8vw, 104px); }
.ticks + p, .ticks + .wp-block-paragraph { margin-top: 18px; }

/* Articles */
.article-body .post-meta { color: var(--ink-soft); font-size: .92rem; margin: -6px 0 26px; }
.article-body .wp-block-post-content ul, .article-body .wp-block-post-content ol { padding-left: 1.3em; }
.article-body .wp-block-post-content li { margin-bottom: .45em; }
.article-body .wp-block-post-content .ticks { padding-left: 0; }
.cta-inline { background: var(--slate-800); color: #dfe6e7; border-radius: var(--radius); padding: 26px 28px; margin: 2.2em 0; }
.cta-inline h2 { color: #fff; font-size: 1.35rem !important; margin: 0 0 8px !important; }
.cta-inline p { color: #b9c6c8; }
.cta-inline .wp-block-buttons { margin-top: 16px; }
.small-print { font-size: .88rem; color: var(--ink-soft); font-style: italic; }

/* Resources index */
.post-cards .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-cards .card h2 { font-size: 1.3rem; margin: 0 0 10px; }
.post-cards .card h2 a { text-decoration: none; color: var(--slate-900); }
.post-cards .card h2 a:hover { color: var(--amber-deep); }
.post-cards .wp-block-post-excerpt p { color: var(--ink-soft); margin: 0 0 12px; }
.post-cards .post-meta { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .post-cards .wp-block-post-template { grid-template-columns: 1fr; } }

/* FAQ page groups */
.faq + .section-head, .faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; }

/* ---------- Topic silos ---------- */

/* Hubs and the Resources index */
.hub-body h2 { font-size: 1.5rem; margin: 0 0 18px; }
.hub-body .link-cards + h2, .hub-body .link-cards + .wp-block-heading { margin-top: 48px; }
.hub-body .post-cards { margin-top: 0; }
.post-cards .card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.post-cards .card h3 a, .topic-cards .card h3 a { text-decoration: none; color: var(--slate-900); }
.post-cards .card h3 a:hover, .topic-cards .card h3 a:hover { color: var(--amber-deep); }
.topic-group + .topic-group { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--stone-200); }
.topic-group h2 a { text-decoration: none; color: var(--slate-900); }
.topic-group h2 a:hover { color: var(--amber-deep); }
.topic-intro { color: var(--ink-soft); max-width: 760px; }
.topic-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.topic-cards .card h3 { font-size: 1.15rem; margin: 0 0 8px; }
@media (max-width: 760px) { .topic-cards { grid-template-columns: 1fr; } }

/* "Guides on this topic" on pillar pages and the law pillar article */
.guides-section h2 { margin-top: 0; }
.guides-inline { margin: 2.4em 0; }
.guides-inline .wp-block-post-template { grid-template-columns: 1fr; }

/* Article topic line, table of contents and "More in this topic" */
.article-body .eyebrow a { color: inherit; text-decoration: none; }
.article-body .eyebrow a:hover { color: var(--amber-deep); }
.toc { background: var(--stone-100); border: 1px solid var(--stone-200); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.6em 0 2em; }
.toc-title { font-weight: 700; margin: 0 0 8px; color: var(--slate-900); }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: .3em; }
.more-topic { border-top: 3px solid var(--amber); padding-top: 22px; margin-top: 2.6em; }
.more-topic h2 { font-size: 1.3rem; margin: 0 0 12px; }
.more-topic ul { margin: 0 0 8px; padding-left: 1.2em; }
.more-topic li { margin-bottom: .4em; }

/* Footer with the Resources column */
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1fr; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
