/* ==========================================================================
   Emma Kearney Editorial — design system and layouts (mobile first)

   Palette from the Canva brand kit: warm white, soft stone, nude, taupe, black.
   Black is used for type, logos and fine details, not for large areas.
   Contrast-checked variants are used where the brand tones are too light:
   --ek-taupe-ui for form borders (3.97:1 on stone) and --ek-muted for
   secondary text (6.18:1 on stone).
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

/* ------------------------------------------------------------------ tokens */
:root {
	--ek-paper: #fffffe;
	--ek-stone: #eee9e5;
	--ek-stone-soft: #f6f3f0;
	--ek-nude: #d1beb0;
	--ek-nude-soft: #e4d8cf;
	--ek-nude-deep: #c4ad9c; /* hover tone of nude; black text 9.9:1 */
	--ek-taupe: #a99c93;
	--ek-taupe-ui: #7d7068;
	--ek-ink: #000;
	--ek-text: #2b2623;
	--ek-muted: #5e534c;
	--ek-line: #ddd4cd;
	--ek-danger: #9b2c2c;
	--ek-success: #2f6b3f;

	--ek-serif: "Cormorant Garamond", Garamond, "Times New Roman", Georgia, serif;
	--ek-sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

	/* Fluid type: 320px → 1440px */
	--ek-step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--ek-step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.15rem);
	--ek-step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
	--ek-step-2: clamp(1.55rem, 1.35rem + 0.95vw, 2.15rem);
	--ek-step-3: clamp(1.95rem, 1.6rem + 1.75vw, 3.1rem);
	--ek-step-4: clamp(2.5rem, 1.85rem + 3.25vw, 4.6rem);
	--ek-step-5: clamp(2.4rem, 1.68rem + 3.9vw, 5.6rem);

	--ek-space-3xs: 0.25rem;
	--ek-space-2xs: 0.5rem;
	--ek-space-xs: 0.75rem;
	--ek-space-s: 1rem;
	--ek-space-m: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
	--ek-space-l: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	--ek-space-xl: clamp(2.5rem, 1.9rem + 3vw, 4.5rem);
	--ek-space-2xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

	--ek-gutter: clamp(1rem, 0.5rem + 2.6vw, 2.5rem);
	--ek-max: 1240px;
	--ek-measure: 66ch;
	--ek-radius: 2px;
	/* The soft corner: Emma's recurring detail, a single rounded top-left corner. */
	--ek-soft: clamp(2.5rem, 1rem + 6vw, 7.5rem);
	--ek-soft-m: clamp(1.25rem, .75rem + 2.4vw, 3rem);
	--ek-soft-s: 14px;
	--ek-header-h: 68px;
	--ek-ease: cubic-bezier(.22, .61, .36, 1);
	--ek-focus: 0 0 0 2px var(--ek-paper), 0 0 0 4px var(--ek-ink);
	--ek-shadow: 0 18px 40px -24px rgba(43, 38, 35, .35);
}
@media (min-width: 64em) {
	:root { --ek-header-h: 84px; }
}

/* ------------------------------------------------------------------ base
   Element rules are limited to the theme's own markup. Academy Engine screens
   (.ae-*, .academy-*) and Booknetic (booknetic*, bkntc*) keep their own styling:
   every element rule below excludes them, at zero added specificity. */
*:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)), *:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *))::before, *:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *))::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--ek-header-h) + 1rem); }
body {
	margin: 0;
	background: var(--ek-paper);
	color: var(--ek-text);
	font-family: var(--ek-sans);
	font-size: var(--ek-step-0);
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
:where(img, picture, video, svg):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { display: block; max-width: 100%; height: auto; }
:where(img):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { border-style: none; }
:where(a):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { color: var(--ek-ink); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ek-ease), text-decoration-color .2s var(--ek-ease); }
:where(a):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)):hover { text-decoration-color: var(--ek-taupe); }
:where(*):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)):focus-visible { outline: 2px solid var(--ek-ink); outline-offset: 3px; }
::selection { background: var(--ek-nude); color: var(--ek-ink); }
:where(hr):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { border: 0; border-top: 1px solid var(--ek-line); margin: var(--ek-space-l) 0; }
:where(button, input, select, textarea):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font: inherit; color: inherit; }
:where(button):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { cursor: pointer; }
[hidden] { display: none !important; }

:where(h1, h2, h3, h4):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) {
	font-family: var(--ek-serif);
	font-weight: 500;
	color: var(--ek-ink);
	line-height: 1.1;
	letter-spacing: -0.005em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
:where(h1):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step-4); }
:where(h1, h2, h3) em { font-style: italic; font-weight: 400; }
:where(h2):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step-3); }
:where(h3):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step-2); }
:where(h4):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step-1); font-family: var(--ek-sans); font-weight: 500; letter-spacing: 0; line-height: 1.35; }
:where(p):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin: 0 0 1em; }
:where(p, li):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { text-wrap: pretty; }
:where(strong, b):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-weight: 600; color: var(--ek-ink); }
:where(small):not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step--1); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: .75rem; left: .75rem; z-index: 1000;
	padding: .75rem 1.25rem; background: var(--ek-ink); color: var(--ek-paper); text-decoration: none;
}

/* ------------------------------------------------------------------ layout */
.ek-container { width: 100%; max-width: calc(var(--ek-max) + 2 * var(--ek-gutter)); margin-inline: auto; padding-inline: var(--ek-gutter); }
.ek-container--narrow { max-width: calc(760px + 2 * var(--ek-gutter)); }
.ek-section { padding-block: var(--ek-space-2xl); position: relative; }
.ek-section--tight { padding-block: var(--ek-space-xl); }
.ek-section--stone { background: var(--ek-stone); }
.ek-section--soft { background: var(--ek-stone-soft); }
.ek-section + .ek-section:not(.ek-section--stone):not(.ek-section--soft) { border-top: 1px solid var(--ek-stone); }
.ek-section--stone + .ek-section--stone { padding-top: 0; }
.ek-section--stone + .ek-section, .ek-section--soft + .ek-section { border-top: 0 !important; }
#content { outline: none; }

.ek-section-head { display: grid; gap: var(--ek-space-s); margin-bottom: var(--ek-space-l); max-width: 760px; }
.ek-section-head > * { margin: 0; }
.ek-section-head p { color: var(--ek-muted); max-width: 58ch; }
.ek-section-head--split { max-width: none; }
@media (min-width: 48em) {
	.ek-section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--ek-space-l); }
	.ek-section-head--split > p { grid-column: 1; }
	.ek-section-head--split > .ek-btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
}

.ek-eyebrow {
	display: inline-flex; align-items: baseline; gap: .55em;
	font-family: var(--ek-serif); font-style: italic; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 500;
	letter-spacing: .005em; line-height: 1.3; color: var(--ek-muted);
	margin: 0 0 var(--ek-space-s);
}
.ek-eyebrow::before { content: ""; flex: none; width: .4em; height: .4em; border-radius: 50%; background: var(--ek-nude-deep); transform: translateY(-.12em); }
.ek-lead { font-size: var(--ek-step-1); line-height: 1.6; color: var(--ek-text); max-width: 46ch; }
.ek-muted { color: var(--ek-muted); }
.ek-measure { max-width: var(--ek-measure); }

/* ------------------------------------------------------------------ buttons */
.ek-btn {
	--btn-bg: var(--ek-nude);
	--btn-fg: var(--ek-ink);
	--btn-bd: var(--ek-nude);
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 48px; padding: .8em 1.6em;
	background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
	border-radius: var(--ek-soft-s) var(--ek-radius) var(--ek-radius) var(--ek-radius);
	font-family: var(--ek-sans); font-size: .9375rem; font-weight: 500; letter-spacing: .015em;
	line-height: 1.2; text-decoration: none; text-align: center;
	transition: background-color .3s var(--ek-ease), border-color .3s var(--ek-ease), color .3s var(--ek-ease), border-radius .45s var(--ek-ease), transform .2s var(--ek-ease);
	-webkit-tap-highlight-color: transparent;
}
.ek-btn:hover { --btn-bg: var(--ek-nude-deep); --btn-bd: var(--ek-nude-deep); color: var(--ek-ink); border-top-left-radius: calc(var(--ek-soft-s) * 1.75); }
.ek-btn:active { transform: scale(.985); }
.ek-btn:focus-visible { outline: none; box-shadow: var(--ek-focus); }
.ek-btn--secondary { --btn-bg: transparent; --btn-bd: var(--ek-ink); }
.ek-btn--secondary:hover { --btn-bg: var(--ek-stone); --btn-bd: var(--ek-ink); color: var(--ek-ink); }
.ek-section--stone .ek-btn--secondary:hover { --btn-bg: var(--ek-paper); }
.ek-btn--text {
	--btn-bg: transparent; --btn-bd: transparent;
	min-height: 44px; padding: .5em 0; gap: .5em;
	border-bottom: 1px solid var(--ek-ink); border-radius: 0;
	justify-content: flex-start; text-align: left;
}
.ek-btn--text:hover { --btn-bg: transparent; --btn-bd: transparent; border-bottom-color: var(--ek-nude-deep); border-radius: 0; }
.ek-btn--text .ek-icon { width: 1.25em; height: 1.25em; transition: transform .3s var(--ek-ease); }
.ek-btn--text:hover .ek-icon { transform: translateX(4px); }
.ek-btn--block { width: 100%; }
.ek-btn--small { min-height: 42px; padding: .55em 1.15em; font-size: .875rem; }
.ek-btn[aria-disabled="true"] { --btn-bg: var(--ek-stone); --btn-bd: var(--ek-line); color: var(--ek-muted); cursor: not-allowed; }
.ek-actions { display: flex; flex-wrap: wrap; gap: var(--ek-space-xs) var(--ek-space-s); align-items: center; }

.ek-badge {
	display: inline-flex; align-items: center; gap: .35em;
	padding: .3em .7em; border: 1px solid var(--ek-taupe-ui); border-radius: 999px;
	font-size: .8125rem; font-weight: 500; letter-spacing: .01em; color: var(--ek-text); line-height: 1.3;
	background: var(--ek-paper);
}
.ek-badge--fill { background: var(--ek-ink); color: var(--ek-paper); border-color: var(--ek-ink); }
.ek-badge--soft { background: var(--ek-stone); border-color: transparent; }

.ek-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ notice */
.ek-notice { background: var(--ek-stone); color: var(--ek-ink); font-size: var(--ek-step--1); text-align: center; padding: .6rem var(--ek-gutter); line-height: 1.5; }
.ek-notice a { margin-left: .5em; font-weight: 500; }

/* ------------------------------------------------------------------ header */
.ek-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 254, .97);
	border-bottom: 1px solid var(--ek-stone);
	transition: box-shadow .3s var(--ek-ease);
}
@supports (backdrop-filter: blur(8px)) {
	.ek-header { background: rgba(255, 255, 254, .9); backdrop-filter: saturate(1.2) blur(10px); }
}
.admin-bar .ek-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ek-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .ek-header { top: 0; } }
.ek-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(43, 38, 35, .5); }
.ek-header__inner { display: flex; align-items: center; gap: var(--ek-space-s); min-height: var(--ek-header-h); }
.ek-header__brand { display: block; flex: 0 1 auto; min-width: 0; margin-right: auto; padding: .5rem 0; line-height: 0; }
.ek-header__brand:focus-visible { outline-offset: 4px; }
/* Logos are never cropped by the photo rules of the section they sit in. */
picture.ek-logo img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.ek-header .ek-logo--landscape { width: clamp(150px, 46vw, 214px); }
.ek-header .ek-logo--stacked { width: clamp(118px, 34vw, 156px); }
@media (min-width: 64em) {
	.ek-header .ek-logo--landscape { width: 236px; }
}
.ek-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.ek-header__account {
	display: none; align-items: center; gap: .4em; min-height: 44px; padding: 0 .25rem;
	font-size: .8125rem; letter-spacing: .04em; color: var(--ek-text); text-decoration: none;
}
.ek-header__account:hover { color: var(--ek-ink); text-decoration: underline; }
.ek-header__account .ek-icon { width: 1.15em; height: 1.15em; }
.ek-header__book { padding-inline: 1rem; }
/* Phones: the full "Book appointment" label stays readable; the logo takes the space
   that is left (never smaller than ~118px), and below 360px the label wraps to two lines. */
