:root {
  color-scheme: light;
  --navy: #12334c;
  --navy-deep: #0b2a42;
  --blue: #4a9bd1;
  --blue-light: #8bc8ee;
  --ink: #152b3b;
  --muted: #536674;
  --paper: #faf9f6;
  --white: #fff;
  --line: #d7e1e6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #1785c1;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 5.2%;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(18 51 76 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark,
.location-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 0.3rem;
}

.brand-name {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand-services {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.nav-link {
  position: relative;
  padding: 0.7rem 0 0.65rem;
  color: #354a59;
  font-size: 0.81rem;
  text-decoration: none;
}

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

.nav-link:hover::after,
.nav-link.is-current::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(550px, 60vw);
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  background: #eaf1f4;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 6.4rem) 2rem clamp(3rem, 6vw, 5rem) max(5.2vw, calc((100vw - 1280px) / 2));
}

.eyebrow {
  margin: 0 0 1rem;
  color: #476578;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 570px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.1vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-location {
  margin: 1.2rem 0 1.7rem;
  color: #344e60;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(9 41 64 / 15%);
}

.button-primary {
  padding: 0.75rem 1.4rem 0.75rem 1.55rem;
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover {
  background: #1a4d6e;
}

.button-light {
  padding: 0.75rem 1.4rem 0.75rem 1.55rem;
  color: var(--navy-deep);
  background: var(--blue-light);
}

.button-light:hover {
  background: #a4daf6;
}

.button-arrow {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.hero-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #cad6dc;
}

.hero-photo::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 12%;
  background: linear-gradient(90deg, #eaf1f4, transparent);
  content: "";
  pointer-events: none;
}

.hero-photo img,
.service-photo img,
.clinic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img {
  min-height: 550px;
  object-position: 54% center;
}

.photo-frame {
  position: relative;
}

.image-label {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.4rem 0.62rem;
  color: var(--white);
  background: rgb(11 42 66 / 82%);
  border-radius: 2px;
  font-size: 0.57rem;
  letter-spacing: 0.035em;
}

.demo-label {
  position: absolute;
  z-index: 2;
  right: 1rem;
  top: 1rem;
  margin: 0;
  padding: 0.38rem 0.55rem;
  color: var(--white);
  background: rgb(11 42 66 / 78%);
  border-radius: 2px;
  font-size: 0.56rem;
  letter-spacing: 0.025em;
}

.section-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.services {
  padding-top: clamp(3.2rem, 6vw, 5rem);
  padding-bottom: clamp(3.4rem, 6vw, 5.4rem);
}

.section-heading {
  margin: 0 auto 2rem;
  text-align: center;
}

.eyebrow-centered {
  margin-bottom: 0.65rem;
}

.section-heading h2,
.location h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.section-subtitle {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  overflow: hidden;
  padding-bottom: 1.2rem;
  background: var(--white);
  border: 1px solid rgb(18 51 76 / 7%);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgb(18 51 76 / 5%);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgb(18 51 76 / 11%);
}

.service-photo {
  height: clamp(135px, 14vw, 175px);
  margin: 0;
  overflow: hidden;
  background: #dbe5e9;
}

.service-photo img {
  transition: transform 350ms ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.045);
}

.service-card h3 {
  position: relative;
  margin: 0;
  padding: 1.35rem 0.7rem 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}

.service-card h3::after {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0.8rem auto 0;
  background: var(--blue);
  content: "";
}

.clinic-band {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(330px, 1fr) minmax(0, 1fr);
  background: var(--navy);
}

.clinic-band-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.4rem, 6.2vw, 5rem) max(3rem, 8vw);
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 20%, rgb(90 150 190 / 13%), transparent 44%),
    var(--navy-deep);
}

.clinic-band-copy .eyebrow {
  color: #bfd8e6;
}

