:root {
    --paper: #fffaf4;
    --ink: #44263b;
    --muted: #715566;
    --rose: #8b346a;
    --rose-light: #fae5f1;
    --brand-pink: #d67ab1;
    --brand-gold: #f4c335;
    --gold-light: #fff2c9;
    --line: #e7cfdb;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body.site-body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--brand-pink); color: var(--ink); }
a { color: var(--rose); text-underline-offset: .25em; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
main:focus { outline: none; }
img { max-width: 100%; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon, .arrow-icon { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.arrow-icon { width: 20px; height: 20px; flex-shrink: 0; line-height: 20px; transition: transform .35s var(--ease); }
.site-container { width: min(100% - 96px, 1240px); margin-inline: auto; }
.section-pad { padding-block: 96px; }
.eyebrow { margin: 0 0 22px; color: var(--rose); font-size: 11px; line-height: 1.6; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.display-heading, .section-heading { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.display-heading { font-size: clamp(48px, 6vw, 84px); line-height: 1.04; }
.section-heading { margin: 0 0 25px; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.09; }
.section-heading em, .display-heading em { color: var(--rose); font-weight: 400; }
.body-copy { font-size: 15px; color: var(--muted); line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 15px 27px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease), box-shadow .35s; }
/* The bright logo colours are surfaces and accents, not small text on white. */
.button-primary { background: var(--brand-gold); color: var(--ink); }
.button-primary:hover { background: #f8d365; color: var(--ink); box-shadow: 0 6px 20px #44263b12; }
.button-secondary { border-color: var(--rose); color: var(--ink); background: transparent; }
.button-secondary:hover { background: var(--rose-light); border-color: var(--rose); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--gold-light); color: var(--ink); }
.button:hover .arrow-icon, .text-link:hover .arrow-icon { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 19px; min-height: 44px; padding-block: 8px; border-bottom: 1px solid var(--rose); color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--rose); }
.skip-link { position: fixed; z-index: 1100; top: 8px; left: 12px; padding: 10px 20px; background: var(--ink); color: #fff; border-radius: 4px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); color: #fff; }
.content-start:focus { outline: none; }

/* Navigation stays available on small screens without JavaScript. */
.site-header { position: sticky; z-index: 100; top: 0; background: var(--paper); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 5px 24px #44263b0d; }
.site-note { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 33px; padding: 5px 20px; background: var(--rose-light); color: var(--ink); font-size: 10px; letter-spacing: .055em; }
.site-note .icon { width: 12px; height: 12px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--rose); }
.wordmark__logo { display: block; width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; }
.wordmark > span { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.wordmark small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 8px; line-height: 1; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 12px; color: var(--ink); font-size: 11px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: var(--brand-pink); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.patient-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.patient-link .icon { width: 17px; height: 17px; }
.patient-link > span { display: none; }
.nav-logout { display: inline-flex; align-items: center; min-height: 44px; font-size: 10px; }
.nav-booking { min-height: 44px; padding: 12px 20px; font-size: 11px; gap: 15px; white-space: nowrap; }
.nav-booking .arrow-icon { width: 15px; height: 15px; }
.menu-toggle, .menu-toggle[hidden] { display: none; }

.site-footer { background: var(--paper); }
.footer-main { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 70px; padding-block: 64px 50px; }
.footer-brand > p { max-width: 41ch; margin: 25px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 12px; text-decoration: none; }
.footer-social .icon { width: 17px; height: 17px; }
.footer-social .arrow-icon { width: 14px; height: 14px; margin-left: 3px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links h2 { margin: 5px 0 18px; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.footer-links > a { display: inline-block; min-height: 38px; padding-block: 7px; color: var(--muted); font-size: 12px; text-decoration: none; }
.footer-links > a:hover { color: var(--rose); }
.footer-links .footer-appointment { color: var(--rose); }
.footer-appointment > span { margin-left: 7px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-bottom > a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; color: var(--muted); text-decoration: none; }
.footer-bottom .icon { width: 12px; height: 12px; color: var(--rose); }

/* Content is visible unless the reveal observer has been initialized. */
.hero-enter { animation: arrive .9s var(--ease) both; }
[data-reveal] { transition: opacity .8s var(--ease), translate .8s var(--ease); }
[data-reveal].is-reveal-pending { opacity: 0; translate: 0 24px; }
[data-reveal].is-revealed { opacity: 1; translate: 0 0; }
@keyframes arrive { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1190px) {
    .site-container { width: calc(100% - 72px); }
    .site-nav { gap: 18px; }
    .nav-panel { gap: 16px; }
    .nav-links { gap: 17px; }
    .nav-actions { gap: 8px; }
    .wordmark > span { font-size: 27px; }
    .wordmark__logo { width: 56px; height: 56px; }
    .nav-booking { padding-inline: 16px; gap: 10px; }
    .footer-main { gap: 40px; }
}
@media (max-width: 1020px) {
    .site-header:not(.nav-enhanced) { position: static; }
    .site-nav { flex-wrap: wrap; min-height: 86px; gap: 0; padding-block: 16px; }
    .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-width: 80px; height: 44px; padding: 5px 0 5px 10px; border: 0; background: transparent; color: var(--ink); font-size: 11px; }
    .menu-toggle__lines { display: grid; gap: 6px; width: 22px; }
    .menu-toggle__lines span { display: block; height: 1px; width: 22px; background: currentColor; transition: transform .25s; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .nav-panel { display: flex; flex-direction: column; align-items: stretch; gap: 16px; width: 100%; padding-top: 25px; }
    .nav-enhanced .nav-panel { display: none; }
    .nav-enhanced .nav-panel.is-open { display: flex; max-height: calc(100dvh - 135px); overflow-y: auto; padding-bottom: 10px; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links a { display: block; padding-block: 12px; font-size: 14px; }
    .nav-links a::after { bottom: 0; }
    .nav-links li + li { border-top: 1px solid var(--line); }
    .nav-actions { flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 15px; border-top: 1px solid var(--line); }
    .patient-link { gap: 9px; width: auto; border: 0; }
    .patient-link > span { display: inline; font-size: 11px; }
    .nav-booking { font-size: 12px; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 120px; }
    .site-container { width: calc(100% - 44px); }
    .section-pad { padding-block: 64px; }
    .site-note { gap: 11px; font-size: 9px; min-height: 30px; }
    .site-note .icon { width: 10px; height: 10px; }
    .site-nav { min-height: 78px; padding-block: 15px; }
    .wordmark > span { font-size: 26px; }
    .wordmark small { font-size: 7px; margin-top: 8px; }
    .wordmark__logo { width: 48px; height: 48px; }
    .wordmark { gap: 8px; }
    .eyebrow { font-size: 10px; margin-bottom: 18px; }
    .section-heading { font-size: 44px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 25px; padding-block: 46px 35px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand > p { margin-top: 20px; }
    .footer-links h2 { margin-bottom: 14px; }
    .footer-bottom { justify-content: flex-start; flex-wrap: wrap; gap: 13px 22px; font-size: 9px; }
    .footer-bottom > span { width: 100%; }
}
@media (max-width: 380px) {
    .site-container { width: calc(100% - 36px); }
    .wordmark__logo { width: 44px; height: 44px; }
    .wordmark > span { font-size: 24px; }
    .section-heading { font-size: 39px; }
    .site-note { font-size: 8px; gap: 9px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal].is-reveal-pending { opacity: 1; translate: none; }
}
