/* ==========================================================================
   GeriUK theme — calm, high-contrast, large-type design for older readers.
   Contrast: body text 15:1, muted text ≥ 8:1, brand on white 7.4:1 (all AAA).
   ========================================================================== */

:root {
	--gk-bg: #faf7f2;          /* warm paper */
	--gk-surface: #ffffff;
	--gk-alt: #f1ece3;         /* alternating band */
	--gk-ink: #16202e;
	--gk-muted: #3d4757;
	--gk-line: #d8d0c2;
	--gk-brand: #0b5d56;       /* deep teal */
	--gk-brand-dark: #07433e;
	--gk-brand-tint: #e2efec;
	--gk-accent: #a3461a;      /* terracotta, rules and small marks */
	--gk-focus: #ffd24d;

	--gk-font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--gk-head: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

	--gk-size: 1.1875rem;      /* 19px body */
	--gk-radius: .75rem;
	--gk-wrap: 74rem;
	--gk-gap: clamp(1rem, 2.5vw, 1.75rem);
	--gk-section: clamp(3rem, 7vw, 5.5rem);
}

html.gk-text-large { --gk-size: 1.4375rem; } /* 23px */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--gk-bg);
	color: var(--gk-ink);
	font-family: var(--gk-font);
	font-size: var(--gk-size);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	font-feature-settings: "ss04"; /* Inter: distinct I, l and 1 (no slashed zero) */
}

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

h1, h2, h3, h4 { font-family: var(--gk-head); font-weight: 700; line-height: 1.25; color: var(--gk-ink); margin: 0 0 .6em; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 1.6rem + 2.8vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; }  /* 38px phone → 58px desktop */
h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem); line-height: 1.15; letter-spacing: -.015em; } /* 30px → 42px */
h3 { font-size: 1.4em; letter-spacing: -.005em; } /* 26.6px at 19px body */
h4 { font-size: 1.15em; line-height: 1.3; }
p, ul, ol, dl { margin: 0 0 1em; }
strong { font-weight: 700; }

a { color: var(--gk-brand); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--gk-brand-dark); text-decoration-thickness: .14em; }

:focus-visible { outline: 3px solid var(--gk-ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--gk-focus); border-radius: 4px; }
.gk-main:focus { outline: none; }

