/* ==========================================================================
   Orielle: shared styles (builder A)
   Calm, high-end clinic: light Jost, warm greys, lots of space, no boxes.
   Selectors are kept flat (mostly single classes) so modifiers and section
   spacing are never cancelled out by specificity.
   ========================================================================== */

/* Fonts (bundled, latin subset) ------------------------------------------ */
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2-variations"),
		url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
}
/* Cormorant Garamond: wordmark and "OC" monogram only. */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}

/* Tokens ------------------------------------------------------------------ */
:root {
	--bg: #EFEDE8;      /* page */
	--band: #E2DFD8;    /* deeper band */
	--mid: #D6D2CA;     /* mid tone, image placeholders, muted text on dark */
	--taupe: #A39A8E;   /* image placeholders only */
	--line: #BDB8B0;    /* hairlines, chips */
	--ink: #2E2A28;     /* text, dark bands, buttons */
	--muted: #6E655B;   /* muted text, 18px+ or on light backgrounds only */
	--white: #FFFFFF;

	--sans: "Jost", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--mark: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;

	--max: 1212px;
	--narrow: 760px;
	--gutter: clamp(16px, 3.1vw, 44px);
	--gap: clamp(24px, 3vw, 32px);
	--space-section: clamp(80px, 10vw, 144px);
	--space-tight: clamp(56px, 6.5vw, 96px);
	--header-h: 96px;
	--bar-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img,
svg,
video { max-width: 100%; height: auto; display: block; }

p,
ul,
ol,
dl,
figure,
blockquote { margin: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 300; }

p + p { margin-top: 1em; }

a { color: inherit; }
a:hover { color: var(--muted); }

strong, b { font-weight: 500; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

address { font-style: normal; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--mid); color: var(--ink); }

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -10rem;
	z-index: 200;
	padding: .75rem 1.25rem;
	background: var(--ink);
	color: var(--white);
	border-radius: 999px;
	text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-main:focus { outline: none; }

/* Layout ------------------------------------------------------------------ */
.wrap {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow > * { max-width: var(--narrow); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-tight); }
.section--cream { background: var(--band); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink a:hover { color: var(--mid); }
/* Two plain sections in a row share one gap, not two. */
.section:not(.section--cream):not(.section--ink) + .section:not(.section--cream):not(.section--ink),
.section--cream + .section--cream { padding-top: 0; }

.section__head {
	max-width: 68ch;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section__head--row {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.grid {
	display: grid;
	gap: clamp(48px, 6vw, 64px) var(--gap);
	grid-template-columns: 1fr;
}
@media (min-width: 760px) {
	.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Split: text + media/aside, 7/5. */
.split {
	display: grid;
	gap: clamp(48px, 6vw, 64px) clamp(32px, 6vw, 96px);
	grid-template-columns: 1fr;
	align-items: start;
}
@media (min-width: 900px) {
	.split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.split__main { grid-column: 1 / span 7; }
	.split__aside { grid-column: 8 / span 5; }
}
.split__main,
.split__aside { min-width: 0; }
.split__main > * + * { margin-top: 1.4rem; }
.split__aside > * + * { margin-top: 1.5rem; }

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 2.25rem;
}

/* Type -------------------------------------------------------------------- */
.display-1,
.display-2,
.display-3 {
	font-family: var(--sans);
	font-weight: 300;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.display-1 {
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1.08;
}
.display-2 {
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.1;
}
.display-3 {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.2;
	letter-spacing: 0;
}
.display-1 + .lede,
.display-2 + .lede,
.display-3 + .lede { margin-top: 1.4rem; }
.display-1 + p,
.display-2 + p,
.display-3 + p { margin-top: 1.1rem; }
.display-2 + :is(.steps, .ruled-list, .formulary, .faq, .grid, .quote, .product-grid) { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.display-3 + :is(.steps, .ruled-list, .formulary, .faq) { margin-top: 1.1rem; }
:is(p, ul, ol, dl) + :is(.steps, .formulary, .faq) { margin-top: 2rem; }

/* Small tracked caps label, used sparingly. */
.eyebrow {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .2em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* A text link standing on its own after a paragraph gets its own line and space. */
:is(.split__main, .split__aside, .wrap, .grid > div) > a.link {
	display: inline-block;
	margin-top: 1.25rem;
}

.lede {
	font-size: clamp(19px, 1.6vw, 21px);
	line-height: 1.55;
	max-width: 36em;
	text-wrap: pretty;
}

.small-print {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
	max-width: 68ch;
	margin-top: 2rem;
}
.section--ink .small-print { color: var(--mid); }

/* The OC monogram. */
.monogram {
	display: block;
	font-family: var(--mark);
	font-weight: 300;
	font-size: 76px;
	line-height: .9;
	letter-spacing: -.04em;
}

/* Buttons and links ------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 32px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--muted); border-color: var(--muted); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mid); border-color: var(--mid); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn--light:focus-visible,
.btn--outline-light:focus-visible { outline-color: var(--white); }

.link {
	color: inherit;
	font-weight: 400;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	transition: color .2s var(--ease);
}
.link:hover { color: var(--muted); }
.section--ink .link:hover { color: var(--mid); }

.section--ink a:focus-visible { outline-color: var(--white); }

/* Option chips: an even grid of boxes, text left, chevron right. */
.chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
}
.chips li { display: flex; }
.chip {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 76px;
	padding: 14px 20px;
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	line-height: 1.3;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip__icon { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.chip:hover .chip__icon { transform: translateX(3px); }
@media (max-width: 600px) {
	.chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.chip { min-height: 72px; padding: 12px 14px; font-size: 15px; }
}

/* Ruled facts (was the dispensing label): no box, top rule, hairlines. ---- */
.rx-label {
	color: var(--ink);
	border-top: 1px solid var(--ink);
	padding-top: 24px;
	max-width: 30rem;
}
.rx-label__title {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.5;
	padding-bottom: 10px;
}
.rx-label__rows { margin: 0; }
.rx-label__row {
	display: grid;
	grid-template-columns: minmax(7rem, 42%) 1fr;
	gap: 1rem;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 17px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}
.rx-label__row dt { color: var(--muted); }
.rx-label__row dd { margin: 0; }
.rx-label__list { margin-top: .75rem; font-size: 17px; }
.rx-label__foot {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.5;
}

/* Formulary --------------------------------------------------------------- */
.formulary {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--ink);
}
.formulary__item { border-bottom: 1px solid var(--line); }
.formulary__link {
	display: grid;
	grid-template-columns: 1fr;
	gap: .3rem 2rem;
	padding: 22px 0;
	color: inherit;
	text-decoration: none;
	transition: padding .25s var(--ease), color .2s var(--ease);
}
.formulary__link:hover,
.formulary__link:focus-visible { color: var(--ink); padding-left: 10px; }
.formulary__name {
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 300;
	line-height: 1.2;
}
.formulary__link:hover .formulary__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.formulary__summary { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 60ch; }
.formulary__meta {
	font-size: 15px;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
@media (min-width: 760px) {
	.formulary__link {
		grid-template-columns: minmax(12rem, 4fr) 6fr minmax(6rem, 2fr);
		align-items: baseline;
	}
	.formulary__meta { text-align: right; }
}

/* Ruled list -------------------------------------------------------------- */
.ruled-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--ink);
}
.ruled-list > li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.section--ink .ruled-list { border-color: var(--white); }
.section--ink .ruled-list > li { border-color: var(--muted); }
.rx-label .ruled-list { border-top: 0; }
.rx-label .ruled-list > li { padding: 10px 0; }

/* Steps (numbers only on real sequences) ---------------------------------- */
.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: clamp(40px, 5vw, 56px) var(--gap);
	counter-reset: step;
}
@media (min-width: 860px) {
	.steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
}
.steps__item {
	counter-increment: step;
	border-top: 1px solid var(--ink);
	padding-top: 24px;
}
.steps__item::before {
	content: counter(step);
	display: block;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: .2em;
	line-height: 1;
	margin-bottom: 18px;
	font-variant-numeric: lining-nums tabular-nums;
}
.steps__title {
	font-size: clamp(22px, 2vw, 26px);
	font-weight: 300;
	line-height: 1.25;
	margin-bottom: .6rem;
}
.steps__item p { max-width: 42ch; }

/* FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--ink); max-width: 68rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding: 22px 0;
	font-size: clamp(19px, 1.7vw, 22px);
	font-weight: 300;
	line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: "+";
	font-weight: 300;
	font-size: 26px;
	line-height: 1;
	transition: transform .25s var(--ease);
	flex: none;
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__a {
	padding: 0 0 26px;
	max-width: 68ch;
	animation: faq-open .25s var(--ease);
}
.faq__a > * + * { margin-top: .85rem; }
@keyframes faq-open {
	from { opacity: 0; transform: translateY(-4px); }
}

/* Quote ------------------------------------------------------------------- */
.quote {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.quote blockquote {
	margin: 0;
	font-weight: 300;
	font-size: clamp(26px, 3.2vw, 44px);
	line-height: 1.25;
}
.quote blockquote p + p { margin-top: .75rem; }
.quote figcaption { font-weight: 400; }

/* Note (safety line): a single dark rule above and below. ------------------ */
.note {
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	padding: 20px 0;
	max-width: 68ch;
}

/* Prose (Gutenberg content) ----------------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin-top: 2em;
}
.prose h3 {
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 300;
	line-height: 1.25;
	margin-top: 1.8em;
}
.prose h4 { font-size: 18px; font-weight: 500; margin-top: 1.6em; }
.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: .6em; }
.prose a {
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
	border-left: 1px solid var(--ink);
	padding-left: 1.5rem;
	font-size: clamp(21px, 2vw, 26px);
	line-height: 1.4;
}
.prose figure { margin-block: 2em; }
.prose figcaption,
.prose .wp-element-caption { font-size: 15px; color: var(--muted); margin-top: .5rem; }
.prose img { height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose th,
.prose td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 400; border-bottom-color: var(--ink); }
.prose hr { margin-block: 2.5em; }
.prose code { font-size: .9em; background: var(--band); padding: .1em .3em; }
.prose .alignwide { max-width: min(var(--max), 100vw - 2 * var(--gutter)); }
.prose .wp-block-button__link { background: var(--ink); color: var(--white); border-radius: 999px; padding: 13px 32px; text-decoration: none; font-weight: 400; }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.prose .has-text-align-center { text-align: center; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); }

/* Pharmacy registration lines --------------------------------------------- */
.pharmacy-reg {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-top: 1px solid var(--ink);
	padding-top: 24px;
	font-size: 16px;
	line-height: 1.6;
	max-width: 40rem;
}
.pharmacy-reg__title { font-weight: 400; }
.pharmacy-reg p { margin: 0; }
.pharmacy-reg__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
	margin-top: 6px !important;
}
.pharmacy-reg__links a {
	display: inline-block;
	padding: 8px 0;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs {
	padding-top: 28px;
	font-size: 15px;
	line-height: 1.5;
}
.breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--muted);
}
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: var(--ink); }
/* The first section after the breadcrumbs starts closer to them. */
.breadcrumbs + * > .section:first-child,
.breadcrumbs + .section,
.breadcrumbs + article > .section:first-child,
.breadcrumbs + div > .section:first-child { padding-top: clamp(48px, 6vw, 80px); }

/* Form slot --------------------------------------------------------------- */
.form-slot { margin-top: 1.25rem; }
.form-slot input[type="text"],
.form-slot input[type="email"],
.form-slot input[type="tel"],
.form-slot textarea,
.form-slot select,
.search-form .search-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 32rem;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white);
	color: var(--ink);
}
.form-slot input:focus,
.form-slot textarea:focus,
.search-form .search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--ink); }
.form-slot input[type="submit"],
.form-slot button[type="submit"],
.search-form .search-submit {
	min-height: 50px;
	padding: 13px 32px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-weight: 400;
	cursor: pointer;
}
.section--ink .form-slot input[type="submit"],
.section--ink .form-slot button[type="submit"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.search-form { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.search-form label { flex: 1 1 16rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	color: var(--ink);
	border-bottom: 1px solid transparent;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.has-panel { border-bottom-color: transparent; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

/* Home: transparent over the hero, white text; solid once scrolled or a panel/menu is open. */
.is-home .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	color: var(--white);
}
.is-home .site-header.is-scrolled,
.is-home .site-header.has-panel,
.is-home.menu-open .site-header {
	background: var(--bg);
	color: var(--ink);
}
@media (max-width: 600px) {
	.is-home.admin-bar .site-header { position: absolute; }
	.is-home.admin-bar .site-header.is-scrolled { position: fixed; top: 0; }
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 40px;
	min-height: var(--header-h);
	padding: 18px var(--gutter);
}

.wordmark {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	text-decoration: none;
	color: inherit;
}
.wordmark:hover { color: inherit; }
.wordmark__name {
	font-family: var(--mark);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.05;
	white-space: nowrap;
}
.wordmark__tag {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	white-space: nowrap;
}
.site-logo img { max-height: 3.5rem; width: auto; }
.site-logo a { display: block; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 22px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-weight: 400;
	font-size: 16px;
	position: relative;
	z-index: 120;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav__link,
.nav__toggle {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 12px 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 17px;
	font-weight: 400;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
}
.nav__link:hover,
.nav__toggle:hover { color: inherit; }
.nav__link[aria-current="page"],
.is-current > .nav__link,
.is-current > .nav__toggle,
.nav__toggle[aria-expanded="true"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

.subnav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.subnav__link,
.mega__link {
	display: block;
	padding: 9px 0;
	color: var(--ink);
	text-decoration: none;
	line-height: 1.4;
}
.subnav__link:hover,
.mega__link:hover,
.subnav__link[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.mega__heading {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.5;
	margin: 0 0 8px;
}
.mega__heading a { text-decoration: none; color: inherit; }
.mega__heading a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__img {
	height: 200px;
	margin-bottom: 18px;
	background: var(--taupe);
	overflow: hidden;
}
.mega__img img { width: 100%; height: 100%; object-fit: cover; }
.mega__img--mid { background: var(--mid); }
.mega__img--band { background: var(--band); }
.mega__img--ink { background: var(--ink); }
.mega__hours-text { font-size: 26px; line-height: 1.25; }
.mega__group > p + p { margin-top: 0; }

/* Mobile: full-screen menu ------------------------------------------------ */
@media (max-width: 1179px) {
	:root { --header-h: 80px; }
	.site-header__bar { padding-block: 12px; }
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		display: none;
		flex-direction: column;
		gap: 2rem;
		padding: calc(var(--header-h) + 1rem) var(--gutter) calc(var(--bar-h) + 2rem);
		background: var(--bg);
		color: var(--ink);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.admin-bar .site-nav { top: 46px; }
	.menu-open .site-nav {
		display: flex;
		animation: menu-in .25s var(--ease);
	}
	.menu-open .wordmark,
	.menu-open .site-logo { position: relative; z-index: 120; }

	.nav { border-top: 1px solid var(--ink); }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link,
	.nav__toggle {
		justify-content: space-between;
		padding: 16px 0;
		font-size: 24px;
		font-weight: 300;
		line-height: 1.2;
	}
	.nav__toggle::after {
		content: "+";
		font-size: 28px;
		line-height: 1;
		transition: transform .2s var(--ease);
	}
	.nav__toggle[aria-expanded="true"] { text-decoration: none; }
	.nav__toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
	.subnav { padding: 0 0 1rem; }
	.mega { padding: 0 0 1.25rem; }
	.mega__inner { display: grid; gap: 1.75rem; }
	.mega__img { display: none; }
	.mega__group--hours { border-top: 1px solid var(--ink); padding-top: 20px; }
	.mega__hours-text { font-size: 21px; margin-bottom: 14px; }
	.site-nav__book { align-self: flex-start; }
}
@media (max-width: 600px) {
	.wordmark__name { font-size: 25px; }
	.wordmark__tag { font-size: 10px; }
}
@keyframes menu-in {
	from { opacity: 0; }
}

/* Desktop: inline nav + full-width panels --------------------------------- */
@media (min-width: 1180px) {
	.menu-toggle { display: none; }
	.site-nav {
		display: flex;
		align-items: center;
		gap: clamp(18px, 2vw, 30px);
	}
	.nav {
		display: flex;
		align-items: center;
		gap: 6px clamp(16px, 1.9vw, 30px);
	}
	.nav__item { position: relative; }
	.nav__item--mega { position: static; }
	.nav__link,
	.nav__toggle {
		width: auto;
		padding: 12px 0;
		font-size: clamp(15px, 1.2vw, 17px);
		white-space: nowrap;
	}
	.nav__link:hover,
	.nav__toggle:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

	.subnav {
		position: absolute;
		top: 100%;
		left: -24px;
		min-width: 15rem;
		padding: 16px 24px 20px;
		background: var(--white);
		color: var(--ink);
		animation: menu-in .2s var(--ease);
	}

	.mega {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--white);
		color: var(--ink);
		animation: menu-in .2s var(--ease);
	}
	.mega__inner {
		display: flex;
		flex-wrap: wrap;
		gap: 40px 32px;
		padding: 44px var(--gutter) 56px;
	}
	.mega__group {
		flex: 1 1 280px;
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}
	.mega__group--hours {
		/* Slim row under the three columns. */
		flex: 1 1 100%;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px 40px;
		border-top: 1px solid var(--ink);
		padding-top: 22px;
	}
	.mega__group--hours .mega__heading { margin: 0; }
	.mega__group--hours .mega__hours-text { font-size: 22px; margin-right: auto; }
	.site-nav__book { min-height: 0; padding: 13px 30px; }
	/* Book pill on the transparent home header: white with dark text. */
	.is-home .site-header:not(.is-scrolled):not(.has-panel) .site-nav__book { background: var(--white); border-color: var(--white); color: var(--ink); }
	.is-home .site-header:not(.is-scrolled):not(.has-panel) .site-nav__book:hover { background: var(--mid); border-color: var(--mid); }
	.is-home .site-header:not(.is-scrolled):not(.has-panel) a:focus-visible,
	.is-home .site-header:not(.is-scrolled):not(.has-panel) button:focus-visible { outline-color: var(--white); }
}

/* Fixed mobile booking bar ------------------------------------------------ */
.book-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--bg);
	border-top: 1px solid var(--line);
}
.book-bar__btn { width: 100%; }
@media (max-width: 1179px) {
	body { padding-bottom: var(--bar-h); }
}
@media (min-width: 1180px) {
	.book-bar { display: none; }
}
.menu-open .book-bar { z-index: 115; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--ink);
	color: var(--white);
}
.site-footer a:hover { color: var(--mid); }
.site-footer a:focus-visible { outline-color: var(--white); }
.site-footer__inner {
	padding-block: clamp(80px, 9vw, 128px) 48px;
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 7vw, 96px);
}
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px 64px;
}
.site-footer__visit { display: flex; flex-direction: column; gap: 22px; }
.site-footer__title {
	font-size: clamp(38px, 5vw, 72px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.01em;
}
.site-footer__address {
	color: var(--mid);
	font-size: 21px;
	line-height: 1.55;
}
.site-footer__address strong { color: var(--white); font-weight: 400; }
.site-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--mid);
}
.site-footer__contact a { color: var(--mid); text-underline-offset: 4px; }
.site-footer__base {
	border-top: 1px solid var(--muted);
	padding-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	font-size: 15px;
	color: var(--mid);
}
.site-footer__base .monogram { font-size: 44px; color: var(--white); }
.site-footer__reg { flex: 2 1 360px; min-width: 0; }
.site-footer .pharmacy-reg { border: 0; padding: 0; font-size: 15px; max-width: none; }
.site-footer .pharmacy-reg__title { color: var(--white); }
.site-footer .pharmacy-reg__links a { color: var(--white); padding: 10px 0; }
.site-footer__nav { flex: 1 1 200px; }
.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.site-footer__list a {
	display: inline-block;
	padding: 6px 0;
	color: var(--mid);
	text-decoration: none;
}
.site-footer__list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__copy { margin: 0; flex: 1 1 100%; }

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero {
	position: relative;
	min-height: min(780px, 100svh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}
@media (min-width: 700px) {
	.home-hero { min-height: 780px; }
}
.home-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: .55;
}
.home-hero__body {
	position: relative;
	padding: calc(var(--header-h) + 48px) var(--gutter) 64px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: calc(900px + 2 * var(--gutter));
}
.home-hero__title {
	font-weight: 300;
	font-size: clamp(38px, 4.8vw, 68px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.home-hero__actions { animation: hero-settle .9s var(--ease) .2s both; }
.home-hero .eyebrow,
.home-hero__title { animation: hero-settle .9s var(--ease) both; }
@keyframes hero-settle {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

.home-help {
	padding-block: clamp(88px, 10vw, 128px) clamp(96px, 10vw, 136px);
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.home-help__title,
.home-band__title,
.home-title {
	font-weight: 300;
	font-size: clamp(38px, 5vw, 72px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.home-tiles {
	max-width: calc(1272px + 2 * var(--gutter));
	padding-bottom: clamp(96px, 11vw, 144px);
	display: flex;
	flex-wrap: wrap;
	gap: 64px 32px;
}
.home-tile {
	flex: 1 1 420px;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(420px, 40vw, 560px);
	background: var(--taupe);
	overflow: hidden;
	isolation: isolate;
}
.home-tile--mid { background: var(--mid); }
.home-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.home-tile--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(46, 42, 40, .45);
	z-index: -1;
}
.home-tile--photo,
.home-tile--photo .link { color: var(--white); }
.home-tile__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(28px, 4vw, 48px);
}
.home-tile__title { font-weight: 300; font-size: clamp(32px, 3vw, 40px); line-height: 1.1; color: inherit; }
.home-tile p { max-width: 30em; margin: 0; color: inherit; }
.home-tile:not(.home-tile--photo) { color: var(--ink); }
.home-tile__links { display: flex; flex-wrap: wrap; gap: 10px 32px; }

.home-band__inner {
	padding-block: clamp(88px, 10vw, 128px);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px 64px;
}
.home-band__text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.home-band__sub { color: var(--mid); max-width: 34em; }

.home-split {
	padding-block: clamp(96px, 11vw, 144px);
	display: flex;
	flex-wrap: wrap;
	gap: 56px 96px;
}
.home-split--center { align-items: center; }
.home-split__main {
	flex: 6 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.home-split__main p { max-width: 34em; }
.home-split__side {
	flex: 5 1 360px;
	min-width: 0;
}
.home-portrait {
	height: clamp(420px, 48vw, 620px);
	background: var(--mid);
	overflow: hidden;
}
.home-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.home-prescribers {
	align-self: flex-end;
	border-top: 1px solid var(--ink);
	padding-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.home-prescribers p { max-width: 28em; }
.home-split + .home-split { padding-top: 0; }

.home-review__inner {
	max-width: calc(892px + 2 * var(--gutter));
	padding-block: clamp(96px, 10vw, 136px);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.home-review blockquote {
	margin: 0;
	font-weight: 300;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.25;
}
.home-review__by { font-weight: 400; }

.home-skincare__inner {
	padding-block: clamp(96px, 10vw, 136px);
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 56px);
}
.home-skincare__head { display: flex; flex-direction: column; gap: 22px; }

/* Skincare cards (home and /skincare/): image on top, name, one line. No borders. */
.product-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 56px var(--gap);
}
@media (min-width: 700px) {
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.product-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product-card__img {
	aspect-ratio: 1 / 1;
	background: var(--taupe);
	overflow: hidden;
	margin-bottom: 12px;
}
.product-card__img--mid { background: var(--mid); }
.product-card__img--band { background: var(--band); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__name { font-size: 24px; font-weight: 300; line-height: 1.25; }
.product-card__name a { text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.product-card__text { max-width: 30em; }
.product-card__price { font-weight: 400; margin: 0; }
.product-wide {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px clamp(32px, 6vw, 96px);
	align-items: end;
}
@media (min-width: 900px) {
	.product-wide { grid-template-columns: 7fr 5fr; }
}
.product-wide__img { height: clamp(280px, 32vw, 440px); background: var(--taupe); overflow: hidden; }
.product-wide__img img { width: 100%; height: 100%; object-fit: cover; }
.product-wide__text { display: flex; flex-direction: column; gap: 16px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.page-head { padding-bottom: 0; }
.page-head .link { display: inline-block; margin-top: 1.25rem; }
.page-media { margin-top: var(--space-tight); }
.page-media__img { width: 100%; max-height: 70vh; object-fit: cover; }

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ink);
}
.post-list__item { border-bottom: 1px solid var(--line); }
.post-card {
	display: grid;
	gap: 1rem 2rem;
	padding-block: 32px;
	grid-template-columns: 1fr;
}
@media (min-width: 760px) {
	.post-card { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
	.post-card__body:only-child { grid-column: 1 / -1; max-width: 68ch; }
}
.post-card__media { display: block; background: var(--mid); aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.post-card__title { margin-top: .4rem; }
.post-card__title a { text-decoration: none; color: inherit; }
.post-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.post-card__excerpt { margin-top: .6rem; max-width: 60ch; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 .75rem;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 999px;
	font-variant-numeric: tabular-nums;
}
.pagination .page-numbers.current { border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--line); }

.single-post__head { padding-bottom: 0; }
.single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin-bottom: 1.25rem;
	font-size: 15px;
}
.single-post__media { margin-top: var(--space-tight); }
.single-post__media img { width: 100%; max-height: 75vh; object-fit: cover; }
.single-post__byline { margin-top: 3.5rem; }

.tag-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.tag-list a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--line);
	font-size: 15px;
	text-decoration: none;
}
.tag-list a:hover { border-color: var(--ink); color: var(--ink); }

.post-nav { margin-top: 3rem; border-top: 1px solid var(--ink); }
.post-nav .nav-links { display: grid; gap: 0 var(--gap); grid-template-columns: 1fr; }
@media (min-width: 720px) {
	.post-nav .nav-links { grid-template-columns: 1fr 1fr; }
	.post-nav .nav-next { text-align: right; grid-column: 2; }
}
.post-nav a {
	display: block;
	padding: 20px 0;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.post-nav__label { display: block; font-size: 15px; }
.post-nav__title { font-size: 22px; line-height: 1.3; }
.post-nav a:hover .post-nav__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.page-links { margin-top: 2rem; display: flex; gap: .75rem; }

/* Comments (minimal) */
.comments { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.comments__list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.comments__list .comment { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comments__list .children { list-style: none; padding-left: 1.5rem; }
.comment-meta { font-size: 15px; }
.comment-content { margin-top: .5rem; }
.comment-respond { margin-top: 2rem; }
.comment-reply-title { font-size: 28px; font-weight: 300; }
.comment-form p { margin-top: 1rem; }
.comment-form label { display: block; font-size: 16px; margin-bottom: .3rem; }

.search-box { margin-top: 1.5rem; }

/* Editor (add_editor_style scopes these to the editor canvas) -------------- */
.editor-styles-wrapper { background: var(--bg); font-family: var(--sans); font-weight: 300; color: var(--ink); }

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print ------------------------------------------------------------------- */
@media print {
	.site-header,
	.book-bar,
	.breadcrumbs { display: none; }
	body { padding: 0; background: var(--white); }
}

/* Without JavaScript: show the navigation and its panels in the page flow. */
.no-js .menu-toggle { display: none; }
.no-js .mega[hidden],
.no-js .subnav[hidden] { display: block; }
@media (max-width: 1179px) {
	.no-js .site-header__bar { flex-wrap: wrap; }
	.no-js .site-nav { display: flex; position: static; padding: 0 0 1.5rem; width: 100%; }
	.no-js.is-home .site-header { position: static; background: var(--bg); color: var(--ink); }
}
@media (min-width: 1180px) {
	.no-js .mega[hidden],
	.no-js .subnav[hidden] { display: none; }
	.no-js .nav__item:focus-within > .subnav,
	.no-js .nav__item:hover > .subnav,
	.no-js .nav__item:focus-within > .mega,
	.no-js .nav__item:hover > .mega { display: block; }
	.no-js .mega__inner { display: flex; }
}

/* Home skincare, before any products are listed: text left, image right. */
.home-skincare__split {
	padding-block: var(--space-section);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px clamp(48px, 8vw, 112px);
}
.home-skincare__text {
	flex: 6 1 400px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.home-skincare__text p { max-width: 32em; margin: 0; }
.home-skincare__img {
	flex: 5 1 340px;
	min-width: 0;
	aspect-ratio: 5 / 6;
	max-height: 620px;
	background: var(--taupe);
	overflow: hidden;
}
.home-skincare__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
	/* Image on the left here, so it alternates with Meet Megan above. */
	.home-skincare__img { order: -1; }
}

.home-skincare__logo {
	flex: 5 1 300px;
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.home-skincare__logo img { width: 100%; max-width: 360px; height: auto; }
@media (min-width: 900px) { .home-skincare__logo { order: 0; } }
@media (max-width: 899px) {
	.home-skincare__logo { justify-content: flex-start; }
	.home-skincare__logo img { max-width: 220px; }
}

/* Photo banner at the top of inner pages. */
.page-banner {
	position: relative;
	min-height: clamp(380px, 52vw, 560px);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
	text-align: center;
}
.page-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: .5;
}
.page-banner__body {
	position: relative;
	padding: 64px var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	max-width: 900px;
}
.page-banner .eyebrow { color: var(--white); }
.page-banner__title {
	font-weight: 300;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
	color: var(--white);
}
.has-banner .inner-title { display: none; }

/* The banner already has "Book now", so the hero's own booking button is not repeated. */
.has-banner .tx-hero .tx-actions,
.has-banner .pg--acute .pg-hero .pg-actions,
.has-banner .pg--service .pg-hero .pg-actions { display: none; }

/* Izzy, the AI assistant. ------------------------------------------- */
.izzy { position: fixed; right: 16px; bottom: 168px; z-index: 60; font-size: 16px; }
.izzy.is-open { bottom: 96px; }
@media (min-width: 1180px) { .izzy { bottom: 24px; right: 96px; } }
.izzy__open {
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font: inherit;
	font-weight: 400;
	padding: 12px 22px;
	min-height: 44px;
	cursor: pointer;
}
.izzy.is-open .izzy__open { display: none; }
.izzy__panel {
	width: min(380px, calc(100vw - 32px));
	max-height: min(600px, calc(100vh - 140px));
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--ink);
}
.izzy__panel[hidden] { display: none; }
.izzy__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 18px 20px 12px;
	border-bottom: 1px solid var(--line);
}
.izzy__title { font-family: var(--mark); font-weight: 400; font-size: 28px; line-height: 1; }
.izzy__sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.izzy__close { border: 0; background: none; color: var(--ink); width: 44px; height: 44px; margin: -10px -12px 0 0; cursor: pointer; }
.izzy__note { margin: 0; padding: 10px 20px; font-size: 13px; line-height: 1.5; color: var(--muted); background: var(--band); }
.izzy__log { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.izzy__msg { margin: 0; padding: 10px 14px; line-height: 1.5; max-width: 88%; overflow-wrap: anywhere; }
.izzy__msg--bot { background: var(--white); align-self: flex-start; }
.izzy__msg--you { background: var(--ink); color: var(--white); align-self: flex-end; }
.izzy__msg.is-waiting { color: var(--muted); }
.izzy__msg a { color: inherit; text-underline-offset: 3px; }
.izzy__form { display: flex; gap: 8px; padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.izzy__input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); }
.izzy__send { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: inherit; cursor: pointer; }
.izzy__send:disabled { opacity: .5; }

/* Tile tones used on the medical consultations page. */
.home-tile--band { background: var(--band); }
.home-tile.home-tile--ink { background: var(--ink); color: var(--white); }
.home-tile--ink .link { color: var(--white); }
.pg-tiles .home-tile { min-height: clamp(300px, 30vw, 400px); }
.pg-tiles .home-tile p { color: inherit; opacity: 1; }

/* Menu panels (desktop): the column heading sits inside its colour block, larger. */
@media (min-width: 1180px) {
	.mega__group { position: relative; }
	.mega__img { margin-bottom: 22px; position: relative; }
	.mega__img + .mega__heading {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 200px;
		margin: 0;
		padding: 0 24px 20px;
		display: flex;
		align-items: flex-end;
		font-size: 28px;
		font-weight: 300;
		letter-spacing: 0;
		text-transform: none;
		line-height: 1.15;
		color: var(--ink);
		pointer-events: none;
	}
	.mega__img + .mega__heading a { pointer-events: auto; }
	.mega__img--ink + .mega__heading { color: var(--white); }
	.mega__img:has(img) + .mega__heading { color: var(--white); }
	.mega__img:has(img)::after { content: ""; position: absolute; inset: 0; background: rgba(46, 42, 40, .4); }
}

/* Review carousel. */
.home-review__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-review__head .eyebrow { margin: 0; }
.carousel {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 48px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 100%; scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn {
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: none;
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
}
.carousel__btn:hover { border-color: var(--ink); }
.home-review__item { margin: 0; display: flex; flex-direction: column; gap: 24px; }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } }

/* Instagram row: the feed plugin's grid becomes a horizontal scroll. */
.home-insta { padding-block: clamp(96px, 10vw, 136px); }
.home-insta__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.home-insta__feed { padding-inline: var(--gutter); }
.home-insta #sb_instagram { padding: 0 !important; width: 100% !important; }
.home-insta #sbi_images {
	display: flex !important;
	gap: 12px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 !important;
	scrollbar-width: none;
	grid-template-columns: none !important;
}
.home-insta #sbi_images::-webkit-scrollbar { display: none; }
.home-insta #sb_instagram .sbi_item {
	flex: 0 0 clamp(220px, 24vw, 320px) !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	scroll-snap-align: start;
}
.home-insta #sb_instagram .sbi_photo_wrap, .home-insta #sb_instagram .sbi_photo { aspect-ratio: 4 / 5; height: auto !important; }
.home-insta #sb_instagram .sbi_photo img { width: 100%; height: 100%; object-fit: cover; }
.home-insta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Skincare and pharmacy side by side (home). */
.home-duo__inner {
	padding-block: clamp(72px, 8vw, 112px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 56px clamp(48px, 7vw, 112px);
}
.home-duo__col { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.home-duo__col p { margin: 0; max-width: 30em; }
.home-duo__logo { height: 44px; width: auto; }
.home-duo__mark { font-family: var(--mark); font-size: 44px; line-height: 44px; height: 44px; }
.home-duo__title { font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }

/* Calmer rhythm on the home page: less space between sections. */
.home-help { padding-block: clamp(72px, 8vw, 112px) clamp(56px, 6vw, 80px); }
.home-tiles { padding-bottom: clamp(72px, 8vw, 112px); }
.home-band__inner { padding-block: clamp(72px, 8vw, 104px); }
.home-review__inner { padding-block: clamp(72px, 8vw, 112px); }
.home-insta { padding-block: clamp(72px, 8vw, 112px); }
.home-split { padding-block: clamp(72px, 8vw, 112px); }
.home-duo__mark { display: block; }
.home-review blockquote { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; }


/* Home tiles: number, title and text from the top, link at the bottom. */
.home-tile { justify-content: flex-start; }
.home-tile__body { flex: 1; gap: 20px; }
.home-tile__num { font-size: 14px; letter-spacing: .08em; }
.home-tile__title { margin-top: 24px; }
.home-tile__links { margin-top: auto; padding-top: 32px; }

/* Instagram: centred title, four-up grid, pill button. */
.home-insta__head { justify-content: center; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.home-insta #sbi_images { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; overflow: visible; }
.home-insta #sb_instagram .sbi_item { flex: none !important; }
.home-insta #sb_instagram .sbi_item:nth-child(n+5) { display: none !important; }
.home-insta #sb_instagram .sbi_photo_wrap, .home-insta #sb_instagram .sbi_photo { aspect-ratio: 1 / 1; }
.home-insta #sbi_load, .home-insta .sb_instagram_header { display: none !important; }
@media (max-width: 760px) { .home-insta #sbi_images { grid-template-columns: repeat(2, 1fr) !important; } }
.home-insta__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.home-insta__btn { display: block; width: 100%; max-width: 560px; box-sizing: border-box; text-align: center; background: var(--ink); color: var(--white); border-radius: 999px; padding: 22px 32px; text-decoration: none; }
.home-insta__btn:hover { color: var(--white); opacity: .9; }
