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

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

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Interval";
  src: url("../fonts/interval-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-white-desert: #fdfaf1;
  --color-misty-blue: #b4c4c3;
  --color-winter-storm: #4b7079;
  --color-solar-fusion: #dc9f46;
  --color-spicy-hue: #994b35;
  --color-soy-sauce: #1a0600;
  --color-paper: #fffdf8;
  --color-border: rgba(26, 6, 0, 0.12);
  --color-muted: rgba(26, 6, 0, 0.62);
  --color-soft-line: rgba(75, 112, 121, 0.15);
  --font-heading: "Satoshi", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "Interval", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-soft: 0 26px 80px rgba(26, 6, 0, 0.09);
  --shadow-small: 0 14px 44px rgba(26, 6, 0, 0.07);
  --shadow-teal: 0 28px 70px rgba(75, 112, 121, 0.18);
  --radius-large: 36px;
  --radius-card: 22px;
  --radius-small: 16px;
  --container: 1440px;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --anchor-scroll-offset: 110px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-scroll-offset);
  background: var(--color-white-desert);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-soy-sauce);
  background:
    radial-gradient(circle at 78% 4%, rgba(180, 196, 195, 0.28), transparent 30rem),
    radial-gradient(circle at 14% 8%, rgba(220, 159, 70, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--color-white-desert) 0%, #fbf6ea 100%);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  font-variant-numeric: oldstyle-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    url("../svg/pattern-signet-field.svg"),
    radial-gradient(circle at 1px 1px, rgba(26, 6, 0, 0.13) 1px, transparent 0);
  background-position: right -12vw top 18rem, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: min(54vw, 640px) auto, 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

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

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

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

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid rgba(220, 159, 70, 0.75);
  outline-offset: 4px;
}

.container {
  width: min(100% - 104px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 122px 0 132px;
  scroll-margin-top: var(--anchor-scroll-offset);
}

.section-tight {
  padding: 42px 0 76px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 16px;
  left: 16px;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-soy-sauce);
  color: var(--color-paper);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(253, 250, 241, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(253, 250, 241, 0.94);
  border-color: var(--color-border);
  box-shadow: 0 14px 38px rgba(26, 6, 0, 0.055);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 148px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  justify-self: center;
  padding: 6px;
  border: 1px solid rgba(26, 6, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.45);
}

.primary-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: rgba(26, 6, 0, 0.74);
  font-size: 13px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.primary-nav a:hover {
  background: rgba(180, 196, 195, 0.26);
  color: var(--color-soy-sauce);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn span,
.text-link span {
  transition: transform 180ms ease;
}

.btn:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 50%, rgba(220, 159, 70, 0.22), transparent 1.7rem),
    linear-gradient(135deg, var(--color-winter-storm), #183b44);
  color: var(--color-paper);
  box-shadow: 0 18px 40px rgba(75, 112, 121, 0.28), inset 0 1px 0 rgba(255, 253, 248, 0.2);
}

.btn-primary:hover {
  background:
    radial-gradient(circle at 88% 50%, rgba(220, 159, 70, 0.32), transparent 2.1rem),
    linear-gradient(135deg, #395f68, var(--color-soy-sauce));
  box-shadow: 0 22px 48px rgba(75, 112, 121, 0.34), inset 0 1px 0 rgba(255, 253, 248, 0.24);
}

.btn-secondary {
  border-color: rgba(75, 112, 121, 0.58);
  color: #244f58;
  background: rgba(255, 253, 248, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.7);
}

.btn-secondary:hover {
  border-color: var(--color-winter-storm);
  background: rgba(180, 196, 195, 0.22);
}

.btn-light {
  background: var(--color-paper);
  color: var(--color-soy-sauce);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.btn-ghost {
  border-color: rgba(255, 253, 248, 0.46);
  color: var(--color-paper);
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.1);
}

.btn-compact {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.eyebrow,
.card-label {
  margin: 0 0 17px;
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-invert {
  color: rgba(255, 253, 248, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 790px;
  font-size: 112px;
}

h2 {
  font-size: 66px;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.section-header {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-header-left {
  margin-inline: 0;
  text-align: left;
}

.section-header p:not(.eyebrow) {
  max-width: 68ch;
  margin: 24px auto 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.72;
}

.section-header-left p:not(.eyebrow) {
  margin-left: 0;
}

.hero {
  min-height: calc(100dvh - 88px);
  padding: 78px 0 68px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% 4% auto auto;
  width: min(38vw, 560px);
  height: min(38vw, 560px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 40%, rgba(220, 159, 70, 0.2), transparent 36%),
    radial-gradient(circle at 58% 62%, rgba(75, 112, 121, 0.2), transparent 48%);
  filter: blur(8px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background: none;
  mask-image: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(450px, 0.78fr);
  align-items: start;
  gap: 76px;
}

.hero-copy {
  padding: 34px 0 16px;
}

.hero-lede {
  max-width: 650px;
  margin-top: 31px;
  color: rgba(26, 6, 0, 0.72);
  font-size: 23px;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-trust-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: 34px;
}

.hero-trust-board span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(75, 112, 121, 0.22);
  border-radius: 12px;
  padding: 0 13px;
  background: rgba(255, 253, 248, 0.48);
  color: rgba(26, 6, 0, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.65);
}

.local-note {
  margin-top: 24px;
  color: var(--color-muted);
  font-size: 15px;
}

.hero-media {
  position: relative;
  min-height: 700px;
  isolation: isolate;
}

.hero-photo-card {
  position: absolute;
  inset: 0 0 58px 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.74);
  border-radius: 42px;
  background: var(--color-misty-blue);
  box-shadow: 0 38px 110px rgba(26, 6, 0, 0.16), 0 18px 60px rgba(75, 112, 121, 0.14);
}

.hero-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 6, 0, 0.02), transparent 44%, rgba(26, 6, 0, 0.12)),
    linear-gradient(90deg, rgba(253, 250, 241, 0.1), transparent 44%, rgba(75, 112, 121, 0.1));
  pointer-events: none;
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: 32px;
  pointer-events: none;
}

.hero-doctor-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.94) contrast(1.02);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #24535d;
  font-weight: 500;
}

.booking-widget-placeholder .text-link {
  color: var(--color-paper);
}

.service-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.info-card,
.service-card,
.detail-card,
.contact-card,
.quote-card,
.faq-item,
.legal-article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.84), rgba(255, 253, 248, 0.52)),
    rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-small), inset 0 1px 0 rgba(255, 253, 248, 0.72);
}

.info-card {
  padding: 28px 28px 30px;
}

.info-card::before,
.service-card::before,
.detail-card::before,
.contact-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-winter-storm), rgba(220, 159, 70, 0.7), transparent);
  opacity: 0.54;
}

.mini-icon,
.service-icon {
  display: inline-grid;
  place-items: center;
  color: var(--color-winter-storm);
  background:
    radial-gradient(circle at 30% 20%, rgba(220, 159, 70, 0.14), transparent 55%),
    rgba(180, 196, 195, 0.2);
  box-shadow: inset 0 0 0 1px rgba(75, 112, 121, 0.08);
}

.mini-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 18px;
}

.info-card h3,
.service-card h3,
.detail-card h3,
.contact-card h3 {
  font-size: 25px;
}

.info-card p,
.service-card p,
.detail-card p,
.contact-card p,
.contact-card address {
  margin-top: 14px;
  color: var(--color-muted);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(75, 112, 121, 0.28);
  background:
    radial-gradient(circle at 92% 10%, rgba(180, 196, 195, 0.24), transparent 11rem),
    var(--color-paper);
  box-shadow: 0 28px 76px rgba(26, 6, 0, 0.11);
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 21px;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.symptom-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(220, 159, 70, 0.1), transparent 24rem),
    linear-gradient(90deg, rgba(180, 196, 195, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.2), rgba(255, 253, 248, 0.5));
}

.symptom-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  align-items: center;
  gap: 70px;
}

.checklist-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-large);
  padding: 36px;
  background:
    url("../svg/pattern-signet-contour.svg") right -150px bottom -170px / 410px auto no-repeat,
    linear-gradient(135deg, rgba(255, 253, 248, 0.86), rgba(180, 196, 195, 0.26)),
    var(--color-paper);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.appointment-pattern,
