/* Ana Martins Beauty Clinic - redesign
   Palette from the original site: wine #861F32, cream #F7EDE2, gold #EACA7E */
:root {
  --wine: #861f32;
  --wine-d: #5e1523;
  --wine-x: #3a0c16;
  --cream: #f7ede2;
  --cream-2: #efe0cf;
  --sand: #dbcab5;
  --gold: #eaca7e;
  --gold-l: #f7e4a1;
  --gold-d: #b8934a;
  --ink: #3b1a21;
  --r: 22px;
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --hh: 76px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold-grad: linear-gradient(120deg, #f7e4a1 0%, #eaca7e 40%, #b8934a 75%, #eaca7e 100%);
  --gold-grad-d: linear-gradient(120deg, #9c7430 0%, #c9a24f 45%, #8f6a28 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--cream); color: var(--wine); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--wine); color: var(--gold-l); }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--gold); color: var(--wine); padding: 12px 18px; }
.skip:focus { left: 8px; top: 8px; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; }

/* ---------- type ---------- */
.eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-d); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.2rem; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.h1, .h2 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; text-transform: none; }
.h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.h1--md { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.h2--light, .h2--light + p { color: var(--cream); }
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.85; max-width: 60ch; color: var(--wine); opacity: 0.92; margin-top: 1.4rem; }
.sec { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .lead { margin-inline: auto; }
.sec__head--center .eyebrow { justify-content: center; }
.sec__head .btn { margin-top: 2rem; }

.tag { display: inline-block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; background: var(--wine); color: var(--gold-l); }
.tag--o { background: transparent; color: var(--wine); border: 1px solid rgba(134, 31, 50, 0.35); }

/* split text animation */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.sw > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 60ms); }
.is-in .sw > span, .sw-in .sw > span { transform: none; }

/* ---------- buttons ---------- */
.btn { --bg: var(--wine); --fg: var(--gold-l); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 30px; border-radius: 99px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; transition: transform 0.4s var(--ease), color 0.4s, box-shadow 0.4s; will-change: transform; border: 1px solid transparent; cursor: pointer; }
.btn > * { position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform 0.55s var(--ease), border-radius 0.55s var(--ease); z-index: 0; }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:hover { color: var(--wine); box-shadow: 0 10px 30px -10px rgba(134, 31, 50, 0.55); }
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 11px 24px; font-size: 0.72rem; }
.btn--gold { --bg: var(--gold); --fg: var(--wine); }
.btn--gold::before { background: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--gold); border-color: rgba(234, 202, 126, 0.7); }
.btn--ghost:hover { color: var(--wine); }
.btn--line { --bg: transparent; --fg: var(--cream); border-color: rgba(247, 237, 226, 0.5); }
.btn--line:hover { color: var(--wine); }
.btn--line-wine { --bg: transparent; --fg: var(--wine); border-color: rgba(134, 31, 50, 0.45); }
.btn--line-wine::before { background: var(--wine); }
.btn--line-wine:hover { color: var(--gold-l); }
.btn--wine::before { background: var(--gold); }
.btn--text { --bg: transparent; --fg: var(--wine); padding-inline: 8px; }
.btn--text::before { display: none; }
.btn--text:hover { box-shadow: none; color: var(--gold-d); }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 0.3s, gap 0.3s; }
.link:hover { color: var(--gold-d); gap: 12px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal='up'] { transform: translateY(36px); }
.js [data-reveal='mask'] { transform: translateY(46px) scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='mask'] img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal='mask'].is-in img { transform: none; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--wine); display: none; place-items: center; transition: transform 1.1s var(--ease) 0.2s, border-radius 1.1s var(--ease) 0.2s; border-radius: 0 0 50% 50% / 0 0 8vh 8vh; }
.preloading .preloader { display: grid; }
.preloader.is-out { transform: translateY(-105%); }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader img { width: min(260px, 60vw); height: auto; animation: preIn 1.2s var(--ease) both; }
.preloader__line { width: 180px; height: 1px; background: rgba(234, 202, 126, 0.25); position: relative; overflow: hidden; }
.preloader__line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: preLine 1.5s var(--ease) 0.2s forwards; }
.preloader.is-out .preloader__inner { opacity: 0; transition: opacity 0.4s; }
@keyframes preIn { from { opacity: 0; transform: translateY(14px) scale(0.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes preLine { to { transform: none; } }
.preloading body { overflow: hidden; }

/* ---------- header / menu ---------- */
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--wine); z-index: 70; }
:root { color-scheme: light; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; height: var(--hh); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-inline: clamp(20px, 4.4vw, 60px); background: var(--wine); color: var(--gold); transition: transform 0.6s var(--ease), box-shadow 0.4s, background 0.4s; }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-stuck { box-shadow: 0 10px 40px -18px rgba(58, 12, 22, 0.8); background: rgba(134, 31, 50, 0.96); backdrop-filter: blur(10px); }
.brand img { width: 150px; height: auto; transition: transform 0.5s var(--ease), filter 0.5s; }
.brand:hover img { transform: scale(1.05); filter: brightness(1.2); }
.nav { display: flex; justify-content: center; gap: clamp(20px, 4vw, 64px); }
.nav a { position: relative; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-l); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current='page'] { color: var(--cream); }
.burger { display: none; width: 46px; height: 46px; position: relative; justify-self: end; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--gold); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger i:nth-child(1) { top: 19px; }
.burger i:nth-child(2) { top: 27px; }
.burger[aria-expanded='true'] i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded='true'] i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--wine-x); color: var(--gold); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gut) 40px; clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path 0.9s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; color: var(--cream); opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.8s var(--ease), color 0.3s; }
.menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 70ms); }
.menu nav a:hover { color: var(--gold); font-style: italic; }
.menu__foot { margin-top: 40px; display: grid; gap: 4px; font-size: 0.9rem; opacity: 0.85; }

