:root {
  --purple: #9956c8;
  --blue: #148fd1;
  --pink: #d40086;
  --ink: #1e2230;
  --muted: #667080;
  --paper: #ffffff;
  --soft: #f2f3f7;
  --line: #d9dce5;
  --shell: min(1180px, calc(100% - 48px));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", Arial, sans-serif; color: var(--ink); background: var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.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; z-index: 100; left: 16px; top: 12px; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.section-gradient { color: #fff; background: linear-gradient(115deg, var(--purple) 0%, #646ed0 48%, var(--blue) 100%); }
.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; font-size: .77rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; opacity: .78; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 1040px; margin-bottom: 36px; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 22px; font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.15; }
p { line-height: 1.7; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; width: var(--shell); margin: 0 auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.brand img { width: 145px; height: auto; filter: brightness(0) invert(1); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: .92rem; font-weight: 600; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta):hover { opacity: .7; }
.nav-cta { padding: 9px 21px; border-radius: 99px; background: var(--pink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; }

.hero { min-height: 820px; padding: 220px 0 110px; display: grid; align-items: center; }
.hero-inner { width: var(--shell); margin-inline: auto; }
.hero-copy { max-width: 900px; margin-bottom: 6px; font-size: clamp(1rem, 1.55vw, 1.22rem); }
.text-link { display: inline-block; margin-top: 26px; text-decoration: none; font-weight: 600; }

.team { padding: 130px 0; background: linear-gradient(120deg, #8d4fc5, #487bd3 60%, #1591cf); }
.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading > p:last-child { max-width: 680px; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.people-grid figure { margin: 0; text-align: center; }
.people-grid img { width: min(100%, 220px); margin-inline: auto; aspect-ratio: 1; object-fit: contain; transition: transform .3s ease; }
.people-grid figure:hover img { transform: translateY(-7px); }
.people-grid figcaption { margin-top: 12px; font-weight: 600; }

.services, .portfolio, .clients { padding: 130px 0; }
.dark-heading .eyebrow { color: var(--pink); opacity: 1; }
.service-list { border-top: 1px solid var(--line); }
.service-card { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service-index { align-self: start; color: var(--pink); font-size: .8rem; font-weight: 700; }
.service-card p { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.portfolio-trigger, .inline-link { min-width: 142px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; color: var(--ink); text-decoration: none; text-align: center; cursor: pointer; }
.portfolio-trigger:hover, .inline-link:hover { background: var(--ink); color: #fff; }

.hub { padding: 130px 0; }
.hub-layout { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 80px; }
.hub .lead { font-size: 1.35rem; line-height: 1.5; }
.hub-visual { display: grid; place-items: center; min-height: 460px; border-radius: 50%; background: rgba(255,255,255,.09); }
.hub-visual img { width: min(92%, 500px); }

.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.split-heading > p { max-width: 330px; color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-tile { position: relative; min-height: 330px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: left; cursor: pointer; }
.portfolio-tile img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .65; transition: transform .5s ease, opacity .4s ease; }
.portfolio-tile span { position: absolute; z-index: 1; inset: auto 24px 22px; font-size: 1.1rem; font-weight: 600; }
.portfolio-tile:hover img { transform: scale(1.05); opacity: .82; }

.clients { padding-top: 70px; background: var(--soft); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-grid img { width: 100%; height: 105px; padding: 28px; object-fit: contain; filter: grayscale(1); opacity: .68; transition: opacity .2s, filter .2s; }
.logo-grid img:hover { filter: none; opacity: 1; }

.contact { padding: 130px 0; }
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.contact-form { display: grid; gap: 22px; }
.contact-form label:not(.check) { display: grid; gap: 7px; font-size: .82rem; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); border-radius: 0; outline: none; background: transparent; color: #fff; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.72); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #fff; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; line-height: 1.5; }
.check input { width: auto; margin-top: 4px; }
.submit-button { justify-self: start; padding: 12px 32px; border: 0; border-radius: 99px; background: var(--pink); color: #fff; font-weight: 600; cursor: pointer; }
.form-status { min-height: 24px; margin: 0; font-size: .85rem; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px max(24px, calc((100% - 1180px) / 2)); background: #111827; color: #d9dce5; font-size: .76rem; }
.site-footer p { margin: 0; }

.gallery-dialog { width: min(1040px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.gallery-dialog::backdrop { background: rgba(12,16,30,.78); backdrop-filter: blur(5px); }
.dialog-header { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
.dialog-close { width: 40px; height: 40px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.dialog-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; background: var(--soft); }
.dialog-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 92px; right: 0; display: none; width: min(320px, calc(100vw - 36px)); padding: 24px; flex-direction: column; align-items: stretch; gap: 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(18,25,45,.25); }
  .primary-nav.is-open { display: flex; }
  .nav-cta { color: #fff; text-align: center; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-layout, .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer { flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 30px); }
  .site-header { padding-top: 18px; }
  .brand img { width: 112px; }
  .hero { min-height: 720px; padding-top: 170px; }
  .team, .services, .hub, .portfolio, .clients, .contact { padding: 86px 0; }
  .service-card { grid-template-columns: 42px 1fr; }
  .service-card > :last-child { grid-column: 2; justify-self: start; }
  .split-heading { align-items: start; flex-direction: column; gap: 0; }
  .portfolio-grid, .logo-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-tile { min-height: 240px; }
  .logo-grid img { height: 82px; padding: 20px; }
  .dialog-gallery { grid-template-columns: 1fr; }
}

/* High-fidelity layout pass matching the current public site. */
.section-gradient { background: linear-gradient(112deg, #9b59c8 0%, #6674d3 51%, #1598d1 100%); }
.site-header { width: calc(100% - 80px); max-width: 1280px; padding-top: 42px; }
.hero { min-height: 850px; padding: 215px 0 110px; align-items: start; }
.hero { --hero-vertical-gap: 64px; }
.hero h1 { max-width: 920px; margin: 0 auto var(--hero-vertical-gap); font-size: clamp(3rem, 6.2vw, 5rem); line-height: 1; text-align: center; }
.hero-copy { max-width: 1160px; margin: 0 auto; font-size: clamp(.94rem, 1.3vw, 1.08rem); text-align: center; }
.hero-copy p { line-height: 1.45; }
.hero-copy p { margin-bottom: 4px; }
.hero-copy p:last-child { margin-bottom: 0; }
.hero-actions { width: min(650px, 100%); display: flex; justify-content: space-between; gap: 0; margin: var(--hero-vertical-gap) auto 0; color: var(--medical-white); }
.hero-actions span { font-size: clamp(1.3rem, 2.35vw, 2rem); font-weight: 600; }

.team { min-height: 670px; padding: 70px 0 170px; background: linear-gradient(112deg, #9b59c8, #6674d3 51%, #1598d1); }
.team .section-heading { margin: 0 auto 90px; text-align: center; }
.team .section-heading h2 { font-size: 2rem; }
.people-grid img { width: min(100%, 180px); }

.services { padding: 130px 0 95px; background: radial-gradient(circle at 8% 55%, #54e7a7 0, transparent 38%), radial-gradient(circle at 96% 18%, #54d4e7 0, transparent 45%), linear-gradient(120deg, #dae5dc, #c5d7e6); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; border: 0; }
.service-card { min-height: 400px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 24px 24px; border: 0; border-radius: 11px; background: #fff; }
.service-card h3 { color: var(--pink); font-size: 2rem; letter-spacing: -.04em; }
.service-index { margin-bottom: 28px; color: #1f2630; font-size: .78rem; font-weight: 500; }
.portfolio-trigger, .inline-link { min-width: 0; margin-top: auto; padding: 20px 0 0; border: 0; border-radius: 0; background: transparent; color: var(--pink); text-align: left; }
.portfolio-trigger:hover, .inline-link:hover { background: transparent; color: #9f0068; }

.hub { padding: 85px 0 130px; color: var(--ink); background: radial-gradient(circle at 5% 35%, #54e7a7 0, transparent 45%), radial-gradient(circle at 95% 45%, #e8c9e7 0, transparent 45%), linear-gradient(120deg, #c5e9dc, #d8d9e8); }
.hub-layout { display: flex; flex-direction: column; align-items: center; gap: 65px; }
.hub-copy { max-width: 600px; text-align: center; }
.hub-copy h2 { color: var(--pink); font-size: 2.15rem; }
.hub-copy p { line-height: 1.45; }
.hub-visual { width: 100%; min-height: 600px; background: transparent; }
.hub-visual img { width: min(92%, 520px); }

.portfolio { padding: 110px 0 0; background: linear-gradient(112deg, #bdebdc, #d7d7e6 70%, #e0c8e8); }
.portfolio .section-shell { width: 100%; }
.portfolio .section-heading { margin: 0 auto 70px; text-align: center; justify-content: center; }
.portfolio .section-heading h2 { color: var(--pink); font-size: 2.25rem; }
.portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
.portfolio-tile { min-height: 410px; border-radius: 0; }
.portfolio-tile img { opacity: 1; }
.portfolio-tile span { opacity: 0; }
.portfolio-tile:hover img { transform: scale(1.04); opacity: .55; }
.portfolio-tile:hover span { opacity: 1; }

.clients { padding: 120px 0 140px; background: linear-gradient(112deg, #8fe9db, #b6def0 52%, #c6bbec); }
.clients .section-heading { max-width: none; text-align: center; }
.clients .section-heading h2 { color: var(--pink); font-size: 2.2rem; }
.logo-grid img { height: 130px; padding: 32px; filter: grayscale(1) brightness(.18); opacity: .9; }

.contact { padding: 90px 0 120px; color: var(--ink); background: linear-gradient(112deg, #8fe9db, #b6def0 52%, #c6bbec); }
.contact-layout { display: block; max-width: 760px; }
.contact-layout > div { text-align: center; }
.contact-layout h2 { margin-bottom: 70px; color: var(--pink); font-size: 2rem; }
.contact-form input, .contact-form textarea { border-bottom-color: var(--pink); color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #697381; }
.check { color: var(--ink); }
.submit-button { justify-self: center; min-width: 150px; }
.site-footer { justify-content: center; padding-block: 18px; background: var(--pink); color: #fff; text-align: center; }
.site-footer p:last-child { display: none; }

@media (max-width: 900px) {
  .service-list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .portfolio-tile { min-height: 320px; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 30px); padding-top: 18px; }
  .hero { min-height: 720px; padding-top: 155px; }
  .hero { --hero-vertical-gap: 40px; }
  .hero h1 { margin-bottom: var(--hero-vertical-gap); }
  .team { padding-bottom: 100px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-tile { min-height: 300px; }
  .hub-visual { min-height: 440px; }
  .hero-actions { align-items: center; flex-direction: column; gap: 8px; margin-top: var(--hero-vertical-gap); }
}

/* 101 Medical palette study — disciplined, editorial, intentionally non-generic. */
:root {
  --medical-blue: #1b5072;
  --medical-indigo: #262a7c;
  --medical-petrol: #177c4c;
  --medical-navy: #032942;
  --medical-technical: #2f6385;
  --medical-violet: #3c4091;
  --medical-white: #f7f9fa;
  --medical-ice: #edf2f5;
  --medical-graphite: #26343d;
  --medical-joker: #d9008f;
  --medical-sage: #82b7a1;
  --medical-powder-blue: #98b2c3;
  --medical-full-green: #39be75;
  --medical-full-azure: #32aeda;
}

body { color: var(--medical-graphite); background: var(--medical-white); }
.section-gradient { background: var(--medical-navy); }

.site-header { color: var(--medical-white); }
.nav-cta { background: var(--medical-joker); }
.nav-cta:hover { background: #b60078; }

.hero { position: relative; overflow: hidden; background: linear-gradient(112deg, var(--medical-navy) 0%, var(--medical-blue) 58%, var(--medical-indigo) 100%); }
.hero-inner { position: relative; z-index: 1; }

.team {
  background: linear-gradient(112deg, var(--medical-blue), var(--medical-indigo));
}
.team { min-height: 560px; display: grid; align-items: center; padding: 110px 0; }
.team .section-heading { max-width: 850px; margin-bottom: 72px; }
.team .section-heading h2 { margin-bottom: 32px; }
.team .section-heading p { max-width: 820px; margin: 0 auto; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.7; }
.intro-actions { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 7vw, 92px); color: var(--medical-white); }
.intro-actions span { font-size: clamp(1.35rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; }

.services {
  background: var(--medical-ice);
}
.service-list { gap: 1px; background: #cdd7dc; }
.service-card {
  border-radius: 0;
  background: var(--medical-white);
}
.service-card h3 { color: var(--medical-blue); }
.service-card p { color: #596872; }
.service-index { color: var(--medical-joker); }
.portfolio-trigger,
.inline-link { color: var(--medical-indigo); font-weight: 600; }
.portfolio-trigger::after,
.inline-link::after { content: "  →"; color: currentColor; }
.portfolio-trigger:hover,
.inline-link:hover { color: var(--medical-blue); }

.hub {
  color: var(--medical-graphite);
  background: var(--medical-white);
  border-top: 1px solid #d5dfe4;
}
.hub-copy h2 { color: var(--medical-navy); }
.hub-visual { position: relative; border-top: 1px solid #d5dfe4; }

.portfolio { background: var(--medical-ice); }
.portfolio .section-heading h2 { color: var(--medical-navy); }

.clients {
  background: var(--medical-white);
  border-bottom: 1px solid #d5dfe4;
}
.clients .section-heading h2 { color: var(--medical-navy); }
.logo-grid { gap: 1px; background: #d5dfe4; }
.logo-grid img {
  background: var(--medical-white);
  filter: grayscale(1);
  opacity: .78;
}

.contact {
  color: var(--medical-white);
  background: var(--medical-navy);
}
.contact-layout h2 { color: var(--medical-white); }
.contact-form input,
.contact-form textarea {
  color: var(--medical-white);
  border-bottom-color: #718b9b;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a9bbc5; }
.contact-form label,
.check { color: var(--medical-white); }
.submit-button { background: var(--medical-joker); }
.submit-button:hover { background: #b60078; }

.site-footer { background: #021e30; color: #d9e3e8; }
.gallery-dialog { background: var(--medical-white); }
.dialog-header { background: var(--medical-white); }
.dialog-gallery { background: var(--medical-ice); }

@media (max-width: 900px) {
  .primary-nav { color: var(--medical-graphite); }
  .service-list { gap: 1px; }
}

/* One uninterrupted static background across the entire page. */
main {
  background: linear-gradient(112deg, #e6eef1 0%, #d7e6e9 58%, #e0e2ee 100%);
}
.hero,
.services,
.hub,
.portfolio,
.clients,
.contact {
  background: transparent;
}
.services,
.hub,
.portfolio,
.clients { color: var(--medical-white); }
.hero {
  min-height: auto;
  padding-top: 180px;
  padding-bottom: 76px;
}
.services { padding-top: 72px; }
.services .service-card { min-height: 360px; }
.hub,
.clients { border-color: rgba(255,255,255,.18); }
.service-list { background: rgba(255,255,255,.24); }
.service-card { background: var(--medical-white); }
.hub-copy h2,
.portfolio .section-heading h2,
.clients .section-heading h2 { color: var(--medical-white); }
.hub-visual { border-top-color: rgba(255,255,255,.24); }
.clients .logo-grid { background: rgba(255,255,255,.24); }
.clients .logo-grid img { background: var(--medical-white); }
.contact { border-top: 1px solid rgba(255,255,255,.18); }

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 54px;
  }
  .services { padding-top: 54px; }
  .team { min-height: 0; padding: 90px 0; }
  .team .section-heading { margin-bottom: 48px; }
  .intro-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
}

/* Shared layout grid and 8px vertical rhythm. */
:root {
  --layout-max: 1184px;
  --layout-gutter: 32px;
  --content-column: 840px;
  --hero-column: var(--content-column);
  --description-column: var(--content-column);
  --description-guide: var(--content-column);
  --shell: min(var(--layout-max), calc(100% - (var(--layout-gutter) * 2)));
  --space-section: 96px;
  --space-group: 48px;
  --space-content: 24px;
}

.section-shell,
.site-header {
  width: min(var(--content-column), var(--shell));
  max-width: none;
  margin-inline: auto;
}

.hero-inner {
  width: min(var(--hero-column), var(--shell));
  margin-inline: auto;
}

.site-header { padding-top: 32px; }
.site-header { width: min(var(--content-column), var(--shell)); }
.brand {
  width: 145px;
  background: var(--medical-navy);
  -webkit-mask: url("assets/101-Logo.svg") center / contain no-repeat;
  mask: url("assets/101-Logo.svg") center / contain no-repeat;
}
.brand img { width: 100%; opacity: 0; }

.hero {
  padding-top: 256px;
  padding-bottom: 36px;
  --hero-vertical-gap: var(--space-group);
}
.hero h1 {
  width: 100%;
  max-width: none;
  margin-bottom: var(--space-group);
  font-size: 6.078125rem;
  letter-spacing: -.02em;
  color: var(--medical-white);
  white-space: nowrap;
}
.hero-copy {
  width: min(var(--description-column), 100%);
  max-width: none;
  margin-inline: auto;
  color: var(--medical-full-azure);
}
.hero-copy p { margin-bottom: 8px; }
.hero-actions {
  width: min(var(--description-guide), 100%);
  margin-top: var(--space-group);
  color: var(--medical-full-green);
}

.services,
.hub,
.portfolio,
.clients,
.contact {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  scroll-margin-top: 80px;
}
.services { padding-top: 36px; }
.services { padding-bottom: 36px; }
.clients { padding-top: 36px; padding-bottom: 36px; }
.contact { padding-top: 36px; }
.services .section-shell { width: min(var(--content-column), var(--shell)); }

.section-heading { margin-bottom: var(--space-group); }
.section-heading h2,
.hub-copy h2 { margin-bottom: var(--space-content); }

.service-list { gap: 1px; }
.service-card {
  min-height: 352px;
  padding: 32px;
}
.service-card h3 {
  margin-bottom: 24px;
  color: var(--medical-full-green);
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
}
.service-card .service-name {
  margin-bottom: 16px;
  color: var(--medical-blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.hub-layout { gap: 64px; }
.portfolio .section-shell { width: var(--shell); }
.portfolio .section-heading { margin-bottom: var(--space-group); }
.portfolio-grid { gap: 16px; }
.portfolio-tile { min-height: 352px; }
.clients { padding-top: 36px; }
.contact-layout h2 { margin-bottom: var(--space-group); }
.contact-layout { max-width: none; }
.contact-form { gap: var(--space-content); }
.site-footer {
  padding-right: max(var(--layout-gutter), calc((100% - var(--content-column)) / 2));
  padding-left: max(var(--layout-gutter), calc((100% - var(--content-column)) / 2));
}

/* Light-background contrast pass. */
.site-header { color: var(--medical-navy); }
.nav-cta { color: var(--medical-white); }
.menu-toggle span:not(.sr-only) { background: var(--medical-navy); }
.hero h1 { color: var(--medical-full-green); }
.hero-copy { color: var(--medical-blue); }
.service-card h3 { color: var(--medical-petrol); }
.services,
.clients { color: var(--medical-graphite); }
.clients .section-heading h2 { color: var(--medical-navy); }
.contact {
  color: var(--medical-graphite);
  border-top: 0;
}
.clients { border-bottom: 0; }
.contact-layout h2 { color: var(--medical-navy); }
.contact-form label,
.check { color: var(--medical-graphite); }
.contact-form input,
.contact-form textarea {
  color: var(--medical-graphite);
  border-bottom-color: var(--medical-blue);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #657681; }

@media (max-width: 900px) {
  :root {
    --layout-gutter: 24px;
    --space-section: 72px;
    --space-group: 40px;
  }
  .site-header { padding-top: 24px; }
  .hero { padding-top: 224px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(3rem, 10.5vw, 5.4rem); }
  .services { padding-top: 30px; }
  .services { padding-bottom: 30px; }
  .clients { padding-top: 30px; padding-bottom: 30px; }
  .contact { padding-top: 30px; }
  .service-list { gap: 1px; }
}

@media (max-width: 620px) {
  :root {
    --layout-gutter: 20px;
    --space-section: 56px;
    --space-group: 32px;
    --space-content: 16px;
  }
  .site-header { width: var(--shell); padding-top: 16px; }
  .brand { width: 112px; }
  .hero {
    padding-top: 192px;
    padding-bottom: 24px;
    --hero-vertical-gap: var(--space-group);
  }
  .hero h1 {
    margin-right: 0;
    margin-bottom: var(--space-group);
    margin-left: 0;
    text-align: left;
    white-space: normal;
  }
  .hero-copy {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
  .hero-actions {
    width: 100%;
    align-items: stretch;
    gap: 8px;
    margin-top: var(--space-group);
    text-align: left;
  }
  .services { padding-top: 24px; }
  .services { padding-bottom: 24px; }
  .clients { padding-top: 24px; padding-bottom: 24px; }
  .contact { padding-top: 24px; }
  .service-list { gap: 16px; background: transparent; }
  .service-card { min-height: 0; padding: 32px 24px; }
  .hub-layout { gap: var(--space-group); }
  .portfolio-grid { gap: 16px; }
}
