:root {
  color-scheme: light;
  --night: #fff4dc;
  --forest: #241d2b;
  --forest-light: #304bd6;
  --surface: #fff9ed;
  --surface-raised: #f4e7d4;
  --cream: #241d2b;
  --muted: #5d5360;
  --gold: #e94e3c;
  --gold-bright: #e94e3c;
  --line: #cfc2aa;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 144px; }
body { margin: 0; background: var(--night); color: var(--cream); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
[hidden] { display: none !important; }
.section-wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 20px; padding: 11px 16px; background: var(--gold); color: var(--night); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 10; top: 0; display: flex; height: var(--header-height); align-items: center; justify-content: space-between; padding-inline: max(40px, calc((100vw - 1340px) / 2)); border-bottom: 1px solid rgba(244,240,230,.12); background: rgba(16,26,22,.97); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--cream); }
.brand-symbol { position: relative; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--gold); color: var(--gold-bright); font: 500 18px/.9 var(--serif); letter-spacing: -.1em; }
.brand-symbol::before { position: absolute; inset: 4px; border: 1px solid rgba(195,161,106,.48); content: ""; }
.brand-symbol i { position: absolute; top: -6px; right: -6px; padding: 0 2px; background: var(--night); color: var(--gold-bright); font: normal 11px var(--sans); }
.brand-name { display: grid; gap: 4px; }
.brand-name b { font: 500 17px/.95 var(--serif); letter-spacing: .055em; }
.brand-name small { color: var(--muted); font: 600 9px var(--sans); letter-spacing: .38em; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #e0e0d6; font-size: 14px; }
.site-nav>a:not(.nav-cta):hover, .text-link:hover { color: var(--gold-bright); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--gold); color: var(--cream); }
.nav-cta span { margin-left: 10px; color: var(--gold-bright); }
.menu-toggle { display: none; }

