/* =====================================================================
   Solas Healthcare — inner pages kit (services, about, faqs, contact…)
   Loads AFTER css/v7.css and reuses its tokens + components (nav, cards,
   faqs, contact, footer, cbanner, reveal). Only page-level layouts that
   the homepage doesn't have live here.
   ===================================================================== */

/* ---- page hero -----------------------------------------------------------
   Shorter than the homepage hero. Copy sits left; the photo bleeds off the
   right viewport edge and fades into the light ground (same seamless
   treatment as the v7 service-card photos). Hex texture in the top-left. */
.phero { position: relative; overflow: clip; isolation: isolate;
  background: linear-gradient(180deg, #FEFEFF 0%, #FBFDFF 34%, #DCE5F5 100%); }

/* faint blue hex texture, top-left corner (same motif as Why Solas) */
.phero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: var(--accent); opacity: .4;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(60% 72% at 0% 0%, #000 0%, transparent 52%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(60% 72% at 0% 0%, #000 0%, transparent 52%);
  mask-composite: intersect; }

.phero__inner { position: relative; z-index: 2;
  max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto;
  padding: clamp(148px, 18vh, 190px) var(--pad) clamp(56px, 7vw, 88px);
  min-height: min(72vh, 640px); display: flex; flex-direction: column; justify-content: flex-end; }
.phero__copy { max-width: 560px; }
.phero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.034em; }
.phero__lede { margin-top: 20px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.58;
  max-width: 44ch; color: var(--ink); }
.phero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* the photo: right half, full hero height, fading into the ground on its
   left + bottom edges so it never reads as a pasted box */
/* the photo edges fade to TRANSPARENT (an alpha mask, not a white overlay) so
   it blends into whatever gradient sits behind it — left + bottom on desktop */
.phero__media { position: absolute; inset: 0 0 0 auto; width: min(52vw, 880px); z-index: 1;
  -webkit-mask:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 15%, #000 48%),
    linear-gradient(180deg, #000 66%, transparent 99%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 15%, #000 48%),
    linear-gradient(180deg, #000 66%, transparent 99%);
  mask-composite: intersect; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

@media (max-width: 1080px) {
  .phero__inner { min-height: 0; padding-top: clamp(120px, 20vw, 148px); }
  .phero__copy { max-width: none; }
  .phero__media { position: relative; inset: auto; width: auto; height: clamp(220px, 46vw, 340px);
    margin: 0 calc(-1 * var(--pad)) 0;
    -webkit-mask: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
}

/* ---- definition section (the "what is a …" AI-answer block) --------------
   Editorial two-column: heading left (sticky), the definition right in large
   readable type, with a key-facts row and source links under it. */
/* flows on from the hero's soft-blue bottom, then resolves to white */
.def { background: linear-gradient(180deg, #DCE5F5 0%, #EEF2FB 24%, #FFFFFF 78%); }
.def__grid { max-width: var(--maxw); margin-inline: auto; display: grid;
  grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 92px); align-items: start; }
.def__head { position: sticky; top: 112px; }
.def__body p { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.58; letter-spacing: -0.012em;
  font-weight: 500; color: var(--ink); }
.def__body p + p { margin-top: 1em; }
.def__body strong { font-weight: 700; }

/* key-facts row — three small figures with hairline dividers */
.def__facts { margin-top: clamp(30px, 3.5vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); }
.def__fact { padding: 20px clamp(14px, 1.8vw, 24px) 4px 0; }
.def__fact + .def__fact { border-left: 1px solid var(--line); padding-left: clamp(14px, 1.8vw, 24px); }
.def__fact b { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(24px, 2.4vw, 34px); color: var(--accent); line-height: 1; }
.def__fact span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-micro); }

/* source row — mono "checked against" links */
.def__sources { margin-top: clamp(26px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.def__sources-label { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-micro); margin-right: 4px; }
.def__source { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line)); border-radius: 999px;
  padding: 6px 14px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.def__source:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 1080px) {
  .def__grid { grid-template-columns: 1fr; }
  .def__head { position: static; }
  .def__facts { grid-template-columns: 1fr; border-top: 0; }
  .def__fact { border-top: 1px solid var(--line); padding: 16px 0 12px; }
  .def__fact + .def__fact { border-left: 0; padding-left: 0; }
}

/* ---- "how we help" — numbered hairline rows beside a sticky photo -------- */
.how { background: #F3F5FE; position: relative; isolation: isolate; overflow: clip; }
.how__grid { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 92px); align-items: start; }
.how__intro { position: sticky; top: 112px; }
.how__intro p:not(.eyebrow) { margin-top: 18px; font-size: 17px; max-width: 38ch; color: var(--ink); }
.how__media { margin-top: clamp(26px, 3vw, 38px); border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 28px -18px rgba(10, 36, 72, 0.28); aspect-ratio: 16 / 11; }
.how__media img { width: 100%; height: 100%; object-fit: cover; }

.how__list { border-top: 1px solid var(--line); }
.how__item { display: grid; grid-template-columns: 56px 1fr; gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(24px, 2.8vw, 36px) clamp(4px, 1vw, 14px);
  border-bottom: 1px solid var(--line); transition: background .25s ease, padding-left .25s ease; }
.how__item:hover { background: color-mix(in srgb, #ffffff 55%, transparent); padding-left: clamp(14px, 2vw, 28px); }
.how__num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent); padding-top: 5px; }
.how__item h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.02em; }
.how__item p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink-micro); max-width: 52ch; }