.gk-wrap { width: 100%; max-width: var(--gk-wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.gk-skip { position: absolute; left: 1rem; top: -10rem; z-index: 100; background: var(--gk-ink); color: #fff; padding: .8rem 1.2rem; border-radius: .5rem; font-weight: 700; }
.gk-skip:focus { top: 1rem; color: #fff; }

/* ---------- Top bar ---------- */
.gk-topbar { background: var(--gk-brand-dark); color: #fff; font-size: .9em; }
.gk-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.9rem; }
.gk-topbar__note { margin: 0; }
.gk-textsize { display: inline-flex; align-items: center; gap: .15rem; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 2rem; padding: .25rem .9rem; font: inherit; font-weight: 700; cursor: pointer; min-height: 2.4rem; }
.gk-textsize:hover { border-color: #fff; }
.gk-textsize[aria-pressed="true"] { background: #fff; color: var(--gk-brand-dark); }
.gk-textsize__a { font-family: var(--gk-head); font-size: .9em; }
.gk-textsize__a--big { font-size: 1.25em; margin-right: .45rem; }
@media (max-width: 40rem) { .gk-topbar__note { display: none; } .gk-topbar__inner { justify-content: flex-end; } }

/* ---------- Header ---------- */
.gk-header { background: var(--gk-surface); border-bottom: 1px solid var(--gk-line); position: relative; z-index: 20; }
.gk-header__inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; align-items: center; gap: .5rem 1.5rem; padding-top: 1rem; padding-bottom: 0; }
.gk-brand { grid-area: brand; display: flex; flex-direction: column; text-decoration: none; color: var(--gk-ink); line-height: 1.15; }
.gk-brand__name { font-family: var(--gk-head); font-weight: 600; font-size: 1.55em; }
.gk-brand__line { color: var(--gk-muted); font-size: .85em; margin-top: .2rem; }
.gk-brand:hover { color: var(--gk-ink); }
.gk-header__actions { grid-area: actions; display: flex; align-items: center; gap: 1.25rem; }
.gk-header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.05em; text-decoration: none; color: var(--gk-ink); }
.gk-header__phone .gk-icon { color: var(--gk-brand); }
.gk-header__phone:hover { color: var(--gk-brand); }

.gk-nav { grid-area: nav; }
.gk-nav__toggle { display: none; }
.gk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 0; }
.gk-nav__list a { display: block; padding: .85rem 1rem; color: var(--gk-ink); text-decoration: none; font-weight: 700; border-bottom: 4px solid transparent; }
.gk-nav__list li:first-child a { padding-left: 0; }
.gk-nav__list a:hover { color: var(--gk-brand); border-bottom-color: var(--gk-brand-tint); }
.gk-nav__list a[aria-current="page"] { border-bottom-color: var(--gk-accent); }
.gk-nav .gk-nav__book { display: none; }

/* Desktop: the disclosure is kept open by site.js and its summary hidden. */
@media (min-width: 64.01rem) {
	.gk-nav > summary { display: none; }
}

@media (max-width: 64rem) {
	.gk-header__inner { grid-template-columns: 1fr auto; grid-template-areas: "brand nav" "actions actions"; padding-bottom: 1rem; }
	.gk-header__actions { justify-content: space-between; gap: .75rem; }
	.gk-header__book { flex: 1; }
	.gk-nav { justify-self: end; }
	.gk-nav__toggle { display: inline-flex; align-items: center; gap: .6rem; list-style: none; cursor: pointer; font-weight: 700; padding: .65rem 1rem; border: 2px solid var(--gk-ink); border-radius: .6rem; min-height: 3rem; }
	.gk-nav__toggle::-webkit-details-marker { display: none; }
	.gk-nav__bars, .gk-nav__bars::before, .gk-nav__bars::after { display: block; width: 1.3rem; height: 2px; background: var(--gk-ink); position: relative; content: ""; }
	.gk-nav__bars::before { position: absolute; top: -6px; } .gk-nav__bars::after { position: absolute; top: 6px; }
	.gk-nav[open] .gk-nav__bars { background: transparent; }
	.gk-nav[open] .gk-nav__bars::before { top: 0; transform: rotate(45deg); }
	.gk-nav[open] .gk-nav__bars::after { top: 0; transform: rotate(-45deg); }
	.gk-nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--gk-surface); border-bottom: 3px solid var(--gk-brand); box-shadow: 0 20px 40px rgba(0,0,0,.15); padding: .5rem clamp(1rem, 4vw, 2rem) 1.5rem; }
	.gk-nav__list { flex-direction: column; }
	.gk-nav__list a, .gk-nav__list li:first-child a { padding: 1rem 0; border-bottom: 1px solid var(--gk-line); }
	.gk-nav__list a[aria-current="page"] { border-bottom-color: var(--gk-line); box-shadow: inset 4px 0 0 var(--gk-accent); padding-left: .9rem; }
	.gk-nav .gk-nav__book { display: flex; margin-top: 1.25rem; }
}
@media (max-width: 30rem) {
	.gk-header__phone span .gk-visually-muted { display: none; }
	.gk-header__book { font-size: .95em; padding-left: .8rem; padding-right: .8rem; }
}


/* ---------- Brand with logo, phone number in top bar on phones (0.4.8) ---------- */
.gk-topbar__phone { display: none; align-items: center; gap: .4rem; color: #fff; font-weight: 700; text-decoration: none; }
.gk-topbar__phone .gk-icon { width: 1.1em; height: 1.1em; }
.gk-brand { flex-direction: row; align-items: center; gap: .9rem; }
.gk-brand__logo { width: 7.125rem; height: 7.125rem; flex: none; display: block; } /* 0.4.16: x1.5 on desktop (was 4.75rem) */
.gk-brand__text { display: flex; flex-direction: column; min-width: 0; }
.gk-brand__name { font-weight: 700; font-size: clamp(1.15em, .7em + 1.15vw, 1.5em); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.gk-brand__line { margin-top: .3rem; }
@media (max-width: 64rem) { .gk-brand__logo { width: 3.75rem; height: 3.75rem; } }
@media (max-width: 30rem) {
	.gk-header__inner { grid-template-areas: "brand brand" "nav actions"; grid-template-columns: auto 1fr; }
	.gk-nav { justify-self: start; }
	.gk-brand { gap: .7rem; }
	.gk-brand__logo { width: 3.4rem; height: 3.4rem; }
	.gk-brand__name { font-size: 1.1em; }
	.gk-brand__line { font-size: .8em; }
	.gk-header__actions .gk-header__phone { display: none; }
	.gk-header__actions { min-width: 0; }
	.gk-header__book { white-space: nowrap; font-size: .88em; padding-left: .7rem; padding-right: .7rem; }
	.gk-header__inner { column-gap: .75rem; }
	.gk-topbar__phone { display: inline-flex; }
	.gk-topbar__inner { justify-content: space-between; }
}


/* ---------- Buttons ---------- */
.gk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .7rem 1.4rem; border-radius: .65rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; text-align: center; cursor: pointer; }
.gk-btn--lg { min-height: 3.75rem; padding: .9rem 1.7rem; font-size: 1.05em; }
.gk-btn--primary { background: var(--gk-brand); color: #fff; }
.gk-btn--primary:hover { background: var(--gk-brand-dark); color: #fff; }
.gk-btn--outline { background: var(--gk-surface); color: var(--gk-ink); border-color: var(--gk-ink); }
.gk-btn--outline:hover { background: var(--gk-ink); color: #fff; }
.gk-btn--outline .gk-icon { color: var(--gk-brand); }
.gk-btn--outline:hover .gk-icon { color: #fff; }
.gk-btn--light { background: #fff; color: var(--gk-brand-dark); }
.gk-btn--light:hover { background: var(--gk-brand-tint); color: var(--gk-brand-dark); }
.gk-btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.8); }
.gk-btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.gk-btn .gk-icon { width: 1.35em; height: 1.35em; flex: none; }
.gk-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.75rem 0; }
.gk-actions--center { justify-content: center; margin-top: 2.5rem; }
@media (max-width: 30rem) { .gk-actions .gk-btn { width: 100%; } }

.gk-link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.gk-link-arrow .gk-icon { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.gk-link-arrow:hover .gk-icon { transform: translateX(3px); }

/* ---------- Common text blocks ---------- */
.gk-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gk-accent); margin-bottom: .9rem; }
.gk-eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--gk-accent); border-radius: 2px; }
.gk-lede { font-size: 1.12em; line-height: 1.6; max-width: 40em; }
.gk-intro { max-width: 44em; font-size: 1.05em; }
.gk-h-small { font-size: 1.45rem; }
.gk-visually-muted { font-weight: 400; }

.gk-section { padding: var(--gk-section) 0; }
.gk-section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.gk-section--alt { background: var(--gk-alt); }

/* ---------- Hero ---------- */
.gk-hero { background: var(--gk-surface); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--gk-line); }
.gk-hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gk-hero__grid--page { align-items: start; }
.gk-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.gk-hero__grid--solo .gk-hero__text { max-width: 50rem; }
.gk-hero h1 { max-width: 18ch; }
.gk-hero--page h1 { max-width: 22ch; }
.gk-hero--simple { padding-bottom: 2rem; }
.gk-hero--simple h1 { max-width: 30ch; margin-bottom: .3em; }
@media (max-width: 56rem) { .gk-hero__grid { grid-template-columns: 1fr; } }

