/* SPR Clinic - preview build, November 2026 */

:root {
  --ink: #0b3a4f;          /* deep navy for text, a shade darker than the logo */
  --ink-soft: #3b5b69;
  --teal: #0e6e7e;         /* airway teal: links and buttons (AA on white) */
  --teal-dark: #0a5562;
  --brand-navy: #0c5474;   /* logo: SOUTHAMPTON */
  --brand-teal: #49b6c5;   /* logo: PAEDIATRIC RESPIRATORY CLINIC */
  --breath: #46b4c3;       /* logo wave: the breath line and small accents */
  --mint: #d6f0ea;
  --wash: #f1f8f7;         /* sea-glass background for alternate sections */
  --line: #d3e6e3;
  --white: #ffffff;
  --care-red: #b42318;
  --care-red-bg: #fdf2f1;
  --focus: #f2b705;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --measure: 66ch;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 84px; /* room for the call bar on phones */
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

@media (min-width: 960px) {
  body {
    font-size: 1.125rem;
  }
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.012em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--mint);
  color: var(--teal-dark);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

/* Horizontal logo: the emblem from Julian's logo file, with the name in the
   logo's colours and line breaks */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
}

.brand-line1 {
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--brand-navy);
  margin-bottom: 0.15rem;
}

.brand-line2 {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--brand-teal);
}

@media (max-width: 400px) {
  .brand { gap: 0.55rem; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-line1 { font-size: 0.95rem; }
  .brand-line2 { font-size: 0.62rem; letter-spacing: 0.1em; }
}

.nav {
  display: none;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
}

.nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--teal);
  text-decoration: underline;
}