.map-placeholder::after,
.final-cta-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: url("../svg/pattern-signet-echo.svg") center / contain no-repeat;
  opacity: 0.28;
}

.checklist {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(75, 112, 121, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.7);
}

.checklist li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-winter-storm);
  color: var(--color-paper);
  font-size: 14px;
}

.media-split,
.about-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 68px;
}

.media-panel {
  overflow: hidden;
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow-teal);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.detail-card,
.contact-card {
  padding: 32px;
}

.hours-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.hours-list dt {
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.hours-list dd {
  margin: 0;
  color: var(--color-muted);
}

.about-section {
  overflow: clip;
}

.about-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 19px;
}

.quote-card {
  margin: 32px 0 0;
  padding: 32px;
  background:
    url("../svg/pattern-signet-contour.svg") right -150px bottom -180px / 360px auto no-repeat,
    linear-gradient(135deg, rgba(180, 196, 195, 0.24), rgba(255, 253, 248, 0.8)),
    var(--color-paper);
}

.quote-card blockquote {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
}

.quote-card figcaption {
  margin-top: 18px;
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-visual {
  position: relative;
  min-height: 560px;
}

.about-portrait,
.diagnostic-photo {
  position: absolute;
  border: 1px solid rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-soft);
}

.about-portrait {
  z-index: 2;
  left: 0;
  top: 0;
  width: min(46%, 275px);
  height: 365px;
  border-radius: 32px;
  object-fit: cover;
  object-position: 50% 16%;
  background: var(--color-paper);
}

.diagnostic-photo {
  right: 0;
  bottom: 0;
  width: 78%;
  height: 430px;
  border-radius: 36px;
  object-fit: cover;
}

.appointment-section {
  padding-top: 78px;
}

.appointment-panel,
.final-cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  color: var(--color-paper);
  background:
    radial-gradient(circle at 78% 18%, rgba(220, 159, 70, 0.28), transparent 18rem),
    linear-gradient(135deg, #315d66 0%, #173942 48%, var(--color-soy-sauce) 100%);
  box-shadow: 0 38px 96px rgba(26, 6, 0, 0.2), inset 0 1px 0 rgba(255, 253, 248, 0.15);
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 54px;
  padding: 62px;
}

.appointment-pattern {
  right: -150px;
  top: -160px;
  width: 620px;
  height: 620px;
  filter: invert(1);
  opacity: 0.1;
}

.appointment-panel h2,
.final-cta-panel h2 {
  max-width: 700px;
}

.appointment-panel p:not(.eyebrow),
.final-cta-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 19px;
}

.appointment-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.booking-widget-placeholder {
  position: relative;
  z-index: 1;
  padding: 32px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.16), rgba(255, 253, 248, 0.07)),
    rgba(255, 253, 248, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.2);
}

.booking-widget-placeholder h3 {
  font-size: 28px;
}

.booking-widget-placeholder p {
  margin-top: 14px;
}

.booking-widget-placeholder ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  counter-reset: steps;
}

.booking-widget-placeholder li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 248, 0.86);
}

.booking-widget-placeholder li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.16);
  color: var(--color-paper);
  font-family: var(--font-mono);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.1fr);
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.contact-list span {
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.hours-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  color: var(--color-muted);
}

.hours-table th,
.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.hours-table th {
  width: 120px;
  color: var(--color-soy-sauce);
  font-weight: 500;
}

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(75, 112, 121, 0.2);
  background:
    url("../svg/pattern-signet-field.svg") right -92px bottom -130px / 280px auto no-repeat,
    linear-gradient(rgba(75, 112, 121, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 121, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(180, 196, 195, 0.36), rgba(255, 253, 248, 0.7));
  background-size: 280px 280px, 34px 34px, 34px 34px, auto;
  color: var(--color-soy-sauce);
  text-align: center;
}

.map-placeholder span,
.map-placeholder small {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.map-placeholder span {
  font-size: 24px;
}

.map-placeholder small {
  color: var(--color-muted);
}

.map-placeholder::after {
  width: 300px;
  height: 300px;
  opacity: 0.22;
}

.faq-grid {
  align-items: start;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  box-shadow: none;
  background: rgba(255, 253, 248, 0.62);
}

.faq-item h3 {
  font-size: 20px;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: var(--color-soy-sauce);
  cursor: pointer;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 18px;
  border-radius: 999px;
  background: rgba(180, 196, 195, 0.24);
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item button[aria-expanded="true"]::after {
  content: "–";
  background: var(--color-winter-storm);
  color: var(--color-paper);
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 24px;
  color: var(--color-muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 24px;
}

.final-cta {
  padding-top: 64px;
}

.final-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 52px;
}

.final-cta-panel::after {
  right: -110px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  filter: invert(1);
  opacity: 0.08;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 78px;
  background:
    radial-gradient(circle at 82% 18%, rgba(153, 75, 53, 0.2), transparent 28rem),
    linear-gradient(135deg, var(--color-soy-sauce), #230d07);
  color: rgba(255, 253, 248, 0.72);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../svg/pattern-signet-contour.svg") right -130px top -190px / 540px auto no-repeat;
  filter: invert(1);
  opacity: 0.055;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 0.72fr));
  gap: 38px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-paper);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.78);
}

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

.mobile-bottom-cta {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-winter-storm), var(--color-soy-sauce));
  color: var(--color-paper);
  box-shadow: 0 18px 40px rgba(26, 6, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.has-scrolled .mobile-bottom-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.contact-in-view .mobile-bottom-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 620ms var(--ease-premium),
    transform 620ms var(--ease-premium),
    clip-path 760ms var(--ease-premium),
    filter 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal[data-reveal="copy"] {
  transform: translate3d(-18px, 0, 0);
}

.js .reveal[data-reveal="card"] {
  transform: translate3d(0, 18px, 0) scale(0.992);
}

.js .reveal[data-reveal="image"] {
  clip-path: inset(5% 0 0 round 28px);
  filter: saturate(0.92);
  transform: translate3d(0, 20px, 0) scale(0.988);
}

.js .reveal[data-reveal="panel"] {
  clip-path: inset(8% 0 0 round 30px);
  transform: translate3d(0, 26px, 0);
}

.js .reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 round 0);
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.js .hero .reveal {
  opacity: 1;
  clip-path: none;
  filter: none;
  transform: none;
  transition: none;
}

.js .hero-copy > *,
.js .hero-media,
.js .hero-bento-strip {
  opacity: 1;
  clip-path: none;
  filter: none;
  transform: none;
  transition: none;
}

.js .hero-media {
  clip-path: none;
  filter: none;
}

.legal-header {
  position: relative;
}

.legal-main {
  padding: 74px 0 110px;
}

.legal-article {
  max-width: 900px;
  padding: 54px;
}

.legal-article h1 {
  font-size: 58px;
}

.legal-article section {
  margin-top: 36px;
}

.legal-article h2 {
  font-size: 28px;
}

.legal-article p {
  margin-top: 14px;
  color: var(--color-muted);
}

