/* Real clinic photos from the Dentman Maps gallery */
.hero-mascot{position:absolute;right:20px;bottom:20px;width:118px;height:118px;z-index:2;border-radius:50%;overflow:hidden;border:5px solid var(--paper);background:var(--paper);box-shadow:0 4px 22px color-mix(in srgb, var(--green) 14%, transparent)}.hero-mascot img{width:100%;height:100%;object-fit:cover;object-position:right center}.clinic-photos{padding-block:60px}.photo-grid figure{margin:0}.photo-grid figure:nth-child(2) img{object-position:center 61%}.photo-grid figcaption{font-size:12px;color:var(--dark);margin-top:11px}.photo-credit{font-size:10px;color:var(--dark);margin-top:17px}.review-button{background:var(--paper);color:var(--green);font-size:13px}.photo-address{padding:0;overflow:hidden;background:var(--pale)}.entrance-photo{width:100%;height:230px;object-fit:cover;object-position:center 57%;display:block}.address-copy{padding:28px 34px}.address-copy .eyebrow{margin-bottom:10px}.address-copy h2{font-size:32px;margin-bottom:12px}.address-copy>p{font-size:14px;margin-bottom:0}.address-copy .address-bottom{margin-top:20px;padding-top:18px}.contact-info{padding-top:18px}
@media(max-width:800px){.hero-mascot{width:98px;height:98px;right:13px;bottom:15px}.review-button{grid-column:2;justify-self:start}.photo-address{padding:0}.address-copy{padding:25px}.entrance-photo{height:210px}.contact-info{padding-top:8px}}
@media(max-width:600px){.hero-mascot{width:82px;height:82px;right:13px;bottom:14px;border-width:4px}.hero-content h1{font-size:35px}.hero-address{margin-top:14px}.clinic-photos{padding-block:38px}.photo-grid figcaption{font-size:11px;margin-top:8px}.photo-credit{font-size:9px}.review-button{font-size:12px;min-height:42px;padding:11px 16px}.entrance-photo{height:210px}.address-copy{padding:25px}.photo-address{padding:0}.address-copy h2{font-size:31px}.contact-info{padding-top:0}}
.brand img{width:46px;height:54px;object-fit:contain}@media(max-width:600px){.brand img{width:38px;height:46px}}
.team-section{background:var(--blue);padding-block:var(--section-space)}.doctor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.doctor-card{min-width:0}.doctor-photo{display:block;background:var(--wash);border-radius:8px;overflow:hidden}.doctor-photo img{display:block;width:100%;height:auto}.doctor-copy{padding:19px 0}.doctor-copy h2{font-size:22px;line-height:1.35;letter-spacing:-.4px;margin:0 0 8px}.doctor-copy p{font-size:13px;min-height:43px;margin:0 0 8px}.doctor-note{font-size:14px;margin-top:25px}.nav nav{gap:16px}@media(max-width:1000px){.nav nav{gap:11px;font-size:13px}.nav{gap:16px}.brand{font-size:29px}}@media(max-width:600px){.doctor-grid{grid-template-columns:1fr;gap:24px}.doctor-card{max-width:390px;width:100%;margin-inline:auto}.doctor-copy h2{font-size:25px}.doctor-copy p{min-height:0;font-size:14px}}

/* Keep hero copy on a solid surface for a predictable APCA contrast. */
.hero-surface {
  position: relative;
  display: grid;
  grid-template-columns: var(--canon-columns);
  min-height: clamp(420px, 40vw, 510px);
  background: var(--blue);
  overflow: hidden;
  border-radius: 12px;
}

.hero-content {
  grid-column: 1 / 6;
  grid-row: 1;
  align-self: center;
  padding: clamp(24px, 4.5vw, 66px);
  padding-inline-end: clamp(16px, 2vw, 30px);
}

.hero-content h1 {
  font-size: clamp(34px, 4vw, 55px);
  text-wrap: balance;
  line-height: 1.1;
}

.hero-content .eyebrow {
  position: relative;
  width: fit-content;
  font-weight: 700;
}

.hero-content .eyebrow::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -6px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.hero-content > p:not(.eyebrow) {
  max-width: 35ch;
  font-size: clamp(18px, 1.45vw, 19px);
  line-height: 1.5;
}

.hero-content .eyebrow,
.hero-address {
  color: var(--dark);
  font-size: 14px;
}

.hero-address {
  font-weight: 400;
}

.hero-art {
  grid-column: 6 / -1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 55% center;
}

.hero-mascot {
  right: var(--canon-gutter);
  bottom: var(--canon-gutter);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--canon-gutter) / 2);
}

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 852;
  object-fit: cover;
  border-radius: 8px;
}

