/* ============================================================
   Methodology + Wayfinding pages — bespoke components re-skinned
   to the site's tokens (Fraunces / Space Mono / Future Teal).
   Scoped under .fdl (methodology) and .wayfind (how-we-work) so
   nothing clashes with site.css. Pairs with tokens.css + site.css.
   Reveal + buttons reuse the site system (.reveal/.is-in, .btn).
   ============================================================ */
.fdl, .wayfind {
  --ink: var(--deep-navy); --ink-soft: var(--ink-soft); --teal: var(--accent);
  --teal-deep: var(--accent-hover); --teal-light: var(--teal-glow);
  --paper-2: var(--bg-alt); --white: var(--pure-white); --card: var(--pure-white);
  --muted: var(--text-muted); --line: var(--border); --mint: rgba(0,135,125,.1);
  --m1:#DCEAE5; --m2:#A6CEC4; --m3:#5BA597; --m4:#1F8174; --m5:#0B233C;
}
.fdl h1, .fdl h2, .fdl h3, .fdl h4, .wayfind h1, .wayfind h2, .wayfind h3 { font-family: var(--font-display); font-weight: 380; line-height: 1.08; color: var(--ink); letter-spacing: var(--track-tight); margin: 0; }
.fdl h1 em, .fdl h2 em, .fdl h3 em, .wayfind h1 em, .wayfind h2 em { font-style: italic; color: var(--teal); }
.fdl p, .wayfind p { margin: 0 0 1.1em; }
.fdl .narrow, .wayfind .narrow { max-width: 780px; margin-inline: auto; }
.fdl .center, .wayfind .center { text-align: center; }

/* eyebrow */
.fdl .eyebrow, .wayfind .eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1rem,.95rem + .25vw,1.15rem); line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--teal); margin: 0 0 1.5rem; }
.fdl .eyebrow::before, .wayfind .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; flex: none; opacity: .9; }
.fdl .eyebrow i, .wayfind .eyebrow i { font-style: italic; color: var(--teal); }
.fdl .eyebrow.boxed, .wayfind .eyebrow.boxed { background: none; padding: 0; border-radius: 0; color: var(--teal); }
.fdl .eyebrow.on-dark, .wayfind .eyebrow.on-dark { color: var(--teal-light); }
.fdl .eyebrow.on-dark i, .wayfind .eyebrow.on-dark i { color: var(--teal-light); }

/* sections */
.fdl .sec, .wayfind .sec { padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); }
.fdl .sec.alt, .wayfind .sec.alt { background: var(--white); }
.fdl .sec.mint, .wayfind .sec.mint { background: var(--bg-alt); }
.fdl .dark, .wayfind .dark { background: var(--deep-navy); color: rgba(255,255,255,.82); }
.fdl .dark .eyebrow, .wayfind .dark .eyebrow { color: var(--teal-light); }
.fdl .agency-call .eyebrow { justify-content: center; margin-bottom: 1.1rem; }
.fdl .sec-head, .wayfind .sec-head { max-width: 64ch; margin-bottom: clamp(2.4rem, 1.5rem + 2vw, 3.4rem); }
.fdl .sec-head.center, .wayfind .sec-head.center { margin-inline: auto; }
.fdl .sec-head h2, .wayfind .sec-head h2 { font-size: var(--fs-h2); }
.fdl .sec-head p, .wayfind .sec-head p { margin-top: 1.3rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- methodology hero ---------- */
.fdl .m-hero { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.fdl .m-hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2.5rem, 1.5rem + 4vw, 4rem); align-items: center; }
.fdl .m-hero h1 { font-size: clamp(3.2rem, 2rem + 6vw, 6.2rem); line-height: .98; }
.fdl .lede { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); line-height: 1.4; color: var(--ink-soft); max-width: 34ch; margin: 1.8rem 0 .9rem; }
.fdl .hero-note { color: var(--muted); font-size: 1rem; max-width: 40ch; margin: 0 0 1.8rem; }
.fdl .hero-btns, .wayfind .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.fdl .hero-meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); margin-top: 2rem; }
.fdl .arch { position: relative; aspect-ratio: 4 / 4.6; border-radius: 200px 200px var(--radius-md) var(--radius-md); background: linear-gradient(165deg, #FBFDFC, #E7F1ED); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fdl .arch svg { width: 74%; height: auto; }
@media (max-width: 880px) { .fdl .m-hero-grid { grid-template-columns: 1fr; } .fdl .arch { max-width: 360px; margin: 0 auto; } }

/* premise */
.fdl .premise h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.1; text-wrap: balance; }
.fdl .premise-sub { margin-top: 1.8rem; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }

/* ---------- framework diagram ---------- */
.fdl .diagram-wrap { margin: 0 0 1.8rem; }
.fdl .diagram-wrap svg { display: block; width: 100%; height: auto; }
.fdl .dgm-levers { opacity: 0; transition: opacity .45s var(--ease); }
.fdl .diagram-wrap.show-levers .dgm-levers { opacity: 1; }
.fdl .dgm-controls { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: .4rem 0 3rem; }
.fdl .dgm-toggle { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: transparent; border: 1px solid var(--teal); border-radius: 40px; padding: 8px 16px; cursor: pointer; transition: background var(--dur-1) var(--ease); }
.fdl .dgm-toggle:hover { background: var(--mint); }
.fdl .diagram-cap { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); text-align: center; margin: 0; max-width: 52ch; }
.fdl .diagram-cap b { color: var(--ink); font-weight: 400; }