/* ---------- decorative blobs ---------- */
.hero__blobs, .phero__bg, .dhero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__blobs i, .phero__bg i, .dhero__bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.hero__blobs i:nth-child(1), .phero__bg i:nth-child(1), .dhero__bg i:nth-child(1) { width: 38vw; height: 38vw; background: radial-gradient(circle, rgba(234, 202, 126, 0.65), transparent 70%); top: -10%; right: -8%; }
.hero__blobs i:nth-child(2), .phero__bg i:nth-child(2), .dhero__bg i:nth-child(2) { width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(134, 31, 50, 0.22), transparent 70%); bottom: -15%; left: -8%; animation-duration: 24s; animation-delay: -6s; }
.hero__blobs i:nth-child(3) { width: 22vw; height: 22vw; background: radial-gradient(circle, rgba(219, 202, 181, 0.9), transparent 70%); top: 30%; left: 40%; animation-duration: 30s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(5vw, 4vh) scale(1.2); } }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: calc(100svh - var(--hh)); display: grid; align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(70px, 8vw, 110px); overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__h { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 8.2vw, 8rem); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.hero__h .line { display: block; overflow: hidden; padding: 0.08em 0 0.12em; margin-bottom: -0.12em; }
.hero__h .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__h .line--it { font-style: italic; font-weight: 400; background: var(--gold-grad-d); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.hero__h .line--it > span { transition-delay: 0.12s; }
.hero-in .hero__h .line > span { transform: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__lead { margin-top: 0; max-width: 54ch; }
.hero__btns { display: flex; align-items: center; gap: 18px; margin-top: 2.2rem; flex-wrap: wrap; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 4 / 5.2; transition: transform 0.4s ease-out; }
.hero__arch { position: absolute; inset: 0; box-shadow: 0 50px 90px -40px rgba(94, 21, 35, 0.6); }
.hero__arch img { transform: scale(var(--s, 1.05)); }
.hero__frame { position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--gold-d); border-radius: 999px 999px var(--r) var(--r); opacity: 0.7; animation: frame 8s ease-in-out infinite alternate; }
@keyframes frame { to { transform: translate(-10px, 10px); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
.badge { position: absolute; left: -48px; bottom: 9%; width: 148px; height: 148px; border-radius: 50%; background: var(--wine); color: var(--gold); display: grid; place-items: center; box-shadow: 0 20px 40px -16px rgba(58, 12, 22, 0.7); }
.badge svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.badge text { font-size: 15.4px; letter-spacing: 3.4px; text-transform: uppercase; fill: currentColor; font-family: var(--sans); }
.badge span { font-family: var(--serif); font-size: 3.4rem; font-style: italic; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.scrollcue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; border: 1px solid rgba(134, 31, 50, 0.45); border-radius: 20px; transform: translateX(-50%); }
.scrollcue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--wine); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--wine); color: var(--gold); overflow: hidden; padding-block: 22px; border-block: 1px solid rgba(234, 202, 126, 0.25); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-style: italic; white-space: nowrap; }
.marquee span.alt { font-style: normal; color: var(--cream); opacity: 0.8; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--sans); font-weight: 300; }
.marquee i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- quotes ---------- */
.quotes { position: relative; min-height: 460px; display: grid; place-items: center; overflow: hidden; color: var(--cream); text-align: center; padding-block: 100px; }
.quotes__bg { position: absolute; inset: -12% 0; }
.quotes__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 12, 22, 0.78), rgba(134, 31, 50, 0.84)); }
.quotes__in { position: relative; display: grid; justify-items: center; }
.quotes__mark { font-family: var(--serif); font-size: 9rem; line-height: 0.6; height: 56px; color: var(--gold); opacity: 0.8; }
.quotes__stage { position: relative; display: grid; width: min(900px, 100%); }
.quotes blockquote { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.quotes blockquote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quotes blockquote p { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-style: italic; line-height: 1.2; text-wrap: balance; }
.quotes__dots { display: flex; gap: 10px; margin-top: 36px; }
.quotes__dots button { width: 38px; height: 3px; background: rgba(247, 237, 226, 0.3); border-radius: 3px; overflow: hidden; position: relative; }
.quotes__dots button::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.quotes__dots button.is-on::after { animation: dot 6s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }

/* ---------- category accordion ---------- */
.cats { display: flex; gap: 14px; height: clamp(440px, 56vw, 620px); }
.cat { position: relative; flex: 1; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; color: var(--cream); transition: flex 0.9s var(--ease); min-width: 0; isolation: isolate; }
.cat:hover, .cat:focus-visible { flex: 3.2; }
.cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.cat:hover .cat__img { transform: scale(1.08); }
.cat__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 12, 22, 0.05) 30%, rgba(58, 12, 22, 0.88)); z-index: -1; transition: opacity 0.5s; }
.cat__num { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 2.2rem; font-style: italic; color: var(--gold-l); opacity: 0.9; transition: opacity 0.4s; }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 22px 30px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.cat__body strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.05; transition: transform 0.7s var(--ease); }
.cat__body em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-l); opacity: 0.85; }
.cat__go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--wine); margin-top: 10px; transform: translateY(14px) scale(0.6); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.5s; }
.cat:hover .cat__go, .cat:focus-visible .cat__go { transform: none; opacity: 1; }

