:root {
  --ink: #071521;
  --ink-soft: #102739;
  --teal: #22b6a3;
  --teal-bright: #74e0cf;
  --cream: #f4f1e9;
  --paper: #fbfaf6;
  --ribbon: #e9f0f7;
  --line: #d7ddd9;
  --muted: #647078;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 28px 70px rgba(7, 21, 33, 0.12);
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.6; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(7, 21, 33, .93); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .16); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; width: 245px; max-height: 58px; object-fit: contain; object-position: left center; }
.site-header .brand-logo { width: auto; max-height: 64px; filter: contrast(1.15); }
.brand-logo, .assessment-logo, .intake-logo-intro img, body::after {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-composite: intersect;
}
.brand-mark { width: 42px; height: 42px; border: 1px solid rgba(116, 224, 207, .55); border-radius: 12px 4px 12px 4px; display: grid; place-items: center; font: 800 22px/1 "Manrope", sans-serif; color: var(--teal-bright); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font: 800 17px/1 "Manrope", sans-serif; letter-spacing: .14em; }
.brand-copy small { margin-top: 5px; font-size: 12px; letter-spacing: .07em; opacity: .72; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a { color: rgba(255,255,255,.84); text-decoration: none; font-size: 16px; font-weight: 600; }
.primary-nav > a:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 23px; border: 1px solid var(--teal); border-radius: 8px; color: var(--ink) !important; background: var(--teal-bright); text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: #8ce8da; box-shadow: 0 12px 30px rgba(34,182,163,.18); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 15px !important; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--white); text-decoration: none; font-size: 16px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.45); padding: 5px 0; }
.text-link:hover { border-color: var(--teal-bright); color: var(--teal-bright); }

.hero { position: relative; overflow: hidden; min-height: 700px; padding: 142px 0 0; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 32%, rgba(34,182,163,.18), transparent 28%), linear-gradient(120deg, rgba(255,255,255,.015) 1px, transparent 1px); background-size: auto, 60px 60px; }
.hero-orbit { position: absolute; border: 1px solid rgba(116,224,207,.13); border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; right: -110px; top: 60px; }
.orbit-two { width: 780px; height: 780px; right: -230px; top: -60px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 74px; align-items: center; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--teal-bright); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #168f80; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.17rem; }
h4 { font-size: 1rem; }
h1 { max-width: 720px; font-size: clamp(48px, 6vw, 78px); font-weight: 700; }
h1 em { color: var(--teal-bright); font-style: normal; }
.hero-lead { max-width: 670px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 20px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.trust-row div { padding-left: 17px; border-left: 1px solid rgba(255,255,255,.16); }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { color: var(--teal-bright); font: 700 22px/1 "Manrope", sans-serif; }
.trust-row span { margin-top: 8px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.35; }
.hero-panel { position: relative; align-self: center; }
.hero-panel h1 { margin-bottom: 25px; font-size: clamp(36px, 4.5vw, 64px); }
.assessment-logo { display: block; width: min(100%, 500px); margin: 0 auto 25px; border: 0; border-radius: 0; background: transparent; filter: none; box-shadow: none; }
.hero-steps { display: grid; gap: 0; max-width: 480px; margin: 0 auto; }
.hero-intake-action { max-width: 480px; margin: 18px auto 0; }
.hero-steps p { display: grid; grid-template-columns: 38px 1fr; margin: 0; padding: 15px 2px; border-top: 1px solid rgba(25,55,71,.18); }
.hero-steps p:last-child { border-bottom: 1px solid rgba(25,55,71,.18); }
.hero-steps p > span { grid-row: 1 / 3; color: #00776d; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.hero-steps strong, .hero-steps small { grid-column: 2; }
.hero-steps strong { color: #071521; font-size: 16px; }
.hero-steps small { margin-top: 2px; color: #4d6671; font-size: 13px; }
.panel-note { width: 80%; margin: 18px auto 0; text-align: center; color: rgba(255,255,255,.45); font-size: 13px; letter-spacing: .04em; }
.credibility-strip { position: relative; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 48px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 12px; font-weight: 700; letter-spacing: .15em; }

.interior-page { padding-top: 84px; }
.corporate-address { margin-top: 12px; font-style: normal; }
.office-map { display: grid; gap: 12px; justify-items: start; margin-top: 24px; }
.office-map iframe { display: block; width: 100%; height: clamp(240px, 42vw, 420px); border: 1px solid var(--line); border-radius: 12px; }
.corporate-name { display: block; color: #006c80; font-family: "Manrope", sans-serif; font-size: 1.125em; font-weight: 800; }
.corporate-email, .site-footer .corporate-email { color: #0055b8; text-decoration: underline; }
.founder-feature { margin-top: 24px; padding: 18px 20px; border-left: 3px solid #006c80; border-radius: 0 8px 8px 0; }
.founder-feature p { margin: 8px 0; }
.founder-research-images { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .175fr); gap: 16px; align-items: start; max-width: 1060px; margin-top: 24px; }
.founder-photo { margin: 0; }
.founder-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.founder-photo figcaption { margin-top: 8px; color: #465d67; font-size: 14px; }
.microscopy-gallery { display: grid; gap: 8px; }
.microscopy-gallery img { display: block; width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 520px) {
  .founder-research-images { grid-template-columns: minmax(0, 1fr); }
  .microscopy-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
.interior-page .engage { padding-bottom: 82px; }
.section { padding: 116px 0; }
.about-strip { scroll-margin-top: 84px; padding: 82px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-grid h1 { max-width: 560px; font-size: clamp(36px, 4.6vw, 54px); }
.about-grid > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.expertise { background: var(--paper); padding-top: clamp(28px, 4vw, 56px); }
.expertise .section-heading + .service-explorer { margin-top: 28px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.section-heading h1 { max-width: 700px; font-size: clamp(38px, 5vw, 58px); }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 17px; }
.industry-experience { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px 70px; margin-top: 54px; padding: 38px 42px; border: 1px solid #b9cecb; border-radius: 18px; background: linear-gradient(135deg, #f0f8f6, #ffffff); box-shadow: 0 18px 50px rgba(7,21,33,.08); }
.experience-kicker { margin: 0 0 9px; color: #00776d; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.industry-experience h3 { max-width: 620px; font-size: clamp(27px, 3.1vw, 38px); }
.industry-experience > div:first-child > p:last-child { margin: 15px 0 0; color: #536975; font-size: 15px; }
.experience-list { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 9px; }
.experience-list span { min-height: 48px; display: flex; align-items: center; padding: 12px 14px; border: 1px solid #c6d9d6; border-radius: 8px; background: #ffffff; color: #193747; font-size: 14px; font-weight: 700; }
.industry-experience > small { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid #d4e1df; color: #6a7e86; font-size: 12px; }
.quality-visuals { display: grid; grid-template-columns: 1.28fr .72fr; grid-template-rows: repeat(2, 165px); gap: 14px; margin-top: 28px; }
.quality-visual { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 15px; background: var(--ink-soft); box-shadow: 0 16px 38px rgba(7,21,33,.13); }
.quality-visual-primary { grid-row: 1 / 3; }
.quality-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .45s ease; }
.quality-visual-primary img { object-position: center 42%; }
.quality-visual:hover img { transform: scale(1.025); }
.quality-visual::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(180deg, transparent, rgba(7,21,33,.92)); pointer-events: none; }
.quality-visual figcaption { position: absolute; z-index: 1; inset: auto 22px 18px; color: #ffffff; }
.quality-visual figcaption strong, .quality-visual figcaption span { display: block; }
.quality-visual figcaption strong { font: 700 16px/1.25 "Manrope", sans-serif; }
.quality-visual figcaption span { max-width: 560px; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.45; }
.service-explorer { display: grid; grid-template-columns: .83fr 1.17fr; min-height: 450px; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.service-tabs { display: flex; flex-direction: column; background: var(--cream); }
.service-tab { flex: 1; display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 28px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #6a7478; text-align: left; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, padding .2s; }
.service-tab:last-child { border-bottom: 0; }
.service-tab span { color: #a2acab; font-size: 12px; }
.service-tab:hover, .service-tab.active { padding-left: 36px; color: var(--white); background: var(--ink-soft); }
.service-tab.active span { color: var(--teal-bright); }
.service-panel { padding: 55px 58px; display: flex; flex-direction: column; justify-content: space-between; }
.service-panel h3 { max-width: 610px; font-size: clamp(30px, 3.8vw, 45px); }
.service-panel p:not(.panel-kicker) { max-width: 650px; color: var(--muted); font-size: 15px; }
.panel-kicker { margin: 0 0 12px; color: #168f80; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.service-panel ul { margin: 28px 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; }
.service-panel li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid #e7ebe8; color: #40515b; font-size: 15px; }
.service-panel li::before { content: "✓"; position: absolute; left: 0; color: #168f80; font-weight: 800; }
.dark-link { align-self: flex-start; color: var(--ink); border-color: #aeb8b4; }
.approach-block { margin-top: 74px; padding: 46px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.approach-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: end; }
.approach-heading h3 { font-size: clamp(30px, 3.6vw, 43px); }
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 38px 0 0; padding: 0; list-style: none; }
.approach-steps li { min-height: 180px; padding: 24px; border-left: 1px solid var(--line); background: #ffffff; }
.approach-steps li:last-child { border-right: 1px solid var(--line); }
.approach-steps span, .approach-steps strong, .approach-steps small { display: block; }
.approach-steps span { color: #168f80; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.approach-steps strong { margin-top: 24px; color: var(--ink); font: 700 20px/1.2 "Manrope", sans-serif; }
.approach-steps small { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.proof-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; margin-top: 110px; }
.proof-intro h3 { font-size: 36px; }
.proof-intro > p:last-child { color: var(--muted); font-size: 16px; }
.case-card { border-top: 1px solid var(--line); }
.case-card:last-child { border-bottom: 1px solid var(--line); }
.case-trigger { width: 100%; min-height: 96px; display: grid; grid-template-columns: 52px 1fr 30px; align-items: center; gap: 10px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.case-trigger > span:nth-child(2) { font: 700 19px/1.3 "Manrope", sans-serif; }
.case-trigger small { display: block; margin-bottom: 5px; color: #168f80; font: 700 9px/1 "DM Sans", sans-serif; letter-spacing: .14em; }
.case-number { color: #9fa9a7; font-size: 13px; }
.case-plus { font-size: 25px; font-weight: 300; }
.case-content { padding: 0 36px 26px 62px; color: var(--muted); font-size: 16px; }
.case-content p { margin-top: 0; }
.case-content div { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 16px; background: var(--cream); border-radius: 9px; }
.case-content strong { color: #168f80; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.engage { padding-bottom: 0; background: var(--ink); color: var(--white); }
.section-heading.light > p { color: rgba(255,255,255,.58); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.tier-card { min-height: 470px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #17384c; border-radius: 17px; background: #0c2638; color: #ffffff; box-shadow: 0 18px 40px rgba(7,21,33,.12); }
.tier-card.featured { border-color: #37cabb; background: linear-gradient(145deg, #075a5d, #0b3445); }
.tier-label { margin: 0 0 30px; color: var(--teal-bright); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.tier-card h3 { min-height: 76px; font-size: 24px; }
.tier-card > p:not(.tier-label) { color: rgba(255,255,255,.72); font-size: 12px; }
.tier-card ul { margin: 16px 0 26px; padding: 0; list-style: none; }
.tier-card li { position: relative; padding: 8px 0 8px 21px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.82); font-size: 13px; }
.tier-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-bright); font-weight: 800; }
.tier-card a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.2); color: var(--teal-bright); text-decoration: none; font-size: 14px; font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.price-card { position: relative; min-height: 350px; display: flex; flex-direction: column; padding: 31px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(255,255,255,.035); }
.price-card.featured { border-color: rgba(116,224,207,.55); background: linear-gradient(145deg, rgba(34,182,163,.16), rgba(255,255,255,.045)); }
.price-label { margin: 0 0 38px; color: var(--teal-bright); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.price-card h3 { min-height: 56px; font-size: 24px; }
.price { margin: 24px 0 12px; color: var(--white); font: 700 29px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.price span { color: rgba(255,255,255,.5); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.price-card > p:not(.price):not(.price-label) { color: rgba(255,255,255,.52); font-size: 13px; }
.price-card a, .rate-toggle { margin-top: auto; padding: 12px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.13); background: none; color: var(--teal-bright); text-decoration: none; text-align: left; font-weight: 700; font-size: 15px; cursor: pointer; }
.price-card a, .rate-toggle { display: flex; justify-content: space-between; }
.rate-drawer { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 12px; padding: 22px; border: 1px solid rgba(116,224,207,.22); border-radius: 12px; background: rgba(255,255,255,.035); }
.rate-drawer div { padding: 0 18px; border-right: 1px solid rgba(255,255,255,.12); }
.rate-drawer div:last-child { border: 0; }
.rate-drawer span, .rate-drawer strong, .rate-drawer small { display: block; }
.rate-drawer span { color: rgba(255,255,255,.44); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.rate-drawer strong { margin-top: 5px; font-size: 16px; }
.rate-drawer small { margin-top: 4px; color: rgba(255,255,255,.43); font-size: 12px; }
.resource-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 112px; }
.resources h3 { max-width: 420px; margin-bottom: 34px; font-size: 38px; }
.resource-list { display: grid; }
.resource-list a { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); color: var(--white); text-decoration: none; transition: padding .2s; }
.resource-list a:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.resource-list a:hover { padding-left: 8px; }
.resource-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(116,224,207,.35); border-radius: 8px; color: var(--teal-bright); font-size: 12px; font-weight: 800; }
.resource-list strong, .resource-list small { display: block; }
.resource-list strong { font-size: 15px; }
.resource-list small { margin-top: 3px; color: rgba(255,255,255,.43); font-size: 12px; }
.resource-list b { color: var(--teal-bright); font-size: 19px; }
.consult-callout, .resource-cta { padding: 42px; border: 1px solid #a8c5c1; border-radius: 20px; background: #ffffff; color: var(--ink); box-shadow: 0 24px 60px rgba(7,21,33,.12); }
.consult-callout h3, .resource-cta h3 { font-size: 35px; }
.consult-callout > p:not(.eyebrow), .resource-cta > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.consult-callout ol { margin: 26px 0 30px; padding: 0; list-style: none; counter-reset: consult; }
.consult-callout li { position: relative; padding: 13px 0 13px 42px; border-top: 1px solid #d7e2e0; color: #324b58; font-size: 15px; counter-increment: consult; }
.consult-callout li:last-child { border-bottom: 1px solid #d7e2e0; }
.consult-callout li::before { content: counter(consult); position: absolute; left: 0; top: 10px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #d9f1ed; color: #006d65; font-size: 13px; font-weight: 800; }
.consultation { scroll-margin-top: 105px; margin-top: 82px; padding: 52px; border: 1px solid #a8c5c1; border-radius: 24px; background: #ffffff; color: var(--ink); box-shadow: 0 30px 75px rgba(7,21,33,.14); }
.consultation-page { padding: 38px 0 62px; background: linear-gradient(180deg, #e8f4f2 0%, #f7fbfa 100%); }
.consultation-page .consultation { margin-top: 0; }
.intake-logo-intro:not([hidden]) {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
  background: var(--ribbon);
  pointer-events: none;
}
.intake-logo-intro img { width: min(96vw, 172dvh); height: auto; }
.consultation-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.consultation-intro h1 { max-width: 720px; font-size: clamp(33px, 4.2vw, 48px); }
.consultation-intro > p { margin: 0; color: #506874; font-size: 15px; }
.intake-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 42px 0 34px; border: 1px solid #c9d9d7; border-radius: 12px; overflow: hidden; background: #f4f8f7; }
.intake-progress span { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 11px 12px; border-right: 1px solid #c9d9d7; color: #667b84; font-size: 12px; font-weight: 700; }
.intake-progress span:last-child { border: 0; }
.intake-progress b { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #a9bcba; border-radius: 50%; background: #ffffff; color: #596d76; }
.intake-progress span.active { background: var(--ink-soft); color: #ffffff; }
.intake-progress span.active b { border-color: var(--teal-bright); background: var(--teal-bright); color: var(--ink); }
.intake-progress span.complete { color: #006d65; background: #e4f4f1; }
.intake-progress span.complete b { border-color: #00776d; background: #00776d; color: #ffffff; }
#consultation-form { min-height: 520px; margin-top: 0; }
.intake-step { margin: 0; padding: 0; border: 0; animation: intake-in .28s ease; }
.intake-step[hidden], [hidden] { display: none !important; }
.intake-step > legend { width: 100%; margin-bottom: 27px; color: var(--ink); font: 700 25px/1.2 "Manrope", sans-serif; letter-spacing: -.025em; }
.intake-step > legend > span { display: block; margin-bottom: 7px; color: #00776d; font: 800 10px/1 "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.intake-step label { font-size: 12px; }
.choice-group { margin: 0 0 20px; padding: 0; border: 0; }
.choice-group > legend { width: 100%; margin-bottom: 11px; color: #3f4b51; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.choice-group > legend small { color: #73848b; font-weight: 500; letter-spacing: 0; text-transform: none; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: block; cursor: pointer; text-transform: none; letter-spacing: 0; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { min-height: 86px; display: flex; flex-direction: column; justify-content: center; padding: 15px 16px 15px 44px; border: 1px solid #c8d5d2; border-radius: 10px; background: #fbfdfc; color: #3f5661; transition: border-color .18s, background .18s, box-shadow .18s; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; border: 1px solid #91aaa6; border-radius: 4px; transform: translateY(-50%); background: #ffffff; }
.choice b { color: var(--ink); font-size: 15px; }
.choice small { margin-top: 3px; color: #627781; font-size: 12px; line-height: 1.4; }
.choice input:checked + span { border-color: #00776d; background: #eaf6f4; box-shadow: inset 4px 0 0 #00776d; }
.choice input:checked + span::before { content: "✓"; display: grid; place-items: center; border-color: #00776d; background: #00776d; color: #ffffff; font-size: 13px; font-weight: 800; }
.choice input:focus-visible + span { outline: 3px solid rgba(34,182,163,.25); outline-offset: 2px; }
.choice-group.compact .choice span { min-height: 58px; }
.field-error { min-height: 18px; margin: 6px 0 0; color: #a52d2d; font-size: 13px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b33a3a; box-shadow: 0 0 0 3px rgba(179,58,58,.1); }
.recommendation-card { position: relative; overflow: hidden; padding: 38px; border: 1px solid #0b6f69; border-radius: 18px; background: linear-gradient(135deg, #082331, #075a5d); color: #ffffff; }
.recommendation-card::after { content: "Q"; position: absolute; right: -24px; bottom: -55px; color: rgba(116,224,207,.08); font: 800 210px/1 "Manrope", sans-serif; }
.recommendation-card > * { position: relative; z-index: 1; }
.recommendation-label { margin: 0 0 10px; color: var(--teal-bright); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.recommendation-card h4 { margin: 0; font: 700 clamp(30px, 4vw, 43px)/1.08 "Manrope", sans-serif; letter-spacing: -.035em; }
.recommendation-card > p:not(.recommendation-label):not(.recommendation-note) { max-width: 760px; color: rgba(255,255,255,.75); font-size: 14px; }
.recommendation-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 25px 0; overflow: hidden; border: 1px solid rgba(116,224,207,.28); border-radius: 10px; background: rgba(116,224,207,.24); }
.recommendation-meta span { padding: 15px; background: rgba(7,21,33,.7); color: #e7fffb; font-size: 13px; font-weight: 700; }
.recommendation-meta span:last-child { grid-column: 1 / -1; }
.recommendation-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.82); font-size: 14px; }
.recommendation-card li + li { margin-top: 5px; }
.recommendation-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.55); font-size: 12px; }
.consent-choice { display: flex; align-items: flex-start; gap: 11px; margin-top: 22px; color: #3e555f; text-transform: none; letter-spacing: 0; }
.consent-choice input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #00776d; }
.consent-choice span { font-size: 14px; font-weight: 500; line-height: 1.5; }
.privacy-notice { margin-top: 22px; padding: 18px 20px; border: 1px solid #bfd4d0; border-radius: 10px; background: #f4f9f8; }
.privacy-notice b { color: #006d65; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.privacy-notice p { margin: 8px 0 0; color: #465d67; font-size: 13px; line-height: 1.6; }
.appointment-note { display: flex; flex-direction: column; margin-bottom: 23px; padding: 18px 20px; border-left: 4px solid #00776d; border-radius: 0 10px 10px 0; background: #edf7f5; }
.appointment-note b { color: var(--ink); font-size: 16px; }
.appointment-note span { color: #536a74; font-size: 13px; }
.three-fields { grid-template-columns: 1fr 1fr 1.25fr; }
.request-summary { display: grid; gap: 12px; margin-top: 6px; padding: 15px 18px; border: 1px solid #ccd9d7; border-radius: 9px; background: #f7faf9; }
.request-summary h4, .request-summary p, .request-summary dl { margin: 0; }
.request-summary h5 { margin: 0 0 6px; color: #00776d; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.request-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 14px; }
.request-summary dt { font-weight: 650; }
.request-summary dd { margin: 0; white-space: pre-wrap; }
.request-summary p, .request-summary dl { color: #3f5661; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .request-summary dl { grid-template-columns: minmax(0, 1fr); }
  .request-summary dd + dt { margin-top: 6px; }
}
.intake-actions { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 31px; padding-top: 23px; border-top: 1px solid #d5e0de; }
.intake-back { min-height: 46px; padding: 0 18px; border: 1px solid #a9bbb8; border-radius: 8px; background: #ffffff; color: #314a55; font-weight: 700; cursor: pointer; }
.intake-back:hover { border-color: #00776d; color: #00776d; }
.intake-actions .form-status { align-self: center; min-height: 0; color: #a52d2d; }
@keyframes intake-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.contact-card { scroll-margin-top: 110px; padding: 42px; border-radius: 22px 22px 0 0; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.contact-head h3 { font-size: 35px; }
.contact-head > p:last-child { color: var(--muted); font-size: 14px; }
form { display: grid; gap: 17px; margin-top: 27px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { color: #3f4b51; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #ccd4d0; border-radius: 8px; outline: none; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
select { color-scheme: light; }
select option { background-color: var(--white); color: var(--ink); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #168f80; box-shadow: 0 0 0 3px rgba(34,182,163,.12); }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.form-footer p { max-width: 220px; margin: 0; color: #7a8588; font-size: 12px; line-height: 1.45; }
.form-footer .button { border: 0; min-height: 47px; font-size: 14px; }
.form-status { min-height: 20px; margin: 0; color: #168f80; font-size: 14px; }
.site-footer { background: var(--ribbon); color: var(--ink); border-top: 1px solid var(--line); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding: 60px 0 35px; }
.footer-content > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer p, .site-footer a { margin: 0; color: #314a55; font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: #006d65; }
.site-footer .footer-linkedin { display: inline-flex; width: 44px; height: 44px; align-items: center; color: #0a66c2; }
.site-footer .footer-linkedin:hover { color: #004182; }
.footer-content > div > strong { margin-bottom: 8px; color: var(--ink); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

/* High-contrast light theme */
body { background: #ffffff; }
.site-header { color: var(--ink); background: var(--ribbon); border-bottom: 1px solid rgba(7,21,33,.08); }
.site-header.scrolled { background: var(--ribbon); box-shadow: 0 10px 30px rgba(7,21,33,.1); }
.site-header .brand-copy strong { color: var(--ink); }
.site-header .brand-copy small { color: #536875; opacity: 1; }
.site-header .brand-mark { color: #00776d; border-color: rgba(0,119,109,.45); }
.primary-nav > a { color: #233f50; }
.primary-nav > a:hover { color: #006d65; }
.hero { background: linear-gradient(135deg, #f0f6f9 0%, #e6eff6 52%, #d9e5f0 100%); color: var(--ink); }
.hero::before { background: radial-gradient(circle at 76% 32%, rgba(34,182,163,.16), transparent 30%), linear-gradient(120deg, rgba(7,21,33,.035) 1px, transparent 1px); background-size: auto, 60px 60px; }
.hero-orbit { border-color: rgba(0,119,109,.17); }
.hero .eyebrow { color: #00776d; }
.hero h1 em { color: #00776d; }
.hero-lead { color: #3c5665; }
.hero .text-link { color: var(--ink); border-color: #78928f; }
.hero .text-link:hover { color: #006d65; border-color: #006d65; }
.panel-note { color: #385564; }
.trust-row div { border-left-color: #b7d0cd; }
.trust-row strong { color: #00776d; }
.trust-row span { color: #4e6572; }
.credibility-strip { border-top-color: #c8dcda; color: #355662; }
.expertise { background: #ffffff; }
.service-explorer { border-color: #bdd2cf; box-shadow: 0 28px 70px rgba(7,21,33,.13); }
.service-tabs { background: #edf5f4; }
.engage { background: #eaf3f4; color: var(--ink); }
.engage .eyebrow { color: #00776d; }
.section-heading.light > p { color: #47606d; }
.price-card { color: var(--white); border-color: #17384c; background: #0c2638; box-shadow: 0 18px 40px rgba(7,21,33,.12); }
.price-card.featured { border-color: #006d65; background: linear-gradient(145deg, #075a5d, #0b3445); }
.price-card > p:not(.price):not(.price-label) { color: rgba(255,255,255,.78); }
.price-card a, .rate-toggle { border-top-color: rgba(255,255,255,.22); }
.rate-drawer { border-color: #a9c5c2; background: #ffffff; box-shadow: 0 12px 30px rgba(7,21,33,.08); }
.rate-drawer div { border-right-color: #cfdddb; }
.rate-drawer span { color: #526a76; }
.rate-drawer strong { color: var(--ink); }
.rate-drawer small { color: #607680; }
.resource-list a { border-top-color: #b9cdcb; color: var(--ink); }
.resource-list a:last-child { border-bottom-color: #b9cdcb; }
.resource-icon { border-color: rgba(0,109,101,.5); color: #006d65; background: #ffffff; }
.resource-list small { color: #4b6470; }
.resource-list b { color: #006d65; }
.contact-card { background: #ffffff; border: 1px solid #b9cdcb; box-shadow: 0 30px 70px rgba(7,21,33,.15); }
.footer-logo { width: min(260px, 100%); max-height: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { padding-top: 140px; }
  .hero-grid, .section-heading, .proof-wrap, .resource-contact-grid, .about-grid, .approach-heading { grid-template-columns: 1fr; }
  .about-grid, .approach-heading { gap: 28px; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .approach-steps li:nth-child(3) { border-top: 1px solid var(--line); }
  .approach-steps li:nth-child(4) { border-top: 1px solid var(--line); }
  .industry-experience { grid-template-columns: 1fr; gap: 26px; }
  .hero-grid { gap: 52px; }
  .section-heading, .proof-wrap { gap: 30px; }
  .hero-panel { max-width: 620px; }
  .service-explorer { grid-template-columns: 1fr; }
  .service-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .service-tab { min-height: 76px; border-right: 1px solid var(--line); }
  .service-tab:nth-child(2) { border-right: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier-card { min-height: 430px; }
  .price-card { min-height: 280px; }
  .rate-drawer { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .rate-drawer div:nth-child(even) { border-right: 0; }
  .contact-card { border-radius: 22px; }
  .consultation { padding: 38px; }
  .consultation-intro { grid-template-columns: 1fr; gap: 18px; }
  .intake-progress { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .intake-progress span { border-bottom: 0; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { height: 72px; }
  .interior-page { padding-top: 72px; }
  .brand-copy small { display: none; }
  .brand-logo { width: 190px; max-height: 50px; }
  .site-header .brand-logo { max-height: 56px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 72px); overflow-y: auto; padding: 26px 22px; background: var(--white); box-shadow: var(--shadow); }
  .menu-toggle > span:not(.sr-only) { background: var(--ink); }
  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .primary-nav .button { margin-top: 20px; border-bottom: 0; font-size: 16px !important; }
  .hero { min-height: auto; padding-top: 126px; }
  h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .text-link { align-self: flex-start; }
  .trust-row { grid-template-columns: 1fr; }
  .hero-panel { display: block; margin-top: 12px; }
  .hero-panel h1 { font-size: clamp(36px, 10vw, 56px); }
  .assessment-logo { width: min(100%, 470px); }
  .credibility-strip { margin-top: 50px; justify-content: flex-start; }
  .section { padding: 82px 0; }
  .about-strip { padding: 66px 0; }
  .approach-block { margin-top: 52px; padding: 30px 20px; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps li { min-height: auto; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .approach-steps li:first-child { border-top: 0; }
  .section-heading h1 { font-size: 38px; }
  .service-tabs { grid-template-columns: 1fr; }
  .service-tab { border-right: 0; }
  .service-panel { padding: 36px 24px; }
  .proof-wrap { margin-top: 75px; }
  .industry-experience { margin-top: 38px; padding: 28px 22px; }
  .experience-list { grid-template-columns: 1fr; }
  .quality-visuals { grid-template-columns: 1fr; grid-template-rows: 250px 210px 210px; }
  .quality-visual-primary { grid-row: auto; }
  .quality-visual figcaption { inset: auto 18px 16px; }
  .case-content { padding-left: 20px; }
  .case-content div { grid-template-columns: 1fr; gap: 5px; }
  .rate-drawer { grid-template-columns: 1fr; }
  .rate-drawer div { padding: 10px 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .resource-contact-grid { margin-top: 82px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-card { min-height: auto; }
  .consultation-page { padding: 26px 0 44px; }
  .contact-card { padding: 30px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .consult-callout, .resource-cta { padding: 30px 22px; }
  .consultation { margin-top: 60px; padding: 30px 20px; border-radius: 18px; }
  .intake-progress { display: flex; margin: 30px 0 27px; overflow-x: auto; }
  .intake-progress span { min-width: 128px; }
  #consultation-form { min-height: 650px; }
  .choice-grid, .choice-grid.three { grid-template-columns: 1fr; }
  .choice span { min-height: 75px; }
  .recommendation-card { padding: 28px 22px; }
  .recommendation-meta { grid-template-columns: 1fr; }
  .recommendation-meta span:last-child { grid-column: auto; }
  .three-fields { grid-template-columns: 1fr; }
  .intake-actions { grid-template-columns: 1fr; }
  .intake-actions .button, .intake-back { width: 100%; }
  .intake-actions .form-status { grid-row: 1; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer p { max-width: none; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Shared decorative watermark for all site sections and intake steps. */
@media screen {
  body::after {
    content: "";
    position: fixed;
    z-index: 10;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: clamp(104px, 17vw, 220px);
    aspect-ratio: 531 / 280;
    background: url("qapc-logo.png") center / contain no-repeat;
    opacity: .28;
    pointer-events: none;
  }
}

.service-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-shortcuts a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid #9dbeba; border-radius: 99px; color: #005f56; background: rgba(255,255,255,.55); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .18s ease, translate .18s ease; }
.service-shortcuts a:is(:hover, :focus-visible) { background: #d4f3ed; }
.service-shortcuts a:focus-visible, .service-tab:focus-visible { outline: 2px solid #00776d; outline-offset: 2px; }
#service-explorer { scroll-margin-top: 112px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-orbit { animation: orbit-enter 1.1s ease-out both; }
  .hero-panel.visible .hero-steps p { animation: detail-enter .43s ease-out both; }
  .hero-panel.visible .hero-steps p:nth-child(2) { animation-delay: .11s; }
  .hero-panel.visible .hero-steps p:nth-child(3) { animation-delay: .22s; }
  .case-card.open .case-content:not([hidden]) { animation: detail-enter .24s ease-out both; }
  .quality-visual img { transition: scale .4s ease; }
  @media (hover: hover) {
    .quality-visual:hover img { scale: 1.045; }
    .service-shortcuts a:hover { translate: 0 -2px; }
  }
}
@keyframes orbit-enter {
  from { opacity: 0; scale: .93; }
  to { opacity: 1; scale: 1; }
}
@keyframes detail-enter {
  from { opacity: .4; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}

.booking-next-step { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

.booking-frame { display: block; width: 100%; height: 780px; border: 0; margin: 20px 0; }


/* Preserve sharp, proportionate artwork and readable text at all viewport sizes. */
.assessment-logo, .brand-logo { height: auto; }
.privacy-notice a { color: #0055b8; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-notice p { line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; }


/* Short, progressive page transitions; navigation stays native. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: qapc-fade-out 100ms ease both; }
::view-transition-new(root) { animation: qapc-fade-in 180ms ease both; }
@keyframes qapc-fade-out { to { opacity: 0; } }
@keyframes qapc-fade-in { from { opacity: 0; } to { opacity: 1; } }

.tier-card, .service-explorer { transition: translate 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.tier-card:focus-within, .service-explorer:focus-within { border-color: #22b6a3; box-shadow: 0 18px 42px rgba(7,21,33,.18); }
.tier-card a:focus-visible, .service-tab:focus-visible, .service-panel a:focus-visible { outline: 3px solid #22b6a3; outline-offset: 4px; }
@media (hover: hover) {
  .tier-card:hover, .service-explorer:hover { translate: 0 -3px; border-color: #22b6a3; box-shadow: 0 20px 44px rgba(7,21,33,.18); }
}
.intake-progress span, .intake-progress b { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
.intake-progress-track { height: 4px; margin: -20px 0 30px; overflow: hidden; border-radius: 4px; background: #d8e5e3; }
.intake-progress-track > span { display: block; width: var(--intake-progress, 0%); height: 100%; border-radius: inherit; background: #00776d; transition: width 300ms ease; }
.submission-confirmation { display: flex; gap: 16px; align-items: center; margin: 24px 0; padding: 22px; border: 1px solid #a6cfc7; border-radius: 12px; background: #f1faf7; }
.submission-confirmation p { margin: 8px 0 0; }
.confirmation-check { flex: 0 0 48px; }
.booking-next-step:not([hidden]) .submission-confirmation { animation: qapc-fade-in 250ms ease both; }
.booking-next-step:not([hidden]) .confirmation-check path { stroke-dasharray: 40; stroke-dashoffset: 0; animation: qapc-check 420ms ease both; }
@keyframes qapc-check { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .tier-card, .service-explorer, .intake-progress span, .intake-progress b, .intake-progress-track > span { transition: none; }
  .tier-card:hover, .service-explorer:hover { translate: none; }
  .booking-next-step:not([hidden]) .submission-confirmation, .booking-next-step:not([hidden]) .confirmation-check path { animation: none; }
}
