/* Kings Hill Dental — hand-built stylesheet. Palette, fonts and copy carried over from the original design. */
@font-face { font-family: "KHD Serif"; src: url(../fonts/cormorant-garamond-600.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KHD Serif"; src: url(../fonts/cormorant-garamond-600i.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "KHD Body"; src: url(../fonts/lato-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "KHD Body"; src: url(../fonts/lato-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "KHD Body"; src: url(../fonts/lato-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --cream: #fff6ec; --cream-2: #fbe9d9; --brown: #461c11; --pink: #e0a192; --blush: #ffd0c5;
  --rose: #bc7b69; --clay: #905849; --umber: #76483c; --coral: #ff9a7e;
  --underline: #b07265;
  --ink: var(--brown); --ink-soft: #6b4438; --line: rgba(70, 28, 17, .16);
  --serif: "KHD Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "KHD Body", Lato, "Helvetica Neue", Arial, sans-serif;
  --ui: var(--sans);
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 104px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-gutter: stable; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 clamp(16px, 1.05vw + 10px, 18.5px)/1.68 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brown); color: var(--cream); padding: 10px 16px; border-radius: 999px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
picture { display: contents; }
.m-only { display: none; } /* mobile-only copy; swapped in by mobile.css */
.section { position: relative; padding-block: clamp(72px, 10vw, 148px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.tint { background: var(--cream-2); }
.blush { background: var(--blush); }
.dark { background: var(--brown); color: var(--cream); }
.dark p { color: color-mix(in srgb, var(--cream) 88%, transparent); }

/* type scale */
.display { font-size: clamp(3rem, 8.2vw, 8rem); line-height: .94; letter-spacing: -.028em; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.024em; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.08; }
.h4 { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.2; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }
.dark .lede { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.rule { width: 72px; height: 2px; background: var(--pink); margin: 28px 0; border: 0; transform-origin: left; }
em, .it { font-style: italic; }

/* buttons */
.btn { --bg: var(--brown); --fg: var(--cream); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 2px solid var(--brown); background: var(--bg); color: var(--fg); font: 700 15px/1 var(--ui); letter-spacing: .01em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fill, var(--cream)); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--brown); }
.btn--ghost { --bg: transparent; --fg: var(--brown); --fill: var(--brown); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--brown); --fill: var(--pink); border-color: var(--cream); }
.btn--light:hover { color: var(--brown); border-color: var(--pink); }
.btn--outline-light { --bg: transparent; --fg: var(--cream); --fill: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { color: var(--brown); }
.foot-contact .btn { --bg: transparent; --fg: var(--cream); --fill: transparent; border-color: var(--cream); }
.foot-contact .btn:hover, .foot-contact .btn:focus-visible { color: var(--pink); border-color: var(--pink); }
.foot-contact .book-btn { --bg: var(--cream); --fg: var(--brown); --fill: var(--pink); border: 0; }
.foot-contact .book-btn:hover, .foot-contact .book-btn:focus-visible { color: var(--cream); }
.btn--pink { --bg: var(--pink); --fg: var(--brown); --fill: var(--cream); border-color: var(--pink); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; font: 700 15px/1.2 var(--ui); text-decoration: none; padding-block: 6px; border-bottom: 2px solid var(--underline); transition: gap .3s var(--ease), color .3s; }
.link-arrow:hover { gap: .95em; color: var(--clay); }
.link-arrow svg { width: 1.15em; height: 1.15em; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .4s; box-shadow: 0 1px 0 var(--line); }
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-bar { position: relative; height: 100%; display: grid; grid-template-columns: minmax(max-content, 1.6fr) auto minmax(max-content, 1fr); align-items: center; gap: 20px; }
.nav-bar .brand { grid-column: 1; justify-self: start; }
.nav-bar > nav { grid-column: 2; justify-self: center; }
.nav-bar .nav-cta, .nav-bar .menu-btn { grid-column: 3; justify-self: end; }
.brand { display: block; width: clamp(175px, 16.5vw, 246px); color: var(--brown); flex: none; }
.brand svg { width: 100%; height: auto; }
/* proper tablets (burger-menu range, but roomier than a phone): a bigger header to match the space */
@media (min-width: 600px) and (max-width: 1020px) {
  :root { --header-h: 128px; }
  .brand { width: 220px; }
  .menu-btn { width: 60px; height: 60px; }
  .menu-btn span { left: 17px; right: 17px; }
  .menu-btn span:nth-child(1) { top: 22px; } .menu-btn span:nth-child(2) { top: 29px; } .menu-btn span:nth-child(3) { top: 36px; }
}
.brand .logo-ink { fill: currentColor; stroke: currentColor; }
.logo-line, .logo-line-r { transform-origin: 61px 360px; animation: logoLineIn .85s var(--ease) .35s both; }
.logo-line-r { transform-origin: 1494px 360px; }
@keyframes logoLineIn { from { transform: scaleY(1.8) scaleX(0); } to { transform: scaleY(1.8) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .logo-line, .logo-line-r { animation: none; transform: scaleY(1.8); } }
.nav { display: flex; align-items: center; gap: clamp(2px, 1vw, 18px); }
.nav > li { position: relative; }
.nav a.nav-link, .nav button.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px; border: 0; background: none; cursor: pointer; font: 700 13px/1 var(--ui); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--brown); position: relative; white-space: nowrap; }
.nav .nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--underline); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav .nav-link:hover::after, .nav .nav-link[aria-current="page"]::after, .nav .has-menu:hover > .nav-link::after, .nav .has-menu.is-open > .nav-link::after { transform: scaleX(1); }
.nav .has-menu > .nav-link::after { content: none; }
.nav .has-menu > .nav-link .lbl { position: relative; }
.nav .has-menu > .nav-link .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--underline); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav .has-menu > .nav-link:hover .lbl::after, .nav .has-menu > .nav-link[aria-current="page"] .lbl::after, .nav .has-menu:hover > .nav-link .lbl::after, .nav .has-menu.is-open > .nav-link .lbl::after { transform: scaleX(1); }
.nav .chev { width: 12px; height: 12px; flex: none; opacity: .75; transition: transform .3s var(--ease), opacity .3s; }
.has-menu:hover .chev, .has-menu.is-open .chev { opacity: 1; }
.has-menu:hover .chev, .has-menu.is-open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; translate: 0 8px; min-width: 300px; padding: 26px 30px 28px; background: var(--cream); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(70, 28, 17, .32); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), translate .4s var(--ease), visibility .3s; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.is-open > .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega--wide { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 8px 36px; min-width: 780px; }
.mega h3 { font: 700 13px/1.2 var(--ui); letter-spacing: .05em; text-transform: uppercase; color: var(--rose); margin: 0 0 10px; }
.mega h3 a { text-decoration: none; }
.nav-cta { display: none; }
@media (min-width: 1021px) { .nav-cta { display: inline-flex; white-space: nowrap; } }
.menu-btn { display: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--brown); background: transparent; cursor: pointer; place-items: center; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--brown); transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 19px; } .menu-btn span:nth-child(2) { top: 25px; } .menu-btn span:nth-child(3) { top: 31px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) { .nav { display: none; } .menu-btn { display: grid; } }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; z-index: 150; }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--brown); color: var(--cream); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 48px) 42px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; overflow: auto; }
.menu-open .drawer { clip-path: circle(150% at calc(100% - 48px) 42px); visibility: visible; transition: clip-path .8s var(--ease); }
.menu-open .brand { color: var(--cream); }
.menu-open .menu-btn { border-color: var(--cream); } .menu-open .menu-btn span { background: var(--cream); }
.drawer ul { display: grid; gap: 2px; }
.drawer a.big { display: block; font: 400 clamp(2.2rem, 9vw, 3.6rem)/1.12 var(--serif); text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .7s var(--ease), color .2s; }
.menu-open .drawer a.big { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }
.drawer a.big:hover { color: var(--pink); }
.drawer details { border-bottom: 1px solid rgba(255, 246, 236, .18); }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font: 400 clamp(2.2rem, 9vw, 3.6rem)/1.12 var(--serif); padding: 6px 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform .3s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 4px 0 16px 4px; gap: 0; }
.drawer details a { display: block; padding: 8px 0; font-size: 18px; text-decoration: none; color: var(--blush); }
.drawer .drawer-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 28px; font-size: 16px; }
.drawer-foot a:not(.btn) { text-decoration: none; }

