@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-ultra-light.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-ultra-light-italic.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-extra-light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-extra-light-italic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-light-italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-regular-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-medium-italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta";
  src: url("../fonts/delecta-black-italic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Figma reports Delecta as missing in its rendered frames. Its footer export
   needs a lighter mapping than headings and controls elsewhere on the site. */
@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-ultra-light.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-ultra-light-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-regular.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-regular-italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Figma Match";
  src: url("../fonts/delecta-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-light.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-light-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-medium-italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delecta Content";
  src: url("../fonts/delecta-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


:root {
  --color-primary: #193044;
  --color-text: #565656;
  --color-surface: #ffffff;
  --color-ivory: #f2f1eb;
  --color-header-border: rgba(25, 48, 68, 0.06);
  --color-footer-rule: rgba(255, 255, 255, 0.2);
  --font-body: "Delecta Content", "Delecta", Arial, sans-serif;
  --font-control: "Delecta Content", "Delecta", Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-h1: 72px;
  --font-size-h2: 56px;
  --font-size-h3: 40px;
  --font-size-h4: 32px;
  --font-size-h5: 24px;
  --font-size-h6: 20px;
  --font-size-footer-heading: 20px;
  --line-height-heading: 1.2;
  --line-height-body: 1.2;
  --tracking-heading: -0.03em;
  --tracking-subheading: -0.02em;
  --tracking-body: -0.01em;
  --container: 1440px;
  --gutter: 64px;
  --header-offset: 32px;
  --header-padding-block: 15px;
  --header-padding-inline: 16px;
  --footer-padding-top: 100px;
  --footer-inner-gutter: 48px;
  --footer-layout-gap: 120px;
  --footer-divider-gap: 83px;
  --footer-wordmark-gap: 32px;
  --footer-column-gap: 47px;
  --gap-lg: 32px;
  --gap-md: 20px;
  --gap-sm: 12px;
  --radius-footer: 30px;
  --radius-panel: 24px;
  --radius-pill: 999px;
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.06);
  --transition-fast: 180ms ease;
  --transition-normal: 300ms ease;
  --transition-button: 300ms ease-out;
  --z-header: 100;
  --z-dropdown: 200;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-body);
  letter-spacing: var(--tracking-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.3px currentColor;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

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

.home-hero__copy,
.page-hero p,
.detail-hero p,
.journal-hero p,
.interior-hero p {
  font-family: var(--font-body);
  -webkit-text-stroke: 0.3px currentColor;
}

.home-hero__trust {
  font-family: "Delecta Figma Match", "Delecta", Arial, sans-serif;
  -webkit-text-stroke: 0.15px currentColor;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-weight: 500;
  line-height: var(--line-height-heading);
  letter-spacing: var(--tracking-subheading);
  -webkit-text-stroke: 0;
}

strong,
b {
  -webkit-text-stroke: 0;
}

h1,
h2 {
  letter-spacing: var(--tracking-heading);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: var(--z-dropdown);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-surface);
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-control);
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  letter-spacing: -0.16px;
  -webkit-text-stroke: 0.3px currentColor;
  transition:
    background-color var(--transition-button),
    border-color var(--transition-button),
    color var(--transition-button);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-surface);
}

.btn--primary:hover {
  background: #728784;
  -webkit-text-stroke: 0;
}

.btn:focus-visible,
.site-header__nav-link:focus-visible,
.site-header__panel-link:focus-visible,
.site-footer a:focus-visible,
.site-header__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: var(--z-header);
  padding-block-start: var(--header-offset);
  font-family: var(--font-body);
  -webkit-text-stroke: 0;
}

.site-header__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 48px;
  padding: var(--header-padding-block) var(--header-padding-inline);
  border: 1px solid var(--color-header-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: var(--shadow-header);
}

.site-header__brand {
  display: inline-flex;
  justify-self: start;
}

.site-header__logo {
  flex: 0 0 auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.site-header__nav-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  transition: color var(--transition-fast);
}