.legal-note {
  border-left: 3px solid var(--color-solar-fusion);
  padding: 14px 0 14px 18px;
  background: rgba(220, 159, 70, 0.08);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1200px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  h1 {
    font-size: 84px;
  }

  h2 {
    font-size: 52px;
  }

  .header-inner {
    grid-template-columns: minmax(160px, 220px) 1fr auto;
    gap: 16px;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.78fr);
    gap: 42px;
  }

  .hero-media {
    min-height: 620px;
  }

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

  .route-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 84px 0;
  }

  .section-tight {
    padding-top: 30px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .brand img {
    width: 132px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.62);
    color: var(--color-soy-sauce);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 19px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-bars::before {
    transform: translateY(-7px);
  }

  .nav-toggle-bars::after {
    transform: translateY(7px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 32px;
    left: 32px;
    width: auto;
    justify-self: auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 14px;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-grid,
  .symptom-grid,
  .media-split,
  .about-grid,
  .faq-grid,
  .appointment-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-media {
    min-height: 720px;
  }

  .hero-photo-card {
    inset: 0 0 54px 0;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .appointment-panel {
    padding: 42px;
  }

  .booking-widget-placeholder {
    max-width: 520px;
  }

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

  .mobile-bottom-cta {
    display: inline-flex;
  }

  body {
    padding-bottom: 82px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-lede,
  .section-header p:not(.eyebrow),
  .about-copy p:not(.eyebrow),
  .appointment-panel p:not(.eyebrow),
  .final-cta-panel p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions,
  .appointment-actions,
  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 650px;
  }

  .about-visual {
    min-height: 500px;
  }

  .about-portrait {
    width: 190px;
    height: 254px;
  }

  .diagnostic-photo {
    width: 86%;
    height: 340px;
  }

  .final-cta-panel {
    display: grid;
    padding: 36px;
  }

  .legal-article {
    padding: 34px;
  }

  .legal-article h1 {
    font-size: 42px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .eyebrow,
  .card-label {
    font-size: 11px;
  }

  .primary-nav {
    right: 16px;
    left: 16px;
  }

  .hero-media {
    min-height: 610px;
  }

  .hero-photo-card {
    border-radius: 28px;
  }

  .info-card,
  .service-card,
  .detail-card,
  .contact-card,
  .checklist-panel,
  .quote-card,
  .appointment-panel,
  .final-cta-panel {
    border-radius: 22px;
    padding: 24px;
  }

  .service-card {
    min-height: auto;
  }

  .checklist li {
    padding: 14px;
  }

  .about-visual {
    min-height: 430px;
  }

  .about-portrait {
    width: 156px;
    height: 210px;
    border-radius: 24px;
  }

  .diagnostic-photo {
    height: 300px;
    border-radius: 26px;
  }

  .contact-list li,
  .hours-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-table th,
  .hours-table td {
    display: block;
    width: 100%;
  }

  .hours-table td {
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .js .hero-copy > *,
  .js .hero-media,
  .js .hero-bento-strip {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
  }
}

/* Refinement pass: quieter surfaces, editorial grids, brand-specific linework. */
:root {
  --shadow-soft: 0 18px 44px rgba(26, 6, 0, 0.055);
  --shadow-small: 0 1px 0 rgba(26, 6, 0, 0.035);
  --shadow-teal: 0 20px 48px rgba(75, 112, 121, 0.12);
  --surface-warm: rgba(255, 253, 248, 0.84);
  --surface-solid: #fffdf8;
}

body {
  background: var(--color-white-desert);
}

body::before {
  opacity: 0.18;
  background-image:
    url("../svg/pattern-signet-field.svg"),
    linear-gradient(rgba(75, 112, 121, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 121, 0.045) 1px, transparent 1px);
  background-position: right 4rem top 10rem, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  background-size: min(44vw, 480px) auto, 128px 128px, 128px 128px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.72) 48%, transparent 96%);
}

.site-header {
  background: rgba(253, 250, 241, 0.74);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled {
  background: rgba(253, 250, 241, 0.96);
  box-shadow: 0 10px 28px rgba(26, 6, 0, 0.04);
}

.header-inner {
  min-height: 84px;
}

.primary-nav {
  gap: 2px;
  background: rgba(255, 253, 248, 0.5);
  border-color: rgba(26, 6, 0, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.74);
}

.primary-nav a {
  position: relative;
  padding: 10px 15px;
  background: transparent;
}

.primary-nav a::after {
  display: none;
  content: none;
}

.primary-nav a:hover {
  background: transparent;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  opacity: 0;
}

.btn {
  min-height: 52px;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-winter-storm);
  color: var(--color-paper);
  box-shadow: 0 12px 28px rgba(75, 112, 121, 0.18);
}

.btn-primary:hover {
  background: #335f69;
  box-shadow: 0 14px 32px rgba(75, 112, 121, 0.2);
}

.btn-secondary {
  background: rgba(255, 253, 248, 0.56);
  border-color: rgba(75, 112, 121, 0.42);
  box-shadow: none;
}

.btn-light {
  box-shadow: none;
}

h1 {
  max-width: 760px;
  font-size: 96px;
}

h2 {
  font-size: 62px;
}

.section {
  padding: 118px 0 128px;
}

.hero {
  min-height: auto;
  padding: 66px 0 48px;
}

.hero::before {
  display: none;
}

.hero-pattern {
  inset: 0;
  opacity: 0.09;
  background: none;
  mask-image: none;
}

.hero-shell {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}

.hero-copy {
  grid-column: 1 / span 6;
  padding: 18px 0 26px;
}

.hero-lede {
  max-width: 640px;
  font-size: 21px;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 30px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}

.rating-badge,
.hero-address-link,
.hero-bento-strip article,
.map-card,
.guide-note,
.form-helper {
  border: 1px solid rgba(26, 6, 0, 0.11);
  background: rgba(255, 253, 248, 0.68);
}

.rating-badge,
.hero-address-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(26, 6, 0, 0.74);
  font-size: 13px;
  font-weight: 520;
}

.rating-badge:hover,
.hero-address-link:hover {
  border-color: rgba(75, 112, 121, 0.28);
  color: var(--color-soy-sauce);
}

.stars {
  color: var(--color-solar-fusion);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero-media {
  grid-column: 8 / span 5;
  position: relative;
  min-height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 6, 0, 0.12);
  border-radius: 34px;
  background: var(--color-misty-blue);
  box-shadow: 0 22px 54px rgba(26, 6, 0, 0.08);
  isolation: isolate;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
}

.hero-doctor-scene {
  height: min(62vh, 690px);
  min-height: 570px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.96) contrast(1.01);
}

.hero-nameplate {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: min(310px, calc(100% - 44px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 253, 248, 0.68);
  border-radius: 22px;
  background: rgba(253, 250, 241, 0.86);
  color: var(--color-soy-sauce);
  backdrop-filter: blur(14px);
}

.hero-nameplate span,
.hero-nameplate small {
  display: block;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-nameplate strong {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-bento-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-bento-strip article {
  min-height: 108px;
  border-radius: 22px;
  padding: 18px;
}

.hero-bento-strip span,
.guide-note span {
  display: block;
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-bento-strip strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-bento-strip p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.text-link {
  color: #2f626d;
  font-weight: 560;
}

.info-card,
.service-card,
.detail-card,
.contact-card,
.quote-card,
.faq-item,
.legal-article {
  border-color: rgba(26, 6, 0, 0.11);
  background: var(--surface-warm);
  box-shadow: var(--shadow-small);
}

.info-card::before,
.service-card::before,
.detail-card::before,
.contact-card::before,
.faq-item::before {
  display: none;
}

.mini-icon,
.service-icon {
  width: auto;
  height: auto;
  margin: 0 0 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mini-icon img,
.service-icon img {
  width: 38px;
  height: 38px;
}

.service-bento {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: stretch;
}

.service-card {
  min-height: 286px;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 112, 121, 0.32);
  background: var(--surface-solid);
  box-shadow: var(--shadow-small);
}

.service-card-feature {
  grid-column: span 2;
  min-height: 340px;
  background:
    url("../svg/pattern-signet-contour.svg") right -70px bottom -50px / 360px auto no-repeat,
    rgba(255, 253, 248, 0.76);
}

.service-card-feature h3 {
  max-width: 520px;
  font-size: 34px;
}

.service-card-feature p:not(.card-label) {
  max-width: 58ch;
}

.symptom-section {
  background:
    url("../svg/pattern-topographic.svg") left -150px center / 520px auto no-repeat,
    rgba(180, 196, 195, 0.18);
}

.symptom-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: 76px;
}

.guide-note {
  max-width: 560px;
  margin-top: 30px;
  border-radius: 20px;
  padding: 18px 20px;
}

.guide-note p {
  margin-top: 9px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.guide-note + .btn {
  margin-top: clamp(26px, 3vw, 36px);
}

.checklist-panel {
  border: 1px solid rgba(26, 6, 0, 0.11);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: none;
}

.checklist li {
  align-items: center;
  border-color: rgba(26, 6, 0, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: none;
}

.checklist li::before {
  background: transparent;
  color: var(--color-winter-storm);
  border: 1px solid rgba(75, 112, 121, 0.32);
}

.practice-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.practice-image {
  grid-column: span 7;
  grid-row: span 2;
  box-shadow: none;
}

.practice-image img {
  height: 100%;
  min-height: 620px;
  aspect-ratio: auto;
}

.practice-layout > .section-header {
  grid-column: span 5;
  align-self: center;
  padding: 20px 10px 20px 42px;
}

.practice-layout .detail-card,
.map-card {
  min-height: 250px;
}

.practice-layout .detail-card {
  grid-column: span 3;
}

.practice-layout .hours-card {
  grid-column: span 4;
}

.map-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 5;
  border-radius: var(--radius-card);
  padding: 30px;
  color: var(--color-soy-sauce);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -92px auto;
  width: 270px;
  height: 210px;
  background: url("../svg/pattern-signet-field.svg") center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.map-card strong {
  display: block;
  margin-top: 32px;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.map-card small {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
}

.route-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: #2f626d;
  font-weight: 560;
}

.about-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 74px;
}

.quote-card {
  background:
    url("../svg/pattern-topographic.svg") right -140px bottom -120px / 310px auto no-repeat,
    rgba(255, 253, 248, 0.72);
  box-shadow: none;
}

.about-visual-bento {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 0.76fr;
  gap: 14px;
  min-height: 640px;
}

.about-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(26, 6, 0, 0.11);
  border-radius: 26px;
  background: var(--surface-warm);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-large {
  grid-row: 1 / -1;
}

.about-image-large img {
  object-position: 54% 50%;
}

.about-image-small img {
  object-position: 42% 50%;
}

.appointment-panel,
.final-cta-panel {
  background:
    url("../svg/pattern-signet-contour.svg") right -90px top -20px / 520px auto no-repeat,
    linear-gradient(135deg, #315d66 0%, #173942 62%, var(--color-soy-sauce) 100%);
  box-shadow: 0 22px 54px rgba(26, 6, 0, 0.14);
}

.appointment-pattern,
.final-cta-panel::after {
  display: none;
}

.booking-widget-placeholder {
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.24);
  box-shadow: none;
}

.contact-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.contact-card {
  padding: 30px;
}

.contact-card-main {
  grid-column: span 4;
}

.contact-bento > .contact-card:not(.contact-card-main):not(.route-card):not(.contact-form-card) {
  grid-column: span 4;
}

.route-card {
  grid-column: span 4;
}

.contact-form-card {
  grid-column: span 8;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 26px;
}

.form-row,
.privacy-check {
  display: grid;
  gap: 8px;
}

.form-row-full,
.privacy-check,
.contact-form .btn,
.field-error-full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--color-winter-storm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-row label,
.privacy-check span {
  min-width: 0;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(26, 6, 0, 0.13);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(253, 250, 241, 0.64);
  color: var(--color-soy-sauce);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-winter-storm);
  background: var(--color-paper);
  outline: 0;
}

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"],
.privacy-check input[aria-invalid="true"] {
  border-color: rgba(138, 65, 45, 0.62);
  background:
    linear-gradient(135deg, rgba(138, 65, 45, 0.06), rgba(255, 253, 248, 0) 62%),
    rgba(255, 253, 248, 0.96);
  box-shadow: 0 0 0 3px rgba(138, 65, 45, 0.1);
}

.privacy-check:has(input[aria-invalid="true"]) {
  color: var(--color-soy-sauce);
  border-radius: 14px;
  background: rgba(138, 65, 45, 0.045);
  box-shadow: 0 0 0 1px rgba(138, 65, 45, 0.14);
  padding: 10px 12px;
}

.privacy-check input[aria-invalid="true"] {
  accent-color: var(--color-spicy-hue);
}

.conditional-required {
  display: block;
  margin-top: 4px;
  color: #7a3a2c;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.privacy-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--color-muted);
  font-size: 14px;
}

.privacy-check input {
  margin-top: 4px;
  accent-color: var(--color-winter-storm);
}

.form-helper {
  margin-top: 20px;
  border-radius: 16px;
  padding: 13px 15px;
  color: rgba(26, 6, 0, 0.72);
  font-size: 14px;
}

.form-status {
  margin-top: 20px;
  border: 1px solid rgba(26, 6, 0, 0.1);
  border-radius: 18px;
  padding: 17px 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(180, 196, 195, 0.14)),
    var(--color-paper);
  color: var(--color-muted);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.76);
}

.form-status[hidden],
.field-error[hidden],
.conditional-required[hidden] {
  display: none;
}

.form-status:focus {
  outline: 3px solid rgba(220, 159, 70, 0.45);
  outline-offset: 4px;
}

.form-status[data-status="success"] {
  border-color: rgba(75, 112, 121, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(75, 112, 121, 0.1)),
    var(--color-paper);
  color: #315d61;
}

.form-status[data-status="error"] {
  border-color: rgba(138, 65, 45, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(138, 65, 45, 0.1)),
    var(--color-paper);
  color: #6b352b;
}

.form-status-title {
  margin: 0;
  color: var(--color-soy-sauce);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.form-status-title:empty {
  display: none;
}

.form-status-text {
  margin-top: 7px;
  color: rgba(26, 6, 0, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.form-status[data-status="success"] .form-status-text {
  color: #315d61;
}

.form-status[data-status="error"] .form-status-text {
  color: #6b352b;
}

.field-error {
  margin: 1px 0 0;
  color: #7a3a2c;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.contact-form .field-error {
  margin: 1px 0 0;
  color: #7a3a2c;
}

.field-error-full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  position: relative;
  min-height: 54px;
}

.contact-submit:disabled {
  cursor: progress;
  opacity: 0.82;
}

.form-loader {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 253, 248, 0.42);
  border-top-color: rgba(255, 253, 248, 0.95);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.9);
}

.contact-submit.is-loading .form-loader {
  opacity: 1;
  animation: contact-loader-spin 760ms linear infinite;
}

@keyframes contact-loader-spin {
  to {
    transform: rotate(360deg) scale(0.9);
  }
}

.map-placeholder {
  background:
    url("../svg/pattern-topographic.svg") right -116px bottom -112px / 300px auto no-repeat,
    linear-gradient(rgba(75, 112, 121, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 121, 0.08) 1px, transparent 1px),
    rgba(180, 196, 195, 0.22);
  box-shadow: none;
}

.map-placeholder::after {
  display: none;
}

.site-footer {
  background: var(--color-soy-sauce);
}

.site-footer::before {
  background: url("../svg/pattern-signet-contour.svg") right -120px top -80px / 560px auto no-repeat;
  filter: none;
  opacity: 0.08;
}

.footer-brand {
  width: 150px;
  margin-bottom: 22px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.mobile-bottom-cta {
  box-shadow: 0 12px 28px rgba(26, 6, 0, 0.18);
}

@media (max-width: 1200px) {
  h1 {
    font-size: 82px;
  }

  h2 {
    font-size: 50px;
  }

  .hero-copy {
    grid-column: 1 / span 7;
  }

  .hero-media {
    grid-column: 8 / span 5;
  }

  .hero-bento-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-image {
    grid-column: span 6;
  }

  .practice-layout > .section-header {
    grid-column: span 6;
  }

  .practice-layout .detail-card,
  .practice-layout .hours-card,
  .map-card {
    grid-column: span 6;
  }

  .contact-card-main,
  .contact-bento > .contact-card:not(.contact-card-main):not(.route-card):not(.contact-form-card),
  .route-card {
    grid-column: span 6;
  }

  .contact-form-card {
    grid-column: span 12;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .symptom-grid,
  .practice-layout,
  .contact-bento {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .practice-image,
  .practice-layout > .section-header,
  .practice-layout .detail-card,
  .practice-layout .hours-card,
  .map-card,
  .contact-card-main,
  .contact-bento > .contact-card:not(.contact-card-main):not(.route-card):not(.contact-form-card),
  .route-card,
  .contact-form-card {
    grid-column: auto;
  }

  .hero-doctor-scene {
    height: 720px;
  }

  .symptom-grid {
    gap: 34px;
  }

  .checklist-panel,
  .checklist {
    min-width: 0;
    width: auto;
  }

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

  .service-card-feature {
    grid-column: span 2;
  }

  .practice-layout > .section-header {
    padding: 10px 0 22px;
  }

  .practice-image img {
    min-height: 500px;
  }

  .about-visual-bento {
    min-height: 560px;
  }

  .primary-nav {
    box-shadow: 0 12px 34px rgba(26, 6, 0, 0.08);
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-bento-strip,
  .service-bento,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card-feature {
    grid-column: auto;
  }

  .hero-doctor-scene {
    height: 650px;
    min-height: 0;
  }

  .hero-nameplate {
    right: 16px;
    bottom: 16px;
  }

  .about-grid {
    gap: 42px;
  }

  .about-visual-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .about-image-large,
  .about-image-small {
    height: 330px;
  }

}

@media (max-width: 540px) {
  body::before {
    background-size: 360px auto, 96px 96px, 96px 96px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-meta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rating-badge,
  .hero-address-link {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .hero-doctor-scene {
    height: 560px;
  }

  .hero-media,
  .hero-bento-strip article,
  .service-card,
  .detail-card,
  .contact-card,
  .map-card,
  .quote-card,
  .checklist-panel,
  .appointment-panel,
  .final-cta-panel {
    border-radius: 22px;
  }

  .hero-nameplate {
    max-width: calc(100% - 32px);
  }

  .practice-image img {
    min-height: 390px;
  }

  .about-image-large,
  .about-image-small {
    height: 280px;
  }
}

/* Signature refinement pass: quieter assets, denser editorial grids, richer navigation. */
main {
  max-width: 100%;
  overflow-x: clip;
}

body::before {
  opacity: 0.1;
  background-image:
    url("../svg/pattern-signet-field.svg");
  background-position: right -12vw top 20rem;
  background-repeat: no-repeat;
  background-size: min(42vw, 560px) auto;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(253, 250, 241, 0.94), rgba(253, 250, 241, 0.72) 52%, rgba(253, 250, 241, 0.94)),
    rgba(253, 250, 241, 0.78);
  border-bottom: 1px solid rgba(26, 6, 0, 0.055);
  backdrop-filter: blur(22px) saturate(118%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 112, 121, 0.18), rgba(220, 159, 70, 0.28), transparent);
  opacity: 0.78;
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(253, 250, 241, 0.98), rgba(253, 250, 241, 0.9) 52%, rgba(253, 250, 241, 0.98)),
    rgba(253, 250, 241, 0.96);
  box-shadow: 0 14px 34px rgba(26, 6, 0, 0.055);
}

.header-inner {
  grid-template-columns: minmax(150px, 230px) minmax(360px, 1fr) auto;
  gap: 24px;
  min-height: 82px;
}

.primary-nav {
  position: relative;
  isolation: isolate;
  gap: 3px;
  overflow: hidden;
  padding: 5px;
  border-color: rgba(26, 6, 0, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.56)),
    rgba(255, 253, 248, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.86),
    0 12px 28px rgba(26, 6, 0, 0.032);
}

.primary-nav::before {
  content: "";
  position: absolute;
  inset: -90px -110px -90px auto;
  width: 260px;
  background: url("../svg/pattern-signet-field.svg") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.primary-nav a {
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 11px 16px;
  color: rgba(26, 6, 0, 0.68);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.primary-nav a::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(75, 112, 121, 0.14);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 180ms ease, transform 180ms var(--ease-premium);
}

.primary-nav a::after {
  display: none;
  content: none;
}

.primary-nav a[aria-current="true"],
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--color-soy-sauce);
  background: rgba(180, 196, 195, 0.14);
}

.primary-nav a[aria-current="true"]::before,
.primary-nav a:hover::before,
.primary-nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.primary-nav a[aria-current="true"]::after,
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  opacity: 0;
}

.nav-mobile-meta {
  display: none;
}

.btn-compact {
  min-height: 46px;
  padding-inline: 20px;
}

.about-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(52px, 6vw, 92px);
}

.about-visual-bento {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(250px, 1fr) minmax(230px, 0.86fr);
  gap: 14px;
  min-height: 620px;
}

.about-image {
  position: relative;
  min-width: 0;
  border-radius: 28px;
  box-shadow: none;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(253, 250, 241, 0) 62%, rgba(26, 6, 0, 0.08)),
    linear-gradient(90deg, rgba(75, 112, 121, 0.1), transparent 42%);
  pointer-events: none;
}