/* tiers + element accordions */
.fdl .tier { margin-bottom: 2.5rem; }
.fdl .tier-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 1rem; flex-wrap: wrap; }
.fdl .tier-label h3 { font-size: 1.9rem; }
.fdl .tier-tag { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; padding: 4px 11px; border-radius: 40px; border: 1px solid var(--teal); color: var(--teal); }
.fdl .tier-desc { color: var(--muted); font-size: .98rem; max-width: 64ch; margin: 0 0 1.4rem; }
.fdl .el-grid { display: grid; gap: 14px; }
.fdl .tier1 .el-grid, .fdl .tier2 .el-grid { grid-template-columns: repeat(4, 1fr); }
.fdl .tier3 .el-grid { grid-template-columns: repeat(2, 1fr); max-width: 580px; }
@media (max-width: 880px) { .fdl .tier1 .el-grid, .fdl .tier2 .el-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fdl .el-grid { grid-template-columns: 1fr !important; } }
.fdl details.el { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.fdl details.el[open] { border-color: var(--teal); box-shadow: 0 8px 30px rgba(0,135,125,.08); }
.fdl details.el summary { list-style: none; cursor: pointer; padding: 20px 20px 18px; display: block; }
.fdl details.el summary::-webkit-details-marker { display: none; }
.fdl .el-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; line-height: 1.12; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--ink); }
.fdl .el-plus { font-family: var(--font-mono); color: var(--teal); font-size: 1rem; line-height: 1; flex-shrink: 0; transition: transform .25s var(--ease); }
.fdl details.el[open] .el-plus { transform: rotate(45deg); }
.fdl .el-role { font-size: .8rem; color: var(--muted); margin-top: 8px; font-family: var(--font-mono); }
.fdl .el-body { padding: 0 20px 22px; border-top: 1px solid var(--border); margin-top: 4px; }
.fdl .el-body .premise-q { font-size: 1rem; color: var(--ink-soft); font-style: italic; font-family: var(--font-display); margin: 16px 0; line-height: 1.4; }
.fdl .lever-label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.fdl .lever { display: flex; gap: 10px; font-size: .88rem; margin-bottom: 8px; align-items: baseline; }
.fdl .lever b { font-weight: 600; color: var(--ink); }
.fdl .lever .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; transform: translateY(6px); }
.fdl .more-tiers { display: none; }
.fdl .more-tiers.open { display: block; }
.fdl .tier-toggle-wrap { margin: .4rem 0 2.5rem; }
.fdl .tier-toggle { width: 100%; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--white); border: 1px dashed var(--teal); border-radius: var(--radius-md); padding: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background var(--dur-1) var(--ease); }
.fdl .tier-toggle:hover { background: var(--mint); }
.fdl .tier-toggle .tt-plus { transition: transform .25s var(--ease); }
.fdl .tier-toggle[aria-expanded="true"] .tt-plus { transform: rotate(45deg); }