/* ---------- stats ---------- */
.stats { background: var(--wine); color: var(--cream); padding-block: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(234, 202, 126, 0.18), transparent 70%); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px 14px; position: relative; display: grid; gap: 2px; justify-items: center; }
.stat + .stat::before { content: ''; position: absolute; left: -12px; top: 12%; bottom: 12%; width: 1px; background: rgba(234, 202, 126, 0.25); }
.stat strong { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 7vw, 6.2rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat .stat__txt { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-style: italic; padding-block: 0.4em 0.12em; }
.stat > span { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.stat small { font-size: 0.84rem; opacity: 0.75; margin-top: 8px; max-width: 24ch; }

/* ---------- team ---------- */
.team { background: var(--cream-2); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 44px); margin-top: 20px; }
.member { text-align: center; transition: transform 0.4s ease-out; transform-style: preserve-3d; }
.member__img { aspect-ratio: 3 / 4; box-shadow: 0 40px 60px -36px rgba(94, 21, 35, 0.5); position: relative; }
.member__img img { transition: transform 1.2s var(--ease); }
.member:hover .member__img img { transform: scale(1.07); }
.member h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-top: 26px; line-height: 1.1; }
.member p { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-d); margin-top: 8px; font-weight: 500; }

/* ---------- contact ---------- */
.contact { background: var(--cream); padding-block: clamp(80px, 11vw, 160px); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 50vw; height: 50vw; right: -18vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(234, 202, 126, 0.4), transparent 70%); filter: blur(30px); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.contact__list { margin-top: 2rem; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; font-size: 1.02rem; }
.contact__list svg { color: var(--gold-d); flex: none; }
.contact__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.social { display: flex; gap: 12px; margin-top: 2rem; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(134, 31, 50, 0.35); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.social a:hover { background: var(--wine); color: var(--gold); transform: translateY(-4px) rotate(-6deg); }
.card-glass { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(14px); border: 1px solid rgba(184, 147, 74, 0.35); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -50px rgba(94, 21, 35, 0.6); display: grid; gap: 22px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid rgba(134, 31, 50, 0.4); padding: 22px 2px 10px; outline: 0; resize: vertical; transition: border-color 0.3s; }
.field span { position: absolute; left: 2px; top: 20px; font-size: 0.95rem; color: rgba(134, 31, 50, 0.7); pointer-events: none; transition: transform 0.4s var(--ease), color 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--wine); }
.field input:focus + span, .field textarea:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(0.78); color: var(--gold-d); }
.field input.err { border-color: #c0392b; }
.form .btn { justify-self: start; }
.form-msg { font-size: 0.86rem; min-height: 1.2em; }
.form-msg.ok { color: #2f7a4f; }
.form-msg.bad { color: #b3261e; }

/* ---------- footer ---------- */
.footer { background: var(--wine-x); color: var(--cream); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-grad); }
.footer__top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 100px) clamp(30px, 4vw, 50px); position: relative; z-index: 1; }
.footer__h { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; color: var(--cream); margin-bottom: 1.4rem; }
.news__row { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid rgba(234, 202, 126, 0.5); padding-bottom: 8px; }
.news input[type='email'] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--cream); font: inherit; padding: 10px 2px; }
.news input::placeholder { color: rgba(247, 237, 226, 0.55); }
.check { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; margin-top: 16px; cursor: pointer; color: var(--wine); line-height: 1.5; }
.footer .check { color: rgba(247, 237, 226, 0.85); font-size: 0.86rem; }
.check input { position: absolute; opacity: 0; }
.check i { width: 22px; height: 22px; border: 1.5px solid var(--wine); border-radius: 5px; flex: none; position: relative; transition: background 0.3s; }
.check i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--wine); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--ease); }
.check input:checked + i { background: var(--gold); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--wine); outline-offset: 2px; }
.footer .check i { border-color: var(--gold); }
.footer .check input:focus-visible + i { outline-color: var(--gold-l); }
.check input:checked + i { background: var(--gold); }
.footer .form-msg.ok { color: var(--gold-l); }
.footer .form-msg.bad { color: #ffb4a8; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__t { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.footer__t--sp { margin-top: 26px; }
.footer__txt { font-size: 0.95rem; line-height: 1.8; opacity: 0.9; }
.footer__txt a { transition: color 0.3s; }
.footer__txt a:hover, .footer ul a:hover { color: var(--gold); }
.footer ul { display: grid; gap: 12px; }
.footer ul a { display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; transition: color 0.3s, transform 0.4s var(--ease); }
.footer ul a:hover { transform: translateX(6px); }
.footer ul.plain a svg { display: none; }
.footer__mark { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 19vw, 17rem); line-height: 0.8; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(234, 202, 126, 0.3); user-select: none; margin-top: 10px; }
.footer__bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 28px; border-top: 1px solid rgba(234, 202, 126, 0.2); font-size: 0.8rem; opacity: 0.85; position: relative; z-index: 1; flex-wrap: wrap; }
.footer__bot img { width: 100px; height: auto; }