.about-image-large {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.about-image-small {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.about-image-room {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.about-image-large img {
  object-position: 50% 50%;
}

.about-image-small img {
  object-position: 48% 52%;
}

.about-image-room img {
  object-position: 52% 52%;
}

.about-image img,
.media-panel img,
.practice-image img {
  transition: transform 700ms ease, filter 700ms ease;
}

.about-image:hover img,
.media-panel:hover img,
.practice-image:hover img {
  transform: scale(1.025);
  filter: saturate(0.96) contrast(1.02);
}

.map-card,
.map-placeholder {
  background:
    linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
    url("../img/anfahrt-krefeld-dionysius-960.webp") center / cover no-repeat;
  background:
    linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
    image-set(
      url("../img/anfahrt-krefeld-dionysius-960.webp") 1x,
      url("../img/anfahrt-krefeld-dionysius-1536.webp") 2x
    ) center / cover no-repeat;
  color: var(--color-paper);
  border-color: rgba(253, 250, 241, 0.32);
}

@media (max-width: 720px) {
  .map-card,
  .map-placeholder {
    background:
      linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
      url("../img/anfahrt-krefeld-dionysius-960.webp") center / cover no-repeat;
    background:
      linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
      image-set(
        url("../img/anfahrt-krefeld-dionysius-960.webp") 1x,
        url("../img/anfahrt-krefeld-dionysius-1280.webp") 2x
      ) center / cover no-repeat;
  }
}

@media (min-width: 1440px) {
  .map-card,
  .map-placeholder {
    background:
      linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
      url("../img/anfahrt-krefeld-dionysius.webp") center / cover no-repeat;
    background:
      linear-gradient(135deg, rgba(26, 6, 0, 0.6), rgba(26, 6, 0, 0.18) 48%, rgba(75, 112, 121, 0.52)),
      image-set(
        url("../img/anfahrt-krefeld-dionysius-1536.webp") 1x,
        url("../img/anfahrt-krefeld-dionysius.webp") 2x
      ) center / cover no-repeat;
  }
}

.map-card::after {
  inset: 18px 18px auto auto;
  width: 170px;
  height: 120px;
  background: url("../svg/pattern-signet-echo.svg") center / contain no-repeat;
  opacity: 0.16;
}

.map-card .card-label,
.map-card small,
.map-placeholder small {
  color: rgba(255, 253, 248, 0.76);
}

.map-card strong,
.map-card .route-pill,
.map-placeholder span,
.map-placeholder small {
  position: relative;
  z-index: 1;
}

.route-pill {
  border-color: rgba(255, 253, 248, 0.38);
  background: rgba(255, 253, 248, 0.12);
  color: var(--color-paper);
  backdrop-filter: blur(10px);
}

.service-card,
.detail-card,
.contact-card,
.faq-item,
.hero-bento-strip article,
.checklist li,
.rating-badge,
.hero-address-link,
.map-card,
.map-placeholder {
  transition:
    transform 220ms var(--ease-premium),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover,
.detail-card:hover,
.contact-card:hover,
.faq-item:hover,
.hero-bento-strip article:hover,
.checklist li:hover,
.rating-badge:hover,
.hero-address-link:hover {
  border-color: rgba(75, 112, 121, 0.28);
  transform: translateY(-2px);
}

.service-card:hover,
.detail-card:hover,
.contact-card:hover,
.faq-item:hover,
.hero-bento-strip article:hover,
.checklist li:hover {
  background-color: rgba(255, 253, 248, 0.92);
  box-shadow: 0 1px 0 rgba(26, 6, 0, 0.035);
}

.map-card,
.map-placeholder {
  transition:
    transform 260ms var(--ease-premium),
    border-color 220ms ease,
    filter 260ms ease;
}

.map-card:hover,
.map-placeholder:hover {
  border-color: rgba(253, 250, 241, 0.52);
  filter: saturate(1.03) contrast(1.02);
  transform: translateY(-2px);
}

.map-card::after {
  transition: opacity 260ms ease, transform 260ms var(--ease-premium);
}

.map-card:hover::after {
  opacity: 0.2;
  transform: translate(-4px, 4px) scale(1.04);
}

.map-placeholder {
  align-content: end;
  justify-items: start;
  min-height: 240px;
  padding: 24px;
  text-align: left;
}

.map-placeholder span {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.site-footer .footer-brand {
  display: inline-block;
  width: 112px;
  max-width: 112px;
  margin-bottom: 18px;
  margin-top: 0;
}

.site-footer .footer-brand img {
  width: 100%;
  max-width: 112px;
}

@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns: minmax(132px, 176px) 1fr auto;
    gap: 16px;
  }

  .primary-nav a {
    padding-inline: 11px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .nav-toggle {
    overflow: hidden;
    border-color: rgba(26, 6, 0, 0.12);
    background:
      linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(180, 196, 195, 0.22)),
      rgba(255, 253, 248, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.82);
  }

  .nav-toggle::before {
    display: none;
    content: none;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(75, 112, 121, 0.28);
  }

  body.nav-open .nav-toggle {
    background: var(--color-soy-sauce);
    color: var(--color-paper);
  }

  body.nav-open .nav-toggle::before {
    display: none;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 76px 0 0;
    z-index: 48;
    background: rgba(253, 250, 241, 0.58);
    backdrop-filter: blur(10px) saturate(110%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
  }

  body.nav-open::after {
    opacity: 1;
  }

  .primary-nav {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    z-index: 49;
    display: grid;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    gap: 8px;
    padding: 18px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.995), rgba(255, 253, 248, 0.972)),
      url("../svg/pattern-signet-field.svg") right -130px top -70px / 360px auto no-repeat;
    backdrop-filter: blur(18px) saturate(108%);
    box-shadow: 0 22px 48px rgba(26, 6, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transition:
      opacity 260ms var(--ease-premium),
      transform 260ms var(--ease-premium),
      visibility 0s linear 260ms;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    border: 1px solid rgba(26, 6, 0, 0.08);
    border-radius: 18px;
    padding: 0 16px;
    background: rgba(255, 253, 248, 0.64);
    font-size: 16px;
  }

  .primary-nav > a,
  .nav-mobile-meta {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 360ms var(--ease-premium),
      transform 360ms var(--ease-premium),
      border-color 180ms ease,
      background 180ms ease;
  }

  .primary-nav.is-open > a,
  .primary-nav.is-open .nav-mobile-meta {
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav.is-open > a:nth-of-type(1) {
    transition-delay: 50ms;
  }

  .primary-nav.is-open > a:nth-of-type(2) {
    transition-delay: 92ms;
  }

  .primary-nav.is-open > a:nth-of-type(3) {
    transition-delay: 134ms;
  }

  .primary-nav.is-open > a:nth-of-type(4) {
    transition-delay: 176ms;
  }

  .primary-nav.is-open > a:nth-of-type(5) {
    transition-delay: 218ms;
  }

  .primary-nav.is-open .nav-mobile-meta {
    transition-delay: 260ms;
  }

  .primary-nav a::after {
    content: "→";
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    opacity: 0.58;
    transform: none;
  }

  .primary-nav a[aria-current="true"] {
    border-color: rgba(75, 112, 121, 0.26);
    background: rgba(180, 196, 195, 0.24);
  }

  .nav-mobile-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(26, 6, 0, 0.1);
  }

  .nav-mobile-meta a {
    min-height: 44px;
    border-radius: 16px;
    color: rgba(26, 6, 0, 0.72);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.nav-open .mobile-bottom-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual-bento {
    grid-template-rows: 440px 300px;
    min-height: auto;
  }

  .about-image-large {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .about-image-small,
  .about-image-room {
    grid-column: 8 / span 5;
  }
}

@media (max-width: 720px) {
  .about-visual-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .about-image-large,
  .about-image-small,
  .about-image-room {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }

  .about-image-large {
    height: 390px;
  }

  .map-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 540px) {
  .primary-nav {
    left: 12px;
    right: 12px;
    top: 80px;
  }

  .about-image-large {
    height: 360px;
  }

  .about-image-small,
  .about-image-room {
    height: 240px;
  }

  .site-footer .footer-brand {
    width: 98px;
    max-width: 98px;
  }

  .site-footer .footer-brand img {
    max-width: 98px;
  }
}

/* Focused refinement: legal navigation, cleaner hero image, clearer contact hierarchy. */
.hero-media {
  border: 0;
  box-shadow: 0 24px 64px rgba(26, 6, 0, 0.08);
}

.hero-photo-card {
  border: 0;
}

.hero-photo-card::after {
  display: none;
}

.legal-header .header-inner {
  grid-template-columns: minmax(150px, 220px) 1fr auto;
}

.legal-nav {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  width: fit-content;
  padding: 5px;
  border: 1px solid rgba(26, 6, 0, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.84), rgba(255, 253, 248, 0.58)),
    rgba(255, 253, 248, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.86);
}

.legal-nav::before {
  content: "";
  position: absolute;
  inset: -80px -110px -80px auto;
  width: 240px;
  background: url("../svg/pattern-signet-field.svg") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.legal-nav a {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 10px 15px;
  color: rgba(26, 6, 0, 0.68);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease-premium);
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--color-soy-sauce);
  background: rgba(180, 196, 195, 0.14);
  transform: translateY(-1px);
}

.legal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.practice-image {
  grid-row: span 4;
}

.practice-layout .visit-card,
.practice-layout .detail-card {
  grid-column: span 5;
}

.practice-layout .visit-card {
  background:
    url("../svg/pattern-signet-contour.svg") right -120px bottom -130px / 340px auto no-repeat,
    rgba(255, 253, 248, 0.78);
}

.contact-form-card {
  grid-column: span 7;
  grid-row: span 2;
  padding: clamp(32px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(180, 196, 195, 0.16)),
    var(--color-paper);
  border-color: rgba(75, 112, 121, 0.2);
}

.contact-form-card h3 {
  max-width: 620px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact-form-card > p:not(.card-label) {
  max-width: 680px;
}

.contact-card-main,
.contact-hours-card {
  grid-column: span 5;
}

.route-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: stretch;
}

.route-card .map-placeholder {
  min-height: 280px;
  margin: 0;
}

.route-card .btn {
  margin-top: 24px;
}

.footer-hours {
  display: grid;
  gap: 14px;
  margin: 12px 0 0;
}

.footer-hours div {
  display: grid;
  grid-template-columns: minmax(72px, 0.7fr) minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
}

.footer-hours dt {
  color: rgba(255, 253, 248, 0.54);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-hours dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.35;
}

.footer-hours dd + dd {
  grid-column: 2;
}

.footer-note {
  margin-top: 14px;
  color: rgba(255, 253, 248, 0.48);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .legal-header .header-inner {
    grid-template-columns: minmax(132px, 176px) 1fr auto;
  }

  .legal-nav a {
    padding-inline: 11px;
  }

  .contact-form-card {
    grid-column: span 12;
    grid-row: auto;
  }

  .contact-card-main,
  .contact-hours-card,
  .route-card {
    grid-column: span 6;
  }

  .practice-layout .visit-card,
  .practice-layout .detail-card,
  .map-card {
    grid-column: span 6;
  }

  .route-card {
    display: block;
  }

  .route-card .map-placeholder {
    margin-top: 20px;
  }
}

@media (max-width: 960px) {
  .legal-header .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding-block: 14px;
  }

  .legal-actions {
    justify-content: center;
  }

  .practice-image {
    grid-row: auto;
  }

  .practice-layout .visit-card,
  .practice-layout .detail-card,
  .contact-form-card,
  .contact-card-main,
  .contact-hours-card,
  .route-card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .legal-nav {
    width: min(100%, 360px);
    justify-content: center;
  }

  .legal-nav a {
    padding-inline: 10px;
    font-size: 12px;
  }

  .legal-actions {
    width: min(100%, 360px);
  }

  .legal-actions .btn {
    flex: 1;
    padding-inline: 14px;
  }

  .contact-form-card h3 {
    font-size: 34px;
    font-weight: 400;
  }
}

/* Visual tuning: keep Praxis imagery natural and remove location CTA blur. */
.practice-image {
  grid-row: span 2;
  align-self: start;
  aspect-ratio: 1.08 / 1;
  min-height: 0;
}

.practice-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 30% 68%;
}

.map-card .route-pill {
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(26, 6, 0, 0.32);
  backdrop-filter: none;
  box-shadow: none;
}

@media (max-width: 960px) {
  .practice-image {
    aspect-ratio: 4 / 3;
  }
}

/* Impeccable optimization pass: brand-native patterns, quieter nav, cleaner motion. */
:root {
  --shadow-soft: 0 1px 0 rgba(26, 6, 0, 0.035);
  --shadow-small: 0 1px 0 rgba(26, 6, 0, 0.032);
  --shadow-teal: 0 14px 34px rgba(75, 112, 121, 0.1);
}

body::before {
  opacity: 0.07;
  background-image: url("../svg/pattern-brand-constellation.svg");
  background-position: right -9vw top 19rem;
  background-repeat: no-repeat;
  background-size: min(44vw, 620px) auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 54%, transparent 92%);
}

