/* Shared layout refinements. Source colours are retained. */
:root { --gutter: max(6%, calc((100% - 1200px) / 2)); }
body { max-width: none; }
h1, h2, h3 { text-wrap: balance; }
h1 { line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 3.4vw, 3.4rem); line-height: 1.17; }
em { color: #59775c; }
a:focus-visible, button:focus-visible { outline-color: currentColor; }
.header { height: 104px; margin-inline: var(--gutter); }
.header nav a { display: inline-flex; align-items: center; min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.header nav a[aria-current], .footer-meta a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.section { padding: 72px var(--gutter); }
.eyebrow { margin-bottom: 24px; letter-spacing: .13em; }
.text-link { min-height: 44px; }

/* Keep the illustration in document flow, clear of copy and the baseline. */
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0 48px; align-items: center; min-height: 0; overflow: visible; padding: 56px var(--gutter); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5rem); margin-bottom: 26px; text-wrap: initial; }
.hero-bottom { max-width: 440px; }
.hero-bottom p { max-width: none; margin-bottom: 18px; }
.party-art { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr); align-items: center; gap: 16px; width: 100%; height: auto; max-width: none; transform: none; margin: 0; padding-top: 24px; }
.party { position: static; width: 100%; height: auto; aspect-ratio: 1; }
.neutral { position: static; width: 12px; height: 12px; }
.art-caption { position: static; grid-column: 1 / -1; width: auto; text-align: center; font-size: 11px; letter-spacing: .16em; margin-top: 14px; }
.intro { padding-block: 60px; }
.intro h2 { max-width: 960px; font-size: clamp(2.1rem, 3.4vw, 3.4rem); margin-bottom: 28px; }
.intro-bottom p { font-size: 17px; max-width: 570px; }