.service-rail { position: sticky; z-index: 9; top: var(--header-height); display: flex; min-height: 48px; align-items: center; justify-content: center; gap: clamp(14px, 2.7vw, 36px); overflow-x: auto; padding: 6px 22px; border-bottom: 1px solid rgba(244,240,230,.1); background: rgba(27,43,36,.97); scrollbar-width: none; }
.service-rail::-webkit-scrollbar { display: none; }
.service-rail>span { flex: 0 0 auto; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.service-rail a { flex: 0 0 auto; color: #e2e3d9; font-size: 14px; transition: color .18s; }
.service-rail a:hover { color: var(--gold-bright); }

.hero { display: grid; min-height: 680px; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 6%; padding-top: 66px; padding-bottom: 74px; }
.hero-copy { max-width: 520px; }
.eyebrow, .section-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.eyebrow { margin: 0 0 22px; color: var(--gold-bright); }
.sparkle { margin-right: 6px; color: var(--gold); font-size: 15px; }
h1, h2, .team h2 { margin: 0; color: var(--cream); font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
h1 { font-size: clamp(48px, 5vw, 70px); }
h1 span, h2 span { color: var(--gold-bright); }
.hero-sub { max-width: 440px; margin: 24px 0 28px; color: #dadcd2; font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; min-height: 48px; min-width: 154px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; border: 1px solid transparent; border-radius: 1px; font-size: 14px; font-weight: 700; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--gold); color: var(--night); }
.button-dark:hover { background: var(--gold-bright); }
.button-light { border-color: var(--gold); background: transparent; color: var(--cream); }
.button-light:hover { background: rgba(195,161,106,.14); }
.button span { color: var(--gold-bright); font-size: 17px; font-weight: 400; }
.button-dark span { color: var(--night); }
.text-link { color: var(--cream); font-size: 14px; font-weight: 600; }
.text-link span { margin-left: 7px; color: var(--gold-bright); }
.hero-art { position: relative; overflow: hidden; padding: 28px 32px 24px; border: 1px solid var(--line); background: linear-gradient(145deg, #1e342a, #15261f 72%); box-shadow: 14px 14px 0 rgba(195,161,106,.12); }
.hero-art::before { position: absolute; top: 0; right: 0; width: 130px; height: 2px; background: var(--gold); content: ""; }
.infographic-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.infographic-heading>span { color: var(--gold-bright); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.infographic-heading strong { color: var(--cream); font: 400 24px/1.08 var(--serif); text-align: right; }
.infographic-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.infographic-grid::before { position: absolute; z-index: 0; top: 50%; right: 0; left: 0; border-top: 1px dashed rgba(195,161,106,.42); content: ""; }
.infographic-node { position: relative; z-index: 1; display: grid; min-height: 105px; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: start; gap: 3px; padding: 12px 12px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(23,42,34,.88); }
.infographic-node>span { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.infographic-node>b { align-self: end; color: var(--cream); font-size: 15px; font-weight: 600; line-height: 1.25; }
.infographic-node>i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold-bright); font: normal 23px var(--serif); }
.infographic-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 18px 2px 0; color: #e1dfd4; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.infographic-foot i { width: 100%; max-width: 65px; border-top: 1px solid var(--gold); }
.hero-bottom { display: none; }

.section-label { display: flex; align-items: center; gap: 15px; color: #d2d4ca; }
.section-label span:first-child { color: var(--gold-bright); }
.problem { background: var(--forest); color: var(--cream); }
.problem-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 12%; margin-top: 42px; }
.problem h2, .section-heading h2, .approach h2, .why h2, .contact h2 { font-size: clamp(40px, 4.7vw, 59px); }
.problem-grid>div { max-width: 470px; }
.lead { margin: 0 0 12px; color: white; font: 400 25px/1.25 var(--serif); }
.problem-grid>div>p:not(.lead) { margin: 0; color: #daddd3; font-size: 16px; }

.services { padding-bottom: 116px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin: 42px 0 36px; }
.section-heading>p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); transition: background .18s; scroll-margin-top: 155px; }
.service-row:hover, .service-row[open] { background: rgba(244,240,230,.035); }
.service-row summary { display: grid; min-height: 76px; grid-template-columns: 48px 1.05fr 1.2fr 24px; align-items: center; gap: 18px; padding: 13px 6px; cursor: pointer; list-style: none; }
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary:focus-visible { outline-offset: -2px; }
.service-index { color: var(--gold-bright); font-size: 12px; font-weight: 700; }
.service-title { color: var(--cream); font: 500 24px/1.2 var(--serif); letter-spacing: -.02em; }
.service-desc { color: var(--muted); font-size: 14px; }
.service-mark { color: var(--gold-bright); font: 400 22px var(--sans); text-align: center; transition: transform .2s; }
.service-row[open] .service-mark { transform: rotate(45deg); }
.service-row>p { max-width: 750px; margin: -2px 50px 21px 72px; color: #d3d7cd; font-size: 15px; }

.team { position: relative; overflow: hidden; background: var(--forest-light); }
.team::after { position: absolute; top: -220px; right: -120px; width: 440px; height: 440px; border: 1px solid rgba(195,161,106,.2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(195,161,106,.025), 0 0 0 90px rgba(195,161,106,.025); content: ""; }
.team-inner { position: relative; z-index: 1; }
.team-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 10%; margin-top: 45px; }
.light-eyebrow { color: var(--gold-bright); font-size: 11px; }
.team h2 { font-size: clamp(48px, 5.2vw, 65px); }
.team-copy { max-width: 440px; margin: 18px 0 24px; color: #e0e2d9; font-size: 16px; }
.engine { display: grid; grid-template-columns: repeat(6, auto); align-items: center; justify-content: space-between; gap: 10px; padding: 23px 0; border-top: 1px solid rgba(244,240,230,.36); border-bottom: 1px solid rgba(244,240,230,.36); }
.engine span { color: var(--cream); font: 400 clamp(15px, 1.65vw, 21px) var(--serif); }
.engine i { width: clamp(10px, 1.7vw, 23px); border-top: 1px solid var(--gold-bright); }

.approach { padding-block: 105px; }
.approach-top { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: 42px; }
.approach-top>p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 52px 0 0; padding: 0; list-style: none; }
.steps::before { position: absolute; top: 14px; right: 8%; left: 8%; border-top: 1px solid var(--line); content: ""; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.steps li>span { z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--night); color: var(--gold-bright); font-size: 10px; }
.steps strong { color: var(--cream); font: 500 19px var(--serif); }
.steps small { color: var(--muted); font-size: 13px; }

.doctor { background: var(--forest); }
.doctor-grid { display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: 9%; margin-top: 42px; }
.doctor-content { max-width: 520px; }
.doctor-content h2 { font-size: clamp(43px, 4.7vw, 61px); }
.doctor-intro { margin: 20px 0 10px; color: var(--cream); font: 400 23px/1.32 var(--serif); }
.doctor-caption { margin: 0 0 24px; color: #c9cec4; font-size: 15px; }
.chat-open-inline { min-width: 220px; }
.doctor-photo { position: relative; overflow: hidden; width: 100%; margin: 0; border: 1px solid rgba(195,161,106,.55); background: var(--night); box-shadow: 12px 12px 0 rgba(195,161,106,.12); }
.doctor-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.095; object-fit: cover; }
.doctor-photo figcaption { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; background: rgba(16,26,22,.91); color: var(--gold-bright); font-size: 11px; font-weight: 700; letter-spacing: .1em; }

.why { padding-bottom: 108px; }
.why-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 8%; margin-top: 42px; }
.why-layout ul { margin: 0; padding: 0; list-style: none; }
.why-layout li { padding: 13px 0; border-bottom: 1px solid var(--line); color: #e3e3d9; font-size: 15px; }
.why-layout li span { margin-right: 13px; color: var(--gold-bright); font-size: 11px; font-weight: 700; }

.work { background: #0d1512; color: var(--cream); }
.work-layout { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 10%; margin-top: 39px; }
.work h2 { font-size: clamp(41px, 5vw, 63px); }
.work h2 span { color: var(--gold-bright); }
.work-layout>p { max-width: 315px; margin: 0 0 5px; color: #d1d4ca; font-size: 15px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 10%; margin-top: 43px; }
.contact-layout>div>p { max-width: 380px; margin: 17px 0; color: var(--muted); font-size: 15px; }
.contact-layout>div>.contact-aside { margin-top: 28px; color: var(--gold-bright); font: 500 16px var(--serif); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: var(--cream); font-size: 14px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #7c877b; border-radius: 0; outline: none; background: transparent; color: var(--cream); font-size: 15px; font-weight: 400; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-bright); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aeb4aa; }
.phone-label span { color: var(--gold-bright); font-size: 11px; letter-spacing: .12em; }
.submit-button { align-self: flex-start; cursor: pointer; }
.form-note { margin: -9px 0 0; color: #c3c7bd; font-size: 13px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 25px max(40px, calc((100vw - 1340px) / 2)); border-top: 1px solid var(--line); color: #c2c5bb; font-size: 13px; }
.site-footer>a:not(.wordmark) { color: var(--gold-bright); }

.chat-launcher { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: flex; min-height: 65px; align-items: center; gap: 10px; padding: 7px 15px 7px 7px; border: 1px solid var(--gold); border-radius: 40px; background: var(--forest-light); box-shadow: 0 8px 32px rgba(0,0,0,.4); color: var(--cream); cursor: pointer; animation: doctorFloat 4.2s ease-in-out infinite; }
.chat-launcher img { width: 48px; height: 48px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.chat-launcher span { font-size: 14px; font-weight: 700; }
.chat-launcher b { align-self: flex-start; color: var(--gold-bright); font-size: 12px; }
.chat-launcher:hover { background: #2b4537; }
.chat-panel { position: fixed; z-index: 31; right: 24px; bottom: 98px; display: flex; width: min(410px, calc(100vw - 32px)); max-height: min(690px, calc(100dvh - 125px)); flex-direction: column; overflow: hidden; border: 1px solid rgba(195,161,106,.75); background: #18251f; box-shadow: 0 22px 70px rgba(0,0,0,.58); }
.chat-header { display: flex; min-height: 80px; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--forest); }
.chat-header img { width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.chat-header>div { display: grid; gap: 1px; flex: 1; }
.chat-header strong { color: var(--cream); font: 500 21px var(--serif); }
.chat-header small { color: #c5c9bf; font-size: 13px; }
.chat-close { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; }
.chat-body { overflow-y: auto; padding: 16px; }
.chat-welcome, .chat-bubble { max-width: 94%; margin: 0 0 13px; padding: 12px 14px; background: var(--surface-raised); color: #f0efe6; font-size: 14px; line-height: 1.48; }
.chat-messages { display: grid; gap: 9px; }
.chat-user { justify-self: end; max-width: 88%; padding: 10px 12px; background: #c3a16a; color: #111813; font-size: 14px; line-height: 1.45; }
.chat-bubble { margin: 0; border-left: 2px solid var(--gold); }
.chat-bubble a { display: inline-block; margin-top: 7px; color: var(--gold-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.chat-suggestions button { padding: 8px 10px; border: 1px solid #788276; background: transparent; color: var(--cream); font-size: 13px; cursor: pointer; }
.chat-suggestions button:hover { border-color: var(--gold); color: var(--gold-bright); }
.chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-input-row input { min-width: 0; flex: 1; padding: 9px 2px; border: 0; border-bottom: 1px solid #788276; outline: 0; background: transparent; color: var(--cream); font-size: 15px; }
.chat-input-row input::placeholder { color: #b7bdb2; }
.chat-input-row button { width: 42px; height: 42px; border: 0; background: var(--gold); color: var(--night); font-size: 21px; cursor: pointer; }
.chat-footnote { margin: 0; padding: 0 14px 13px; color: #c2c6bd; font-size: 13px; }
.chat-footnote a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Brand Alchemy's eight-service visual: bright editorial panel against the dark site. */
.hero-art { padding: 25px 23px 20px; border-color: #d9ddd4; background: #fffefa; box-shadow: 12px 12px 0 rgba(195,161,106,.16); color: var(--forest); }
.hero-art::before { width: 92px; background: var(--forest); }
.infographic-heading { align-items: center; margin-bottom: 8px; }
.infographic-heading>span { color: #315644; font-size: 10px; letter-spacing: .11em; }
.infographic-heading strong { color: #14251d; font-size: 23px; }
.service-diagram { display: grid; grid-template-columns: minmax(106px, 1fr) minmax(110px, 1.18fr) minmax(106px, 1fr); align-items: center; gap: 2px; }
.diagram-list { display: grid; gap: 7px; }
.diagram-service { display: grid; grid-template-columns: 23px 1fr; column-gap: 5px; align-items: baseline; padding: 7px 6px; border-bottom: 1px solid #d9e0d9; color: #17392a; transition: background .2s, transform .2s; }
.diagram-service:hover { transform: translateY(-2px); background: #eef3ed; }
.diagram-service i { grid-row: 1 / span 2; color: #a0783e; font: normal 10px var(--sans); }
.diagram-service b { font-size: 11px; line-height: 1.24; }
.diagram-service small { grid-column: 2; color: #54675b; font-size: 9px; line-height: 1.25; }
.diagram-character { position: relative; align-self: stretch; min-height: 248px; overflow: visible; }
.diagram-character img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: alchemistArrive .85s cubic-bezier(.2,.7,.2,1) both, alchemistFloat 6s ease-in-out 1s infinite; }
.infographic-foot { padding-top: 12px; color: #315644; font-size: 10px; letter-spacing: .12em; }
.infographic-foot i { border-color: #a0783e; }
.service-row[id] { scroll-margin-top: 155px; }
.chat-launcher { border-color: #dce7dc; background: #fbfcf7; color: #163729; }
.chat-launcher img { border-color: #315b43; background: white; object-fit: cover; object-position: 50% 33%; }
.chat-launcher b { color: #315b43; }
.chat-launcher:hover { background: white; }
.chat-panel { border: 1px solid #d9e2d9; background: #fffefa; box-shadow: 0 22px 70px rgba(0,0,0,.48); color: #1b2c22; }
.chat-header { border-bottom: 0; background: #1c3d2e; }
.chat-header img { border-color: #e5d3a5; background: white; object-fit: contain; object-position: center; }
.doctor-photo { background: #fffefa; }
.doctor-photo img { object-fit: contain; }
.chat-header strong { color: white; }
.chat-header small { color: #d9e5dc; }
.chat-close { border-color: rgba(255,255,255,.45); color: white; }
.chat-body { background: #fffefa; }
.chat-welcome, .chat-bubble { background: #eff3ec; color: #23372b; }
.chat-user { background: #23543d; color: white; }
.chat-bubble { border-left-color: #567d5c; }
.chat-bubble a { color: #23543d; }
.chat-suggestions button { border-color: #b9c8bb; background: #fff; color: #234631; }
.chat-suggestions button:hover { border-color: #23543d; background: #f0f5ef; color: #173b29; }
.chat-input-row { border-top-color: #d9e2d9; background: #fffefa; }
.chat-input-row input { border-bottom-color: #93a998; color: #1b2c22; }
.chat-input-row input::placeholder { color: #708175; }
.chat-input-row button { border-radius: 50%; background: #24553d; color: #fff; }
.chat-footnote { color: #5d6d61; }
.chat-footnote a { color: #23543d; }
@keyframes alchemistArrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes alchemistFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 960px) {
  .hero-art { padding-inline: 16px; }
  .service-diagram { grid-template-columns: minmax(96px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr); }
  .diagram-character { min-height: 225px; }
  .diagram-service { padding-inline: 3px; }
  .diagram-service b { font-size: 10px; }
  .diagram-service small { font-size: 8px; }
}
@media (max-width: 820px) {
  .hero-art { padding: 24px; }
  .service-diagram { grid-template-columns: 1fr 1fr; }
  .diagram-character { grid-column: 1 / -1; grid-row: 1; width: min(360px, 88%); min-height: 310px; margin: 0 auto 6px; }
  .diagram-list { align-content: start; gap: 3px; }
  .diagram-service { min-height: 54px; padding: 8px; }
  .diagram-service b { font-size: 12px; }
  .diagram-service small { font-size: 10px; }
}
@media (min-width: 821px) and (max-width: 960px) {
  .menu-toggle { display: flex; width: 44px; height: 44px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--cream); }
  .theme-toggle { margin-left: auto; }
  .site-nav { position: absolute; top: calc(var(--header-height) - 1px); right: 24px; left: auto; display: none; width: min(360px, calc(100vw - 48px)); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; border: 1px solid #cfc2aa; background: #fff4dc; color: #241d2b; font-size: 15px; }
  .site-nav.open { display: flex; }
  .site-nav>a { padding: 12px 2px; border-bottom: 1px solid rgba(36,29,43,.14); color: #241d2b; }
  .site-nav>a.nav-cta { margin-top: 12px; padding: 11px 12px; border: 1px solid #304bd6; color: #241d2b; text-align: center; }
  html[data-theme="dark"] .site-nav { border-color: #514b59; background: #242229; color: #f8f1e8; }
  html[data-theme="dark"] .site-nav>a { border-bottom-color: #514b59; color: #f8f1e8; }
}
@media (max-width: 640px) {
  .hero-art { padding: 20px 14px 16px; }
  .infographic-heading { flex-direction: row; align-items: center; }
  .infographic-heading strong { font-size: 20px; text-align: right; }
  .diagram-character { min-height: 260px; }
  .diagram-service { grid-template-columns: 21px 1fr; min-height: 57px; padding: 6px 4px; }
  .diagram-service b { font-size: 11px; }
  .diagram-service small { font-size: 9px; }
  .infographic-foot { font-size: 9px; letter-spacing: .08em; }
  .infographic-foot i { max-width: 23px; }
  .chat-launcher { border-color: #315b43; background: #fffefa; }
}

@keyframes infographicIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes doctorFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.infographic-node { animation: infographicIn .55s both; }
.infographic-node:nth-child(2) { animation-delay: .07s; }
.infographic-node:nth-child(3) { animation-delay: .14s; }
.infographic-node:nth-child(4) { animation-delay: .21s; }
.infographic-node:nth-child(5) { animation-delay: .28s; }
.infographic-node:nth-child(6) { animation-delay: .35s; }

@media (max-width: 960px) {
  .section-wrap { width: min(100% - 56px, 780px); }
  .site-header { padding-inline: 28px; }
  .site-nav { gap: 17px; font-size: 13px; }
  .hero { min-height: 630px; grid-template-columns: 1.15fr .85fr; gap: 4%; }
  h1 { font-size: clamp(42px, 4.7vw, 56px); }
  .hero-art { padding: 22px; }
  .infographic-node { min-height: 98px; padding: 10px; }
  .infographic-node>b { font-size: 14px; }
  .problem-grid, .why-layout { gap: 6%; }
  .team-layout { gap: 6%; }
  .engine { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; }
  .engine i { display: none; }
  .doctor-grid { gap: 6%; }
  .site-footer { padding-inline: 28px; }
}

@media (min-width: 641px) and (max-width: 820px) {
  :root { --header-height: 70px; }
  .site-header { height: var(--header-height); }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--cream); }
  .site-nav { position: absolute; top: calc(var(--header-height) - 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 20px; border-bottom: 1px solid var(--line); background: var(--night); font-size: 15px; }
  .site-nav.open { display: flex; }
  .site-nav>a { padding: 12px 2px; border-bottom: 1px solid rgba(244,240,230,.15); }
  .site-nav .nav-cta { margin-top: 12px; padding: 11px 12px; text-align: center; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding-block: 52px 82px; }
  .hero-copy { max-width: 580px; }
  .hero h1 { font-size: 57px; }
  .hero-art { padding: 27px; }
  .infographic-node { min-height: 94px; }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  html { scroll-padding-top: 128px; }
  body { font-size: 16px; }
  .section-wrap { width: calc(100% - 40px); }
  .section-pad { padding-block: 72px; }
  .site-header { height: var(--header-height); padding-inline: 18px; }
  .brand-symbol { width: 38px; height: 38px; font-size: 16px; }
  .brand-name b { font-size: 15px; }
  .brand-name small { font-size: 8px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--cream); }
  .site-nav { position: absolute; top: calc(var(--header-height) - 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: var(--night); font-size: 15px; }
  .site-nav.open { display: flex; }
  .site-nav>a { padding: 12px 2px; border-bottom: 1px solid rgba(244,240,230,.15); }
  .site-nav .nav-cta { margin-top: 12px; padding: 11px 12px; text-align: center; }
  .service-rail { top: var(--header-height); min-height: 48px; justify-content: flex-start; gap: 19px; padding-inline: 16px; }
  .service-rail>span { font-size: 10px; }
  .service-rail a { font-size: 14px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 31px; padding-top: 52px; padding-bottom: 72px; }
  .eyebrow, .section-label { font-size: 11px; }
  h1 { font-size: clamp(46px, 11.6vw, 65px); }
  .hero-sub { max-width: 375px; font-size: 17px; }
  .button-row { gap: 16px; }
  .button { min-height: 48px; font-size: 14px; }
  .hero-art { padding: 20px 17px 18px; }
  .infographic-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 15px; }
  .infographic-heading strong { font-size: 22px; text-align: left; }
  .infographic-node { min-height: 90px; grid-template-columns: 1fr auto; padding: 9px; }
  .infographic-node>b { font-size: 13px; }
  .infographic-node>i { font-size: 19px; }
  .infographic-foot { gap: 5px; padding-top: 14px; font-size: 10px; letter-spacing: .1em; }
  .infographic-foot i { max-width: 24px; }
  .problem-grid, .why-layout, .contact-layout { grid-template-columns: 1fr; gap: 23px; }
  .problem-grid { margin-top: 33px; }
  .problem h2, .section-heading h2, .approach h2, .why h2, .contact h2 { font-size: 42px; }
  .problem-grid>div>p:not(.lead) { font-size: 15px; }
  .lead { font-size: 23px; }
  .section-heading { display: block; margin: 34px 0 26px; }
  .section-heading>p { margin-top: 14px; font-size: 15px; }
  .services { padding-bottom: 76px; }
  .service-row summary { min-height: 78px; grid-template-columns: 30px 1fr 22px; gap: 8px; padding-block: 12px; }
  .service-title { font-size: 21px; }
  .service-desc { grid-column: 2; grid-row: 2; font-size: 13px; }
  .service-mark { grid-column: 3; grid-row: 1 / span 2; }
  .service-row>p { margin: 0 24px 19px 38px; font-size: 14px; }
  .team-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 35px; }
  .team h2 { font-size: 52px; }
  .team-copy { font-size: 15px; }
  .engine { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: space-between; gap: 12px 7px; }
  .engine span { font-size: 17px; }
  .approach-top { display: block; margin-top: 34px; }
  .approach-top>p { margin-top: 13px; font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 13px; margin-top: 32px; }
  .steps::before { top: 13px; right: auto; bottom: 12px; left: 13px; border-top: 0; border-left: 1px solid var(--line); }
  .steps li { display: grid; grid-template-columns: 29px 1fr; grid-template-rows: auto auto; gap: 0 13px; align-items: center; text-align: left; }
  .steps li>span { grid-row: 1 / span 2; }
  .steps strong { font-size: 18px; }
  .steps small { font-size: 13px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 33px; }
  .doctor-content h2 { font-size: 45px; }
  .doctor-intro { font-size: 21px; }
  .doctor-caption { font-size: 14px; }
  .doctor-photo { grid-row: 1; }
  .why-layout { margin-top: 30px; }
  .why-layout li { font-size: 14px; }
  .work-layout { grid-template-columns: 1fr; gap: 17px; margin-top: 30px; }
  .work h2 { font-size: 43px; }
  .work-layout>p { font-size: 14px; }
  .contact-layout { margin-top: 30px; }
  .contact-layout>div>p { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .contact-form { gap: 16px; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px 20px; font-size: 12px; }
  .site-footer>:nth-child(even) { justify-self: end; text-align: right; }
  .chat-launcher { right: 12px; bottom: 12px; width: 62px; height: 62px; min-height: 0; justify-content: center; padding: 4px; }
  .chat-launcher img { width: 52px; height: 52px; }
  .chat-launcher span { display: none; }
  .chat-launcher b { position: absolute; top: 1px; right: 0; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--night); }
  .chat-panel { right: 8px; bottom: 78px; width: calc(100vw - 16px); max-height: calc(100dvh - 92px); }
  .chat-suggestions { gap: 7px; }
  .chat-suggestions button { padding: 8px 9px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Culture Desk direction: warm print paper, sharp coral and cobalt, editorial type. */
body { background: var(--night); color: var(--forest); }
::selection { background: #304bd6; color: #fff4dc; }
:focus-visible { outline-color: #304bd6; }
.skip-link { background: #304bd6; color: #fff4dc; }
.site-header { border-bottom-color: rgba(36,29,43,.16); background: rgba(255,244,220,.97); }
.wordmark { color: #241d2b; }
.brand-symbol { border-color: #e94e3c; color: #304bd6; }
.brand-symbol::before { border-color: rgba(48,75,214,.45); }
.brand-symbol i { background: #fff4dc; color: #e94e3c; }
.brand-name small { color: #5d5360; }
.site-nav { color: #241d2b; }
.site-nav>a:not(.nav-cta):hover, .text-link:hover { color: #304bd6; }
.nav-cta { border-color: #304bd6; color: #241d2b; }
.nav-cta span { color: #e94e3c; }
.service-rail { border-bottom-color: rgba(255,255,255,.2); background: #304bd6; }
.service-rail>span { color: #fff4dc; }
.service-rail a { color: #fffdf5; }
.service-rail a:hover { color: #ffd6cc; }
.menu-toggle { border-color: rgba(36,29,43,.35); }
.menu-toggle span { background: #241d2b; }
h1, h2, .team h2 { color: #241d2b; }
h1 span, h2 span { color: #e94e3c; }
.eyebrow { color: #304bd6; }
.sparkle { color: #e94e3c; }
.hero { position: relative; }
.hero h1 { max-width: 620px; font-size: clamp(49px, 6vw, 78px); }
.hero-sub { color: #4d4354; }
.button-dark { background: #e94e3c; color: #241d2b; }
.button-dark:hover { background: #f36c59; }
.button-dark span { color: #241d2b; }
.button-light { border-color: rgba(36,29,43,.65); background: #fff4dc; color: #241d2b; }
.button-light:hover { background: #ffe4d6; }
.button-light span { color: #304bd6; }
.text-link { color: #241d2b; }
.text-link span { color: #304bd6; }
.hero-art { padding: 25px 23px 20px; border-color: #241d2b; background: #fff9ed; box-shadow: 9px 9px 0 #304bd6; color: #241d2b; }
.hero-art::before { width: 104px; height: 5px; background: #e94e3c; }
.infographic-heading>span { color: #304bd6; }
.infographic-heading strong { color: #241d2b; }
.service-diagram { grid-template-columns: minmax(100px, 1fr) minmax(116px, 1.12fr) minmax(100px, 1fr); }
.diagram-character { position: relative; inset: auto; display: grid; width: auto; height: auto; min-height: 248px; place-content: center; gap: 7px; overflow: visible; margin: 0 7px; background: #304bd6; box-shadow: 7px 7px 0 #e94e3c; color: #fff4dc; text-align: center; transform: rotate(-2deg); animation: cultureNudge 7s ease-in-out infinite; }
.diagram-character img { display: none; }
.culture-core::before { position: absolute; top: -13px; right: -9px; color: #e94e3c; content: "✳"; font-size: 28px; }
.culture-core>span { font: 500 47px/.9 var(--serif); letter-spacing: -.1em; }
.culture-core>strong { font-size: 11px; line-height: 1.3; letter-spacing: .13em; }
.culture-core>small { color: #fff4dc; font-size: 10px; }
.diagram-service { border-bottom-color: #d5c8b1; color: #241d2b; }
.diagram-service:hover { background: #ffe4d6; }
.diagram-service i { color: #e94e3c; }
.diagram-service small { color: #5d5360; }
.infographic-foot { color: #304bd6; font-size: 9px; letter-spacing: .09em; }
.infographic-foot i { border-color: #e94e3c; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 0; border-top: 1px solid #cfc2aa; color: #304bd6; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.section-label { color: #5d5360; }
.section-label span:first-child { color: #e94e3c; }
.problem { background: #304bd6; color: #fff4dc; }
.problem h2, .problem .lead { color: #fff4dc; }
.problem h2 span { color: #ffb2a4; }
.problem .section-label { color: #e9e5ff; }
.problem .section-label span:first-child { color: #ffb2a4; }
.problem-grid>div>p:not(.lead) { color: #e5e4ff; }
.services { background: #fff4dc; }
.section-heading>p, .approach-top>p { color: #5d5360; }
.service-list { border-top-color: #cfc2aa; }
.service-row { border-bottom-color: #cfc2aa; }
.service-row:hover, .service-row[open] { background: rgba(233,78,60,.07); }
.service-index, .service-mark { color: #304bd6; }
.service-title { color: #241d2b; }
.service-desc { color: #5d5360; }
.service-row>p { color: #4d4354; }
.team { background: #e94e3c; color: #241d2b; }
.team::after { border-color: rgba(36,29,43,.2); box-shadow: 0 0 0 45px rgba(36,29,43,.04), 0 0 0 90px rgba(36,29,43,.035); }
.team .section-label, .team .section-label span:first-child { color: #241d2b; }
.team .light-eyebrow { color: #304bd6; }
.team h2, .team h2 span { color: #241d2b; }
.team-copy { color: #3b2a35; }
.engine { border-color: rgba(36,29,43,.55); }
.engine span { color: #241d2b; }
.engine i { border-color: #304bd6; }
.approach { background: #fff9ed; }
.steps::before { border-color: #cfc2aa; }
.steps li>span { border-color: #e94e3c; background: #fff9ed; color: #304bd6; }
.steps strong { color: #241d2b; }
.steps small { color: #5d5360; }
.doctor { background: #d8e2ff; color: #241d2b; }
.doctor .section-label, .doctor .section-label span:first-child { color: #304bd6; }
.doctor .eyebrow { color: #304bd6; }
.doctor-content h2 { color: #241d2b; }
.doctor-content h2 span { color: #e94e3c; }
.doctor-intro { color: #342840; }
.doctor-caption { color: #51465b; }
.doctor-photo { border-color: #241d2b; background: #fff9ed; box-shadow: 9px 9px 0 #e94e3c; }
.doctor-photo figcaption { background: #304bd6; color: #fff4dc; }
.why { background: #fff4dc; }
.why h2 { color: #241d2b; }
.why-layout li { border-bottom-color: #cfc2aa; color: #342840; }
.why-layout li span { color: #e94e3c; }
.work { background: #241d2b; color: #fff4dc; }
.work .section-label, .work .section-label span:first-child { color: #ffb2a4; }
.work h2 { color: #fff4dc; }
.work h2 span { color: #f36c59; }
.work-layout>p { color: #e6ddea; }
.culture-rules { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid rgba(255,244,220,.35); border-bottom: 1px solid rgba(255,244,220,.35); }
.culture-rules span { flex: 1 1 180px; padding: 15px 18px 15px 0; color: #fff4dc; font: 500 21px var(--serif); }
.culture-rules span+span { padding-left: 18px; border-left: 1px solid rgba(255,244,220,.35); }
.contact { background: #fff4dc; }
.contact h2 { color: #241d2b; }
.contact h2 span { color: #e94e3c; }
.contact-layout>div>p { color: #5d5360; }
.contact-layout>div>.contact-aside { color: #304bd6; }
.contact-form label { color: #241d2b; }
.contact-form input, .contact-form textarea { border-bottom-color: #9e8fa0; color: #241d2b; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #304bd6; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #766a79; }
.phone-label span { color: #304bd6; }
.form-note { color: #5d5360; }
.site-footer { border-top-color: #cfc2aa; color: #5d5360; }
.site-footer>a:not(.wordmark) { color: #304bd6; }
.chat-launcher { border-color: #e94e3c; background: #fff9ed; color: #241d2b; box-shadow: 0 8px 28px rgba(36,29,43,.22); }
.chat-launcher img { border-color: #304bd6; background: #fff; }
.chat-launcher b { color: #e94e3c; }
.chat-launcher:hover { background: #ffe4d6; }
.chat-panel { border-color: #cfc2aa; background: #fff9ed; color: #241d2b; box-shadow: 0 22px 70px rgba(36,29,43,.28); }
.chat-header { background: #304bd6; }
.chat-header img { border-color: #ffb2a4; }
.chat-header strong { color: #fff4dc; }
.chat-header small { color: #e5e4ff; }
.chat-close { border-color: rgba(255,244,220,.45); color: #fff4dc; }
.chat-body { background: #fff9ed; }
.chat-welcome, .chat-bubble { background: #ffe4d6; color: #342840; }
.chat-user { background: #304bd6; color: #fff; }
.chat-bubble { border-left-color: #e94e3c; }
.chat-bubble a { color: #304bd6; }
.chat-suggestions button { border-color: #b9add0; background: #fff; color: #304bd6; }
.chat-suggestions button:hover { border-color: #304bd6; background: #e9edff; color: #241d2b; }
.chat-input-row { border-top-color: #d5c8b1; background: #fff9ed; }
.chat-input-row input { border-bottom-color: #9e8fa0; color: #241d2b; }
.chat-input-row input::placeholder { color: #766a79; }
.chat-input-row button { background: #e94e3c; color: #241d2b; }
.chat-footnote { color: #5d5360; }
.chat-footnote a { color: #304bd6; }
@keyframes cultureNudge { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-4px); } }
@media (max-width: 820px) {
  .site-header { background: rgba(255,244,220,.98); }
  .site-nav { background: #fff4dc; }
  .site-nav>a { border-bottom-color: rgba(36,29,43,.14); }
  .service-diagram { grid-template-columns: 1fr 1fr; }
  .diagram-character { grid-column: 1 / -1; grid-row: 1; width: min(300px, 78%); min-height: 245px; margin: 7px auto 16px; }
  .diagram-list { gap: 4px; }
  .diagram-service { min-height: 57px; }
  .hero-bottom { flex-wrap: wrap; justify-content: flex-start; gap: 9px 20px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(46px, 11vw, 60px); }
  .hero-art { padding: 20px 14px 16px; }
  .infographic-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .infographic-heading strong { font-size: 22px; text-align: left; }
  .diagram-character { min-height: 222px; }
  .diagram-service { grid-template-columns: 21px 1fr; min-height: 61px; padding: 6px 4px; }
  .diagram-service b { font-size: 11px; }
  .diagram-service small { font-size: 9px; }
  .infographic-foot { flex-wrap: wrap; justify-content: flex-start; gap: 7px 10px; font-size: 9px; }
  .infographic-foot i { max-width: 18px; }
  .hero-bottom { font-size: 9px; }
  .culture-rules span { flex-basis: 100%; padding: 12px 0; }
  .culture-rules span+span { padding-left: 0; border-top: 1px solid rgba(255,244,220,.25); border-left: 0; }
  .chat-launcher { border-color: #e94e3c; background: #fff9ed; }
}
.diagram-character { min-height: 220px; }
.diagram-service { min-height: 48px; padding: 5px 3px; }
.diagram-service b { font-size: 13px; line-height: 1.18; }
.diagram-service small { font-size: 11px; line-height: 1.2; }
@media (max-width: 960px) {
  .diagram-service b { font-size: 12px; }
  .diagram-service small { font-size: 10px; }
}
@media (max-width: 640px) {
  .diagram-service { min-height: 54px; padding: 5px 3px; }
  .diagram-service b { font-size: 12px; }
  .diagram-service small { font-size: 10px; }
}
@media (min-width: 821px) {
  .hero { padding-top: 36px; }
  .hero-art { padding: 15px 18px 12px; }
  .infographic-heading { margin-bottom: 4px; }
  .diagram-list { gap: 3px; }
  .infographic-foot { padding-top: 8px; }
}
@media (max-width: 820px) {
  .hero { padding-top: 42px; }
  .hero-art { padding: 20px 18px 15px; }
  .diagram-list { gap: 3px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  .hero-art { padding: 17px 13px 13px; }
}

.founder-note { border-top: 1px solid var(--line); }
.founder-note-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 8vw, 120px); padding: 34px 0 10px; }
.founder-note-layout .eyebrow { margin-top: 12px; }
.founder-note h2 { max-width: 760px; margin: 0 0 27px; font-family: var(--serif); font-size: clamp(40px, 5.5vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.founder-note h2 span { color: #304bd6; }
.founder-note-layout > div > p:not(.founder-signoff) { max-width: 680px; font-size: 18px; line-height: 1.7; }
.founder-signoff { margin-top: 30px; font-size: 16px; line-height: 1.7; }
.founder-signoff strong { color: var(--forest); }
.contact-email { display: inline-block; margin-top: 14px; color: var(--forest); font-weight: 700; text-decoration-color: #e94e3c; text-underline-offset: 5px; }
.site-footer a[href^="mailto:"] { color: inherit; }
@media (max-width: 760px) {
  .founder-note-layout { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .founder-note-layout .eyebrow { margin-top: 0; }
  .founder-note-layout > div > p:not(.founder-signoff) { font-size: 16px; }
}

/* Light touch navigation and play */
html { scroll-behavior: smooth; }
.site-header { gap: 18px; }
.theme-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: #241d2b; font: 600 12px var(--sans); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.theme-toggle:hover { transform: translateY(-2px) rotate(-2deg); background: rgba(48,75,214,.08); }
.theme-toggle [aria-hidden="true"] { color: #304bd6; font-size: 16px; line-height: 1; }
.service-read-more { display: inline-block; margin-left: 8px; color: #304bd6; font-weight: 700; text-decoration: underline; text-decoration-color: #e94e3c; text-underline-offset: 4px; }
.service-read-more:hover { color: #e94e3c; }
.quick-check { overflow: hidden; background: #ffe4d6; }
.quick-check-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr); align-items: center; gap: clamp(24px, 7vw, 90px); }
.quick-check-copy { max-width: 720px; }
.quick-check-copy h2 { margin: 13px 0 12px; color: #241d2b; font: 500 clamp(38px, 5.5vw, 68px)/.98 var(--serif); letter-spacing: -.035em; }
.quick-check-copy h2 span { color: #304bd6; }
.quick-check-copy>p:not(.eyebrow) { max-width: 540px; color: #51465b; font-size: 17px; }
.quiz-card { position: relative; margin-top: 30px; padding: clamp(20px, 3vw, 32px); border: 1px solid #241d2b; background: #fff9ed; box-shadow: 7px 7px 0 #304bd6; }
.quiz-card::after { position: absolute; top: -12px; right: 23px; width: 26px; height: 26px; border: 1px solid #e94e3c; border-radius: 50%; color: #e94e3c; content: "✳"; display: grid; place-items: center; font-size: 16px; animation: doodleSpin 16s linear infinite; }
.quiz-meta { display: flex; min-height: 20px; align-items: center; justify-content: space-between; gap: 12px; color: #304bd6; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.quiz-reset { border: 0; background: transparent; color: #304bd6; font: 700 12px var(--sans); cursor: pointer; }
.quiz-card h3 { margin: 20px 0; color: #241d2b; font: 500 clamp(23px, 3vw, 31px)/1.12 var(--serif); }
.quiz-answers { display: grid; gap: 8px; }
.quiz-answers button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #cfc2aa; background: transparent; color: #241d2b; text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.quiz-answers button::after { color: #e94e3c; content: "↗"; }
.quiz-answers button:hover { transform: translateX(4px); border-color: #304bd6; background: #f0efff; }
.quiz-result { color: #51465b; line-height: 1.6; }
.quiz-result strong { display: block; margin-bottom: 8px; color: #241d2b; font: 500 26px/1.1 var(--serif); }
.quiz-result a { display: inline-block; margin-top: 13px; color: #304bd6; font-weight: 700; text-decoration: underline; text-decoration-color: #e94e3c; text-underline-offset: 4px; }
.quiz-doodle { position: relative; display: grid; min-height: 310px; place-items: center; color: #241d2b; }
.quiz-doodle::before, .quiz-doodle::after { position: absolute; width: min(255px, 95%); aspect-ratio: 1; border: 1px solid rgba(36,29,43,.35); border-radius: 50%; content: ""; transform: rotate(-24deg) scaleX(.72); }
.quiz-doodle::after { transform: rotate(24deg) scaleX(.72); }
.doodle-orbit { position: relative; z-index: 1; display: grid; width: 145px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #304bd6; box-shadow: 9px 9px 0 #e94e3c; color: #fff9ed; font: 500 96px/.9 var(--serif); animation: alchemistFloat 5s ease-in-out infinite; }
.doodle-star { position: absolute; top: 22px; right: 20px; color: #304bd6; font-size: 38px; animation: doodleSpin 18s linear infinite; }
.doodle-note { position: absolute; right: 4px; bottom: 23px; padding: 9px 13px; border: 1px solid #241d2b; background: #fff9ed; box-shadow: 4px 4px 0 #e94e3c; font: 500 18px/1.15 var(--serif); transform: rotate(4deg); }
.quiz-doodle>i { position: absolute; bottom: 25px; left: 10px; color: #e94e3c; font: 500 18px var(--serif); transform: rotate(-12deg); }
.reveal-in { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-in.in-view { opacity: 1; transform: none; }
.service-rail a { transition: color .18s ease, transform .18s ease; }
.service-rail a:hover { transform: translateY(-2px); }
.button, .text-link { transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.culture-core { will-change: transform; }
@keyframes doodleSpin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .site-header { gap: 10px; }
  .theme-toggle { margin-left: auto; }
  .theme-toggle .theme-label { display: none; }
  .quick-check-inner { grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr); }
  .quiz-doodle { min-height: 250px; }
}
@media (max-width: 640px) {
  .quick-check-inner { grid-template-columns: 1fr; gap: 8px; }
  .quick-check-copy>p:not(.eyebrow) { font-size: 15px; }
  .quiz-doodle { min-height: 190px; margin-top: 14px; }
  .doodle-orbit { width: 115px; font-size: 76px; }
  .quiz-doodle::before, .quiz-doodle::after { width: 180px; }
  .doodle-star { top: 6px; right: 17%; }
  .doodle-note { right: 11%; bottom: 0; font-size: 16px; }
  .theme-toggle { width: 42px; height: 42px; justify-content: center; padding: 0; }
  .theme-toggle [aria-hidden="true"] { font-size: 19px; }
}

/* A coordinated night palette, keeping the cobalt and coral alive */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: #17161b; color: #f8f1e8; }
html[data-theme="dark"] .site-header { border-bottom-color: #45414b; background: rgba(23,22,27,.97); }
html[data-theme="dark"] .wordmark, html[data-theme="dark"] .brand-name b { color: #f8f1e8; }
html[data-theme="dark"] .brand-name small { color: #c5bdca; }
html[data-theme="dark"] .brand-symbol, html[data-theme="dark"] .brand-symbol i { border-color: #ff9587; color: #ff9587; }
html[data-theme="dark"] .theme-toggle { color: #f8f1e8; }
html[data-theme="dark"] .theme-toggle [aria-hidden="true"] { color: #ff9587; }
html[data-theme="dark"] .theme-toggle:hover { background: rgba(122,137,255,.17); }
html[data-theme="dark"] .site-nav { color: #f1eaf2; }
html[data-theme="dark"] .menu-toggle { border-color: #665d6c; }
html[data-theme="dark"] .menu-toggle span { background: #f8f1e8; }
html[data-theme="dark"] .service-rail { border-bottom-color: #514b59; background: #485be0; }
html[data-theme="dark"] .service-rail>span, html[data-theme="dark"] .service-rail a { color: #fff9ed; }
html[data-theme="dark"] .service-rail a:hover { color: #ffd0c8; }
html[data-theme="dark"] .hero { color: #f8f1e8; }
html[data-theme="dark"] .hero-sub, html[data-theme="dark"] .hero-bottom { color: #d2c9d6; }
html[data-theme="dark"] .hero-art { border-color: #534c5a; background: #242229; box-shadow: 12px 12px 0 rgba(233,78,60,.32); color: #f8f1e8; }
html[data-theme="dark"] .hero-art::before { background: #ff9587; }
html[data-theme="dark"] .infographic-heading>span, html[data-theme="dark"] .diagram-service i { color: #ff9587; }
html[data-theme="dark"] .diagram-service { border-color: #5b5363; background: #2c2931; color: #f8f1e8; }
html[data-theme="dark"] .diagram-service b, html[data-theme="dark"] .diagram-service small { color: inherit; }
html[data-theme="dark"] .diagram-character { background: #485be0; color: #fff9ed; box-shadow: 7px 7px 0 #e94e3c; }
html[data-theme="dark"] .diagram-character small { color: #fff9ed; }
html[data-theme="dark"] .problem, html[data-theme="dark"] .services, html[data-theme="dark"] .approach, html[data-theme="dark"] .why, html[data-theme="dark"] .contact { background: #1e1d23; color: #f8f1e8; }
html[data-theme="dark"] .problem h2, html[data-theme="dark"] .section-heading h2, html[data-theme="dark"] .approach h2, html[data-theme="dark"] .why h2, html[data-theme="dark"] .contact h2 { color: #f8f1e8; }
html[data-theme="dark"] .problem-grid>div>p, html[data-theme="dark"] .section-heading>p, html[data-theme="dark"] .approach-top>p, html[data-theme="dark"] .contact-layout>div>p { color: #d4cbd7; }
html[data-theme="dark"] .section-label { color: #ff9b8d; }
html[data-theme="dark"] .service-row { border-bottom-color: #4e4854; }
html[data-theme="dark"] .service-row:hover, html[data-theme="dark"] .service-row[open] { background: rgba(122,137,255,.1); }
html[data-theme="dark"] .service-title, html[data-theme="dark"] .service-desc { color: #f8f1e8; }
html[data-theme="dark"] .service-index, html[data-theme="dark"] .service-mark, html[data-theme="dark"] .service-read-more { color: #aab4ff; }
html[data-theme="dark"] .service-row>p { color: #d4cbd7; }
html[data-theme="dark"] .service-read-more { text-decoration-color: #ff9587; }
html[data-theme="dark"] .team { background: #302637; color: #f8f1e8; }
html[data-theme="dark"] .team h2, html[data-theme="dark"] .team h2 span, html[data-theme="dark"] .team-copy, html[data-theme="dark"] .engine span { color: #f8f1e8; }
html[data-theme="dark"] .team .light-eyebrow { color: #ff9587; }
html[data-theme="dark"] .engine { border-color: #766a7d; }
html[data-theme="dark"] .engine i { border-color: #aab4ff; }
html[data-theme="dark"] .steps::before { border-color: #554e5c; }
html[data-theme="dark"] .steps li>span { border-color: #ff9587; background: #1e1d23; color: #aab4ff; }
html[data-theme="dark"] .steps strong { color: #f8f1e8; }
html[data-theme="dark"] .steps small { color: #d4cbd7; }
html[data-theme="dark"] .doctor { background: #282630; color: #f8f1e8; }
html[data-theme="dark"] .doctor-content h2, html[data-theme="dark"] .doctor-intro { color: #f8f1e8; }
html[data-theme="dark"] .doctor-content h2 span, html[data-theme="dark"] .doctor .eyebrow { color: #ff9587; }
html[data-theme="dark"] .doctor .section-label, html[data-theme="dark"] .doctor .section-label span:first-child { color: #aab4ff; }
html[data-theme="dark"] .doctor-caption { color: #d4cbd7; }
html[data-theme="dark"] .doctor-photo { border-color: #746a7c; background: #1e1d23; box-shadow: 9px 9px 0 #e94e3c; }
html[data-theme="dark"] .doctor-photo figcaption { background: #485be0; color: #fff9ed; }
html[data-theme="dark"] .founder-note { border-top-color: #514b59; }
html[data-theme="dark"] .founder-note h2, html[data-theme="dark"] .founder-signoff strong { color: #f8f1e8; }
html[data-theme="dark"] .founder-note h2 span { color: #aab4ff; }
html[data-theme="dark"] .founder-note-layout>div>p:not(.founder-signoff) { color: #d4cbd7; }
html[data-theme="dark"] .why-layout li { border-bottom-color: #514b59; color: #e8e0e8; }
html[data-theme="dark"] .why-layout li span { color: #ff9587; }
html[data-theme="dark"] .work { background: #27242d; color: #f8f1e8; }
html[data-theme="dark"] .work .section-label { color: #ffb3a9; }
html[data-theme="dark"] .work h2 { color: #f8f1e8; }
html[data-theme="dark"] .work h2 span { color: #ff9587; }
html[data-theme="dark"] .work-layout>p, html[data-theme="dark"] .culture-rules span { color: #e4dce7; }
html[data-theme="dark"] .culture-rules { border-color: #5a5361; }
html[data-theme="dark"] .culture-rules span+span { border-left-color: #5a5361; }
html[data-theme="dark"] .contact-layout>div>.contact-aside { color: #aab4ff; }
html[data-theme="dark"] .contact-email { color: #f8f1e8; text-decoration-color: #ff9587; }
html[data-theme="dark"] .contact-form label { color: #f8f1e8; }
html[data-theme="dark"] .contact-form input, html[data-theme="dark"] .contact-form textarea { border-bottom-color: #746a7c; color: #f8f1e8; }
html[data-theme="dark"] .contact-form input:focus, html[data-theme="dark"] .contact-form textarea:focus { border-color: #aab4ff; }
html[data-theme="dark"] .contact-form input::placeholder, html[data-theme="dark"] .contact-form textarea::placeholder, html[data-theme="dark"] .form-note { color: #bdb4c3; }
html[data-theme="dark"] .site-footer { border-top-color: #514b59; color: #c9c0ce; }
html[data-theme="dark"] .site-footer>a:not(.wordmark) { color: #aab4ff; }
html[data-theme="dark"] .chat-launcher { border-color: #ff9587; background: #242229; color: #f8f1e8; }
html[data-theme="dark"] .chat-launcher img { border-color: #aab4ff; }
html[data-theme="dark"] .chat-launcher b { color: #ff9587; background: #242229; }
html[data-theme="dark"] .chat-panel { border-color: #514b59; background: #242229; color: #f8f1e8; }
html[data-theme="dark"] .chat-header { background: #485be0; }
html[data-theme="dark"] .chat-header strong, html[data-theme="dark"] .chat-header small { color: #fff9ed; }
html[data-theme="dark"] .chat-body, html[data-theme="dark"] .chat-input-row { background: #242229; }
html[data-theme="dark"] .chat-welcome, html[data-theme="dark"] .chat-bubble { background: #34303b; color: #f3ebf3; }
html[data-theme="dark"] .chat-user { background: #485be0; color: #fff; }
html[data-theme="dark"] .chat-suggestions button { border-color: #5d5666; background: #2b2831; color: #c0c8ff; }
html[data-theme="dark"] .chat-suggestions button:hover { border-color: #aab4ff; background: #343147; }
html[data-theme="dark"] .chat-input-row { border-top-color: #514b59; }
html[data-theme="dark"] .chat-input-row input { border-bottom-color: #746a7c; color: #f8f1e8; }
html[data-theme="dark"] .chat-input-row input::placeholder, html[data-theme="dark"] .chat-footnote { color: #bdb4c3; }
html[data-theme="dark"] .chat-input-row button { background: #ff9587; color: #211b26; }
html[data-theme="dark"] .chat-footnote a { color: #aab4ff; }
html[data-theme="dark"] .quick-check { background: #302637; }
html[data-theme="dark"] .quick-check-copy h2 { color: #f8f1e8; }
html[data-theme="dark"] .quick-check-copy h2 span { color: #ff9587; }
html[data-theme="dark"] .quick-check-copy>p:not(.eyebrow) { color: #d4cbd7; }
html[data-theme="dark"] .quiz-card { border-color: #82768a; background: #1e1d23; box-shadow: 7px 7px 0 #485be0; }
html[data-theme="dark"] .quiz-meta, html[data-theme="dark"] .quiz-reset, html[data-theme="dark"] .quiz-result a { color: #aab4ff; }
html[data-theme="dark"] .quiz-card h3, html[data-theme="dark"] .quiz-result strong { color: #f8f1e8; }
html[data-theme="dark"] .quiz-answers button { border-color: #514b59; color: #f8f1e8; }
html[data-theme="dark"] .quiz-answers button:hover { border-color: #aab4ff; background: #302c38; }
html[data-theme="dark"] .quiz-result { color: #d4cbd7; }
html[data-theme="dark"] .quiz-doodle { color: #f8f1e8; }
html[data-theme="dark"] .quiz-doodle::before, html[data-theme="dark"] .quiz-doodle::after { border-color: rgba(248,241,232,.35); }
html[data-theme="dark"] .doodle-orbit { background: #485be0; box-shadow: 9px 9px 0 #e94e3c; }
html[data-theme="dark"] .doodle-star { color: #ff9587; }
html[data-theme="dark"] .doodle-note { border-color: #82768a; background: #1e1d23; color: #f8f1e8; }
html[data-theme="dark"] .doodle-note { box-shadow: 4px 4px 0 #e94e3c; }

/* Service detail pages share the site frame and theme */
.service-page { min-height: 100vh; }
.service-header { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 18px; padding: 14px max(30px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid #cfc2aa; background: #fff4dc; }
.service-header-nav { display: flex; align-items: center; gap: 22px; color: #304bd6; font-size: 14px; font-weight: 600; }
.service-page-hero { display: grid; width: min(1180px, calc(100% - 80px)); min-height: 550px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 8vw, 105px); margin: auto; padding-block: 78px; }
.service-number { color: #304bd6; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-page-hero h1 { max-width: 720px; margin: 18px 0; color: #241d2b; font: 500 clamp(52px, 6.8vw, 88px)/.93 var(--serif); letter-spacing: -.04em; }
.service-page-hero h1 span { color: #e94e3c; }
.service-page-hero .service-lead { max-width: 590px; color: #51465b; font-size: 19px; line-height: 1.62; }
.service-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 27px; }
.service-illustration { position: relative; overflow: hidden; padding: clamp(22px, 4vw, 40px); border: 1px solid #241d2b; background: #fff9ed; box-shadow: 12px 12px 0 #304bd6; }
.illustration-cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid #cfc2aa; color: #51465b; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.service-graphic { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; gap: 7px; padding-block: 32px; }
.graphic-node { display: grid; min-height: 105px; align-content: center; gap: 9px; padding: 12px; border: 1px solid #cfc2aa; background: #fff4dc; }
.graphic-node b { color: #241d2b; font: 500 20px/1.05 var(--serif); }
.graphic-node small { color: #51465b; font-size: 11px; line-height: 1.4; }
.graphic-node i { color: #e94e3c; font-size: 14px; font-style: normal; }
.graphic-link { position: relative; height: 1px; background: #304bd6; }
.graphic-link::after { position: absolute; top: -4px; right: 0; width: 8px; height: 8px; border-radius: 50%; background: #e94e3c; content: ""; animation: dataDot 2.6s ease-in-out infinite alternate; }
.service-illustration-note { margin: 0; color: #51465b; font: 500 15px var(--serif); }
.service-detail-body { background: #fff9ed; }
.service-detail-section { width: min(1080px, calc(100% - 80px)); margin: auto; padding-block: 88px; border-top: 1px solid #cfc2aa; }
.service-detail-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; }
.service-detail-intro h2, .service-plan h2 { margin: 0; color: #241d2b; font: 500 clamp(38px, 5vw, 64px)/1 var(--serif); letter-spacing: -.03em; }
.service-detail-intro p { color: #51465b; font-size: 18px; line-height: 1.7; }
.service-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.signal-note { min-height: 120px; padding: 19px; border-top: 2px solid #e94e3c; background: #f0ecff; color: #241d2b; font: 500 20px/1.24 var(--serif); }
.service-plan { padding-block: 88px 104px; background: #ffe4d6; }
.service-plan-inner { width: min(1180px, calc(100% - 80px)); margin: auto; }
.service-plan-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 42px; }
.service-plan-heading p { max-width: 380px; margin: 0; color: #51465b; }
.plan-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; counter-reset: step; }
.plan-step { position: relative; min-height: 240px; padding: 23px; border: 1px solid #241d2b; background: #fff9ed; counter-increment: step; }
.plan-step::before { display: block; margin-bottom: 40px; color: #304bd6; content: "0" counter(step); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.plan-step h3 { margin: 0 0 10px; color: #241d2b; font: 500 27px/1.05 var(--serif); }
.plan-step p { margin: 0; color: #51465b; font-size: 15px; line-height: 1.6; }
.service-detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 85px; }
.service-detail-cta h2 { max-width: 660px; margin: 0; color: #241d2b; font: 500 clamp(38px, 5vw, 64px)/.98 var(--serif); }
.service-detail-cta h2 span { color: #304bd6; }
.service-related { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid #cfc2aa; }
.service-related a { padding: 10px 14px; border: 1px solid #cfc2aa; color: #304bd6; font-size: 13px; }
.service-related a:hover { border-color: #e94e3c; background: #ffe4d6; }
.service-page-footer { padding: 25px 40px; border-top: 1px solid #cfc2aa; color: #51465b; font-size: 13px; text-align: center; }
.chat-launcher { right: 18px; bottom: 18px; width: 62px; height: 62px; min-height: 0; justify-content: center; gap: 0; padding: 4px; border-radius: 50%; }
.chat-launcher img { width: 51px; height: 51px; }
.chat-launcher span { display: none; }
.chat-launcher b { position: absolute; top: 0; right: -2px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #fff4dc; }
.service-graphic { grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr); gap: 4px; }
@keyframes dataDot { from { transform: translateX(-32px); } to { transform: translateX(0); } }

html[data-theme="dark"] .service-header { border-bottom-color: #514b59; background: #17161b; }
html[data-theme="dark"] .service-header .wordmark, html[data-theme="dark"] .service-header .brand-name b { color: #f8f1e8; }
html[data-theme="dark"] .service-header-nav { color: #aab4ff; }
html[data-theme="dark"] .service-page-hero { color: #f8f1e8; }
html[data-theme="dark"] .service-page-hero h1, html[data-theme="dark"] .service-detail-intro h2, html[data-theme="dark"] .service-plan h2, html[data-theme="dark"] .service-detail-cta h2 { color: #f8f1e8; }
html[data-theme="dark"] .service-page-hero h1 span, html[data-theme="dark"] .service-detail-cta h2 span { color: #ff9587; }
html[data-theme="dark"] .service-page-hero .service-lead { color: #d4cbd7; }
html[data-theme="dark"] .service-number { color: #aab4ff; }
html[data-theme="dark"] .service-illustration { border-color: #655d6c; background: #242229; box-shadow: 12px 12px 0 #485be0; }
html[data-theme="dark"] .illustration-cap { border-bottom-color: #514b59; color: #d4cbd7; }
html[data-theme="dark"] .graphic-node { border-color: #514b59; background: #302d35; }
html[data-theme="dark"] .graphic-node b { color: #f8f1e8; }
html[data-theme="dark"] .graphic-node small, html[data-theme="dark"] .service-illustration-note { color: #d4cbd7; }
html[data-theme="dark"] .graphic-link { background: #aab4ff; }
html[data-theme="dark"] .service-detail-body { background: #1e1d23; }
html[data-theme="dark"] .service-detail-section { border-top-color: #514b59; }
html[data-theme="dark"] .service-detail-intro p { color: #d4cbd7; }
html[data-theme="dark"] .signal-note { border-top-color: #ff9587; background: #302d39; color: #f8f1e8; }
html[data-theme="dark"] .service-plan { background: #302637; }
html[data-theme="dark"] .service-plan-heading p { color: #d4cbd7; }
html[data-theme="dark"] .plan-step { border-color: #766a7d; background: #1e1d23; }
html[data-theme="dark"] .plan-step::before { color: #aab4ff; }
html[data-theme="dark"] .plan-step h3 { color: #f8f1e8; }
html[data-theme="dark"] .plan-step p { color: #d4cbd7; }
html[data-theme="dark"] .service-related { border-top-color: #514b59; }
html[data-theme="dark"] .service-related a { border-color: #514b59; color: #aab4ff; }
html[data-theme="dark"] .service-related a:hover { border-color: #ff9587; background: #302d39; }
html[data-theme="dark"] .service-page-footer { border-top-color: #514b59; color: #c9c0ce; }

@media (max-width: 820px) {
  .service-header { padding-inline: 22px; }
  .service-page-hero { width: min(100% - 56px, 780px); min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-block: 65px; }
  .service-detail-section, .service-plan-inner { width: min(100% - 56px, 780px); }
  .service-detail-section { padding-block: 68px; }
  .service-detail-intro { grid-template-columns: 1fr; gap: 14px; }
  .service-plan { padding-block: 70px; }
}
@media (max-width: 640px) {
  .service-header { min-height: 65px; gap: 9px; padding-inline: 14px; }
  .service-header-nav { gap: 10px; font-size: 12px; }
  .service-header-nav .back-services { display: none; }
  .service-page-hero, .service-detail-section, .service-plan-inner { width: calc(100% - 40px); }
  .service-page-hero { gap: 32px; padding-block: 48px; }
  .service-page-hero h1 { font-size: clamp(47px, 13vw, 68px); }
  .service-page-hero .service-lead { font-size: 17px; }
  .service-illustration { padding: 18px 13px; box-shadow: 7px 7px 0 #304bd6; }
  .service-graphic { grid-template-columns: minmax(0,1fr) 11px minmax(0,1fr) 11px minmax(0,1fr); gap: 3px; padding-block: 22px; }
  .graphic-node { min-height: 90px; gap: 6px; padding: 8px 5px; }
  .graphic-node b { font-size: 16px; }
  .graphic-node small { font-size: 9px; }
  .service-plan-heading { display: block; margin-bottom: 25px; }
  .service-plan-heading p { margin-top: 12px; }
  .plan-steps, .service-signals { grid-template-columns: 1fr; }
  .plan-step { min-height: 0; padding: 19px; }
  .plan-step::before { margin-bottom: 20px; }
  .service-detail-cta { align-items: flex-start; flex-direction: column; padding-block: 58px; }
  .service-page-footer { padding-inline: 20px; }
}

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

/* Final identity and founder pages */
:root { --header-height: 88px; }
.site-header { padding-inline: max(30px, calc((100vw - 1340px) / 2)); }
.wordmark { min-width: 0; gap: 10px; }
.brand-symbol { display: block; width: 48px; height: 48px; border: 0; flex: 0 0 auto; color: #c79a49; }
.brand-symbol::before, .brand-symbol i { display: none; }
.brand-lockup { display: grid; gap: 4px; }
.brand-name { display: grid; gap: 3px; }
.brand-name b { font-size: 16px; letter-spacing: .08em; }
.brand-name small { font-size: 9px; letter-spacing: .42em; }
.brand-tagline { color: #4d4354; font: italic 12px/1.2 var(--serif); letter-spacing: .005em; }
.site-header .wordmark { max-width: 370px; }
.site-nav { gap: clamp(14px, 1.8vw, 26px); }
.diagram-character { min-height: 228px; place-content: center; gap: 6px; margin: 0; padding: 0; overflow: visible; background: transparent; box-shadow: none; color: #241d2b; transform: none; animation: none; }
.diagram-character::before { display: none; }
.diagram-character img { position: relative; inset: auto; display: block; width: 100%; max-height: 240px; height: auto; aspect-ratio: 1.28; object-fit: contain; background: #fff4dc; animation: alchemistArrive .8s ease-out both, alchemistFloat 7s ease-in-out 1s infinite; }
.diagram-character strong { color: #241d2b; font-size: 10px; letter-spacing: .1em; }
.diagram-character small { color: #4d4354; font-size: 10px; line-height: 1.3; }
.diagram-service small { font-size: 10px; }
.founder-note { background: #fff4dc; }
.founder-note-layout { grid-template-columns: minmax(225px,.72fr) minmax(0,1.28fr); align-items: start; gap: clamp(28px,6vw,84px); }
.founder-note-portrait { position: relative; margin: 0; overflow: hidden; border: 1px solid #241d2b; background: #d8e2ff; box-shadow: 10px 10px 0 #304bd6; }
.founder-note-portrait img { display: block; width: 100%; aspect-ratio: .78; object-fit: cover; object-position: center 19%; }
.founder-note-portrait figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 11px 13px; background: rgba(36,29,43,.9); color: #fff4dc; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.founder-note-copy .eyebrow { margin: 0 0 15px; line-height: 1.5; }
.founder-note h2 { margin-bottom: 20px; }
.founder-note-layout .founder-note-copy > p:not(.founder-signoff) { max-width: 690px; margin: 0 0 17px; color: #4d4354; font-size: 17px; line-height: 1.7; }
.founder-note-copy blockquote { max-width: 700px; margin: 26px 0 18px; padding: 0 0 0 19px; border-left: 3px solid #e94e3c; color: #241d2b; font: 500 clamp(22px,2.5vw,30px)/1.25 var(--serif); }
.founder-signoff { color: #4d4354; }
.founder-signoff strong { color: #241d2b; }
.founder-read-more, .doctor-about-link { color: #304bd6; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: #e94e3c; text-underline-offset: 4px; }
.founder-read-more:hover, .doctor-about-link:hover { color: #e94e3c; }
.doctor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.doctor-photo { overflow: hidden; }
.doctor-photo img { display: block; width: 100%; aspect-ratio: 1.28; object-fit: contain; background: #f5f1e8; animation: alchemistArrive .9s ease-out both, alchemistFloat 7.5s ease-in-out 1.1s infinite; }
.chat-launcher img, .chat-header img { object-position: center 27%; }
.site-footer .brand-symbol { width: 42px; height: 42px; }
.site-footer .brand-tagline { color: #d4cbd7; }
.chat-footnote, .form-note { font-size: 14px; }
.about-page { background: #fff4dc; }
.about-hero { display: grid; min-height: 630px; grid-template-columns: 1fr minmax(320px,.82fr); align-items: center; gap: clamp(40px,8vw,105px); padding-block: 78px; }
.about-hero-copy h1 { max-width: 670px; font-size: clamp(52px,6.6vw,82px); }
.about-hero-copy h1 span, .about-story h2 span, .about-company-intro h2 span, .about-close h2 span { color: #e94e3c; }
.about-deck { max-width: 540px; margin: 24px 0 20px; color: #4d4354; font-size: 19px; line-height: 1.65; }
.about-portrait { position: relative; margin: 0; border: 1px solid #241d2b; background: #d8e2ff; box-shadow: 10px 10px 0 #304bd6; }
.about-portrait img { display: block; width: 100%; height: auto; max-height: 690px; object-fit: contain; object-position: center top; }
.about-portrait figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 15px; background: rgba(36,29,43,.9); color: #fff4dc; font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.about-story { border-top: 1px solid #cfc2aa; }
.about-story-grid { display: grid; grid-template-columns: minmax(225px,.72fr) minmax(0,1.28fr); gap: clamp(28px,8vw,120px); padding-top: 37px; }
.about-story h2, .about-company-intro h2, .about-close h2 { font: 500 clamp(42px,5.4vw,68px)/1 var(--serif); letter-spacing: -.04em; }
.about-prose { max-width: 740px; }
.about-prose p { margin: 0 0 18px; color: #4d4354; font-size: 17px; line-height: 1.78; }
.about-prose strong { color: #241d2b; }
.about-prose blockquote { margin: 34px 0 25px; padding-left: 20px; border-left: 3px solid #e94e3c; color: #241d2b; font: 500 clamp(24px,3vw,34px)/1.3 var(--serif); }
.about-signoff { margin-bottom: 10px !important; }
.about-linkedin { color: #304bd6; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: #e94e3c; text-underline-offset: 4px; }
.about-company { background: #304bd6; color: #fff4dc; }
.about-company .section-label, .about-company .section-label span:first-child { color: #ffe0d9; }
.about-company-intro { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 8%; margin: 35px 0 36px; }
.about-company-intro h2 { color: #fff4dc; }
.about-company-intro h2 span { color: #ffb2a4; }
.about-company-intro>p { max-width: 420px; margin: 0 0 5px; color: #f0efff; font-size: 17px; line-height: 1.7; }
.about-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(255,244,220,.45); list-style: none; }
.about-services li { min-height: 65px; display: flex; align-items: center; padding: 14px 15px 14px 0; border-bottom: 1px solid rgba(255,244,220,.35); color: #fffaf0; font-size: 15px; font-weight: 600; }
.about-company-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 39px; }
.about-company-contact>div { display: grid; gap: 7px; }
.about-company-contact small { color: #ffe0d9; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.about-company-contact strong { color: #fffaf0; font-size: 17px; }
.about-company-contact a { color: #fffaf0; text-decoration: underline; text-decoration-color: #ffb2a4; text-underline-offset: 4px; }
.about-company-contact span { color: #e5e4ff; font-size: 14px; }
.about-close h2 { margin: 14px 0 25px; }

html[data-theme="dark"] .brand-tagline { color: #e3dce6; }
html[data-theme="dark"] .brand-symbol { color: #f1c879; }
html[data-theme="dark"] .hero h1 { color: #fff8ef; }
html[data-theme="dark"] .hero h1 span { color: #ff9587; }
html[data-theme="dark"] .hero .eyebrow { color: #b9c3ff; }
html[data-theme="dark"] .hero .nav-cta { border-color: #b9c3ff; color: #fff8ef; }
html[data-theme="dark"] .text-link { color: #fff8ef; }
html[data-theme="dark"] .text-link span { color: #b9c3ff; }
html[data-theme="dark"] .button-dark { background: #ff9587; color: #211b26; }
html[data-theme="dark"] .button-dark span { color: #211b26; }
html[data-theme="dark"] .founder-note { background: #1e1d23; }
html[data-theme="dark"] .founder-note-layout .founder-note-copy > p:not(.founder-signoff) { color: #e3dce6; }
html[data-theme="dark"] .founder-note-copy blockquote { color: #fff8ef; border-left-color: #ff9587; }
html[data-theme="dark"] .founder-note-portrait { border-color: #82768a; box-shadow: 10px 10px 0 #485be0; }
html[data-theme="dark"] .founder-note-portrait figcaption, html[data-theme="dark"] .about-portrait figcaption { background: rgba(30,29,35,.94); color: #fff8ef; }
html[data-theme="dark"] .founder-signoff { color: #e3dce6; }
html[data-theme="dark"] .founder-signoff strong, html[data-theme="dark"] .about-prose strong { color: #fff8ef; }
html[data-theme="dark"] .founder-read-more, html[data-theme="dark"] .doctor-about-link, html[data-theme="dark"] .about-linkedin { color: #b9c3ff; text-decoration-color: #ff9587; }
html[data-theme="dark"] .diagram-character { background: transparent; box-shadow: none; }
html[data-theme="dark"] .diagram-character img { background: #fff4dc; }
html[data-theme="dark"] .diagram-character strong { color: #fff8ef; }
html[data-theme="dark"] .diagram-character small { color: #e3dce6; }
html[data-theme="dark"] .doctor-photo img { background: #fff4dc; }
html[data-theme="dark"] .about-page { background: #17161b; }
html[data-theme="dark"] .about-hero-copy h1, html[data-theme="dark"] .about-story h2, html[data-theme="dark"] .about-close h2 { color: #fff8ef; }
html[data-theme="dark"] .about-hero-copy h1 span, html[data-theme="dark"] .about-story h2 span, html[data-theme="dark"] .about-close h2 span { color: #ff9587; }
html[data-theme="dark"] .about-deck, html[data-theme="dark"] .about-prose p { color: #e3dce6; }
html[data-theme="dark"] .about-hero .text-link { color: #fff8ef; }
html[data-theme="dark"] .about-story { border-top-color: #514b59; }
html[data-theme="dark"] .about-prose blockquote { color: #fff8ef; border-left-color: #ff9587; }
html[data-theme="dark"] .about-portrait { border-color: #746a7c; box-shadow: 10px 10px 0 #485be0; }
html[data-theme="dark"] .about-company { background: #302637; }
html[data-theme="dark"] .about-company .section-label, html[data-theme="dark"] .about-company .section-label span:first-child, html[data-theme="dark"] .about-company-contact small { color: #ffb3a9; }
html[data-theme="dark"] .about-company-intro h2 { color: #fff8ef; }
html[data-theme="dark"] .about-company-intro h2 span { color: #ff9587; }
html[data-theme="dark"] .about-company-intro>p, html[data-theme="dark"] .about-company-contact span { color: #e3dce6; }
html[data-theme="dark"] .about-company-contact strong, html[data-theme="dark"] .about-company-contact a, html[data-theme="dark"] .about-services li { color: #fff8ef; }

@media (max-width: 960px) {
  .site-nav { gap: 15px; font-size: 13px; }
  .brand-name b { font-size: 14px; }
  .brand-tagline { font-size: 11px; }
  .service-diagram { grid-template-columns: minmax(90px,1fr) minmax(145px,1.3fr) minmax(90px,1fr); }
}
@media (max-width: 820px) {
  :root { --header-height: 78px; }
  .site-nav { gap: 0; font-size: 15px; }
  .about-hero { min-height: auto; grid-template-columns: 1fr .85fr; gap: 35px; padding-block: 62px; }
  .about-hero-copy h1 { font-size: clamp(48px,7vw,68px); }
  .about-story-grid { grid-template-columns: .8fr 1.2fr; gap: 36px; }
}
@media (max-width: 640px) {
  :root { --header-height: 70px; }
  .site-header { padding-inline: 14px; }
  .brand-symbol { width: 38px; height: 38px; }
  .brand-name b { font-size: 13px; }
  .brand-name small { font-size: 8px; }
  .brand-tagline { display: none; }
  .brand-lockup { gap: 2px; }
  .theme-toggle { width: 42px; height: 42px; }
  .about-hero { grid-template-columns: 1fr; gap: 27px; padding-block: 49px 62px; }
  .about-hero-copy h1 { font-size: clamp(48px,12vw,64px); }
  .about-deck { font-size: 17px; }
  .about-portrait { width: min(100%,460px); margin-inline: auto; }
  .about-portrait img { max-height: none; }
  .about-story-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 27px; }
  .about-prose p { font-size: 16px; }
  .about-company-intro { grid-template-columns: 1fr; gap: 18px; margin-block: 28px; }
  .about-services { grid-template-columns: 1fr 1fr; }
  .about-services li { min-height: 60px; padding-right: 10px; font-size: 14px; }
  .about-company-contact { grid-template-columns: 1fr; gap: 22px; margin-top: 27px; }
  .founder-note-layout { grid-template-columns: 1fr; gap: 26px; }
  .founder-note-portrait { width: min(100%,400px); }
  .founder-note-copy .eyebrow { font-size: 10px; }
  .founder-note-layout .founder-note-copy > p:not(.founder-signoff) { font-size: 16px; }
  .doctor-actions { align-items: flex-start; flex-direction: column; }
  .site-footer .brand-tagline { display: block; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .diagram-character img, .doctor-photo img { animation: none !important; }
}

/* Final readability, section rhythm, and the supplied founder portrait */
.section-pad { padding-block: 78px; }
.approach { padding-block: 78px; }
.why { padding-bottom: 78px; }
.services { padding-bottom: 78px; }
.section-label { color: #51465b; }
.site-header .nav-cta { color: #241d2b; }
.chat-launcher { border-color: #254b3a; background: #254b3a; color: #fffdf8; }
.chat-launcher:hover { background: #183827; }
.chat-panel { border-color: #315b47; background: #fffdf8; color: #241d2b; }
.chat-header { border-bottom-color: #315b47; background: #254b3a; }
.chat-header strong, .chat-header small { color: #fffdf8; }
.chat-close { border-color: rgba(255,255,255,.5); color: #fffdf8; }
.chat-body, .chat-input-row { background: #fffdf8; }
.chat-welcome, .chat-bubble { background: #f1eee6; color: #302b35; }
.chat-bubble a, .chat-footnote a { color: #24513c; }
.chat-user { background: #dfe9df; color: #183827; }
.chat-suggestions button { border-color: #a8bca9; background: #f8faf6; color: #234b37; }
.chat-suggestions button:hover { border-color: #315b47; background: #eaf1e9; }
.chat-input-row input { border-bottom-color: #899b8b; color: #241d2b; }
.chat-input-row input::placeholder, .chat-footnote { color: #625a66; }
.chat-input-row button { background: #254b3a; color: #fffdf8; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .form-note { color: #625a66; }
.problem, .team, .doctor, .work, .about-company { border-block: 1px solid rgba(36,29,43,.12); }
.problem .section-label, .team .section-label, .work .section-label, .about-company .section-label { color: #fff2e8; }
.problem .section-label span:first-child, .team .section-label span:first-child, .work .section-label span:first-child, .about-company .section-label span:first-child { color: #ffb3a9; }
.quick-check, .founder-note { border-block: 1px solid #d8cdbc; }
.approach, .why, .contact, .about-story, .about-close { border-top: 1px solid #d8cdbc; }
.founder-note-portrait img { object-position: 0% center; }
.about-portrait { aspect-ratio: .78; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 100% center; }

@media (max-width: 820px) {
  .section-pad, .approach { padding-block: 62px; }
  .why { padding-bottom: 62px; }
  .services { padding-bottom: 62px; }
}
@media (max-width: 640px) {
  .section-pad, .approach { padding-block: 48px; }
  .why { padding-bottom: 48px; }
  .services { padding-bottom: 48px; }
  .problem-grid, .section-heading, .team-layout, .approach-top, .doctor-grid, .founder-note-layout, .why-layout, .work-layout, .contact-layout { margin-top: 28px; }
  .chat-panel { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
}
html[data-theme="dark"] .section-label { color: #ffb3a9; }
html[data-theme="dark"] .site-header .nav-cta { color: #fff8ef; }
html[data-theme="dark"] .chat-launcher { border-color: #ff9587; background: #242229; color: #fff8ef; }
html[data-theme="dark"] .chat-panel { border-color: #315b47; background: #fffdf8; color: #241d2b; }
html[data-theme="dark"] .chat-header { background: #254b3a; }
html[data-theme="dark"] .chat-header strong, html[data-theme="dark"] .chat-header small { color: #fffdf8; }
html[data-theme="dark"] .chat-body, html[data-theme="dark"] .chat-input-row { background: #fffdf8; }
html[data-theme="dark"] .chat-welcome, html[data-theme="dark"] .chat-bubble { background: #f1eee6; color: #302b35; }
html[data-theme="dark"] .chat-bubble a, html[data-theme="dark"] .chat-footnote a { color: #24513c; }
html[data-theme="dark"] .chat-user { background: #dfe9df; color: #183827; }
html[data-theme="dark"] .chat-input-row input { color: #241d2b; }
html[data-theme="dark"] .chat-input-row input::placeholder, html[data-theme="dark"] .chat-footnote { color: #625a66; }
html[data-theme="dark"] .chat-input-row button { background: #254b3a; color: #fffdf8; }

/* Laptop/mobile polish: protect the chat from Netlify's badge and reclaim the infographic's mobile width. */
.chat-launcher { left: 22px; right: auto; bottom: 22px; z-index: 100; width: 74px; height: 74px; min-height: 74px; justify-content: center; padding: 5px; }
.chat-launcher img { width: 62px; height: 62px; }
.chat-panel { left: 22px; right: auto; bottom: 108px; z-index: 101; }
@media (max-width: 820px) {
  .service-diagram { width: 100%; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .diagram-character { width: 100%; min-height: 0; height: auto; aspect-ratio: 1.52; margin: 0 auto 8px; }
  .diagram-character img { position: relative; inset: auto; display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: 1.52; object-fit: contain; }
}
@media (max-width: 640px) {
  .chat-launcher { left: 14px; right: auto; bottom: 14px; width: 72px; height: 72px; min-height: 72px; padding: 4px; }
  .chat-launcher img { width: 62px; height: 62px; }
  .chat-panel { left: 12px; right: auto; bottom: 96px; width: calc(100vw - 24px); max-height: calc(100dvh - 110px); }
  .service-diagram { column-gap: 10px; }
  .diagram-character { aspect-ratio: 1.4; }
  .diagram-character img { aspect-ratio: 1.4; }
  .quick-check-inner { grid-template-columns: minmax(0,1fr); gap: 0; }
  .quiz-doodle { display: none; }
}

/* Final logo lockup: emblem in navigation, full wordmark on the founder page. */
.brand-symbol { border: 1px solid rgba(195,161,106,.7); border-radius: 50%; background: #063629; object-fit: cover; object-position: center; }
.brand-symbol::before, .brand-symbol i { display: none; }
.about-brand-logo { display: grid; width: min(100%, 300px); margin: 34px auto 0; place-items: center; overflow: hidden; border: 1px solid rgba(255,244,220,.32); background: #063629; box-shadow: 8px 8px 0 rgba(195,161,106,.22); }
.about-brand-logo img { display: block; width: 100%; height: auto; }
html[data-theme="dark"] .brand-symbol { border-color: rgba(241,200,121,.8); background: #063629; }
@media (max-width: 640px) {
  .about-brand-logo { width: min(70vw, 270px); margin-top: 26px; }
}