.site-header__nav-link:hover,
.site-header__nav-link.is-current {
  color: var(--color-primary);
}

.site-header__nav-link.is-current {
  gap: 6px;
  font-family: "Delecta Figma Match", "Delecta", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  -webkit-text-stroke: 0;
}

.site-header__actions .btn {
  -webkit-text-stroke: 0;
}

.site-header__active-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 10px;
  border: 1px solid var(--color-header-border);
  border-radius: 50%;
  background: var(--color-surface);
  transition: background-color var(--transition-button), border-color var(--transition-button);
}

.site-header__toggle:hover {
  background: #edf2f5;
}

.site-header__toggle-line {
  inline-size: 20px;
  block-size: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-open .site-header__toggle-line:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .site-header__toggle-line:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header__panel {
  display: none;
}

.site-footer {
  font-family: "Delecta Content", "Delecta", Arial, sans-serif;
  -webkit-text-stroke: 0;
  width: calc(100% - 32px);
  margin: 0 auto 16px;
  padding-block-start: var(--footer-padding-top);
  overflow: hidden;
  border-radius: var(--radius-footer);
  background: var(--color-primary);
  color: var(--color-ivory);
}

.site-footer .container {
  width: min(calc(100% - (2 * var(--footer-inner-gutter))), var(--container));
}

.site-footer__top {
  display: grid;
  grid-template-columns: 229px minmax(0, 1fr);
  align-items: start;
  gap: var(--footer-layout-gap);
}

.site-footer__brand {
  display: inline-flex;
  justify-self: start;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 150px 150px 150px 372px;
  justify-content: space-between;
  gap: var(--footer-column-gap);
  min-width: 0;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__heading {
  margin-block-end: 12px;
  color: var(--color-ivory);
  font-size: var(--font-size-footer-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.site-footer__links {
  display: grid;
  gap: 12px;
}

.site-footer__links a,
.site-footer__contact-item {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.91px;
}

.site-footer__links a {
  display: inline-flex;
  min-block-size: 20px;
  transition: opacity var(--transition-fast);
}

.site-footer__links a:hover,
.site-footer__contact-item:hover {
  opacity: 0.72;
}

.site-footer__contact-list {
  display: grid;
  gap: 16px;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: var(--color-ivory);
  transition: opacity var(--transition-fast);
}

.site-footer__contact-item img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.site-footer__contact-item span {
  min-width: 0;
}

.site-footer__divider {
  margin-block-start: var(--footer-divider-gap);
  border-block-start: 1px solid var(--color-footer-rule);
}

.site-footer__bottom {
  padding-block-start: 20px;
  text-align: center;
}

.site-footer__copyright {
  color: var(--color-ivory);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.site-footer__wordmark {
  width: 100%;
  margin: var(--footer-wordmark-gap) auto -4px;
  opacity: 1;
}

/* Shared testimonial and FAQ structures used across Home and service pages. */
.shared-section-intro {
  display: grid;
  gap: 12px;
}

.shared-section-intro--centered {
  max-width: 742px;
  margin-inline: auto;
  text-align: center;
}

.shared-section-intro h2,
.shared-faq h2 {
  font-size: 44px;
  line-height: 1.2;
}

.shared-section-intro p,
.shared-faq p {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: var(--tracking-body);
}

.shared-testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: 384px repeat(2, minmax(0, 1fr));
  grid-template-rows: 217px 363px;
  gap: 24px;
  margin-block-start: 48px;
}

.shared-testimonials .testimonial-card {
  display: flex;
  padding: 32px;
  border: 1px solid rgba(25, 48, 68, 0.1);
  border-radius: 12px;
  background: var(--color-surface);
  flex-direction: column;
}

.shared-testimonials .testimonial-card--tall {
  grid-row: 1 / 3;
}

.shared-testimonials .testimonial-card--wide {
  grid-column: 2 / 4;
}

.shared-testimonials .testimonial-card blockquote {
  margin: 24px 0 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: var(--tracking-body);
}

.shared-testimonials .testimonial-card blockquote::before { content: '“'; }
.shared-testimonials .testimonial-card blockquote::after { content: '”'; }

.shared-testimonials .testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: auto;
}

.shared-testimonials .testimonial-card__avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 50%;
  border: 1px solid rgba(25, 48, 68, 0.14);
  background: #f1f5f5;
  color: #6d8585;
  font-weight: 500;
}

.shared-testimonials .testimonial-card footer p {
  display: grid;
  gap: 4px;
}

.shared-testimonials .testimonial-card footer strong {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 500;
}

.shared-testimonials .testimonial-card footer p span {
  font-size: 15px;
}

.shared-faq__layout {
  display: grid;
  grid-template-columns: 486px minmax(0, 746px);
  justify-content: space-between;
  gap: 64px;
}

.shared-faq__intro p {
  max-width: 440px;
  margin-block-start: 20px;
}

.shared-faq .faq-list {
  display: grid;
  gap: 12px;
}

.shared-faq .faq-item {
  overflow: hidden;
  border-radius: 16px;
  background: #f8fafc;
}

.shared-faq .faq-item h3 {
  font-size: 22px;
  line-height: 1.2;
}

.shared-faq .faq-item button {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  text-align: start;
  transition: background-color var(--transition-button);
}

.shared-faq .faq-item button:hover {
  background: #edf2f5;
}

.shared-faq .faq-item__icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(25, 48, 68, 0.3);
  border-radius: 50%;
}

.shared-faq .faq-item__icon::before,
.shared-faq .faq-item__icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 1px;
  background: var(--color-primary);
  content: "";
  transform: translate(-50%, -50%);
}