.header-book {
  display: none;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 0.55rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.menu[open] summary {
  border-color: var(--teal);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(78vw, 300px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 18px 40px -24px rgba(11, 58, 79, 0.5);
}

.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-panel a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.menu-panel a:hover {
  background: var(--wash);
}

@media (min-width: 720px) {
  .header-phone,
  .header-book {
    display: inline-flex;
  }
}

/* Six menu items fit beside the logo from 1180px. The phone number
   rejoins them once the header can widen. */
@media (min-width: 1180px) {
  .nav {
    display: block;
  }

  .menu {
    display: none;
  }

  .header-phone {
    display: none;
  }
}

@media (min-width: 1360px) {
  .site-header .wrap {
    width: min(1240px, 100% - 2.5rem);
  }

  .header-phone {
    display: inline-flex;
  }
}

.nav a[aria-current] {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.menu-panel a[aria-current] {
  background: var(--wash);
  color: var(--teal-dark);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--wash);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.75rem;
}

.hero-text h1 {
  max-width: 13.5ch;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.1rem;
}

.hero-note {
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.doctor {
  margin: 0;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 1.1rem;
  align-items: center;
}

.doctor-photo {
  border-radius: 16px;
  background: var(--mint);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.doctor-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}

.doctor-roles {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.doctor-roles span {
  display: block;
}

.postnominals {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.breath {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 170;
  max-height: 150px;
  margin-top: 1.5rem;
}

.page-head .breath {
  max-height: 90px;
  margin-top: 0.5rem;
}

.breath path {
  fill: none;
  stroke: var(--breath);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: breathe-in 2.8s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s forwards;
}

.breath-static path {
  stroke-dashoffset: 0;
  animation: none;
}

@keyframes breathe-in {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breath path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 4.5rem;
    align-items: end;
    padding-top: 4.5rem;
  }

  .doctor {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .doctor-photo {
    border-radius: 20px;
  }

  .lede {
    font-size: 1.32rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 4rem;
}

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

.section-head {
  margin-bottom: 2.25rem;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 58ch;
}

@media (min-width: 960px) {
  .section {
    padding-block: 5.5rem;
  }
}

/* Conditions: a typographic index rather than cards */

.conditions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 4rem;
  border-bottom: 1px solid var(--line);
}

.conditions li {
  border-top: 1px solid var(--line);
}

.condition {
  display: block;
  padding: 1.1rem 0 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.condition-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.condition-desc {
  display: block;
  color: var(--ink-soft);
}

a.condition .condition-name {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a.condition:hover .condition-name {
  text-decoration-thickness: 2px;
}

@media (min-width: 800px) {
  .conditions {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
  }

  .conditions li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Reasons */

.reasons {
  display: grid;
  gap: 2rem;
}

.reason h3 {
  border-top: 2px solid var(--breath);
  padding-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.reason p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .reasons {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem 4rem;
  }
}

/* Steps: a real sequence, so numbered */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 2.25rem;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.steps h3 {
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* About */

.about {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.credentials {
  margin: 0;
}

.credentials div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

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

.credentials dt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.credentials dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4.5rem;
  }
}

/* Fees */

.fees-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.fees-table th,
.fees-table td {
  text-align: left;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.fees-table th {
  font-weight: 400;
}

.fees-table td {
  text-align: right;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  padding-left: 1.5rem;
}

.fees-table small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.fine {
  color: var(--ink-soft);
}

/* Quotes */

.quotes {
  display: grid;
  gap: 2.5rem;
}

.quote {
  margin: 0;
}

.quote blockquote {
  margin: 0 0 0.9rem;
}

.quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.5;
  margin: 0;
}

.quote figcaption {
  font-weight: 700;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* Book */

.book {
  display: grid;
  gap: 2.5rem;
}

.contact-lines {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.contact-lines a {
  font-weight: 700;
}

.address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.care-card {
  border: 2px solid var(--care-red);
  background: var(--care-red-bg);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.care-card h2,
.care-card h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--care-red);
  margin: 0 0 0.5rem;
}

.care-card ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.care-card p:last-child,
.care-card ul:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .book {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Condition pages ---------- */

.page-head {
  background: var(--wash);
  padding-top: 2.25rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.breadcrumb li + li::before {
  content: "\203A";
  margin-right: 0.4rem;
  color: var(--ink-soft);
}

.page-head h1 {
  max-width: 18ch;
}

.byline {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.article {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem 4rem;
}

.toc {
  font-size: 0.98rem;
}

.toc h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.toc a {
  display: block;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.prose h2 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  margin-top: 2.75rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
  max-width: var(--measure);
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.55rem;
}

.prose .care-card {
  margin: 2.5rem 0;
  max-width: var(--measure);
}

.prose .care-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.cta-band {
  background: var(--ink);
  color: #e3f1f1;
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0 2.5rem;
}

.cta-band h2 {
  color: var(--white);
  margin-top: 0;
}

.cta-band p {
  color: #e3f1f1;
}

.cta-band .hero-actions {
  margin-bottom: 0;
}

.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.related {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

@media (min-width: 1040px) {
  .article {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 4.5rem;
  }

  .toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #d6e8ea;
  padding-block: 3.5rem 2.5rem;
  font-size: 1rem;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

/* The full logo, unchanged, on its own off-white tile */
.footer-logo {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: #fffefc;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(214, 232, 234, 0.25);
  font-size: 0.92rem;
}

.footer-legal p {
  max-width: none;
  margin-bottom: 0.4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

/* ---------- Call bar on phones ---------- */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
}

.callbar .btn {
  flex: 1;
}

@media (min-width: 720px) {
  .callbar {
    display: none;
  }
}

/* ---------- Added for the full site, November 2026 ---------- */

/* Trust strip under the homepage hero */

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

.trust ul {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.trust li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.trust strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

@media (min-width: 820px) {
  .trust ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .trust li + li {
    border-left: 1px solid var(--line);
    padding-left: 2rem;
  }
}

/* Questions that open and close */

.faq {
  max-width: var(--measure);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

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

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq .answer {
  padding: 0 0 1.25rem;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* Neutral information box */

.note {
  max-width: var(--measure);
  margin: 2rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--wash);
  border-left: 3px solid var(--breath);
  border-radius: 0 10px 10px 0;
}

.note h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.note p:last-child,
.note ul:last-child {
  margin-bottom: 0;
}

/* Longer pages */

.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
}

.prose ol {
  padding-left: 1.4rem;
  max-width: var(--measure);
  margin: 0 0 1.25rem;
}

.prose .steps {
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 1.5rem 0 2rem;
  padding-left: 0;
}

.prose .fees-table {
  margin-top: 0.5rem;
}

.prose .conditions {
  margin-bottom: 2rem;
}

/* Profile page */

.profile {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-block: 3rem 1rem;
}

.profile-photo {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--mint);
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .profile {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4.5rem;
  }
}

/* Contact page */

.contact-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem 4rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Final touches */

.cta-band h2 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
}

.contact-grid .care-card {
  margin-top: 2rem;
}

.prose .note h3 {
  margin-top: 0;
}

/* ---------- Email-first booking, November 2026 ---------- */

/* Every Book an appointment button opens a new email. The envelope says so
   before anyone taps. */

.btn {
  gap: 0.55rem;
}

.btn .icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.menu-panel a.menu-book {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
  background: var(--teal);
  color: var(--white);
}

.menu-panel a.menu-book:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.menu-book .icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.email-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0.25rem 0 1.25rem;
}

.email-address {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  color: var(--teal-dark);
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.copy-email {
  min-height: 40px;
  padding: 0.35rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-email:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.email-checklist {
  margin: 0 0 0.25rem;
  padding-left: 1.2rem;
}

.email-checklist li {
  margin-bottom: 0.3rem;
}

.phone-fallback {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cta-band p a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.book .hero-actions {
  margin-bottom: 2.25rem;
}