:root {
  color-scheme: light;
  --ink: #14213d;
  --deep: #07111f;
  --muted: #52616b;
  --line: #d7dee4;
  --paper: #fbfcfd;
  --soft: #eef3f6;
  --accent: #0b7a75;
  --accent-dark: #075c58;
  --warm: #f4b860;
  --rose: #b23a5b;
  --rose-light: #f4a7bc;
  --shadow: 0 18px 44px rgba(20, 33, 61, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 32px 32px, rgba(20, 33, 61, 0.055) 0 6px, transparent 7px) 0 0 / 68px 68px,
    linear-gradient(180deg, #f7fbfc 0%, #fbfcfd 34%, #eef3f6 100%);
  color: var(--ink);
  font-family: "Aptos", "Inter", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.top-strip {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, var(--accent), #0aa6c7);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
}

.top-strip a {
  overflow-wrap: anywhere;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.top-actions a {
  font-weight: 850;
}

.site-header {
  position: absolute;
  top: 74px;
  right: clamp(20px, 5vw, 72px);
  left: clamp(20px, 5vw, 72px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.brand,
.nav,
.actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  max-width: min(360px, 28vw);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
  transition: color 180ms ease;
}

.brand-mark {
  width: min(320px, 28vw);
  height: auto;
  max-height: 74px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--white);
  padding: 8px 10px;
  object-fit: contain;
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover {
  color: var(--rose);
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 8px 14px rgba(178, 58, 91, 0.24));
  transform: rotate(-5deg) scale(1.06);
}

.nav {
  min-height: 56px;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  color: #2679b5;
  font-size: 15px;
  font-weight: 650;
  padding: 0 24px;
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 180ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.call-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.18);
  color: var(--white);
  font-weight: 850;
  padding: 9px 18px 9px 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
  transition: background 180ms ease, transform 180ms ease;
}

.call-button span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  text-shadow: none;
}

.call-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.call-button:hover {
  background: rgba(7, 17, 31, 0.36);
  transform: translateY(-2px);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding: clamp(170px, 18vw, 240px) clamp(20px, 5vw, 72px) clamp(74px, 9vw, 130px);
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0.54)),
    linear-gradient(135deg, rgba(11, 122, 117, 0.28), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px),
    url("assets/nursing-team.jpeg") center/cover;
  color: var(--white);
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 62px;
  border: 0;
  background: radial-gradient(circle at 32px 32px, rgba(7, 17, 31, 0.065) 0 6px, transparent 7px) 0 0 / 68px 68px, var(--paper);
  border-radius: 0;
  content: "";
  opacity: 1;
  transform: none;
  z-index: 0;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero-logo-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 390px;
  align-items: center;
  padding: 42px 30px 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    linear-gradient(90deg, rgba(244, 184, 96, 0.12), rgba(178, 58, 91, 0.18));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  z-index: 1;
}

.hero-logo-panel::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  content: "";
}

.hero-logo-panel img {
  position: relative;
  z-index: 1;
  width: min(520px, 90%);
  max-height: 210px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.34));
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-logo-panel p {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

.hero-logo-panel:hover img {
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.38));
  transform: scale(1.04) rotate(-2deg);
}

.signal-lines {
  position: absolute;
  inset: auto 24px 28px 24px;
  display: grid;
  gap: 8px;
}

.signal-lines span {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244, 184, 96, 0.9), transparent);
}

.signal-lines span:nth-child(2) {
  opacity: 0.68;
  transform: scaleX(0.78);
}

.signal-lines span:nth-child(3) {
  opacity: 0.42;
  transform: scaleX(0.56);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  font-size: clamp(44px, 8vw, 86px);
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.4vw, 23px);
}

.actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 28px rgba(7, 92, 88, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid currentColor;
  color: inherit;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--warm);
  transform: translateY(-2px);
}

.button.text-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button.text-button:hover {
  border-color: var(--warm);
  background: rgba(244, 184, 96, 0.16);
  transform: translateY(-2px);
}

.section,
.split,
.careers,
.contact {
  padding: clamp(72px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.04);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.card h3,
.card p,
.card-button,
.card-icon {
  position: relative;
  z-index: 1;
}

.card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 98px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(178, 58, 91, 0.08);
  content: "";
  transition: transform 220ms ease, background 220ms ease;
}

