:root {
  --ink: #141a1d;
  --muted: #687177;
  --paper: #f5f6f3;
  --white: #ffffff;
  --teal: #0b6b6b;
  --teal-dark: #064b4b;
  --mint: #cde8df;
  --line: rgba(20, 26, 29, 0.14);
  --orange: #d9592f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(8, 17, 20, 0.72), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
}

.brand-name {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.brand-name small,
.footer-brand small {
  display: block;
  font-size: 0.66em;
  font-weight: 550;
  letter-spacing: 0.13em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 42px);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav a {
  opacity: 0.84;
  transition: opacity 180ms ease;
}

nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("hospital-exterior.jpg") center 47% / cover no-repeat;
  transform: scale(1.015);
  animation: reveal 1.2s ease-out both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 20, 21, 0.86) 0%, rgba(4, 20, 21, 0.46) 43%, rgba(4, 20, 21, 0.07) 72%),
    linear-gradient(0deg, rgba(3, 13, 14, 0.66) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 78vw);
  margin: 0 0 12vh 6.5vw;
  animation: rise 0.9s 0.15s ease-out both;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.84);
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(4rem, 7.7vw, 8rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-content > p {
  max-width: 585px;
  margin: 34px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 225px;
  padding: 17px 20px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 650;
}

.opening-ribbon {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 3px 12px;
  min-width: 330px;
  padding: 21px 32px;
  background: rgba(7, 72, 72, 0.94);
  backdrop-filter: blur(12px);
}

.opening-ribbon .pulse {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  background: #94f2cb;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(148, 242, 203, 0.13);
}

.opening-ribbon strong {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.opening-ribbon > span:last-child {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.68rem;
}

.section {
  width: min(1280px, 88vw);
  margin-inline: auto;
}

.intro {
  padding: 120px 0 80px;
}

.section-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
}

.section-kicker.inverse {
  color: var(--mint);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 9vw;
}

.intro h2,
.section-heading h2,
.experience h2,
.faq h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro h2 span,
.section-heading h2 span,
.experience h2 span {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
}

.intro-copy {
  max-width: 590px;
  padding-top: 10px;
}

.intro-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.intro-copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats article {
  padding: 38px 28px;
  border-right: 1px solid var(--line);
}

.stats article:first-child {
  padding-left: 0;
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-section {
  padding: 110px 0;
  background: var(--teal-dark);
  color: var(--white);
}

.journey-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
}

.journey-heading h2 {
  max-width: 510px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.2vw, 4.7rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.045em;
  line-height: 1;
}

.journey {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.journey article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.journey article > span {
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 0.88rem;
}

.journey h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
}

.journey p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.capabilities-section {
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
}

.section-heading .section-kicker {
  margin-top: 12px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.capability-grid article {
  min-height: 250px;
  padding: 30px 36px 28px 0;
  border-bottom: 1px solid var(--line);
}

.capability-grid article:not(:nth-child(3n + 1)) {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.capability-grid article > span {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.capability-grid h3 {
  margin: 52px 0 12px;
  font-size: 1.25rem;
  font-weight: 650;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 520px;
  margin-top: 110px;
  background: var(--ink);
  color: var(--white);
}

.feature-image {
  position: relative;
  min-height: 450px;
  overflow: hidden;
}

.feature-image img {
  height: 100%;
  object-fit: cover;
}

.feature-image > span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 9px 13px;
  background: rgba(10, 18, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 76px);
}

.feature-number {
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 28px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.1vw, 3.7rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.experience {
  padding: 20px 0 130px;
}

.experience-heading {
  grid-template-columns: 0.55fr 1.05fr 0.7fr;
  gap: 4vw;
  align-items: end;
}

.experience-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 720px;
  margin-top: 75px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe4e1;
}

.gallery .gallery-large {
  grid-row: 1 / span 2;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
}

.gallery figcaption span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
  background: var(--teal);
  color: var(--white);
}

.legacy-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.legacy-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transform: scale(1.05);
}

.legacy-image::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, rgba(11, 107, 107, 0.75));
}