@media (max-width: 29.99em) {
	.ek-header__inner { gap: .75rem; }
	.ek-header__actions { gap: .25rem; }
	.ek-header__book { padding: .5rem .75rem; font-size: .8125rem; min-height: 44px; white-space: nowrap; }
	.ek-header .ek-logo--landscape { width: clamp(118px, calc(100vw - 2 * var(--ek-gutter) - 200px), 214px); }
}
@media (max-width: 22.49em) {
	.ek-header__book { white-space: normal; max-width: 6.6rem; padding: .35rem .6rem; line-height: 1.15; }
	.ek-header .ek-logo--landscape { width: clamp(112px, calc(100vw - 2 * var(--ek-gutter) - 168px), 150px); }
}
.ek-menu-toggle {
	display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
	background: none; border: 0; color: var(--ek-ink); border-radius: var(--ek-radius);
}
.ek-menu-toggle .ek-icon { width: 26px; height: 26px; }

.ek-nav { display: none; }
@media (min-width: 64em) {
	.ek-header__inner { gap: var(--ek-space-m); }
	.ek-header__brand { margin-right: 0; }
	.ek-nav { display: block; flex: 1 1 auto; }
	.ek-header__account { display: inline-flex; }
	.ek-menu-toggle { display: none; }
}
/* Smaller desktops (1024–1279px): seven menu items, the account link and the booking
   button share one line. The account link keeps its icon; its label stays available to
   screen readers and as a tooltip. */
@media (min-width: 64em) and (max-width: 79.99em) {
	.ek-header__inner { gap: var(--ek-space-s); }
	.ek-header .ek-logo--landscape { width: 188px; }
	.ek-header__account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.ek-header__account .ek-icon { width: 1.35em; height: 1.35em; }
	.ek-header__book { padding-inline: .85rem; }
}
.ek-nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(.75rem, 1.35vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.ek-nav__list > li { position: relative; }
.ek-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; position: relative;
	font-size: .9688rem; font-weight: 400; letter-spacing: .01em; text-decoration: none; color: var(--ek-text);
	transition: color .2s;
}
/* A small nude dot under the current or hovered item, instead of an underline. */
.ek-nav__list > li > a::after {
	content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; border-radius: 50%;
	background: var(--ek-taupe-ui); opacity: 0; transform: translate(-50%, 3px) scale(.4);
	transition: opacity .25s var(--ek-ease), transform .35s var(--ek-ease);
}
.ek-nav__list > li > a:hover, .ek-nav__list > .current-menu-item > a, .ek-nav__list > .current-menu-ancestor > a, .ek-nav__list > .current_page_item > a { color: var(--ek-ink); }
.ek-nav__list > li > a:hover::after, .ek-nav__list > .current-menu-item > a::after, .ek-nav__list > .current-menu-ancestor > a::after, .ek-nav__list > .current_page_item > a::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ek-nav__list > .current-menu-item > a, .ek-nav__list > .current-menu-ancestor > a, .ek-nav__list > .current_page_item > a { font-weight: 500; }
.ek-nav__list .sub-menu {
	position: absolute; top: 100%; left: -1rem; min-width: 15rem; margin: 0; padding: .5rem 0; list-style: none;
	background: var(--ek-paper); border: 1px solid var(--ek-stone); box-shadow: var(--ek-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.ek-nav__list li:hover > .sub-menu, .ek-nav__list li:focus-within > .sub-menu, .ek-nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ek-nav__list .sub-menu a { display: flex; padding: .35rem 1rem; text-transform: none; letter-spacing: .02em; font-size: .9375rem; background: none; }
.ek-nav__list .sub-menu a:hover { background: var(--ek-stone-soft); }
.ek-subtoggle { background: none; border: 0; padding: 0 .2rem; width: 28px; height: 44px; vertical-align: middle; color: var(--ek-muted); }
.ek-subtoggle::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }

/* Academy course menu (desktop panel). Opens from its toggle button (click, Enter or
   Space), on hover with a short delay for mouse users, and, without JavaScript, when
   keyboard focus enters the Academy item. Escape, clicking elsewhere or choosing a link
   closes it. */
.ek-nav__list > li.ek-has-mega { position: static; }
.ek-mega-toggle { background: none; border: 0; padding: 0 .2rem; width: 28px; height: 44px; vertical-align: middle; color: var(--ek-muted); }
.ek-mega-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ek-ease); }
.ek-mega-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.ek-mega-toggle:hover { color: var(--ek-ink); }
.ek-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--ek-paper); border-top: 1px solid var(--ek-stone); border-bottom: 1px solid var(--ek-line);
	box-shadow: 0 30px 50px -40px rgba(43, 38, 35, .45);
	max-height: calc(100vh - var(--ek-header-h) - 2rem); overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .22s var(--ek-ease), transform .3s var(--ek-ease), visibility 0s linear .3s;
}
.ek-has-mega.is-open > .ek-mega,
html:not(.ek-js) .ek-has-mega:focus-within > .ek-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ek-mega__inner { display: grid; grid-template-columns: minmax(13rem, 3fr) 9fr; gap: var(--ek-space-xl); padding-block: var(--ek-space-l) var(--ek-space-xl); }
.ek-mega__intro { padding: var(--ek-space-m); background: var(--ek-stone); align-self: start; border-top-left-radius: var(--ek-soft-m); }
.ek-mega__eyebrow { margin: 0 0 .75rem; font-family: var(--ek-serif); font-style: italic; font-size: 1.125rem; color: var(--ek-muted); }
.ek-mega__lead { margin: 0 0 1.25rem; font-family: var(--ek-serif); font-size: var(--ek-step-1); line-height: 1.35; color: var(--ek-ink); }
.ek-nav__list .ek-mega__all { display: inline-flex; gap: .6em; min-height: 44px; font-size: .9375rem; font-weight: 500; color: var(--ek-ink); border-bottom: 1px solid var(--ek-ink); }
.ek-mega__all .ek-icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ek-ease); }
.ek-mega__all:hover .ek-icon { transform: translateX(3px); }
.ek-mega__groups { display: grid; grid-template-columns: repeat(var(--ek-mega-cols, 3), minmax(0, 1fr)); gap: var(--ek-space-l) var(--ek-space-l); align-content: start; }
.ek-mega__group { min-width: 0; }
.ek-mega__heading { margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ek-taupe); }
.ek-nav__list .ek-mega__heading a { min-height: 36px; font-family: var(--ek-serif); font-size: var(--ek-step-1); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ek-ink); background: none; }
.ek-nav__list .ek-mega__heading a:hover, .ek-nav__list .ek-mega__heading a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ek-mega__group ul { list-style: none; margin: 0; padding: 0; }
.ek-nav__list .ek-mega__group li a { display: flex; min-height: 36px; padding: .3rem 0; font-size: .9375rem; font-weight: 400; letter-spacing: .01em; line-height: 1.35; text-transform: none; color: var(--ek-text); background: none; }
.ek-nav__list .ek-mega__group li a:hover, .ek-nav__list .ek-mega__group li a[aria-current] { color: var(--ek-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.ek-mega__none { margin: .25rem 0 0; font-size: .875rem; color: var(--ek-muted); }
.ek-nav__list .ek-mega__more { margin-top: .35rem; min-height: 36px; font-size: .875rem; color: var(--ek-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.ek-nav__list .ek-mega__more:hover { color: var(--ek-ink); }
@media (max-width: 79.99em) {
	.ek-mega__inner { grid-template-columns: 1fr; gap: var(--ek-space-m); }
	.ek-mega__intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
	.ek-mega__intro > * { margin: 0; }
	.ek-mega__groups { grid-template-columns: repeat(min(var(--ek-mega-cols, 3), 3), minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.ek-mega, .ek-mega-toggle::after { transition: none; transform: none; }
}

/* Academy course menu inside the phone menu (accordion). */
.ek-mobile-menu__nav li.ek-has-mega { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ek-macc-toggle, .ek-macc__cat-toggle { background: none; border: 0; color: var(--ek-ink); }
.ek-macc-toggle { width: 48px; height: 56px; margin-right: -12px; }
.ek-macc-toggle::after, .ek-macc__cat-toggle::after {
	content: ""; display: inline-block; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
	transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ek-ease);
}
.ek-macc-toggle[aria-expanded="true"]::after, .ek-macc__cat-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.ek-macc { grid-column: 1 / -1; padding: 0 0 .75rem; }
.ek-mobile-menu__nav .ek-macc__list > li { border-top: 1px solid var(--ek-stone); }
.ek-mobile-menu__nav .ek-macc__all a { font-family: var(--ek-sans); font-size: 1rem; font-weight: 500; min-height: 52px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.ek-macc__cat-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0; font-family: var(--ek-sans); font-size: 1.0625rem; font-weight: 500; text-align: left; }
.ek-macc__cat-toggle::after { width: 7px; height: 7px; margin-right: 6px; color: var(--ek-muted); }
.ek-macc__courses { padding: 0 0 .75rem .75rem; border-left: 1px solid var(--ek-taupe); margin-bottom: .75rem; }
.ek-mobile-menu__nav .ek-macc__courses a { font-family: var(--ek-sans); font-size: 1rem; font-weight: 400; min-height: 44px; line-height: 1.35; color: var(--ek-text); }
.ek-mobile-menu__nav .ek-macc__courses a[aria-current] { color: var(--ek-ink); text-decoration: underline; text-underline-offset: .2em; }
.ek-mobile-menu__nav .ek-macc__more a { font-size: .9375rem; color: var(--ek-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (prefers-reduced-motion: reduce) {
	.ek-macc-toggle::after, .ek-macc__cat-toggle::after { transition: none; }
}

/* mobile menu (dialog) */
.ek-mobile-menu {
	position: fixed; inset: 0; z-index: 100;
	display: flex; flex-direction: column;
	background: var(--ek-paper);
	overflow-y: auto; overscroll-behavior: contain;
	padding: 0 var(--ek-gutter) calc(var(--ek-space-l) + env(safe-area-inset-bottom));
}
.ek-mobile-menu[hidden] { display: none; }
.ek-mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--ek-header-h); border-bottom: 1px solid var(--ek-stone); position: sticky; top: 0; background: var(--ek-paper); z-index: 1; }
.ek-mobile-menu__top .ek-logo--landscape { width: clamp(150px, 46vw, 214px); }
.ek-mobile-menu__top .ek-logo--stacked { width: clamp(118px, 34vw, 156px); }
.ek-mobile-menu__close { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: var(--ek-ink); }
.ek-mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.ek-mobile-menu__nav > ul { padding-top: var(--ek-space-s); }
.ek-mobile-menu__nav > ul > li { border-bottom: 1px solid var(--ek-stone); }
.ek-mobile-menu__nav a {
	display: flex; align-items: center; justify-content: space-between; min-height: 56px;
	font-family: var(--ek-serif); font-size: 1.75rem; font-weight: 500; color: var(--ek-ink); text-decoration: none; line-height: 1.15;
}
.ek-mobile-menu__nav .sub-menu { padding: 0 0 .75rem 1rem; }
.ek-mobile-menu__nav .sub-menu a { font-family: var(--ek-sans); font-size: 1.0625rem; min-height: 44px; }
.ek-mobile-menu__nav .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ek-mobile-menu__actions { display: grid; gap: .75rem; margin-top: var(--ek-space-l); }
.ek-mobile-menu__meta { margin-top: var(--ek-space-l); display: grid; gap: .25rem; font-size: var(--ek-step--1); color: var(--ek-muted); }
.ek-mobile-menu__meta a { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--ek-text); text-decoration: none; }
.ek-mobile-menu__meta .ek-icon { width: 1.2em; height: 1.2em; }
html.ek-menu-open, html.ek-menu-open body { overflow: hidden; }

/* ------------------------------------------------------------------ breadcrumbs */
.ek-breadcrumbs { font-size: .8125rem; color: var(--ek-muted); padding-top: var(--ek-space-m); }
.ek-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.ek-breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.ek-breadcrumbs li + li::before { content: "/"; color: var(--ek-taupe); }
.ek-breadcrumbs a { color: var(--ek-muted); text-decoration: none; }
.ek-breadcrumbs a:hover { color: var(--ek-ink); text-decoration: underline; }
.ek-breadcrumbs [aria-current] { color: var(--ek-text); }

/* ------------------------------------------------------------------ page hero (internal pages) */
.ek-page-hero { padding-block: var(--ek-space-l) var(--ek-space-xl); }
.ek-page-hero .ek-breadcrumbs { margin-bottom: var(--ek-space-l); }
.ek-page-hero__grid { display: grid; gap: var(--ek-space-l); align-items: end; }
.ek-page-hero h1 { margin-bottom: .3em; }
.ek-page-hero__media { position: relative; }
.ek-page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 56em) {
	.ek-page-hero__grid--media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: var(--ek-space-xl); }
	.ek-page-hero__media img { aspect-ratio: 4 / 5; max-height: 70vh; }
	.ek-page-hero__media::before { content: ""; position: absolute; inset: 1.5rem calc(-1 * min(1.5rem, var(--ek-gutter))) -1.5rem 1.5rem; background: var(--ek-stone); z-index: -1; }
}

/* ------------------------------------------------------------------ home: hero */
.ek-hero { padding-block: var(--ek-space-l) var(--ek-space-xl); position: relative; isolation: isolate; overflow-x: clip; }
.ek-hero__grid { display: grid; gap: var(--ek-space-l); }
.ek-hero__title { font-size: var(--ek-step-5); line-height: 1; letter-spacing: -0.015em; margin: 0 0 var(--ek-space-m); font-weight: 500; }
@media (min-width: 56em) { .ek-hero__title { font-size: clamp(3.4rem, 1rem + 4.4vw, 5.1rem); } }
@media (min-width: 64em) { .ek-hero__title span { white-space: nowrap; } }
.ek-hero__title span { display: block; }
.ek-hero__title span + span { font-style: italic; font-weight: 400; }
.ek-hero__intro { font-size: var(--ek-step-1); line-height: 1.55; max-width: 38ch; margin-bottom: var(--ek-space-s); color: var(--ek-text); }
/* Supporting paragraph: same family, a step smaller and softer, so the first line leads. */
.ek-hero__more { font-size: var(--ek-step-0); line-height: 1.7; max-width: 44ch; margin-bottom: var(--ek-space-l); color: var(--ek-muted); }
.ek-hero__intro:last-of-type { margin-bottom: var(--ek-space-l); }
.ek-hero__actions .ek-btn { flex: 1 1 auto; }
@media (min-width: 30em) { .ek-hero__actions .ek-btn { flex: 0 0 auto; } }
/* Hero photograph: a portrait frame at every size (no fixed heights), trimmed only where
   the photo is a different shape, and then from the side chosen in Website Settings
   ("Keep in view"). A separate phone photograph is shown in its own proportions. */
.ek-hero__media { position: relative; margin-inline: calc(-1 * var(--ek-gutter)); }
.ek-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--ek-focus, 50% 22%); }
.ek-hero__placeholder { aspect-ratio: 4 / 5; background: var(--ek-stone); display: grid; place-items: center; padding: var(--ek-space-l); }
@media (min-width: 40em) and (max-width: 55.99em) {
	.ek-hero__media { margin-inline: auto; width: min(100%, 34rem); }
}
@media (max-width: 55.99em) {
	.ek-hero__media--art img { aspect-ratio: auto; height: auto; object-fit: fill; }
}
.ek-focus--top { --ek-focus: 50% 0%; }
.ek-focus--upper { --ek-focus: 50% 22%; }
.ek-focus--centre { --ek-focus: 50% 50%; }
.ek-focus--lower { --ek-focus: 50% 80%; }
.ek-hero__placeholder .ek-logo { width: min(60%, 260px); opacity: .9; }
@media (min-width: 56em) {
	.ek-hero { padding-block: var(--ek-space-xl) var(--ek-space-2xl); }
	.ek-hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: var(--ek-space-xl); }
	.ek-hero__media { margin: 0; }
	.ek-hero__media img, .ek-hero__placeholder { aspect-ratio: 4 / 5; max-height: min(78vh, 760px); }
	.ek-hero__media::before { content: ""; position: absolute; z-index: -1; inset: 2.5rem calc(-1 * min(2.5rem, var(--ek-gutter))) -2.5rem 2.5rem; background: var(--ek-stone); border-top-left-radius: var(--ek-soft); }
}