.gk-hero__figure { margin: 0; position: relative; }
.gk-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 1.25rem 1.25rem 1.25rem 5rem; overflow: hidden; background: linear-gradient(160deg, var(--gk-brand-tint), #cfe3de); box-shadow: 0 2px 0 var(--gk-line); }
.gk-portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--gk-accent); }
.gk-portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.gk-hero__caption { position: relative; margin: -2.5rem 0 0 1.5rem; background: var(--gk-surface); border: 1px solid var(--gk-line); border-left: 5px solid var(--gk-brand); border-radius: .6rem; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .15rem; max-width: 22rem; box-shadow: 0 10px 30px rgba(22,32,46,.08); }
.gk-hero__caption strong { font-family: var(--gk-head); font-size: 1.25em; }
.gk-hero__caption span { color: var(--gk-muted); font-size: .92em; line-height: 1.4; }
.gk-hero__creds { font-size: .85em !important; }
@media (max-width: 56rem) { .gk-hero__figure { max-width: 26rem; } }

.gk-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; color: var(--gk-muted); font-size: .95em; }
.gk-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.gk-trust .gk-icon { color: var(--gk-brand); flex: none; }
.gk-trust a { color: inherit; }

.gk-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.75rem; font-size: .92em; color: var(--gk-muted); }
.gk-breadcrumb li + li::before { content: "›"; margin-right: .4rem; }
.gk-meta { color: var(--gk-muted); }