/* glance stats */
.fdl .glance { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 8px; padding-top: 30px; border-top: 1px solid var(--line); }
.fdl .glance .stat b { font-family: var(--font-display); font-size: 2.9rem; font-weight: 380; color: var(--teal); display: block; line-height: 1; }
.fdl .glance .stat span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* maturity ladder */
.fdl .ladder { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.fdl .rung { display: grid; grid-template-columns: 96px 1.1fr 1.5fr; align-items: stretch; }
.fdl .rung .lv { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 26px 8px; color: #fff; }
.fdl .rung .lv .n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 380; line-height: 1; }
.fdl .rung .lv .nl { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; opacity: .9; }
.fdl .rung .name { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); background: var(--card); }
.fdl .rung .name h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin: 0 0 2px; color: var(--ink); }
.fdl .rung .name .sub { font-size: .82rem; color: var(--muted); font-style: italic; font-family: var(--font-display); }
.fdl .rung .beh { padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; background: var(--card); }
.fdl .rung .beh .desc { font-size: .9rem; color: var(--text-body); margin: 0 0 12px; }
.fdl .rung .beh ul { margin: 0; padding: 0; list-style: none; }
.fdl .rung .beh li { font-size: .82rem; color: var(--muted); padding-left: 16px; position: relative; margin-bottom: 4px; line-height: 1.4; }
.fdl .rung .beh li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.fdl .rung.r1 .lv { background: var(--m1); color: var(--ink); }
.fdl .rung.r2 .lv { background: var(--m2); color: var(--ink); }
.fdl .rung.r3 .lv { background: var(--m3); }
.fdl .rung.r4 .lv { background: var(--m4); }
.fdl .rung.r5 .lv { background: var(--m5); }
.fdl .rung:not(:last-child) { border-bottom: 1px solid var(--border); }
@media (max-width: 780px) { .fdl .rung { grid-template-columns: 70px 1fr; } .fdl .rung .beh { grid-column: 1 / -1; border-top: 1px solid var(--border); } .fdl .rung .name { border-right: none; } }

/* principles */
.fdl .principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin-top: clamp(2.5rem,2rem+2vw,3.5rem); }
.fdl .principle h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 0 0 6px; display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.fdl .principle h4 .pn { font-family: var(--font-mono); font-size: .75rem; color: var(--teal); }
.fdl .principle p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 680px) { .fdl .principles { grid-template-columns: 1fr; } }

/* evidence */
.fdl .ev-note { color: var(--muted); font-size: .95rem; max-width: 64ch; }

/* dark teaser */
.fdl .teaser { text-align: center; }
.fdl .teaser h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); color: #F1F7F5; max-width: 20ch; margin: 0 auto; }
.fdl .teaser p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 56ch; margin: 1.4rem auto 1.6rem; }
.fdl .teaser-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.fdl .teaser-steps span { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.22); border-radius: 30px; padding: 6px 14px; }
.fdl .teaser-steps span b { color: var(--teal-light); font-weight: 500; margin-right: 6px; }