/* ------------------------------------------------------------------ home: pathways */
.ek-paths { display: grid; gap: var(--ek-space-xl); }
.ek-path { display: grid; gap: var(--ek-space-s); text-decoration: none; color: inherit; }
.ek-path__media { overflow: hidden; background: var(--ek-stone); border-top-left-radius: 0; transition: border-radius .6s var(--ek-ease); }
.ek-path__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ek-ease); }
/* Hover: the corner softens and the photograph settles, rather than zooming. */
.ek-path:hover .ek-path__media { border-top-left-radius: var(--ek-soft-m); }
.ek-path:hover .ek-path__media img { transform: scale(1.015); }
.ek-path:hover .ek-btn--text .ek-icon { transform: translateX(4px); }
.ek-path__num { font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-1); color: var(--ek-muted); }
.ek-path h3 { font-size: var(--ek-step-3); margin: 0; }
.ek-path p { margin: 0; max-width: 46ch; }
.ek-path .ek-btn--text { justify-self: start; }
.ek-path__media--empty { aspect-ratio: 3 / 2; display: grid; place-items: end start; padding: var(--ek-space-m); font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-3); color: var(--ek-ink); }
@media (min-width: 48em) {
	/* Two proportions, offset: a portrait Salon beside a landscape Academy. */
	.ek-paths { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--ek-space-xl); align-items: start; }
	.ek-path:first-child .ek-path__media img, .ek-path:first-child .ek-path__media--empty { aspect-ratio: 4 / 5; }
	.ek-path:nth-child(2) { margin-top: var(--ek-space-2xl); }
}

/* ------------------------------------------------------------------ home: trust */
.ek-trust { display: grid; gap: var(--ek-space-xl); }
.ek-trust__intro h2 { margin-bottom: .4em; }
.ek-points { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.ek-points > li { counter-increment: pt; display: grid; grid-template-columns: 2.75rem 1fr; align-content: start; gap: .25rem 1rem; padding: var(--ek-space-m) 0; border-top: 1px solid var(--ek-taupe); }
.ek-points > li::before { content: counter(pt, decimal-leading-zero); grid-row: span 2; font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-1); color: var(--ek-muted); line-height: 1.2; }
.ek-points h3 { font-family: var(--ek-sans); font-size: var(--ek-step-0); font-weight: 500; letter-spacing: .01em; margin: 0; line-height: 1.4; }
.ek-points p { margin: 0; color: var(--ek-muted); }
.ek-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--ek-space-m); margin: var(--ek-space-l) 0 0; padding: 0; }
.ek-figures div { margin: 0; }
.ek-figures dt { font-family: var(--ek-serif); font-size: var(--ek-step-4); line-height: 1; color: var(--ek-ink); }
.ek-figures dd { margin: .4rem 0 0; font-size: var(--ek-step--1); color: var(--ek-muted); letter-spacing: .02em; }
@media (min-width: 56em) {
	.ek-trust { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ek-space-2xl); align-items: start; }
	.ek-trust__intro { position: sticky; top: calc(var(--ek-header-h) + 2rem); }
	.ek-points { grid-template-columns: 1fr 1fr; column-gap: var(--ek-space-l); }
}

/* ------------------------------------------------------------------ course cards */
.ek-cards { display: grid; gap: var(--ek-space-l); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .ek-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ek-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ek-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ek-space-m); } }
.ek-rail { margin-inline: calc(-1 * var(--ek-gutter)); padding-inline: var(--ek-gutter); }
@media (max-width: 39.99em) {
	.ek-rail .ek-cards { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--ek-gutter); padding-bottom: 1rem; margin-inline: calc(-1 * var(--ek-gutter)); padding-inline: var(--ek-gutter); scrollbar-width: thin; }
	.ek-rail .ek-cards > li { scroll-snap-align: start; }
	.ek-rail .ek-cards:focus-visible { outline-offset: -2px; }
}
.ek-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--ek-paper); }
.ek-section--stone .ek-card { background: var(--ek-paper); }
.ek-card__media { position: relative; overflow: hidden; background: var(--ek-stone); aspect-ratio: 4 / 3; border-top-left-radius: var(--ek-soft-s); transition: border-radius .6s var(--ek-ease); }
.ek-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ek-ease); }
.ek-card:hover .ek-card__media { border-top-left-radius: var(--ek-soft-m); }
.ek-card:hover .ek-card__media img { transform: scale(1.015); }
.ek-card:hover .ek-card__cta .ek-icon { transform: translateX(4px); }
/* Course cards: the whole photograph, in a frame shaped like most course photographs
   (set inline from EK_Academy::card_ratio()); stone shows only where a photograph's shape differs. */
.ek-card__media--whole { aspect-ratio: 1 / 1; }
.ek-card__media--whole img { object-fit: contain; }
.ek-card__media--empty { display: grid; place-items: center; }
.ek-card__media--empty .ek-logo { width: 46%; opacity: .55; }
.ek-card__flag { position: absolute; top: .75rem; left: .75rem; }
.ek-card__body { display: flex; flex-direction: column; gap: .65rem; flex: 1; padding: var(--ek-space-m) var(--ek-space-m) var(--ek-space-m); border: 1px solid var(--ek-stone); border-top: 0; }
.ek-section--stone .ek-card__body { border-color: var(--ek-paper); }
.ek-card__title { font-size: var(--ek-step-2); margin: 0; line-height: 1.12; }
.ek-card__title a { text-decoration: none; color: inherit; }
.ek-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ek-card__title a:focus-visible { outline: none; }
.ek-card:has(.ek-card__title a:focus-visible) { box-shadow: var(--ek-focus); }
.ek-card__text { margin: 0; color: var(--ek-muted); font-size: .98rem; line-height: 1.6; }
.ek-card__facts { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--ek-text); }
.ek-card__facts li { display: inline-flex; align-items: center; gap: .4em; }
.ek-card__facts .ek-icon { width: 1.1em; height: 1.1em; color: var(--ek-muted); }
.ek-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--ek-stone); display: grid; gap: .35rem; }
.ek-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin: 0; }
.ek-card__price strong { font-family: var(--ek-serif); font-size: var(--ek-step-2); font-weight: 500; line-height: 1; }
.ek-card__price span { font-size: .875rem; color: var(--ek-muted); }
.ek-card__status { font-size: .875rem; color: var(--ek-text); display: flex; gap: .5em; align-items: flex-start; margin: 0; }
.ek-card__status::before { content: ""; width: .5rem; height: .5rem; margin-top: .45em; border-radius: 50%; background: var(--ek-taupe); flex: none; }
.ek-card__status[data-state="dated"]::before, .ek-card__status[data-state="flexible"]::before { background: var(--ek-success); }
.ek-card__status[data-state="closed"]::before, .ek-card__status[data-state="full"]::before { background: var(--ek-danger); }
.ek-card__cta { position: relative; z-index: 2; margin-top: .5rem; align-self: flex-start; }