@media (max-width: 1080px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__intro { position: static; }
  .how__item { grid-template-columns: 40px 1fr; }
}

/* ---- "who it's for" — deep-blue gradient band (the page's dark anchor) --- */
.whofor { position: relative; overflow: clip; isolation: isolate;
  background: linear-gradient(120deg, #1B5099 0%, #123A70 52%, #0D2B52 100%); color: #fff; }
/* white hex texture — top-left and bottom-right corners */
.whofor::before, .whofor::after { content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: #fff; opacity: .3;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(54% 78% at var(--hx) var(--hy), #000 0%, transparent 60%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(54% 78% at var(--hx) var(--hy), #000 0%, transparent 60%);
  mask-composite: intersect; }
.whofor::before { --hx: 0%;   --hy: 0%;   opacity: .44; }   /* top-left — sits on the light end of the gradient, needs more */
.whofor::after  { --hx: 100%; --hy: 100%; }                 /* bottom-right */
.whofor__inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.whofor .eyebrow { color: #fff; border-color: rgba(255,255,255,0.55); }
.whofor .eyebrow::before { background: var(--accent-2-soft); }
.whofor h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); max-width: 21ch; }
.whofor__lede { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,0.88); max-width: 54ch; }
.whofor__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.whofor__tags span { font-size: 13.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32); color: rgba(255,255,255,0.92); }
.whofor__cta { justify-self: end; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.whofor__cta .btn--accent { --btn-bg: #fff; --btn-fg: var(--accent); }
.whofor__cta .btn--accent:hover { --btn-bg: rgba(255,255,255,0.9); }
.whofor__cta .btn--accent .btn__arrow { color: var(--accent); }
.whofor__note { font-size: 14px; color: rgba(255,255,255,0.66); max-width: 30ch; }
@media (max-width: 1080px) {
  .whofor__inner { grid-template-columns: 1fr; }
  .whofor__cta { justify-self: start; }
}

/* ---- generic head block spacing on inner pages --------------------------- */
.page-head { max-width: var(--maxw); margin-inline: auto; margin-bottom: clamp(30px, 4vw, 52px); }

/* on inner pages the FAQ section keeps its white ground but doesn't need the
   homepage's top border-collision with the quotes section */
.page .faqs { border-top: 1px solid var(--line); }

/* ---- how--flip: list on the left, sticky intro + photo on the right ------ */
.how--flip .how__grid { grid-template-columns: 1.1fr 0.9fr; }
.how--flip .how__intro { order: 2; }
.how--flip .how__list { order: 1; }
@media (max-width: 1080px) {
  .how--flip .how__grid { grid-template-columns: 1fr; }   /* was staying 2-col via .how--flip specificity */
  .how--flip .how__intro { order: 0; }
  .how--flip .how__list { order: 1; }
}

/* ---- steps band — deep-blue gradient with a numbered process ------------- */
.steps { position: relative; overflow: clip; isolation: isolate;
  background: linear-gradient(120deg, #1B5099 0%, #123A70 52%, #0D2B52 100%); color: #fff; }
.steps::before, .steps::after { content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: #fff; opacity: .32;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(54% 78% at var(--hx) var(--hy), #000 0%, transparent 60%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(54% 78% at var(--hx) var(--hy), #000 0%, transparent 60%);
  mask-composite: intersect; }
.steps::before { --hx: 0%;   --hy: 0%;   }   /* top-left */
.steps::after  { --hx: 100%; --hy: 100%; }   /* bottom-right */
.steps__inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; }
.steps .eyebrow { color: #fff; border-color: rgba(255,255,255,0.55); }
.steps .eyebrow::before { background: var(--accent-2-soft); }
.steps h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); max-width: 22ch; }
.steps__grid { margin-top: clamp(30px, 4vw, 48px); display: grid;
  grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.step { border-top: 1px solid rgba(255,255,255,0.32); padding-top: 20px; }
.step__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2-soft); }
.step h3 { color: #fff; font-size: clamp(19px, 1.7vw, 23px); margin-top: 10px; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 34ch; }
.steps__cta { margin-top: clamp(28px, 3.5vw, 40px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.steps__cta .arrow-link { color: #fff; }
.steps__cta .arrow-link .btn__arrow { color: var(--accent-2-soft); }
@media (max-width: 1080px) and (min-width: 881px) { .steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .steps__grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---- service bands flipped to the LIGHT style (was deep-blue dark) ------- */
.whofor, .steps {
  background: linear-gradient(120deg, #EEF3FB 0%, #DAE5F6 100%) !important;
  color: var(--ink); }
/* hex texture recoloured blue for the light ground */
.whofor::before, .whofor::after,
.steps::before, .steps::after { background: var(--accent) !important; opacity: .22 !important; }
/* step process icons were white for the dark band — recolour blue */
.step__ico { color: var(--accent); }
/* eyebrow / headings / body → dark + blue */
.whofor .eyebrow, .steps .eyebrow { color: var(--accent); border-color: var(--accent); }
.whofor .eyebrow::before, .steps .eyebrow::before { background: var(--accent); }
.whofor h2, .steps h2, .step h3 { color: var(--ink); }
.whofor__lede, .step p { color: var(--ink-micro); }
.whofor__tags span { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); color: var(--ink); }
.whofor__note { color: var(--ink-micro); }
/* CTA back to the standard solid-blue button */
.whofor__cta .btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.whofor__cta .btn--accent:hover { --btn-bg: var(--accent-700); }
.whofor__cta .btn--accent .btn__arrow { color: var(--accent-2-soft); }
/* steps numbered process */
.step { border-top-color: var(--line); }
.step__num { color: var(--accent); }
.steps__cta .arrow-link { color: var(--accent); }
.steps__cta .arrow-link .btn__arrow { color: var(--accent); }

/* ---- "our other services" — compact cross-links below the FAQs ----------- */
.others { background: #F3F5FE; }
.others__inner { max-width: var(--maxw); margin-inline: auto; }
.others h2 { font-size: clamp(22px, 2.4vw, 30px); }
.others__grid { margin-top: clamp(20px, 2.6vw, 30px); display: grid;
  grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.other-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 10px 22px -16px rgba(10, 36, 72, 0.18);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease; }
.other-card:hover { transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 18px 30px -18px rgba(10, 36, 72, 0.28); }
.other-card__ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.other-card__ico svg { width: 23px; height: 23px; }
.other-card h3 { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; }
.other-card p { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-micro); }
.other-card__go { margin-left: auto; font-size: 18px; color: var(--accent); flex-shrink: 0;
  transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.other-card:hover .other-card__go { transform: translate(3px, -3px); }
.other-card .nav__drop-soon { margin-left: auto; flex-shrink: 0; }
.other-card .nav__drop-soon + .other-card__go { margin-left: 12px; }
@media (max-width: 760px) { .others__grid { grid-template-columns: 1fr; } }

/* ---- whofor: the interactive hex NETWORK (hero graphic), inverted white,
   anchored top-right and cropped by the band's edges ---------------------- */
.whofor .hexnet { left: auto; right: 9%; top: -34%; transform: none;
  width: min(48%, 560px); z-index: 0; }
@media (max-width: 1080px) { .whofor .hexnet { display: none; } }

/* ---- steps band: large open line illustrations above each step ------------ */
.step__ico { display: block; width: clamp(54px, 5.5vw, 70px); margin: 4px 0 18px; }
.step__ico svg { display: block; width: 100%; height: auto; }

/* =====================================================================
   ABOUT page — leadership feature + credentials --------------------- */

/* Full-bleed portrait rail on the LEFT (photo on a light-blue ground with a
   solid navy name-plate pinned to its bottom, both bleeding to the viewport
   edge); the bio sits on the RIGHT within the centred content width.
   Mirrors the homepage Why-Solas full-bleed pattern. Built to Figma 2081-494. */
.leader { position: relative; isolation: isolate; overflow: clip; background: #F4F5FF; }
.leader.section.section-pad { padding: 0 !important; }
/* faint blue hex texture, bottom-right corner (behind the bio) */
.leader::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--accent); opacity: .3;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 100%, #000 0%, transparent 54%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 100%, #000 0%, transparent 54%);
  mask-composite: intersect; }

/* NB: not positioned — so the absolute media rail anchors to the full-width
   section (bleeding to the viewport edge), while the bio stays in this
   centred, padded track. */
.leader__grid { max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto;
  min-height: clamp(480px, 47vw, 660px);
  display: flex; justify-content: flex-end; align-items: center;
  padding-block: clamp(52px, 6vw, 96px); padding-inline: var(--pad); }

/* the media rail bleeds out of the centred layout to the left viewport edge */
.leader__media { position: absolute; top: 0; left: 0; bottom: 0; width: min(41vw, 620px);
  margin: 0; background: #DCE7F7; }
.leader__photo { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 14%; }

/* navy name-plate as a soft OVERLAY: the photo runs full-bleed to the bottom
   and the gradient fades from transparent (top) into solid navy (bottom),
   blending into the image rather than sitting as a hard band. */
.leader__cap { position: absolute; inset: auto 0 0 0; z-index: 2; margin: 0;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px;
  padding: clamp(64px, 11vw, 150px) clamp(24px, 2.8vw, 42px) clamp(18px, 2.2vw, 26px);
  background: linear-gradient(180deg, rgba(10,34,68,0) 0%, rgba(10,34,68,0.28) 34%,
    rgba(9,30,60,0.72) 66%, rgba(7,25,50,0.97) 100%); }
.leader__cap strong { font-family: var(--font-head); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600;
  letter-spacing: -0.02em; color: #fff; }
.leader__cap span { font-size: 14px; color: #C6C6C6; line-height: 1.4; }
.leader__cap .leader__pn { font-family: var(--font-mono); font-weight: 500; font-size: 0.64em;
  color: #C0DBFC; letter-spacing: 0.02em; white-space: nowrap; }

.leader__bio { position: relative; z-index: 1; width: min(52%, 610px); }
.leader__bio h2 { margin-bottom: 18px; }
.leader__bio p:not(.eyebrow) { font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.62; color: var(--ink); }
.leader__bio p:not(.eyebrow) + p:not(.eyebrow) { margin-top: 1em; }
.leader__bio strong { font-weight: 700; }
.leader__link { margin-top: clamp(24px, 2.8vw, 32px); }

@media (max-width: 900px) {
  .leader__grid { display: block; min-height: 0; max-width: none; padding: 0; }
  .leader__media { position: relative; width: 100%; aspect-ratio: 1 / 1; }
  .leader__photo img { object-position: center top; }
  .leader__bio { width: auto; padding: clamp(36px, 8vw, 56px) var(--pad); }
}

/* about intro: the def block on About gets a plain (non-gradient) ground */
.about-intro { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #DCE5F5 0%, #EEF2FB 24%, #FFFFFF 78%); }
/* faint blue hex texture, bottom-left corner */
.about-intro::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--accent); opacity: .3;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 0% 100%, #000 0%, transparent 54%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 0% 100%, #000 0%, transparent 54%);
  mask-composite: intersect; }
.about-intro .def__grid { position: relative; z-index: 1; }

/* =====================================================================
   TESTIMONIALS page — centred intro + masonry wall of review cards */
/* intro + wall share one continuous light ground so they read as a single
   pass (intro resolves to the wall colour, no seam). */
.twall-intro { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #FEFEFF 0%, #FBFDFF 44%, #DCE5F5 100%); }
.twall-intro.section.section-pad { padding-block: 0 !important; }
/* hex texture — TOP-LEFT (first in the diagonal run down the page) */
.twall-intro::before { content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: var(--accent); opacity: .34;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 0%, #000 0%, transparent 56%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 0%, #000 0%, transparent 56%);
  mask-composite: intersect; }
.twall-intro__inner { position: relative; z-index: 1; max-width: 660px; margin-inline: auto; text-align: center;
  padding-top: clamp(132px, 16vh, 176px); padding-bottom: clamp(64px, 8vw, 104px); }
.twall-stars { display: inline-flex; gap: 5px; margin: 0 0 20px; color: #2C63B3; }
.twall-stars .material-symbols-outlined { font-size: 26px; font-variation-settings: 'FILL' 1, 'wght' 500; }
.twall-intro h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.twall-intro p { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6;
  color: var(--ink-micro); max-width: 52ch; margin-inline: auto; }

/* the wall: masonry columns so varying-length quotes pack neatly */
.twall { position: relative; isolation: isolate; overflow: clip; background: #DCE5F5; }
/* hex texture — BOTTOM-RIGHT (second in the diagonal run) */
.twall::before { content: ""; position: absolute; inset: 0; z-index: 0;
  --hx: 0%; --hy: 100%;   /* bottom-left (read by the mobile hex override) */
  pointer-events: none; background: var(--accent); opacity: .3;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(46% 42% at 0% 100%, #000 0%, transparent 56%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(46% 42% at 0% 100%, #000 0%, transparent 56%);
  mask-composite: intersect; }
.twall__grid { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  columns: 3 330px; column-gap: clamp(16px, 1.8vw, 24px); }
.twall__grid .qcard { width: 100%; margin: 0 0 clamp(16px, 1.8vw, 24px);
  break-inside: avoid; flex: none; min-height: 0; }
.twall__grid .qcard blockquote { font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.52; }
@media (max-width: 720px) { .twall__grid { columns: 1; } }

/* light "get connected" band with the interactive hex network — sits directly
   above the dark footer, so it stays light (a dark band would clash) */
.ctaband { position: relative; isolation: isolate; overflow: clip; background: #F4F5FF; }
.ctaband .hexnet { left: auto; right: 9%; top: -34%; transform: none;
  width: min(48%, 560px); z-index: 0; opacity: .85; }
.ctaband__inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ctaband h2 { font-size: clamp(26px, 3vw, 40px); color: var(--ink); max-width: 20ch; }
.ctaband__lede { margin-top: 16px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55;
  color: var(--ink); max-width: 48ch; }
.ctaband__cta { justify-self: end; }
@media (max-width: 900px) {
  .ctaband__inner { grid-template-columns: 1fr; }
  .ctaband__cta { justify-self: start; }
  .ctaband .hexnet { display: none; }
}

/* =====================================================================
   FAQs page — centred intro (seamless into the grouped accordions) +
   a sticky topic nav beside topic-grouped questions */
.faqhub-intro { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #FEFEFF 0%, #F5F8FD 44%, #DEE7F5 100%); }
.faqhub-intro.section.section-pad { padding-block: 0 !important; }
.faqhub-intro::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--accent); opacity: .34;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 0%, #000 0%, transparent 56%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(52% 64% at 100% 0%, #000 0%, transparent 56%);
  mask-composite: intersect; }
.faqhub-intro__inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; text-align: center;
  padding-top: clamp(132px, 16vh, 176px); padding-bottom: clamp(56px, 7vw, 92px); }
.faqhub-intro .eyebrow { margin-bottom: 16px; }
.faqhub-intro h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.faqhub-intro p { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6;
  color: var(--ink-micro); max-width: 52ch; margin-inline: auto; }

/* ===================== 404 — not found ===================== */
.notfound { position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; display: grid; place-items: center;
  background: linear-gradient(180deg, #FEFEFF 0%, #F5F8FD 52%, #DEE7F5 100%); }
.notfound::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--accent); opacity: .30;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(58% 60% at 50% 42%, #000 0%, transparent 62%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(58% 60% at 50% 42%, #000 0%, transparent 62%);
  mask-composite: intersect; }
.notfound__inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto;
  text-align: center; padding: clamp(132px, 17vh, 188px) 24px clamp(72px, 10vh, 116px); }
.notfound__code { font-family: var(--font-mono); font-weight: 500; display: block;
  font-size: clamp(88px, 20vw, 210px); line-height: .86; letter-spacing: -0.05em;
  color: var(--accent); }
.notfound h1 { margin-top: 14px; font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.notfound p { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6;
  color: var(--ink-micro); max-width: 46ch; margin-inline: auto; }
.notfound__actions { margin-top: 32px; display: flex; gap: 14px;
  justify-content: center; align-items: center; flex-wrap: wrap; }
.notfound__links { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 6px 26px; justify-content: center; flex-wrap: wrap; }
.notfound__links a { font-size: 14.5px; font-weight: 500; color: var(--accent);
  transition: opacity .2s ease; }
.notfound__links a:hover { opacity: .68; }

/* ===================== Legal (Privacy Policy + Terms of Use) ===================== */
.legal-intro { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #FEFEFF 0%, #F5F8FD 58%, #EAF0FA 100%); }
.legal-intro::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--accent); opacity: .26;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(56% 68% at 100% 0%, #000 0%, transparent 58%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(56% 68% at 100% 0%, #000 0%, transparent 58%);
  mask-composite: intersect; }
.legal-intro__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto;
  text-align: center; padding-top: clamp(126px, 15vh, 172px); padding-bottom: clamp(40px, 5vw, 60px); }
.legal-intro .eyebrow { margin-bottom: 16px; }
.legal-intro h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); }
.legal-intro > .legal-intro__inner > p { margin-top: 14px; font-size: clamp(15.5px, 1.2vw, 17px);
  color: var(--ink-micro); max-width: 52ch; margin-inline: auto; }
.legal-jump { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.legal-jump a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--accent);
  background: rgba(255,255,255,.6); transition: background .2s ease, border-color .2s ease; }
.legal-jump a:hover { background: var(--accent-tint); border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); }

.legal { background: var(--surface); }
.legal.section-pad { padding-block: clamp(52px, 6vw, 84px); }
.legal__wrap { max-width: 760px; margin-inline: auto; }
.legal__doc { scroll-margin-top: 96px; }
.legal__doc + .legal__doc { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line); }
.legal__doc h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.legal__updated { margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-micro); }
.legal__doc h3 { font-size: clamp(18px, 1.7vw, 21px); margin-top: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.01em; color: var(--ink); }
.legal__doc p { margin-top: 13px; font-size: 16px; line-height: 1.72; color: var(--ink); }
.legal__list { margin-top: 12px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal__list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.66; color: var(--ink); }
.legal__list li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); }

.faqhub { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #DEE7F5 0%, #D4E0F3 100%); }
.faqhub::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --hx: 0%; --hy: 100%;   /* bottom-left (read by the mobile hex override) */
  background: var(--accent); opacity: .28;
  -webkit-mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(44% 40% at 0% 100%, #000 0%, transparent 56%);
  -webkit-mask-composite: source-in;
  mask: url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 60px 34.64px repeat,
    radial-gradient(44% 40% at 0% 100%, #000 0%, transparent 56%);
  mask-composite: intersect; }
.faqhub__grid { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faqhub__nav { position: sticky; top: 112px; }
.faqhub__nav .eyebrow { margin-bottom: 16px; }
.faqhub__nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 2px; font-size: 16.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line); transition: color .2s ease, padding-left .2s ease; }
.faqhub__nav a:hover { color: var(--accent); padding-left: 8px; }
.faqhub__nav a span { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.faqgroup + .faqgroup { margin-top: clamp(30px, 4vw, 48px); }
.faqgroup__title { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(19px, 1.9vw, 25px); color: var(--ink); padding-bottom: 4px; }
.faqgroup .faqs__list { gap: 0; }
@media (max-width: 900px) {
  .faqhub__grid { grid-template-columns: 1fr; }
  .faqhub__nav { position: static; margin-bottom: 4px; }
}

/* =====================================================================
   CONTACT page — the contact section as a standalone page (nav clearance) */
.contact-page.section { padding-top: clamp(124px, 15vh, 168px); padding-bottom: clamp(64px, 8vw, 104px); }
.contact-page .contact__intro h2 { font-size: clamp(34px, 4.2vw, 54px); }

/* ---- mobile: ease every inner-page hex texture (match the homepage sections) ---- */
@media (max-width: 640px) {
  .phero::before,
  .whofor::before, .whofor::after,
  .steps::before, .steps::after,
  .leader::after,
  .about-intro::before,
  .twall-intro::before, .twall::before,
  .faqhub-intro::before, .faqhub::before,
  .notfound::before,
  .legal-intro::before {
    opacity: .2 !important;
    -webkit-mask:
      url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 46px 26.56px repeat,
      radial-gradient(circle 230px at var(--hx, 100%) var(--hy, 0%), #000 0%, transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
    mask:
      url("../assets/img/hexgrid-blue-v6.svg") 0 0 / 46px 26.56px repeat,
      radial-gradient(circle 230px at var(--hx, 100%) var(--hy, 0%), #000 0%, transparent 100%) !important;
    mask-composite: intersect !important;
  }
}