.hero-pattern {
  opacity: 0.105;
  background: none;
  mask-image: none;
}

.primary-nav {
  overflow: visible;
  gap: 1px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.primary-nav::before {
  display: none;
}

.primary-nav a {
  padding: 11px 13px;
  border-radius: 999px;
  background: transparent;
}

.primary-nav a::before {
  inset: auto 13px -8px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--color-solar-fusion), var(--color-winter-storm));
  opacity: 0;
  transform: scaleX(0.34);
  transform-origin: 50% 50%;
}

.primary-nav a[aria-current="true"],
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(180, 196, 195, 0.13);
}

.primary-nav a[aria-current="true"]::before,
.primary-nav a:hover::before,
.primary-nav a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.legal-nav::before {
  background: url("../svg/pattern-brand-constellation.svg") center / contain no-repeat;
  opacity: 0.1;
}

.service-card-feature {
  background:
    url("../svg/pattern-brand-flow.svg") right -120px bottom -118px / 390px auto no-repeat,
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(180, 196, 195, 0.18)),
    var(--color-paper);
}

.symptom-section {
  background:
    url("../svg/pattern-brand-topographic.svg") left -210px center / 560px auto no-repeat,
    linear-gradient(180deg, rgba(180, 196, 195, 0.2), rgba(253, 250, 241, 0.76));
}