.ek-empty { padding: var(--ek-space-l); background: var(--ek-stone-soft); border: 1px solid var(--ek-stone); text-align: center; }
.ek-empty p { margin: 0 auto .75rem; max-width: 52ch; }
.ek-empty > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ catalogue filters */
.ek-filters { display: grid; gap: var(--ek-space-s); margin-bottom: var(--ek-space-l); padding-bottom: var(--ek-space-m); border-bottom: 1px solid var(--ek-stone); }
.ek-filters__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.ek-filters__group legend, .ek-filters__label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); margin-bottom: .5rem; padding: 0; }
.ek-chips { display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px .5rem; margin: -2px; scrollbar-width: thin; }
@media (min-width: 48em) { .ek-chips { flex-wrap: wrap; overflow: visible; } }
.ek-chip { position: relative; flex: none; }
.ek-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ek-chip span {
	display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem;
	border: 1px solid var(--ek-taupe-ui); border-radius: 999px; font-size: .9375rem; line-height: 1.2; background: var(--ek-paper); cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.ek-chip span:hover { border-color: var(--ek-ink); }
.ek-chip input:checked + span { background: var(--ek-nude); border-color: var(--ek-ink); color: var(--ek-ink); font-weight: 500; }
/* The selected filter carries the same small dot as section labels (not colour alone). */
.ek-chip input:checked + span::before { content: ""; width: .45em; height: .45em; margin-right: .55em; border-radius: 50%; background: var(--ek-ink); }
.ek-chip span:active { transform: scale(.97); }
.ek-chip input:focus-visible + span { box-shadow: var(--ek-focus); }
.ek-search { position: relative; max-width: 40rem; }
.ek-search > .ek-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem; color: var(--ek-muted); pointer-events: none; }
.ek-search input { width: 100%; min-height: 54px; padding-left: 3rem !important; padding-right: 3.25rem !important; font-size: 1.0625rem; border-top-left-radius: var(--ek-soft-s); }
.ek-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ek-search input:placeholder-shown { padding-right: .75rem !important; text-overflow: ellipsis; } /* the clear button only appears once there is text */
@media (max-width: 29.99em) { .ek-search input::placeholder { font-size: .9375rem; } }
.ek-search__clear { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; color: var(--ek-ink); }
.ek-search__clear .ek-icon { width: 1.1rem; height: 1.1rem; }
.ek-search__clear:hover { background: var(--ek-stone); }
.ek-search__clear:focus-visible { outline: 2px solid var(--ek-ink); outline-offset: 0; }
/* Category chips scroll sideways on phones; a soft fade at the edge shows there is more. */
@media (max-width: 47.99em) {
	.ek-filters__group:has(.ek-chips) { position: relative; }
	.ek-chips { scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2rem; }
	.ek-chips > * { scroll-snap-align: start; flex: none; }
}
.ek-filters__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; font-size: .9375rem; }
.ek-filters__count { margin: 0; color: var(--ek-muted); }
.ek-filters__reset { background: none; border: 0; padding: .5rem 0; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; color: var(--ek-ink); font-size: .9375rem; }
.ek-filters noscript .ek-btn { margin-top: .5rem; }
@media (min-width: 64em) {
	.ek-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--ek-space-l); }
	.ek-filters__group--wide, .ek-filters__foot { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ treatments (home + salon) */
.ek-treatments { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ek-taupe); }
.ek-treatment { border-bottom: 1px solid var(--ek-taupe); }
.ek-treatment__link {
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem;
	padding: var(--ek-space-m) .75rem; margin-inline: -.75rem; text-decoration: none; color: inherit;
	background: linear-gradient(90deg, var(--ek-stone-soft), rgba(246, 243, 240, 0)) left / 0 100% no-repeat;
	transition: background-size .5s var(--ek-ease);
}
.ek-treatment__link:hover { background-size: 100% 100%; }
.ek-treatment__link .ek-icon { transition: transform .35s var(--ek-ease); }
.ek-treatment__link:hover .ek-icon { transform: translateX(4px); }
.ek-treatment__name { font-family: var(--ek-serif); font-size: var(--ek-step-3); line-height: 1.05; color: var(--ek-ink); transition: transform .4s var(--ek-ease); }
.ek-treatment__link:hover .ek-treatment__name { transform: translateX(.35rem); }
.ek-treatment__meta { grid-column: 1; font-size: .9375rem; color: var(--ek-muted); }
.ek-treatment__link .ek-icon { grid-row: 1 / span 2; grid-column: 2; width: 1.6rem; height: 1.6rem; }

.ek-groups { display: grid; gap: var(--ek-space-xl); }
.ek-group { display: grid; gap: var(--ek-space-m); scroll-margin-top: calc(var(--ek-header-h) + 1.5rem); }
.ek-group__head { display: grid; gap: var(--ek-space-s); }
.ek-group__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ek-group h2 { margin: 0; }
.ek-group__text { color: var(--ek-muted); margin: 0; max-width: 52ch; }
.ek-group__note { display: flex; gap: .5em; align-items: flex-start; font-size: .9375rem; margin: 0; }
.ek-services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ek-stone); }
.ek-service { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ek-stone); align-items: baseline; }
.ek-service__name { font-weight: 500; color: var(--ek-ink); }
.ek-service__notes { grid-column: 1 / -1; margin: 0; font-size: .9375rem; color: var(--ek-muted); max-width: 60ch; }
.ek-service__meta { display: flex; gap: .75rem; align-items: baseline; white-space: nowrap; font-size: .9375rem; }
.ek-service__price { font-family: var(--ek-serif); font-size: var(--ek-step-1); color: var(--ek-ink); }
.ek-service__book { grid-column: 1 / -1; justify-self: start; font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; }
.ek-jump { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: var(--ek-space-l); scrollbar-width: thin; }
.ek-jump a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--ek-taupe-ui); border-radius: 999px; text-decoration: none; font-size: .9375rem; }
.ek-jump a:hover { background: var(--ek-ink); color: var(--ek-paper); border-color: var(--ek-ink); }
@media (min-width: 56em) {
	.ek-group { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ek-space-xl); align-items: start; }
	.ek-group__head { position: sticky; top: calc(var(--ek-header-h) + 1.5rem); }
	.ek-service { grid-template-columns: 1fr auto auto; }
	.ek-service__book { grid-column: auto; grid-row: 1; grid-column-start: 3; }
}

/* ------------------------------------------------------------------ split (Meet Emma, etc.) */
.ek-split { display: grid; gap: var(--ek-space-l); align-items: center; }
.ek-split__media { position: relative; }
.ek-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--ek-focus, 50% 50%); }
.ek-split__body > :last-child { margin-bottom: 0; }
.ek-quote { margin: var(--ek-space-m) 0; padding: 0 0 0 var(--ek-space-m); border-left: 1px solid var(--ek-ink); font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-2); line-height: 1.3; color: var(--ek-ink); }
@media (min-width: 56em) {
	.ek-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--ek-space-2xl); }
	.ek-split--reverse .ek-split__media { order: 2; }
	.ek-split__media::before { content: ""; position: absolute; inset: -1.5rem 1.5rem 1.5rem -1.5rem; background: var(--ek-nude-soft); z-index: -1; }
	.ek-split--reverse .ek-split__media::before { inset: -1.5rem -1.5rem 1.5rem 1.5rem; }
}
.ek-split { isolation: isolate; }

/* ------------------------------------------------------------------ testimonials */
.ek-reviews { display: grid; gap: var(--ek-space-m); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .ek-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ek-reviews--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 47.99em) {
	.ek-rail .ek-reviews { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--ek-gutter)); padding: 0 var(--ek-gutter) 1rem; scroll-padding-inline: var(--ek-gutter); }
	.ek-rail .ek-reviews > li { scroll-snap-align: start; }
}
.ek-review { display: flex; flex-direction: column; gap: var(--ek-space-s); height: 100%; margin: 0; padding: var(--ek-space-l) var(--ek-space-m) var(--ek-space-m); background: var(--ek-paper); border: 1px solid var(--ek-stone); position: relative; }
.ek-section--stone .ek-review { border-color: var(--ek-paper); }
.ek-review::before { content: "\201C"; position: absolute; top: .1rem; left: var(--ek-space-m); font-family: var(--ek-serif); font-size: 4rem; line-height: 1; color: var(--ek-nude); }
.ek-review__text { margin: 0; font-family: var(--ek-serif); font-size: var(--ek-step-1); line-height: 1.45; color: var(--ek-ink); }
.ek-review__text p { margin: 0 0 .6em; }
.ek-review__text--long { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.ek-review__foot { margin-top: auto; display: grid; gap: .3rem; padding-top: var(--ek-space-s); border-top: 1px solid var(--ek-stone); font-size: .9375rem; }
.ek-review__name { font-weight: 500; color: var(--ek-ink); }
.ek-review__source { color: var(--ek-muted); font-size: .875rem; }
.ek-stars { display: inline-flex; gap: 2px; color: var(--ek-ink); }
.ek-stars .ek-icon { width: 1rem; height: 1rem; }
.ek-stars .is-off { color: var(--ek-nude); }

/* ------------------------------------------------------------------ guide */
.ek-guide { display: grid; gap: var(--ek-space-xl); }
.ek-guide__col h3 { font-size: var(--ek-step-2); padding-bottom: var(--ek-space-s); border-bottom: 1px solid var(--ek-ink); margin-bottom: 0; }
.ek-guide dl { margin: 0; }
.ek-guide dl > div { padding: var(--ek-space-m) 0; border-bottom: 1px solid var(--ek-taupe); }
.ek-guide dt { font-weight: 500; color: var(--ek-ink); margin-bottom: .25rem; }
.ek-guide dd { margin: 0; color: var(--ek-muted); }
.ek-guide__col .ek-btn { margin-top: var(--ek-space-m); }
@media (min-width: 56em) { .ek-guide { grid-template-columns: 1fr 1fr; gap: var(--ek-space-2xl); } }

/* ------------------------------------------------------------------ vouchers */
.ek-voucher { display: grid; gap: var(--ek-space-l); align-items: center; }
.ek-voucher__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ek-giftcard {
	position: relative; aspect-ratio: 85.6 / 54; width: 100%; max-width: 30rem; margin-inline: auto;
	background: linear-gradient(135deg, #e7dbd2 0%, var(--ek-nude) 55%, #c4ae9e 100%);
	padding: clamp(1rem, 5%, 1.75rem); display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 30px 50px -30px rgba(43, 38, 35, .55);
	transform: rotate(-2deg);
}
.ek-giftcard .ek-logo { width: 62%; }
.ek-giftcard__label { align-self: end; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ek-ink); }
.ek-giftcard__value { font-family: var(--ek-serif); font-style: italic; font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--ek-ink); line-height: 1; }
.ek-giftcard::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(0, 0, 0, .14); pointer-events: none; }
@media (max-width: 39.99em) { .ek-giftcard { transform: none; } }
@media (min-width: 56em) { .ek-voucher { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--ek-space-2xl); } }

