:root {
  --brand-blue: #28839a;
  --brand-blue-deep: #176a80;
  --brand-blue-soft: #dceef2;
  --brand-orange: #ef8b3a;
  --brand-orange-deep: #cf6a1f;
  --brand-orange-soft: #fff0e2;
  --ink: #18313b;
  --ink-2: #34505b;
  --muted: #687b82;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #f1f5f4;
  --line: #d9e0df;
  --line-strong: #c5d0ce;
  --shadow: 0 24px 70px rgba(34,77,88,.10);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: 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; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); text-decoration: none; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.90); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(197,208,206,.65); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(26,54,64,.07); background: rgba(255,255,255,.94); }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; min-width: 178px; text-decoration: none; }
.brand-logo { display: none; width: auto; max-width: 210px; height: 47px; object-fit: contain; object-position: left center; }
.brand-logo.is-loaded { display: block; }
.brand-fallback { display: inline-flex; align-items: baseline; gap: 7px; letter-spacing: .11em; line-height: 1; }
.brand-fallback strong { color: var(--brand-blue); font-size: 20px; }
.brand-fallback span { color: var(--brand-orange); font-size: 9px; font-weight: 850; letter-spacing: .19em; }
.brand-fallback.is-hidden { display: none; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav a { font-size: 13px; font-weight: 750; text-decoration: none; color: var(--ink-2); transition: color .2s ease; }
.site-nav a:hover { color: var(--brand-blue); }
.site-nav .nav-cta { padding: 10px 16px; border: 1px solid var(--brand-blue); color: var(--brand-blue-deep); border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--brand-blue); color: white; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; padding: 60px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(40,131,154,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(40,131,154,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black 0%, transparent 78%); }
.hero-orbit { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-orbit-a { width: 540px; height: 540px; right: -170px; top: -120px; border: 100px solid rgba(40,131,154,.07); }
.hero-orbit-b { width: 340px; height: 340px; right: 20%; bottom: 0; border: 70px solid rgba(239,139,58,.055); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr .72fr; gap: 78px; align-items: center; }
.eyebrow { margin: 0 0 18px; display: flex; gap: 10px; align-items: center; color: var(--brand-blue-deep); font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: var(--brand-orange); flex: 0 0 auto; }
.hero h1 { font-size: clamp(56px,7vw,72px); line-height: .90; letter-spacing: 0; margin: 0 0 20px; font-weight: 900; }
.hero-title { margin: 0; font-size: clamp(24px,3vw,37px); line-height: 1.08; letter-spacing: 0; font-weight: 760; color: var(--brand-blue-deep); }
.hero-title em { color: var(--brand-orange); font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 700px; margin: 29px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border-radius: 999px; font-size: 13px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand-blue); color: white; box-shadow: 0 10px 26px rgba(40,131,154,.18); }
.button-primary:hover { background: var(--brand-blue-deep); box-shadow: 0 13px 31px rgba(40,131,154,.23); }
.button-secondary { background: rgba(255,255,255,.8); color: var(--ink); border: 1px solid var(--line-strong); }
.hero-note { margin: 23px 0 0; font-size: 13px; color: var(--muted); }
.hero-note strong { color: var(--ink); }

.hero-card { position: relative; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.portrait-wrap { position: relative; height: 325px; border-radius: 22px; overflow: hidden; background: linear-gradient(145deg,var(--brand-blue-soft),var(--brand-orange-soft)); }
.portrait { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-accent { position: absolute; border-radius: 50%; z-index: 1; }
.portrait-accent-one { width: 190px; height: 190px; background: var(--brand-orange); opacity: .33; top: -40px; right: -30px; }
.portrait-accent-two { width: 250px; height: 250px; border: 35px solid var(--brand-blue); opacity: .18; left: -90px; bottom: -115px; }
.portrait-badge { position: absolute; z-index: 3; right: 14px; bottom: 14px; padding: 8px 11px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.75); border-radius: 999px; color: var(--brand-blue-deep); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.hero-card-copy { padding: 23px 12px 10px; }
.card-label { margin: 0 0 8px; color: var(--brand-orange-deep); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.hero-card-copy h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.2; letter-spacing: 0; }

.stats-rail { position: relative; margin-top: 60px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-strong); border-bottom: 0; background: rgba(255,255,255,.78); border-radius: 22px 22px 0 0; overflow: hidden; backdrop-filter: blur(10px); }
.stats-rail > div { padding: 23px 22px 25px; border-right: 1px solid var(--line); }
.stats-rail > div:last-child { border-right: 0; }
.stats-rail strong { display: block; color: var(--brand-blue-deep); font-size: 28px; line-height: 1; letter-spacing: 0; }
.stats-rail > div:nth-child(2n) strong { color: var(--brand-orange-deep); }
.stats-rail span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.35; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 108px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 52px; }
h2 { margin: 0; font-size: clamp(38px,5.2vw,52px); line-height: 1.03; letter-spacing: 0; }
h3 { margin-top: 0; letter-spacing: 0; }
.section-heading > p:last-child, .agency-head > p, .experience-head > p { color: var(--ink-2); font-size: 17px; margin: 20px 0 0; }

.agency-section { background: var(--white); }
.agency-head { max-width: 760px; margin-bottom: 42px; }
.agency-head > div > p:last-child { max-width: 780px; margin: 20px 0 0; color: var(--ink-2); font-size: 17px; }
.engagement-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.engagement-card { position: relative; padding: 30px 26px 33px; border-right: 1px solid var(--line); background: linear-gradient(180deg,#fff 0%,#fbfcfb 100%); }
.engagement-card:last-child { border-right: 0; }
.engagement-card::after { content: ""; position: absolute; height: 4px; left: 0; right: 100%; bottom: 0; background: var(--brand-blue); transition: right .25s ease; }
.engagement-card:nth-child(even)::after { background: var(--brand-orange); }
.engagement-card:hover::after { right: 0; }
.engagement-number { position: absolute; top: 18px; right: 20px; color: #a9b8bb; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.engagement-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 27px; border-radius: 14px; background: var(--brand-blue-soft); color: var(--brand-blue-deep); }
.engagement-card:nth-child(even) .engagement-icon { background: var(--brand-orange-soft); color: var(--brand-orange-deep); }
.engagement-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.engagement-card h3 { font-size: 19px; margin-bottom: 10px; }
.engagement-card p { margin: 0; color: var(--muted); font-size: 13px; }
.agency-promise { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:start; gap:19px; margin-top:40px; padding:23px 26px; border-radius:16px; background:linear-gradient(90deg,var(--brand-blue-soft),rgba(255,240,226,.75)); }
.promise-mark { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--brand-blue); color:#fff; font-size:20px; flex:0 0 auto; margin-top:14px; }
.agency-quote-copy { min-width:0; }
.agency-quote-copy > strong { display:block; margin:0 0 7px; color:var(--ink); font-size:13px; line-height:1.2; font-weight:900; letter-spacing:.09em; }
.agency-quote { display:flex; flex-direction:column; justify-content:flex-start; margin:0; opacity:1; transition:opacity .65s ease; }
.agency-quote.is-fading { opacity:0; }
.agency-quote p { margin:0; color:var(--ink-2); font-size:15px; line-height:1.55; font-style:italic; }
.agency-quote-attribution { margin-top:10px; text-align:right; font-style:normal; line-height:1.4; }
.agency-quote-attribution strong { /*display:block;*/ color:var(--ink); font-size:13px; font-weight:800; }
.agency-quote-attribution span { /*display:block;*/ margin-top:1px; color:var(--muted); font-size:12px; }
.agency-quote { overflow:hidden; }
.agency-quote-decor { display:none; }

.specialties-section { background: linear-gradient(180deg,#f4f8f7 0%,var(--paper) 100%); }
.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.specialty-card { padding: 38px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); box-shadow: 0 16px 50px rgba(41,73,82,.06); }
.specialty-topline { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.specialty-topline b { color: var(--brand-blue-deep); }
.office-card .specialty-topline b { color: var(--brand-orange-deep); }
.specialty-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 38px 0 28px; border-radius: 20px; color: var(--brand-blue-deep); background: var(--brand-blue-soft); }
.office-card .specialty-icon { color: var(--brand-orange-deep); background: var(--brand-orange-soft); }
.specialty-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.specialty-card h3 { font-size: 31px; line-height: 1.08; margin-bottom: 15px; }
.specialty-intro { margin: 0 0 26px; color: var(--ink-2); font-size: 15px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px 22px; }
.check-list li { display: grid; grid-template-columns: 11px minmax(0,1fr); column-gap: 10px; align-items: start; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.check-list li::before { content: ""; box-sizing: border-box; width: 11px; height: 11px; margin-top: .37em; border-radius: 50%; background: var(--brand-blue); border: 1px solid var(--brand-blue); box-shadow: inset 0 0 0 3px white; }
.office-card .check-list li::before { background: var(--brand-orange); border-color: var(--brand-orange); }
.check-list.compact { grid-template-columns: 1fr; gap: 7px; }
.check-list.compact li { font-size: 12px; }
.check-list li strong { color: var(--ink); font-weight: 800; }
.check-list li > span { min-width: 0; }
.check-list li a { display: inline; color: var(--brand-blue-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.office-card .check-list li a { color: var(--brand-orange-deep); }
.specialty-callout { margin-top: 30px; padding: 18px 20px; border-radius: 14px; background: var(--brand-blue-soft); }
.specialty-callout.orange { background: var(--brand-orange-soft); }
.specialty-callout b, .specialty-callout span { display: block; }
.specialty-callout b { font-size: 14px; }
.specialty-callout span { margin-top: 3px; color: var(--ink-2); font-size: 12px; }

.demo-section { background: white; overflow: hidden; }
.demo-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 78px; align-items: center; }
.demo-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 16px; }
.demo-copy blockquote { margin: 28px 0 0; padding: 21px 0 4px 23px; border-left: 3px solid var(--brand-orange); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.55; }
.demo-points { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; margin-top: 24px; }
.demo-points { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin-top: 18px; }
.demo-points span { display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.demo-points span::before { content: ""; box-sizing: border-box; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; background: var(--brand-orange); border: 1px solid var(--brand-orange); box-shadow: inset 0 0 0 3px white; flex: 0 0 auto; }
.ppt-window { border: 1px solid #cfd7d7; border-radius: 22px; overflow: hidden; background: #f6f7f7; box-shadow: var(--shadow); transform: rotate(.7deg); transition: transform .3s ease; }
.ppt-window:hover { transform: rotate(0); }
.ppt-titlebar { min-height: 48px; padding: 0 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: white; border-bottom: 1px solid #d7dddd; font-size: 10px; font-weight: 800; color: #54686f; }
.ppt-app { width: 27px; height: 27px; display: grid; place-items: center; background: var(--brand-orange); color: white; border-radius: 6px; font-size: 13px; font-weight: 900; }
.ppt-master { color: var(--brand-orange-deep); font-size: 9px; letter-spacing: .08em; }
.ppt-ribbon { height: 35px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #f2f4f4; border-bottom: 1px solid #dde2e1; }
.ppt-ribbon i { width: 34px; height: 5px; background: #cad3d2; border-radius: 999px; }
.ppt-ribbon i:nth-child(2), .ppt-ribbon i:nth-child(5) { width: 22px; }
.ppt-body { padding: 28px; background: #e7ebeb; }
.ppt-slide { width: 100%; aspect-ratio: 16/10; min-height: 390px; background: white; box-shadow: 0 6px 20px rgba(36,58,65,.11); padding: 27px; position: relative; display: flex; flex-direction: column; }
.ppt-slide-header small { color: var(--brand-blue); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.ppt-slide-header strong { display: block; margin-top: 5px; font-size: 22px; letter-spacing: 0; }
.ppt-slide-header p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.ppt-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.demo-switch { appearance: none; border: 1px solid #d7dedd; background: #fafbfb; border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 29px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; cursor: pointer; color: var(--ink); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.demo-switch:hover { transform: translateY(-1px); border-color: #b6c5c3; }
.demo-switch > span { grid-row: 1 / 3; width: 28px; height: 16px; border-radius: 99px; align-self: center; background: #cad2d1; position: relative; transition: background .2s ease; }
.demo-switch > span::after { content: ""; width: 12px; height: 12px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .2s ease; }
.demo-switch.is-on { border-color: #afcfd5; background: #f2f9fa; }
.demo-switch.is-on > span { background: var(--brand-blue); }
.demo-switch.is-on > span::after { transform: translateX(12px); }
.demo-switch b { font-size: 10px; align-self: end; }
.demo-switch em { color: var(--muted); font-size: 8px; font-style: normal; }
.ppt-generate { margin-top: 14px; margin-bottom: 14px; align-self: flex-start; border: 0; border-radius: 9px; background: var(--brand-orange); color: white; padding: 9px 13px; font-size: 9px; font-weight: 900; cursor: pointer; box-shadow: 0 6px 16px rgba(239,139,58,.17); }
.ppt-generate:hover { background: var(--brand-orange-deep); }
.ppt-status { margin-top: auto; padding-top: 12px; border-top: 1px solid #e3e7e6; display: flex; justify-content: space-between; gap: 10px; font-size: 8px; color: var(--muted); }
.ppt-status strong { color: var(--brand-blue-deep); }
.ppt-footer { padding: 12px 15px; display: flex; justify-content: space-between; gap: 20px; background: white; color: var(--muted); font-size: 8px; }
.ppt-footer span:first-child { color: var(--brand-orange-deep); font-weight: 900; letter-spacing: .08em; }

.healthcare-section { background: linear-gradient(135deg,#e8f3f5 0%,#f7f6f0 55%,#fff2e8 100%); }
.healthcare-layout { display: grid; grid-template-columns: 1.08fr .72fr; gap: 80px; align-items: center; }
.healthcare-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 16px; }
.healthcare-stat { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: center; margin: 29px 0; padding: 21px 23px; border-radius: 17px; background: rgba(255,255,255,.72); border: 1px solid rgba(197,208,206,.8); }
.healthcare-stat strong { color: var(--brand-blue-deep); font-size: 38px; line-height: 1; letter-spacing: 0; }
.healthcare-stat span { max-width: 290px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.healthcare-opportunity { padding: 34px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.opportunity-label { display: inline-block; margin-bottom: 16px; color: var(--brand-orange-deep); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.healthcare-opportunity h3 { font-size: 29px; line-height: 1.12; }
.healthcare-opportunity p { color: var(--ink-2); font-size: 14px; }
.healthcare-opportunity .check-list { margin-top: 22px; }
.healthcare-opportunity .check-list li::before { background: var(--brand-orange); border-color: var(--brand-orange); }

.experience-section { background: var(--paper); }
.experience-head { display: grid; grid-template-columns: 1.1fr .72fr; gap: 85px; align-items: end; margin-bottom: 45px; }
.experience-head > p { margin: 0 0 5px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.metric-grid article { /*min-height: 190px;*/ padding: 26px; border-radius: 20px; background: white; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.metric-grid strong { color: var(--brand-blue-deep); font-size: 38px; line-height: 1; letter-spacing: 0; }
.metric-grid article:nth-child(even) strong { color: var(--brand-orange-deep); }
.metric-grid span { margin-top: 9px; font-size: 12px; font-weight: 800; }
.metric-grid small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.history-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 58px; border-top: 1px solid var(--line-strong); }
.history-card { position: relative; padding: 31px 25px 0 0; margin-right: 25px; }
.history-card::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 5px var(--paper); }
.history-card:nth-child(even)::before { background: var(--brand-orange); }
.history-year { margin: 0 0 12px; color: var(--brand-blue-deep); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.history-card:nth-child(even) .history-year { color: var(--brand-orange-deep); }
.history-card h3 { font-size: 16px; margin-bottom: 8px; }
.history-card p:last-child { color: var(--muted); font-size: 12px; margin: 0; }
.platform-panel { margin-top: 60px; padding-top: 27px; border-top: 1px solid var(--line); }
.platform-label { display: block; margin-bottom: 15px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.platform-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-cloud span { padding: 8px 11px; background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); font-size: 11px; font-weight: 750; }
.platform-cloud span:last-child { color: var(--brand-blue-deep); border-color: #b9d8dd; background: #eef8fa; }

.nda-section { position: relative; background: white; overflow: hidden; }
.nda-section .shell { position: relative; z-index: 2; }
.nda-bg-sheet { position: absolute; top: 24px; right: -35px; width: 300px; height: 390px; padding: 26px 24px; border: 1px solid rgba(40,131,154,.14); border-radius: 22px; background: linear-gradient(180deg,rgba(220,238,242,.55) 0%,rgba(220,238,242,.22) 100%); box-shadow: 0 18px 45px rgba(40,131,154,.08); transform: rotate(10deg); opacity: .55; pointer-events: none; z-index: 1; }
.nda-bg-sheet::before { content: ""; position: absolute; inset: 10px; border-radius: 16px; border: 1px solid rgba(40,131,154,.08); }
.nda-bg-sheet-header { position: relative; z-index: 2; margin-bottom: 22px; color: var(--brand-blue-deep); font-size: 28px; font-weight: 900; letter-spacing: .10em; line-height: 1; text-transform: uppercase; opacity:.5 }
.nda-bg-sheet-line { height: 10px; margin-bottom: 14px; border-radius: 999px; background: rgba(40,131,154,.11); }
.nda-bg-sheet-line.short { width: 72%; }
.portfolio-heading { max-width: 780px; margin: 0 0 32px; }
.portfolio-heading h2 { font-size: clamp(34px,4vw,48px); }
.portfolio-cta { margin-top: 22px; }
.nda-card { display: grid; grid-template-columns: 72px minmax(0,720px); gap: 28px; align-items: start; max-width: 900px; margin: 0; }
.nda-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(145deg,var(--brand-blue-soft),var(--brand-orange-soft)); color: var(--brand-blue-deep); }
.nda-icon svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nda-copy p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 770px; }

.contact-section { padding: 100px 0; background: linear-gradient(120deg,#e8f4f5,#fff8f0); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1.04fr .76fr; gap: 90px; align-items: center; }
.contact-copy p:last-child { max-width: 660px; color: var(--ink-2); font-size: 17px; }
.contact-card { padding: 30px; border-radius: 25px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-person { display: flex; gap: 14px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-person img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; object-position: 25% 4%; }
.contact-person strong, .contact-person span { display: block; }
.contact-person strong { font-size: 15px; }
.contact-person span { color: var(--muted); font-size: 10px; }
.contact-email { margin-top: 22px; padding: 13px 15px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--brand-blue); color: white; text-decoration: none; font-size: 12px; font-weight: 850; }
.contact-email:hover { background: var(--brand-blue-deep); }
.contact-phone, .linkedin-link { display: inline-block; margin-top: 15px; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.phone-reveal { color: var(--brand-blue-deep); font-weight: 750; text-decoration: none; }
.phone-reveal:hover { text-decoration: underline; }
.linkedin-link { margin-left: 18px; color: var(--brand-blue-deep); }
.contact-note { margin: 22px 0 0; color: var(--muted); font-size: 10px; }

.site-footer { background: #f6f4ef; border-top: 1px solid var(--line); padding: 37px 0 45px; }
.footer-layout { display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 40px; align-items: end; }
.footer-logo { display: none; max-height: 44px; max-width: 200px; width: auto; }
.footer-logo.is-loaded { display: block; }
.footer-fallback { font-size: 11px; color: var(--brand-orange-deep); font-weight: 850; letter-spacing: .14em; }
.footer-fallback strong { color: var(--brand-blue-deep); font-size: 17px; margin-right: 5px; }
.footer-fallback.is-hidden { display: none; }
.footer-layout > p { margin: 0; max-width: 470px; color: var(--muted); font-size: 10px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted); font-size: 9px; }
.footer-meta a { color: var(--brand-blue-deep); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--reveal-delay,0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* EMAIL IS NOT WEB DEVELOPMENT */

.email-discipline-section { background: var(--white); }
.discipline-head { display: grid; grid-template-columns: 1.02fr .78fr; gap: 82px; align-items: end; margin-bottom: 52px; }
.discipline-head > p { margin: 0 0 5px; color: var(--ink-2); font-size: 17px; }

.discipline-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }

.discipline-card { position: relative; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg,#fff 0%,#fbfcfb 100%); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.discipline-card:nth-child(2), .discipline-card:nth-child(4) { background: linear-gradient(180deg,#fffdfb 0%,#fff9f3 100%); }

.discipline-toggle { width: 100%; min-height: 0; padding: 27px 32px 68px; display: block; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.discipline-card.is-open .discipline-toggle { padding-bottom: 15px; }
.discipline-toggle:focus-visible { outline: 3px solid rgba(31,137,160,.25); outline-offset: -3px; }

.discipline-kicker { display: block; margin-bottom: 14px; color: var(--brand-blue-deep); font-size: 9px; line-height: 1.35; font-weight: 900; letter-spacing: .12em; }
.discipline-card:nth-child(2) .discipline-kicker, .discipline-card:nth-child(4) .discipline-kicker { color: var(--brand-orange-deep); }
.discipline-toggle h3 { margin: 0; font-size: 22px; line-height: 1.2; }

.discipline-arrow { position: absolute; z-index: 3; left: 50%; bottom: 20px; width: 34px; height: 34px; margin: 0; display: grid; place-items: center; border: 1px solid var(--brand-blue); border-radius: 50%; color: var(--brand-blue); transform: translateX(-50%); transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.discipline-toggle:hover .discipline-arrow { transform: translate(-50%,2px); }
.discipline-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.discipline-card:nth-child(2) .discipline-arrow, .discipline-card:nth-child(4) .discipline-arrow { border-color: var(--brand-orange); color: var(--brand-orange-deep); }
.discipline-toggle[aria-expanded="true"] .discipline-arrow svg { transform: rotate(180deg); }

.discipline-card.is-open { border-color: rgba(31,137,160,.35); box-shadow: 0 16px 38px rgba(22,47,55,.08); }
.discipline-card:nth-child(2).is-open, .discipline-card:nth-child(4).is-open { border-color: rgba(238,145,49,.35); }

.discipline-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s ease, opacity .25s ease; }
.discipline-card.is-open .discipline-panel { grid-template-rows: 1fr; opacity: 1; }
.discipline-panel-inner { min-height: 0; overflow: hidden; }
.discipline-panel-content { padding: 0 32px 68px; }

.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { position: relative; margin: 0; padding: 8px 0 8px 20px; border-top: 1px solid #edf0ef; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.detail-list li:first-child { border-top: 0; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); }
.discipline-card:nth-child(2) .detail-list li::before, .discipline-card:nth-child(4) .detail-list li::before { background: var(--brand-orange); }

.compatibility-panel { margin-top: 24px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(120deg,#ecf6f7,#fffaf5); }
.compatibility-copy { max-width: 840px; }
.compatibility-copy h3 { margin-bottom: 12px; font-size: 31px; line-height: 1.15; }
.compatibility-copy > p:last-child { margin: 0; color: var(--ink-2); font-size: 15px; }
.client-watch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 28px; }
.client-watch-grid > div { min-height: 135px; padding: 20px; border: 1px solid rgba(197,208,206,.85); border-radius: 16px; background: rgba(255,255,255,.78); }
.client-watch-grid strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.client-watch-grid span { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.watch-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.email-discipline-section .platform-panel { margin-top: 34px; }

:where(a,button):focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; }

@media (max-width: 1020px) {
  .site-nav { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr .72fr; gap: 45px; }
  .experience-head { gap: 45px; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .engagement-card:nth-child(2) { border-right: 0; }
  .engagement-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .demo-layout, .healthcare-layout { gap: 48px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .history-grid { grid-template-columns: 1fr 1fr; gap: 25px 0; }
  .history-card:nth-child(3), .history-card:nth-child(4) { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 31px; }
  .history-card:nth-child(3)::before, .history-card:nth-child(4)::before { top: -5px; }
  .discipline-head { gap: 48px; }
  .nda-bg-sheet { width: 240px; height: 320px; top: 35px; right: -45px; opacity: .42; }
  .nda-bg-sheet-header { font-size: 24px; }
  .client-watch-grid { grid-template-columns: 1fr 1fr; }

/*@media (max-width: 820px) {*/
  :root { --shell: min(100% - 34px,690px); }
  .nav-shell { min-height: 70px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; padding: 18px 22px 24px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 15px 35px rgba(33,58,65,.08); display: none; align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; }
  .site-nav .nav-cta { margin-top: 8px; padding: 10px 14px; text-align: center; }
  .hero { padding-top: 70px; }
  .hero-layout, .demo-layout, .healthcare-layout, .experience-head, .contact-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 540px; }
  .stats-rail { grid-template-columns: 1fr 1fr; margin-top: 54px; border-bottom: 1px solid var(--line-strong); border-radius: 18px; }
  .stats-rail > div:nth-child(2) { border-right: 0; }
  .stats-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  #agency.section { padding: 82px 0 40px; }
  .agency-head, .experience-head { gap: 20px; }
  .specialty-grid { grid-template-columns: 1fr; }
  .demo-layout, .healthcare-layout, .contact-layout { gap: 45px; }
  .ppt-window { transform: none; }
  .history-grid { margin-top: 45px; }
  .footer-layout { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .footer-meta { align-items: flex-start; }
  .nda-bg-sheet { display: none; }
  .discipline-head { grid-template-columns: 1fr; gap: 20px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .compatibility-panel { padding: 30px; }
}

@media (max-width: 720px) {
  .ppt-body { padding: 13px; }
  .ppt-slide { min-height: 410px; padding: 19px; aspect-ratio: auto; }
  .ppt-controls { grid-template-columns: 1fr; }
  .ppt-footer { display: none; }
  .demo-points { display: grid; grid-template-columns: max-content max-content; gap: 10px 26px; justify-content: center; }
  .demo-points span { width: auto; justify-content: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  .brand { min-width: auto; }
  .brand-logo { max-width: 170px; height: 40px; }
  .hero h1 { font-size: 58px; }
  .hero-title { font-size: 26px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .portrait-wrap { height: 290px; }
  .stats-rail > div { padding: 19px 16px 21px; }
  .stats-rail strong { font-size: 24px; }
  
  .agency-head { margin-bottom: 34px; }
  .agency-promise { grid-template-columns:38px minmax(0,1fr); align-items:start; gap:15px; padding:21px; }
  .promise-mark { width:38px; height:38px; font-size:19px; }
  .agency-quote-copy > strong { font-size:12px; }
  .agency-quote p { font-size:14px; }
  .agency-quote { display:flex; flex-direction:column; align-items:stretch; }
  .agency-quote-decor { display:block; position:relative; width:135px; height:42px; flex:0 0 42px; margin:auto 0 0 auto; opacity:.42; }
  .agency-quote-decor::before { content:""; position:absolute; left:5px; right:5px; top:21px; height:1px; background:linear-gradient(90deg,rgba(40,131,154,.3),rgba(239,139,58,.35)); }
  .agency-quote-decor i { position:absolute; top:16px; width:11px; height:11px; border:2px solid var(--brand-blue); border-radius:50%; background:var(--brand-blue-soft); }
  .agency-quote-decor i:nth-child(1) { left:0; }
  .agency-quote-decor i:nth-child(2) { left:50%; transform:translateX(-50%); }
  .agency-quote-decor i:nth-child(3) { right:0; border-color:var(--brand-orange); background:var(--brand-orange-soft); }
  .agency-quote.is-measuring .agency-quote-decor { display:none; }
  
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .engagement-card:last-child { border-bottom: 0; }
  .specialty-card { padding: 29px 23px; }
  .specialty-card h3 { font-size: 27px; }
  .check-list { grid-template-columns: 1fr; }
  .metric-grid, .history-grid { grid-template-columns: 1fr; }
  .history-grid { border-top: 0; gap: 0; }
  .history-card { border-top: 1px solid var(--line); margin: 0; padding: 31px 0 26px; }
  .history-card::before { top: -5px; }
  .history-card:nth-child(3), .history-card:nth-child(4) { margin-top: 0; }
  .portfolio-heading { margin-bottom: 25px; }
  .nda-card { grid-template-columns: 1fr; gap: 20px; }
  .nda-icon { width: 72px; height: 72px; }
  .contact-email { font-size: 11px; }
  .contact-phone, .linkedin-link { display: block; width: max-content; margin-left: 0; }
  .client-watch-grid { grid-template-columns: 1fr; }
  .discipline-toggle { padding: 24px 23px 62px; }
  .discipline-card.is-open .discipline-toggle { padding-bottom: 13px; }
  .discipline-panel-content { padding: 0 23px 64px; }
  .discipline-arrow { bottom: 17px; }
  .compatibility-panel { padding: 27px 22px; }
}

@media (max-width: 479px) {
  .demo-points { grid-template-columns: max-content; gap: 10px; }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand-blue: #28839a;
    --brand-blue-deep: #79c8d8;
    --brand-blue-soft: #16343c;
    --brand-orange: #ef8b3a;
    --brand-orange-deep: #ffb36b;
    --brand-orange-soft: #38271c;
    --ink: #f1f6f7;
    --ink-2: #ccd9dc;
    --muted: #a4b5b9;
    --paper: #0f1618;
    --white: #151f22;
    --mist: #192528;
    --line: #2c3b3f;
    --line-strong: #405258;
    --shadow: 0 24px 70px rgba(0,0,0,.35);
  }

  .skip-link { background: #176a80; color: #fff; }
  .site-nav a:hover { color: var(--brand-orange) }
  .site-header { background: rgba(15,22,24,.92); border-bottom-color: rgba(64,82,88,.7); }
  .site-header.is-scrolled { background: rgba(21,31,34,.97); box-shadow: 0 10px 35px rgba(0,0,0,.25); }
  .brand-logo, .footer-logo { content: url("assets/thies-publishing-logo-ko.png"); }

  .hero::before { background-image: linear-gradient(rgba(121,200,216,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(121,200,216,.065) 1px,transparent 1px); }
  .hero-orbit-a { border-color: rgba(40,131,154,.14); }
  .hero-orbit-b { border-color: rgba(239,139,58,.09); }

  .button-primary, .contact-email, .promise-mark { background: #176a80; color: #fff; }
  .button-primary:hover, .contact-email:hover, .site-nav .nav-cta:hover { background: #28839a; color: #fff; }
  .button-secondary { background: rgba(21,31,34,.88); border-color: var(--line-strong); }

  .hero-card { background: rgba(21,31,34,.92); }
  .portrait-badge { background: rgba(21,31,34,.92); border-color: rgba(121,200,216,.2); color: var(--brand-blue-deep); }
  .stats-rail { background: rgba(21,31,34,.82); }

  .agency-section { background: var(--white); }
  .engagement-card { background: linear-gradient(180deg,#182326 0%,#141d20 100%); }
  .agency-promise { background: linear-gradient(90deg,var(--brand-blue-soft),var(--brand-orange-soft)); }

  .specialties-section { background: linear-gradient(180deg,#142023 0%,var(--paper) 100%); }
  .specialty-card { background: var(--white); box-shadow: 0 16px 50px rgba(0,0,0,.18); }
  .check-list li::before, .demo-points span::before { box-shadow: inset 0 0 0 3px var(--white); }

  .demo-section { background: var(--white); }

  .ppt-window { border-color: #34464b; background: #11191b; }
  .ppt-titlebar { background: #192326; border-bottom-color: #2c3b3f; color: #b3c2c6; }
  .ppt-app, .ppt-generate { background: #a84f11; color: #fff; }
  .ppt-generate:hover { background: #9d4c16; }
  .ppt-ribbon { background: #172124; border-bottom-color: #2c3b3f; }
  .ppt-ribbon i { background: #46585d; }
  .ppt-body { background: #0d1416; }
  .ppt-slide { background: #1b2528; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
  .demo-switch { border-color: #34464b; background: #151f22; }
  .demo-switch:hover { border-color: #587178; }
  .demo-switch > span { background: #53656a; }
  .demo-switch > span::after { background: #f0f4f5; }
  .demo-switch.is-on { border-color: #397787; background: #142b31; }
  .ppt-status { border-top-color: #34464b; }
  .ppt-footer { background: #192326; }

  .healthcare-section { background: linear-gradient(135deg,#10252b 0%,#151d1f 55%,#281d15 100%); }
  .healthcare-stat { background: rgba(21,31,34,.84); border-color: var(--line-strong); }
  .healthcare-opportunity { background: var(--white); }

  .experience-section { background: var(--paper); }
  .metric-grid article { background: var(--white); }
  .platform-cloud span { background: var(--white); }
  .platform-cloud span:last-child { color: var(--brand-blue-deep); border-color: #315d68; background: #142d33; }

  .nda-section { background: var(--white); }
  .nda-bg-sheet { border-color: rgba(121,200,216,.16); background: linear-gradient(180deg,rgba(40,131,154,.27) 0%,rgba(40,131,154,.10) 100%); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
  .nda-bg-sheet::before { border-color: rgba(121,200,216,.10); }
  .nda-bg-sheet-line { background: rgba(121,200,216,.16); }

  .contact-section { background: linear-gradient(120deg,#10252b,#281d15); }
  .contact-card { background: var(--white); }

  .site-footer { background: #11191b; }

  .email-discipline-section { background: var(--white); }
  .discipline-card { background: linear-gradient(180deg,#192326 0%,#141d20 100%); }
  .discipline-card:nth-child(2), .discipline-card:nth-child(4) { background: linear-gradient(180deg,#201c19 0%,#181b1c 100%); }
  .discipline-card.is-open { box-shadow: 0 16px 38px rgba(0,0,0,.22); }
  .detail-list li { border-top-color: #2b393d; }

  .compatibility-panel { background: linear-gradient(120deg,#14292e,#241d18); }
  .client-watch-grid > div { background: rgba(21,31,34,.82); border-color: var(--line-strong); }
}

@media (prefers-color-scheme: dark) and (max-width: 1020px) {
  .site-nav { background: rgba(21,31,34,.98); box-shadow: 0 15px 35px rgba(0,0,0,.28); }
}