/* ---------- page hero ---------- */
.phero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 90px); }
.phero__in { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.phero__in--center { grid-template-columns: 1fr; text-align: center; }
.phero__in--center .lead { margin-inline: auto; }
.phero__in--center .eyebrow { justify-content: center; }
.phero__txt .h1 { text-wrap: balance; }
.phero__img { aspect-ratio: 4 / 4.8; width: min(100%, 420px); justify-self: end; box-shadow: 0 50px 80px -44px rgba(94, 21, 35, 0.6); }
.phero--about .phero__img { aspect-ratio: 3 / 4; }
.phero--legal { padding-block: clamp(48px, 6vw, 90px) 20px; }

/* ---------- about ---------- */
.journey { background: var(--cream); }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; position: relative; }
.journey__year { grid-column: 1 / -1; position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; overflow: hidden; z-index: 0; }
.journey__year span { font-family: var(--serif); font-style: italic; font-size: clamp(10rem, 30vw, 28rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(184, 147, 74, 0.28); }
.journey__txt, .journey__photo { position: relative; z-index: 1; }
.journey__txt p { margin-top: 1.4rem; font-size: 1.04rem; line-height: 1.9; }
.journey__photo { aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(94, 21, 35, 0.6); }
.pull { background: var(--wine); color: var(--cream); padding-block: clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.pull::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 20%, rgba(234, 202, 126, 0.2), transparent 70%); }
.pull__in { position: relative; z-index: 1; max-width: 960px; text-align: center; }
.pull__mark { display: block; font-family: var(--serif); font-size: 10rem; line-height: 0.6; height: 64px; color: var(--gold); }
.pull blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.4; }
.pull footer { margin-top: 28px; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.media { background: var(--cream-2); }
.media__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.mcard { background: var(--cream); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 50px -36px rgba(94, 21, 35, 0.5); display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.mcard:hover { transform: translateY(-8px); }
.mcard__img { aspect-ratio: 4 / 4.4; overflow: hidden; display: block; width: 100%; cursor: zoom-in; }
.mcard__img img { transition: transform 1.2s var(--ease); }
.mcard:hover .mcard__img img { transform: scale(1.07); }
.mcard__body { padding: 22px; display: grid; gap: 10px; justify-items: start; }
.mcard__logo { height: 34px; width: auto; max-width: 120px; object-fit: contain; border-radius: 4px; }
.mcard__body p { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; }
.media__note { max-width: 880px; margin: clamp(36px, 5vw, 64px) auto 0; text-align: center; font-size: 1.02rem; line-height: 1.9; }
.training { background: var(--wine-x); color: var(--cream); overflow: hidden; }
.training::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 0% 100%, rgba(234, 202, 126, 0.16), transparent 70%); }
.training__grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.training__txt p { margin-top: 1.4rem; opacity: 0.88; line-height: 1.9; }
.training__list { display: grid; gap: 0; counter-reset: t; }
.training__list li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(234, 202, 126, 0.25); transition: padding 0.5s var(--ease), background 0.5s; }
.training__list li:last-child { border-bottom: 1px solid rgba(234, 202, 126, 0.25); }
.training__list li:hover { padding-left: 16px; }
.training__list li span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.6rem; }
.training__list li strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.2; }
.mosaic__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: clamp(10px, 1.6vw, 20px); }
.mosaic__item { overflow: hidden; border-radius: var(--r); cursor: zoom-in; position: relative; }
.mosaic__item:nth-child(1), .mosaic__item:nth-child(6) { grid-row: span 2; }
.mosaic__item img { transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.08); }