/* generic layout helpers */
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, 1fr); } .split--wide-l { grid-template-columns: 1.15fr .85fr; } .split--wide-r { grid-template-columns: .85fr 1.15fr; } .split--top { align-items: start; } }
.stack > * + * { margin-top: 1.1em; }
.legal a { color: var(--pink); font-style: italic; }
.legal a:hover { color: var(--clay); }
.legal ul { list-style: disc; padding-left: 1.4em; }
.legal li { margin: .3em 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* motion primitives */
.line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.line > span { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.is-in .line > span, .is-in.line > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-22px); }
[data-reveal="left"].is-in { transform: none; }
:is(.hero-old, .icon-strip) .assure li[data-reveal="left"] { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 320ms); }
.rule[data-reveal] { transform: scaleX(0); opacity: 1; transition: transform 1s var(--ease) .2s; }
.rule[data-reveal].is-in { transform: scaleX(1); }
.js .clip-in { clip-path: inset(0 0 100% 0 round 0); transition: clip-path 1.4s var(--ease); }
.js .clip-in.is-in { clip-path: inset(0 0 0 0 round 0); }
.parallax { will-change: transform; }
.no-js [data-reveal], .no-js .line > span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal], .line > span { opacity: 1 !important; transform: none !important; }
  .js .clip-in { clip-path: none; }
}

