/* The Body Remedy: shared styles. Headings Cormorant Garamond, body Proxima Nova, Irish green brand. */
:root {
  --paper: #F7F8F4;
  --white: #FFFFFF;
  --sage: #E6F2EA;
  --sage-deep: #CFE6D6;
  --ink: #16291F;
  --body: #4E5F55;
  --line: #DDE9E0;
  --deep: #00572A;
  --deep-2: #006B30;
  --green: #007535;
  --irish: #009A44;
  --button: #007F38;
  --soft: #009A44;
  --bright: #46D687;
  --pale: #BFE8CD;
  --head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --text: 'proxima-nova', 'Proxima Nova', 'Figtree', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 26px;
  --ease: cubic-bezier(.22,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(52px, 6.4vw, 90px); line-height: 1; }
h2 { font-size: clamp(38px, 4.3vw, 58px); }
h3 { font-size: 31px; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 36px; }
.band { padding: 112px 0; }
.white { background: var(--white); }
.sage { background: var(--sage); }
.stack > * + * { margin-top: 18px; }
.muted { color: var(--body); }
.lead { font-size: 20px; color: var(--body); }
.strong-line { font-family: var(--text); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--deep); }
.inline-link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Eyebrow with a short leading rule */
.label { display: flex; align-items: center; gap: 14px; font-family: var(--text); font-weight: 800; font-size: 13px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.label::before { content: ""; flex: none; width: 34px; height: 1.5px; background: currentColor; opacity: .55; }

/* Two-tone headings: a lighter line above a strong line */
.two-tone .soft { display: block; font-weight: 700; color: var(--irish); }
.two-tone .firm { display: block; font-weight: 700; color: var(--ink); }
.on-dark .two-tone .soft, .on-dark.two-tone .soft { color: var(--pale); }
.on-dark .two-tone .firm, .on-dark.two-tone .firm { color: #fff; }

/* Buttons */
.cta { display: inline-flex; align-items: center; gap: 16px; padding: 8px 8px 8px 28px; border: 0; border-radius: 999px; font-family: var(--text); font-weight: 800; font-size: 16px; line-height: 1.25; text-decoration: none; background: var(--button); color: #fff; cursor: pointer; box-shadow: 0 10px 26px rgba(0,87,42,.18); transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.cta i { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--button); transition: transform .35s var(--ease); }
.cta svg { width: 18px; height: 18px; }
.cta:hover { background: var(--deep); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,87,42,.24); }
.cta:hover i { transform: translateX(3px); }
.cta.quiet { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.cta.quiet i { background: var(--sage-deep); }
.cta.quiet:hover { background: var(--deep); color: #fff; }
.cta.quiet:hover i { background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--text); font-weight: 800; font-size: 16px; color: var(--deep); text-decoration: none; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 86px; max-width: 1320px; }
.logo { flex: none; }
.logo img { height: 62px; width: auto; max-width: none; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 8px 13px; text-decoration: none; font-weight: 700; font-size: 15.5px; border-radius: 10px; transition: color .25s; }
.menu a:hover, .menu a[aria-current] { color: var(--green); }
.menu .sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(0,87,42,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.head-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.head-actions .text { font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.head-actions .text:hover { color: var(--green); }
.head-actions .cta { padding: 5px 5px 5px 20px; font-size: 14.5px; gap: 10px; white-space: nowrap; }
.head-actions .cta i { width: 34px; height: 34px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav svg { width: 22px; height: 22px; }
.mobile-nav .panel { position: absolute; right: 0; top: 56px; width: min(84vw, 340px); max-height: 74vh; overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 18px 40px rgba(0,87,42,.16); }
.mobile-nav a { display: block; padding: 9px 12px; text-decoration: none; font-weight: 700; }
.mobile-nav .indent a { padding-left: 28px; font-weight: 600; color: var(--body); }

/* Hero: copy on the left, full-bleed photo on the right */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 690px; background: var(--sage); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 72px 64px 72px max(36px, calc((100vw - 1200px) / 2 + 36px)); }
.hero-copy .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.hero-photo { position: relative; overflow: hidden; background: var(--sage-deep); min-height: 100%; }
.hero-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: var(--focus, 62%) center; will-change: transform; }
.hero.short { min-height: 520px; }

/* Ticker */
.ticker { background: var(--deep); color: var(--pale); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { font-family: var(--text); font-weight: 700; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; padding: 0 28px; position: relative; }
.ticker li::after { content: "·"; position: absolute; right: -2px; color: var(--bright); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Intro split */
.split { display: grid; grid-template-columns: 1.08fr 1fr; gap: 80px; align-items: center; }
.split-photo { border-radius: var(--radius); overflow: hidden; height: 620px; background: var(--sage-deep); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Green band with an overlapping card */
.overlap-band { background: var(--deep); color: #fff; padding: 112px 0 260px; border-radius: 0 0 50% 50% / 0 0 64px 64px; }
.overlap-band .label { color: var(--bright); }
.overlap-band .cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.overlap-band h2 { margin-top: 14px; }
.overlap-band .stack p { color: #DFE9DA; }
.overlap-card-wrap { position: relative; margin-top: -188px; padding-bottom: 8px; }
.overlap-card { background: var(--white); border-radius: 32px; padding: 54px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 54px; box-shadow: 0 30px 70px rgba(0,87,42,.16); }
.overlap-card .left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 54px; border-right: 1px solid var(--line); }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Section heading split: headline left, text right */
.sec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; padding-bottom: 44px; margin-bottom: 52px; border-bottom: 1px solid var(--line); }
.sec-split h2 { margin-top: 14px; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.svc { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc figure { margin: 0; height: 350px; overflow: hidden; }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover img { transform: scale(1.04); }
.svc .body { padding: 34px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: 1; }
.svc .body p { color: var(--body); flex: 1; }

/* Testimonials */
.dark { background: var(--deep); color: #fff; }
.dark .label { color: var(--bright); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.quote { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; color: #EAF2E6; }
.quote cite { font-style: normal; font-family: var(--text); font-weight: 800; color: var(--pale); }
.stars { color: var(--bright); letter-spacing: 3px; font-size: 15px; line-height: 1; }

/* Conditions */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { padding: 11px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--text); font-weight: 700; font-size: 17px; line-height: 1.3; }

/* Meet Dr. Allie */
.doctor .cols { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 92px; }
.doctor-photo-wrap { position: relative; }
.doctor-photo { height: 660px; border-radius: 340px 340px var(--radius) var(--radius); overflow: hidden; background: var(--sage-deep); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.badge { position: absolute; right: -28px; bottom: 56px; background: var(--deep); color: #fff; border-radius: 18px; padding: 16px 24px; font-family: var(--text); font-weight: 700; font-size: 16px; line-height: 1.35; box-shadow: 0 18px 40px rgba(0,87,42,.24); }
.doctor .name { font-size: clamp(46px, 5.6vw, 76px); line-height: 1.04; margin: 16px 0 24px; }
.doctor .bio { font-size: 19px; color: var(--body); margin-bottom: 34px; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 28px; align-items: stretch; }
.panel-card { background: var(--white); border-radius: var(--radius); padding: 36px; }
.panel-card h2 { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; line-height: 1.4; }
.panel-card a { text-decoration: none; }
.panel-card a:hover { color: var(--green); }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; background: var(--sage-deep); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Inner page heading */
.page-head { background: var(--sage); padding: 96px 0 84px; }
.page-head h1 { margin-top: 16px; }
.page-head .lead { max-width: 44em; margin-top: 22px; }

/* About */
.cycles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cycle { background: var(--sage); border-radius: 20px; padding: 28px 30px; font-family: var(--text); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--deep); }
.dark-list li { position: relative; padding: 16px 0 16px 36px; border-top: 1px solid rgba(255,255,255,.18); color: #E7F0E2; }
.dark-list li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: var(--bright); }
.formula { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.formula li { background: var(--white); border-radius: 18px; padding: 24px; font-family: var(--text); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--deep); text-align: center; }

/* Services page */
.service { display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: start; }
.service-side { position: sticky; top: 118px; display: grid; gap: 26px; }
.service-side figure { margin: 0; border-radius: var(--radius); overflow: hidden; height: 400px; background: var(--sage-deep); }
.service-side img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--sage); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.white .callout, .callout { background: var(--deep); color: #fff; border-radius: 20px; padding: 24px 28px; font-family: var(--text); font-weight: 700; font-size: 20px; line-height: 1.4; }
.techniques { display: grid; gap: 16px; }
.techniques li { background: var(--white); border-radius: 20px; padding: 26px 28px; color: var(--body); }
.techniques strong { display: block; font-family: var(--text); font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--deep); margin-bottom: 6px; }

/* FAQ */
.faq-cols { display: grid; grid-template-columns: 1fr 1.9fr; gap: 72px; align-items: start; }
.faq-side { position: sticky; top: 118px; }
details.q { background: var(--white); border-radius: 20px; padding: 6px 28px; margin-bottom: 12px; }
details.q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; font-family: var(--text); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--deep); }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--green); font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
details.q[open] summary::after { transform: rotate(45deg); }
details.q .a { padding: 0 0 22px; color: var(--body); }
details.q .a > * + * { margin-top: 14px; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.areas a { background: var(--sage); padding: 6px 15px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.areas a:hover { background: var(--deep); color: #fff; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: 0 20px 50px rgba(0,87,42,.08); }
.form-card > p:first-child, .form-title { font-family: var(--text); font-weight: 700; font-size: 23px; line-height: 1.3; letter-spacing: -.01em; color: var(--deep); margin-bottom: 26px; }
.sample-form { display: grid; gap: 16px; }
.sample-form label, .sample-form legend { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.sample-form input:not([type=radio]), .sample-form select, .sample-form textarea { font: inherit; font-weight: 400; width: 100%; padding: 13px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.sample-form textarea { min-height: 130px; resize: vertical; }
.sample-form fieldset { border: 0; margin: 0; padding: 0; }
.sample-form .radio { display: inline-flex; gap: 8px; align-items: center; margin: 8px 22px 0 0; font-weight: 600; grid-auto-flow: column; }
.sample-form .cta { justify-self: start; }
.sample-note { font-size: 13.5px; color: var(--body); }
.feedback { max-width: 620px; margin: 0 auto; text-align: left; }

/* Footer */
.site-foot { background: var(--deep); color: #DCE7D6; padding: 72px 0 40px; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-name { font-family: var(--text); font-weight: 800; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pale); margin-top: 6px; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .3s; }
.social a:hover { background: var(--green); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #A9BFA4; font-size: 13.5px; }

/* Scroll motion: slow and gentle to keep the page calm */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity 1.15s var(--ease), transform 1.15s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-r="photo"] { transform: none; }
.js [data-r="photo"] img { transform: scale(1.07); transition: transform 1.6s var(--ease); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-r="photo"].in img { transform: none; }
.js .hero-photo[data-r="photo"].in img { transform: var(--drift, none); transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js [data-r], .js [data-r] img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 1160px) {
  .menu, .head-actions .text { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 940px) {
  .band { padding: 80px 0; }
  .hero, .split, .svc-grid, .quotes, .visit-grid, .contact-grid, .sec-split, .overlap-band .cols, .overlap-card, .doctor .cols, .service, .faq-cols, .cycles, .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 56px 36px; }
  .hero-photo { height: 440px; }
  .split-photo { height: 460px; }
  .overlap-card { padding: 36px; }
  .overlap-card .left { padding-right: 0; padding-bottom: 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .doctor-photo { height: 520px; max-width: 460px; }
  .doctor-photo-wrap { max-width: 460px; width: 100%; margin: 0 auto; }
  .badge { right: 10px; }
  .service-side, .faq-side { position: static; }
  .sec-split { align-items: start; gap: 20px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .site-head .wrap { height: 76px; }
  .logo img { height: 52px; }
  .head-actions .cta { display: none; }
  .hero-copy { padding: 48px 20px; }
  .hero-actions, .hero-actions .cta { width: 100%; }
  .hero-actions .cta { justify-content: space-between; }
  .hero-photo { height: 360px; }
  .overlap-band { padding: 80px 0 230px; border-radius: 0 0 50% 50% / 0 0 32px 32px; }
  .overlap-card, .svc .body, .quote, .panel-card, .form-card { padding: 26px; }
  .svc figure { height: 260px; }
  .formula { grid-template-columns: 1fr; }
  details.q { padding: 4px 20px; }
  .doctor-photo { height: 440px; }
}

/* Display type: Cormorant Garamond, bold */
.strong-line, .cycle, .callout, .formula li, .techniques strong, details.q summary, .form-title, .form-card > p:first-child, .foot-name, .doctor .name { font-family: var(--head); font-weight: 700; }
.strong-line { font-size: 27px; line-height: 1.2; }
.cycle { font-size: 27px; line-height: 1.2; }
.callout { font-size: 26px; line-height: 1.22; }
.formula li { font-size: 24px; line-height: 1.15; }
.techniques strong { font-size: 26px; line-height: 1.15; }
details.q summary { font-size: 26px; line-height: 1.15; }
.form-title, .form-card > p:first-child { font-size: 30px; line-height: 1.15; letter-spacing: 0; }
.foot-name { font-size: 25px; letter-spacing: .06em; text-transform: none; }
.doctor .name { font-size: clamp(56px, 6.4vw, 92px); line-height: 1; }
.panel-card h2 { font-family: var(--text); }
h2.label { font-family: var(--text); }
.callout { background: var(--deep); }

/* Looping testimonials: moves sideways, stops on hover */
.loop { overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.loop + .loop { margin-top: 24px; }
.loop-track { display: flex; width: max-content; }
.loop-set { display: flex; flex: none; align-items: stretch; gap: 24px; padding-right: 24px; }
.loop.ready { overflow: hidden; }
.loop.ready .loop-track { animation: loop var(--dur, 140s) linear infinite; }
.loop.ready.rev .loop-track { animation-direction: reverse; }
.loop.ready:hover .loop-track, .loop.ready:focus-within .loop-track, .loop.ready.paused .loop-track { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(-50%); } }
.t-card { flex: none; margin: 0; width: 460px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 36px; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 14px 36px rgba(0,87,42,.1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.t-card.s { width: 370px; }
.t-card.l { width: 640px; }
.t-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(0,87,42,.18); }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.7; }
.t-card cite { display: flex; align-items: center; gap: 12px; font-style: normal; font-weight: 700; color: var(--green); }
.t-card cite::before { content: ""; width: 26px; height: 2px; background: var(--irish); }
.testimonials-band { padding: 104px 0; overflow: hidden; }
.testimonials-band .head { margin-bottom: 48px; }
.testimonials-band h2 { color: #fff; margin-top: 14px; }

/* Standard content pages */
.sec-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: start; }
.sec-side { position: sticky; top: 118px; display: grid; gap: 26px; }
.sec-side figure, .inline-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sage-deep); }
.sec-side img { width: 100%; max-height: 430px; object-fit: cover; }
.inline-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inline-photos img { width: 100%; height: 280px; object-fit: cover; }
.read { max-width: 760px; margin: 0 auto; }
.read.center { text-align: center; }
.sub-title { font-size: 30px; line-height: 1.12; color: var(--ink); }
.on-dark .sub-title, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark li { color: #E2EEE6; }
.on-dark a:not(.cta) { color: #fff; font-weight: 700; }
.step-num { font-family: var(--head); font-weight: 700; font-size: 72px; line-height: 1; color: var(--irish); }
.on-dark .checks li::before { background-color: #fff; }

/* Conditions page */
.cond-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.cond-group { background: var(--white); border-radius: var(--radius); padding: 40px; }
.cond-group h2 { font-size: 40px; margin-bottom: 22px; }
.cond-group .chips li { background: var(--sage); }

/* Blog */
.blog-filter { display: inline-block; margin-bottom: 30px; font-weight: 700; color: var(--green); text-decoration: none; border-bottom: 2px solid var(--irish); padding-bottom: 3px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.post figure { margin: 0; height: 230px; overflow: hidden; background: var(--sage-deep); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover img { transform: scale(1.04); }
.post h2 { font-size: 29px; line-height: 1.12; padding: 26px 28px 30px; transition: color .3s; }
.post:hover h2 { color: var(--green); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; }
.legal > * + * { margin-top: 16px; }
.legal p, .legal li { color: var(--body); }
.legal ul { list-style: disc; padding-left: 24px; }

@media (prefers-reduced-motion: reduce) {
  .loop.ready .loop-track { animation: none; }
  .loop.ready { overflow-x: auto; }
}
@media (max-width: 940px) {
  .sec-grid, .cond-groups { grid-template-columns: 1fr; gap: 32px; }
  .sec-side { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-band { padding: 80px 0; }
}
@media (max-width: 620px) {
  .blog-grid, .inline-photos { grid-template-columns: 1fr; }
  .t-card, .t-card.s, .t-card.l { width: 84vw; padding: 26px; }
  .loop-set { align-items: flex-start; gap: 16px; padding-right: 16px; }
  .cond-group { padding: 26px; }
}

/* Blog card text */
.post-body { padding: 24px 28px 30px; }
.post-meta { font-size: 14px; color: var(--body); margin-bottom: 10px; }
.post .post-body h2 { padding: 0; margin-bottom: 10px; }
.post-body p { color: var(--body); font-size: 16px; line-height: 1.6; }

/* Chips stay visible on tinted sections */
.sage .chips li { background: var(--white); }

/* What to Expect: scrollytelling */
.expect-intro { background: var(--sage); padding: 96px 0 76px; text-align: center; }
.expect-intro h1 { font-size: clamp(64px, 9.5vw, 136px); }
.expect-intro .two-tone .firm, .expect-intro .two-tone .soft { display: inline; }
.expect-intro .lead { max-width: 34em; margin: 22px auto 0; }
.scroll-cue { width: 2px; height: 64px; margin: 40px auto 0; background: var(--sage-deep); position: relative; overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--irish); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 76px; align-items: start; }
.story-panel { position: sticky; top: 104px; height: calc(100vh - 136px); min-height: 480px; display: grid; grid-template-columns: 182px 1fr; gap: 28px; padding: 32px 0; }
.story-rail { position: relative; }
.story-rail ol { position: relative; height: 100%; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: space-between; }
.rail-line { position: absolute; left: 20px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.rail-fill { position: absolute; inset: 0; background: var(--irish); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.node a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--body); font-weight: 600; font-size: 15px; line-height: 1.25; transition: color .4s; }
.node b { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.node.past b { background: var(--sage); border-color: var(--irish); color: var(--green); }
.node.active a { color: var(--ink); font-weight: 700; }
.node.active b { background: var(--button); border-color: var(--button); color: #fff; transform: scale(1.14); }
.story-photos { position: relative; border-radius: 280px 280px var(--radius) var(--radius); overflow: hidden; background: var(--sage-deep); }
.story-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.story-photos img.on { opacity: 1; transform: none; }
.story-count { display: none; }

.chapter { position: relative; min-height: 92vh; padding: 104px 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; scroll-margin-top: 86px; opacity: .4; transition: opacity .7s var(--ease); }
.chapter.current { opacity: 1; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter .ghost { position: absolute; right: 0; top: 56px; font-family: var(--head); font-weight: 700; font-size: clamp(130px, 17vw, 240px); line-height: 1; color: var(--sage); z-index: 0; pointer-events: none; transform: translateY(calc(var(--c, 0) * -70px)); }
.chapter > :not(.ghost) { position: relative; z-index: 1; }
.chapter-photo { display: none; margin: 0; border-radius: var(--radius); overflow: hidden; }
.chapter-photo img { width: 100%; height: 280px; object-fit: cover; }
.chapter h2 { margin-top: -6px; }
.chapter > p { font-size: 18.5px; color: var(--body); max-width: 34em; }

.approach { display: grid; gap: 14px; }
.approach li { background: var(--sage); border-radius: 20px; padding: 24px 28px; }
.approach strong { display: block; font-family: var(--head); font-weight: 700; font-size: 27px; line-height: 1.15; color: var(--ink); margin-bottom: 6px; }
.approach span { color: var(--body); }

.block-title { font-size: 31px; margin-top: 18px; }
.route { position: relative; display: grid; gap: 26px; padding-left: 62px; }
.route::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 26px; width: 2px; background: var(--irish); transform-origin: top; transition: transform 1.8s var(--ease); }
.js .route[data-r] { opacity: 1; transform: none; }
.js .route[data-r]::before { transform: scaleY(0); }
.js .route[data-r].in::before { transform: none; }
.route li { position: relative; opacity: 0; transform: translateX(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 380ms); }
.route.in li, html:not(.js) .route li { opacity: 1; transform: none; }
.route i { position: absolute; left: -62px; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--button); color: #fff; }
.route svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route strong { display: block; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.15; }
.route span { color: var(--body); }

.wear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wear li { background: var(--sage); border-radius: 20px; padding: 22px 18px; text-align: center; }
.wear svg { width: 74px; height: 138px; margin: 0 auto 12px; display: block; overflow: visible; }
.wear .body-part { fill: var(--sage-deep); stroke: var(--sage-deep); }
.wear .zone { fill: var(--irish); }
.wear .ring { fill: none; stroke: var(--irish); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.wear strong { display: block; font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.12; }
.wear span { color: var(--body); font-size: 16px; }

.mail-stack { display: grid; gap: 14px; max-width: 480px; }
.mail { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 18px; padding: 18px 22px; box-shadow: 0 14px 36px rgba(0,87,42,.14); font-weight: 600; }
.mail i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--button); }
.mail svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js .mail[data-r] { transform: translateX(46px); }
.js .mail[data-r].in { transform: none; }

.book-card { max-width: 620px; margin: 0 auto; }
.book-steps { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--body); margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after, .wear .ring { animation: none; }
  .chapter { opacity: 1; }
  .route li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .route[data-r]::before { transform: none; }
  .story-photos img { transition: none; }
  .js .mail[data-r] { transform: none; }
}
@media (max-width: 1040px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-panel { top: 86px; z-index: 12; height: auto; min-height: 0; display: block; padding: 12px 0; margin: 0 -36px; padding-left: 36px; padding-right: 36px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
  .story-photos { display: none; }
  .story-rail ol { display: none; }
  .story-count { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
  .rail-line { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; }
  .rail-fill { transform-origin: left; transform: scaleX(var(--fill, 0)); }
  .chapter { min-height: 0; padding: 72px 0; opacity: 1; }
  .chapter-photo { display: block; }
  .chapter .ghost { top: 24px; font-size: 130px; }
}
@media (max-width: 560px) {
  .story-panel { top: 76px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .wear { grid-template-columns: 1fr; }
  .wear li { display: grid; grid-template-columns: 62px 1fr; column-gap: 18px; align-items: center; text-align: left; }
  .wear svg { grid-row: span 2; width: 58px; height: 108px; margin: 0; }
  .approach li { padding: 22px; }
}

/* Numerals: Cormorant's old-style figures read poorly on their own */
h1, h2, h3, strong { font-variant-numeric: lining-nums; }
.node b, .chapter .ghost { font-family: var(--text); font-weight: 700; }
.node b { font-size: 16px; }
.chapter .ghost { font-weight: 800; }

/* What to Expect v2: whole photos, no frame */
.story-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 72px; }
.story-panel { top: 96px; height: calc(100vh - 112px); display: flex; flex-direction: column; gap: 22px; padding: 18px 0 8px; }
.story-rail { flex: none; }
.story-rail ol { flex-direction: row; justify-content: space-between; height: auto; }
.rail-line { left: 21px; right: 21px; top: 20px; bottom: auto; width: auto; height: 2px; }
.rail-fill { transform-origin: left; transform: scaleX(var(--fill, 0)); }
.node { flex: 0 0 auto; width: 25%; }
.node:nth-child(4) { width: auto; }
.node a { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14.5px; }
.node:nth-child(4) a { align-items: flex-end; }
.node:nth-child(4) span { text-align: right; }
.story-photos { flex: 1; min-height: 0; border-radius: 0; overflow: visible; background: none; }
.shot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.shot img, .story-photos .shot img { position: static; opacity: 1; transform: none; transition: none; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: initial; border-radius: 6px; box-shadow: 0 18px 44px rgba(0,87,42,.14); }
.chapter-photos { display: none; }
.chapter-photos figure { margin: 0; }
.chapter-photos img { width: 100%; height: auto; border-radius: 6px; }
.chapter-photo { display: none !important; }

/* Services menu */
.sec-head h2 { margin-top: 14px; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.menu-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0,87,42,.14); }
.menu-card figure { margin: 0; height: 200px; overflow: hidden; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; }
.menu-card > div { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.menu-card p { color: var(--body); font-size: 16px; line-height: 1.55; flex: 1; }
.menu-card .text-link { font-size: 15px; color: var(--green); }

.compare-scroll { overflow-x: auto; background: var(--white); border-radius: var(--radius); }
.compare { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.compare th, .compare td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--ink); }
.compare tbody th { font-weight: 700; color: var(--green); width: 16%; }
.compare td { color: var(--body); }
.compare thead td, .compare tbody th { position: sticky; left: 0; background: var(--white); }

.price-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.price .amount { font-family: var(--head); font-weight: 700; font-size: clamp(90px, 12vw, 160px); line-height: 1; color: #fff; margin-top: 14px; font-variant-numeric: lining-nums; }
.price .length { font-size: 21px; font-weight: 600; color: var(--pale); margin-top: 8px; }
.on-dark .checks li { color: #fff; }
.price-actions { margin-top: 26px; }
.cta.on-green { background: #fff; color: var(--deep); box-shadow: none; }
.cta.on-green i { background: var(--button); color: #fff; }
.cta.on-green:hover { background: var(--pale); }
.hesitant { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 16px; justify-items: start; }
.hesitant strong { color: #fff; }
.on-dark a.cta.ghost-light { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.cta.ghost-light i { background: rgba(255,255,255,.16); color: #fff; }
.on-dark a.cta.ghost-light:hover { background: #fff; color: var(--deep); }
.cta.ghost-light:hover i { background: var(--button); color: #fff; }

@media (max-width: 1040px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-panel { top: 86px; height: auto; display: block; padding: 12px 36px; }
  .story-photos { display: none; }
  .story-rail ol { display: none; }
  .rail-line { left: auto; right: auto; top: auto; width: 100%; height: 3px; }
  .chapter-photos { display: block; }
  .chapter-photos.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .story-panel { top: 76px; padding: 12px 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 16px; }
  .compare { min-width: 760px; }
  .hesitant .cta, .price-actions .cta { width: 100%; justify-content: space-between; }
}

/* Services opens straight on the menu */
.services-top { background: var(--sage); padding: 60px 0 76px; scroll-margin-top: 86px; }
.services-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: end; margin-bottom: 36px; }
.services-top h1 { font-size: clamp(50px, 5.6vw, 80px); }
.services-top .label { margin-bottom: 18px; }
.services-top .menu-card { background: var(--white); }
.compare-scroll { border: 1px solid var(--line); }
@media (max-width: 1040px) { .services-head { grid-template-columns: 1fr; gap: 16px; } }

/* Larger logo: header is taller, sticky offsets follow */
.site-head .wrap { height: 104px; }
.logo img { height: 84px; }
.sec-side, .service-side, .faq-side { top: 132px; }
.story-panel { top: 112px; height: calc(100vh - 128px); }
.chapter, .services-top { scroll-margin-top: 104px; }

/* Homepage services: four across */
.svc-grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-grid.four figure { height: 190px; }
.svc-grid.four .body { padding: 22px; gap: 10px; }
.svc-grid.four h3 { font-size: 28px; }
.svc-grid.four p { font-size: 15.5px; line-height: 1.55; }
.svc-grid.four .cta { padding: 4px 4px 4px 18px; font-size: 14.5px; gap: 10px; }
.svc-grid.four .cta i { width: 32px; height: 32px; }

/* Conditions inside the Why Work With Us card */
.card-conditions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.card-conditions h3 { font-size: 36px; margin-bottom: 10px; }
.card-conditions .pills li { background: var(--sage); border-color: transparent; font-size: 15.5px; padding: 9px 18px; }

/* Testimonials: liquid glass over slow-moving color */
.testimonials-band { position: relative; background: #004A24; isolation: isolate; }
.testimonials-band::before, .testimonials-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.testimonials-band::before { width: 62vw; height: 62vw; left: -12vw; top: -24vw; background: radial-gradient(circle, #007A38 0%, rgba(0,122,56,0) 68%); animation: drift-a 22s ease-in-out infinite alternate; }
.testimonials-band::after { width: 56vw; height: 56vw; right: -10vw; bottom: -26vw; background: radial-gradient(circle, #00672F 0%, rgba(0,103,47,0) 70%); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(16vw, 8vw); } }
@keyframes drift-b { to { transform: translate(-18vw, -6vw); } }
.testimonials-band .loop { -webkit-mask-image: none; mask-image: none; padding: 8px 0 18px; }
.testimonials-band .t-card { position: relative; overflow: hidden; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.26); border-radius: 28px; -webkit-backdrop-filter: blur(20px) saturate(165%); backdrop-filter: blur(20px) saturate(165%); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,30,14,.3); }
.testimonials-band .t-card::before { content: ""; position: absolute; left: -20%; right: -20%; top: -60%; height: 95%; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.testimonials-band .t-card > * { position: relative; }
.testimonials-band .t-card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.1), 0 24px 54px rgba(0,30,14,.4); }
.testimonials-band blockquote { color: #fff; }
.testimonials-band .t-card cite { color: #fff; }
.testimonials-band .t-card cite::before { background: rgba(255,255,255,.65); }
.stars { color: #FFCB45; letter-spacing: 3px; font-size: 18px; line-height: 1; }
.rating-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.rating { display: grid; gap: 10px; max-width: 420px; }
.rating-score { display: flex; align-items: center; gap: 16px; }
.rating-score .num { font-family: var(--head); font-weight: 700; font-size: 72px; line-height: .9; color: #fff; font-variant-numeric: lining-nums; }
.rating-score p { color: #fff; font-weight: 600; font-size: 16px; margin-top: 6px; }
.rating .rank { color: #E2EEE6; font-size: 16px; font-weight: 600; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .testimonials-band::before, .testimonials-band::after { animation: none; }
}
@media (max-width: 1160px) {
  .svc-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .story-panel { top: 104px; height: auto; }
}
@media (max-width: 940px) {
  .card-conditions { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
}
@media (max-width: 560px) {
  .site-head .wrap { height: 88px; }
  .logo img { height: 70px; }
  .story-panel { top: 88px; }
  .svc-grid.four { grid-template-columns: 1fr; }
  .svc-grid.four figure { height: 220px; }
  .rating-score .num { font-size: 60px; }
}

.logo img { height: 80px; }
.testimonials-band blockquote { flex: 1; }
@media (max-width: 560px) { .logo img { height: 68px; } }

/* ---------- Mobile optimization ---------- */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy { min-width: 0; }
.chapters { overflow-x: clip; }
.legal { overflow-wrap: anywhere; }
.mobile-bar { display: none; }

@media (max-width: 1240px) {
  .menu, .head-actions .text { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .js [data-r] { transition-delay: 0s; }
  .band { padding: 64px 0; }
  .testimonials-band { padding: 64px 0; }
  .foot-links a { display: flex; align-items: center; min-height: 44px; }
  .site-foot .foot-links { gap: 0; }
  .text-link { min-height: 44px; }
  .areas a { display: inline-flex; align-items: center; min-height: 44px; }
  .blog-filter { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; }
  .testimonials-band .t-card { -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%); }
}
@media (max-width: 640px) {
  /* Comparison reads row by row on phones */
  .compare-scroll { overflow: visible; background: none; border: 0; border-radius: 0; }
  .compare, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { background: var(--paper); border-radius: 20px; padding: 20px; margin-bottom: 14px; }
  .compare tbody th { position: static; background: none; padding: 0 0 10px; border: 0; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; }
  .compare td { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .compare tr td:last-child, .compare tbody tr:last-child td:last-child { border-bottom: 0; padding-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--ink); margin-bottom: 2px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-head .wrap { height: 76px; gap: 12px; }
  .logo img { height: 58px; }
  .story-panel { top: 76px; }
  h1, .services-top h1, .expect-intro h1 { font-size: clamp(42px, 12.6vw, 52px); }
  h2 { font-size: clamp(32px, 9.2vw, 38px); }
  .doctor .name { font-size: clamp(46px, 14vw, 58px); }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .band { padding: 52px 0; }
  .hero-copy { padding: 36px 18px 32px; gap: 18px; }
  .hero-photo { height: 300px; }
  .hero.short .hero-photo { height: 240px; }
  .page-head { padding: 52px 0 44px; }
  .expect-intro { padding: 56px 0 44px; }
  .services-top { padding: 40px 0 52px; }
  .services-head { margin-bottom: 24px; }
  .label { font-size: 13.5px; letter-spacing: .15em; }
  .split-photo { height: 340px; }
  .split { gap: 28px; }
  .doctor-photo { height: 400px; }
  .doctor .cols { gap: 28px; }
  .overlap-band { padding: 56px 0 190px; }
  .overlap-card-wrap { margin-top: -150px; }
  .overlap-card { padding: 24px; gap: 26px; border-radius: 24px; }
  .overlap-card .left { padding-bottom: 24px; }
  .card-conditions { padding-top: 24px; }
  .card-conditions h3 { font-size: 30px; }
  .sec-split { padding-bottom: 20px; margin-bottom: 24px; }
  .rating-head { gap: 22px; }
  .testimonials-band .head { margin-bottom: 26px; }
  .fine { font-size: 14px; }
  .foot-tag { font-size: 12.5px; }

  /* Compact rows instead of tall cards */
  .svc-grid.four, .menu-grid { gap: 12px; }
  .svc-grid.four .svc, .menu-card { flex-direction: row; align-items: stretch; }
  .svc-grid.four figure, .menu-card figure { flex: 0 0 112px; width: 112px; height: auto; min-height: 150px; }
  .svc-grid.four .body, .menu-card > div { padding: 16px; min-width: 0; }
  .svc-grid.four h3, .menu-card h3 { font-size: 25px; }
  .svc-grid.four p, .menu-card p { font-size: 15px; line-height: 1.5; }
  .post { flex-direction: row; }
  .post figure { flex: 0 0 112px; width: 112px; height: auto; min-height: 136px; }
  .post-body { padding: 16px; min-width: 0; }
  .post .post-body h2 { font-size: 23px; margin-bottom: 0; }
  .post-meta { margin-bottom: 6px; font-size: 14px; }
  .post-body p { display: none; }
  .blog-grid { gap: 12px; }

  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bar); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mobile-bar .cta { flex: 1; justify-content: space-between; padding: 5px 5px 5px 20px; font-size: 15.5px; box-shadow: none; }
  .mobile-bar .cta i { width: 42px; height: 42px; }
  .mobile-bar .call { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--green); }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .call svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

/* ---------- Theme control ---------- */
:root { --bar: rgba(255,255,255,.95); --head-bg: rgba(255,255,255,.93); }
.site-head { background: var(--head-bg); }
.logo-on-dark { display: none; }
.theme-menu { position: relative; }
.theme-menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--ink); }
.theme-menu summary::-webkit-details-marker { display: none; }
.theme-menu svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: none; }
:root[data-mode="light"] .i-light, :root[data-mode="dark"] .i-dark, :root[data-mode="system"] .i-system, :root:not([data-mode]) .i-light { display: block; }
.theme-panel { position: absolute; right: 0; top: 56px; z-index: 40; width: 150px; padding: 8px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,30,14,.2); }
.theme-panel button { font: inherit; font-weight: 700; font-size: 15.5px; color: var(--ink); text-align: left; background: none; border: 0; border-radius: 10px; padding: 11px 14px; min-height: 44px; cursor: pointer; }
.theme-panel button:hover { background: var(--sage); }
.theme-panel button[aria-pressed="true"] { background: var(--button); color: #fff; }

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0E1712; --white: #16221B; --sage: #1A2B21; --sage-deep: #263B2E;
  --ink: #EDF4EF; --body: #B7C6BC; --line: #2C3D33;
  --deep: #0A3E22; --deep-2: #0F4D2B; --green: #6BD79C; --irish: #2FC070; --soft: #2FC070;
  --bar: rgba(14,23,18,.95); --head-bg: rgba(14,23,18,.93);
}
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
:root[data-theme="dark"] .strong-line, :root[data-theme="dark"] .cycle, :root[data-theme="dark"] .formula li, :root[data-theme="dark"] .techniques strong, :root[data-theme="dark"] details.q summary, :root[data-theme="dark"] .form-title, :root[data-theme="dark"] .form-card > p:first-child, :root[data-theme="dark"] .text-link { color: var(--ink); }
:root[data-theme="dark"] .menu-card .text-link { color: var(--green); }
:root[data-theme="dark"] .cta.quiet { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--body); }
:root[data-theme="dark"] .cta.quiet:hover { background: var(--button); color: #fff; box-shadow: none; }
:root[data-theme="dark"] .cta:hover { background: #006B30; }
:root[data-theme="dark"] .cta.on-green:hover { background: var(--pale); }
:root[data-theme="dark"] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236BD79C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .on-dark .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); }
@media (max-width: 1040px) { :root[data-theme="dark"] .story-panel { background: var(--bar); } }
body, .band, .white, .sage, .hero, .site-head, .menu-card, .svc, .panel-card, .form-card, .site-foot { transition: background-color .35s ease, color .35s ease; }
@media (prefers-reduced-motion: reduce) { body, .band, .white, .sage, .hero, .site-head, .menu-card, .svc, .panel-card, .form-card, .site-foot { transition: none; } }

@media (max-width: 560px) {
  .story-panel { margin: 0 -18px; padding: 12px 18px; }
  .svc-grid.four .cta { min-height: 44px; }
}

/* Homepage: What to Expect summary, four connected steps */
.expect-home .sec-split { align-items: end; }
.expect-home-cta { justify-self: end; }
.steps-path { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps-path::before { content: ""; position: absolute; left: 22px; right: 12%; top: 21px; height: 2px; background: var(--irish); transform-origin: left; transition: transform 1.9s var(--ease); }
.js .steps-path[data-r] { opacity: 1; transform: none; }
.js .steps-path[data-r]::before { transform: scaleX(0); }
.js .steps-path[data-r].in::before { transform: none; }
.steps-path li { position: relative; opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 300ms + 120ms); }
.steps-path.in li, html:not(.js) .steps-path li { opacity: 1; transform: none; }
.steps-path a { display: block; text-decoration: none; color: inherit; }
.step-node { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--button); color: #fff; font-weight: 700; font-size: 17px; box-shadow: 0 0 0 7px var(--white); }
.steps-path figure { margin: 0 0 16px; }
.steps-path img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 16px 38px rgba(0,87,42,.13); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.steps-path a:hover img { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0,87,42,.2); }
.steps-path h3 { transition: color .3s; }
.steps-path a:hover h3 { color: var(--green); }
.steps-path p { margin-top: 6px; color: var(--body); font-size: 16px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  .steps-path li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .steps-path[data-r]::before { transform: none; }
}
@media (max-width: 820px) {
  .expect-home-cta { justify-self: start; }
  .steps-path { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps-path::before { left: 21px; right: auto; top: 12px; bottom: 60px; width: 2px; height: auto; transform-origin: top; }
  .js .steps-path[data-r]::before { transform: scaleY(0); }
  .js .steps-path[data-r].in::before { transform: none; }
  .steps-path li { transform: translateX(16px); transition-delay: calc(var(--d, 0) * 240ms); }
  .steps-path a { display: grid; grid-template-columns: 44px 108px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; }
  .step-node { grid-row: 1 / span 2; margin: 0; }
  .steps-path figure { grid-row: 1 / span 2; grid-column: 2; margin: 0; }
  .steps-path h3 { grid-column: 3; align-self: end; font-size: 26px; }
  .steps-path p { grid-column: 3; font-size: 15.5px; align-self: start; }
}

.steps-path::before { right: calc(25% - 26px); }
@media (max-width: 820px) { .steps-path::before { right: auto; } }

@media (max-width: 820px) { .steps-path::before { bottom: 135px; } }

/* Blog post pages */
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 45; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--irish); transform-origin: left; transform: scaleX(var(--read, 0)); }
.post-head { background: var(--sage); padding: 64px 0 56px; }
.post-head .read { max-width: 820px; }
.back-link { margin-bottom: 22px; font-size: 15px; color: var(--green); }
.post-head .post-meta { font-size: 15px; margin-bottom: 14px; }
.post-head h1 { font-size: clamp(42px, 5.2vw, 70px); line-height: 1.04; color: var(--ink); }
.post-content { max-width: 720px; margin: 0 auto; padding: 64px 0 24px; overflow-wrap: break-word; }
.post-content > * + * { margin-top: 22px; }
.post-content p, .post-content li { font-size: 18.5px; line-height: 1.8; color: var(--ink); }
.post-content h2 { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.12; margin-top: 50px; }
.post-content h3 { font-size: 29px; line-height: 1.15; margin-top: 38px; }
.post-content h4 { font-family: var(--text); font-weight: 700; font-size: 19px; margin-top: 30px; }
.post-content h2 + *, .post-content h3 + *, .post-content h4 + * { margin-top: 12px; }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content ul { list-style: disc; }
.post-content li + li { margin-top: 8px; }
.post-content li::marker { color: var(--irish); }
.post-content a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { margin: 34px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--irish); font-family: var(--head); font-weight: 700; font-size: 27px; line-height: 1.3; color: var(--ink); }
.post-content figure { margin: 38px 0; }
.post-content img { width: 100%; height: auto; border-radius: 8px; }
.post-content figcaption { margin-top: 10px; font-size: 14.5px; color: var(--body); text-align: center; }
.post-share { max-width: 720px; margin: 40px auto 88px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-share > span { font-weight: 700; margin-right: 8px; }
.post-share a, .post-share button { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--ink); border: 0; cursor: pointer; transition: background .3s, color .3s; }
.post-share a:hover, .post-share button:hover { background: var(--button); color: #fff; }
.post-share svg { width: 18px; height: 18px; fill: currentColor; }
.post-share .copy-link svg { fill: none; }
.copied { position: absolute; left: 52px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--green); }
@media (max-width: 560px) {
  .post-head { padding: 40px 0 36px; }
  .post-content { padding-top: 40px; }
  .post-content p, .post-content li { font-size: 17.5px; }
  .post-content blockquote { font-size: 23px; }
  .post-share { margin-bottom: 56px; }
}