/* ---------- Cards ---------- */
.gk-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gk-gap); }
.gk-cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.gk-cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.gk-cards--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.gk-card { position: relative; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: var(--gk-radius); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.gk-card h3, .gk-card__title { font-size: 1.25em; margin-bottom: .45em; }
.gk-card p:last-child { margin-bottom: 0; }
.gk-card__icon { display: inline-flex; width: 3.1rem; height: 3.1rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--gk-brand-tint); color: var(--gk-brand); margin-bottom: 1rem; }
.gk-card__icon .gk-icon { width: 1.6rem; height: 1.6rem; }
.gk-card--way .gk-link-arrow { margin-top: auto; }
.gk-price { color: var(--gk-ink); background: var(--gk-bg); border-left: 4px solid var(--gk-accent); padding: .55rem .8rem; border-radius: 0 .4rem .4rem 0; font-size: .95em; }
.gk-card__link { color: var(--gk-ink); text-decoration: none; }
.gk-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--gk-radius); }
.gk-card__link:hover { color: var(--gk-brand); text-decoration: underline; }
.gk-card--service { transition: border-color .15s ease, box-shadow .15s ease; }
.gk-card--service:hover { border-color: var(--gk-brand); box-shadow: 0 8px 24px rgba(11,93,86,.12); }
.gk-card--service:focus-within { border-color: var(--gk-brand); }
.gk-card--feature { background: var(--gk-brand); border-color: var(--gk-brand); color: #fff; grid-column: span 2; }
.gk-card--feature .gk-card__link, .gk-card--feature h3 { color: #fff; }
.gk-card--feature .gk-card__icon { background: rgba(255,255,255,.15); color: #fff; }
.gk-card--feature .gk-price { background: rgba(0,0,0,.18); color: #fff; border-left-color: #f3b58f; }
.gk-card--feature:hover { box-shadow: 0 10px 28px rgba(7,67,62,.3); }
@media (max-width: 40rem) { .gk-card--feature { grid-column: auto; } }
.gk-card--location h3 { font-size: 1.15em; }
.gk-card--location a[href^="tel"] { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.gk-card--location .gk-icon { width: 1.1em; height: 1.1em; }
.gk-card__address { color: var(--gk-muted); }

/* ---------- CGA split + domains ---------- */
.gk-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 56rem) { .gk-split { grid-template-columns: 1fr; } }
.gk-split__text > :last-child { margin-bottom: 0; }
.gk-split--fees { grid-template-columns: 1fr; gap: 2rem; }
.gk-split--fees .gk-split__text { max-width: 46rem; }
.gk-domains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; counter-reset: dom; }
.gk-domains li { display: flex; align-items: center; gap: .8rem; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .6rem; padding: 1rem 1.1rem; font-weight: 700; line-height: 1.3; }
.gk-domains .gk-icon { flex: none; width: 1.8rem; height: 1.8rem; color: var(--gk-brand); }
@media (max-width: 30rem) { .gk-domains { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.gk-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--gk-gap); counter-reset: step; }
.gk-step { counter-increment: step; border-top: 4px solid var(--gk-brand); padding-top: 1.25rem; }
.gk-step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--gk-head); font-size: 2.2rem; color: var(--gk-accent); line-height: 1; margin-bottom: .6rem; }
.gk-step h3 { font-size: 1.2em; }

/* ---------- Timeline (memory page) ---------- */
.gk-timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: tl; }
.gk-timeline__item { counter-increment: tl; position: relative; padding: 0 0 2.25rem 4.5rem; max-width: 50rem; }
.gk-timeline__item::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; border-radius: 50%; background: var(--gk-brand); color: #fff; font-family: var(--gk-head); font-weight: 600; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.gk-timeline__item::after { content: ""; position: absolute; left: 1.45rem; top: 3.4rem; bottom: .4rem; width: 3px; background: var(--gk-line); }
.gk-timeline__item:last-child::after { display: none; }
.gk-timeline__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; min-height: 3rem; }
.gk-timeline__head h3 { margin: 0; }
.gk-timeline__icon { color: var(--gk-brand); display: inline-flex; }
.gk-timeline__icon .gk-icon { width: 1.6rem; height: 1.6rem; }
@media (max-width: 30rem) { .gk-timeline__item { padding-left: 3.75rem; } .gk-timeline__icon { display: none; } }
.gk-tools { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: .5rem; }
.gk-tools li { background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .5rem; padding: .65rem .9rem; line-height: 1.4; }
.gk-tools strong { display: block; color: var(--gk-brand-dark); }