/* shapes */
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; }
.arch img, .blob img { width: 100%; height: 100%; object-fit: cover; }
.blob { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; overflow: hidden; animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { 0% { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; } 50% { border-radius: 44% 56% 58% 42% / 52% 40% 60% 48%; } 100% { border-radius: 52% 48% 40% 60% / 58% 46% 54% 42%; } }
.wave { display: block; width: 100%; height: clamp(40px, 7vw, 110px); color: var(--brown); }
.wave--top { margin-top: clamp(20px, 4vw, 60px); margin-bottom: -1px; }
.wave--flip { transform: scaleY(-1); margin-top: -1px; }

/* hero */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); padding-bottom: clamp(56px, 8vw, 110px); min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: 30px; }
.hero .lede { max-width: 34em; }
.hero-media { position: relative; }
.hero-arch { aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; margin-inline: auto; position: relative; }
.hero-arch img { position: absolute; inset: -6% 0; height: 112%; object-position: 42% center; }
.hero-badge { position: absolute; left: clamp(-12px, -2vw, -28px); bottom: 8%; display: flex; gap: 14px; align-items: center; background: var(--cream); border-radius: 22px; padding: 14px 20px 14px 16px; box-shadow: 0 24px 50px -22px rgba(70, 28, 17, .45), 0 0 0 1px var(--line); font-size: 15px; line-height: 1.3; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #7ea36c; box-shadow: 0 0 0 0 rgba(126, 163, 108, .6); animation: ping 2.4s infinite; flex: none; }
.status-dot.is-closed { background: var(--rose); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(126, 163, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 163, 108, 0); } }
.hero-badge strong { display: block; font-family: var(--ui); font-size: 15px; }
.hero-sun { position: absolute; z-index: -1; right: -8%; top: -6%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--blush); }
.assure { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); margin-top: clamp(36px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .assure { grid-template-columns: repeat(4, 1fr); } }
.assure li { padding: 22px 22px 22px 0; display: grid; gap: 4px; align-content: start; }
.assure li + li { padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .assure li:nth-child(3) { padding-left: 0; border-left: 0; } .assure li:nth-child(n+3) { border-top: 1px solid var(--line); } }
.assure h3 { font: 700 16px/1.25 var(--ui); letter-spacing: 0; }
.assure p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.assure svg { width: 30px; height: 30px; margin-bottom: 8px; color: var(--rose); }
.assure--center li { justify-items: center; text-align: center; }

