@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #261e2b;
  --ink-soft: #5f5562;
  --plum: #3b2543;
  --plum-deep: #211725;
  --coral: #d8674e;
  --coral-dark: #ae4936;
  --apricot: #efb48f;
  --sage: #dce5d3;
  --sage-deep: #44563f;
  --cream: #f6f0e7;
  --paper: #fffdf9;
  --rose: #f2e2dc;
  --line: #dcd2c7;
  --white: #ffffff;
  --success: #2f6a4f;
  --error: #a43434;
  --shadow: 0 24px 60px rgba(38, 30, 43, 0.13);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --container: 1240px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--plum-deep);
  background: var(--apricot);
}

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

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

.narrow-container {
  width: min(calc(100% - 48px), 920px);
  margin-inline: auto;
}

.section {
  padding-block: 104px;
}

.section-sm {
  padding-block: 76px;
}

.bg-cream {
  background: var(--cream);
}

.bg-rose {
  background: var(--rose);
}

.bg-plum {
  color: var(--white);
  background: var(--plum-deep);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--plum-deep);
  border: 2px solid var(--apricot);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 3px;
  background: currentColor;
  content: "";
}

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

.display-title {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
}

.section-title {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.3vw, 58px);
  font-weight: 600;
}

.section-intro {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.bg-plum .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.accent-text {
  color: var(--coral);
}

.underlined-text {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.underlined-text::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  z-index: -1;
  height: 12px;
  background: var(--apricot);
  content: "";
  transform: rotate(-1.5deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.button-primary:hover {
  background: var(--plum);
  border-color: var(--plum);
}

.button-dark {
  color: var(--white);
  background: var(--plum);
  border-color: var(--plum);
}

.button-dark:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

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

.button-light {
  color: var(--plum-deep);
  background: var(--paper);
  border-color: var(--paper);
}

.button-light:hover {
  background: var(--apricot);
  border-color: var(--apricot);
}

.button-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  color: var(--coral-dark);
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--plum);
}

/* Shared header */
.utility-bar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--plum-deep);
  font-size: 12px;
}

.utility-inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-availability {
  display: flex;
  align-items: center;
  gap: 9px;
}

.utility-availability::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--apricot);
  border-radius: 50%;
  content: "";
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 3px;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.desktop-nav a {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.desktop-nav a:hover {
  background: rgba(216, 103, 78, 0.08);
}

.desktop-nav a[aria-current="page"] {
  color: var(--coral-dark);
  background: var(--rose);
  border-color: rgba(216, 103, 78, 0.22);
}

.header-cta {
  min-height: 46px;
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  padding: 8px 0 22px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.mobile-nav .button {
  margin-top: 16px;
  border-bottom: 1px solid var(--coral);
  font-family: var(--font-body);
  font-size: 14px;
}

/* Homepage hero */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.home-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100% - var(--container)) / 2 + 44px));
  width: 1px;
  background: rgba(59, 37, 67, 0.1);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
  padding-block: 74px 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 42px;
}

.hero-copy .eyebrow {
  color: var(--sage-deep);
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-copy .eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.hero-title {
  max-width: 670px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6.1vw, 84px);
  font-weight: 600;
  line-height: 0.98;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-note::before {
  width: 40px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--coral);
  content: "";
}

.hero-visual {
  position: relative;
  padding: 0 0 48px 34px;
}

.hero-photo-wrap {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 100% 89%, 89% 100%, 0 100%);
}

.hero-photo {
  width: 100%;
  height: 510px;
  object-fit: cover;
  object-position: 48% center;
}

.doctor-caption {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: var(--white);
  background: rgba(33, 23, 37, 0.92);
}