/* shared CTA (methodology + wayfinding) */
.fdl .cta, .wayfind .cta { text-align: center; }
.fdl .cta h2, .wayfind .cta h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); max-width: 20ch; margin: 0 auto; line-height: 1.05; }
.fdl .cta p, .wayfind .cta p { color: var(--muted); margin: 1.4rem auto 2.2rem; max-width: 50ch; font-size: 1.1rem; }
.fdl .btns, .wayfind .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============== WAYFINDING (how we work) ============== */
.wayfind .w-hero { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 1.8rem; }
.wayfind .w-hero h1 { font-size: clamp(2.8rem, 1.8rem + 5vw, 5.4rem); line-height: 1; }
.wayfind .w-hero .lede { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.38; color: var(--ink-soft); max-width: 32ch; margin: 1.6rem 0 1.1rem; }
.wayfind .w-hero .intro { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin: 0; }
.wayfind .path { margin-top: .6rem; }
.wayfind .phase { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 0 0 46px; }
.wayfind .phase:last-child { padding-bottom: 0; }
.wayfind .phase-rail { display: flex; flex-direction: column; align-items: center; }
.wayfind .phase-node { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; background: var(--white); flex-shrink: 0; z-index: 2; }
.wayfind .phase-line { width: 1.5px; flex: 1; background: linear-gradient(var(--teal), rgba(0,135,125,.12)); margin-top: 4px; min-height: 30px; }
.wayfind .phase:last-child .phase-line { display: none; }
.wayfind .phase-body { padding-top: 8px; }
.wayfind .phase-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.wayfind .phase-head h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); font-weight: 400; color: var(--ink); }
.wayfind .phase-q { font-family: var(--font-mono); font-size: .8rem; color: var(--teal); }
.wayfind .phase-desc { color: var(--text-body); font-size: 1rem; max-width: 62ch; margin: 0 0 18px; }
.wayfind .skip { display: flex; gap: 13px; align-items: flex-start; background: var(--bg-alt); border-left: 2px solid var(--teal); padding: 13px 16px; border-radius: 0 6px 6px 0; max-width: 62ch; margin: 0 0 18px; }
.wayfind .skip .lbl { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); flex-shrink: 0; padding-top: 3px; }
.wayfind .skip p { margin: 0; font-size: .85rem; color: var(--muted); }
.wayfind .outcomes { display: flex; flex-wrap: wrap; gap: 8px; }
.wayfind .outcomes span { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); border: 1px solid var(--line); background: var(--white); border-radius: 30px; padding: 5px 13px; }
@media (max-width: 680px) { .wayfind .phase { grid-template-columns: 56px 1fr; gap: 18px; } .wayfind .phase-node { width: 48px; height: 48px; font-size: 1.4rem; } }
.wayfind .engage h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); max-width: 18ch; margin: 0 0 .8rem; }
.wayfind .engage-intro { max-width: 60ch; color: var(--muted); margin: 0 0 2rem; line-height: 1.6; }
/* interactive ways-to-engage: tab rail + detail panel */
.wayfind .engage-picker { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--card); }
@media (min-width: 860px) { .wayfind .engage-picker { grid-template-columns: minmax(280px, 340px) 1fr; } }
.wayfind .engage-tabs { display: flex; flex-direction: column; background: var(--bg-alt); border-right: 1px solid var(--line); }
@media (max-width: 859px) { .wayfind .engage-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); } }
.wayfind .engage-tab { font-family: var(--font-sans); font-size: .94rem; text-align: left; color: var(--ink-soft); background: transparent; border: 0; border-left: 3px solid transparent; padding: 15px 22px; cursor: pointer; transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.wayfind .engage-tab:not(:last-child) { border-bottom: 1px solid var(--line); }
.wayfind .engage-tab:hover { background: var(--mint); color: var(--teal); }
.wayfind .engage-tab.is-active { color: var(--teal); border-left-color: var(--teal); background: var(--card); font-weight: 600; }
@media (max-width: 859px) {
  .wayfind .engage-tab { border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; font-size: .86rem; }
  .wayfind .engage-tab:not(:last-child) { border-bottom: 1px solid var(--line); }
  .wayfind .engage-tab.is-active { border-color: var(--teal); background: var(--mint); }
}
.wayfind .engage-panels { position: relative; }
.wayfind .engage-panel { padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); display: none; }
.wayfind .engage-panel.is-active { display: block; animation: engageFade .35s var(--ease); }
@keyframes engageFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wayfind .engage-blurb { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); line-height: 1.4; color: var(--ink); margin: 0 0 1.4rem; }
.wayfind .engage-best { font-size: .9rem; color: var(--muted); margin: 0 0 1.6rem; }
.wayfind .engage-best span { display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-right: 8px; }
.wayfind .engage-panel .link { font-weight: 600; color: var(--teal); }
@media (prefers-reduced-motion: reduce) { .wayfind .engage-panel.is-active { animation: none; } }

/* ============================================================
   Wayfinding model - three explorable presentations (.wayfind)
   ============================================================ */
.wayfind .wf-opt { max-width: 64ch; margin-bottom: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); }
.wayfind .wf-opt__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.wayfind .wf-opt h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin: .4rem 0 .5rem; }
.wayfind .wf-opt p { color: var(--muted); line-height: 1.6; }