/* ------------------------------------------------------------------ instagram */
.ek-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); margin: 0; padding: 0; list-style: none; }
.ek-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ek-gallery a { display: block; overflow: hidden; }
.ek-gallery a img { transition: transform 1s var(--ek-ease), opacity .3s; }
.ek-gallery a:hover img { transform: scale(1.04); }
.ek-gallery--results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ek-space-s); }
.ek-gallery--results figure { margin: 0; }
.ek-gallery--results figcaption { font-size: .875rem; color: var(--ek-muted); margin-top: .5rem; }
@media (min-width: 48em) { .ek-gallery--results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ek-gallery--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ closing */
.ek-closing { text-align: center; }
.ek-closing h2 { font-size: var(--ek-step-4); margin-bottom: .3em; }
.ek-closing h2 em { font-weight: 400; }
.ek-closing p { margin: 0 auto var(--ek-space-l); max-width: 44ch; color: var(--ek-muted); font-size: var(--ek-step-1); }
.ek-closing .ek-actions { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.ek-footer { --ek-footer-line: rgba(125, 112, 104, .3); background: var(--ek-stone); color: var(--ek-text); padding-top: var(--ek-space-2xl); font-size: .9375rem; }
.ek-footer a { color: var(--ek-ink); text-decoration: none; }
.ek-footer a:hover { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.ek-footer__grid { display: grid; gap: var(--ek-space-l); padding-bottom: var(--ek-space-xl); }
.ek-footer__logo { display: inline-block; line-height: 0; vertical-align: top; }
.ek-footer__logo picture { display: block; }
.ek-footer__brand .ek-logo--portrait { width: 168px; }
.ek-footer__brand .ek-logo--stacked { width: 200px; }
.ek-footer__brand .ek-logo--landscape { width: 230px; }
/* Emma's statement: the homepage headline, second sentence in italics. */
.ek-footer__statement { margin: var(--ek-space-m) 0 0; font-family: var(--ek-serif); font-size: var(--ek-step-1); font-weight: 500; line-height: 1.25; color: var(--ek-ink); }
.ek-footer__statement span, .ek-footer__statement em { display: block; }
.ek-footer__statement em { font-weight: 400; }
.ek-footer__cta { display: none; }
/* Group labels in the site's voice: small italic serif with a nude dot. */
.ek-footer h2 { display: flex; align-items: baseline; gap: .5em; font-family: var(--ek-serif); font-style: italic; font-size: 1.15rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ek-muted); margin: 0 0 .6rem; }
.ek-footer h2::before { content: ""; flex: none; width: .4em; height: .4em; border-radius: 50%; background: var(--ek-nude-deep); transform: translateY(-.12em); }
.ek-footer ul { list-style: none; margin: 0; padding: 0; }
.ek-footer li + li { margin-top: .15rem; }
.ek-footer__links a, .ek-footer__reach a { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; }
.ek-footer .ek-icon { width: 1.1em; height: 1.1em; flex: none; color: var(--ek-muted); }
.ek-footer__address { display: flex; gap: .6em; font-style: normal; line-height: 1.6; padding-block: .55rem; }
.ek-footer__address .ek-icon { margin-top: .3em; }
.ek-footer__comma { display: none; }
.ek-footer__hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; }
.ek-footer__hours dt { color: var(--ek-muted); }
.ek-footer__hours dd { margin: 0; }
.ek-socials { display: flex; gap: .25rem; margin-top: .75rem; }
.ek-socials li + li { margin-top: 0; }
.ek-socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ek-taupe-ui); border-radius: 50%; transition: background-color .2s, color .2s; }
.ek-socials a:hover { background: var(--ek-ink); color: var(--ek-paper); text-decoration: none; }
.ek-socials a:hover .ek-icon { color: inherit; }
.ek-footer__base { border-top: 1px solid var(--ek-taupe); padding-block: var(--ek-space-s) calc(var(--ek-space-s) + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 0 1.5rem; justify-content: space-between; align-items: center; font-size: .8125rem; color: var(--ek-muted); }
.ek-footer__copy { margin: 0; order: -1; }
.ek-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.ek-footer__legal li + li { margin-top: 0; }
.ek-footer__base a { color: var(--ek-muted); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 48em) { .ek-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ek-footer__grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }
body.ek-has-mobile-bar .ek-footer__base { padding-bottom: calc(var(--ek-space-s) + 72px + env(safe-area-inset-bottom)); }
@media (min-width: 64em) { body.ek-has-mobile-bar .ek-footer__base { padding-bottom: var(--ek-space-s); } }

/* Phones: a centred conclusion rather than the desktop columns stacked. The logo,
   Emma's statement and the booking button; the menu as a two-column grid of large
   tap targets; contact details and Instagram together; policies and copyright last.
   Groups are separated by fine rules instead of large gaps, which keeps it short. */
@media (max-width: 47.99em) {
	.ek-footer { padding-top: var(--ek-space-xl); text-align: center; }
	.ek-footer__grid { gap: 0; padding-bottom: 0; }
	.ek-footer__grid > * { padding-block: var(--ek-space-m) var(--ek-space-l); }
	.ek-footer__grid > * + * { border-top: 1px solid var(--ek-footer-line); }
	/* The link grid's own bottom rule closes the group. */
	.ek-footer__grid > .ek-footer__links { padding-bottom: 0; }
	.ek-footer__grid > .ek-footer__links + * { border-top: 0; }
	.ek-footer__brand { padding-top: 0; }
	.ek-footer__brand .ek-logo--portrait { width: 124px; }
	.ek-footer__brand .ek-logo--stacked { width: 176px; }
	.ek-footer__brand .ek-logo--landscape { width: 212px; }
	.ek-footer__statement { margin-top: 1.1rem; font-size: 1.625rem; line-height: 1.2; }
	.ek-footer__cta { display: block; margin-top: 1.5rem; }
	.ek-footer__cta .ek-btn { width: 100%; max-width: 20rem; min-height: 52px; justify-content: center; }
	.ek-footer h2 { justify-content: center; margin-bottom: .9rem; }
	.ek-footer__links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ek-footer-line); }
	.ek-footer__links li { border-bottom: 1px solid var(--ek-footer-line); min-width: 0; }
	.ek-footer__links li + li { margin-top: 0; }
	.ek-footer__links li:nth-child(odd) { border-right: 1px solid var(--ek-footer-line); }
	.ek-footer__links li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
	.ek-footer__links a { display: flex; justify-content: center; width: 100%; min-height: 52px; padding: .25rem .5rem; font-size: 1rem; line-height: 1.25; }
	.ek-footer__address { display: inline-flex; max-width: 22rem; text-align: left; padding-block: 0 .35rem; }
	.ek-footer__address br { display: none; }
	.ek-footer__comma { display: inline; }
	.ek-footer__reach { display: flex; flex-direction: column; align-items: center; }
	.ek-footer__reach li + li { margin-top: 0; }
	.ek-socials { justify-content: center; margin-top: .6rem; }
	.ek-footer__hoursbox .ek-footer__hours { display: inline-grid; text-align: left; }
	.ek-footer__appointments { display: none; }
	.ek-footer__base { flex-direction: column; justify-content: center; gap: 0; padding-top: var(--ek-space-xs); }
	.ek-footer__legal ul { justify-content: center; gap: 0 1.25rem; }
	.ek-footer__copy { order: 0; margin-top: .1rem; }
	.ek-footer__base a { font-size: .875rem; }
}

/* ------------------------------------------------------------------ mobile booking bar */
.ek-mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
	padding: .6rem var(--ek-gutter) calc(.6rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 254, .97); border-top: 1px solid var(--ek-stone); box-shadow: 0 -12px 30px -24px rgba(43, 38, 35, .5);
	transform: translateY(110%); transition: transform .35s var(--ek-ease), visibility .35s; visibility: hidden;
}
.ek-mobile-bar.is-visible { transform: none; visibility: visible; }
.ek-mobile-bar .ek-btn { min-height: 46px; padding-inline: .75rem; }
@media (min-width: 64em) { .ek-mobile-bar { display: none; } }
body.ek-no-mobile-bar .ek-mobile-bar { display: none; }

/* course enrol bar (phones) */
.ek-course-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: .65rem var(--ek-gutter) calc(.65rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 254, .98); border-top: 1px solid var(--ek-stone); box-shadow: 0 -12px 30px -24px rgba(43, 38, 35, .5);
	transform: translateY(110%); transition: transform .35s var(--ek-ease), visibility .35s; visibility: hidden;
}
.ek-course-bar.is-visible { transform: none; visibility: visible; }
.ek-course-bar__price { line-height: 1.25; min-width: 0; }
.ek-course-bar__price strong { display: block; font-family: var(--ek-serif); font-size: 1.5rem; font-weight: 500; }
.ek-course-bar__price span { font-size: .8125rem; color: var(--ek-muted); }
.ek-course-bar .ek-btn { flex: none; }
@media (min-width: 64em) { .ek-course-bar { display: none; } }

/* ------------------------------------------------------------------ single course
   One price panel: between the introduction and the details on phones, beside the
   content (and sticky) on larger screens. */
.ek-course-grid { display: grid; gap: var(--ek-space-l); grid-template-areas: "intro" "aside" "main"; padding-block: var(--ek-space-l) var(--ek-space-2xl); }
.ek-course-intro { grid-area: intro; min-width: 0; }
.ek-course-aside { grid-area: aside; min-width: 0; }
.ek-course-main { grid-area: main; min-width: 0; }
.ek-course-intro h1 { font-size: var(--ek-step-4); margin: var(--ek-space-xs) 0 var(--ek-space-s); }
.ek-course-hero__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ek-course-hero__lead { font-size: var(--ek-step-1); line-height: 1.55; max-width: 44ch; margin-bottom: var(--ek-space-m); }
.ek-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--ek-stone); }
.ek-facts > div { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--ek-stone); }
.ek-facts dt { display: flex; align-items: center; gap: .45em; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); }
.ek-facts dt .ek-icon { width: 1.05rem; height: 1.05rem; }
.ek-facts dd { margin: .2rem 0 0; font-weight: 500; color: var(--ek-ink); }
.ek-course-hero__media { margin: 0 0 var(--ek-space-l); }
.ek-course-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.ek-price-panel { background: var(--ek-stone); padding: var(--ek-space-m); display: grid; gap: var(--ek-space-s); border-top-left-radius: var(--ek-soft-m); }
.ek-price-panel__total { display: grid; gap: .1rem; margin: 0; }
.ek-price-panel__total span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); }
.ek-price-panel__total strong { font-family: var(--ek-serif); font-size: var(--ek-step-4); font-weight: 500; line-height: 1; }
.ek-breakdown { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ek-taupe); }
.ek-breakdown > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--ek-taupe); font-size: .9375rem; }
.ek-breakdown dt { color: var(--ek-text); }
.ek-breakdown dd { margin: 0; font-weight: 600; color: var(--ek-ink); white-space: nowrap; }
.ek-price-panel__note { margin: 0; font-size: .875rem; color: var(--ek-muted); }
.ek-state { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; background: var(--ek-paper); border-left: 2px solid var(--ek-ink); font-size: .9375rem; }
.ek-state .ek-icon { margin-top: .15rem; }
.ek-state p { margin: 0; }
.ek-state strong { display: block; }
.ek-state a { display: inline-block; margin-top: .2rem; }
.ek-price-panel .ek-btn { width: 100%; }

.ek-course-section { padding-block: var(--ek-space-l); border-top: 1px solid var(--ek-stone); scroll-margin-top: calc(var(--ek-header-h) + 1.5rem); }
.ek-course-main > .ek-course-section:first-child, .ek-course-hero__media + .ek-course-section { border-top: 0; padding-top: 0; }
.ek-course-section h2:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: var(--ek-step-3); }
.ek-course-section > :last-child:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin-bottom: 0; }
.ek-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ek-ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; align-items: start; }
.ek-ticks .ek-icon { margin-top: .3rem; width: 1.15rem; height: 1.15rem; }
@media (min-width: 48em) { .ek-ticks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--ek-space-l); } }
.ek-structure { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.ek-structure li { counter-increment: st; position: relative; padding: 0 0 var(--ek-space-m) 3rem; }
.ek-structure li::before { content: counter(st); position: absolute; left: 0; top: -.15rem; width: 2rem; height: 2rem; border: 1px solid var(--ek-ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--ek-serif); font-size: 1.05rem; }
.ek-structure li::after { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: .2rem; width: 1px; background: var(--ek-taupe); }
.ek-structure li:last-child::after { display: none; }
.ek-structure h3 { font-family: var(--ek-sans); font-size: var(--ek-step-0); font-weight: 500; margin: 0 0 .2rem; line-height: 1.5; }
.ek-structure p { margin: 0; color: var(--ek-muted); }
.ek-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ek-dates li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--ek-stone); }
.ek-dates li span:last-child { font-size: .875rem; color: var(--ek-muted); white-space: nowrap; }
.ek-dates li.is-full { color: var(--ek-muted); }
.ek-dates li.is-full span:first-child { text-decoration: line-through; text-decoration-thickness: 1px; }
.ek-course-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ek-course-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 48em) { .ek-course-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ek-videos { list-style: none; padding: 0; margin: var(--ek-space-s) 0 0; display: grid; gap: .35rem; }
.ek-onpage { display: none; }
@media (min-width: 64em) {
	.ek-course-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "intro aside" "main aside"; column-gap: var(--ek-space-2xl); row-gap: var(--ek-space-l); align-items: start; }
	.ek-course-aside { align-self: stretch; }
	.ek-course-aside__sticky { position: sticky; top: calc(var(--ek-header-h) + 1.5rem); display: grid; gap: var(--ek-space-m); }
	.ek-onpage { display: block; font-size: .9375rem; }
	.ek-onpage h2 { font-family: var(--ek-sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ek-muted); margin: 0 0 .5rem; }
	.ek-onpage ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ek-stone); }
	.ek-onpage a { display: block; padding: .3rem 0 .3rem 1rem; text-decoration: none; color: var(--ek-text); margin-left: -1px; border-left: 1px solid transparent; }
	.ek-onpage a:hover, .ek-onpage a[aria-current="true"] { border-left-color: var(--ek-ink); color: var(--ek-ink); }
}