.checklist-panel,
.practice-layout .visit-card,
.contact-form-card {
  background:
    url("../svg/pattern-brand-constellation.svg") right -140px bottom -130px / 360px auto no-repeat,
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(180, 196, 195, 0.12)),
    var(--color-paper);
}

.quote-card {
  background:
    url("../svg/pattern-brand-flow.svg") right -140px bottom -120px / 320px auto no-repeat,
    rgba(255, 253, 248, 0.8);
}

.appointment-panel,
.final-cta-panel {
  background:
    url("../svg/pattern-brand-topographic.svg") right -110px top -76px / 560px auto no-repeat,
    linear-gradient(135deg, rgba(26, 6, 0, 0.96), rgba(75, 112, 121, 0.92) 55%, rgba(220, 159, 70, 0.74));
  box-shadow: 0 16px 44px rgba(26, 6, 0, 0.13);
}

.site-footer::before {
  background: url("../svg/pattern-brand-flow.svg") right -120px top -92px / 600px auto no-repeat;
  opacity: 0.12;
}

.map-card::after,
.map-placeholder::after {
  background: url("../svg/pattern-brand-constellation.svg") center / contain no-repeat;
  opacity: 0.08;
}

.service-card,
.detail-card,
.contact-card,
.faq-item,
.legal-article,
.hero-bento-strip article,
.checklist-panel,
.quote-card,
.contact-form-card {
  border-radius: 20px;
  box-shadow: var(--shadow-small);
}