/* welcome (dark) */
.welcome { padding-block: clamp(64px, 9vw, 130px); }
.welcome .split { align-items: center; }
.welcome .blob { aspect-ratio: 1.12; width: 100%; }
.welcome h2 { margin-bottom: 26px; }
.welcome h3.sub { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); margin: 28px 0 0; color: var(--blush); }

/* services */
.services { display: grid; gap: clamp(28px, 6vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .services { grid-template-columns: .8fr 1.2fr; } .services-intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; border-bottom: 1px solid var(--line); }
.svc > a { display: grid; grid-template-columns: clamp(64px, 9vw, 104px) 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: clamp(24px, 3.4vw, 40px) 0; text-decoration: none; }
.svc-icon { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--blush); transition: background-color .5s var(--ease), transform .6s var(--ease); }
.svc-icon img { width: 62%; }
.svc h3 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); transition: transform .5s var(--ease); }
.svc p { margin: 10px 0 0; max-width: 46ch; font-size: .95em; color: var(--ink-soft); }
.svc .go { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brown); display: grid; place-items: center; transition: background-color .4s, color .4s, transform .5s var(--ease); }
.svc .go svg { width: 18px; height: 18px; }
.svc > a:hover .svc-icon, .svc.is-active .svc-icon { background: var(--pink); transform: rotate(-6deg) scale(1.04); }
.svc > a:hover h3 { transform: translateX(10px); }
.svc > a:hover .go { background: var(--brown); color: var(--cream); transform: rotate(-45deg); }
.svc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc:hover::after, .svc.is-active::after { transform: scaleX(1); }

/* membership */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; }
.price b { font: 400 clamp(3rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; }
.price small { font-size: 16px; color: var(--ink-soft); }
.ticks { display: grid; gap: 12px; margin: 22px 0 28px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.ticks svg { width: 26px; height: 26px; color: var(--rose); margin-top: -1px; }
.ticks path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .8s var(--ease) calc(var(--i, 0) * .09s + .25s); }
.is-in .ticks path, .ticks.is-in path { stroke-dashoffset: 0; }

/* carousels */
.carousel { position: relative; }
.track { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 8px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { flex: none; scroll-snap-align: start; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.car-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.car-btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid currentColor; background: none; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s, transform .4s var(--ease); }
.car-btn:hover:not(:disabled) { background: var(--brown); color: var(--cream); }
.dark .car-btn:hover:not(:disabled) { background: var(--cream); color: var(--brown); }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-btn svg { width: 20px; height: 20px; }
.car-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.car-bar i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(.1); transition: transform .4s var(--ease); }

/* testimonials */
.quotes { overflow: hidden; }
.q-track { display: flex; transition: transform .9s var(--ease); }
.q { flex: 0 0 100%; padding-right: clamp(0px, 4vw, 80px); }
.q blockquote { margin: 0; font: 400 clamp(1.5rem, 3.1vw, 2.9rem)/1.2 var(--serif); letter-spacing: -.01em; max-width: 26em; text-wrap: pretty; }
.q blockquote::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .6; color: var(--pink); height: .5em; margin-bottom: .2em; }
.q figcaption { margin-top: 28px; font: 700 15px/1.3 var(--ui); }
.q-nav { display: flex; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.q-dots { display: flex; gap: 8px; margin-inline: 12px; }
.q-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: color-mix(in srgb, currentColor 28%, transparent); cursor: pointer; transition: width .5s var(--ease), background-color .3s; }
.q-dots button[aria-current="true"] { width: 38px; background: var(--pink); }

