:root {
  --white: #fffdf8;
  --gold: #f3c47f;
  --navy: #09252f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

.landing {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
}

.landing-image,
.landing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-image {
  z-index: -2;
  object-fit: cover;
  object-position: 62% center;
}

.landing-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 28, 37, 0.95) 0%, rgba(6, 28, 37, 0.79) 37%, rgba(6, 28, 37, 0.13) 75%),
    linear-gradient(0deg, rgba(6, 28, 37, 0.46) 0%, transparent 45%);
}

.brand {
  position: absolute;
  top: max(28px, env(safe-area-inset-top));
  left: max(clamp(24px, 5vw, 76px), env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand strong {
  font-weight: 760;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.landing-nav {
  position: absolute;
  top: max(36px, env(safe-area-inset-top));
  right: max(clamp(24px, 5vw, 76px), env(safe-area-inset-right));
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.2rem);
  align-items: center;
}

.landing-nav a {
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-nav a::after {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 5px;
  background: var(--gold);
  content: "";
  transition: width 160ms ease;
}

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after {
  width: 100%;
}

.message {
  position: absolute;
  left: max(clamp(24px, 7vw, 108px), env(safe-area-inset-left));
  bottom: max(clamp(42px, 10vh, 110px), env(safe-area-inset-bottom));
  width: min(690px, calc(100% - 48px));
}

h1 {
  max-width: 680px;
  margin: 0 0 clamp(1rem, 2.6vh, 1.75rem);
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.91;
  text-wrap: balance;
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

.message p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 253, 248, 0.91);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.62;
}

.about {
  color: var(--navy);
  background: #f4efe5;
}

.about-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 140px) 0 clamp(54px, 8vw, 96px);
}

.section-kicker {
  margin: 0 0 1.15rem;
  color: #98661f;
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  column-gap: clamp(48px, 8vw, 118px);
  padding-bottom: clamp(70px, 9vw, 116px);
  border-bottom: 1px solid rgba(9, 37, 47, 0.23);
}

.product-intro > .section-kicker {
  grid-column: 1 / -1;
}

.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.product-copy {
  align-self: end;
}

.product-copy p,
.team-heading > p:last-child,
.person > p {
  margin: 0;
  color: #38515a;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.72;
}

.product-copy p + p {
  margin-top: 1.2rem;
}

.product-copy .clinical-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(9, 37, 47, 0.18);
  color: #63767d;
  font-size: 0.85rem;
  line-height: 1.55;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 118px);
  padding: clamp(70px, 9vw, 116px) 0;
}

.team-heading h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.7rem);
}

.team-heading > p:last-child {
  margin-top: 1.6rem;
}

.team-list {
  border-top: 1px solid rgba(9, 37, 47, 0.45);
}

.person {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 28px 0 32px;
  border-bottom: 1px solid rgba(9, 37, 47, 0.23);
}

.person h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.person .role {
  margin: 9px 0 0;
  color: #63767d;
  font-size: 0.77rem;
  font-weight: 650;
  line-height: 1.55;
}

.contact-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(9, 37, 47, 0.45);
}

.contact-row .section-kicker {
  margin-bottom: 0.55rem;
}

.contact-row p:last-child {
  margin: 0;
  color: #63767d;
  font-size: 0.84rem;
}

.contact-row a {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  text-decoration-color: #c39149;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

@media (max-width: 700px) {
  .landing-image {
    object-position: 61% center;
  }

  .landing-shade {
    background:
      linear-gradient(0deg, rgba(6, 28, 37, 0.97) 0%, rgba(6, 28, 37, 0.81) 43%, rgba(6, 28, 37, 0.12) 78%),
      linear-gradient(90deg, rgba(6, 28, 37, 0.45), transparent 80%);
  }

  .brand {
    top: max(20px, env(safe-area-inset-top));
    left: max(20px, env(safe-area-inset-left));
  }

  .landing-nav {
    top: max(27px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .message {
    left: max(22px, env(safe-area-inset-left));
    bottom: max(34px, env(safe-area-inset-bottom));
    width: calc(100% - 44px);
  }

  h1 {
    max-width: 540px;
    font-size: clamp(3.35rem, 15.5vw, 5.6rem);
    line-height: 0.93;
  }

  .message p {
    max-width: 540px;
    font-size: clamp(0.94rem, 4.1vw, 1.08rem);
    line-height: 1.52;
  }

  .about-shell {
    width: min(100% - 40px, 620px);
    padding-top: 68px;
  }

  .product-intro,
  .team-section,
  .person {
    grid-template-columns: 1fr;
  }

  .product-intro,
  .team-section {
    gap: 36px;
  }

  .person {
    gap: 20px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (max-width: 460px) {
  .landing-nav a:first-child {
    display: none;
  }

  .landing-nav {
    top: max(29px, env(safe-area-inset-top));
  }

  .landing-nav a {
    font-size: 0.67rem;
  }
}

@media (max-height: 620px) {
  .brand {
    top: max(14px, env(safe-area-inset-top));
  }

  .message {
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(2.9rem, 12vh, 5.1rem);
  }

  .message p {
    font-size: 0.9rem;
    line-height: 1.42;
  }
}

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

  .landing-nav a::after {
    transition: none;
  }
}
