/* Midland Health — public site (v2, bolder)
   Type: Fraunces (soft, display) + Atkinson Hyperlegible (body; built for low-vision readers)
   Colour: from the logo — leaf green + care blue — on navy ink and sky washes.
   Signature: the arched doorway ("care that comes to your door"), used for every photo. */

@font-face { font-family: "Atkinson"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-full-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #14284a;
  --ink-2: #0f1f3a;
  --ink-soft: #445775;
  --blue: #3871c2;
  --blue-deep: #24508f;
  --green: #80cc28;
  --green-deep: #3a7510;
  --green-dark: #2d5c0b;
  --sky: #eaf2fb;
  --sky-2: #d9e8f8;
  --leaf: #f1f8e7;
  --leaf-2: #dcefc4;
  --paper: #ffffff;
  --line: #cfdbea;
  --focus: #ffbf47;
  --r-s: 6px;
  --r-m: 16px;
  --arch: 999px 999px 10px 10px;
  --wrap: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.92rem;
  --step-0: 1.1875rem;
  --step-1: 1.4rem;
  --step-2: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
  --step-5: clamp(3rem, 1.7rem + 5vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 560; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.wrap.narrow { width: min(100% - 32px, 46rem); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 36rem; }
.muted-lg { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; border-radius: 999px; font: 700 1.05rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s; }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--blue-deep); border-color: currentColor; }
.btn-ghost:hover { background: var(--sky); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--leaf); }
.btn-block { width: 100%; }
.text-link { font-weight: 700; }
.text-link.light { color: #fff; }

/* announcement */
.announce { background: var(--green-deep); color: #fff; font-size: var(--step--1); font-weight: 700; padding: 9px 0; text-align: center; }

/* ---------------- header + mega menu ---------------- */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .mega-btn { display: flex; align-items: center; gap: 8px; padding: 10px 14px; text-decoration: none; color: var(--ink); font: 700 1.04rem var(--sans); border-radius: var(--r-s); background: none; border: 0; cursor: pointer; }
.nav-list > li > a:hover, .mega-btn:hover { background: var(--sky); }
.nav-list > li > a[aria-current="page"], .mega-btn[data-current] { box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.mega-btn[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }
.has-mega { position: static; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -24px rgba(20,40,74,.35); }
.mega.open { display: block; }
.mega-inner { width: min(100% - 32px, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 32px 0 36px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.mega-list a { display: block; padding: 12px 14px; border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.mega-list a:hover { background: var(--sky); }
.mega-list strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.2rem; font-weight: 600; color: var(--blue-deep); }
.mega-list span { display: block; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.mega-side { background: var(--leaf); border-radius: var(--r-m); padding: 22px 24px; align-self: start; }
.mega-h { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.25rem; margin-bottom: 8px; }
.mega-side ul { list-style: none; padding: 0; margin: 0 0 16px; }
.mega-side li a { display: block; padding: 6px 0; font-weight: 700; }
.mega-call { display: block; text-decoration: none; color: var(--ink); border-top: 1px solid var(--leaf-2); padding-top: 14px; }
.mega-call strong { color: var(--green-deep); }
.head-call { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; color: #fff; padding: 9px 20px; border-radius: 999px; background: var(--ink); }
.head-call span { font-size: .8rem; color: #c8d5ea; }
.head-call strong { font-size: 1.12rem; }
.head-call:hover { background: var(--blue-deep); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .brand img { width: 156px; }
  .head-row { min-height: 76px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem var(--sans); color: var(--ink); background: var(--sky); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 48px; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 76px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 24px; gap: 14px; box-shadow: 0 18px 30px -20px rgba(20,40,74,.35); }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .mega-btn { width: 100%; justify-content: space-between; padding: 15px 8px; border-bottom: 1px solid var(--sky-2); border-radius: 0; font-size: 1.15rem; }
  .nav-list > li > a[aria-current="page"], .mega-btn[data-current] { box-shadow: inset 4px 0 0 var(--green); padding-left: 16px; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-inner { grid-template-columns: 1fr; gap: 16px; padding: 8px 0 16px; width: 100%; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list span { display: none; }
  .mega-list a { padding: 10px 12px; }
  .head-call { align-items: flex-start; border-radius: var(--r-m); }
}

/* ---------------- hero ---------------- */
.hero { position: relative; background: var(--sky); padding: 64px 0 0; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: end; }
.hero-copy { padding-bottom: 104px; }
.hero h1 { font-size: var(--step-5); line-height: 1.02; max-width: 11.5ch; margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 28px; }
.finder { background: #fff; border-radius: var(--r-m); padding: 20px 22px 22px; box-shadow: 0 18px 40px -26px rgba(20,40,74,.45); max-width: 560px; }
.finder label { display: block; font-weight: 700; margin-bottom: 10px; }
.finder-row { display: flex; gap: 10px; }
.finder select { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--ink); border: 2px solid #8fa4c2; border-radius: 999px; padding: 0 18px; min-height: 54px; background: #fff; }
.finder select:focus { outline: 3px solid var(--focus); border-color: var(--ink); }
.hero-call { margin: 22px 0 0; font-size: 1.15rem; }
.hero-call a { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: 1.7rem; text-decoration: none; color: var(--blue-deep); margin-left: 6px; }
.hero-call a:hover { text-decoration: underline; }
.hero-note { font-size: 1rem; color: var(--ink-soft); margin-top: 8px; }

.hero-art { position: relative; isolation: isolate; align-self: end; }
.doorway { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sky-2); }
.doorway img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-art::before { content: ""; position: absolute; right: -34px; top: 18%; bottom: 0; width: 72px; border-radius: 999px 999px 0 0; background: var(--green); z-index: -1; }
.porthole { position: absolute; left: -118px; bottom: 56px; width: 196px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px -20px rgba(20,40,74,.5); }
.porthole img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }

/* one orchestrated entrance, nothing else moves on its own */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy .reveal:nth-child(2) { animation-delay: .08s; }
  .hero-copy .reveal:nth-child(3) { animation-delay: .16s; }
  .hero-copy .reveal:nth-child(4) { animation-delay: .24s; }
  .hero-art.reveal { animation: arch-in 1s cubic-bezier(.2,.7,.2,1) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes arch-in { from { opacity: 0; clip-path: inset(40% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 960px) {
  .hero { padding-top: 28px; }
  .hero::after { height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding-bottom: 44px; }
  .hero-art { order: -1; width: 82%; max-width: 440px; margin: 0 auto; }
  .doorway { aspect-ratio: 1 / 0.74; }
  .porthole { width: 96px; left: -34px; bottom: -14px; border-width: 5px; }
  .hero-art::before { right: -18px; width: 40px; }
  .finder { padding: 16px; }
  .finder-row { flex-direction: column; }
}

/* trust band */
.trust-band { background: #fff; padding: 0 0 8px; }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.trust li { position: relative; padding-left: 34px; font-weight: 700; line-height: 1.35; }
.trust li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233a7510' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; border: 1px solid #cfe6b1; }
.trust-cqc { flex: 0 0 auto; }

/* sections */
.section { padding: 96px 0; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.2rem; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.section-head.split h2 { margin: 0; }
.section-head.split p { margin: 0; }
@media (max-width: 860px) { .section { padding: 64px 0; } .section-head.split { grid-template-columns: 1fr; gap: 14px; } }

/* statement */
.statement { padding-bottom: 72px; }
.statement-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: center; }
.statement-text { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 450; font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.75rem); line-height: 1.22; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.statement-art { position: relative; height: 380px; }
.statement-art .arch { position: absolute; overflow: hidden; border-radius: var(--arch); background: var(--sky); }
.statement-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.statement-art .a1 { left: 0; top: 0; width: 62%; height: 86%; }
.statement-art .a2 { right: 0; bottom: 0; width: 50%; height: 64%; border: 6px solid #fff; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; gap: 32px; } .statement-art { height: 280px; max-width: 420px; } }

/* services tiles */
.services-home { background: var(--sky); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.tile-img { display: block; aspect-ratio: 4 / 4.6; border-radius: var(--arch); overflow: hidden; background: var(--sky-2); margin-bottom: 18px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.tile:hover .tile-img img { transform: scale(1.04); }
.tile-name { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--blue-deep); margin-bottom: 6px; }
a.tile:hover .tile-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.tile-sum { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.tile-help { background: var(--ink); color: #fff; border-radius: var(--arch); padding: 56px 26px 30px; justify-content: flex-end; gap: 10px; }
.tile-help .tile-name { color: #fff; font-size: 1.6rem; }
.tile-help .tile-sum { color: #c8d5ea; }
.tile-phone { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: 1.6rem; color: #c8ef98; text-decoration: none; margin-top: 6px; }
.tile-phone:hover { text-decoration: underline; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile:not(.tile-help) { display: grid; grid-template-columns: 112px 1fr; column-gap: 18px; align-items: start; }
  .tile:not(.tile-help) .tile-img { grid-row: span 2; aspect-ratio: 1 / 1.15; margin: 0; }
  .tile-name { font-size: 1.3rem; }
  .tile-help { padding: 36px 22px 26px; border-radius: 120px 120px 10px 10px; }
}

/* full-bleed photo band */
.photo-band { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink-2); }
.photo-band-img { position: absolute; inset: 0; }
.photo-band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.photo-band-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,58,.94) 0%, rgba(15,31,58,.82) 42%, rgba(15,31,58,.15) 78%); }
.photo-band-inner { position: relative; padding: 96px 0; }
.band-quote { margin: 0; max-width: 40rem; }
.band-quote blockquote { margin: 0 0 28px; }
.band-quote p { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 450; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.25; }
.band-quote figcaption { display: flex; flex-direction: column; border-left: 4px solid var(--green); padding-left: 18px; margin-bottom: 30px; }
.band-quote figcaption span { color: #c8d5ea; }
@media (max-width: 760px) {
  .photo-band { min-height: 0; display: block; }
  .photo-band-img { position: relative; height: 280px; }
  .photo-band-img::after { background: linear-gradient(0deg, rgba(15,31,58,1) 0%, rgba(15,31,58,0) 60%); }
  .photo-band-inner { padding: 8px 0 56px; }
}

/* steps */
.steps-sec { background: var(--leaf); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 80px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--green-deep); color: var(--green-deep); font: 650 1.7rem/56px var(--serif); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 74px; right: -18px; border-top: 2px dashed #a9cf7d; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 26px; } .steps li { padding: 0 0 0 78px; min-height: 60px; } }

/* duo panels */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-card { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 24px; overflow: hidden; text-decoration: none; min-height: 340px; }
.duo-blue { background: var(--blue-deep); color: #fff; }
.duo-green { background: var(--green-deep); color: #fff; }
.duo-img { display: block; position: relative; overflow: hidden; }
.duo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 34px 32px; }
.duo-h { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.85rem; line-height: 1.15; }
.duo-p { color: rgba(255,255,255,.86); font-size: 1.05rem; }
.duo-link { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; margin-top: 6px; }
.duo-card:hover .duo-link { text-decoration-thickness: 2px; }
@media (max-width: 960px) { .duo-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .duo-card { grid-template-columns: 1fr; } .duo-img { height: 200px; } .duo-body { padding: 24px 22px 28px; } }

/* areas on home */
.areas-home { padding-top: 0; }
.areas-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; border-top: 1px solid var(--line); padding-top: 72px; }
.area-links { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-links a { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--sky-2); background: var(--sky); text-decoration: none; font-weight: 700; color: var(--blue-deep); }
.area-links a:hover { border-color: var(--blue-deep); }
.offices-mini { display: grid; gap: 16px; }
.office-mini { border-left: 4px solid var(--green); padding: 4px 0 4px 18px; }
.office-mini h3 { font-size: 1.2rem; margin-bottom: 4px; }
.office-mini p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.quote { margin: 0; padding-top: 20px; border-top: 3px solid var(--blue); }
.quote blockquote { margin: 0 0 12px; font-size: 1.15rem; }

/* faq */
.faqs-home { background: var(--sky); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 16px; } }
.faq-list { border-top: 1px solid var(--line); margin-bottom: 24px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 52px 22px 0; position: relative; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 22px; color: var(--ink-soft); }

/* enquiry band */
.enquire { background: var(--ink); color: #fff; padding: 96px 0; }
.enquire h2, .enquire a { color: #fff; }
.enquire-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.enquire-copy p { color: #d3ddef; }
.enquire-phone { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.9rem; color: #fff !important; margin-top: 28px; }
.enquire-phone a { color: #c8ef98; text-decoration: none; }
.enquire-phone a:hover { text-decoration: underline; }
.enquire .enquiry-form { background: #fff; color: var(--ink); border-radius: var(--r-m); padding: 34px; }
.enquire .enquiry-form a { color: var(--blue-deep); }
@media (max-width: 900px) { .enquire { padding: 64px 0; } .enquire-grid { grid-template-columns: 1fr; gap: 28px; } .enquire .enquiry-form { padding: 22px 18px; } }

/* forms */
.field-row { display: flex; flex-wrap: wrap; gap: 0 18px; }
.field { flex: 1 1 100%; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field.half { flex: 1 1 calc(50% - 9px); min-width: 220px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1.02rem; padding: 0; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 2px solid #8fa4c2; border-radius: var(--r-s); padding: 12px 14px; min-height: 54px; }
.field input[type=file] { padding: 10px; background: var(--sky); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 0; box-shadow: none; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #b3261e; }
.err { color: #b3261e; font-weight: 700; margin: 0 0 6px; font-size: 1rem; }
.field.check label { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-weight: 400; align-items: start; }
.field.check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--green-deep); }
.radios label, .checks label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; margin: 4px 22px 8px 0; cursor: pointer; }
.radios input, .checks input { width: 24px; height: 24px; accent-color: var(--green-deep); margin: 0; }
.has-err.check, .has-err.radios { border-left: 4px solid #b3261e; padding-left: 12px; }
.form-msg { padding: 14px 16px; border-radius: var(--r-s); font-weight: 700; }
.form-msg.error { background: #fdecea; color: #8a1c14; border-left: 5px solid #b3261e; }
.form-msg.ok { background: var(--leaf); color: var(--green-deep); }
.form-foot { font-size: .95rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-title { font-size: var(--step-2); }

/* page head */
.page-head { background: var(--sky); padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-head.has-img { padding-bottom: 0; }
.page-head-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: end; }
.page-head.has-img .page-head-grid { grid-template-columns: 1.15fr 0.85fr; }
.page-head.has-img .page-head-grid > div:first-child { padding-bottom: 72px; }
.page-head h1 { font-size: var(--step-4); max-width: 16ch; }
.page-head-img { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 1 / 0.95; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head:not(.has-img)::after { content: ""; position: absolute; right: max(16px, calc((100vw - var(--wrap)) / 2)); bottom: 0; width: 120px; height: 72%; border-radius: 999px 999px 0 0; background: var(--green); opacity: .9; }
.page-head:not(.has-img) .page-head-grid > div { padding-right: 150px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .98rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .page-head { padding: 36px 0 44px; }
  .page-head.has-img .page-head-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-head.has-img .page-head-grid > div:first-child { padding-bottom: 0; }
  .page-head-img { aspect-ratio: 16/10; border-radius: 180px 180px 0 0; }
  .page-head:not(.has-img)::after { width: 56px; height: 46%; }
  .page-head:not(.has-img) .page-head-grid > div { padding-right: 70px; }
}

/* prose */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--green-deep); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green); font-size: 1.2rem; }
.prose img { border-radius: var(--r-m); margin: 1.5em 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.prose > :first-child { margin-top: 0; }
.prose em { color: var(--ink-soft); }

/* aside layouts */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.aside { position: sticky; top: 112px; display: grid; gap: 28px; }
.aside-card { background: var(--leaf); border: 1px solid #cfe6b1; border-radius: var(--r-m); padding: 28px; display: grid; gap: 12px; }
.aside-card h2, .aside-nav h2, .aside-note h2 { font-size: 1.35rem; margin: 0; }
.aside-card p { margin: 0 0 6px; font-size: 1.02rem; }
.aside-note { border-left: 4px solid var(--blue); padding: 2px 0 2px 18px; }
.aside-note p { font-size: 1.02rem; margin: 8px 0 0; color: var(--ink-soft); }
.aside-nav ul { list-style: none; margin: 10px 0 0; padding: 0; }
.aside-nav li { border-bottom: 1px solid var(--line); }
.aside-nav a { display: block; padding: 11px 0; font-weight: 700; text-decoration: none; }
.aside-nav a:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.highlights { background: var(--sky); border-radius: var(--r-m); padding: 26px 30px 10px; margin-bottom: 2em; }
.highlights h2 { font-size: 1.35rem; margin: 0 0 12px; }
.highlights ul { list-style: none; padding: 0; columns: 2 220px; column-gap: 28px; }
.highlights li { position: relative; padding-left: 28px; break-inside: avoid; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
@media (max-width: 1000px) { .with-aside { grid-template-columns: 1fr; gap: 44px; } .aside { position: static; } }

/* services index */
.services-intro { margin-bottom: 48px; }
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 32px; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.sc-img { display: block; border-radius: var(--arch); overflow: hidden; aspect-ratio: 5/4.4; background: var(--sky); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; flex: 1; }
.service-name { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.45rem; color: var(--blue-deep); }
.service-sum { display: block; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }
.sc-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue-deep); text-decoration: underline; text-underline-offset: .18em; }
.service-card:hover .service-name { text-decoration: underline; }
.mini-services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.mini-services li { border-top: 1px solid var(--line); }
.mini-services a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.mini-services strong { display: block; color: var(--blue-deep); font-size: 1.08rem; }
.mini-services span { display: block; color: var(--ink-soft); font-size: .95rem; }
.sub-h { font-size: var(--step-2); margin-top: 1.6em; }
@media (max-width: 640px) { .mini-services { grid-template-columns: 1fr; } }

/* areas index */
.area-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.area-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px; border-radius: var(--r-m); border: 2px solid var(--sky-2); text-decoration: none; color: var(--ink); background: #fff; }
.area-card:hover { border-color: var(--blue-deep); }
.area-name { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.45rem; color: var(--blue-deep); }
.area-sum { color: var(--ink-soft); }
.area-near { font-size: .95rem; color: var(--green-deep); font-weight: 700; }
.area-note { margin-top: 32px; }

/* careers */
.jobs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.jobs li { border-bottom: 1px solid var(--line); }
.job-row { display: grid; gap: 6px; padding: 26px 8px; text-decoration: none; color: var(--ink); }
.job-row:hover { background: var(--sky); }
.job-title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.6rem; color: var(--blue-deep); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.job-meta span { background: var(--sky); border-radius: 999px; padding: 3px 12px; font-size: .95rem; font-weight: 700; }
.job-meta .job-pay { background: var(--leaf); color: var(--green-deep); }
.job-sum { color: var(--ink-soft); max-width: 48rem; }
.job-cta { font-weight: 700; color: var(--blue-deep); text-decoration: underline; text-underline-offset: .18em; }
.no-jobs { background: var(--leaf); border-radius: var(--r-m); padding: 28px 32px; max-width: 48rem; font-size: 1.15rem; }
.no-jobs p { margin: 0; }
.careers-about { padding-top: 0; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 36px; }
.job-facts div { background: var(--sky); border-radius: var(--r-m); padding: 16px 18px; }
.job-facts dt { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.job-facts dd { margin: 4px 0 0; font-weight: 700; }
.apply-band { background: var(--leaf); padding: 88px 0; }
.apply-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.apply-form { background: #fff; border-radius: var(--r-m); padding: 34px; border: 1px solid #cfe6b1; }
@media (max-width: 900px) { .apply-band { padding: 56px 0; } .apply-grid { grid-template-columns: 1fr; gap: 24px; } .apply-form { padding: 22px 18px; } }

/* guide */
.guide-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 112px; border-left: 3px solid var(--sky-2); padding-left: 20px; }
.toc-h { font-weight: 700; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 10px; font-size: 1rem; line-height: 1.4; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.guide h2 { scroll-margin-top: 110px; padding-top: 1.2em; border-top: 1px solid var(--line); }
.guide h2:first-of-type { border-top: 0; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; background: var(--sky); border: 0; border-radius: var(--r-m); padding: 20px 22px; } }

/* team */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px; }
.team-photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 14px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { margin-bottom: 2px; }
.team-role { color: var(--green-deep); font-weight: 700; }
.mission-plain { background: var(--sky); }
.mission-quote { margin: 0; }
.mission-quote blockquote { margin: 0 0 24px; }
.mission-quote blockquote p { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 450; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.3; }
.mission-quote figcaption { display: flex; flex-direction: column; padding-left: 18px; border-left: 4px solid var(--green); }
.mission-quote figcaption span { color: var(--ink-soft); }

/* posts */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.pc-img { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16/10; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-date { color: var(--ink-soft); font-size: .95rem; }
.pc-title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.45rem; color: var(--blue-deep); line-height: 1.2; }
.pc-ex { color: var(--ink-soft); font-size: 1.02rem; }

/* contact */
.phone-big { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.phone-label { font-size: 1rem; color: var(--ink-soft); }
.phone-num { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); color: var(--blue-deep); }
.contact-details .phone-big { margin-bottom: 24px; }
.contact-dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 24px; }
.contact-dl dt { font-weight: 700; }
.contact-dl dd { margin: 0; }
.offices-sec { background: var(--sky); }
.offices { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.office { background: #fff; border-radius: var(--r-m); padding: 28px; border: 1px solid var(--line); }
.office h3 { margin-bottom: 8px; }
.map { margin-top: 16px; border-radius: var(--r-s); overflow: hidden; background: var(--sky); min-height: 120px; display: grid; place-items: center; text-align: center; padding: 16px; }
.map.loaded { padding: 0; }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }
.map-note { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 0; }

/* thanks / 404 */
.thanks { padding: 104px 0; }
.thanks .btn { margin: 4px 8px 4px 0; }
.links-404 { padding-left: 1.2em; font-size: 1.15rem; }
.links-404 li { margin-bottom: 8px; }

/* footer */
.site-foot { background: var(--ink-2); color: #c9d4e6; padding: 72px 0 0; font-size: 1.02rem; }
.site-foot a { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.foot-logo { background: #fff; border-radius: var(--r-s); padding: 10px 14px; width: 220px; margin-bottom: 18px; }
.foot-h { font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.foot-list { list-style: none; margin: 0 0 16px; padding: 0; }
.foot-list li { margin-bottom: 9px; }
.foot-list .muted { color: #9fb0cc; }
.foot-phone { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.6rem; margin-bottom: 10px; }
.foot-phone a { color: #c8ef98; text-decoration: none; }
.foot-addr { font-size: .98rem; }
.foot-areas { font-size: .95rem; color: #9fb0cc; }
.cqc-widget { margin-top: 18px; max-width: 260px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #2a3d5f; padding: 22px 0; font-size: .92rem; }
.foot-base p { margin: 0; max-width: 60ch; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.foot-links .linkish { color: #fff; }
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-top { grid-template-columns: 1fr; gap: 32px; } }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie-inner { background: #fff; color: var(--ink); border-radius: var(--r-m); box-shadow: 0 20px 50px -16px rgba(15,31,58,.5); border: 1px solid var(--line); padding: 22px 24px; max-width: 760px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.cookie-inner p { margin: 0; font-size: 1rem; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns .btn { min-height: 46px; padding: 8px 20px; font-size: .98rem; }
@media (max-width: 700px) { .cookie { bottom: 84px; } .cookie-inner { grid-template-columns: 1fr; } }

/* sticky call bar on phones */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; justify-content: center; align-items: center; min-height: 58px; border-radius: 999px; background: var(--green-deep); color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(15,31,58,.55); }
  .call-ico { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
  body { padding-bottom: 84px; }
}

@media print { .site-head, .call-bar, .cookie, .enquire, .site-foot { display: none; } }