/* team cards */
.team-track > * { width: clamp(240px, 26vw, 340px); }
.person { position: relative; display: block; width: 100%; text-align: left; border: 0; padding: 0; background: none; cursor: pointer; color: inherit; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; background: var(--tone, var(--blush)); overflow: hidden; transition: background-color .5s var(--ease); }
.person-photo img { position: absolute; left: 4%; bottom: 0; width: 92%; height: 92%; object-fit: contain; object-position: bottom; transition: transform .8s var(--ease); }
.person:hover .person-photo, .person:focus-visible .person-photo { background: var(--brown); }
.person:hover .person-photo img { transform: scale(1.04) translateY(-2px); }
.person h3 { font-size: 1.55rem; margin: 18px 0 2px; }
.person p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.person .more { display: inline-flex; gap: 6px; margin-top: 8px; font: 700 13px/1 var(--ui); color: var(--clay); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease); }
.person:hover .more, .person:focus-visible .more { opacity: 1; transform: none; }
@media (hover: none) { .person .more { opacity: 1; transform: none; } }

dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; width: 100%; height: 100%; }
dialog::backdrop { background: rgba(70, 28, 17, .62); backdrop-filter: blur(6px); }
.modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(960px, 100%); height: min(640px, 84vh); max-height: min(88vh, 760px); overflow: auto; background: var(--cream); border-radius: 32px; display: grid; grid-template-columns: 1fr; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .5); animation: pop .55s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (min-width: 760px) { .modal-card { grid-template-columns: .8fr 1.2fr; } }
.facts { display: grid; gap: 10px; margin: 0 0 22px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15.5px; }
.facts b { font-family: var(--ui); }
.facts div { display: flex; align-items: flex-start; gap: 10px; }
.fact-ic { flex: none; width: 22px; height: 22px; color: var(--rose); margin-top: -.1em; }
.fact-ic svg { width: 100%; height: 100%; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: none; box-shadow: none; cursor: pointer; z-index: 2; font-size: 30px; line-height: 1; color: var(--brown); transition: transform .35s var(--ease); }
.modal-x:hover { transform: rotate(20deg); }

/* practice gallery */
.gallery { display: grid; gap: 18px; }
.gal-stage { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blush); cursor: zoom-in; }
.gal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.gal-stage img.on { opacity: 1; transform: none; }
.gal-cap { position: absolute; left: 20px; bottom: 20px; background: var(--cream); border-radius: 999px; padding: 9px 18px; font: 700 14px/1 var(--ui); z-index: 2; }
.gal-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.gal-chips::-webkit-scrollbar { display: none; }
.tour { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blush); }
.tour iframe { width: 100%; height: 100%; border: 0; }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: clamp(48px, 7vw, 110px); width: max-content; animation: slide 46s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: clamp(44px, 6vw, 72px); width: auto; max-width: 200px; object-fit: contain; }
@keyframes slide { to { transform: translateX(-50%); } }