.appointment-panel,
.final-cta-panel,
.about-image,
.practice-image,
.map-card,
.map-placeholder {
  border-radius: 26px;
}

.hero-media {
  border: 0;
  border-radius: 30px;
  box-shadow: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(26, 6, 0, 0.08));
  pointer-events: none;
}

.hero-nameplate {
  box-shadow: 0 16px 36px rgba(26, 6, 0, 0.08);
}

.hero-bento-strip span {
  color: rgba(75, 112, 121, 0.82);
  letter-spacing: 0.14em;
}

.js .hero-copy > * {
  transform: none;
}

.js .hero-media {
  transform: none;
  clip-path: none;
}

.js .hero-bento-strip {
  transform: none;
}

.hero-actions,
.hero-meta-row,
.hero-bento-strip {
  overflow: visible;
}

@media (max-width: 960px) {
  body::before {
    opacity: 0.055;
    background-position: right -120px top 360px;
    background-size: 420px auto;
  }

  .hero-pattern {
    opacity: 0.08;
  }

  .primary-nav {
    overflow-y: auto;
    padding: 18px;
    border: 1px solid rgba(26, 6, 0, 0.1);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.995), rgba(255, 253, 248, 0.972)),
      url("../svg/pattern-brand-constellation.svg") right -120px top -72px / 340px auto no-repeat;
    box-shadow: 0 18px 42px rgba(26, 6, 0, 0.11);
  }

  .primary-nav a::before {
    display: none;
  }

  .js .hero-media {
    transform: translate3d(0, 18px, 0) scale(0.992);
  }

  .appointment-panel,
  .final-cta-panel,
  .about-image,
  .practice-image,
  .map-card,
  .map-placeholder {
    border-radius: 22px;
  }
}

.legal-nav::before {
  display: none;
  content: none;
}

@media (max-width: 960px) {
  body::after {
    background: rgba(253, 250, 241, 0.985);
    backdrop-filter: none;
  }
}

/* Service icon system: Magnific/Recraft-directed, brand-distilled SVG set. */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  color: var(--color-winter-storm);
}

.service-icon img {
  width: 58px;
  height: 58px;
  transition: transform 220ms var(--ease-premium), filter 220ms ease;
}

.service-card-feature .service-icon,
.service-card-feature .service-icon img {
  width: 66px;
  height: 66px;
}

.service-card:hover .service-icon img {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(75, 112, 121, 0.12));
}

@media (max-width: 640px) {
  .service-icon,
  .service-icon img {
    width: 54px;
    height: 54px;
  }
}

/* Mobile critique pass: restore calm single-column rhythm and touch-safe controls. */
html {
  -webkit-text-size-adjust: 100%;
}

a,
button,
input,
select,
textarea,
.btn,
.nav-toggle,
.mobile-bottom-cta,
.faq-item button {
  touch-action: manipulation;
}

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

input,
select,
textarea {
  font-size: 16px;
}

