@font-face {
  font-family: "Archivo Narrow";
  src: url("assets/archivo-narrow.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: only light;
  --violet: #1800ad;
  --ink: #16151d;
  --night: #151321;
  --paper: #f4f1fb;
  --soft: #cbc6d8;
  --line: #514a63;
  --accent-text: #c8c0ff;
  --lilac: #c8c0ff;
  --wash: #292438;
  --gutter: clamp(22px, 5.4vw, 96px);
  --header: 84px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; background: var(--night); color: var(--paper); font: 1rem/1.6 "DM Sans", Arial, sans-serif; }
body.modal-open { overflow: hidden; }
main { background: linear-gradient(105deg, #171522, #282238 60%, #191622); }
.residential, .contact-form, .dialog {
  --soft: #514a62;
  --line: #beb5ce;
  --accent-text: var(--violet);
  color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { border-radius: 0; font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { background: none; border: 0; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3, .ref summary strong { font-family: "Archivo Narrow", "Arial Narrow", sans-serif; font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -.025em; line-height: 1.02; }
h2 { font-size: clamp(2.85rem, 5.7vw, 5.9rem); }
h3 { font-size: clamp(1.9rem, 3.3vw, 3.1rem); line-height: 1.09; letter-spacing: -.017em; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid #856ffe; outline-offset: 4px; }
::selection { color: white; background: var(--violet); }
.wrap { max-width: 1536px; padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.6vw, 118px); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 18px; color: var(--ink); background: var(--paper); }
.kicker, .eyebrow, .city, .frame-picker, .service-img span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: .79rem; font-weight: 600; line-height: 1.5; letter-spacing: .105em;
}
.kicker { display: flex; align-items: center; gap: 13px; color: var(--accent-text); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--night); border-bottom: 1px solid #3e384d; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.brand .brand-symbol { filter: grayscale(1) invert(1) sepia(.36) saturate(2.6) hue-rotate(210deg); width: 45px; height: auto; }
.brand .wordmark { width: 147px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.15vw, 39px); font-size: .96rem; font-weight: 550; }
.main-nav a:not(.nav-contact):hover, .footer-links button:hover { color: var(--lilac); text-decoration: underline; text-underline-offset: 5px; }
.nav-contact, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; background: var(--violet); color: white;
  font-size: .97rem; font-weight: 620; padding: 12px 22px; min-height: 47px;
  transition: background .18s, color .18s;
}
.nav-contact { border-color: #7a6acd; }
.nav-contact:hover, .button:hover { background: #3924b5; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; }
.menu-toggle i { display: block; margin: 6px auto; width: 23px; height: 2px; background: var(--paper); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(545px, 44vw, 720px);
  max-width: 1920px;
  margin-inline: auto;
  background: #151321;
  color: white;
}
.hero-text {
  position: relative;
  z-index: 1;
  padding: 48px 0 112px var(--gutter);
  max-width: 56%;
}
.hero h1 { font-size: clamp(3.1rem, 5.75vw, 7.1rem); line-height: 1; letter-spacing: -.03em; }
.hero h1 .amp { color: var(--lilac); }
.hero-tagline { margin-top: 22px; color: var(--lilac); font-size: clamp(1.05rem, 1.45vw, 1.32rem); font-weight: 650; line-height: 1.35; }
.hero-desc { max-width: 42ch; margin-top: 12px; color: #e6e4ec; font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.55; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 22px; margin-top: 32px; }
.hero-button { background: white; color: var(--ink); }
.hero-button:hover { background: #eae7ff; }
.hero-link, .text-link { border-bottom: 1px solid currentColor; padding-block: 4px; font-weight: 550; }
.hero-link:hover { color: #e1daff; }
.hero-photo { position: absolute; z-index: 0; inset: 0; }
.hero-photo img { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 50% 48%; touch-action: pan-y pinch-zoom; cursor: grab; }
.hero-photo img:active { cursor: grabbing; }
.hero-photo img[data-frame="2"] { object-position: 50% 63%; }
.hero-photo::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #151321 2%, #151321 35%, #151321ed 41%, #151321a1 50%, #1513211a 66%, #15132105 80%),
    linear-gradient(0deg, #10101edb 0%, #10101e12 25%, transparent 45%);
}
.hero-bottom {
  position: absolute; z-index: 2; inset: auto var(--gutter) 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: #fff; border-top: 1px solid #ffffff40; padding-top: 12px;
}
#hero-caption { font-size: clamp(.78rem, 1.05vw, .95rem); line-height: 1.3; }
.frame-picker {
  display: flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  background: #171322dc;
  border: 1px solid #ffffff55;
  border-radius: 999px;
}
.frame-picker button {
  width: 42px;
  min-height: 42px;
  border-radius: 50%;
  color: white;
  font-size: .86rem;
  transition: background .18s, color .18s;
}
.frame-picker button:hover { background: #39353f; }
.frame-picker button[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.slideshow-toggle { position: relative; margin-left: 3px; }
.slideshow-toggle::before { content: ""; display: inline-block; vertical-align: middle; }
.slideshow-toggle[data-playing="true"]::before {
  width: 8px;
  height: 12px;
  border-inline: 2px solid currentColor;
}
.slideshow-toggle[data-playing="false"]::before {
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 37px; }
.company h2 { margin-top: 14px; }
.section-head > p { color: var(--soft); max-width: 335px; font-size: 1.05rem; line-height: 1.5; padding-bottom: 3px; }
.service-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(20px, 2.7vw, 44px); align-items: start; }
.service-card { min-width: 0; }
.service-img { position: relative; aspect-ratio: 1.95; overflow: hidden; background: var(--wash); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-img img { object-position: center 52%; }
.medical-img img { object-position: center 38%; }
.service-img span { position: absolute; left: 12px; bottom: 11px; padding: 4px 9px; color: white; background: #141219d9; font-size: .73rem; letter-spacing: .025em; font-weight: 400; }
.service-body { padding-top: 21px; }
.service-body .kicker { font-size: .77rem; }
.service-body h3 { margin: 7px 0 10px; }
.service-body > p:not(.kicker) { color: var(--soft); font-size: 1.03rem; max-width: 530px; }
.scope { margin-top: 22px; border-block: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 16px; }
summary::-webkit-details-marker { display: none; }
.scope summary { font-size: 1rem; font-weight: 610; padding-block: 13px; }
.plus { flex: none; width: 30px; height: 30px; border: 1px solid #888095; position: relative; }
.plus::before, .plus::after { position: absolute; content: ""; top: 50%; left: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%,-50%); }
.plus::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] > summary .plus { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
details[open] > summary .plus::after { transform: translate(-50%,-50%); }
.scope ul { padding-left: 22px; margin-block: 4px 15px; }
.scope li { padding-block: 4px; color: var(--soft); }
.scope li::marker { color: var(--accent-text); }
.text-link { display: inline-block; color: var(--accent-text); margin-bottom: 19px; }
.reference-section { background: linear-gradient(120deg, #191623 18%, #312941 72%, #221d31); }
.ref-list { border-top: 1px solid var(--line); }
.ref { border-bottom: 1px solid var(--line); }
.ref summary { padding: 15px 0; }
.city { color: var(--accent-text); display: block; font-size: .76rem; }
.ref summary strong { display: block; line-height: 1.22; font-size: clamp(1.2rem, 1.75vw, 1.65rem); letter-spacing: -.025em; margin-top: 5px; }
.ref-body { padding: 0 35px 18px 0; max-width: 580px; color: var(--soft); }
.ref-body p + p { font-size: .91rem; margin-top: 12px; }
.ref-body b { font-weight: 600; color: inherit; margin-left: 6px; }
.company { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 8vw, 130px); }
.company-intro > p:last-child { color: var(--soft); margin-top: 21px; max-width: 430px; }
.method-list { border-top: 1px solid var(--line); align-self: center; }
.method-list article { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.method-list h3 { font-size: clamp(1.35rem, 2.05vw, 1.9rem); }
.method-list p { color: var(--soft); margin-top: 7px; }
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: linear-gradient(110deg, #24194b, #30216d 55%, #1d182d);
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: max(var(--gutter), calc((100% - 1536px) / 2 + var(--gutter)));
  bottom: -70px;
  width: min(30vw, 390px);
  aspect-ratio: 253 / 232;
  background: url("assets/molecule.png") center / contain no-repeat;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: .065;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.contact-copy { padding-top: 13px; }
.contact-copy > p:not(.contact-phone) { margin: 24px 0; font-size: 1.05rem; max-width: 390px; color: #e6e2ff; }
.contact-email { font-size: clamp(1rem, 1.8vw, 1.55rem); letter-spacing: -.025em; font-weight: 550; border-bottom: 1px solid #b2a7ff; display: inline-block; overflow-wrap: anywhere; }
.contact-phone { margin-top: 12px; }
.contact-phone a { font-size: 1.1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
address { font-style: normal; margin-top: 24px; color: #ded9ff; }
.contact-form, .dialog { background: #e7e2f0; }
.contact-form { padding: clamp(23px, 3vw, 44px); }
.contact-form h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin-bottom: 21px; }
.field { margin-bottom: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: .89rem; font-weight: 570; margin-bottom: 5px; }
label span { color: var(--violet); }
input, select, textarea { width: 100%; background: #f5f2f9; border: 1px solid #a59bb6; padding: 10px 12px; line-height: 1.5; }
input, select { min-height: 45px; }
textarea { resize: vertical; display: block; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--violet); outline-offset: 0; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; top: 16px; right: 17px; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; padding-right: 35px; }
.contact-form .button { width: 100%; }
.form-note { font-size: .86rem; color: var(--soft); margin-top: 12px; }
footer { background: #12101a; border-top: 1px solid #41394e; }
.footer-inner { display: flex; align-items: center; gap: 27px; padding-block: 29px; }
.footer-inner > span { font-size: .83rem; color: var(--soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.footer-links button { font-size: .87rem; padding: 8px 0; }
.dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; max-height: 90dvh; }
.dialog::backdrop { background: #13111ed1; }
.dialog-inner { position: relative; padding: clamp(26px, 4.5vw, 48px); }
.dialog h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin: 12px 0 20px; }
.dialog p + p, .dialog label { margin-top: 14px; }
.dialog .eyebrow { color: var(--violet); }
.dialog-close { position: absolute; right: 9px; top: 5px; width: 44px; height: 44px; font-size: 1.8rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.dialog a:not(.button) { text-decoration: underline; overflow-wrap: anywhere; }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { background: #d9d1e7; }
.copy-status { color: var(--violet); margin-top: 10px; }

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .main-nav { gap: 20px; font-size: .9rem; }
  .brand .brand-symbol { width: 39px; }
  .brand .wordmark { width: 127px; }
  .company { gap: 35px; }
  .contact-grid { gap: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .section-head > p { max-width: 280px; }
}
@media (max-width: 1050px) {
  :root { --header: 68px; --gutter: 21px; }
  .brand { gap: 9px; }
  .brand .brand-symbol { width: 36px; }
  .brand .wordmark { width: 124px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; padding: 14px var(--gutter) 21px; border-top: 1px solid var(--line); background: var(--night); border-bottom: 1px solid var(--line); gap: 0; max-height: calc(100dvh - var(--header)); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1rem; }
  .main-nav .nav-contact { margin-top: 8px; }
}
@media (max-width: 800px) {
  .section-head { display: block; margin-bottom: 25px; }
  .section-head > p { max-width: 430px; margin-top: 15px; font-size: 1rem; }
  .service-grid, .company, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 36px; }
  .service-img { aspect-ratio: 1.8; }

  .ref-body { padding-right: 15px; }
  .company { gap: 30px; }
  .contact::before { display: none; }
  .contact-copy { padding-top: 0; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 15px; }
  .footer-links { width: 100%; margin: 0; }
}
@media (max-width: 385px) {
  :root { --gutter: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Photographs and sector-specific information */
.nhml-feature figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.tertiary {
  background: linear-gradient(105deg, #28223b, #302747 42%, #171421 92%);
  border-block: 1px solid #ffffff12;
  color: var(--paper);
}
.tertiary .section-label { color: var(--lilac); }
.tertiary-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tertiary h2 { font-size: clamp(2.6rem, 4.4vw, 4.8rem); margin: 17px 0; }
.tertiary-intro { color: #d8d6df; max-width: 56ch; }
.tertiary-uses { margin: 25px 0; }
.tertiary-uses div { border-top: 1px solid #ffffff32; padding: 12px 0; }
.tertiary-uses dt { font-weight: 610; }
.tertiary-uses dd { margin: 3px 0 0; color: #d8d6df; }
.tertiary-photo { position: relative; overflow: hidden; }
.tertiary-photo img { width: 100%; height: auto; }
.nhml-feature figcaption { position: absolute; inset: auto 0 0; padding: 38px 16px 13px; background: linear-gradient(transparent, #121018de); color: white; font-size: .8rem; }
.nhml-feature { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; background: #342d46; overflow: hidden; }
.nhml-feature figure { position: relative; min-width: 0; }
.nhml-feature img { width: 100%; height: 100%; object-fit: cover; }
.nhml-copy { align-self: center; padding: clamp(22px, 3.6vw, 56px); }
.nhml-copy h3 { margin: 14px 0; }
.nhml-copy > p:not(.kicker) { color: var(--soft); }
.nhml-copy .text-link { margin: 16px 0 0; }
.hospitals { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-top: 30px; border: 0; align-items: start; }
.hospitals .ref { border-top: 1px solid var(--line); border-bottom: 0; }
@media (min-width: 1051px) and (max-width: 1200px) {
  .main-nav { gap: 16px; }
  .nav-contact { padding-inline: 14px; }
}
@media (max-width: 800px) {
  .tertiary-grid, .nhml-feature, .hospitals { grid-template-columns: 1fr; }
  .tertiary-photo img { max-height: 320px; object-fit: cover; }
  .nhml-feature img { height: auto; }
}
.section-label { font-size: 1rem; font-weight: 600; }
.sector-links { display: flex; flex-wrap: wrap; gap: 5px 20px; }
.residential { background: linear-gradient(105deg, #c5bfd5, #d9d3e7 47%, #ece8f1); }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 104px); align-items: center; }
.home-photo { grid-area: 1 / 1; }
.home-photo img { width: 100%; height: auto; }
.home-copy { grid-area: 1 / 2; }
.home-copy .section-label, .company .section-label { color: var(--accent-text); }
.home-copy h2 { margin: 12px 0 16px; font-size: clamp(2.6rem, 4.4vw, 4.8rem); }
.home-copy > p:not(.section-label), .home-details dd { color: var(--soft); }
.home-details { margin: 24px 0; }
.home-details div + div { margin-top: 14px; }
.home-details dt { font-weight: 650; }
.home-details dd { margin: 2px 0 0; }
@media (max-width: 800px) {
  .hero { --photo-height: clamp(255px, 57vw, 400px); display: block; min-height: 0; padding-bottom: var(--photo-height); }
  .hero-text { max-width: none; padding: 36px var(--gutter) 25px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.8rem); }
  .hero-tagline { margin-top: 17px; }
  .hero-desc { margin-top: 10px; }
  .actions { margin-top: 22px; }
  .hero-photo img, .hero-photo::before { inset: auto 0 0; height: calc(var(--photo-height) + 60px); width: 100%; }
  .hero-photo img { object-position: 50% 44%; }
  .hero-photo::before { background: linear-gradient(180deg, #151321 0%, #151321ed 13%, transparent 39%, transparent 65%, #0f0d1bde 100%); }
  .hero-bottom { inset-inline: var(--gutter); bottom: 12px; border: 0; padding: 0; }
  .frame-picker button { width: 38px; min-height: 38px; }
  .home-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-photo, .home-copy { grid-area: auto; }
}
@media (max-width: 385px) {
  .actions { column-gap: 14px; }
  .actions a { font-size: .9rem; }
  .hero-button { padding-inline: 15px; }
  .frame-picker button { width: 36px; min-height: 36px; }
}

.ecology {
  --soft: #d3e7da;
  color: #f0faf3;
  background: linear-gradient(115deg, #152b23, #1f4434 56%, #172f27);
  border-block: 1px solid #537965;
}
.ecology .section-head > p { max-width: 45ch; }
.ecology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.ecology-grid article {
  padding: clamp(18px, 2.3vw, 34px);
  border: 1px solid #59836c;
  border-top: 3px solid #a4ddba;
  background: #102b22;
}
.ecology-grid h3 {
  color: #bcf2cf;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  text-wrap: pretty;
}
.ecology-grid p { margin-top: 10px; color: var(--soft); }
.recruitment {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(24px, 8vw, 130px);
  align-items: center;
}
.recruitment .section-label { color: var(--accent-text); }
.recruitment h2 { margin-top: 12px; }
.recruitment-copy p { color: var(--soft); max-width: 50ch; margin-bottom: 20px; }
@media (max-width: 800px) {
  .ecology-grid, .recruitment { grid-template-columns: 1fr; }
}

.cookie-banner {
  position: fixed;
  z-index: 9;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 32px));
  max-height: calc(100dvh - var(--header) - 24px);
  overflow-y: auto;
  padding: 20px;
  color: var(--paper);
  background: #201b31;
  border: 1px solid #766791;
  border-radius: 16px;
  box-shadow: 0 8px 26px #0c081b70;
}
.cookie-banner h2 { font-size: 1.6rem; }
.cookie-banner p { margin-top: 9px; color: #e1d9ec; line-height: 1.45; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-actions .button {
  color: #f6f0ff;
  background: #36284d;
  border-color: #8f7ca9;
  border-radius: 7px;
}
.cookie-actions .button:hover { background: #4a3769; }
.cookie-details {
  margin-top: 9px;
  padding: 4px 0;
  color: var(--lilac);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