.legacy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 110px);
}

.legacy blockquote {
  margin: 22px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.8vw, 4.7rem);
  font-style: italic;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.legacy-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.attribution {
  margin-top: 22px;
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opening {
  padding: 120px 0;
}

.opening-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 480px;
  background: var(--ink);
  color: var(--white);
}

.opening-copy,
.opening-note {
  padding: clamp(46px, 7vw, 100px);
}

.opening-copy {
  background:
    linear-gradient(rgba(9, 28, 29, 0.86), rgba(9, 28, 29, 0.94)),
    url("hospital-exterior.jpg") center / cover;
}

.opening-status {
  margin: 40px 0 10px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.opening h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 9vw, 9rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.opening-location {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opening-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.opening-note > span {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opening-note p {
  margin: 22px 0 40px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.06rem;
  line-height: 1.7;
}

.opening-note a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9vw;
  padding: 10px 0 120px;
}

.faq h2 {
  max-width: 350px;
  font-size: clamp(2.6rem, 4.5vw, 4.9rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 27px 45px 27px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  content: "+";
  right: 8px;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 650px;
  margin: -5px 45px 26px 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 70px 5.5vw 38px;
  background: #0f1517;
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
}

.footer-meta {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes reveal {
  from {
    opacity: 0.6;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 76px;
    padding-inline: 5vw;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero-content {
    width: 88vw;
    margin-left: 6vw;
    margin-bottom: 18vh;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 10vw, 6.2rem);
  }

  .opening-ribbon {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .intro-grid,
  .journey-wrap,
  .section-heading,
  .experience-heading,
  .faq {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .journey-wrap,
  .experience-heading,
  .faq {
    gap: 46px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .stats article:nth-child(3) {
    padding-left: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid article:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .capability-grid article:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--line);
  }

  .feature,
  .legacy,
  .opening-card {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 480px;
  }

  .legacy-copy {
    order: -1;
  }

  .gallery {
    min-height: 600px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(7, 24, 25, 0.68);
    backdrop-filter: blur(12px);
  }

  .brand-name {
    max-width: 160px;
    font-size: 0.58rem;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.65rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    background-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 15, 16, 0.92) 0%, rgba(3, 15, 16, 0.28) 85%);
  }

  .hero-content {
    margin-bottom: 150px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15.5vw, 5rem);
  }

  .hero-content > p {
    margin-top: 24px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .button {
    min-width: min(100%, 300px);
  }

  .opening-ribbon {
    padding: 17px 6vw;
  }

  .section {
    width: 88vw;
  }

  .intro,
  .capabilities-section,
  .opening {
    padding: 82px 0;
  }

  .experience {
    padding-bottom: 82px;
  }

  .journey-section {
    padding: 82px 0;
  }

  .section-kicker {
    margin-bottom: 22px;
  }

  .stats {
    margin-top: 55px;
  }

  .stats article {
    padding: 28px 18px;
  }

  .stats strong {
    font-size: 2.25rem;
  }

  .stats span {
    font-size: 0.6rem;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .capability-grid article,
  .capability-grid article:nth-child(even) {
    min-height: auto;
    padding: 26px 0;
    border-left: 0;
  }

  .capability-grid h3 {
    margin-top: 32px;
  }

  .feature {
    margin-top: 70px;
  }

  .feature-image {
    min-height: 310px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 460px 330px 330px;
    min-height: 0;
    margin-top: 50px;
  }

  .gallery .gallery-large {
    grid-row: auto;
  }

  .legacy-image {
    min-height: 360px;
  }

  .legacy-copy,
  .opening-copy,
  .opening-note {
    padding: 48px 7vw;
  }

  .faq {
    padding-bottom: 82px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .footer-meta {
    grid-column: auto;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