.doctor-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.doctor-specialty {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.live-label {
  flex: 0 0 auto;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.score-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: min(360px, 82%);
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.score-heading {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.score-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.score-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.score-change {
  padding-bottom: 5px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.vital-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.vital {
  padding-inline: 12px;
  border-right: 1px solid var(--line);
}

.vital:first-child {
  padding-left: 0;
}

.vital:last-child {
  padding-right: 0;
  border-right: 0;
}

.vital-label {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
}

.vital-value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

/* Section headings and home about */
.section-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 60px;
}

.section-heading-grid .section-title {
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.about-copy .text-link {
  margin-top: 14px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-item {
  min-height: 200px;
  padding: 26px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-number {
  display: block;
  margin-bottom: 32px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.value-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.value-item p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

/* Services ledger */
.services-home {
  background: var(--rose);
}

.service-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid rgba(38, 30, 43, 0.3);
}

.service-ledger-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(38, 30, 43, 0.3);
}

.service-ledger-number {
  padding-top: 4px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.service-ledger-item h3 {
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 600;
}

.service-ledger-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.service-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 14px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.service-ledger-item:hover .service-arrow {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
  transform: rotate(45deg);
}

/* Home care principles */
.principles-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.principles-heading {
  position: sticky;
  top: 28px;
  align-self: start;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.priority-card {
  min-height: 230px;
  padding: 30px;
  color: var(--ink);
  background: var(--cream);
}

.priority-card:nth-child(2) {
  background: var(--sage);
}

.priority-card:nth-child(3) {
  background: var(--apricot);
}

.priority-card:nth-child(4) {
  color: var(--white);
  background: var(--coral-dark);
}

.priority-index {
  display: block;
  margin-bottom: 56px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.priority-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 600;
}

.priority-card p {
  font-size: 13px;
  opacity: 0.8;
}

.care-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.care-note {
  padding-left: 22px;
  border-left: 2px solid var(--coral);
}

.care-note h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.care-note p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

/* Calls to action */
.contact-band {
  color: var(--plum-deep);
  background: var(--apricot);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 70px;
  align-items: end;
}

.contact-band .eyebrow {
  color: var(--plum);
}

.contact-band .section-title {
  max-width: 720px;
  margin-bottom: 18px;
}

.contact-band p {
  max-width: 650px;
  font-size: 17px;
}

.contact-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 8px;
}

.contact-band-phone {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* Inner page hero */
.page-hero {
  position: relative;
  padding-block: 84px;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -110px;
  right: -70px;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(216, 103, 78, 0.1);
  border-radius: 50%;
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 70px;
  align-items: end;
}

.page-hero .display-title {
  max-width: 790px;
  margin-bottom: 0;
}

.page-hero-copy {
  color: var(--ink-soft);
  font-size: 17px;
}

.page-hero-dark {
  color: var(--white);
  background: var(--plum-deep);
  border-bottom-color: var(--plum-deep);
}

.page-hero-dark .page-hero-copy {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-sage {
  background: var(--sage);
}

.page-hero-rose {
  background: var(--rose);
}

/* About page */
.about-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-hero-card {
  min-height: 160px;
  padding: 22px;
  background: var(--paper);
}

.about-hero-card:nth-child(2),
.about-hero-card:nth-child(3) {
  background: var(--sage);
}

.about-hero-card .number {
  display: block;
  margin-bottom: 38px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.about-hero-card .label {
  font-size: 13px;
  font-weight: 700;
}

.about-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
}

.about-page-intro .section-title {
  position: sticky;
  top: 28px;
}

.about-page-copy p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

.about-page-copy .value-list {
  margin-top: 42px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  display: flex;
  grid-column: span 2;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.story-card:nth-child(1),
.story-card:nth-child(2) {
  grid-column: span 3;
}

.story-card.featured {
  color: var(--white);
  background: var(--plum);
  border-color: var(--plum);
}

.story-stars {
  margin-bottom: 24px;
  color: var(--coral-dark);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.story-card.featured .story-stars {
  color: var(--apricot);
}

.story-quote {
  flex: 1;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.story-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.story-card.featured .story-person {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.story-initial {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--coral-dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
}

.story-name {
  font-size: 14px;
  font-weight: 700;
}

.story-role {
  color: var(--ink-soft);
  font-size: 12px;
}

.story-card.featured .story-role {
  color: rgba(255, 255, 255, 0.65);
}

/* Services page */
.service-page-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  list-style: none;
}

.service-page-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(38, 30, 43, 0.25);
  font-size: 13px;
  font-weight: 700;
}

.service-page-index a:hover {
  color: var(--coral-dark);
}

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

.directory-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 26px;
  background: var(--cream);
  border-top: 4px solid var(--plum);
  transition: background-color 180ms ease, transform 180ms ease;
}

.directory-card:nth-child(3n + 2) {
  border-top-color: var(--coral);
}

.directory-card:nth-child(3n) {
  border-top-color: var(--sage-deep);
}

.directory-card:hover {
  background: var(--rose);
  transform: translateY(-4px);
}

.directory-number {
  margin-bottom: 42px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.directory-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 600;
}

.directory-card p {
  flex: 1;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.directory-link {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
}

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

.specialty-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  padding-block: 50px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.specialty-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.specialty-index {
  flex: 0 0 auto;
  padding-top: 7px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.specialty-item h3 {
  margin-bottom: 0;
  font-size: 31px;
  font-weight: 600;
}

.specialty-item p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

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

.wellness-card {
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--coral);
}

.wellness-card:nth-child(2n) {
  border-left-color: var(--sage-deep);
}

.wellness-number {
  display: block;
  margin-bottom: 30px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.wellness-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  font-weight: 600;
}

.wellness-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* Contact and forms */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

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

.contact-detail {
  display: flex;
  gap: 18px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--coral-dark);
  background: var(--rose);
  border-radius: 50%;
}

.contact-detail-icon svg {
  width: 19px;
  height: 19px;
}

.contact-detail-label {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.contact-detail-value {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

a.contact-detail-value:hover {
  color: var(--coral-dark);
}

.form-panel {
  padding: clamp(26px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 var(--rose);
}

.form-panel-title {
  margin-bottom: 8px;
  font-size: 31px;
  font-weight: 600;
}

.form-panel-intro {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.form-field {
  min-width: 0;
}

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

.form-field label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #bdb2a8;
  border-radius: 2px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 142px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--coral-dark);
  box-shadow: 0 0 0 3px rgba(216, 103, 78, 0.14);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(164, 52, 52, 0.1);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 12px;
  line-height: 1.45;
}

.consent-field {
  grid-column: 1 / -1;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
}

.consent-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--coral-dark);
}

.consent-label a {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 80px;
  align-items: start;
}

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

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

.faq-item summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 24px;
  right: 4px;
  color: var(--coral-dark);
  content: "+";
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

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

.faq-answer {
  max-width: 680px;
  padding: 0 40px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* Newsletter and unsubscribe */
.newsletter-section {
  padding-block: 90px;
  background: var(--cream);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 var(--apricot);
}

.newsletter-copy {
  position: relative;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
}

.newsletter-copy::after {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(239, 180, 143, 0.16);
  border-radius: 50%;
  content: "";
}

.newsletter-copy .section-title {
  font-size: clamp(38px, 4vw, 54px);
}

.newsletter-copy p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.newsletter-form-wrap {
  padding: clamp(30px, 5vw, 64px);
}

.newsletter-form-wrap .form-panel-title {
  font-size: 28px;
}

.unsubscribe-section {
  padding-block: 100px;
  background: var(--rose);
}

.unsubscribe-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 90px;
  align-items: center;
}

.unsubscribe-copy p {
  max-width: 550px;
  color: var(--ink-soft);
  font-size: 17px;
}

.unsubscribe-form-panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
  border-top: 6px solid var(--coral);
  box-shadow: var(--shadow);
}

.unsubscribe-form-panel .form-grid {
  grid-template-columns: 1fr;
}

/* Legal pages */
.legal-section {
  padding-block: 72px 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 74px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  padding-right: 14px;
  overflow-y: auto;
}

.legal-nav-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.legal-nav ol {
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.legal-nav a {
  display: block;
  padding: 10px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.45;
}

.legal-nav a:hover {
  color: var(--coral-dark);
}

.legal-content {
  max-width: 850px;
}

.legal-article {
  padding-bottom: 32px;
  scroll-margin-top: 24px;
}

.legal-article + .legal-article {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-article h2 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-article p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.legal-article a {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Shared footer */
.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--plum-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1.15fr;
  gap: 56px;
  padding-block: 74px 58px;
}

.footer-brand .brand {
  margin-bottom: 24px;
  color: var(--white);
}

.footer-description {
  max-width: 310px;
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-newsletter-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--apricot);
  font-size: 13px;
  font-weight: 700;
}

.footer-newsletter-link:hover {
  color: var(--white);
}

.footer-title {
  margin-bottom: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.footer-links {
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 11px;
}

.footer-links a {
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--apricot);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
}

.footer-contact li + li {
  margin-top: 15px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--apricot);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 11px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-legal a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Toasts */
.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 500;
  display: flex;
  width: min(420px, calc(100% - 32px));
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  gap: 12px;
  align-items: start;
  padding: 17px 16px;
  color: var(--white);
  background: var(--plum-deep);
  border-left: 4px solid var(--sage);
  box-shadow: 0 18px 45px rgba(33, 23, 37, 0.3);
  pointer-events: auto;
  animation: toast-in 240ms ease both;
}

.toast-error {
  border-left-color: #ef9b91;
}

.toast-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--plum-deep);
  background: var(--sage);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.toast-error .toast-icon {
  background: #ef9b91;
}

.toast-message {
  padding-top: 2px;
  font-size: 13px;
  line-height: 1.55;
}

.toast-close {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.toast-close:hover {
  color: var(--white);
}

.toast.is-leaving {
  animation: toast-out 180ms ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px); }
}

/* Reveal motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal="left"] {
  transform: translateX(-22px);
}

.js [data-reveal="left"].is-visible {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 42px;
  }

  .hero-copy {
    padding-left: 20px;
  }

  .hero-title {
    font-size: clamp(50px, 6vw, 68px);
  }

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

  .directory-card {
    min-height: 250px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-contact li + li {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 82px;
  }

  .utility-links {
    gap: 16px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .page-hero-grid,
  .about-layout,
  .about-page-intro,
  .principles-layout,
  .contact-layout,
  .faq-layout,
  .newsletter-layout,
  .unsubscribe-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 58px 72px;
  }

  .hero-copy {
    max-width: 740px;
    padding-left: 20px;
  }

  .hero-title {
    font-size: clamp(54px, 9vw, 80px);
  }

  .hero-visual {
    width: min(100%, 680px);
    margin-left: auto;
  }

  .section-heading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }

  .principles-heading,
  .about-page-intro .section-title,
  .legal-nav {
    position: static;
  }

  .principles-layout,
  .contact-layout,
  .faq-layout,
  .about-page-intro,
  .unsubscribe-layout {
    gap: 46px;
  }

  .care-notes {
    gap: 24px;
  }

  .page-hero-grid {
    gap: 34px;
  }

  .page-hero-copy {
    max-width: 680px;
  }

  .about-hero-cards {
    max-width: 660px;
  }

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

  .story-card,
  .story-card:nth-child(1),
  .story-card:nth-child(2) {
    grid-column: span 1;
  }

  .story-card:last-child {
    grid-column: 1 / -1;
  }

  .specialty-item {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 36px;
  }

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

  .contact-detail {
    flex-direction: column;
    padding: 20px;
    background: var(--cream);
    border: 1px solid var(--line);
  }

  .newsletter-layout {
    box-shadow: 12px 12px 0 var(--apricot);
  }

  .legal-layout {
    gap: 42px;
  }

  .legal-nav {
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .legal-nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

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

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .footer-contact {
    display: block;
  }

  .footer-contact li + li {
    margin-top: 15px;
  }
}

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

  .section {
    padding-block: 66px;
  }

  .section-sm {
    padding-block: 56px;
  }

  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .utility-links {
    display: none;
  }

  .navbar {
    min-height: 74px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .home-hero::before {
    display: none;
  }

  .hero-grid {
    padding-block: 46px 60px;
  }

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

  .hero-title {
    font-size: clamp(46px, 13.2vw, 66px);
  }

  .hero-description {
    font-size: 16px;
  }

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

  .hero-visual {
    padding: 0 0 70px;
  }

  .hero-photo-wrap,
  .hero-photo {
    min-height: 410px;
    height: 410px;
  }

  .doctor-caption {
    padding: 15px 16px;
  }

  .score-panel {
    width: calc(100% - 20px);
    padding: 19px;
  }

  .value-list,
  .service-ledger,
  .priority-grid,
  .care-notes,
  .wellness-grid,
  .form-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: auto;
  }

  .value-number {
    margin-bottom: 22px;
  }

  .service-ledger-item {
    grid-template-columns: 34px 1fr 28px;
    gap: 12px;
  }

  .priority-card {
    min-height: 190px;
  }

  .priority-index {
    margin-bottom: 36px;
  }

  .care-notes {
    margin-top: 48px;
  }

  .contact-band-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero {
    padding-block: 60px;
  }

  .page-hero::after {
    width: 240px;
    height: 240px;
    border-width: 48px;
  }

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

  .about-hero-card {
    min-height: 140px;
  }

  .stories-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .story-card:last-child {
    grid-column: auto;
  }

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

  .directory-number {
    margin-bottom: 26px;
  }

  .specialty-item {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 38px;
  }

  .specialty-item h3 {
    font-size: 27px;
  }

  .wellness-card {
    padding: 26px;
  }

  .contact-detail {
    flex-direction: row;
  }

  .form-panel {
    box-shadow: 8px 8px 0 var(--rose);
  }

  .form-field-full,
  .consent-field,
  .form-submit,
  .form-status {
    grid-column: auto;
  }

  .faq-item summary {
    font-size: 17px;
  }

  .newsletter-section,
  .unsubscribe-section {
    padding-block: 60px;
  }

  .newsletter-layout {
    box-shadow: 8px 8px 0 var(--apricot);
  }

  .legal-nav ol {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
    padding-block: 58px 44px;
  }

  .footer-main > div:first-child,
  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 390px) {
  .button-row .button {
    width: 100%;
  }

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

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

  .footer-main > div:first-child,
  .footer-main > div:last-child {
    grid-column: auto;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .site-footer,
  .legal-nav,
  .toast-region,
  .contact-band {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .legal-layout {
    display: block;
  }

  .legal-section {
    padding: 24px 0;
  }
}