/* accordions (native details/summary) */
.ek-accordion { border-top: 1px solid var(--ek-taupe); }
.ek-accordion details { border-bottom: 1px solid var(--ek-taupe); }
.ek-accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .9rem 0; cursor: pointer; font-weight: 500; color: var(--ek-ink); }
.ek-accordion summary::-webkit-details-marker { display: none; }
.ek-accordion summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat; transition: transform .3s var(--ek-ease); }
.ek-accordion details[open] summary::after { transform: rotate(45deg); }
.ek-accordion summary:focus-visible { outline-offset: 2px; }
.ek-accordion__body { padding: 0 0 var(--ek-space-m); color: var(--ek-text); max-width: var(--ek-measure); }
.ek-accordion__body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ prose (block editor content) */
.ek-prose { max-width: var(--ek-measure); }
.ek-prose > * + *:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin-top: 1em; }
.ek-prose h2:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin-top: 1.6em; }
.ek-prose h3:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin-top: 1.4em; }
.ek-prose ul:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)), .ek-prose ol:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { padding-left: 1.25em; }
.ek-prose li + li:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin-top: .35em; }
.ek-prose blockquote:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)), .ek-prose .wp-block-quote:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin: var(--ek-space-l) 0; padding-left: var(--ek-space-m); border-left: 1px solid var(--ek-ink); font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-2); line-height: 1.3; color: var(--ek-ink); }
.ek-prose blockquote cite:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { display: block; margin-top: .75rem; font-family: var(--ek-sans); font-style: normal; font-size: .875rem; color: var(--ek-muted); }
.ek-prose figure:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { margin: var(--ek-space-l) 0; }
.ek-prose figcaption:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)) { font-size: .875rem; color: var(--ek-muted); margin-top: .5rem; }
.ek-prose .alignwide { max-width: min(var(--ek-max), calc(100vw - 2 * var(--ek-gutter))); }
.ek-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: .8em 1.6em; background: var(--ek-nude); color: var(--ek-ink); border-radius: var(--ek-radius); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.ek-prose .wp-block-button__link:hover { background: var(--ek-taupe); }
.ek-prose .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--ek-ink); }
.ek-prose .has-stone-background-color { padding: var(--ek-space-m); }
.ek-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ek-prose th, .ek-prose td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--ek-stone); }
.has-paper-background-color { background-color: var(--ek-paper); }
.has-stone-background-color { background-color: var(--ek-stone); }
.has-nude-background-color { background-color: var(--ek-nude); }
.has-ink-color { color: var(--ek-ink); }
.has-taupe-deep-color { color: var(--ek-muted); }

/* ------------------------------------------------------------------ forms */
.ek-form { display: grid; gap: var(--ek-space-m); }
.ek-form__row { display: grid; gap: var(--ek-space-m); }
@media (min-width: 40em) { .ek-form__row { grid-template-columns: 1fr 1fr; } }
.ek-field { display: grid; gap: .4rem; min-width: 0; }
.ek-field label, .ek-field legend { font-weight: 500; color: var(--ek-ink); font-size: .9375rem; padding: 0; }
.ek-field .ek-req { color: var(--ek-muted); font-weight: 400; font-size: .875rem; }
.ek-input, .ek-form input[type="text"], .ek-form input[type="email"], .ek-form input[type="tel"], .ek-form input[type="search"], .ek-form select, .ek-form textarea, .ek-filters input[type="search"] {
	width: 100%; min-height: 50px; padding: .75rem .9rem;
	background: var(--ek-paper); color: var(--ek-ink);
	border: 1px solid var(--ek-taupe-ui); border-radius: var(--ek-radius);
	font-size: 1.0625rem; line-height: 1.4; -webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.ek-form textarea { min-height: 9rem; resize: vertical; }
.ek-form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.ek-form :is(input, select, textarea):hover { border-color: var(--ek-ink); }
.ek-form :is(input, select, textarea):focus, .ek-filters input:focus { outline: none; border-color: var(--ek-ink); box-shadow: 0 0 0 1px var(--ek-ink); }
.ek-form [aria-invalid="true"] { border-color: var(--ek-danger); box-shadow: 0 0 0 1px var(--ek-danger); }
.ek-field__hint { font-size: .875rem; color: var(--ek-muted); margin: 0; }
.ek-field__error { display: flex; gap: .4rem; align-items: flex-start; font-size: .9rem; color: var(--ek-danger); margin: 0; font-weight: 500; }
.ek-field__error[hidden] { display: none; }
.ek-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ek-alert { padding: 1rem 1.15rem; border-left: 2px solid var(--ek-ink); background: var(--ek-stone-soft); margin: 0 0 var(--ek-space-m); }
.ek-alert--success { border-left-color: var(--ek-success); }
.ek-alert--error { border-left-color: var(--ek-danger); }
.ek-alert p { margin: 0; }
.ek-alert:focus { outline: none; }

/* ------------------------------------------------------------------ contact */
.ek-contact { display: grid; gap: var(--ek-space-xl); }
.ek-contact__details { display: grid; gap: var(--ek-space-m); align-content: start; }
.ek-contact__item { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; }
.ek-contact__item .ek-icon { margin-top: .25rem; }
.ek-contact__item h2 { font-family: var(--ek-sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ek-muted); margin: 0 0 .25rem; }
.ek-contact__item p, .ek-contact__item address { margin: 0; font-style: normal; }
.ek-contact__item a { word-break: break-word; }
.ek-hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.25rem; }
.ek-hours dt { color: var(--ek-text); }
.ek-hours dd { margin: 0; color: var(--ek-ink); }
.ek-contact__form { background: var(--ek-stone-soft); padding: var(--ek-space-l) var(--ek-space-m); }
@media (min-width: 56em) { .ek-contact { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--ek-space-2xl); } .ek-contact__form { padding: var(--ek-space-l); } }

/* ------------------------------------------------------------------ booking page */
.ek-booking { padding-bottom: var(--ek-space-2xl); }
.ek-booking__head { display: grid; gap: var(--ek-space-s); padding-block: var(--ek-space-l) var(--ek-space-m); }
.ek-booking__head h1 { font-size: var(--ek-step-3); margin: 0; }
.ek-booking__head p { margin: 0; color: var(--ek-muted); }
.ek-booking__returning { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; font-size: .9375rem; color: var(--ek-muted); }
.ek-booking__returning a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; color: var(--ek-ink); }
.ek-booking__grid { display: grid; gap: var(--ek-space-m); grid-template-areas: "aside" "form"; }
.ek-booking__form { grid-area: form; }
.ek-booking__aside { grid-area: aside; }
.ek-booking__form { min-width: 0; }
.ek-booking__aside details { background: var(--ek-stone); padding: 0 var(--ek-space-m); }
.ek-booking__aside summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 500; list-style: none; }
.ek-booking__aside summary::-webkit-details-marker { display: none; }
.ek-booking__aside summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; }
.ek-booking__aside details[open] summary::after { content: "\2013"; }
.ek-booking__aside .ek-booking__info { padding-bottom: var(--ek-space-m); font-size: .9375rem; }
.ek-booking__aside h2 { font-family: var(--ek-sans); font-size: 1rem; font-weight: 500; margin: var(--ek-space-s) 0 .3rem; }
.ek-booking__aside p { margin: 0 0 .6rem; }
/* The notes sit above the form at every size, so Booknetic's panel always has the full width. */
@media (min-width: 48em) {
	.ek-booking__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 var(--ek-space-l); }
	.ek-booking__note > :last-child { margin-bottom: 0; }
}


/* ------------------------------------------------------------------ reviews page */
.ek-review-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--ek-space-l); }
.ek-pager { display: flex; justify-content: center; gap: .75rem; margin-top: var(--ek-space-l); }

/* ------------------------------------------------------------------ misc */
.ek-after-s { margin-top: var(--ek-space-s); }
.ek-after-m { margin-top: var(--ek-space-m); }
.ek-after-l { margin-top: var(--ek-space-l); }
.ek-admin-hint { margin: .75rem 0 0; font-size: .8125rem; }
.ek-admin-hint p { display: inline-block; margin: 0 0 var(--ek-space-s); padding: .45rem .7rem; background: #fcf9e8; border: 1px dashed #dba617; color: #5c3c00; font-size: .875rem; }
.ek-admin-hint a { display: inline-block; padding: .35rem .6rem; background: #fcf9e8; border: 1px dashed #dba617; color: #5c3c00; text-decoration: none; }
/* Page not found: calm and centred; a large, pale "404" set in italic serif behind the
   heading as an editorial detail. With a photograph, text and image sit side by side. */
.ek-404 { padding-block: var(--ek-space-xl) var(--ek-space-2xl); overflow-x: clip; }
.ek-404__grid { display: grid; gap: var(--ek-space-xl); align-items: center; }
.ek-404__text { position: relative; isolation: isolate; max-width: 40rem; margin-inline: auto; text-align: center; }
.ek-404__num {
	margin: 0 0 -.3em; font-family: var(--ek-serif); font-style: italic; font-weight: 400;
	font-size: clamp(7rem, 4rem + 18vw, 15rem); line-height: .8; letter-spacing: -.02em;
	color: var(--ek-stone); user-select: none; position: relative; z-index: -1;
}
.ek-404__title { font-size: var(--ek-step-4); margin-bottom: .35em; text-wrap: balance; }
.ek-404 .ek-lead { margin-inline: auto; }
.ek-404 .ek-actions { justify-content: center; margin-top: var(--ek-space-l); }
.ek-404__links { margin-top: var(--ek-space-l); }
.ek-404__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.ek-404__links a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--ek-ink); text-decoration: none; border-bottom: 1px solid transparent; }
.ek-404__links a span { border-bottom: 1px solid var(--ek-nude-deep); padding-bottom: 1px; }
.ek-404__links a:hover span { border-bottom-color: var(--ek-ink); }
.ek-404__links .ek-icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ek-ease); }
.ek-404__links a:hover .ek-icon { transform: translateX(3px); }
.ek-404__search { margin: var(--ek-space-xl) auto 0; padding-top: var(--ek-space-m); border-top: 1px solid var(--ek-line); max-width: 30rem; }
.ek-404__search-label { margin: 0 0 .6rem; font-family: var(--ek-serif); font-style: italic; font-size: 1.1rem; color: var(--ek-muted); }
.ek-404__search .ek-search-form { display: flex; gap: .5rem; }
.ek-404__search .ek-input { flex: 1 1 auto; min-width: 0; }
.ek-404__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-top-left-radius: var(--ek-soft); }
@media (min-width: 56em) {
	.ek-404--media .ek-404__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--ek-space-2xl); }
	.ek-404--media .ek-404__text { text-align: left; margin-inline: 0; }
	.ek-404--media .ek-actions, .ek-404--media .ek-404__links ul { justify-content: flex-start; }
	.ek-404--media .ek-lead, .ek-404--media .ek-404__search { margin-inline: 0; }
	.ek-404__media { max-height: 80vh; }
}
.ek-center-block { margin-inline: auto; }
.ek-search-form { display: flex; gap: .5rem; max-width: 30rem; margin: var(--ek-space-m) auto 0; }
.ek-search-form input { flex: 1; }
.ek-postlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ek-space-l); }
.ek-postlist h2 { font-size: var(--ek-step-2); margin-bottom: .25rem; }
.ek-postlist h2 a { text-decoration: none; }
.ek-meta { font-size: .875rem; color: var(--ek-muted); }