/* shared detail bits */
.wayfind .wf-of { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.wayfind .wf-jpanel h3, .wayfind .wf-spot-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin: .5rem 0 .1rem; color: var(--ink); }
.wayfind .wf-q { font-family: var(--font-display); font-style: italic; color: var(--teal); font-size: 1.05rem; margin: 0 0 1rem; }
.wayfind .wf-desc { color: var(--text-body); line-height: 1.65; margin: 0 0 1.2rem; max-width: 60ch; }
.wayfind .wf-why { border-left: 3px solid var(--teal); background: var(--mint); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 0 0 1.2rem; max-width: 62ch; }
.wayfind .wf-why__lbl { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 5px; }
.wayfind .wf-why p { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.wayfind .wf-outs__lbl { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.wayfind .wf-risk { border-left: 3px solid var(--line); padding: 2px 0 2px 16px; margin: 0 0 1.2rem; max-width: 62ch; }
.wayfind .wf-risk__lbl { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.wayfind .wf-risk p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; font-style: italic; }
/* outcomes read as a take-away list (a teal tick), not clickable chips */
.wayfind .wf-chips { display: flex; flex-wrap: wrap; gap: 11px 26px; }
.wayfind .wf-chips span { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); background: none; border: 0; border-radius: 0; padding: 0; }
.wayfind .wf-chips span::before { content: ""; width: 6px; height: 11px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); flex: none; }
.wayfind .wf-next { margin-top: 1.4rem; font-family: var(--font-sans); font-weight: 600; font-size: .9rem; color: var(--teal); background: transparent; border: 0; cursor: pointer; padding: 0; display: inline-flex; gap: 6px; align-items: center; }
.wayfind .wf-next span { transition: transform var(--dur-2) var(--ease); }
.wayfind .wf-next:hover span { transform: translateX(4px); }
@keyframes wfFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Option 1 - guided journey */
.wayfind .wf-journey { display: grid; gap: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); }
.wayfind .wf-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wayfind .wf-node { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: transparent; border: 0; border-top: 3px solid var(--line); padding: 16px 10px 0 0; cursor: pointer; transition: border-color var(--dur-2) var(--ease); }
.wayfind .wf-node.is-passed { border-top-color: var(--teal); }
.wayfind .wf-node__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); font-family: var(--font-display); color: var(--ink); margin-top: -17px; transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.wayfind .wf-node.is-passed .wf-node__dot { background: var(--teal); color: #fff; border-color: var(--teal); }
.wayfind .wf-node.is-active .wf-node__dot { box-shadow: 0 0 0 4px var(--mint); }
.wayfind .wf-node__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); line-height: 1.1; }
.wayfind .wf-node.is-active .wf-node__name { color: var(--teal); }
.wayfind .wf-node__q { font-size: .74rem; color: var(--muted); }
.wayfind .wf-jpanel { display: none; }
.wayfind .wf-jpanel.is-active { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(1.5rem, 1.2rem + 2vw, 2.6rem); animation: wfFade .35s var(--ease); }
@media (max-width: 760px) {
  .wayfind .wf-map { grid-template-columns: 1fr; gap: 0; }
  .wayfind .wf-node { flex-direction: row; align-items: center; gap: 12px; border-top: 0; border-left: 3px solid var(--line); padding: 9px 0 9px 16px; }
  .wayfind .wf-node.is-passed { border-left-color: var(--teal); }
  .wayfind .wf-node__dot { margin: 0; }
  .wayfind .wf-node__q { display: none; }
}

/* Option 2 - expandable rail */
.wayfind .wf-rail2 { display: flex; flex-direction: column; }
.wayfind .wf-rcard { display: grid; grid-template-columns: 56px 1fr; }
.wayfind .wf-rrail { display: flex; justify-content: center; position: relative; }
.wayfind .wf-rnode { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-top: 6px; z-index: 1; transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.wayfind .wf-rcard.is-open .wf-rnode { background: var(--teal); color: #fff; border-color: var(--teal); }
.wayfind .wf-rrail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--line); transform: translateX(-50%); }
.wayfind .wf-rcard:first-child .wf-rrail::before { top: 24px; }
.wayfind .wf-rcard:last-child .wf-rrail::before { bottom: auto; height: 24px; }
.wayfind .wf-rmain { padding-bottom: 12px; min-width: 0; }
.wayfind .wf-rhead { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; background: transparent; border: 0; cursor: pointer; text-align: left; }
.wayfind .wf-rtitle { flex: 1; display: flex; flex-direction: column; }
.wayfind .wf-rtitle strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.wayfind .wf-rtitle em { font-style: italic; font-family: var(--font-display); color: var(--teal); font-size: .92rem; }
.wayfind .wf-rind { flex: none; width: 18px; height: 18px; position: relative; }
.wayfind .wf-rind::before, .wayfind .wf-rind::after { content: ""; position: absolute; background: var(--teal); transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.wayfind .wf-rind::before { top: 8px; left: 0; width: 18px; height: 2px; }
.wayfind .wf-rind::after { top: 0; left: 8px; width: 2px; height: 18px; }
.wayfind .wf-rcard.is-open .wf-rind::after { transform: rotate(90deg); opacity: 0; }
.wayfind .wf-rbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.wayfind .wf-rcard.is-open .wf-rbody { grid-template-rows: 1fr; }
.wayfind .wf-rbody > .wf-rinner { overflow: hidden; }
.wayfind .wf-rcard.is-open .wf-rinner { padding: 4px 0 18px; }

/* Option 3 - phase spotlight */
.wayfind .wf-spot { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--card); }
.wayfind .wf-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.wayfind .wf-tab { flex: 1 0 auto; min-width: 132px; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 14px 18px; background: var(--bg-alt); border: 0; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; cursor: pointer; transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.wayfind .wf-tab:last-child { border-right: 0; }
.wayfind .wf-tab b { font-family: var(--font-display); font-weight: 400; font-size: 1rem; color: var(--ink); }
.wayfind .wf-tab span { font-size: .72rem; color: var(--muted); }
.wayfind .wf-tab:hover { background: var(--mint); }
.wayfind .wf-tab.is-active { background: var(--card); border-bottom-color: var(--teal); }
.wayfind .wf-tab.is-active b { color: var(--teal); }
.wayfind .wf-spanel { display: none; }
.wayfind .wf-spanel.is-active { display: grid; gap: clamp(1.2rem, 1rem + 2vw, 2.4rem); grid-template-columns: 1fr; padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); animation: wfFade .35s var(--ease); }
@media (min-width: 720px) { .wayfind .wf-spanel.is-active { grid-template-columns: auto 1fr; align-items: start; } }
.wayfind .wf-spot-num { width: clamp(80px, 7vw, 120px); aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 3vw, 4rem); }
@media (prefers-reduced-motion: reduce) { .wayfind .wf-jpanel.is-active, .wayfind .wf-spanel.is-active { animation: none; } }