.section-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.section-heading h2 { margin-bottom: 24px; }
.section-heading .eyebrow { padding-top: 8px; }
.curve-intro { margin: 0 0 0 calc((100% - 40px) / 3 + 40px); max-width: 680px; }
.curve { margin-top: 36px; padding: 0; }
.graph-visual { width: 100%; min-width: 0; padding: 8px 0; }
.graph-visual svg { display: block; width: 100%; min-width: 0; height: auto; }
.graph-mobile-marker { display: none; }
.graph-mobile-marker circle { fill: var(--navy); }
.graph-mobile-marker text { fill: var(--paper); font: 600 38px var(--sans); }
.graph-stage-title { fill: var(--navy); font: 600 21px var(--sans); }
.graph-stage-caption { fill: var(--muted); font: 17px var(--sans); }
.axis-label { position: static; display: block; writing-mode: horizontal-tb; transform: none; font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
/* The same stage information remains available to assistive technology on desktop. */
.stage-list { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pathways { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 40px; }
.pathways h2 { font-size: clamp(2.1rem, 3.4vw, 3.4rem); padding-top: 18px; }
.pathways nav>a { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 18px; padding: 25px 0; }
.pathways nav>a:hover { padding-left: 0; }
.pathways nav>a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pathways h3 { font-size: 1.7rem; line-height: 1.25; }
.pathways p { font-size: 16px; }
.path-read { font-size: 14px; }
.service-list { margin-top: 16px; }
.service-row { padding: 22px 12px; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
.service-name { font-size: 28px; }
.service-row>span:nth-child(2) { font-size: 16px; }
.service-row>span:last-child { text-align: right; }
.service-row:focus-visible { background: #edf0e9; }
.closing { padding-block: 60px; }
.closing h2 { margin-bottom: 24px; }
footer { padding: 40px var(--gutter) 24px; }
.site-footer { padding-top: 56px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-grid>* { min-width: 0; }
.footer-identity .footer-brand { display: block; width: 150px; height: 73px; min-height: 44px; overflow: hidden; }
.footer-brand img { display: block; width: 181px; height: auto; max-width: none; transform: translate(-16px, -17px); mix-blend-mode: multiply; }
.footer-identity p { margin: 20px 0 0; font-size: .9375rem; }
.site-footer h2 { margin: 0 0 12px; font: 600 .75rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-footer address { font-style: normal; font-size: .9375rem; line-height: 1.8; }
.footer-contact address { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a, .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.footer-contact a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sage); }
.footer-contact a:hover, .footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; border-top: 1px solid #cad3c8; }
.footer-meta p { margin: 0; font-size: .8125rem; }
.footer-meta nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: .8125rem; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 28px; }
  .footer-meta nav { gap: 4px 20px; }
}
.footer-top { padding-bottom: 30px; }
.footer-brand span { font-size: 10px; letter-spacing: .1em; }
.footer-bottom { font-size: 13px; }
.footer-top>a:last-child, .footer-bottom a, .back-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer-top>a:last-child { gap: 16px; }

.detail-hero { padding-top: 48px; padding-bottom: 56px; }
.detail-hero h1 { max-width: 1000px; font-size: clamp(3rem, 5.1vw, 5.4rem); margin-bottom: 28px; }
.back-link { font-size: 14px; margin-bottom: 30px; padding: 4px 0; }
.back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.standfirst { font-size: 22px; line-height: 1.65; }
.service-detail { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 9%; padding-block: 52px; }
.service-detail h2 { font-size: 28px; line-height: 1.45; letter-spacing: -.015em; margin-bottom: 0; text-wrap: initial; }
.service-detail dd { line-height: 1.4; }
.service-detail--simple { grid-template-columns: minmax(0, 1fr); }
.service-detail--simple h2 { max-width: 820px; }
.service-detail--simple + .related { padding-top: 52px; }
.registry-note h2 { max-width: 860px; font-size: clamp(2rem, 3vw, 3rem); }
.method-columns { gap: 9%; }
.method-columns ul { margin-bottom: 0; }
.contact-copy { max-width: none; padding-top: 0; }
.contact-copy>p { max-width: 820px; font-size: 22px; line-height: 1.7; }
.address { margin-top: 36px; padding-top: 26px; }
.related { padding-top: 0; }

/* Reference-informed service discovery: concise, descriptive offering cards. */
.hero-bottom .text-link {
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 12px 19px;
}
.hero-bottom .text-link:focus-visible { outline-color: var(--navy); }
.hero-bottom .text-link:hover { background: #24475c; }
.nav-contact {
  padding: 9px 16px !important;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #d7dfd5;
  border-radius: 10px;
  background: #eff3ed;
  transition: border-color .2s, background .2s;
}
.service-card:nth-child(2n) { background: #edf1f3; border-color: #d9e0e4; }
.service-card:hover { background: #e5ece2; border-color: var(--sage); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.card-index { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.card-top>span:last-child { font-size: 20px; }
.card-label { font-size: 13px; margin: 0 0 8px; }
.service-card h3 { font: 400 26px/1.2 var(--serif); text-wrap: initial; margin-bottom: 18px; }
.card-description { font-size: 15px; line-height: 1.7; margin-bottom: 26px; }
.card-action { margin-top: auto; padding-top: 18px; border-top: 1px solid #d3ddd0; font-size: 14px; }
.card-action span { margin-left: 8px; }

@media (max-width: 1000px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { column-gap: 28px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding-top: 44px; }
  .hero h1 { font-size: clamp(2.8rem, 5.5vw, 4rem); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .party-art { gap: 10px; }
  .section { padding-block: 60px; }
  .section-heading, .pathways { gap: 0 28px; }
  .curve-intro { margin-left: calc((100% - 28px) / 3 + 28px); }
  /* A readable progression replaces scaled SVG text on phones and tablets. */
  .graph-visual { display: none; }
  .stage-list { position: static; width: auto; height: auto; padding: 0; margin: 24px 0 0; overflow: visible; clip-path: none; white-space: normal; list-style: none; }
  .stage-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; position: relative; padding-bottom: 28px; }
  .stage-list li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--sage); }
  .stage-list li:last-child { padding-bottom: 0; }
  .stage-number { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sage); border-radius: 50%; color: var(--navy); font-size: .875rem; }
  .stage-list:not(.scroll-tracked) li:first-child .stage-number,
  .stage-list li[aria-current=step] .stage-number { background: var(--navy); border-color: var(--navy); color: var(--paper); }
  .stage-list h3 { font-size: 1.5rem; margin: 0 0 4px; line-height: 1.25; }
  .stage-list p { font-size: 1rem; line-height: 1.6; margin: 4px 0 0; max-width: 48ch; }
  .stage-list .stage-caption { color: var(--navy); font-size: .875rem; }
  .related, .contact-copy { padding-top: 0; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(20px, 5.6vw, 32px); }
  html { scroll-padding-top: 100px; }
  main, section { overflow-wrap: break-word; }
  .header { height: auto; min-height: 76px; margin: 0; padding: 7px var(--gutter); flex-wrap: wrap; background: var(--paper); }
  .header.nav-ready { position: sticky; top: 0; z-index: 20; flex-wrap: nowrap; }
  .logo { width: 128px; height: 62px; transform: none; flex-shrink: 0; }
  .logo img { width: 155px; transform: translate(-14px, -15px); }
  .menu-toggle { display: none; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; gap: 12px; font-size: .875rem; }
  .nav-ready .menu-toggle { display: flex; }
  .menu-toggle span { transition: transform .15s; }
  .menu-toggle[aria-expanded=true]>span:last-child { transform: rotate(45deg); }
  .header nav { display: flex; flex-direction: column; position: static; width: 100%; padding: 12px 0; gap: 4px; align-items: stretch; border: 0; }
  .header.nav-ready nav { position: absolute; top: 100%; left: 0; right: 0; padding: 12px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100svh - 100px); overflow-y: auto; }
  .header.nav-ready nav:not(.open) { display: none; }
  .header nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 0; font-size: 1rem; }
  .header nav .nav-contact { border: 0; padding: 12px 0 !important; }
  .skip { z-index: 30; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 28px; padding-bottom: 36px; }
  .hero-copy, .hero-bottom { display: contents; }
  .hero h1 { font-size: clamp(2.25rem, 10.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 20px; }
  .hero h1 br { display: none; }
  .hero .eyebrow { font-size: .6875rem; line-height: 1.5; margin-bottom: 20px; gap: 10px; }
  .short-line { flex-shrink: 0; width: 20px; }
  .hero-bottom { max-width: 520px; }
  .hero-bottom p { font-size: 1rem; line-height: 1.65; margin-bottom: 20px; }
  .hero-bottom .text-link { order: 2; align-self: flex-start; min-height: 48px; font-size: .9375rem; justify-content: space-between; max-width: 100%; gap: 16px; }
  .party-art { order: 1; max-width: 230px; margin: 4px auto 24px; padding: 0; gap: 10px; }
  .art-caption { font-size: .625rem; margin-top: 4px; }
  .section { padding-block: 44px; }
  h2, .intro h2, .pathways h2 { font-size: clamp(1.875rem, 8vw, 2.25rem); }
  .eyebrow { margin-bottom: 20px; }
  .intro-bottom p { font-size: 16px; margin-bottom: 18px; }
  .section-heading .eyebrow, .pathways h2 { padding-top: 0; }
  .curve-intro { margin-left: 0; }
  .curve { margin-top: 26px; }
  .axis-label { font-size: .6875rem; letter-spacing: .06em; }
  .stage-list li { gap: 16px; padding-bottom: 24px; }
  .pathways h2 { margin-bottom: 26px; }
  .pathways nav>a { gap: 12px; grid-template-columns: 20px minmax(0, 1fr) 18px; padding: 23px 0; }
  .pathways h3 { font-size: 1.5rem; }
  .service-row { grid-template-columns: minmax(0, 1fr) 24px; gap: 5px 12px; padding: 18px 4px; }
  .service-name { font-size: 26px; }
  .service-row>span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; }
  .service-row>span:last-child { grid-column: 2; grid-row: 1 / 3; }
  .service-list { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .service-card, .service-card:nth-child(2n) { position: relative; padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .card-top { position: absolute; top: 24px; right: 0; margin: 0; }
  .card-index { display: none; }
  .card-label { font-size: .8125rem; padding-right: 28px; margin-bottom: 8px; }
  .service-card h3 { font-size: 1.625rem; margin-bottom: 12px; padding-right: 24px; }
  .card-description { font-size: 1rem; line-height: 1.65; margin-bottom: 16px; }
  .card-action { border: 0; padding: 0; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
  .footer-top { gap: 24px; }
  .footer-bottom a { display: flex; margin-top: 12px; }
  footer { padding-top: 34px; }
  .detail-hero { padding-top: 30px; padding-bottom: 38px; }
  .detail-hero h1 { font-size: clamp(2.125rem, 9vw, 2.75rem); text-wrap: initial; }
  .standfirst, .contact-copy>p { font-size: 1.125rem; line-height: 1.7; }
  .service-detail h2 { font-size: 1.5rem; }
  .service-detail dl { margin-top: 28px; }
  .back-link { margin-bottom: 24px; }
  .method-columns>div+div { margin-top: 40px; }
  .contact-copy, .related { padding-top: 0; }
}