/* ---------- services page ---------- */
.filterbar { position: sticky; top: var(--hh); z-index: 40; background: rgba(247, 237, 226, 0.92); backdrop-filter: blur(12px); border-block: 1px solid rgba(134, 31, 50, 0.15); transition: top 0.6s var(--ease); }
body.hdr-hidden .filterbar { top: 0; }
.filterbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(134, 31, 50, 0.3); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.chip small { opacity: 0.85; margin-left: 4px; font-size: 0.9em; }
.chip:hover { border-color: var(--wine); transform: translateY(-2px); }
.chip.is-on { background: var(--wine); color: var(--gold-l); border-color: var(--wine); }
.search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(134, 31, 50, 0.4); padding: 6px 2px; flex: none; width: 240px; color: var(--wine); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font: inherit; font-size: 0.9rem; color: var(--wine); }
.search input::placeholder { color: rgba(134, 31, 50, 0.6); }
.svc-cat { padding-block: clamp(56px, 8vw, 110px) 0; }
.svc-cat:last-of-type { padding-bottom: clamp(60px, 8vw, 110px); }
.svc-cat[hidden] { display: none; }
.svc-cat__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 56px); align-items: start; margin-bottom: clamp(28px, 4vw, 52px); max-width: 1000px; }
.svc-cat__n { font-family: var(--serif); font-style: italic; font-size: clamp(3.6rem, 8vw, 7rem); line-height: 0.8; background: var(--gold-grad-d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-cat__head p { margin-top: 1rem; line-height: 1.85; max-width: 70ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.scard { position: relative; display: flex; flex-direction: column; background: var(--cream); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(184, 147, 74, 0.3); box-shadow: 0 26px 46px -38px rgba(94, 21, 35, 0.55); transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s, opacity 0.5s; transform-style: preserve-3d; }
.scard:hover { box-shadow: 0 40px 60px -34px rgba(94, 21, 35, 0.6); border-color: var(--gold-d); }
.scard.is-gone { display: none; }
.scard__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--sand); }
.scard__img img { transition: transform 1.2s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.08); }
.scard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(58, 12, 22, 0.35)); opacity: 0; transition: opacity 0.5s; }
.scard:hover .scard__img::after { opacity: 1; }
.scard__body { padding: 22px 24px 26px; display: grid; gap: 12px; justify-items: start; flex: 1; align-content: start; }
.scard__body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.12; text-wrap: balance; }
.scard__go { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); margin-top: auto; padding-top: 6px; transition: gap 0.4s var(--ease), color 0.3s; }
.scard:hover .scard__go { gap: 18px; color: var(--wine); }
.empty { text-align: center; padding-block: 80px; font-family: var(--serif); font-size: 1.6rem; font-style: italic; }