/* cards (topics, aesthetics) */
.rows { display: grid; gap: clamp(40px, 7vw, 110px); }
.row { display: grid; gap: clamp(24px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
.row > div { min-width: 0; }
@media (min-width: 900px) { .row { grid-template-columns: 1.1fr .9fr; } .row:nth-child(even) { grid-template-columns: .9fr 1.1fr; } .row:nth-child(even) .row-media { order: 2; } }
.row-media { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 5 / 4; }
.row-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.row-media .tag { position: absolute; left: 18px; top: 18px; z-index: 2; background: var(--cream); border-radius: 999px; padding: 8px 16px; font: 700 13px/1 var(--ui); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.pills a { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.pills a:hover { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.cards { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: var(--cream); overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(70, 28, 17, .45), 0 0 0 1px var(--line); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 1.75rem; }
.card p { font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--ink-soft); flex: 1; }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font: 400 clamp(1.4rem, 2.4vw, 2.1rem)/1.15 var(--serif); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brown); transition: background-color .3s, transform .5s var(--ease); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; translate: -50% -50%; transition: transform .4s var(--ease); }
.acc summary .pm::after { transform: rotate(90deg); }
.acc details.is-open .pm { background: var(--brown); color: var(--cream); transform: rotate(180deg); }
.acc details.is-open .pm::after { transform: rotate(0); }
.acc .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc details.is-open .panel { grid-template-rows: 1fr; }
.acc .panel > div { overflow: hidden; }
.acc .panel-in { padding: 0 0 30px; max-width: 70ch; }
.acc details:hover summary .pm { background: var(--blush); }
.fees-acc summary { transition: transform .3s var(--ease); font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.fees-acc details:hover summary { transform: translateX(6px); }
.fees-acc summary .pm { width: 38px; height: 38px; }
.fees-acc summary .pm::before, .fees-acc summary .pm::after { width: 14px; }
.acc details.is-open:hover summary .pm { background: var(--brown); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.price-table td { padding: 15px 4px; border-bottom: 1px solid var(--line); vertical-align: top; transition: transform .3s var(--ease), font-weight .2s; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-family: var(--ui); padding-left: 24px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { font-weight: 700; }
.hl { background: var(--blush); border-radius: 4px; box-shadow: 0 0 0 3px var(--blush); }
.search { position: relative; max-width: 440px; }
.search input { width: 100%; height: 52px; border-radius: 999px; border: 2px solid var(--brown); background: var(--cream); padding: 0 20px 0 52px; font: 400 16px var(--sans); color: var(--brown); transition: border-color .3s; }
.search input:focus { outline: 0; border-color: var(--pink); box-shadow: none; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; transition: color .3s; }
.search:focus-within svg { color: var(--pink); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer; background-color: var(--brown); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.empty { padding: 36px 0; font: 400 1.5rem var(--serif); color: var(--brown); }
.empty-wa { color: inherit; font-style: italic; white-space: nowrap; transition: color .3s; }
.empty-wa:hover { color: var(--pink); }

/* forms */
.form { display: grid; gap: 22px; }
.fields { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 26px 18px 10px; border: 1.5px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--cream) 70%, #fff); font: 400 17px/1.3 var(--sans); color: var(--brown); transition: border-color .3s, box-shadow .3s, background-color .3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23461c11' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field label { position: absolute; left: 19px; top: 19px; font-size: 17px; color: var(--ink-soft); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--brown); background: #fff; box-shadow: 0 0 0 4px var(--blush); }
.field input:not(:placeholder-shown) ~ label, .field textarea:not(:placeholder-shown) ~ label, .field input:focus ~ label, .field textarea:focus ~ label, .field select:focus ~ label, .field select.has-value ~ label { transform: translateY(-13px) scale(.74); color: var(--clay); }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: #b3402c; box-shadow: 0 0 0 4px rgba(179, 64, 44, .12); }
.field .err { display: none; margin: 6px 6px 0; font-size: 14px; color: #a23b28; }
.field.is-bad .err { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font: 700 15px/1.3 var(--ui); margin-bottom: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 16px; background: color-mix(in srgb, var(--cream) 70%, #fff); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .3s, box-shadow .3s; }
.choice input:checked + span { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.choice input:checked + span::before { background: var(--pink); box-shadow: inset 0 0 0 3px var(--brown); border-color: var(--pink); }
.choice input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 3px; }
.choice input:hover:not(:checked) + span { border-color: var(--brown); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; cursor: pointer; font-size: 15.5px; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border: 1.5px solid var(--brown); border-radius: 8px; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .3s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--cream); border-bottom: 2.5px solid var(--cream); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .3s var(--ease); }
.check input:checked { background: var(--brown); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.form-note { font-size: 14px; color: var(--ink-soft); margin: 0; }
.form-done { display: none; text-align: center; padding: clamp(32px, 6vw, 72px) 16px; }
.form-done.is-shown { display: block; animation: pop .7s var(--ease); }
.form-done .badge { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.form-done svg { width: 40px; height: 40px; color: var(--brown); }
.form-done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form.is-sent { display: none; }
.form-card { background: var(--cream); border-radius: 32px; padding: clamp(24px, 4vw, 52px); box-shadow: 0 40px 70px -46px rgba(70, 28, 17, .5), 0 0 0 1px var(--line); }
.steps { display: flex; gap: 8px; margin-bottom: 30px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.steps i::after { content: ""; position: absolute; inset: 0; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.steps i.done::after { transform: scaleX(1); }
.step { display: none; }
.step.is-active { display: grid; gap: 22px; animation: stepin .6s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(26px); } }
.step-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.summary { display: grid; gap: 10px; padding: 20px; border-radius: 18px; background: var(--cream-2); font-size: 15.5px; }
.summary div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; }
.summary dt { color: var(--ink-soft); min-width: 0; } .summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* contact info */
.info-list { display: grid; gap: 22px; }
.info-list a { text-decoration: none; }
.info-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.info-item .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; transition: background-color .4s, transform .5s var(--ease); }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item:hover .ic { background: var(--pink); transform: rotate(-8deg); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-family: var(--ui); font-size: 15px; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--pink); }
.hours tr.today th::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 10px; }
.map { border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }

/* page hero (inner) */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.page-hero .lede { max-width: 38em; }
.crumbs { display: flex; gap: 10px; font-size: 14px; margin-bottom: 26px; color: var(--ink-soft); flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--clay); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.hero-photo { margin-top: clamp(32px, 5vw, 64px); border-radius: clamp(24px, 4vw, 44px); overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.hero-photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.cta-band { text-align: center; }
.cta-band .h2 { margin-inline: auto; max-width: 14em; }
.cta-band .actions { justify-content: center; }
.tx-layout { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .tx-layout { grid-template-columns: 1fr 360px; } .tx-aside { position: sticky; top: calc(var(--header-h) + 28px); } }
.aside-card { background: var(--brown); color: var(--cream); border-radius: 28px; padding: 30px; }
.aside-card h3 { font-size: 1.9rem; margin-bottom: 12px; }
.aside-card p { font-size: 15.5px; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-links { margin-top: 18px; display: grid; gap: 4px; }
.aside-links a { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(255, 246, 236, .18); text-decoration: none; font-size: 15.5px; transition: padding .3s var(--ease), color .3s; }
.aside-links a:hover { padding-left: 12px; color: var(--pink); }
.timeline { position: relative; display: grid; gap: 0; counter-reset: st; padding-left: 4px; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 22px; height: calc(var(--line-end, 100%) - 22px); width: 2px; background: var(--line); }
.timeline .prog { position: absolute; left: 25px; top: 22px; width: 2px; height: 0; background: var(--brown); }
.timeline li { position: relative; padding: 0 0 34px 68px; counter-increment: st; }
.timeline li:last-child { padding-bottom: 0; }
.panel-in > .timeline:first-child { margin-top: 5px; }
.timeline li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); display: grid; place-items: center; font: 700 15px/1 var(--ui); transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease); z-index: 1; }
.timeline li.is-on::before { background: var(--brown); color: var(--cream); border-color: var(--brown); transform: scale(1.06); transform-origin: 50% 0; }
.timeline li p { margin: 0; }
.checklist { display: grid; gap: 14px; margin: 26px 0; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 1.02em; }
.checklist svg { width: 34px; height: 34px; color: var(--rose); }
.checklist path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1s var(--ease) calc(var(--i, 0) * .12s + .3s); }
.is-in .checklist path, .checklist.is-in path { stroke-dashoffset: 0; }

/* footer */
.site-footer { background: var(--brown); color: var(--cream); padding-top: clamp(40px, 5vw, 72px); }
.foot-top { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: clamp(28px, 4vw, 52px); }
/* 900-1199px: four even columns squeeze Opening Hours until its times wrap/clip — drop it below
   the address and contact columns instead, where it has the full row to itself. */
@media (min-width: 900px) and (max-width: 1199px) {
  .foot-top { grid-template-columns: 1.3fr 1fr 1fr; grid-template-areas: "brand explore contact" "hours hours hours"; }
  .foot-brand { grid-area: brand; } .foot-explore { grid-area: explore; } .foot-contact { grid-area: contact; } .foot-oh { grid-area: hours; }
}
@media (min-width: 1200px) { .foot-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-brand p, .foot-brand a { color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: 16px; }
.site-footer h4 { font: 700 13px/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 16px; }
.site-footer li a { display: inline-block; padding: 5px 0; text-decoration: none; transition: color .25s, transform .35s var(--ease); font-size: 16px; }
.site-footer li a:hover, .foot-contact a:hover, .foot-brand a:hover:not(.brand) { color: var(--pink); transform: translateX(3px); }
.foot-contact a:not(.btn), .foot-brand a { display: block; padding: 5px 0; text-decoration: none; transition: color .25s, transform .35s var(--ease); }
.foot-hours { font-size: 15px; } .foot-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; max-width: 260px; }
.foot-hours .today { font-weight: 700; color: var(--pink); }
.foot-hours .today span:first-child::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 10px; }
.socials { display: flex; gap: 18px; margin-top: 18px; }
.socials a { display: grid; place-items: center; color: var(--cream); transition: color .3s, transform .5s var(--ease); }
.socials a:hover { color: var(--pink); transform: translateY(-3px); }
.socials svg { width: 24px; height: 24px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 26px; border-top: 1px solid rgba(255, 246, 236, .16); font-size: 14px; color: color-mix(in srgb, var(--cream) 70%, transparent); }
.foot-bottom a { text-decoration: none; } .foot-bottom a:hover { color: var(--pink); }
.foot-br { display: none; }
.foot-bottom .credit-link { color: var(--pink); }
.foot-bottom .credit-link:hover { color: color-mix(in srgb, var(--pink) 75%, black); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brown); color: var(--cream); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background-color .3s; box-shadow: 0 14px 30px -12px rgba(70, 28, 17, .6); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--clay); }
.to-top.on-dark { background: var(--cream); color: var(--brown); }
.to-top svg { width: 18px; height: 18px; }
@media print { .site-header, .progress, .to-top, .drawer { display: none; } }
.foot-contact a.btn { display: inline-flex; padding: 0 22px; transform: none; }
.foot-contact a.btn:hover { transform: none; }
.q-track { align-items: flex-start; }
.quotes { min-height: 0; }
.person-photo { display: block; }
.gallery { grid-template-columns: minmax(0, 1fr); }
.gal-chips { min-width: 0; }
.car-ctrl > .gal-chips { flex: 1 1 0; }
ol { margin: 0; padding: 0; list-style: none; }
.aside-links svg { width: 18px; height: 18px; flex: none; }
.aside-links a { align-items: center; }
.card .link-arrow svg, .row .btn svg { width: 1.1em; height: 1.1em; }
.tx-err { color: #a23b28; margin: 12px 0 0; font-size: 15px; }
.tx-err[hidden] { display: none; }
.dark .modal-card p, .modal-card p { color: var(--ink-soft); }
.dark .modal-card { color: var(--ink); }
.dark .modal-card h3 { color: var(--brown); }
.hero { overflow: clip; }

/* phone-only pieces, switched on by mobile.css: the nested treatment-field menu and the sitewide footer on the homepage */
.drawer .d-nested { display: none; }
.home-page .site-footer { display: none; }

/* referral file attach */
.file-field { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-field input[type=file]:focus-visible + .file-name, .file-field .file-btn:has(+ input:focus-visible) { outline: 2px solid var(--brown); outline-offset: 3px; }
.file-btn { cursor: pointer; }
.file-name { font-size: 15px; color: var(--brown); word-break: break-all; }
.file-hint { font-size: 15px; color: var(--ink-soft); }
