:root {
  --ink: #000000;
  --ink-soft: #000000;
  --paper: #ffffff;
  --soft: #f3f8f6;
  --line: #d8e5e0;
  --turquoise: #38b7a3;
  --turquoise-dark: #00695f;
  --green: #90c84a;
  --yellow: #f9e163;
  --yellow-dark: #715f00;
  --charcoal: #14282b;
  --shadow: 0 18px 50px rgb(20 40 43 / 12%);
  --radius-sm: 0.65rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --shell: 74rem;
  --site-chrome-height: 9.625rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--site-chrome-height);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--turquoise-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin-block: 0 0.75rem;
  font-family: "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-block: 0 1rem;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 52rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.contact-bar {
  color: var(--paper);
  background: var(--charcoal);
  font-size: 0.84rem;
}

.site-chrome {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  width: 100%;
}

.contact-bar__inner {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.contact-bar a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-bar a:hover {
  text-decoration: underline;
}

.site-header {
  position: relative;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid rgb(216 229 224 / 82%);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 7rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-link {
  flex: 0 0 auto;
}

.logo-link img {
  width: 16rem;
  max-height: 5.25rem;
  object-fit: contain;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.primary-navigation > a,
.nav-dropdown > summary {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.72rem;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.primary-navigation > a:hover,
.nav-dropdown > summary:hover,
.primary-navigation .is-active {
  color: var(--turquoise-dark);
  background: var(--soft);
}

.primary-navigation .nav-appointment {
  margin-left: 0.2rem;
  color: var(--paper);
  background: var(--turquoise-dark);
}

.primary-navigation .nav-appointment:hover,
.primary-navigation .nav-appointment.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.18rem 0 0 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.nav-dropdown[open] > summary::after {
  margin-top: 0.18rem;
  transform: rotate(225deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  padding: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  border-radius: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.is-active {
  color: var(--turquoise-dark);
  background: var(--soft);
}

.menu-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: var(--paper);
  background: var(--turquoise-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--turquoise-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--yellow);
}

.lead {
  max-width: 44rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--paper);
  background: var(--turquoise-dark);
}

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

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

.button--yellow:hover {
  background: var(--green);
}

.button--quiet {
  color: var(--turquoise-dark);
  background: transparent;
  border-color: var(--turquoise-dark);
}

.button--quiet:hover {
  color: var(--paper);
  background: var(--turquoise-dark);
}

.button--outline-light {
  color: var(--paper);
  background: rgb(20 40 43 / 30%);
  border-color: var(--paper);
}

.button--outline-light:hover {
  color: var(--ink);
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--turquoise-dark);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--soft {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.home-hero {
  position: relative;
  min-height: min(48rem, calc(100svh - 8rem));
  display: grid;
  overflow: hidden;
  color: var(--paper);
  background: var(--charcoal);
}

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

.hero-slide {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide--portrait {
  object-fit: cover;
  object-position: center 15%;
}

.hero-slide--team {
  object-position: center 60%;
}

.hero-shade {
  z-index: 1;
  background: rgb(9 28 30 / 68%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem 2rem;
}

.hero-copy {
  max-width: 48rem;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.3rem;
  -webkit-text-stroke: 0.6px #000;
  paint-order: stroke fill;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 1.8rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.payment-options {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 88%);
}

.payment-options p {
  margin: 0;
  font-size: 0.98rem;
}

.payment-options p + p {
  margin-top: 0.25rem;
}

.payment-options__heading {
  color: var(--yellow);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-options a {
  color: var(--paper);
  font-weight: 800;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.intro-grid h2 {
  max-width: 11ch;
}

.prose-large {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.team-feature {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.team-feature__image {
  max-width: 28rem;
}

.team-feature__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
}

.team-feature > div:last-child > p:not(.eyebrow, .lead) {
  color: var(--ink-soft);
}

.interior-hero {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.interior-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
}

.story-list {
  display: grid;
  gap: 0;
}

.story-section {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.story-section:last-child {
  border-bottom: 1px solid var(--line);
}

.story-number {
  color: var(--turquoise-dark);
  font-size: 0.85rem;
  font-weight: 850;
}

.story-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.story-section p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.cta-band {
  padding-block: 3.5rem;
  color: var(--paper);
  background: var(--turquoise-dark);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.team-list {
  display: grid;
  gap: 2rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--soft);
  border-radius: var(--radius-lg);
}

.team-card img {
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
  border-radius: var(--radius);
}

.team-card__content {
  padding-block: 1rem;
}

.team-card__heading {
  margin-bottom: 1.25rem;
}

.team-card__heading h2 {
  margin: 0;
}

.team-card__heading .eyebrow {
  margin: 0.35rem 0 0;
  color: #2f6f3e;
}

.team-card__content > p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

@media (min-width: 53rem) {
  .team-card__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 1.35rem;
  }

  .team-card__heading .eyebrow {
    margin: 0;
  }
}

.team-card--no-photo {
  grid-template-columns: 1fr;
  gap: 0;
}

.team-card--no-photo .team-card__content {
  padding-block: 0;
}

.team-page-heading {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: #fbfcfb;
}

.team-page-heading h1 {
  margin-bottom: 0;
}

.team-group-photo {
  aspect-ratio: 17 / 8;
  margin-block: 0;
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--radius-lg);
}

.team-group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.team-page-intro {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.team-page-intro .lead {
  margin-bottom: 0;
}

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

.gallery-card {
  position: relative;
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--radius);
}

.gallery-card:nth-child(3n + 1) {
  grid-column: span 2;
  min-height: 34rem;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-card--portrait img {
  object-fit: contain;
  background: var(--soft);
}

.gallery-card:hover img {
  transform: scale(1.02);
}

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

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

.faq-item summary {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--turquoise-dark);
  border-radius: 50%;
  content: "+";
}

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

.faq-item summary span {
  color: var(--turquoise-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.faq-item > div {
  max-width: 44rem;
  padding: 0 1rem 1.5rem 4rem;
  color: var(--ink-soft);
}

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

.forms-intro {
  max-width: 58rem;
  margin-bottom: 2.5rem;
}

.forms-intro > p {
  color: var(--ink-soft);
}

.forms-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.forms-options--single {
  grid-template-columns: minmax(0, 32rem);
}

.forms-option {
  padding: 1.35rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.forms-option h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.forms-option ol {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--ink-soft);
}

.forms-option li + li {
  margin-top: 0.55rem;
}

.form-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.7rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-card__number {
  margin-bottom: 1rem;
  color: var(--turquoise-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.form-card h2 {
  max-width: 18ch;
  font-size: 1.65rem;
}

.form-card p {
  color: var(--ink-soft);
}

.form-card .button-row {
  margin-top: 1.25rem;
}

.email-form-link {
  margin-top: 1rem;
  font-weight: 850;
}

.form-page-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 5rem);
}

.form-page-grid > div:first-child {
  position: sticky;
  top: 8rem;
}

.contact-page__details {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-page__details > h2 {
  margin-bottom: 1.5rem;
}

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

.contact-details-grid > div,
.contact-page__hours {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-details-grid h3,
.contact-page__hours h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.contact-details-grid p,
.contact-details-grid address {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-page__hours {
  margin-top: 1rem;
}

.accessibility-help {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 0.35rem solid var(--turquoise);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-appointment {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.contact-appointment .form-embed {
  background: var(--paper);
}

.form-embed {
  min-height: 48rem;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 65rem;
  border: 0;
}

.form-fallback {
  margin-top: 1rem;
}

/* Native appointment form. Public sending stays gated until launch approval. */
.appointment-form {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgb(20 40 43 / 6%);
}

.appointment-fields,
.appointment-question {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.appointment-section {
  display: grid;
  gap: 1.4rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.appointment-section h3 {
  margin: 0;
  color: var(--turquoise-dark);
  font-size: 1.4rem;
}

.appointment-field {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
}

.appointment-field label,
.appointment-question legend {
  padding: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.field-requirement {
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
}

.appointment-field input,
.appointment-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #718e80;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.appointment-field textarea {
  resize: vertical;
}

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

.appointment-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.appointment-choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.appointment-choice:has(input:checked) {
  background: var(--soft);
  border-color: var(--turquoise-dark);
}

.appointment-choice input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--turquoise-dark);
}

.appointment-help {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.appointment-form > .appointment-help {
  margin-bottom: 1rem;
}

.appointment-verification {
  display: grid;
  gap: 0.65rem;
  max-width: 24rem;
  margin-bottom: 1.5rem;
}

.appointment-verification [data-turnstile] {
  min-height: 65px;
  min-width: 0;
}

.appointment-status {
  margin: 0;
  color: var(--turquoise-dark);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.appointment-status[data-error="true"] {
  color: #922b21;
}

.appointment-form__footer {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.appointment-form__footer button:disabled {
  color: var(--ink);
  background: var(--line);
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 40rem) {
  .appointment-field-row {
    grid-template-columns: 1fr;
  }
}

.setup-notice {
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.setup-notice h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.location-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--yellow);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-frame {
  min-height: 33rem;
  background: var(--soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 33rem;
  display: block;
  border: 0;
}

.location-card {
  padding: clamp(2rem, 5vw, 4rem);
}

.location-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.location-card address {
  margin-bottom: 1.5rem;
  font-style: normal;
}

.hours-list {
  margin-block: 1.5rem;
}

.hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.hours-row dt {
  font-weight: 800;
}

.hours-row dd {
  margin: 0;
}

.site-footer {
  padding-block: 4rem 1.5rem;
  color: rgb(255 255 255 / 82%);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 3rem;
}

.site-footer h2 {
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a {
  color: var(--paper);
}

.footer-logo {
  width: 12.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .footer-accessibility {
  margin-bottom: 0.65rem;
}

.not-found {
  min-height: 55vh;
  display: grid;
  align-items: center;
  padding-block: 6rem;
}

@media (max-width: 72rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    max-height: calc(100svh - 9rem);
    display: none;
    overflow-y: auto;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-navigation[data-open="true"] {
    display: grid;
  }

  .primary-navigation > a,
  .nav-dropdown > summary {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
  }

  .primary-navigation .nav-appointment {
    margin-left: 0;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin: 0.25rem 0 0 1rem;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 52rem) {
  :root {
    --site-chrome-height: 11rem;
  }

  .contact-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding-block: 0.5rem;
  }

  .contact-bar__inner a:last-child {
    flex-basis: 100%;
  }

  .primary-navigation {
    max-height: calc(100svh - 11rem);
  }

  .logo-link img {
    width: 12rem;
  }

  .header-inner {
    min-height: 6rem;
  }

  .section-heading,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-grid,
  .team-feature,
  .team-card,
  .form-page-grid,
  .contact-details-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-page-grid > div:first-child {
    position: static;
  }

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

  .gallery-card,
  .gallery-card:nth-child(3n + 1) {
    grid-column: span 2;
    min-height: 24rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 25rem;
  }
}

@media (max-width: 34rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 3.6rem);
  }

  .home-hero {
    min-height: 42rem;
  }

  .hero-layout {
    padding-top: 3.5rem;
  }

  .button-row .button {
    width: 100%;
  }

  .slideshow-controls {
    justify-content: center;
  }

  .slideshow-controls button {
    flex: 1 1 0;
    padding-inline: 0.5rem;
    font-size: 0.83rem;
  }

  .story-section {
    grid-template-columns: 2.5rem 1fr;
  }

  .faq-item summary {
    grid-template-columns: 2rem 1fr auto;
    gap: 0.55rem;
  }

  .faq-item > div {
    padding-left: 2.55rem;
  }

  .gallery-card,
  .gallery-card:nth-child(3n + 1) {
    min-height: 18rem;
  }

  .hours-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

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

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

@media (forced-colors: active) {
  .button,
  .menu-toggle,
  .slideshow-controls button {
    border: 2px solid ButtonText;
  }
}

/* Garden / Calm Studio visual refresh. Presentation only; site behavior is unchanged. */
:root {
  --soft: #eaf4ee;
  --line: #cee1d7;
  --turquoise: #42ab97;
  --turquoise-dark: #09695d;
  --green: #9dcd5d;
  --yellow: #f7e783;
}

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

.site-chrome {
  padding-top: 1rem;
  background: transparent;
}

.contact-bar,
.site-header {
  max-width: 1280px;
  margin-inline: auto;
}

.contact-bar {
  border-radius: 1.4rem 1.4rem 0 0;
}

.site-header {
  border-radius: 0 0 1.4rem 1.4rem;
  box-shadow: 0 14px 30px rgb(20 40 43 / 12%);
}

.home-hero {
  max-width: 1280px;
  min-height: 46rem;
  margin: 3rem auto 0;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.hero-slides,
.hero-shade {
  border-radius: 0;
}

.hero-shade {
  background: linear-gradient(90deg, rgb(32 50 54 / 75%), rgb(32 50 54 / 16%));
}

.hero-layout {
  padding: 5rem clamp(2rem, 9vw, 9rem) 3rem;
}

.hero-copy {
  max-width: 38rem;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-copy .eyebrow,
.payment-options__heading {
  color: var(--yellow);
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 5.8vw, 6.4rem);
}

.hero-copy .button--yellow {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: none;
}

.hero-copy .button--outline-light {
  color: var(--paper);
  background: rgb(20 40 43 / 30%);
  border-color: var(--paper);
}

.payment-options,
.payment-options a {
  color: rgb(255 255 255 / 88%);
}

.section--intro {
  padding-top: 8rem;
  background: var(--paper);
}

.section--soft {
  margin: 0 4vw;
  border-radius: 2rem;
}

.team-feature {
  padding: 2rem;
  background: var(--paper);
  box-shadow: 18px 18px 0 rgb(157 205 93 / 44%);
}

.team-feature__image img {
  border-radius: 50%;
  box-shadow: 0 0 0 14px var(--soft), 0 0 0 16px var(--turquoise);
}

.location-section {
  margin-top: 4rem;
  background: #e5e9e8;
}

.site-footer {
  border-top: 8px solid var(--yellow);
}

/* Forms and informational pages use a quieter, near-white page background. */
.patient-forms-page,
.contact-page,
.about-page,
.team-page,
.office-tour-page,
.faq-page {
  background: #fbfcfb;
}

.patient-forms-page .interior-hero,
.contact-page .interior-hero,
.about-page .interior-hero,
.team-page .interior-hero,
.office-tour-page .interior-hero,
.faq-page .interior-hero {
  background: #fbfcfb;
}

.team-page .interior-hero--team,
.office-tour-page .interior-hero--office-tour {
  display: grid;
  min-height: clamp(22rem, 34vw, 34rem);
  align-items: center;
  padding-block: clamp(5rem, 9vw, 9rem);
  color: var(--paper);
  text-align: center;
  border-bottom: 0;
  background-color: #172a2d;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.team-page .interior-hero--team {
  background-image:
    linear-gradient(to bottom, #fbfcfb 0, rgb(251 252 251 / 35%) 4%, transparent 9%, transparent 90%, rgb(251 252 251 / 35%) 96%, #fbfcfb 100%),
    linear-gradient(rgb(0 0 0 / 38%), rgb(0 0 0 / 38%)),
    url("/assets/images/team-header.jpg?v=9f90233f6839");
}

.office-tour-page .interior-hero--office-tour {
  background-image:
    linear-gradient(to bottom, #fbfcfb 0, rgb(251 252 251 / 35%) 4%, transparent 9%, transparent 90%, rgb(251 252 251 / 35%) 96%, #fbfcfb 100%),
    linear-gradient(rgb(0 0 0 / 34%), rgb(0 0 0 / 34%)),
    url("/assets/images/office-tour-header.jpg?v=29ef2a00ff0a");
}

.interior-hero--team h1,
.interior-hero--office-tour h1 {
  max-width: none;
  margin-inline: auto;
  color: var(--paper);
}

.interior-hero--team .eyebrow,
.interior-hero--office-tour .eyebrow,
.interior-hero--team .lead,
.interior-hero--office-tour .lead {
  max-width: 44rem;
  margin-right: auto;
  margin-left: auto;
  color: var(--paper);
}

.interior-hero--team .eyebrow,
.interior-hero--office-tour .eyebrow,
.interior-hero--team h1,
.interior-hero--office-tour h1,
.interior-hero--team .lead,
.interior-hero--office-tour .lead {
  text-shadow: 0 0.12rem 0.8rem rgb(0 0 0 / 80%);
}


/* Keep the short welcome area purposeful rather than airy. */
.home-page .section--intro {
  padding-block: clamp(4rem, 5vw, 5rem);
}

.home-page .intro-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  align-items: start;
  gap: clamp(2.5rem, 4vw, 4.5rem);
}

.home-page .intro-grid h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.home-page .prose-large {
  max-width: 42rem;
  padding-top: 2rem;
}

.home-page .prose-large p {
  margin-bottom: 1.25rem;
}

.home-page .prose-large .text-link {
  margin-top: 0;
}

.home-page .prose-large .text-link,
.home-page .section--soft .text-link {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.home-page .section--soft .section-heading {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  align-items: start;
  gap: clamp(2.5rem, 4vw, 4.5rem);
}

.home-page .section--soft .section-heading .text-link {
  align-self: start;
  justify-self: start;
  margin-top: 1.9rem;
}

.home-page .section--soft {
  margin: 0;
  padding-block: clamp(2.5rem, 4vw, 3.75rem);
  border-radius: 0;
}

.home-page .section--soft .section-heading {
  align-items: start;
  margin-bottom: 0;
}

.home-page .section--soft .section-heading h2 {
  max-width: 17ch;
}

@media (max-width: 72rem) {
  .site-chrome {
    padding-top: 0;
  }

  .contact-bar,
  .site-header,
  .home-hero,
  .hero-slides,
  .hero-shade,
  .section--soft {
    margin: 0;
    border-radius: 0;
  }

  .home-hero {
    box-shadow: none;
    border-inline: 0;
  }

  .hero-layout {
    padding: 5rem 7vw 2rem;
  }

  .hero-copy {
    padding: 0;
  }

  .team-feature {
    box-shadow: none;
  }
}

@media (max-width: 48rem) {
  .home-page .section--intro {
    padding-block: 3.75rem 3.25rem;
  }

  .home-page .intro-grid {
    gap: 1.5rem;
  }

  .home-page .prose-large {
    padding-top: 0;
  }

  .home-page .section--soft {
    padding-block: 2.5rem;
  }

}

/* Keep the header consistent: visitors open the navigation from the Menu button
   at every screen width instead of receiving a different wide-screen menu. */
.menu-toggle {
  display: inline-flex;
}

.primary-navigation {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  max-height: calc(100svh - var(--site-chrome-height));
  display: none;
  overflow-y: auto;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.primary-navigation[data-open="true"] {
  display: grid;
}

.primary-navigation > a,
.nav-dropdown > summary {
  width: 100%;
  justify-content: flex-start;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
}

.primary-navigation .nav-appointment {
  margin-left: 0;
}

.nav-dropdown__menu {
  position: static;
  min-width: 0;
  margin: 0.25rem 0 0 1rem;
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

/* Preserve the clean, single-column introduction when browser zoom or a
   narrower display leaves too little room for the two-column composition. */
@media (max-width: 52rem) {
  .home-page .section--intro {
    padding-block: 3rem;
  }

  .home-page .intro-grid {
    grid-template-columns: 1fr;
  }

  .home-page .intro-grid h2 {
    max-width: 22ch;
  }

  .home-page .prose-large {
    padding-top: 0;
  }

  .home-page .prose-large p {
    margin-bottom: 1rem;
  }

  .home-page .prose-large .text-link {
    margin-top: 0;
  }

}

/* Keep the first screen welcoming without making visitors scroll past an
   oversized hero before they can reach the rest of the website. */
.home-hero {
  min-height: clamp(34rem, calc(100svh - 9rem), 38rem);
}

.hero-layout {
  padding: 4rem clamp(2rem, 7vw, 7rem) 2.25rem;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.25rem, 5vw, 5rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-bottom: 1.35rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.payment-options {
  margin-top: 1rem;
}

.payment-options p {
  font-size: 0.9rem;
}

@media (max-width: 52rem) {
  .home-hero {
    min-height: 30rem;
  }

  .hero-layout {
    padding: 3rem 7vw 1.5rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 7vw, 3.5rem);
  }
}

@media (max-width: 34rem) {
  .home-hero {
    min-height: 30rem;
  }

  .hero-layout {
    padding-top: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .hero-copy .button-row {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero-copy .button-row .button {
    width: auto;
    min-height: 2.75rem;
    flex: 1 1 0;
    padding-inline: 0.55rem;
    font-size: 0.88rem;
  }
}

/* Above phone/tablet widths, keep the visual scale steady instead of letting
   viewport-width formulas make the same page feel larger on each monitor. */
@media (min-width: 52.0625rem) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .lead,
  .prose-large,
  .hero-copy > p:not(.eyebrow) {
    font-size: 1.2rem;
  }

  .section,
  .location-section {
    padding-block: 5rem;
  }

  .interior-hero {
    padding-block: 5rem;
  }

  .interior-hero h1 {
    font-size: 4.5rem;
  }

  .story-section h2 {
    font-size: 2.25rem;
  }

  .cta-band h2,
  .setup-notice h2,
  .location-card h2 {
    font-size: 2.75rem;
  }

  .team-feature,
  .team-card,
  .intro-grid {
    gap: 4rem;
  }

  .team-card {
    padding: 2rem;
  }

  .setup-notice,
  .location-card {
    padding: 3rem;
  }

  .home-hero {
    min-height: 38rem;
  }

  .hero-layout {
    padding-inline: 4rem;
  }

  .hero-copy h1 {
    font-size: 4.5rem;
  }

  .home-page .section--intro {
    padding-block: 4.5rem;
  }

}

/* Account for the desktop header's top breathing room so the soft-green page
   background stays behind the entire contact bar and logo/menu area. */
@media (min-width: 72.0625rem) {
  :root {
    --site-chrome-height: 10.625rem;
  }
}

/* A quiet desktop-only frame lets the office photo breathe without changing
   the compact phone view. The supplied tooth outline stays in that frame. */
@media (min-width: 52.0625rem) {
  .contact-bar,
  .site-header {
    --hero-frame: clamp(3rem, 5vw, 4rem);
    width: calc(100% - (var(--hero-frame) * 2));
    max-width: none;
    margin-inline: auto;
  }

  .home-hero {
    --hero-frame: clamp(3rem, 5vw, 4rem);
    width: calc(100% - (var(--hero-frame) * 2));
    max-width: none;
    margin: var(--hero-frame) auto 0;
    overflow: visible;
    isolation: isolate;
    box-shadow: 0 0 0 var(--hero-frame) var(--paper);
  }

  .home-hero::before,
  .home-hero::after {
    position: absolute;
    z-index: 3;
    width: 2.6rem;
    aspect-ratio: 1;
    pointer-events: none;
    background: url("/assets/images/tooth-outline.png?v=dba7eb18a859") center / contain no-repeat;
    content: "";
  }

  .home-hero::before {
    top: 3.5rem;
    left: calc(var(--hero-frame) * -0.88);
    transform: rotate(-14deg);
  }

  .home-hero::after {
    right: calc(var(--hero-frame) * -0.88);
    bottom: 3.5rem;
    transform: rotate(16deg);
  }

  .home-hero .hero-slides::before,
  .home-hero .hero-slides::after {
    position: absolute;
    z-index: 3;
    width: 2.35rem;
    aspect-ratio: 1;
    pointer-events: none;
    background: url("/assets/images/tooth-outline.png?v=dba7eb18a859") center / contain no-repeat;
    content: "";
  }

  .home-hero .hero-slides::before {
    top: 10rem;
    right: calc(var(--hero-frame) * -0.88);
    transform: rotate(10deg);
  }

  .home-hero .hero-slides::after {
    bottom: 9rem;
    left: calc(var(--hero-frame) * -0.88);
    transform: rotate(-8deg);
  }

  .hero-tooth-decorations {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
  }

  .hero-tooth-decorations span {
    position: absolute;
    width: 2.15rem;
    aspect-ratio: 1;
    background: url("/assets/images/tooth-outline.png?v=dba7eb18a859") center / contain no-repeat;
  }

  .hero-tooth-decorations span:nth-child(1) {
    top: 18rem;
    left: calc(var(--hero-frame) * -0.84);
    transform: rotate(7deg);
  }

  .hero-tooth-decorations span:nth-child(2) {
    top: 21rem;
    right: calc(var(--hero-frame) * -0.84);
    transform: rotate(-12deg);
  }

}

/* Keep the compact Menu button until the header has enough room for every
   navigation option on a single line. Very wide screens receive the full
   desktop navigation beside the logo. */
@media (min-width: 100rem) {
  :root {
    --site-chrome-height: 11.125rem;
  }

  .header-inner {
    min-height: 7.5rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand navigation";
    align-items: center;
    gap: clamp(1rem, 2vw, 2.25rem);
    padding-block: 0.65rem;
  }

  .logo-link {
    grid-area: brand;
    justify-self: start;
    align-self: center;
  }

  .logo-link img {
    width: 16rem;
    max-height: 5.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .primary-navigation,
  .primary-navigation[data-open="true"] {
    position: static;
    grid-area: navigation;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-end;
    gap: 0.35rem 0.55rem;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-navigation > a,
  .nav-dropdown > summary {
    width: auto;
    min-height: 2.55rem;
    padding: 0.58rem 0.78rem;
    border-radius: 999px;
    font-size: 0.83rem;
  }

  .primary-navigation .nav-appointment {
    margin-left: 0;
  }

  .nav-dropdown__menu {
    position: absolute;
    min-width: 13rem;
    margin: 0;
    padding: 0.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

}

/* Let the desktop composition expand in measured steps on wider monitors.
   The photo frame still reaches the screen edges while the content stays
   comfortably sized and does not look overly zoomed out. */
@media (min-width: 52.0625rem) {
  :root {
    --shell: clamp(74rem, 80vw, 88rem);
  }

  .contact-bar,
  .site-header,
  .home-hero {
    --hero-frame: clamp(2.75rem, 4vw, 5.5rem);
    /* Wide monitors get more breathing room, not stretched source photos. */
    max-width: 84rem;
  }
}

.office-tour-page .interior-hero--office-tour {
  max-width: 96rem;
  margin-inline: auto;
}



/* On stacked profile cards, keep the staff member's information visually
   connected to their portrait instead of leaving a large empty gap. */
@media (max-width: 52rem) {
  .team-card {
    gap: 1rem;
  }

  .team-card__content {
    padding-top: 0;
  }
}
