/* Haircom theme — main styles */
:root {
	--ink: #1f1916;
	--ink-2: #2b2420;
	--ink-3: #3a312c;
	--paper: #f7f3ef;
	--sand: #ebe3dc;
	--sand-2: #ddd1c7;
	--stone: #b3a497;
	--muted: #6e6158;
	--gold: #b8915c;
	--line: rgba(31, 25, 22, .14);
	--line-light: rgba(247, 243, 239, .18);
	--sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--r: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 300; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; transform: translateY(-150%); transition: transform .2s; }
.skip:focus { transform: none; }
.muted { color: var(--muted); }
.plain { list-style: none; margin: 0; padding: 0; }

.h-xl { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.2rem); }
.h-sm { font-size: 1.35rem; font-weight: 400; line-height: 1.25; }
.eyebrow {
	font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
	color: var(--muted); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--stone); }
.is-lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink); font-weight: 300; }
.serif-line { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.2; }

.hc-ico { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent;
	font-size: .95rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
	transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
	white-space: nowrap;
}
.btn .hc-ico { transition: transform .25s var(--ease); }
.btn:hover .hc-ico { transform: translateX(3px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { color: var(--paper); border-color: var(--line-light); background: rgba(247, 243, 239, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--outline { border-color: currentColor; color: inherit; }
.btn--sm { padding: .6em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow--light { color: var(--paper); }

/* Header */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	color: var(--paper);
	transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.site-header__in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { position: relative; display: block; width: 158px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .3s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.nav { margin-inline-start: auto; }
.hc-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.hc-menu > li { position: relative; }
.hc-menu a { text-decoration: none; font-size: .95rem; font-weight: 400; padding: .5em 0; display: inline-block; opacity: .9; }
.hc-menu a:hover, .hc-menu .current-menu-item > a, .hc-menu .current-menu-ancestor > a { opacity: 1; text-decoration: underline; }
.hc-menu .sub-menu {
	list-style: none; margin: 0; padding: .7rem; position: absolute; top: 100%; left: -1rem; min-width: 260px;
	background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 20px 50px rgba(31, 25, 22, .18);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.hc-menu .sub-menu a { display: block; padding: .55em .8em; border-radius: 8px; }
.hc-menu .sub-menu a:hover { background: var(--sand); text-decoration: none; }
.hc-menu li:hover > .sub-menu, .hc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-header__actions { display: flex; align-items: center; gap: 1.2rem; }
.site-header__phone { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-size: .92rem; }
.nav__mobile-extra { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.site-header.is-solid { background: rgba(247, 243, 239, .94); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand__dark { opacity: 1; }
.site-header.is-solid .brand__light { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 15, 13, .9) 0%, rgba(20, 15, 13, .65) 38%, rgba(20, 15, 13, .1) 70%),
		linear-gradient(0deg, rgba(20, 15, 13, .85) 0%, rgba(20, 15, 13, 0) 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__in { padding-top: calc(var(--header-h) + 8vh); padding-bottom: 6vh; }
.hero__title { color: var(--paper); font-size: clamp(3rem, 9vw, 7.4rem); font-weight: 300; letter-spacing: -.035em; line-height: .95; max-width: 9ch; margin-bottom: .35em; }
.hero__text { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; color: rgba(247, 243, 239, .86); margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); padding-top: 1.4rem; padding-bottom: 2rem; gap: 1.5rem; }
.hero__facts li { display: flex; flex-direction: column; font-size: .88rem; color: rgba(247, 243, 239, .7); line-height: 1.4; }
.hero__facts strong { font-weight: 300; font-size: 1.6rem; color: var(--paper); letter-spacing: -.01em; }

/* Marquee */
.marquee { background: var(--ink); color: var(--sand); overflow: hidden; border-top: 1px solid var(--line-light); padding: 1.1rem 0; }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 300; white-space: nowrap; letter-spacing: -.01em; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(247, 243, 239, .78); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p:not(.eyebrow) { color: rgba(247, 243, 239, .7); }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.intro__head h2 { margin: 0; }
.intro__body p { color: var(--muted); }
.intro__body .is-lead { color: var(--ink); }
.intro__pics { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; margin-top: clamp(3rem, 7vw, 6rem); align-items: end; }
.intro__pics figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.intro__pics figure:first-child { aspect-ratio: 3 / 2; }
.intro__pics figure:last-child { aspect-ratio: 4 / 5; }
.intro__pics img { width: 100%; height: 100%; object-fit: cover; }
.intro__pics figure:last-child img { background: #e4dad2; }

/* Treatment list */
.tlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tlist__item { border-bottom: 1px solid var(--line); }
.tlist__item a {
	position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1.6fr) 3rem; gap: 1.5rem; align-items: center;
	padding: 1.9rem 0; text-decoration: none; transition: padding .35s var(--ease);
}
.tlist__n { font-size: .85rem; color: var(--muted); letter-spacing: .08em; }
.tlist__t { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.tlist__d { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.tlist__a { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s var(--ease); }
.tlist__img {
	position: absolute; right: 4.5rem; top: 50%; width: 170px; aspect-ratio: 4/3; border-radius: 10px;
	background-size: cover; background-position: center; pointer-events: none;
	opacity: 0; transform: translateY(-50%) scale(.85) rotate(-3deg); transition: .4s var(--ease);
}
.tlist__item a:hover { padding-inline-start: .8rem; }
.tlist__item a:hover .tlist__a { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (min-width: 1000px) {
	.tlist__item a:hover .tlist__img { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
	.tlist__item a:hover .tlist__d { opacity: .25; }
}

/* Compare */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; color: var(--ink); background: var(--sand); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 22%; font-size: .9rem; }
.compare td { color: var(--muted); }

/* Results */
.results__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.results__img { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; }
.results__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.timeline { list-style: none; margin: 2rem 0 2.4rem; padding: 0; border-inline-start: 1px solid var(--line-light); }
.timeline li { position: relative; padding-block: 0 1.1rem; padding-inline: 1.6rem 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline b { font-weight: 500; color: var(--paper); }

/* Estimator */
.est { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.est__pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.est__opt {
	background: var(--paper); border: 1px solid transparent; border-radius: var(--r); padding: 1.2rem .8rem .9rem;
	display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--ink); transition: .25s;
}
.est__opt svg { width: 72%; max-width: 110px; }
.est__opt span { font-size: .9rem; }
.est__opt:hover { border-color: var(--stone); }
.est__opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.est__skin { fill: #e3c9b4; }
.est__hair { fill: #3a2c25; }
.est__bald { fill: #e3c9b4; }
.est__out { background: var(--ink); color: rgba(247, 243, 239, .78); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.est__out .eyebrow { color: var(--stone); }
.est__desc { font-size: 1.05rem; color: var(--paper); }
.est__num { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 300; color: var(--paper); line-height: 1; margin: .6rem 0 .5rem; letter-spacing: -.02em; }
.est__num small { display: block; font-size: .9rem; color: var(--stone); letter-spacing: 0; margin-top: .5rem; }
.est__sess { color: var(--sand); }
.est__fine { font-size: .85rem; color: var(--stone); margin-top: auto; padding-top: 1rem; }
.est__out .btn { align-self: flex-start; background: var(--paper); color: var(--ink); }

/* Doctor */
.doctor { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.doctor__media { border-radius: var(--r); overflow: hidden; background: #e4dad2; aspect-ratio: 1; }
.doctor__media img { width: 100%; height: 100%; object-fit: cover; }
.doctor__title { color: var(--gold); font-weight: 500; letter-spacing: .02em; margin-top: -.4rem; }
.doctor__text > p:not(.eyebrow):not(.doctor__title) { color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 8px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.steps li { border-top: 1px solid var(--line-light); padding-top: 1.4rem; }
.steps span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.steps h3 { font-size: 1.35rem; font-weight: 400; margin: .5rem 0 .6rem; }
.steps p { font-size: .95rem; line-height: 1.6; margin: 0; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid .section__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-size: 1.2rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: .3s var(--ease); }
.faq__item[open] summary span { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq__item p { color: var(--muted); padding: 0 3rem 1.4rem 0; margin: 0; }

/* Consult */
.consult { background: var(--sand); padding: clamp(72px, 10vw, 130px) 0; }
.consult__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.consult__lead { color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .hc-ico { margin-top: .25em; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.consult__form { background: var(--paper); border-radius: calc(var(--r) + 6px); padding: clamp(1.4rem, 3.5vw, 2.6rem); box-shadow: 0 30px 60px -30px rgba(31, 25, 22, .25); }

.cform { display: grid; gap: 1.1rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .85rem; font-weight: 500; color: var(--ink); padding: 0; margin-bottom: .4rem; }
.field input, .field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
	border: 1px solid var(--sand-2); border-radius: 10px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 25, 22, .08); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--sand-2); background: #fff; font-size: .88rem; cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field--inline { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.field--inline legend { width: 100%; }
.field--inline label { white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; }
.field--inline input { accent-color: var(--ink); }
.cform__small { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.form-msg { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.form-msg--ok { background: #e7efe4; color: #23401f; }
.form-msg--ok strong { display: block; font-weight: 500; margin-bottom: .2rem; }
.form-msg--err { background: #f6e3df; color: #6b2015; }

.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.6) sepia(.15); }

/* Page hero */
.phero { position: relative; color: var(--paper); background: var(--ink); min-height: 72svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.phero--short { min-height: 52svh; }
.phero--plain { min-height: 44svh; }
.phero__media { position: absolute; inset: 0; z-index: -1; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 15, 13, .92) 0%, rgba(20, 15, 13, .55) 55%, rgba(20, 15, 13, .35) 100%); }
.phero__in { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.phero__title { color: var(--paper); font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.03em; max-width: 14ch; }
.phero__sub { max-width: 40rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(247, 243, 239, .82); font-weight: 300; margin-bottom: 1.8rem; }
.crumb { display: inline-block; font-size: .88rem; color: var(--stone); text-decoration: none; margin-bottom: 1rem; }
.crumb:hover { color: var(--paper); }

/* Prose */
.prose-wrap.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prose > h2, .prose > h3, .prose > p, .prose > ul, .prose > ol { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; font-weight: 400; margin: 2rem 0 .8rem; }
.prose p, .prose li { color: #4a3f39; }
.prose .is-lead { color: var(--ink); margin-bottom: 2rem; }
.prose ul, .prose ol { padding-inline-start: 1.2rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: .55rem; padding-inline-start: .3rem; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose .is-note { font-size: .9rem; color: var(--muted); border-inline-start: 2px solid var(--gold); padding-inline-start: 1rem; margin-top: 2.4rem; }
.prose > .tlist, .prose > .est, .prose > .doctor, .prose > .ba { margin: 2.4rem 0; }
.prose > .doctor { padding-top: 2rem; }
.side { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1rem; }
.side__card { background: var(--sand); border-radius: var(--r); padding: 1.6rem; }
.side__card li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side__card li:last-child a { border-bottom: 0; }
.side__card li a:hover { color: var(--muted); }
.side__card--dark { background: var(--ink); color: rgba(247, 243, 239, .75); }
.side__card--dark .h-sm { color: var(--paper); margin-bottom: .4rem; }
.post-row { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }

/* Before / after slider */
.ba { margin: 0; }
.ba__frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; --pos: 50%; user-select: none; }
.ba__frame img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; }
.ba__tag { position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(31, 25, 22, .7); color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 1rem; }
.ba__tag--r { right: 1rem; }
.ba figcaption { font-size: .9rem; color: var(--muted); margin-top: .7rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 243, 239, .72); padding: clamp(64px, 9vw, 110px) 0 calc(2rem + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-footer h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; color: var(--stone); margin-bottom: 1.1rem; }
.site-footer a { text-decoration: none; }
.site-footer .muted { color: var(--stone); }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.site-footer__brand img { width: 220px; margin-bottom: 1.4rem; }
.site-footer__brand .serif-line { color: var(--sand); max-width: 16rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.site-footer__cols .plain li { margin-bottom: .45rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.6rem; font-size: .82rem; color: var(--stone); }
.site-footer__bottom p { margin: 0; max-width: 46rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }

/* Floating contact */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	transition: transform .3s var(--ease);
}
.wa-float .hc-ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.dock { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.site-header__phone span { display: none; }
	.hc-menu { gap: 1.4rem; }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
}

@media (max-width: 900px) {
	:root { --header-h: 66px; }
	.brand { width: 132px; }
	.burger { display: block; }
	.site-header__phone, .site-header__actions .btn { display: none; }
	.nav {
		position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--paper);
		padding: calc(var(--header-h) + 2rem) var(--gut) 2rem; overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
		display: flex; flex-direction: column;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
	.nav-open .site-header .brand__light { opacity: 1; }
	.nav-open .site-header .brand__dark { opacity: 0; }
	.nav-open { overflow: hidden; }
	.hc-menu { flex-direction: column; gap: 0; }
	.hc-menu > li > a { font-size: 1.9rem; font-weight: 300; padding: .5rem 0; letter-spacing: -.02em; }
	.hc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; color: var(--stone); box-shadow: none; padding: 0 0 .8rem; min-width: 0; }
	.hc-menu .sub-menu a { padding: .3rem 0; font-size: 1rem; }
	.hc-menu .sub-menu a:hover { background: none; }
	.nav__mobile-extra { display: grid; gap: 1rem; margin-top: auto; padding-top: 2rem; }
	.nav__phone { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; color: var(--stone); justify-content: center; }

	.hero__media img { object-position: 62% 20%; }
	.hero__media::after { background: linear-gradient(0deg, rgba(20, 15, 13, .96) 0%, rgba(20, 15, 13, .75) 45%, rgba(20, 15, 13, .15) 75%); }
	.hero__in { padding-top: 40vh; padding-bottom: 2rem; }
	.hero__facts { grid-template-columns: 1fr 1fr; }

	.intro__grid, .results__grid, .doctor, .faq__grid, .consult__grid, .est, .prose-wrap.has-side, .site-footer__top { grid-template-columns: 1fr; }
	.faq__grid .section__head { position: static; }
	.tlist__item a { grid-template-columns: 2.4rem 1fr 2.6rem; gap: .4rem 1rem; padding: 1.5rem 0; }
	.tlist__d { grid-column: 2 / 3; grid-row: 2; font-size: .92rem; }
	.tlist__a { grid-column: 3; grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; }
	.tlist__img { display: none; }
	.tlist__n { align-self: start; padding-top: .4rem; }
	.steps { grid-template-columns: 1fr 1fr; }
	.side { position: static; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }

	.wa-float { display: none; }
	.dock {
		display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(247, 243, 239, .96); backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
	}
	.dock a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem .4rem; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); }
	.dock a:nth-child(2) { color: #128c4b; }
	.dock__main { background: var(--ink); color: var(--paper) !important; border-color: var(--ink) !important; }
	body { padding-bottom: 72px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.hero__facts { gap: 1rem; padding-bottom: 1.5rem; }
	.hero__facts strong { font-size: 1.3rem; }
	.hero__cta .btn { flex: 1 1 auto; }
	.intro__pics { grid-template-columns: 1fr; }
	.intro__pics figure:last-child { aspect-ratio: 1; }
	.est__pick { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
	.est__opt { padding: .8rem .3rem .6rem; }
	.est__opt span { font-size: .78rem; }
	.cform__row { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.timeline li { grid-template-columns: 1fr; gap: 0; }
	.faq__item summary { font-size: 1.05rem; }
	.faq__item p { padding-right: 0; }
	.site-footer__cols { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; }
	.map iframe { height: 320px; }
	.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Elementor compatibility ---------- */
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal { opacity: 1 !important; transform: none !important; }
.elementor .hero__media img,
.elementor .phero__media img,
.elementor .doctor__media img,
.elementor .intro__pics img,
.elementor .results__img img,
.elementor .ba__frame img { height: 100%; border-radius: 0; }
.elementor .hero__media img { object-fit: cover; }
.elementor .elementor-widget-container > .section,
.elementor .elementor-widget-container > .hero { margin: 0; }
.elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }
.elementor-widget-google_maps iframe { filter: grayscale(.6) sepia(.15); }
/* Native Elementor text/heading widgets inherit the Haircom look */
.elementor-widget-heading .elementor-heading-title { font-family: var(--sans); font-weight: 300; color: var(--ink); }
.elementor-widget-text-editor { font-family: var(--sans); }

/* ---------- v1.2 additions ---------- */
.hero__title { max-width: 12ch; font-size: clamp(2.8rem, 7.6vw, 6.4rem); }
.hero__ml { font-family: "Noto Sans Malayalam", var(--sans); font-size: 1.02rem; color: var(--sand); margin: -1.2rem 0 2rem; max-width: 34rem; }
[lang="ml"] { font-family: "Noto Sans Malayalam", var(--sans); }
.compare table.cols-2 { min-width: 560px; }
.compare table.cols-2 thead th:not(:first-child) { width: 39%; }
.compare table.cols-2 thead th:nth-child(2) { background: var(--ink); color: var(--paper); }
.cform__row--loc { align-items: end; }
.field--inline.field--loc { margin: 0; }
.cform__wa { display: flex; gap: .7rem; align-items: center; background: var(--sand); border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; color: var(--ink); text-decoration: none; }
.cform__wa .hc-ico { color: #128c4b; width: 1.4em; height: 1.4em; }
.cform__wa:hover { background: var(--sand-2); }
.site-footer__name { font-weight: 500; color: var(--paper); }

/* =========================================================
   v1.3 — responsive polish (phones, tablets, laptops, wide)
   ========================================================= */

/* Wide screens: use a little more of the width */
@media (min-width: 1600px) {
	:root { --wrap: 1360px; }
	body { font-size: 18px; }
}

/* Laptops (short screens): keep the whole hero in view */
@media (min-width: 901px) and (max-height: 820px) {
	.hero__in { padding-top: calc(var(--header-h) + 4vh); padding-bottom: 3vh; }
	.hero__title { font-size: clamp(2.8rem, 6.2vw, 5.2rem); }
	.hero__text { margin-bottom: 1.4rem; }
	.hero__facts { padding-top: 1rem; padding-bottom: 1.3rem; }
}
/* Keep the floating WhatsApp button off the facts strip */
@media (min-width: 901px) {
	.hero__facts { padding-right: calc(var(--gut) + 72px); }
}

/* Tablets (portrait): two-column where there is room */
@media (min-width: 640px) and (max-width: 900px) {
	.doctor { grid-template-columns: .9fr 1.1fr; gap: 2rem; }
	.results__grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	.results__img img { aspect-ratio: 3 / 4; }
	.est { grid-template-columns: 1.2fr 1fr; gap: 1rem; }
	.est__pick { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
	.hero__facts { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
	.hero__facts strong { font-size: 1.25rem; }
	.site-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* Phones and small tablets */
@media (max-width: 900px) {
	body { padding-bottom: 0; }
	.site-footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom)); }
	.hero .eyebrow::before { display: none; }
	.hero .eyebrow { font-size: .7rem; letter-spacing: .14em; line-height: 1.5; margin-bottom: .8rem; }
	.hero__ml { margin: -1rem 0 1.6rem; font-size: .95rem; }
	.hero__facts li { font-size: .82rem; }
	.section__head { margin-bottom: 2rem; }
	.phero { min-height: 62svh; }
	.phero--short { min-height: 46svh; }
	/* bigger tap targets */
	.hc-menu .sub-menu a { padding: .55rem 0; }
	.faq__item summary { padding: 1.15rem 0; }
	.site-footer .plain li a, .site-footer p a { display: inline-block; padding: .2rem 0; }
}

/* Phones */
@media (max-width: 600px) {
	.hero__in { padding-top: max(38vh, 260px); padding-bottom: 1.6rem; }
	.hero__title { font-size: clamp(2.5rem, 11.5vw, 3.3rem); margin-bottom: .5em; }
	.hero__text { font-size: 1rem; margin-bottom: 1.6rem; }
	.hero__cta { flex-direction: column; align-items: stretch; }
	.hero__cta .btn { width: 100%; }
	.hero__facts { gap: 1rem .8rem; padding-top: 1.1rem; }
	.marquee { padding: .8rem 0; }
	.marquee span { font-size: 1.05rem; }
	.marquee__track { gap: 1.4rem; }
	.h-xl { font-size: clamp(2rem, 9vw, 2.6rem); }
	.h-lg { font-size: clamp(1.75rem, 8vw, 2.2rem); }
	.phero__title { font-size: clamp(2.1rem, 10vw, 2.8rem); }
	.phero__sub { font-size: 1rem; }
	.section { padding: 64px 0; }
	.consult { padding: 64px 0; }
	.consult__form { padding: 1.2rem; border-radius: 16px; }
	.intro__pics { gap: .8rem; margin-top: 2.4rem; }
	.est__out { padding: 1.4rem; }
	.est__num { font-size: 2.4rem; }
	.est__out .btn { align-self: stretch; }
	.doctor__media { aspect-ratio: 4 / 3; }
	.steps li { padding-top: 1.1rem; }
	.tlist__t { font-size: 1.3rem; }
	.side__card { padding: 1.3rem; }
	.cform__row--loc { gap: .8rem; }

	/* Comparison table becomes stacked cards */
	.compare { overflow: visible; border: 0; background: none; border-radius: 0; }
	.compare table { min-width: 0 !important; display: block; }
	.compare thead { display: none; }
	.compare tbody { display: grid; gap: .8rem; }
	.compare tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.1rem .4rem; }
	.compare tbody th, .compare td { display: block; width: auto !important; border: 0; padding: 0; }
	.compare tbody th { font-size: 1.05rem; font-weight: 500; margin-bottom: .7rem; }
	.compare td { border-top: 1px solid var(--line); padding: .7rem 0; color: var(--ink-2); }
	.compare td::before {
		content: attr(data-label); display: block; margin-bottom: .2rem;
		font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	}
	.compare td[data-label=""]::before { display: none; }
	.compare td:nth-of-type(1)::before { color: var(--gold); }
}

/* Very small phones */
@media (max-width: 380px) {
	.hero__facts { grid-template-columns: 1fr 1fr; }
	.hero__facts strong { font-size: 1.15rem; }
	.dock a span { font-size: .82rem; }
	.est__opt span { font-size: .72rem; }
	.chip span { font-size: .82rem; padding: .45rem .75rem; }
}
@media (max-width: 600px) {
	.hero__media::after { background: linear-gradient(0deg, rgba(20, 15, 13, .97) 0%, rgba(20, 15, 13, .9) 52%, rgba(20, 15, 13, .35) 78%, rgba(20, 15, 13, .1) 100%); }
	.hero__media img { object-position: 64% 0%; }
	/* WhatsApp is always in the bottom bar on phones */
	.hero__cta .btn--ghost { display: none; }
	.phero .hero__cta .btn--ghost { display: inline-flex; }
}

/* ---------- v1.4: service groups ---------- */
.tgroup + .tgroup { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tgroup__title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 1rem; }
.tgroup__title a { text-decoration: none; }
.tgroup__title a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__top { grid-template-columns: 1fr 2.4fr; }
.site-footer__cols { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; } }
@media (max-width: 380px) { .site-footer__cols { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1240px) {
	.hc-menu { gap: 1.1rem; }
	.hc-menu a { font-size: .9rem; }
	.site-header__in { gap: 1.2rem; }
}
.hero__facts strong { white-space: normal; }
.hc-menu .sub-menu { min-width: 300px; }


/* ---------- v1.5: language switch + Arabic (RTL) ---------- */
.lang { display: inline-flex; align-items: center; border: 1px solid currentColor; border-radius: 999px; padding: 2px; gap: 2px; flex: none; }
.lang__btn { background: none; border: 0; color: inherit; font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .04em; padding: .32rem .6rem; border-radius: 999px; line-height: 1; opacity: .75; }
.lang__btn[lang="ar"] { font-family: "Noto Sans Arabic", system-ui, sans-serif; font-size: .82rem; letter-spacing: 0; }
.lang__btn:hover { opacity: 1; }
.lang__btn.is-on { background: currentColor; opacity: 1; }
.lang__btn.is-on { color: var(--ink); background: var(--paper); }
.site-header.is-solid .lang__btn.is-on { color: var(--paper); background: var(--ink); }
.nav-open .site-header .lang__btn.is-on { color: var(--ink); background: var(--paper); }

/* Hide Google Translate's own bar, tooltips and highlights */
#google_translate_element, .skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }

/* Arabic: right-to-left layout and Arabic type */
html.hc-ar body, html.translated-rtl body { direction: rtl; }
html.hc-ar body, html.hc-ar h1, html.hc-ar h2, html.hc-ar h3, html.hc-ar .btn, html.hc-ar input, html.hc-ar textarea { font-family: "Noto Sans Arabic", var(--sans); }
html.hc-ar em { font-family: "Noto Sans Arabic", var(--serif); font-style: normal; font-weight: 500; }
html.hc-ar .eyebrow, html.hc-ar .tgroup__title, html.hc-ar .site-footer h3 { letter-spacing: 0; text-transform: none; }
html.hc-ar h1, html.hc-ar h2, html.hc-ar .hero__title, html.hc-ar .phero__title { letter-spacing: 0; line-height: 1.25; }
html.hc-ar .hc-ico--arrow { transform: scaleX(-1); }
html.hc-ar .btn:hover .hc-ico--arrow { transform: scaleX(-1) translateX(3px); }
html.hc-ar .hero__media::after { transform: scaleX(-1); }
html.hc-ar .hc-menu .sub-menu { left: auto; right: -1rem; }
html.hc-ar .tlist__img { right: auto; left: 4.5rem; }
html.hc-ar .wa-float { right: auto; left: 22px; }
html.hc-ar .notranslate, html.hc-ar .hero__ml { direction: ltr; unicode-bidi: isolate; }
html.hc-ar .contact-list .notranslate { text-align: right; }
html.hc-ar .lang { direction: ltr; }
@media (min-width: 901px) { html.hc-ar .hero__facts { padding-right: var(--gut); padding-left: calc(var(--gut) + 72px); } }

/* Switch placement */
@media (max-width: 1440px) and (min-width: 901px) { .site-header__phone { display: none; } }
.hc-menu > li > a { white-space: nowrap; }
html, body { overflow-x: clip; }
@media (max-width: 900px) {
	.site-header__actions .lang { display: inline-flex; }
	.site-header__actions { gap: .6rem; }
	.lang__btn { padding: .4rem .6rem; }
}
html.hc-ar .hero__ml { display: none; }

/* ---------- v1.6: editable footer ---------- */
.site-footer__social { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.2rem !important; }
.site-footer__social a { color: var(--sand); font-size: .9rem; }
.site-footer__edit { margin: 1.2rem 0 0; font-size: .8rem; }
.site-footer__edit a { color: var(--gold); }

/* =========================================================
   v1.8 — split hero: text on the left, image on the right
   ========================================================= */
.hero__facts { padding-left: 0; padding-right: 0; margin: 2.4rem 0 0; }
@media (min-width: 901px) {
	.hero { justify-content: center; background: var(--ink); }
	.hero__media, .phero__media { left: 50%; }
	.hero__media img { object-position: 50% 30%; }
	.hero__media::after, .phero__media::after {
		background: linear-gradient(90deg, var(--ink) 0%, rgba(31, 25, 22, .55) 10%, rgba(31, 25, 22, 0) 32%);
	}
	.hero__in { padding-top: calc(var(--header-h) + 5vh); padding-bottom: 6vh; }
	.hero__in > *, .phero__in > * { max-width: calc(50% - 3rem); }
	.hero__title { font-size: clamp(2.8rem, 4.8vw, 5rem); max-width: none; }
	.hero__facts { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1.6rem; padding-top: 1.4rem; padding-bottom: 0; padding-right: 0 !important; }
	.hero__facts strong { font-size: 1.35rem; }
	.phero { background: var(--ink); }
	.phero__title { font-size: clamp(2.4rem, 4.2vw, 4.2rem); max-width: none; }
	html.hc-ar .hero__media, html.hc-ar .phero__media { left: 0; right: 50%; }
	html.hc-ar .hero__media::after, html.hc-ar .phero__media::after { transform: scaleX(-1); }
}
@media (min-width: 901px) and (max-height: 820px) {
	.hero__in { padding-top: calc(var(--header-h) + 3vh); padding-bottom: 4vh; }
	.hero__facts { margin-top: 1.6rem; padding-top: 1rem; }
	.hero__title { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
}
/* Phones/tablets: image on top, text below on dark */
@media (max-width: 900px) {
	.hero { min-height: 0; display: block; }
	.hero__media { position: relative; inset: auto; height: 46vh; min-height: 280px; z-index: 0; }
	.hero__media img { transform: none; animation: none; }
	.hero__media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(31, 25, 22, 0) 45%) !important; transform: none !important; }
	.hero__in { padding-top: 1.2rem !important; padding-bottom: 2rem; }
	.hero__facts { grid-template-columns: 1fr 1fr; margin-top: 2rem; }
	.phero { min-height: 0; display: block; }
	.phero__media { position: relative; inset: auto; height: 34vh; min-height: 220px; z-index: 0; }
	.phero__media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(31, 25, 22, 0) 50%); }
	.phero__in { padding-top: 1rem; }
	.site-header:not(.is-solid) { background: linear-gradient(180deg, rgba(20, 15, 13, .55), rgba(20, 15, 13, 0)); }
}
@media (min-width: 640px) and (max-width: 900px) {
	.hero__facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- v1.8: before & after gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.gallery .ba { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: .6rem; }
.gallery .ba__frame { border-radius: var(--r); }
.gallery .ba figcaption { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .4rem .3rem; margin: 0; }
.gallery .ba figcaption strong { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.gallery .ba figcaption span { color: var(--muted); font-size: .9rem; }
.gallery__note { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }
.gallery__empty { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; border: 1px dashed var(--stone); border-radius: var(--r); padding: 1.4rem; color: var(--muted); }
.gallery__empty strong { color: var(--ink); font-weight: 500; }
.ba__frame { touch-action: pan-y; }
html.hc-ar .ba__frame { direction: ltr; }
@media (min-width: 901px) {
	.hero__title, .phero__title { max-width: calc(50% - 3rem) !important; }
	.site-header:not(.is-solid) { background: linear-gradient(180deg, rgba(20, 15, 13, .72) 0%, rgba(20, 15, 13, .35) 70%, rgba(20, 15, 13, 0) 100%); }
}
.hero__media, .phero__media { overflow: hidden; }