/* ---------- Lists ---------- */
.gk-ticks { list-style: none; margin: 0 0 1rem; padding: 0; }
.gk-ticks li { display: flex; gap: .65rem; align-items: flex-start; padding: .35rem 0; line-height: 1.45; }
.gk-ticks .gk-icon { flex: none; width: 1.3em; height: 1.3em; color: var(--gk-brand); margin-top: .1em; }
.gk-ticks--lg li { padding: .55rem 0; border-bottom: 1px solid var(--gk-line); }
.gk-bullets { padding-left: 1.3rem; }
.gk-bullets li { margin-bottom: .35rem; }
.gk-bullets li::marker { color: var(--gk-accent); }

.gk-panel { background: var(--gk-surface); border: 1px solid var(--gk-line); border-top: 5px solid var(--gk-brand); border-radius: var(--gk-radius); padding: clamp(1.4rem, 3vw, 2rem); }
.gk-panel--plain { border-top-color: var(--gk-accent); }
.gk-panel h3 { font-size: 1.25em; }
.gk-panel > :last-child { margin-bottom: 0; }
.gk-prose > .gk-panel { margin: 1.75rem 0; } /* Callout panels inside articles */
.gk-panel--urgent { background: #fdf1ee; border: 2px solid #8f2a0b; border-left-width: .5rem; } /* Emergency (999) callout; same colours as gk-form-alert, 8.9:1 text contrast */
.gk-panel--urgent > :first-child { margin-top: 0; }

/* ---------- Fee box (memory page) ---------- */
.gk-feebox { background: var(--gk-bg); border: 2px solid var(--gk-brand); border-radius: var(--gk-radius); padding: 1.6rem 1.5rem; }
.gk-feebox h2 { font-size: 1.35rem; }
.gk-feebox__list { margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
.gk-feebox__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--gk-line); }
.gk-feebox__list dt { font-weight: 700; }
.gk-feebox__list dt span { display: block; font-weight: 400; font-size: .85em; color: var(--gk-muted); }
.gk-feebox__list dd { margin: 0; font-family: var(--gk-head); font-weight: 600; font-size: 1.9rem; color: var(--gk-brand-dark); }
.gk-feebox__sub { font-weight: 700; margin-bottom: .3rem; }
.gk-feebox__note { font-size: .9em; color: var(--gk-muted); margin: 0; }

/* ---------- On-page nav ---------- */
.gk-onpage { background: var(--gk-surface); border-bottom: 1px solid var(--gk-line); position: sticky; top: 0; z-index: 10; }
.gk-onpage ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 1.5rem; overflow-x: auto; scrollbar-width: thin; }
.gk-onpage a { display: block; white-space: nowrap; padding: .9rem 0; font-weight: 700; font-size: .95em; text-decoration: none; color: var(--gk-ink); border-bottom: 3px solid transparent; }
.gk-onpage a:hover { color: var(--gk-brand); border-bottom-color: var(--gk-brand); }