/* ------------------------------------------------------------------ motion
   Content is visible by default. motion.js only hides elements that are below the
   fold, and only when GSAP has loaded and reduced motion is not requested. */
@media (prefers-reduced-motion: reduce) {
	*:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *)), *:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *))::before, *:not(:where([class^="ae-"], [class*=" ae-"], [class^="academy-"], [class*=" academy-"], [class*="booknetic"], [id*="booknetic"], [class*="bkntc"], [class^="ae-"] *, [class*=" ae-"] *, [class^="academy-"] *, [class*=" academy-"] *, [class*="booknetic"] *, [id*="booknetic"] *, [class*="bkntc"] *))::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Emma's own details (1.1): the soft corner, inset sheets, featured quotation,
   sign-off, captions, the hero entrance and small motion helpers.
   ========================================================================== */

/* The soft corner on selected photographs only. */
.ek-hero__media img, .ek-hero__placeholder,
.ek-split--overlap .ek-split__media img, .ek-split--overlap .ek-hero__placeholder,
.ek-page-hero__media img { border-top-left-radius: var(--ek-soft); }
.ek-page-hero__media::before { border-top-left-radius: var(--ek-soft); }

/* Captions from the Media Library, small and italic. */
.ek-caption { display: flex; align-items: baseline; gap: .5em; margin: .7rem 0 0; font-family: var(--ek-serif); font-style: italic; font-size: 1rem; line-height: 1.35; color: var(--ek-muted); }
.ek-caption::before { content: ""; flex: none; width: .35em; height: .35em; border-radius: 50%; background: var(--ek-nude-deep); transform: translateY(-.15em); }
.ek-hero__media .ek-caption { padding-inline: var(--ek-gutter); }
@media (min-width: 56em) { .ek-hero__media .ek-caption { padding-inline: 0; justify-content: flex-end; margin-top: 3.4rem; } }

/* Stone sections: full width with a soft corner on phones, inset sheets on larger screens. */
.ek-section--stone { border-top-left-radius: var(--ek-soft-m); }
@media (min-width: 64em) {
	.ek-section--stone, .ek-section--soft { margin-inline: clamp(1rem, 2.6vw, 2.75rem); border-top-left-radius: var(--ek-soft); }
	.ek-section--stone + .ek-section--stone, .ek-section--soft + .ek-section--soft { border-top-left-radius: 0; }
}

/* Featured review: one quotation set large, quieter ones beside it. */
.ek-voices { display: grid; gap: var(--ek-space-l); }
.ek-voice { position: relative; margin: 0; padding-top: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.ek-voice::before { content: "\201C"; position: absolute; top: -.2em; left: -.04em; font-family: var(--ek-serif); font-size: clamp(5rem, 3.5rem + 5vw, 8.5rem); line-height: 1; color: var(--ek-nude-deep); }
.ek-voice__text { margin: 0; font-family: var(--ek-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.5rem); line-height: 1.24; color: var(--ek-ink); max-width: 30ch; }
.ek-voice__text p { margin: 0 0 .5em; }
.ek-voice__text > :last-child { margin-bottom: 0; }
.ek-voice__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: var(--ek-space-m); font-size: .9375rem; }
.ek-voice__name { font-weight: 500; color: var(--ek-ink); }
.ek-reviews--quiet { gap: 0; }
.ek-review--quiet { padding: var(--ek-space-m) 0; background: none; border: 0; border-top: 1px solid var(--ek-taupe); }
.ek-section--stone .ek-review--quiet { border-color: var(--ek-taupe); }
.ek-review--quiet::before { content: none; }
.ek-review--quiet .ek-review__text { font-family: var(--ek-sans); font-size: 1rem; line-height: 1.65; color: var(--ek-text); }
.ek-review--quiet .ek-review__text--long { -webkit-line-clamp: 6; }
.ek-review--quiet .ek-review__foot { border-top: 0; padding-top: .25rem; }
@media (max-width: 39.99em) {
	.ek-rail .ek-reviews--quiet { gap: var(--ek-space-m); }
}
@media (min-width: 40em) and (max-width: 63.99em) { .ek-reviews--quiet { column-gap: var(--ek-space-l); } }
@media (min-width: 64em) {
	.ek-voices { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--ek-space-2xl); align-items: start; }
	.ek-voices--single { grid-template-columns: minmax(0, 9fr); }
	.ek-reviews--quiet { grid-template-columns: 1fr; }
}

/* Meet Emma: the portrait leads, the text panel overlaps it, and a typeset sign-off closes it. */
.ek-signoff { display: flex; align-items: baseline; gap: .4em; margin: var(--ek-space-m) 0 var(--ek-space-s); font-family: var(--ek-serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; color: var(--ek-ink); }
.ek-signoff::before { content: "\2014"; color: var(--ek-nude-deep); font-style: normal; }
@media (min-width: 56em) {
	.ek-split--overlap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; }
	.ek-split--overlap .ek-split__media::before { content: none; }
	.ek-split--overlap .ek-split__body {
		position: relative; z-index: 1; margin-left: calc(-1 * var(--ek-space-2xl)); padding: var(--ek-space-xl);
		background: var(--ek-paper); border-top-left-radius: var(--ek-soft-m); box-shadow: 0 40px 70px -55px rgba(43, 38, 35, .4);
	}
}

/* Academy menu: category columns follow the panel by a few milliseconds each. */
@media (prefers-reduced-motion: no-preference) {
	.ek-has-mega.is-open .ek-mega__intro, .ek-has-mega.is-open .ek-mega__group { animation: ek-rise .4s var(--ek-ease) both; }
	.ek-has-mega.is-open .ek-mega__group:nth-child(1) { animation-delay: .03s; }
	.ek-has-mega.is-open .ek-mega__group:nth-child(2) { animation-delay: .06s; }
	.ek-has-mega.is-open .ek-mega__group:nth-child(3) { animation-delay: .09s; }
	.ek-has-mega.is-open .ek-mega__group:nth-child(n+4) { animation-delay: .12s; }
}

/* Expandable information eases open where the browser supports it. */
@media (prefers-reduced-motion: no-preference) {
	.ek-accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ek-ease), content-visibility .35s allow-discrete; }
	.ek-accordion details[open]::details-content { block-size: auto; }
	.ek-accordion { interpolate-size: allow-keywords; }
}
.ek-accordion summary { transition: color .2s; }
.ek-accordion summary:hover { color: var(--ek-muted); }

/* Hero entrance: label, the two headline lines, introduction and buttons in sequence,
   and the portrait's corner softening. CSS, so it starts with the first paint and
   never waits for a script. About 0.9s in all. */
@keyframes ek-rise { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ek-fade { from { opacity: .01; } to { opacity: 1; } }
@keyframes ek-soften {
	from { clip-path: inset(5% 0 0 5% round 0 0 0 0); transform: scale(1.025); }
	to { clip-path: inset(0 0 0 0 round var(--ek-soft) 0 0 0); transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
	html.ek-js .ek-hero .ek-eyebrow { animation: ek-fade .5s var(--ek-ease) both; }
	html.ek-js .ek-hero__title span { display: block; animation: ek-rise .7s var(--ek-ease) both; }
	html.ek-js .ek-hero__title span:nth-of-type(1) { animation-delay: .06s; }
	html.ek-js .ek-hero__title span:nth-of-type(2) { animation-delay: .17s; }
	html.ek-js .ek-hero__intro { animation: ek-rise .6s .27s var(--ek-ease) both; }
	html.ek-js .ek-hero__more { animation: ek-rise .6s .32s var(--ek-ease) both; }
	html.ek-js .ek-hero__actions { animation: ek-rise .6s .38s var(--ek-ease) both; }
	html.ek-js .ek-hero__media img, html.ek-js .ek-hero__placeholder { animation: ek-soften 1.1s .05s var(--ek-ease) both; }
	html.ek-js .ek-hero__media::before { animation: ek-fade .9s .25s var(--ek-ease) both; }
}

/* Page not found: the text settles in with CSS (first paint, like the hero); GSAP then
   lifts the pale "404" into place (motion.js). Without motion, everything is static. */
@media (prefers-reduced-motion: no-preference) {
	html.ek-js .ek-404__text > :not(.ek-404__num) { animation: ek-rise .6s var(--ek-ease) both; }
	html.ek-js .ek-404__text > :nth-child(2) { animation-delay: .05s; }
	html.ek-js .ek-404__text > :nth-child(3) { animation-delay: .1s; }
	html.ek-js .ek-404__text > :nth-child(4) { animation-delay: .16s; }
	html.ek-js .ek-404__text > :nth-child(n+5) { animation-delay: .22s; }
	html.ek-js .ek-404__media img { animation: ek-soften 1.1s .05s var(--ek-ease) both; }
	html.ek-js .ek-404__num { transform: translateY(16%); }
}

/* Dividers drawn by motion.js (only when motion runs; otherwise the plain border stays). */
.ek-motion .ek-draw { border-top-color: transparent; background: linear-gradient(var(--ek-taupe), var(--ek-taupe)) left top / 0 1px no-repeat; transition: background-size .9s var(--ek-ease); }
.ek-motion .ek-draw.is-drawn { background-size: 100% 1px; }

/* ------------------------------------------------------------------ experience at a glance */
/* A quiet line of facts: figure in italic serif, description in small text. Two
   columns on phones, one row from tablets. Not a strip of large statistics. */
.ek-creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ek-space-s) var(--ek-space-m); margin: 0; padding: var(--ek-space-m) 0 0; list-style: none; border-top: 1px solid var(--ek-line); }
.ek-creds li { display: grid; gap: .1rem; align-content: start; min-width: 0; }
.ek-creds strong { font-family: var(--ek-serif); font-style: italic; font-weight: 500; font-size: var(--ek-step-2); line-height: 1.1; color: var(--ek-ink); }
.ek-creds span { font-size: .9375rem; line-height: 1.4; color: var(--ek-muted); }
@media (min-width: 48em) {
	.ek-creds { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
	.ek-creds li + li { padding-left: var(--ek-space-m); border-left: 1px solid var(--ek-line); }
}
.ek-creds--hero { margin-top: var(--ek-space-xl); }
.ek-creds-wrap { margin-top: calc(-1 * var(--ek-space-m)); margin-bottom: var(--ek-space-l); }

.ek-link { color: var(--ek-ink); text-decoration: underline; text-decoration-color: var(--ek-nude-deep); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.ek-link:hover { text-decoration-color: var(--ek-ink); }

/* ------------------------------------------------------------------ accreditation and awards */
.ek-accr { display: grid; gap: var(--ek-space-l); }
@media (min-width: 56em) { .ek-accr { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ek-space-2xl); align-items: start; } }
.ek-accr__intro > * + * { margin-top: .9rem; }
.ek-accr__intro p { max-width: 52ch; }
.ek-accr__body a { color: var(--ek-ink); text-underline-offset: .2em; }
.ek-accr__label { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); }
.ek-accr__courses { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.ek-accr__courses a { color: var(--ek-ink); text-underline-offset: .2em; }
.ek-accr__sub { font-family: var(--ek-sans); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); margin-top: var(--ek-space-l) !important; }
.ek-section--stone .ek-accordion { border-top-color: var(--ek-taupe-ui); }
.ek-awards { margin: .5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ek-line); }
.ek-awards li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .1rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--ek-line); }
.ek-awards__year { grid-row: span 2; font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-1); color: var(--ek-muted); line-height: 1.2; }
.ek-awards__name { font-weight: 500; color: var(--ek-ink); }
.ek-awards__name a { color: inherit; text-underline-offset: .2em; }
.ek-awards__org { font-size: .9375rem; color: var(--ek-muted); }