.card:hover,
.card:focus-within {
  border-color: rgba(178, 58, 91, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card:hover::after,
.card:focus-within::after {
  background: rgba(11, 122, 117, 0.1);
  transform: scale(1.25);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--rose), var(--accent));
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 220ms ease;
}

.card:hover .card-icon,
.card:focus-within .card-icon {
  transform: rotate(-4deg) scale(1.08);
}

.card p,
.split p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.card-button {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  background: rgba(11, 122, 117, 0.09);
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  padding: 10px 12px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.card-button:hover,
.card-button:focus-visible {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--soft);
}

.split p {
  margin: 0;
}

.feature-list {
  align-self: end;
}

.feature-list ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.feature-list li + li {
  margin-top: 10px;
}

.careers {
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(7, 17, 31, 0.94)),
    radial-gradient(circle at 16% 18%, rgba(244, 184, 96, 0.18), transparent 32%),
    radial-gradient(circle at 84% 78%, rgba(11, 122, 117, 0.18), transparent 30%);
  color: var(--white);
}

.career-intro {
  max-width: 760px;
}

.career-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.career-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 32px;
}

.career-copy,
.career-points {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.career-copy {
  padding: clamp(26px, 4vw, 38px);
}

.career-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.career-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.career-actions .secondary {
  color: var(--white);
}

.career-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.career-points div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.career-points strong {
  color: var(--warm);
  font-size: 17px;
}

.career-points span {
  color: rgba(255, 255, 255, 0.76);
}

.founder-button {
  margin-top: 28px;
  border: 0;
  background: var(--rose);
  color: var(--white);
  cursor: pointer;
}

.founder-button:hover,
.founder-button:focus-visible {
  background: #982e4b;
  box-shadow: 0 14px 28px rgba(178, 58, 91, 0.22);
  transform: translateY(-2px);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pill-list button {
  border: 1px solid var(--line);
  border-left: 5px solid var(--rose);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-list button:hover,
.pill-list button:focus-visible {
  border-color: rgba(178, 58, 91, 0.4);
  background: #fff6f8;
  color: var(--rose);
  transform: translateY(-3px);
}

.contact {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 91, 0.26), transparent 68%);
  content: "";
  transform: translateX(-50%);
}

.contact p {
  margin: 16px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact > * {
  position: relative;
}

.contact .contact-name {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.contact-actions {
  justify-content: center;
}

.contact-label {
  width: 100%;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.footer {
  padding: 24px clamp(20px, 5vw, 72px);
  background: #101827;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.popup-open {
  overflow: hidden;
}

.popup-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 17, 31, 0.56);
  backdrop-filter: blur(8px);
}

.popup-layer[hidden] {
  display: none;
}

.popup-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1fr);
  width: min(920px, 100%);
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.96)),
    var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  padding: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.popup-media {
  min-height: 460px;
  background-color: #eef3f6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.popup-media.is-founder {
  background-color: #dfe8ee;
  background-position: center 18%;
  background-size: cover;
}

.popup-copy {
  padding: clamp(28px, 5vw, 44px);
}

.popup-kicker {
  margin: 0 42px 10px 0;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.popup-card h3 {
  margin-right: 36px;
  font-size: clamp(28px, 4vw, 42px);
}

.popup-card p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.popup-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.popup-card li + li {
  margin-top: 10px;
}

.area-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.area-form[hidden] {
  display: none;
}

.area-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.area-form input,
.area-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 10px 12px;
}

.area-form textarea {
  resize: vertical;
}

.form-mail-link {
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
    background: var(--deep);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 0 14px;
  }

  .top-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .call-button {
    width: 100%;
  }

  .hero {
    min-height: 68vh;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  h1 {
    max-width: 12ch;
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .brand {
    max-width: none;
  }

  .brand-mark {
    width: min(320px, 92vw);
  }

  .hero-logo-panel {
    min-height: 260px;
  }

  .hero-logo-panel img {
    width: min(420px, 92%);
    max-height: 160px;
  }

  .career-panel {
    grid-template-columns: 1fr;
  }

  .popup-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow: auto;
  }

  .popup-media {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