/* ---------- Fees table (also used by the [geriuk_fees_table] shortcode) ---------- */
.gk-table-wrap { overflow-x: auto; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: var(--gk-radius); }
.gk-fees { width: 100%; border-collapse: collapse; font-size: .95em; font-variant-numeric: tabular-nums; }
.gk-fees caption { text-align: left; font-family: var(--gk-head); font-weight: 600; font-size: 1.2em; padding: 1.1rem 1.25rem .4rem; }
.gk-fees th, .gk-fees td { text-align: left; padding: .85rem 1.25rem; border-top: 1px solid var(--gk-line); vertical-align: top; }
.gk-fees thead th { font-size: .85em; text-transform: uppercase; letter-spacing: .06em; color: var(--gk-muted); border-top: 0; }
.gk-fees tbody th { font-weight: 700; }
.gk-fees__extras { display: block; font-weight: 400; font-size: .85em; color: var(--gk-muted); margin-top: .15rem; }
.gk-fees__fee { font-family: var(--gk-head); font-weight: 600; font-size: 1.25em; color: var(--gk-brand-dark); white-space: nowrap; }
@media (max-width: 40rem) {
	.gk-fees thead { display: none; }
	.gk-fees tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--gk-line); padding: .85rem 1rem; }
	.gk-fees th, .gk-fees td { border: 0; padding: 0; }
	.gk-fees tbody th { grid-column: 1 / -1; }
	.gk-fees td:not(.gk-fees__fee) { color: var(--gk-muted); font-size: .9em; padding-top: .3rem; }
	.gk-fees__fee { text-align: right; }
}

/* ---------- About ---------- */
.gk-about__grid { max-width: 52rem; }
.gk-reviews-line { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05em; padding: .9rem 1.1rem; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .6rem; }
.gk-reviews-line .gk-icon { color: var(--gk-brand); flex: none; }
.gk-quote { margin: 1.5rem 0; padding: 0 0 0 1.4rem; border-left: 4px solid var(--gk-accent); }
.gk-quote blockquote { margin: 0; font-family: var(--gk-head); font-size: 1.2em; line-height: 1.5; }
.gk-quote figcaption { color: var(--gk-muted); font-size: .9em; margin-top: .4rem; }

/* ---------- FAQ (static, never an accordion) ---------- */
.gk-faq__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 0 var(--gk-gap); margin-top: 1.5rem; }
.gk-faq__item { border-top: 2px solid var(--gk-line); padding: 1.3rem 0 .4rem; }
.gk-faq__item h3 { font-size: 1.15em; margin-bottom: .4em; }
.gk-faq__item p { color: var(--gk-ink); }

/* ---------- Related links ---------- */
.gk-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .6rem; }
.gk-related a { display: block; padding: .9rem 1.1rem; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .6rem; font-weight: 700; }
.gk-related a:hover { border-color: var(--gk-brand); }