.shared-faq .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform var(--transition-fast);
}

.shared-faq .faq-item button[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.shared-faq .faq-item__answer {
  padding: 0 24px 24px;
}

.shared-faq .faq-item__answer p {
  padding-block-start: 20px;
  border-block-start: 1px solid rgba(25, 48, 68, 0.12);
}

@media only screen and (max-width: 1599px) {
  :root {
    --container: 1312px;
    --gutter: 48px;
  }
}

@media only screen and (max-width: 1366px) {
  :root {
    --gutter: 32px;
    --footer-inner-gutter: 32px;
    --font-size-h1: 64px;
    --font-size-h2: 50px;
    --footer-layout-gap: 90px;
    --footer-column-gap: 32px;
  }

  .site-header__nav {
    gap: 24px;
  }

  .site-footer__columns {
    grid-template-columns: 140px 140px 140px minmax(320px, 372px);
  }
}

@media only screen and (max-width: 1199px) {
  :root {
    --gutter: 28px;
    --footer-inner-gutter: 28px;
    --font-size-h1: 56px;
    --font-size-h2: 46px;
    --footer-layout-gap: 56px;
    --footer-column-gap: 36px;
  }

  .site-header__nav {
    gap: 18px;
  }

  .site-header__shell {
    column-gap: 24px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__columns {
    grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(280px, 2fr);
  }

  .shared-testimonials .testimonial-card {
    padding: 26px;
  }
}

@media only screen and (max-width: 1024px) {
  :root {
    --gutter: 24px;
    --footer-inner-gutter: 24px;
    --font-size-h1: 52px;
    --font-size-h2: 42px;
    --header-offset: 24px;
    --footer-padding-top: 72px;
    --footer-divider-gap: 64px;
  }

  .site-header__shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__panel {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 4px;
    inset-block: var(--mobile-panel-top, 116px) auto;
    inset-inline: var(--mobile-panel-left, var(--gutter)) var(--mobile-panel-right, var(--gutter));
    z-index: var(--z-dropdown);
    max-height: calc(100vh - var(--mobile-panel-top, 116px) - var(--mobile-panel-gap, 16px));
    max-height: calc(100dvh - var(--mobile-panel-top, 116px) - var(--mobile-panel-gap, 16px));
    padding: 24px;
    overflow-y: auto;
    border: 1px solid var(--color-header-border);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
    box-shadow: var(--shadow-header);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast),
      visibility var(--transition-fast);
  }

  .site-header__panel.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__panel-link {
    display: flex;
    align-items: center;
    min-block-size: 48px;
    padding-inline: 16px;
    border-radius: var(--radius-pill);
    color: var(--color-text);
    font-family: var(--font-body);
    letter-spacing: var(--tracking-body);
    transition: background-color var(--transition-button), color var(--transition-button);
  }

  .site-header__panel-link:hover,
  .site-header__panel-link.is-current {
    background: rgba(25, 48, 68, 0.06);
    color: var(--color-primary);
  }

  .site-header__panel-link.is-current {
    font-weight: 500;
    -webkit-text-stroke: 0;
  }

  .site-header__panel-appointment {
    display: none;
    margin-block-start: 12px;
  }

  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 72px;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
    max-width: 620px;
  }

  /* The shared desktop selectors also need to own the responsive layout. */
  .shared-testimonials .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .shared-testimonials .testimonial-card,
  .shared-testimonials .testimonial-card--tall,
  .shared-testimonials .testimonial-card--wide {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    min-height: 0;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --gutter: 20px;
    --footer-inner-gutter: 20px;
    --font-size-h1: 44px;
    --font-size-h2: 38px;
    --font-size-h3: 34px;
    --header-offset: 20px;
    --header-padding-block: 11px;
    --footer-padding-top: 56px;
    --footer-layout-gap: 48px;
    --footer-divider-gap: 56px;
    --footer-wordmark-gap: 28px;
  }

  body {
    -webkit-text-stroke: 0.2px currentColor;
  }

  .site-header__logo {
    max-inline-size: 180px;
  }

  .shared-testimonials .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-block-start: 32px;
  }

  .shared-testimonials .testimonial-card {
    padding: 24px;
  }

  .shared-testimonials .testimonial-card footer {
    margin-block-start: 24px;
  }

  .shared-testimonials .shared-section-intro h2 {
    font-size: 38px;
  }

  .site-footer {
    width: calc(100% - 24px);
    margin: 0 auto 12px;
    border-radius: 26px;
  }

  .site-footer__columns {
    gap: 40px;
  }
}