/* ---------- CTA band ---------- */
.band { background: var(--wine); color: var(--cream); position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.band::before, .band::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(234, 202, 126, 0.25); }
.band::before { width: 60vw; height: 60vw; left: -20vw; top: -30vw; animation: ring 14s ease-in-out infinite alternate; }
.band::after { width: 46vw; height: 46vw; right: -14vw; bottom: -26vw; animation: ring 18s ease-in-out infinite alternate-reverse; }
@keyframes ring { to { transform: scale(1.18) rotate(20deg); } }
.band__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.band p { max-width: 52ch; opacity: 0.9; font-size: 1.06rem; }
.band__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ---------- service detail ---------- */
.dhero { position: relative; overflow: hidden; padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 100px); }
.dhero__in { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px; opacity: 0.85; }
.crumbs a:hover { color: var(--gold-d); }
.crumbs i { font-style: normal; opacity: 0.5; }
.dhero__tags { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.dhero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }
.dhero__img { aspect-ratio: 4 / 5; width: min(100%, 440px); justify-self: end; box-shadow: 0 50px 80px -44px rgba(94, 21, 35, 0.65); }
.steps { background: var(--cream-2); padding-block: clamp(48px, 7vw, 100px); }
.steps__in { display: grid; gap: 0; max-width: 980px; }
.step { display: grid; grid-template-columns: clamp(70px, 12vw, 150px) 1fr; gap: clamp(14px, 3vw, 40px); padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid rgba(134, 31, 50, 0.22); }
.step:last-child { border-bottom: 1px solid rgba(134, 31, 50, 0.22); }
.step__n { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; background: var(--gold-grad-d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.1; margin-bottom: 14px; }
.step p { font-size: 1.04rem; line-height: 1.9; max-width: 64ch; }
.step p + p { margin-top: 0.8em; }
.results { background: var(--cream); }
.results__grid { display: grid; gap: clamp(12px, 2vw, 24px); grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-inline: auto; }
.results__grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.results__grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.rcard { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; cursor: zoom-in; box-shadow: 0 30px 50px -36px rgba(94, 21, 35, 0.6); }
.rcard img { transition: transform 1s var(--ease); object-fit: cover; }
.rcard:hover img { transform: scale(1.05); }
.pager { padding-block: 40px; border-top: 1px solid rgba(134, 31, 50, 0.15); }
.pager__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pager__a { display: inline-flex; align-items: center; gap: 16px; max-width: 320px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; transition: color 0.3s, gap 0.4s var(--ease); }
.pager__a small { display: block; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 4px; }
.pager__a--r { text-align: right; }
.pager__a:hover { color: var(--gold-d); gap: 24px; }
.related { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- brands ---------- */
.brands { background: var(--cream-2); }
.brands__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 36px); }
.brand-card { position: relative; background: var(--cream); border: 1px solid rgba(184, 147, 74, 0.4); border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; justify-items: start; overflow: hidden; box-shadow: 0 30px 50px -40px rgba(94, 21, 35, 0.55); transition: transform 0.4s ease-out, box-shadow 0.5s; }
.brand-card:hover { box-shadow: 0 46px 70px -40px rgba(94, 21, 35, 0.6); }
.brand-card__n { position: absolute; right: 28px; top: 8px; font-family: var(--serif); font-style: italic; font-size: 7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(184, 147, 74, 0.35); }
.brand-card__logo { height: 76px; display: flex; align-items: center; }
.brand-card__logo img { max-height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.brand-card__txt { line-height: 1.9; }

/* ---------- clinic ---------- */
.clinic__slider { position: relative; aspect-ratio: 16 / 8.4; border-radius: var(--r); overflow: hidden; box-shadow: 0 50px 80px -50px rgba(94, 21, 35, 0.65); background: var(--sand); }
.clinic__track, .clinic__track figure { position: absolute; inset: 0; }
.clinic__track figure { opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 1.8s var(--ease); }
.clinic__track figure.is-on { opacity: 1; transform: none; }
.clinic__nav { position: absolute; top: 50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(247, 237, 226, 0.9); color: var(--wine); display: grid; place-items: center; transform: translateY(-50%); transition: background 0.3s, transform 0.4s var(--ease); z-index: 2; }
.clinic__nav:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.clinic__nav--prev { left: 20px; }
.clinic__nav--next { right: 20px; }
.clinic__count { position: absolute; left: 24px; bottom: 20px; z-index: 2; color: var(--cream); font-family: var(--serif); font-size: 1.4rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.masonry { columns: 3; column-gap: clamp(10px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 56px); }
.masonry__item { display: block; width: 100%; margin-bottom: clamp(10px, 1.6vw, 20px); border-radius: var(--r); overflow: hidden; break-inside: avoid; cursor: zoom-in; aspect-ratio: 4 / 3; }
.masonry__item.tall { aspect-ratio: 3 / 4; }
.masonry__item.wide { aspect-ratio: 16 / 10; }
.masonry__item img { transition: transform 1.2s var(--ease); }
.masonry__item:hover img { transform: scale(1.07); }

/* ---------- legal ---------- */
.legal { padding-top: 30px; }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.15; margin: 2.2rem 0 0.6rem; }
.prose p, .prose li { line-height: 1.9; }
.prose p + p { margin-top: 0.9em; }
.prose ul { list-style: none; display: grid; gap: 8px; margin: 0.6rem 0 1rem; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 0.8em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-d); }
.prose a { border-bottom: 1px solid currentColor; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(40, 8, 16, 0.94); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity 0.4s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; transform: scale(0.94); transition: transform 0.6s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { color: var(--gold-l); font-family: var(--serif); font-style: italic; font-size: 1.2rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-l); border: 1px solid rgba(234, 202, 126, 0.5); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--wine); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox.is-single .lightbox__nav { display: none; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none; mix-blend-mode: normal; }
  .cursor i, .cursor b { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor i { width: 6px; height: 6px; background: var(--gold-d); }
  .cursor b { width: 38px; height: 38px; border: 1px solid var(--gold-d); transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.4s, border-color 0.4s, opacity 0.3s; opacity: 0; }
  .cursor.is-on b { opacity: 1; }
  .cursor.is-hover b { width: 66px; height: 66px; background: rgba(234, 202, 126, 0.22); border-color: transparent; }
  .cursor.is-zoom b::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: var(--wine); }
}

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.45s var(--ease) both vtOut; }
::view-transition-new(root) { animation: 0.7s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav, .nav-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .hero__grid, .phero__in, .dhero__in, .contact__grid, .journey__grid, .training__grid, .footer__top { grid-template-columns: 1fr; }
  .hero__visual { width: min(84%, 440px); margin-top: 20px; }
  .badge { left: -14px; width: 120px; height: 120px; }
  .badge span { font-size: 2.6rem; }
  .badge text { font-size: 15px; }
    .phero__img, .dhero__img { justify-self: start; width: min(100%, 380px); order: -1; }
  .dhero__txt { order: 1; }
  .journey__year { display: none; }
  .journey__photo { order: -1; aspect-ratio: 16 / 11; }
  .media__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; }
  .stat:nth-child(3)::before { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic__item:nth-child(1), .mosaic__item:nth-child(6) { grid-row: auto; }
  .brands__grid { grid-template-columns: 1fr; }
  .cats { flex-direction: column; height: auto; }
  .cat { flex: none; height: 200px; border-radius: var(--r); transition: height 0.8s var(--ease); }
  .cat:hover, .cat:focus-visible { flex: none; height: 280px; }
  .cat__num { top: 18px; left: 22px; transform: none; }
  .cat__body { padding: 20px 22px; justify-items: start; text-align: left; }
  .cat__go { position: absolute; right: 22px; bottom: 22px; margin: 0; opacity: 1; transform: none; width: 40px; height: 40px; }
  .search { width: 200px; }
}
@media (max-width: 720px) {
  .team__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .svc-grid, .results__grid, .results__grid--2 { grid-template-columns: 1fr; }
  .results__grid--2 { max-width: 420px; }
  .filterbar__in { flex-direction: column; align-items: stretch; gap: 10px; }
  .search { width: 100%; }
  .svc-cat__head { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .step { grid-template-columns: 1fr; gap: 4px; }
  .step__n { font-size: 3.4rem; }
  .pager__in { flex-direction: column; align-items: stretch; text-align: left; }
  .pager__a--r { text-align: left; flex-direction: row-reverse; justify-content: flex-end; }
  .media__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 60px 14px; }
  .lightbox__nav { top: auto; bottom: 14px; margin: 0; }
  .masonry { columns: 1; }
  .clinic__slider { aspect-ratio: 4 / 3.4; }
  .hero__h { font-size: clamp(3rem, 15vw, 5rem); }
  .scrollcue { display: none; }
  .badge { bottom: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .sw > span, .hero__h .line > span { transform: none !important; }
  .marquee__track { animation: none; }
  .preloader { display: none !important; }
}

/* ---------- logo placement ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__brand { margin: 0 0 clamp(20px, 3vw, 36px); line-height: 0; }
.brandmark { position: relative; display: inline-block; width: clamp(280px, 40vw, 540px); }
.brandmark img { width: 100%; height: auto; }
.js .brandmark { opacity: 0; transform: translateY(26px) scale(0.96); transform-origin: left center; transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.hero-in .brandmark { opacity: 1; transform: none; }
.brandmark::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 252, 235, 0.95) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; animation: sheen 7s ease-in-out 2.2s infinite; mix-blend-mode: soft-light; }
@keyframes sheen { 0% { background-position: 160% 0; } 35%, 100% { background-position: -80% 0; } }
.menu__logo { width: min(210px, 56vw); height: auto; align-self: flex-start; margin-bottom: 34px; opacity: 0; transform: translateY(16px); transition: opacity 0.7s 0.3s, transform 0.9s var(--ease) 0.3s; }
.menu.is-open .menu__logo { opacity: 1; transform: none; }
.footer__news { display: flex; flex-direction: column; align-items: flex-start; }
.footer__news .news { width: 100%; }
.footer__logo { display: block; margin-bottom: 34px; }
.footer__logo img { width: min(250px, 70vw); height: auto; transition: transform 0.6s var(--ease), filter 0.6s; }
.footer__logo:hover img { transform: translateY(-3px); filter: brightness(1.08); }
.orn { display: block; width: 120px; height: auto; margin: 0 auto 14px; }
.band__am { position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); height: auto; transform: translate(-50%, -50%); opacity: 0.09; pointer-events: none; }
.preloader img { width: min(380px, 70vw); }

/* one brand mark at a time: the header monogram yields to the hero logo */
.brand { transition: opacity 0.5s, transform 0.7s var(--ease); }
.has-brandmark .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.has-brandmark.brand-out .brand, .has-brandmark.menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 720px) { .footer__mark, .orn { display: none; } }