/* ---------- CTA band ---------- */
.gk-cta { background: var(--gk-brand); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.gk-cta h2 { color: #fff; margin-bottom: .3em; }
.gk-cta p { margin: 0; font-size: 1.05em; }
.gk-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.gk-cta .gk-actions { margin: 0; }
.gk-cta :focus-visible { outline-color: #fff; }

/* ---------- Generic content (pages not yet rebuilt, articles) ---------- */
.gk-prose { max-width: 48rem; padding-top: 2.5rem; padding-bottom: var(--gk-section); }
.gk-prose img { border-radius: .6rem; }

/* ---------- Footer ---------- */
.gk-footer { background: #13222b; color: #e9eef0; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .95em; }
.gk-footer a { color: #fff; }
.gk-footer a:hover { color: #cfe7e2; }
.gk-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: 2rem 2.5rem; }
@media (max-width: 64rem) { .gk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .gk-footer__grid { grid-template-columns: 1fr; } }
.gk-footer__name { font-family: var(--gk-head); font-size: 1.5em; color: #fff; margin-bottom: .4rem; }
.gk-footer__h { font-family: var(--gk-font); font-size: .85em; text-transform: uppercase; letter-spacing: .1em; color: #f3b58f; margin-bottom: 1rem; }
.gk-footer__list { list-style: none; margin: 0; padding: 0; }
.gk-footer__list li { margin-bottom: .6rem; line-height: 1.45; }
.gk-footer__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.15em; }
.gk-footer__note { font-size: .88em; color: #c3ced3; border-left: 3px solid #f3b58f; padding-left: .8rem; }
.gk-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9em; color: #c3ced3; }
.gk-footer__base p { margin: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.gk-footer :focus-visible { outline-color: #fff; }

/* ---------- Icons ---------- */
.gk-icon { width: 1.25em; height: 1.25em; vertical-align: middle; }

/* ---------- Print ---------- */
@media print {
	.gk-topbar, .gk-nav, .gk-header__actions, .gk-onpage, .gk-cta, .gk-consent, .gk-footer__grid > :last-child { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	a { color: #000; }
}

/* ---------- Block editor text styles (Paragraph / Heading / List "Styles") ----------
   The editor's "Styles" panel adds is-style-* classes; they map onto the design system. */
.is-style-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gk-accent); margin-bottom: .9rem; }
.is-style-eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--gk-accent); border-radius: 2px; }
.is-style-lede { font-size: 1.12em; line-height: 1.6; max-width: 40em; }
.is-style-intro { max-width: 44em; font-size: 1.05em; }
.is-style-small { font-size: 1.45rem; }
.is-style-price { color: var(--gk-ink); background: var(--gk-bg); border-left: 4px solid var(--gk-accent); padding: .55rem .8rem; border-radius: 0 .4rem .4rem 0; font-size: .95em; }
.gk-card--feature .is-style-price { background: rgba(0,0,0,.18); color: #fff; border-left-color: #f3b58f; }
.is-style-tools { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: .5rem; }
.is-style-tools li { background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .5rem; padding: .65rem .9rem; line-height: 1.4; }
.is-style-tools strong { display: block; color: var(--gk-brand-dark); }
.is-style-bullets { padding-left: 1.3rem; }
.is-style-bullets li { margin-bottom: .35rem; }
.is-style-bullets li::marker { color: var(--gk-accent); }
.is-style-label { font-weight: 700; margin-bottom: .3rem; }
.is-style-note { font-size: .9em; color: var(--gk-muted); margin: 0; }
.is-style-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .6rem; }
.is-style-related a { display: block; padding: .9rem 1.1rem; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: .6rem; font-weight: 700; }
.is-style-related a:hover { border-color: var(--gk-brand); }

:root {
	--gk-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
	--gk-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.is-style-ticks, .is-style-ticks-large { list-style: none; margin: 0 0 1rem; padding: 0; }
.is-style-ticks li, .is-style-ticks-large li { position: relative; padding: .35rem 0 .35rem 1.95em; line-height: 1.45; }
.is-style-ticks li::before, .is-style-ticks-large li::before { content: ""; position: absolute; left: 0; top: calc(.35rem + .1em); width: 1.3em; height: 1.3em; background: var(--gk-brand); -webkit-mask: var(--gk-tick) center / contain no-repeat; mask: var(--gk-tick) center / contain no-repeat; }
.is-style-ticks-large li { padding-top: .55rem; padding-bottom: .55rem; border-bottom: 1px solid var(--gk-line); }
.is-style-ticks-large li::before { top: calc(.55rem + .1em); }
.gk-card--feature .is-style-ticks li::before { background: #fff; }
.is-style-arrow a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.is-style-arrow a::after { content: ""; width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--gk-arrow) center / contain no-repeat; mask: var(--gk-arrow) center / contain no-repeat; transition: transform .15s ease; }
.is-style-arrow a:hover::after { transform: translateX(3px); }

/* Readable line length for text placed directly in a full-width section. */
.gk-section > .gk-wrap:not(.gk-about__grid) > p:not(.is-style-eyebrow), .gk-section > .gk-wrap > .gk-split__text { max-width: 46rem; }
.gk-section > .gk-wrap > .gk-table-wrap { margin-top: 2rem; }
.gk-feebox > :last-child { margin-bottom: 0; }
.gk-section > .gk-wrap > .gk-cards, .gk-section > .gk-wrap > .gk-faq__list { margin-top: 1.5rem; }
.gk-section--tight > .gk-wrap > .gk-cards { margin-top: 0; }
.gk-hero--page .gk-feebox h2 { margin-top: 0; }
.gk-blog-intro { padding-bottom: 0; } /* Articles page intro above the article cards */

/* Narrow phones (0.4.14): let the header "Book an appointment" button wrap so the page never scrolls sideways at 320-374px. 375px and up is unchanged (one line). */
@media (max-width: 23.4rem) {
	.gk-header__actions { min-width: 0; }
	.gk-header__book { white-space: normal; text-align: center; line-height: 1.2; min-width: 0; max-width: 100%; }
}