/* ============================================================
   FDL framework - luminous interactive diagram + 3 layouts (.fdl)
   ============================================================ */
.fdl .fdl-opt { max-width: 64ch; margin: clamp(1.4rem,1rem+2vw,2.4rem) 0 clamp(1.2rem,.8rem+2vw,2rem); }
.fdl .fdl-opt__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.fdl .fdl-opt h3 { font-size: clamp(1.4rem,1.1rem+1.6vw,2rem); margin: .35rem 0 .5rem; }
.fdl .fdl-opt p { color: var(--muted); line-height: 1.6; }

/* the diagram */
.fdl .fdl-dia { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 940 / 770; }
.fdl .fdl-dia__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fdl .fdl-petals circle { mix-blend-mode: multiply; transition: stroke .3s var(--ease), stroke-opacity .3s var(--ease), filter .3s var(--ease); }
.fdl .fdl-halo, .fdl .fdl-core-glow { transform-box: fill-box; transform-origin: center; }
.fdl .fdl-core-glow { animation: fdlCore 4.5s ease-in-out infinite; }
.fdl .fdl-halo { animation: fdlCore 7s ease-in-out infinite; }
@keyframes fdlCore { 0%,100% { opacity: .8; } 50% { opacity: 1; } }

.fdl .fdl-nodes { position: absolute; inset: 0; }
.fdl .fdl-node { position: absolute; transform: translate(-50%,-50%); border: 0; background: transparent; cursor: pointer; padding: 0; font-family: var(--font-sans); }
.fdl .fdl-node--domain > span, .fdl .fdl-node--core > span { display: block; border-radius: 999px; line-height: 1.12; text-align: center; transition: all .25s var(--ease); }
.fdl .fdl-node--domain > span { background: var(--card); color: var(--ink); font-weight: 600; font-size: clamp(.62rem,.5rem+.5vw,.82rem); padding: .5em .9em; border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(11,35,60,.35); max-width: 8.5em; }
.fdl .fdl-node--domain:hover > span { border-color: var(--teal); color: var(--teal); }
.fdl .fdl-node--domain.is-active > span { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(91,208,196,.3), 0 10px 24px -10px rgba(0,135,125,.6); }
.fdl .fdl-node--core > span { background: var(--ink); color: #fff; font-weight: 700; font-size: clamp(.58rem,.46rem+.5vw,.76rem); letter-spacing: .01em; padding: .7em 1em; max-width: 7.5em; box-shadow: 0 0 0 6px rgba(11,35,60,.06), 0 12px 30px -12px rgba(11,35,60,.6); }
.fdl .fdl-node--core.is-active > span { box-shadow: 0 0 0 5px rgba(91,208,196,.35), 0 14px 34px -12px rgba(0,135,125,.55); }
/* intersection markers (treatment A: petal echo) - quiet refined nodes, not bobbles */
.fdl .fdl-node--mark { width: 28px; height: 28px; display: grid; place-items: center; z-index: 2; }
.fdl .fdl-mark { width: 11px; height: 11px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--teal); box-shadow: 0 1px 3px rgba(11,35,60,.18); transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.fdl .fdl-node--mark:hover .fdl-mark { transform: scale(1.25); }
.fdl .fdl-node--mark.is-active .fdl-mark { background: var(--teal); transform: scale(1.3); box-shadow: 0 0 0 5px var(--mint), 0 4px 12px rgba(0,135,125,.35); }
/* labels point outward from the centre (per-node direction set server-side) so they never crowd the core */
.fdl .fdl-mark__label { position: absolute; white-space: nowrap; font-family: var(--font-sans); font-size: .68rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid rgba(0,135,125,.22); border-radius: 6px; padding: 4px 10px; box-shadow: 0 6px 16px -10px rgba(11,35,60,.28); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); z-index: 3; }
.fdl .fdl-mark__label--up-left { bottom: calc(100% + 9px); right: -6px; text-align: right; }
.fdl .fdl-mark__label--up-right { bottom: calc(100% + 9px); left: -6px; text-align: left; }
.fdl .fdl-mark__label--down-left { top: calc(100% + 9px); right: -6px; text-align: right; }
.fdl .fdl-mark__label--down-right { top: calc(100% + 9px); left: -6px; text-align: left; }
.fdl .fdl-mark__label--left { right: calc(100% + 9px); top: 50%; transform: translateY(-50%); }
.fdl .fdl-mark__label--right { left: calc(100% + 9px); top: 50%; transform: translateY(-50%); }
.fdl .fdl-node--mark:hover .fdl-mark__label, .fdl .fdl-node--mark.is-active .fdl-mark__label { opacity: 1; }
.fdl .fdl-node--mark.is-active .fdl-mark__label { color: var(--teal); border-color: var(--teal); }
/* petal echo: lit domains (JS-driven, supports multiple) */
.fdl .fdl-petals [data-c] { transition: stroke .3s var(--ease), stroke-opacity .3s var(--ease), filter .3s var(--ease); }
.fdl .fdl-petals [data-c] { transition: stroke .35s var(--ease), stroke-opacity .35s var(--ease), stroke-width .35s var(--ease), filter .35s var(--ease), opacity .35s var(--ease); }
.fdl .fdl-petals [data-c].is-lit { stroke: var(--teal-light); stroke-opacity: 1; stroke-width: 3.5; filter: drop-shadow(0 0 12px rgba(91,208,196,.62)); }
/* focus: once an element is selected, recede the petals it does not draw on */
.fdl .fdl--echo:not([data-active="core"]) .fdl-petals [data-c]:not(.is-lit) { opacity: .4; }
.fdl .fdl--echo:not([data-active="core"]) .fdl-nodes .fdl-node--mark:not(.is-active) { opacity: .55; }