/* ---------- mobile header: burger left, logo centred, booking CTA right ---------- */
@media (max-width: 1024px) {
  .site-header { grid-template-columns: 1fr auto 1fr; gap: 8px; padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); }
  .burger { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -4px; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .brand img { width: 118px; }
  .nav-cta { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; padding: 9px 18px; font-size: 0.66rem; }
  .menu { clip-path: circle(0 at 36px 38px); }
  .menu.is-open { clip-path: circle(150% at 36px 38px); }
}
@media (max-width: 720px) {
  .hero__txt { text-align: center; }
  .hero__brand { display: flex; justify-content: center; }
  .brandmark { width: clamp(230px, 70vw, 320px); transform-origin: center; }
  .hero__btns { justify-content: center; }
  .hero__lead { margin-inline: auto; }
}
@media (max-width: 1024px) {
  .phero__txt, .dhero__txt { order: 1; }
  .phero__img, .dhero__img { order: 2; justify-self: center; width: min(100%, 320px); aspect-ratio: 4 / 4.6; }
}

/* ---------- audit fixes: contrast, small text, tap targets, footer overflow ---------- */
:root { --gold-t: #7a5a14; }
.eyebrow { color: var(--gold-t); font-size: 0.76rem; }
.eyebrow--gold { color: var(--gold); }
.scard__go, .member p, .pager__a small, .dmeta, .mcard__body p, .opt__m, .sum dt, .brand-card .tag--o { color: var(--gold-t); }
.sum--side dt { color: var(--gold); }
.field input:focus + span, .field textarea:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span, .field--s span { color: var(--gold-t); }
.field span { color: rgba(134, 31, 50, 0.85); }
.tag { font-size: 0.75rem; }
.chip { font-size: 0.78rem; min-height: 40px; }
.chip small { font-size: 0.8em; }
.btn--sm { font-size: 0.76rem; min-height: 42px; }
.footer__t { font-size: 0.75rem; }
.crumbs { font-size: 0.78rem; }
.crumbs a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.pager__a small { font-size: 0.74rem; }
.opt__m { font-size: 0.78rem; }
.cat__body em { font-size: 0.76rem; }
.link { padding-block: 10px; }
.search { padding-block: 10px; }
.brand { padding: 8px 4px; }
.quotes__dots button { position: relative; }
.quotes__dots button::before { content: ''; position: absolute; inset: -20px -4px; }
@media (max-width: 1024px) { .nav-cta { min-height: 44px; font-size: 0.76rem; padding: 10px 20px; } }

/* footer: nothing may push past the screen edge */
.footer__top > *, .footer__cols > * { min-width: 0; }
.news__row input[type='email'] { width: 100%; }
.footer__txt a, .contact__list a { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__cols > div:first-child { grid-column: 1; }
  .footer__cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .footer__cols > div:last-child { grid-column: 2; grid-row: 1; }
  .footer__bot { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .bk__nav, .bk__form .bk__nav { flex-direction: column-reverse; align-items: stretch; }
  .bk__nav .btn { width: 100%; }
  .bk__nav > span:empty { display: none; }
  .bk__form .form-msg { min-height: 0; }
}

.chip small { font-size: 0.9em; }
.scard__go { font-size: 0.78rem; }
.pager__a small { font-size: 0.78rem; }
.search input { padding-block: 9px; }

/* desktop footer: the email must fit on one line */
.footer__txt a, .contact__list a { overflow-wrap: normal; }
.footer__cols { grid-template-columns: 0.85fr 1.3fr 1fr; }
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__txt a, .contact__list a { overflow-wrap: anywhere; } }