.ek-course-emma { font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-2); line-height: 1.25; color: var(--ek-ink); margin: 0 0 .75rem; max-width: 30ch; }
.ek-course-cert a { color: var(--ek-ink); text-underline-offset: .2em; }

/* ------------------------------------------------------------------ About Emma story */
.ek-story .is-style-lead { font-size: var(--ek-step-1); line-height: 1.6; color: var(--ek-ink); }
.ek-story .ek-story-feature { margin-block: var(--ek-space-l) !important; padding: var(--ek-space-l) var(--ek-space-m) !important; border-top-left-radius: var(--ek-soft-m); }
.ek-story .ek-story-feature h3 { font-family: var(--ek-serif); font-style: italic; font-weight: 500; font-size: var(--ek-step-2); line-height: 1.2; margin-top: 0; }

/* ------------------------------------------------------------------ blog */
.ek-section--flush-top { padding-top: 0; }
.ek-blog__head h1 { margin-bottom: .3em; }
.ek-blog-nav { margin-top: var(--ek-space-l); }
.ek-blog-nav .ek-chips { list-style: none; }
.ek-chip-link {
	display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; white-space: nowrap;
	border: 1px solid var(--ek-taupe-ui); border-radius: 999px; font-size: .9375rem; line-height: 1.2; background: var(--ek-paper); color: var(--ek-ink); text-decoration: none;
	transition: background-color .2s, border-color .2s;
}
.ek-chip-link:hover { border-color: var(--ek-ink); }
.ek-chip-link[aria-current="page"] { background: var(--ek-nude); border-color: var(--ek-ink); font-weight: 500; }
.ek-chip-link[aria-current="page"]::before { content: ""; width: .45em; height: .45em; margin-right: .55em; border-radius: 50%; background: var(--ek-ink); }

.ek-post-grid { display: grid; gap: var(--ek-space-xl) var(--ek-space-l); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .ek-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ek-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ek-post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ek-post-grid > li { min-width: 0; }

.ek-post-card { position: relative; display: grid; gap: var(--ek-space-s); align-content: start; }
.ek-post-card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--ek-stone); border-top-left-radius: var(--ek-soft-s); transition: border-radius .6s var(--ek-ease); }
.ek-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ek-ease); }
.ek-post-card__media--empty { display: grid; place-items: center; }
.ek-post-card__media--empty .ek-logo { width: 34%; opacity: .5; }
.ek-post-card:hover .ek-post-card__media { border-top-left-radius: var(--ek-soft-m); }
.ek-post-card:hover .ek-post-card__media img { transform: scale(1.015); }
.ek-post-card__body { display: grid; gap: .5rem; min-width: 0; }
.ek-post-card__cat { margin: 0; font-family: var(--ek-serif); font-style: italic; font-size: 1.05rem; color: var(--ek-muted); }
.ek-post-card__title { margin: 0; font-size: var(--ek-step-2); line-height: 1.15; }
.ek-post-card__title a { color: inherit; text-decoration: none; }
.ek-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.ek-post-card__title a:focus-visible { outline: none; }
.ek-post-card:has(.ek-post-card__title a:focus-visible) { box-shadow: var(--ek-focus); }
.ek-post-card__excerpt { margin: 0; color: var(--ek-muted); line-height: 1.6; }
.ek-post-card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; color: var(--ek-muted); }

.ek-post-card--feature { margin-bottom: var(--ek-space-xl); padding-bottom: var(--ek-space-xl); border-bottom: 1px solid var(--ek-line); }
.ek-post-card--feature .ek-post-card__media { border-top-left-radius: var(--ek-soft-m); }
.ek-post-card--feature:hover .ek-post-card__media { border-top-left-radius: var(--ek-soft); }
.ek-post-card--feature .ek-post-card__title { font-size: var(--ek-step-3); }
@media (min-width: 56em) {
	.ek-post-card--feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--ek-space-xl); align-items: center; }
	.ek-post-card--feature .ek-post-card__media { aspect-ratio: 4 / 3; }
}

.ek-pagination { margin-top: var(--ek-space-xl); padding-top: var(--ek-space-m); border-top: 1px solid var(--ek-line); }
.ek-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ek-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-width: 44px; min-height: 44px; padding: 0 .75rem; color: var(--ek-ink); text-decoration: none; border: 1px solid transparent; }
.ek-pagination a.page-numbers:hover { border-color: var(--ek-taupe-ui); }
.ek-pagination .page-numbers.current { background: var(--ek-nude); border-top-left-radius: var(--ek-soft-s); font-weight: 500; }
.ek-pagination .dots { color: var(--ek-muted); }

/* Articles: one comfortable reading column; wide and full-width blocks break out. */
.ek-article-page { overflow-x: clip; }
.ek-article__head { padding-block: var(--ek-space-l) var(--ek-space-l); }
.ek-article__head .ek-breadcrumbs { margin-bottom: var(--ek-space-l); }
.ek-article__intro, .ek-article__body, .ek-article__foot { max-width: 720px; margin-inline: auto; }
.ek-article__intro .ek-eyebrow a { color: inherit; text-decoration: none; }
.ek-article__intro .ek-eyebrow a:hover { text-decoration: underline; }
.ek-article__title { font-size: var(--ek-step-4); margin-bottom: .35em; text-wrap: balance; }
.ek-article__intro .ek-lead { max-width: none; margin-bottom: 1rem; }
.ek-article__meta { margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; font-size: .9375rem; color: var(--ek-muted); }
.ek-article__media { margin-block: 0 var(--ek-space-xl); }
.ek-article__media img { width: 100%; max-height: 78vh; aspect-ratio: 3 / 2; object-fit: cover; border-top-left-radius: var(--ek-soft); }
.ek-article__media .ek-caption { margin-top: .6rem; }
.ek-article__body { font-size: var(--ek-step-0); line-height: 1.75; }
.ek-article__body > h2 { font-size: var(--ek-step-3); }
.ek-article__body > h3 { font-size: var(--ek-step-2); }
.ek-article__body a { color: var(--ek-ink); text-decoration-color: var(--ek-nude-deep); text-underline-offset: .2em; }
.ek-article__body a:hover { text-decoration-color: var(--ek-ink); }
.ek-article__body .alignwide { width: min(var(--ek-max), calc(100vw - 2 * var(--ek-gutter))); max-width: none; margin-inline: calc(50% - min(var(--ek-max), calc(100vw - 2 * var(--ek-gutter))) / 2); }
.ek-article__body .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.ek-article__body .alignleft { float: left; margin: .3em var(--ek-space-m) var(--ek-space-s) 0; max-width: 50%; }
.ek-article__body .alignright { float: right; margin: .3em 0 var(--ek-space-s) var(--ek-space-m); max-width: 50%; }
.ek-article__body .aligncenter { margin-inline: auto; }
.ek-article__body img { height: auto; }
.ek-article__body .wp-block-image img { border-top-left-radius: var(--ek-soft-s); }
.ek-article__body .wp-block-gallery { gap: var(--ek-space-s); }
.ek-article__body .wp-block-pullquote { margin-block: var(--ek-space-xl); padding: var(--ek-space-l) 0; border-block: 1px solid var(--ek-line); text-align: left; }
.ek-article__body .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.ek-article__body .wp-block-pullquote p { font-family: var(--ek-serif); font-style: italic; font-size: var(--ek-step-3); line-height: 1.2; color: var(--ek-ink); }
.ek-article__body .wp-block-separator { border: 0; border-top: 1px solid var(--ek-line); margin-block: var(--ek-space-l); }
.ek-article__body .wp-block-separator.is-style-dots::before { color: var(--ek-nude-deep); }
.ek-article__body .wp-block-embed iframe { max-width: 100%; }
.ek-article__body .wp-block-table { overflow-x: auto; }
.ek-article__body .wp-block-table table { border-top: 1px solid var(--ek-ink); }
.ek-article__body .wp-block-table th, .ek-article__body .wp-block-table td { border: 0; border-bottom: 1px solid var(--ek-line); padding: .7rem .75rem .7rem 0; }
.ek-article__body .wp-block-table thead { border: 0; }
.ek-article__body .wp-block-table th { font-weight: 500; color: var(--ek-ink); }
.ek-article__body pre, .ek-article__body code { font-size: .9em; background: var(--ek-stone-soft); }
.ek-article__body pre { padding: var(--ek-space-s); overflow-x: auto; }
.ek-article__body .wp-block-details { border-block: 1px solid var(--ek-line); padding-block: .75rem; }
.ek-article__body .wp-block-details summary { cursor: pointer; font-weight: 500; }
.ek-article__body .wp-block-columns { gap: var(--ek-space-m); }
.ek-article__body .has-drop-cap:not(:focus)::first-letter { font-family: var(--ek-serif); font-size: 4.2em; line-height: .8; margin: .06em .1em 0 0; color: var(--ek-ink); }
.ek-article__body::after { content: ""; display: table; clear: both; }
.ek-article__foot { margin-top: var(--ek-space-xl); padding-top: var(--ek-space-m); border-top: 1px solid var(--ek-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ek-space-s); align-items: center; }
.ek-article__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ek-article__tags a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--ek-line); border-radius: 999px; font-size: .875rem; color: var(--ek-text); text-decoration: none; }
.ek-article__tags a:hover { border-color: var(--ek-ink); }
.ek-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--ek-ink); text-decoration: none; font-weight: 500; }
.ek-back .ek-icon { width: 1.2em; height: 1.2em; transition: transform .3s var(--ek-ease); }
.ek-back:hover .ek-icon { transform: translateX(-4px); }
.ek-article__pages { margin-top: var(--ek-space-l); display: flex; gap: .5rem; }
.ek-article__next { display: grid; gap: var(--ek-space-s); max-width: 960px; margin-inline: auto; }
@media (min-width: 40em) { .ek-article__next { grid-template-columns: 1fr 1fr; } }
.ek-article__next a { position: relative; display: grid; gap: .25rem; padding: var(--ek-space-m); padding-right: 3.5rem; background: var(--ek-stone-soft); color: var(--ek-ink); text-decoration: none; transition: border-radius .5s var(--ek-ease), background-color .3s; }
.ek-article__next a:hover { border-top-left-radius: var(--ek-soft-m); background: var(--ek-stone); }
.ek-article__next .ek-eyebrow { margin: 0; }
.ek-article__next strong { font-family: var(--ek-serif); font-weight: 500; font-size: var(--ek-step-2); line-height: 1.15; }
.ek-article__next .ek-icon { position: absolute; right: var(--ek-space-m); top: 50%; transform: translateY(-50%); width: 1.4em; height: 1.4em; transition: transform .3s var(--ek-ease); }
.ek-article__next a:hover .ek-icon { transform: translate(4px, -50%); }

/* Block buttons follow the site's sentence-case buttons. */
.ek-prose .wp-block-button__link { letter-spacing: .01em; text-transform: none; font-size: .9375rem; border-top-left-radius: var(--ek-soft-s); }

/* ------------------------------------------------------------------ print */
@media print {
	.ek-header, .ek-footer, .ek-mobile-bar, .ek-course-bar, .ek-notice, .ek-filters { display: none !important; }
	body { font-size: 11pt; }
	a { text-decoration: underline; }
}