/* detail panel */
.fdl .fdl-ix__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(1.8rem,1.3rem + 2.5vw,3rem); }
.fdl .fdx-detail { display: none; }
.fdl .fdx-detail.is-active { display: block; animation: wfFade .35s var(--ease); }
.fdl .fdx-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.fdl .fdx-detail h4 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem,1.1rem+1.2vw,1.9rem); margin: .4rem 0 .15rem; color: var(--ink); }
.fdl .fdx-role { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin: 0 0 1rem; }
.fdl .fdx-q { color: var(--text-body); line-height: 1.6; font-style: italic; font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 1.3rem; }
.fdl .fdx-hint { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }
.fdl .fdx-ll { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.fdl .fdx-lever { display: flex; gap: 10px; margin-bottom: .7rem; align-items: flex-start; }
.fdl .fdx-lever b { color: var(--ink); font-weight: 600; }
.fdl .fdx-lever > div { font-size: .9rem; color: var(--text-body); line-height: 1.45; }
.fdl .fdx-ldot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; margin-top: .5em; }

/* layout: split */
.fdl .fdl-ix--split { display: grid; gap: clamp(1.6rem,1rem+3vw,3rem); align-items: center; }
@media (min-width: 920px) { .fdl .fdl-ix--split { grid-template-columns: 1.02fr .98fr; } }
/* layout: spotlight */
.fdl .fdl-ix--spot { display: grid; gap: clamp(1.4rem,1rem+2vw,2.4rem); justify-items: center; }
.fdl .fdl-ix--spot .fdl-dia { max-width: 600px; }
.fdl .fdl-ix--spot .fdl-ix__panel { max-width: 720px; width: 100%; }
.fdl .fdl-ix--spot:not([data-active="core"]) .fdl-node:not(.is-active) { opacity: .4; }
.fdl .fdl-ix--spot:not([data-active="core"]) .fdl-petals circle { opacity: .55; }
.fdl .fdl-ix--spot .fdl-node, .fdl .fdl-ix--spot .fdl-petals circle { transition: opacity .3s var(--ease); }
/* layout: map + index */
.fdl .fdl-ix--index { display: grid; gap: clamp(1.6rem,1rem+3vw,3rem); align-items: start; }
@media (min-width: 920px) { .fdl .fdl-ix--index { grid-template-columns: 1fr 1fr; } }
.fdl .fdl-ix--index .fdl-ix__viz { padding: clamp(.5rem,.3rem+1vw,1.4rem); }
.fdl .fdl-ix__index { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
.fdl .fdx-ix-group { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.fdl .fdx-ix-label { width: 100%; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fdl .fdx-ix-label em { font-style: normal; color: var(--teal); opacity: .85; margin-left: .45rem; }
.fdl .fdx-ix-desc { width: 100%; font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 1px 0 5px; }
/* foundational chips name their form of agency */
.fdl .fdx-ix-agency { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .07em; text-transform: uppercase; color: var(--teal); margin-left: .55rem; padding-left: .55rem; border-left: 1px solid var(--line); }
.fdl .fdx-ix-item.is-active .fdx-ix-agency { color: rgba(255,255,255,.82); border-left-color: rgba(255,255,255,.4); }
.fdl .fdx-ix-item { font-family: var(--font-sans); font-size: .82rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: all .2s var(--ease); }
.fdl .fdx-ix-item:hover { border-color: var(--teal); color: var(--teal); }
.fdl .fdx-ix-item.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }

@media (max-width: 560px) {
  .fdl .fdl-node--domain > span { font-size: .56rem; padding: .42em .7em; }
  .fdl .fdl-node--core > span { font-size: .52rem; padding: .55em .8em; }
  .fdl .fdl-mark { width: 11px; height: 11px; }
  .fdl .fdl-llabel { font-size: .62rem; padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fdl .fdl-core-glow, .fdl .fdl-halo { animation: none; }
}

/* treatment B: leader lines to outside labels */
.fdl .fdl-dia--leader { max-width: 760px; aspect-ratio: 1180 / 820; overflow: visible; }
.fdl .fdl-llines .fdl-lline { stroke-opacity: .35; transition: stroke-opacity .25s var(--ease), stroke-width .25s var(--ease), stroke .25s var(--ease); }
.fdl .fdl-llines .fdl-lline.is-active { stroke: var(--teal-light); stroke-opacity: 1; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(91,208,196,.5)); }
/* focus: dim the other lines, labels and pins while one element is selected */
.fdl .fdl-ix--leader:not([data-active="core"]) .fdl-llines .fdl-lline:not(.is-active) { stroke-opacity: .14; }
.fdl .fdl-ix--leader:not([data-active="core"]) .fdl-llabel:not(.is-active) { opacity: .45; }
.fdl .fdl-ix--leader:not([data-active="core"]) .fdl-node--pin:not(.is-active) { opacity: .5; }
.fdl .fdl-node--pin { width: 24px; height: 24px; display: grid; place-items: center; }
.fdl .fdl-pin { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); border: 2px solid var(--card); box-shadow: 0 1px 4px rgba(11,35,60,.3); transition: transform .25s var(--ease); }
.fdl .fdl-node--pin:hover .fdl-pin { transform: scale(1.3); }
.fdl .fdl-node--pin.is-active .fdl-pin { transform: scale(1.4); box-shadow: 0 0 0 5px var(--mint); }
.fdl .fdl-llabel { position: absolute; transform: translate(-50%,-50%); white-space: nowrap; font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), opacity .25s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 6px 16px -10px rgba(11,35,60,.3); }
.fdl .fdl-llabel--l { transform: translate(-100%,-50%); }
.fdl .fdl-llabel--r { transform: translate(0,-50%); }
.fdl .fdl-llabel:hover { border-color: var(--teal); color: var(--teal); }
.fdl .fdl-llabel.is-active { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 10px 22px -8px rgba(0,135,125,.55); }
.fdl .fdl-ix--leader { display: block; }
.fdl .fdl-ix--leader .fdl-ix__viz { max-width: 760px; margin: 0 auto; }
.fdl .fdl-ix--leader .fdl-ix__side { margin-top: clamp(1.8rem,1.2rem + 2vw,2.8rem); display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .fdl .fdl-ix--leader .fdl-ix__side { grid-template-columns: 1fr 1.1fr; align-items: start; } }
/* The outside labels need real horizontal room; below ~1000px the diagram
   degrades to the self-contained petal cluster + index + petal-echo. */
@media (max-width: 999px) {
  .fdl .fdl-ix--leader .fdl-llabel,
  .fdl .fdl-ix--leader .fdl-lline,
  .fdl .fdl-ix--leader .fdl-node--pin { display: none; }
  .fdl .fdl-ix--leader .fdl-dia--leader { max-width: 520px; }
}