.photo-grid .entrance-figure a {
  display: block;
}

.entrance-photo {
  height: auto;
  object-fit: contain;
}

.photo-grid figcaption,
.photo-credit {
  font-size: 12px;
  color: var(--dark);
}

@media (max-width: 740px) {
  .hero-surface {
    min-height: 0;
  }

  .hero-content {
    grid-column: 2 / 9;
    padding: clamp(20px, 6vw, 44px) 0;
  }

  .hero-art {
    grid-column: 1 / -1;
    grid-row: 2;
    height: clamp(220px, 55vw, 360px);
    object-position: 50% 55%;
  }

  .hero-content h1 {
    font-size: clamp(32px, 6.6vw, 49px);
    text-wrap: wrap;
  }

  .hero-address {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

.nav .brand {
  --brand-name-size: 38px;
  --brand-caption-line: 17px;
  --brand-line-gap: 2px;
  flex-shrink: 0;
}

.nav .brand img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: calc(var(--brand-name-size) + var(--brand-caption-line) + var(--brand-line-gap));
}

.brand-copy {
  display: grid;
  gap: var(--brand-line-gap);
  text-align: left;
  white-space: nowrap;
}

.brand-name {
  font-size: var(--brand-name-size);
  line-height: 1;
}

.brand-copy small {
  margin: 0;
  font-size: 13px;
  line-height: var(--brand-caption-line);
  letter-spacing: .24px;
}

@media (max-width: 800px) {
  .nav nav.open {
    max-height: 55dvh;
    overflow-y: auto;
  }
}

@media (max-width: 600px) {
  .nav .brand {
    --brand-name-size: 35.3px;
    --brand-caption-line: 16px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .mobilebar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(5px, 1.5vw, 9px);
  }

  .mobilebar > button,
  .mobilebar > a {
    padding-inline: 3px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
  }

  .mobilebar .chat-launch {
    position: static;
    background: var(--paper);
    color: var(--green);
    box-shadow: none;
  }

  .mobilebar .chat-launch > [aria-hidden="true"] {
    display: none;
  }

  .chat {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 600px) and (hover: hover) {
  .mobilebar > :is(a, button):hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
  }
}

@media (min-width: 601px) {
  .mobilebar {
    display: contents;
  }

  .mobilebar > a,
  .mobilebar > [data-book] {
    display: none;
  }
}

@media (max-width: 350px) {
  .hero-content {
    grid-column: 1 / -1;
    padding-inline: calc(100% / 18);
  }

  .hero-content .eyebrow {
    margin-bottom: 12px;
    letter-spacing: .07em;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }
}

.hero-art,
.photo-grid img,
.entrance-photo,
.doctor-photo img {
  outline: 1px solid color-mix(in srgb, var(--dark) 10%, transparent);
  outline-offset: -1px;
}

.doctor-card,
.doctor-copy {
  display: flex;
  flex-direction: column;
}

.doctor-copy {
  flex: 1;
}

.doctor-copy .text-button {
  align-self: flex-start;
  margin-block-start: auto;
}

@media (hover: hover) {
  .review-button:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
  }
}

.review-strip {
  --rating-scale: 1.8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "rating heading link";
  align-items: center;
  gap: 12px 24px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  margin-block-end: 60px;
}

.review-strip h2 {
  grid-area: heading;
  margin: 0;
  font-size: 26px;
}

.review-rating {
  grid-area: rating;
  inline-size: calc(150px * var(--rating-scale));
  block-size: calc(50px * var(--rating-scale));
}

.review-rating iframe {
  display: block;
  border: 0;
  transform: scale(var(--rating-scale));
  transform-origin: left top;
}

.review-strip .review-button {
  grid-area: link;
  justify-self: end;
}

@media (max-width: 800px) {
  .review-strip {
    --rating-scale: 1;
    column-gap: 10px;
  }
}

@media (max-width: 600px) {
  .review-strip {
    grid-template-columns: minmax(150px, 1fr) auto;
    grid-template-areas: "heading heading" "rating link";
    padding-block: 16px;
    margin-block-end: 38px;
  }

  .review-strip h2 {
    font-size: 23px;
  }

  .review-strip .review-button {
    padding-inline: 12px;
    text-align: center;
  }
}

.contact-map {
  margin-block: 36px 28px;
}

.contact-map h2 {
  margin-block-end: 16px;
}

.contact-map iframe {
  display: block;
  inline-size: 100%;
  block-size: clamp(280px, 42vw, 380px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