@media only screen and (max-width: 479px) {
  :root {
    --gutter: 16px;
    --footer-inner-gutter: 16px;
    --font-size-h1: 40px;
    --font-size-h2: 34px;
    --font-size-h3: 30px;
    --font-size-h4: 28px;
    --header-offset: 16px;
    --header-padding-block: 10px;
    --header-padding-inline: 12px;
    --footer-padding-top: 48px;
    --footer-layout-gap: 40px;
    --footer-divider-gap: 48px;
    --footer-wordmark-gap: 24px;
  }

  .site-header__logo {
    max-inline-size: 160px;
  }

  .site-header__appointment {
    display: none;
  }

  .site-header__panel-appointment {
    display: inline-flex;
    margin-block-start: 12px;
  }

  .site-footer {
    width: calc(100% - 16px);
    margin-block-end: 8px;
  }

  .site-footer__brand {
    justify-self: center;
  }

  .site-footer__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .site-footer__contact {
    grid-column: auto;
  }

  .shared-testimonials .shared-section-intro h2 {
    font-size: 34px;
  }

  .shared-testimonials .testimonial-card {
    padding: 20px;
  }

  .shared-testimonials .testimonial-card blockquote {
    font-size: 17px;
  }

  .site-footer__column:not(.site-footer__contact) {
    text-align: center;
  }
}

@media only screen and (max-width: 374px) {
  :root {
    --gutter: 12px;
    --footer-inner-gutter: 12px;
    --font-size-h1: 36px;
    --font-size-h2: 32px;
    --font-size-h3: 28px;
    --footer-layout-gap: 36px;
    --footer-divider-gap: 40px;
  }

  .site-header__logo {
    max-inline-size: 150px;
  }

  .site-header__shell {
    gap: 8px;
  }

  .site-footer {
    border-radius: 24px;
  }

  .site-footer__contact-item {
    gap: 6px;
  }
}

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

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