.clinic-band-copy h2 {
  margin: 0 0 1.8rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.clinic-photo {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #d6dfd9;
}

.clinic-photo img {
  object-position: center;
}

.location {
  display: flex;
  min-height: 190px;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.location-mark {
  width: 72px;
  height: 72px;
  background: #e7f1f6;
  border: 0;
  font-size: 2.2rem;
}

.location .eyebrow {
  margin-bottom: 0.45rem;
}

.location h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.location address {
  margin-top: 0.5rem;
  color: #344e60;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 5.2%;
  color: #e3edf2;
  background: var(--navy-deep);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-demo-label {
  color: #bed0db;
  font-size: 0.63rem;
}

.concept-dialog {
  width: min(440px, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(18 51 76 / 14%);
  border-radius: 8px;
  box-shadow: 0 25px 80px rgb(4 25 41 / 32%);
}

.concept-dialog::backdrop {
  background: rgb(6 27 43 / 58%);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  position: relative;
  padding: 2.7rem;
}

.dialog-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.dialog-close:hover {
  background: #e9eff2;
}

.concept-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.concept-dialog p:not(.eyebrow) {
  margin: 0.8rem 0 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 74px;
    gap: 1rem;
    padding-right: 4%;
    padding-left: 4%;
  }

  .hero {
    min-height: 460px;
    grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-copy {
    padding-left: 4vw;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 6vw, 4rem);
  }

  .hero-photo img {
    min-height: 460px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .service-photo {
    height: clamp(150px, 24vw, 195px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 0 1rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .brand-name {
    font-size: 1.03rem;
  }

  .brand-services {
    max-width: 235px;
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 1px solid #d9e3e8;
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--navy);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--white);
    border-top: 1px solid #e7edf0;
    box-shadow: 0 14px 24px rgb(18 51 76 / 10%);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .nav-link {
    padding: 0.9rem 0.3rem;
    border-bottom: 1px solid #edf1f3;
    font-size: 0.95rem;
  }

  .nav-link::after {
    right: auto;
    width: 38px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 365px;
    padding: 2.7rem 1.35rem 2.4rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.8rem;
  }

  .hero h1 {
    max-width: 500px;
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .hero-location {
    margin: 0.9rem 0 1.3rem;
  }

  .hero-photo {
    height: 280px;
    min-height: 0;
  }

  .hero-photo img {
    min-height: 0;
    object-position: center 52%;
  }

  .hero-photo::before {
    inset: 0 0 auto;
    width: auto;
    height: 18%;
    background: linear-gradient(180deg, #eaf1f4, transparent);
  }

  .demo-label {
    top: 0.8rem;
    right: 0.8rem;
  }

  .section-wrap {
    width: min(100% - 2rem, 520px);
  }

  .services {
    padding-top: 3.1rem;
    padding-bottom: 3.3rem;
  }

  .section-heading {
    margin-bottom: 1.45rem;
  }

  .section-heading h2 {
    font-size: 2.15rem;
  }

  .section-subtitle {
    font-size: 0.94rem;
  }

  .service-grid {
    gap: 0.75rem;
  }

  .service-card {
    padding-bottom: 0.9rem;
  }

  .service-photo {
    height: clamp(120px, 34vw, 155px);
  }

  .service-photo .image-label {
    right: 0.4rem;
    bottom: 0.4rem;
    padding: 0.3rem 0.42rem;
    font-size: 0.49rem;
  }

  .service-card h3 {
    min-height: 58px;
    padding-top: 1rem;
    font-size: clamp(0.96rem, 4vw, 1.12rem);
  }

  .service-card h3::after {
    margin-top: 0.6rem;
  }

  .clinic-band {
    grid-template-columns: 1fr;
  }

  .clinic-band-copy {
    padding: 2.7rem 1.35rem;
  }

  .clinic-band-copy h2 {
    font-size: 2.35rem;
  }

  .clinic-photo {
    min-height: 255px;
    height: 255px;
  }

  .location {
    min-height: 180px;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .location-mark {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .location h2 {
    font-size: 1.2rem;
  }

  .location address {
    max-width: 260px;
    font-size: 0.98rem;
  }

  .site-footer {
    min-height: 60px;
    padding: 0 1rem;
    font-size: 0.65rem;
  }

  .footer-demo-label {
    font-size: 0.55rem;
  }

  .dialog-inner {
    padding: 2.4rem 1.5rem 1.6rem;
  }
}

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

/* A quieter, editorial finish: mineral blue, soft limestone and a restrained
   brass note keep the illustrative crops distinct from real clinic imagery. */
:root {
  --navy: #173b50;
  --navy-deep: #102f41;
  --blue: #5d9bab;
  --blue-light: #c7dfe0;
  --ink: #203844;
  --muted: #637780;
  --paper: #f6f4ee;
  --white: #fbfaf6;
  --line: #d8dfd9;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: var(--paper);
}

body {
  background: var(--paper);
}

.site-header {
  min-height: 88px;
  background: #fbfaf6;
  box-shadow: 0 1px 0 rgb(23 59 80 / 10%);
}

.brand-mark {
  width: 48px;
  height: 48px;
  color: #ad8a57;
  border-width: 1px;
}

.brand-name,
.hero h1,
.section-heading h2,
.location h2,
.clinic-band-copy h2,
.service-card h3 {
  font-family: var(--serif);
}

.brand-services {
  max-width: 410px;
  letter-spacing: 0.085em;
}

.hero {
  min-height: min(590px, 62vw);
  background: #e7eeeb;
}

.hero-copy {
  padding-right: clamp(1.4rem, 4vw, 4rem);
}

.hero .eyebrow,
.section-heading .eyebrow,
.location .eyebrow {
  color: #66828a;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.3vw, 5.65rem);
  line-height: 0.96;
}

.hero-location {
  max-width: 26rem;
  color: #526b73;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.55;
}

.button-primary {
  background: var(--navy);
}

.button-primary:hover {
  background: #24566a;
}

.hero-photo img {
  filter: saturate(0.86);
}

.demo-label,
.image-label {
  border-radius: 1px;
  letter-spacing: 0.055em;
}

.services {
  padding-top: clamp(4rem, 7vw, 6.3rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.service-grid {
  gap: 1.15rem;
}

.service-card {
  padding-bottom: 1.35rem;
  background: #fbfaf6;
  border-color: rgb(23 59 80 / 8%);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgb(23 59 80 / 6%);
}

.service-photo {
  background: #dce5e2;
}

.service-card h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
}

.service-card h3::after {
  background: #ad8a57;
}

.clinic-band-copy {
  background:
    radial-gradient(ellipse at 10% 90%, rgb(128 169 168 / 13%), transparent 46%),
    var(--navy-deep);
}

.clinic-band-copy h2 {
  line-height: 1.12;
}

.clinic-band-copy .eyebrow {
  color: #bdd2d2;
}

.button-light {
  color: var(--navy-deep);
  background: #d1e2dc;
}

.button-light:hover {
  background: #dfebe5;
}

.location {
  min-height: 210px;
}

.location-mark {
  color: #ad8a57;
  background: #e9ece5;
}

.site-footer {
  background: #102f41;
}

.concept-dialog {
  background: #fbfaf6;
  border-radius: 3px;
}

.concept-dialog::backdrop {
  background: rgb(11 34 45 / 62%);
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    background: #fbfaf6;
  }

  .brand-services {
    max-width: 235px;
    letter-spacing: 0.035em;
  }

  .hero-copy {
    min-height: 380px;
    padding: 2.8rem 1.35rem 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 11.7vw, 4rem);
  }

  .hero-location {
    max-width: 21rem;
  }

  .service-card {
    border-radius: 2px;
  }

  .clinic-band-copy {
    padding: 2.8rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-photo img,
  .button,
  .nav-link::after {
    transition: none;
  }
}