@media (max-width: 960px) {
  body.nav-open .site-header {
    background: rgba(253, 250, 241, 0.985);
    border-bottom-color: rgba(26, 6, 0, 0.08);
    box-shadow: none;
  }

  body.nav-open::after {
    background: rgba(253, 250, 241, 0.96);
    backdrop-filter: none;
  }

  .primary-nav {
    top: 92px;
    gap: 10px;
    padding: 26px 18px 20px;
    border-color: rgba(26, 6, 0, 0.09);
    box-shadow: 0 10px 24px rgba(26, 6, 0, 0.06);
  }

  .primary-nav a {
    min-height: 52px;
  }

  .primary-nav > a:first-of-type {
    margin-top: 2px;
  }

  .nav-mobile-meta {
    margin-top: 10px;
    padding-top: 16px;
  }

  .practice-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .practice-image,
  .practice-layout > .section-header,
  .practice-layout .visit-card,
  .practice-layout .detail-card,
  .practice-layout .hours-card,
  .map-card {
    grid-column: 1 / -1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  .practice-layout > .section-header {
    order: 1;
    padding: 0 0 8px;
  }

  .practice-image {
    order: 2;
  }

  .practice-layout .visit-card {
    order: 3;
  }

  .practice-layout .detail-card:not(.visit-card) {
    order: 4;
  }

  .map-card {
    order: 5;
  }

  .practice-layout > .section-header h2 {
    max-width: 10ch;
    font-size: clamp(38px, 12vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .practice-layout > .section-header p:not(.eyebrow) {
    max-width: 34rem;
    font-size: 17px;
    line-height: 1.64;
  }

  .practice-layout .detail-card {
    min-height: auto;
  }

  .practice-image {
    aspect-ratio: 4 / 3.25;
    max-height: 420px;
  }

  .practice-image img {
    object-position: 28% 62%;
  }

  .map-card {
    min-height: 276px;
  }

  .faq-section {
    padding-top: 54px;
  }

  .contact-section {
    padding-bottom: 54px;
  }

  .faq-grid {
    gap: 28px;
  }

  .faq {
    gap: 10px;
  }

  .faq-item button {
    min-height: 64px;
    padding: 14px 18px;
    line-height: 1.1;
  }

  .faq-item h3 {
    font-size: 18px;
    line-height: 1.1;
  }

  .faq-answer > p {
    padding-inline: 18px;
  }
}

@media (max-width: 540px) {
  .practice-section {
    padding-top: 56px;
  }

  .practice-layout {
    gap: 16px;
  }

  .practice-layout > .section-header {
    margin-bottom: 6px;
  }

  .practice-layout .detail-card,
  .map-card {
    padding: 24px;
  }

  .map-card strong {
    margin-top: 24px;
    font-size: 30px;
  }

  .faq-section {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .contact-section {
    padding-bottom: 38px;
  }

  .faq-grid .section-header {
    margin-bottom: 0;
  }

  .faq-grid .section-header h2 {
    font-size: 36px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .service-card:hover,
  .detail-card:hover,
  .contact-card:hover,
  .faq-item:hover,
  .practice-image:hover img {
    transform: none;
  }

  .btn:active,
  .primary-nav a:active,
  .faq-item button:active,
  .mobile-bottom-cta:active {
    transform: scale(0.985);
    transition-duration: 120ms;
  }
}

/* WordPress theme integration */
.admin-bar .site-header {
  top: 32px;
}

.page-content {
  margin-top: 28px;
}

.page-content > * + * {
  margin-top: 1.05em;
}

.page-content ul,
.page-content ol {
  padding-left: 1.25em;
  color: var(--color-muted);
}

.page-content a,
.legal-article a {
  color: #24535d;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page-content a:hover,
.legal-article a:hover {
  text-decoration: underline;
}

.post-summary {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.post-summary h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.post-summary .wp-post-image {
  width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: var(--radius-card);
}

.wp-block-image img,
.wp-block-media-text img {
  height: auto;
  border-radius: var(--radius-card);
}

.wp-block-button__link {
  border-radius: 999px;
  background: var(--color-winter-storm);
  color: var(--color-paper);
}

.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Structured legal pages */
.legal-article:has(.legal-layout) {
  max-width: 1040px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-article:has(.legal-layout) h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 82px);
}

.legal-article .legal-intro {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(26, 6, 0, 0.68);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
}

.legal-layout {
  display: grid;
  gap: 18px;
  margin-top: clamp(34px, 5vw, 54px);
}

.legal-section-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(26, 6, 0, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(180, 196, 195, 0.12)),
    var(--color-paper);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.78);
}

.legal-section-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 260px;
  height: 260px;
  background: url("../svg/pattern-signet-contour.svg") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.legal-section-card h2 {
  max-width: 720px;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.02;
}

.legal-section-card p {
  max-width: 76ch;
  margin-top: 16px;
  color: rgba(26, 6, 0, 0.66);
}

.legal-details {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.legal-detail-row {
  display: grid;
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(75, 112, 121, 0.16);
}

.legal-detail-label {
  color: rgba(75, 112, 121, 0.9);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-detail-value {
  min-width: 0;
  color: var(--color-soy-sauce);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.legal-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: rgba(26, 6, 0, 0.7);
}

.legal-list li {
  position: relative;
  padding-left: 20px;
}

.legal-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-winter-storm);
}

.legal-table-wrap {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid rgba(75, 112, 121, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.74);
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: rgba(26, 6, 0, 0.72);
  font-size: 0.94rem;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(75, 112, 121, 0.14);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: rgba(75, 112, 121, 0.92);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-muted-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(75, 112, 121, 0.16);
  color: rgba(26, 6, 0, 0.58);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .legal-main {
    padding: 46px 0 88px;
  }

  .legal-detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-section-card {
    border-radius: 18px;
  }
}

/* Mobile footer bottom fill: keep the fixed CTA over the footer color, not the page background. */
@media (max-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  }
}

/* FAQ headline clipping guard: Satoshi needs more vertical room for umlauts. */
.faq-section,
.faq-grid,
.faq-grid .section-header {
  overflow: visible;
}

.faq-grid .section-header {
  padding-top: 0.08em;
}

.faq-grid .section-header h2 {
  display: inline-block;
  overflow: visible;
  padding-block: 0.08em 0.14em;
  line-height: 1.08;
}

/* LCP guard: hero content must paint without waiting for deferred JS animations. */
.js .hero-copy > *,
.js .hero-media,
.js .hero-bento-strip {
  opacity: 1;
  clip-path: none;
  filter: none;
  transform: none;
  transition: none;
}

/* LCP-safe hero pass: keep decorative pattern out of the contentful path. */
.hero-pattern {
  background: none !important;
  filter: none !important;
  mask-image: none !important;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-pattern::before,
.hero-pattern::after {
  content: none !important;
  background: none !important;
}

.hero-bento-strip span {
  color: #4b7079;
}

/* Nosrati calm hero reveal - LCP safe. */
@media (prefers-reduced-motion: no-preference) {
  [data-hero-reveal="nosrati-calm"] {
    --nr-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --nr-ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="headline"],
  [data-hero-reveal="nosrati-calm"] [data-reveal-item="media"] {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center bottom;
    animation: nr-hero-settle 440ms var(--nr-ease-out) both;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="headline"] {
    animation-duration: 420ms;
    animation-delay: 40ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="media"] {
    animation-duration: 560ms;
    animation-delay: 90ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="eyebrow"],
  [data-hero-reveal="nosrati-calm"] [data-reveal-item="copy"],
  [data-hero-reveal="nosrati-calm"] [data-reveal-item="actions"],
  [data-hero-reveal="nosrati-calm"] [data-reveal-item="trust"],
  [data-hero-reveal="nosrati-calm"] [data-reveal-item="card"] {
    opacity: 0.96;
    transform: translate3d(0, 5px, 0);
    animation: nr-hero-rise 420ms var(--nr-ease-out) forwards;
    animation-delay: var(--nr-delay, 80ms);
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="eyebrow"] {
    --nr-delay: 40ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="copy"] {
    --nr-delay: 130ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="actions"] {
    --nr-delay: 190ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="trust"] {
    --nr-delay: 250ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="card"] {
    --nr-delay: 310ms;
  }

  [data-hero-reveal="nosrati-calm"] .hero-bento-strip article:nth-child(2) {
    --nr-delay: 360ms;
  }

  [data-hero-reveal="nosrati-calm"] .hero-bento-strip article:nth-child(3) {
    --nr-delay: 420ms;
  }

  [data-hero-reveal="nosrati-calm"] .hero-bento-strip article:nth-child(4) {
    --nr-delay: 480ms;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="media"] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="media"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.11) 42%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.08) 58%,
        rgba(255, 255, 255, 0) 100%
      );
    transform: translate3d(-120%, 0, 0);
    animation: nr-hero-sheen 620ms var(--nr-ease-soft) 160ms both;
  }

  @keyframes nr-hero-settle {
    from {
      transform: translate3d(0, 4px, 0) scale(0.998);
    }

    to {
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes nr-hero-rise {
    from {
      opacity: 0.96;
      transform: translate3d(0, 5px, 0);
    }

    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes nr-hero-sheen {
    from {
      transform: translate3d(-120%, 0, 0);
    }

    to {
      transform: translate3d(120%, 0, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-reveal="nosrati-calm"] *,
  [data-hero-reveal="nosrati-calm"] *::before,
  [data-hero-reveal="nosrati-calm"] *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-hero-reveal="nosrati-calm"] [data-reveal-item="media"]::after {
    content: none !important;
  }
}

.contact-form-card .form-status {
  box-sizing: border-box;
  width: 100%;
  margin: 22px 0 clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 3vw, 32px);
  border-radius: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.contact-form-card .form-status-text {
  margin-top: 0;
  line-height: 1.45;
}

.contact-form-card .form-status-title:not(:empty) + .form-status-text {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .contact-form-card .form-status {
    margin: 20px 0 22px;
    padding: 16px 18px;
    border-radius: 18px;
  }
}
