/* ============================================================
   London OC website: shared site stylesheet (css/styles.css)
   Design system v1, 17 November 2026. Built for London Ophthalmology
   Centre by 2xN from the 2xN reference kit 1.40 structure.
   Brand: deep navy and gold (shared with viksharma.com), Outfit
   throughout with light 300 headings, as on viksharma.com. Light theme by default; dark rules hang off
   [data-theme="dark"], never prefers-color-scheme.
   Tokens sit on :root and on any [data-theme] element, so a design
   board's root (which carries data-theme) gets them too.
   Text size control: every font size is multiplied by --ts (1, 1.15,
   1.3), set on the same element as data-theme.
   The kit token names (--purple*, --ember*) are kept so the kit tools
   and scripts work as they are; they map to LOC navy and gold.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root, [data-theme] {
  /* brand */
  --navy: #22335C;
  --navy-deep: #121C33;
  --navy-tint: #E9ECF3;
  --gold: #E8B53C; /* brighter gold (19 Nov, was #D4A63A) */
  --gold-hover: #F1C766;
  --gold-text: #D4A63A; /* was #7A5814: Jemma, 19 Nov, bright gold/yellow throughout */
  --gold-soft: #F5F5F3;

  /* kit names mapped to the brand */
  --purple: var(--navy-deep);
  --purple-bright: #9FB0D6;
  --purple-deep: var(--navy-deep);
  --purple-tint: var(--navy-tint);
  --ember: var(--gold-text);
  --ember-soft: var(--gold-soft);

  /* surfaces + ink (light) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F5F3;
  --ink: #121C33;
  --ink-muted: #4F5872;
  --line: #E1E2E6;
  --accent: var(--navy-deep);
  --accent-ink: #FFFFFF;
  --accent-hover: var(--navy);
  --link: var(--navy-deep);
  --link-hover: var(--gold-text);
  --focus: 0 0 0 3px rgba(212, 166, 58, 0.55);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold);
  --danger: #B3362F;
  --danger-soft: rgba(194, 65, 59, 0.14);
  --success: #2E6B4F;

  /* always-dark chrome (navy bands, footer, cookie panel) */
  --bg-dark: #121C33;
  --bg-dark-2: #1A2747;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #FFFFFF;

  /* photo overlay */
  --grad: linear-gradient(180deg, rgba(18, 28, 51, 0) 30%, rgba(18, 28, 51, 0.55) 70%, rgba(18, 28, 51, 0.9) 100%);

  /* type */
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --h-weight: 300;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --ts: 1;

  /* shape */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(18, 28, 51, 0.05), 0 10px 28px -16px rgba(18, 28, 51, 0.18);
  --shadow-lift: 0 26px 56px -28px rgba(18, 28, 51, 0.38);
  --shadow-overlay: 0 30px 70px -24px rgba(18, 28, 51, 0.5);
  --shadow-field: 0 1px 2px rgba(18, 28, 51, 0.04), 0 8px 18px -12px rgba(18, 28, 51, 0.22);
  --field-edge: color-mix(in oklab, var(--gold), transparent 35%);

  /* rhythm (8px base) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px;
  --section-y: clamp(72px, 10vw, 128px);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0D1527;
  --surface: #152039;
  --surface-2: #1C2946;
  --ink: #FFFFFF;
  --ink-muted: #FFFFFF;
  --line: rgba(255, 255, 255, 0.12);
  --navy-tint: rgba(159, 176, 214, 0.14);
  --gold: #E2B648;
  --gold-hover: #ECCB78;
  --gold-text: #ECCB78;
  --gold-soft: rgba(226, 182, 72, 0.14);
  --accent: #E2B648;
  --accent-ink: #121C33;
  --accent-hover: #ECCB78;
  --link: #ECCB78;
  --link-hover: #F5DDA3;
  --focus: 0 0 0 3px rgba(226, 182, 72, 0.5);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px #E2B648;
  --danger: #F08A82;
  --danger-soft: rgba(240, 138, 130, 0.16);
  --success: #7BC7A0;
  --bg-dark: #091020;
  --bg-dark-2: #111A30;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 30px -16px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 26px 56px -24px rgba(0, 0, 0, 0.75);
  --shadow-field: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 22px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: calc(1.0625rem * var(--ts, 1));
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
[data-theme] { background: var(--bg); color: var(--ink); font-family: var(--font); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: var(--h-weight); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.on-dark a, .section--dark a:not(.btn) { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.on-dark a:hover, .section--dark a:not(.btn):hover { color: var(--gold-hover); text-decoration-color: currentColor; }
::selection { background: var(--gold); color: var(--navy-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- TYPE SCALE ---------- */
/* Outfit throughout (as viksharma.com): headings light 300 (--h-weight) with tight tracking; card and FAQ titles 500; one emphasised heading word in gold, upright (Outfit has no italic). */
.t-display { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(clamp(2.75rem, 6.4vw, 5rem) * var(--ts, 1)); line-height: 1.02; letter-spacing: -0.03em; }
.t-h1, h1.t { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(clamp(2.5rem, 5.4vw, 4.25rem) * var(--ts, 1)); line-height: 1.04; letter-spacing: -0.03em; }
.t-h2 { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(clamp(2rem, 4vw, 3rem) * var(--ts, 1)); line-height: 1.1; letter-spacing: -0.02em; }
.t-h3 { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(clamp(1.375rem, 2.2vw, 1.75rem) * var(--ts, 1)); line-height: 1.2; letter-spacing: -0.01em; }
.t-h4 { font-family: var(--font-head); font-weight: 500; font-size: calc(clamp(1.0625rem, 1.6vw, 1.25rem) * var(--ts, 1)); line-height: 1.35; }
.t-h5 { font-family: var(--font); font-weight: 600; font-size: calc(1.0625rem * var(--ts, 1)); line-height: 1.35; }
.t-h6 { font-family: var(--font); font-weight: 600; font-size: calc(0.8125rem * var(--ts, 1)); line-height: 1.35; letter-spacing: 0.16em; text-transform: uppercase; }
.t-display em, .t-h1 em, .t-h2 em, .t-h3 em { font-style: normal; font-weight: 400; color: var(--gold-text); }
[data-theme="dark"] .t-display em, [data-theme="dark"] .t-h1 em, [data-theme="dark"] .t-h2 em, [data-theme="dark"] .t-h3 em, .section--dark em { color: var(--gold-hover); }
.eyebrow { font-family: var(--font); font-weight: 600; font-size: calc(0.8125rem * var(--ts, 1)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: calc(clamp(1.125rem, 1.6vw, 1.3125rem) * var(--ts, 1)); line-height: 1.6; color: var(--ink-muted); font-weight: 300; }
.body { font-size: calc(1.0625rem * var(--ts, 1)); line-height: 1.65; max-width: 64ch; }
.small { font-size: calc(0.875rem * var(--ts, 1)); line-height: 1.55; color: var(--ink-muted); }
.label { font-size: calc(0.6875rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.quote { font-family: var(--font-head); font-weight: 300; font-size: calc(clamp(1.375rem, 2.4vw, 1.875rem) * var(--ts, 1)); line-height: 1.4; letter-spacing: -0.01em; }
.stat { font-family: var(--font-head); font-weight: 200; font-size: calc(clamp(3.5rem, 7vw, 5.5rem) * var(--ts, 1)); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .lead, .section--dark .small { color: var(--text-on-dark-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }
.stack { display: flex; flex-direction: column; gap: var(--s-3); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font); font-weight: 500; font-size: calc(1rem * var(--ts, 1)); line-height: 1.2; letter-spacing: 0.01em;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -12px rgba(18, 28, 51, 0.55); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px -12px rgba(212, 166, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { border-color: var(--gold); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-pill); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
/* Arrow button: deep navy pill with a gold circle holding the arrow, which slides on hover. Used for the key action in a section intro. */
.btn--arrow { min-height: 58px; padding: 6px 6px 6px 28px; gap: 18px; background: var(--navy-deep); color: #FFFFFF; box-shadow: 0 14px 30px -14px rgba(18, 28, 51, 0.6); }
.btn--arrow:hover { background: var(--navy); color: #FFFFFF; }
.btn--arrow .btn__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); transition: transform 0.3s var(--ease), background-color 0.3s ease; }
.btn--arrow:hover .btn__icon { transform: translateX(4px); background: var(--gold-hover); }
[data-theme="dark"] .btn--arrow { background: var(--gold); color: var(--navy-deep); }
[data-theme="dark"] .btn--arrow .btn__icon { background: var(--navy-deep); color: var(--gold); }
/* Eye pill: every main button carries its label and a round icon holding an eye (London OC brand mark) */
.btn--pill { min-height: 56px; padding: 5px 5px 5px 26px; gap: 16px; font-weight: 500; }
.btn--pill .btn__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease; }
.btn--pill .btn__icon svg { width: 22px; height: 22px; }
.btn--pill .btn__icon circle { transform-origin: 12px 12px; transition: transform 0.3s var(--ease); }
.btn--pill:hover .btn__icon { transform: scale(1.06); }
.btn--pill:hover .btn__icon circle { transform: scale(1.35); }
.btn--primary.btn--pill { box-shadow: 0 14px 30px -14px rgba(18, 28, 51, 0.6); }
.btn--primary.btn--pill:hover .btn__icon { background: var(--gold-hover); }
.btn--gold.btn--pill .btn__icon, [data-theme="dark"] .btn--primary.btn--pill .btn__icon { background: var(--navy-deep); color: var(--gold); }
.btn--gold.btn--pill:hover .btn__icon, [data-theme="dark"] .btn--primary.btn--pill:hover .btn__icon { background: var(--navy-deep); color: var(--gold-hover); }
.btn--pill.btn--sm, .nav .btn--pill { min-height: 46px; padding: 4px 4px 4px 20px; gap: 12px; font-size: calc(0.9375rem * var(--ts, 1)); }
.btn--pill.btn--sm .btn__icon, .nav .btn--pill .btn__icon { width: 38px; height: 38px; }
.btn--pill.btn--sm .btn__icon svg, .nav .btn--pill .btn__icon svg { width: 19px; height: 19px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: calc(0.9375rem * var(--ts, 1)); }
.btn--icon { width: 48px; min-height: 48px; padding: 0; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--link); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; min-height: 44px; }
.textlink:hover { color: var(--link-hover); text-decoration: none; }

/* ---------- FORMS ---------- */
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field__label { font-size: calc(0.9375rem * var(--ts, 1)); font-weight: 500; color: var(--ink); }
.field__label .opt { font-weight: 400; color: var(--ink-muted); }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font-family: var(--font); font-size: calc(1rem * var(--ts, 1)); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-bottom: 2px solid var(--field-edge); border-radius: var(--radius-md);
  box-shadow: var(--shadow-field);
  outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}
.input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.input:hover { border-color: color-mix(in oklab, var(--line), var(--ink) 18%); border-bottom-color: var(--gold); }
.input:focus { border-color: var(--gold); box-shadow: var(--shadow-field), var(--focus); }
textarea.input { min-height: 140px; resize: vertical; }
.field.is-invalid .input, .input.is-invalid { border-color: var(--danger); box-shadow: var(--shadow-field), 0 0 0 3px var(--danger-soft); }
.field__err { font-size: calc(0.875rem * var(--ts, 1)); color: var(--danger); margin: 0; }
.field__err[hidden] { display: none; }
.input[disabled] { opacity: 0.55; cursor: not-allowed; }
.cta-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: calc(0.9375rem * var(--ts, 1)); line-height: 1.5; color: var(--ink-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid color-mix(in oklab, var(--line), var(--ink) 30%); border-radius: 7px; background: var(--surface); box-shadow: var(--shadow-field); display: grid; place-items: center; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.check input::after { content: ''; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.field.is-invalid .check input { border-color: var(--danger); }
.form-status { font-size: calc(0.9375rem * var(--ts, 1)); color: var(--ink-muted); min-height: 1.5em; }
.form-status.is-err { color: var(--danger); }
.cform { display: grid; gap: var(--s-3); }
.cform__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .cform__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.formcard { position: relative; padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); overflow: hidden; }
.formcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); }
.formcard__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-3); }
.cform__done { display: none; }
.cform.is-sent > *:not(.cform__done) { display: none; }
.cform.is-sent .cform__done { display: block; }

/* House dropdown (custom select). Never the raw native select. */
.cselect { position: relative; }
.cselect__trigger {
  width: 100%; min-height: 52px; padding: 13px 52px 13px 16px; text-align: left;
  font-family: var(--font); font-size: calc(1rem * var(--ts, 1)); color: var(--ink-muted);
  background: var(--surface); border: 1px solid var(--line); border-bottom: 2px solid var(--field-edge); border-radius: var(--radius-md); cursor: pointer;
  box-shadow: var(--shadow-field);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cselect__trigger:hover { border-color: color-mix(in oklab, var(--line), var(--ink) 18%); border-bottom-color: var(--gold); }
.cselect.is-filled .cselect__trigger { color: var(--ink); }
.cselect__trigger:focus-visible { outline: none; border-color: var(--gold); box-shadow: var(--shadow-field), var(--focus); border-radius: var(--radius-md); }
.cselect.is-open .cselect__trigger { border-color: var(--gold); }
.cselect.is-invalid .cselect__trigger { border-color: var(--danger); box-shadow: var(--shadow-field), 0 0 0 3px var(--danger-soft); }
.cselect__chev { position: absolute; right: 20px; top: 26px; transform: translateY(-50%); color: var(--ink); pointer-events: none; display: inline-flex; }
.cselect__chev svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.cselect.is-open .cselect__chev svg { transform: rotate(180deg); }
.cselect__native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cmenu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-overlay);
  opacity: 0; transform: translateY(-4px); transition: opacity 0.18s ease, transform 0.18s var(--ease);
}
.cmenu[hidden] { display: none; }
.cselect.is-open .cmenu { opacity: 1; transform: none; }
.cmenu__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: calc(1rem * var(--ts, 1)); color: var(--ink); cursor: pointer; }
.cmenu__opt.is-active { background: var(--navy-tint); color: var(--ink); }
.cmenu__opt[aria-selected="true"] { font-weight: 600; }
.cmenu__opt[aria-selected="true"]::after { content: ''; width: 6px; height: 11px; border: solid var(--gold-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Selects anywhere else (tools): designed, never browser default. */
select.select { appearance: none; -webkit-appearance: none; min-height: 48px; padding: 0 48px 0 16px; font: inherit; color: var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121C33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center; border: 1px solid var(--line); border-radius: var(--radius-md); color-scheme: light; }
[data-theme="dark"] select.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); color-scheme: dark; }
select.select:focus-visible { outline: none; border-color: var(--gold); box-shadow: var(--focus); }

/* ---------- DRAFT TAG (copy written by 2xN, not yet approved) ---------- */
.draft-tag { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding: 3px 9px; font-family: var(--font); font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); border: 1px solid color-mix(in oklab, var(--gold), transparent 45%); border-radius: var(--radius-pill); }

/* ---------- CARDS + PANELS ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklab, var(--gold) 50%, var(--line)); }
.card__kicker { font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.card__title { font-family: var(--font-head); font-weight: 500; font-size: calc(1.5rem * var(--ts, 1)); line-height: 1.2; margin-bottom: 10px; }
.card__body { color: var(--ink-muted); font-size: calc(1rem * var(--ts, 1)); }
/* Treatment card, text only: white card with a gold top edge, gold numeral, title, client copy, sub-treatment links on hairlines and a round arrow. On hover the card turns deep navy and lifts. */
.tx { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 34px 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-field); overflow: hidden; transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s ease; }
.tx::before { content: ''; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); transition: left 0.35s var(--ease), right 0.35s var(--ease); }
.tx:hover, .tx:focus-within { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--text-on-dark); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tx:hover::before, .tx:focus-within::before { left: 0; right: 0; }
.tx__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tx__tag { font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.tx__num { font-family: var(--font-head); font-weight: 200; font-size: calc(1.75rem * var(--ts, 1)); line-height: 1; color: var(--gold-text); }
.tx__title { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(1.875rem * var(--ts, 1)); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.tx__title { color: var(--ink); transition: color 0.35s ease; }
.tx__title a, .tx__title a:hover { color: inherit; text-decoration: none; }
.tx:hover .tx__title, .tx:focus-within .tx__title { color: #FFFFFF; }
.tx__text { color: var(--ink-muted); margin: 0; }
.tx__links { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tx__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); text-decoration: none; transition: color 0.2s ease, padding 0.2s var(--ease); }
.tx__links a:hover { color: var(--gold-text); padding-left: 4px; }
.tx__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.tx__more { font-weight: 500; color: var(--link); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.tx__go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); }
.tx:hover .tx__tag, .tx:focus-within .tx__tag, .tx:hover .tx__num, .tx:focus-within .tx__num { color: var(--gold); }
.tx:hover .tx__text, .tx:focus-within .tx__text { color: var(--text-on-dark-muted); }
.tx:hover .tx__links, .tx:focus-within .tx__links, .tx:hover .tx__links a, .tx:focus-within .tx__links a { border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.tx:hover .tx__links a:hover, .tx:focus-within .tx__links a:hover { color: var(--gold-hover); }
.tx:hover .tx__more, .tx:focus-within .tx__more { color: var(--gold-hover); }
.tx:hover .tx__go, .tx:focus-within .tx__go { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateX(3px); }
[data-theme="dark"] .tx:hover, [data-theme="dark"] .tx:focus-within { background: #1A2747; border-color: rgba(212, 166, 58, 0.4); }

/* Consultant card: open editorial split on a stone panel, tall portrait with a floating credential tag, name, gold-ruled facts and two actions. */
.consult { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--surface-2); border-radius: var(--radius-xl); }
@media (min-width: 860px) { .consult { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-6); } }
.consult__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.consult__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.consult__tag { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: color-mix(in oklab, var(--navy-deep), transparent 12%); color: #fff; font-size: calc(0.875rem * var(--ts, 1)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.consult__tag strong { color: var(--gold); font-weight: 600; white-space: nowrap; }
.consult__body { display: flex; flex-direction: column; gap: 18px; }
.consult__name { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(clamp(2.25rem, 4vw, 3.25rem) * var(--ts, 1)); line-height: 1.05; letter-spacing: -0.015em; }
.consult__role { font-size: calc(1.0625rem * var(--ts, 1)); color: var(--ink-muted); margin-top: -8px; }
.consult__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 6px 0; padding: 0; list-style: none; }
.consult__facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--gold); }
.consult__facts .k { font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.consult__facts .v { font-family: var(--font-head); font-weight: 400; font-size: calc(1.375rem * var(--ts, 1)); line-height: 1.2; color: var(--ink); }

/* Why choose us: editorial numbered list beside an intro and photo, no boxes. */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .why { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); } }
.why__intro { display: flex; flex-direction: column; gap: 20px; }
.why__photo { aspect-ratio: 4 / 3; }
.why__photo img { object-position: center 38%; }
.why__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: why; }
.why__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.why__num { font-family: var(--font-head); font-weight: 200; font-size: calc(2.5rem * var(--ts, 1)); line-height: 1; color: var(--gold-text); font-variant-numeric: lining-nums; }
.why__item p { color: var(--ink-muted); margin-top: 8px; }
.section--dark .why__item, .section--dark .why__list { border-color: rgba(255, 255, 255, 0.12); }
.section--dark .why__num { color: var(--gold); }
.section--dark .why__item p { color: var(--text-on-dark-muted); }
.icotile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy-deep); }
[data-theme="dark"] .icotile { color: var(--gold); }
.icotile svg { width: 24px; height: 24px; }
.factlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.factlist li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--s-2); padding: 14px 0; border-bottom: 1px solid var(--line); }
.factlist .k { font-size: calc(0.8125rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.factlist .v { font-weight: 500; }
.pullquote { margin: 0; }
.pullquote__mark { font-family: var(--font-head); font-weight: 200; font-size: 4.5rem; line-height: 0.6; color: var(--gold); display: block; height: 30px; }

/* Location card */
.loc { display: flex; flex-direction: column; gap: 10px; }
.loc__tag { font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.loc__addr { font-style: normal; color: var(--ink-muted); line-height: 1.6; }

/* Trust strip (awards, memberships, press) */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: calc(0.9375rem * var(--ts, 1)); color: var(--ink-muted); }
.trust__item strong { color: var(--ink); font-weight: 600; }

/* Doctify panel (boards show this; the real page loads the widget iframe) */
.doctify { display: flex; flex-direction: column; gap: 10px; padding: var(--s-3); border-radius: var(--radius-lg); background: var(--navy-deep); color: var(--text-on-dark); min-height: 160px; }
.doctify__label { font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.doctify iframe { width: 100%; min-height: 160px; border: 0; border-radius: 14px; }

/* ---------- PREMIUM FINISH, shared: every card and panel gets the form card treatment (gold top strip, lifted shadow) ---------- */
.card, .doctify, .consult { position: relative; overflow: hidden; box-shadow: var(--shadow-lift); }
.card::before, .doctify::before, .consult::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); z-index: 1; }
.card { padding: 36px 32px 30px; }
.doctify { border: 1px solid rgba(212, 166, 58, 0.3); padding: 32px 28px 28px; }
.consult { border: 1px solid var(--line); }
.loc { gap: 12px; }
.loc__head { display: flex; align-items: center; gap: 14px; }
.loc__pin { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-text); box-shadow: var(--shadow-field); }
.loc__pin svg { width: 20px; height: 20px; }
.loc__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-size: calc(0.9375rem * var(--ts, 1)); color: var(--ink-muted); }
.photo__badge { border-top: 3px solid var(--gold); box-shadow: var(--shadow-lift); }

/* ---------- PHOTOGRAPHY ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: color-mix(in oklab, var(--surface), transparent 6%); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); color: var(--ink); font-size: calc(0.9375rem * var(--ts, 1)); }
.photo__badge strong { font-family: var(--font-head); font-weight: 300; font-size: calc(1.375rem * var(--ts, 1)); }

/* ---------- MOTION: soft scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--fade { transform: none; }
[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- HEADER + NAV ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg), transparent 8%); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(18, 28, 51, 0.45); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 84px; }
.nav__brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.nav__links { display: none; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); font-size: calc(0.9688rem * var(--ts, 1)); font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current] { background: var(--navy-tint); color: var(--ink); }
.nav__cta { display: none; align-items: center; gap: 12px; }
.nav__phone { display: none; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__phone:hover { color: var(--link-hover); }
@media (min-width: 1280px) { .nav__phone { display: inline-flex; } }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
@media (min-width: 1080px) { .nav__links, .nav__cta { display: flex; } .burger { display: none; } }

/* The LOC logo. Still: img/loc-logo.png (colour) or img/loc-logo-white.png (dark grounds).
   Blink: img/loc-logo-blink.webp / -white.webp are 24-frame sprites (400x317 each, frame 0 at rest),
   shown with background-size 2400% 100% and stepped through by script every 6 to 9 seconds. */
.logo { display: block; height: 62px; width: auto; max-width: none; align-self: flex-start; flex: none; object-fit: contain; }
.logo--sm { height: 46px; }
.logo--white { display: none; }
[data-theme="dark"] .logo--colour { display: none; }
[data-theme="dark"] .logo--white { display: block; }
.section--dark .logo--colour, .footer .logo--colour { display: none; }
.section--dark .logo--white, .footer .logo--white { display: block; }
.blink { width: 80px; aspect-ratio: 400 / 317; background-repeat: no-repeat; background-size: 2400% 100%; background-position: 0 0; background-image: url('../img/loc-logo-blink.webp'); }
[data-theme="dark"] .blink, .section--dark .blink, .footer .blink { background-image: url('../img/loc-logo-blink-white.webp'); }

/* Mobile menu (full-screen panel) */
.mnav { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: var(--s-4); padding: 20px var(--gutter) 40px; background: var(--navy-deep); color: var(--text-on-dark); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.mnav__close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.mnav__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mnav__links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--font-head); font-weight: 300; font-size: calc(1.625rem * var(--ts, 1)); color: #fff; text-decoration: none; }
.mnav__links a:hover { color: var(--gold-hover); }
.mnav__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
body.is-locked { overflow: hidden; }

/* ---------- THEME TOGGLE + TEXT SIZE (the controls; on the site they live inside the accessibility toggle below) ---------- */
.site-controls { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.theme-toggle { position: relative; display: inline-flex; align-items: center; width: 84px; height: 44px; padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-1); }
.theme-toggle__icons { position: relative; z-index: 1; display: flex; width: 100%; justify-content: space-between; padding: 0 8px; pointer-events: none; }
.theme-toggle__icons svg { width: 18px; height: 18px; }
.theme-toggle__thumb { position: absolute; top: 4px; left: 4px; width: 36px; height: 34px; border-radius: var(--radius-pill); background: var(--gold); transition: transform 0.3s var(--ease); }
.theme-toggle[aria-pressed="true"] .theme-toggle__thumb { transform: translateX(38px); }
.theme-toggle:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-pill); }
.textsize { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.textsize button { min-width: 44px; height: 38px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-family: var(--font); font-weight: 500; cursor: pointer; line-height: 1; }
.textsize button:nth-child(1) { font-size: 14px; }
.textsize button:nth-child(2) { font-size: 17px; }
.textsize button:nth-child(3) { font-size: 20px; }
.textsize button[aria-pressed="true"] { background: var(--navy-deep); color: #fff; }
[data-theme="dark"] .textsize button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); }
.textsize button:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-pill); }

/* ---------- ACCESSIBILITY TOGGLE: one round button (fixed, bottom right) opens a small card holding the theme toggle and the text size control ---------- */
.a11y { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.a11y--demo { position: relative; right: auto; bottom: auto; z-index: auto; }
.a11y__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--navy-deep); color: #FFFFFF; border: 2px solid var(--gold); box-shadow: var(--shadow-lift); cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s ease; }
.a11y__btn:hover { transform: translateY(-2px); }
.a11y__btn[aria-expanded="true"] { background: var(--gold); color: var(--navy-deep); }
.a11y__btn svg { width: 28px; height: 28px; }
.a11y__btn:focus-visible { box-shadow: var(--focus-ring); border-radius: 50%; }
[data-theme="dark"] .a11y__btn { background: #1A2747; }
[data-theme="dark"] .a11y__btn[aria-expanded="true"] { background: var(--gold); }
.a11y__panel { position: relative; overflow: hidden; width: 292px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 18px; padding: 28px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-overlay); }
.a11y__panel[hidden] { display: none; }
.a11y__panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); }
.a11y__title { font-family: var(--font-head); font-weight: var(--h-weight); font-size: calc(1.375rem * var(--ts, 1)); line-height: 1.2; color: var(--ink); margin: 0; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.a11y__label { font-size: calc(0.9375rem * var(--ts, 1)); font-weight: 500; color: var(--ink); }
.a11y .theme-toggle, .a11y .textsize { box-shadow: var(--shadow-field); }

/* ---------- COMPONENT: count-up stats ---------- */
.stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pb { display: flex; flex-direction: column; gap: 12px; padding-top: var(--s-3); border-top: 1px solid var(--gold); }
.pb__num { display: flex; align-items: baseline; gap: 0.04em; color: var(--ink); }
.pb__unit { font-family: var(--font-head); font-weight: 300; font-size: 0.5em; color: var(--gold-text); }
.pb__label { font-size: calc(0.8125rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.pb__meta { font-size: calc(0.9375rem * var(--ts, 1)); color: var(--ink-muted); max-width: 34ch; }
.section--dark .pb__num, .section--dark .pb__label { color: var(--text-on-dark); }
.section--dark .pb__unit { color: var(--gold); }
.section--dark .pb__meta { color: var(--text-on-dark-muted); }

/* ---------- COMPONENT: treatment journey timeline (process rail) ---------- */
.process { display: flex; flex-direction: column; gap: var(--s-4); }
.process-rail { position: relative; }
.process-rail__track { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line); }
.process-rail__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.6s var(--ease); }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 0; background: none; border: 0; text-align: left; font: inherit; color: var(--ink-muted); cursor: pointer; }
.step__node { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: calc(1.125rem * var(--ts, 1)); color: var(--ink-muted); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); }
.step__name { font-size: calc(0.9375rem * var(--ts, 1)); font-weight: 500; line-height: 1.3; color: var(--ink-muted); }
.step.is-done .step__node { border-color: var(--gold); color: var(--gold-text); }
.step.is-active .step__node { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; transform: scale(1.06); }
[data-theme="dark"] .step.is-active .step__node { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.step.is-active .step__name { color: var(--ink); font-weight: 600; }
.step:focus-visible { box-shadow: none; }
.step:focus-visible .step__node { box-shadow: var(--focus-ring); }
.process-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: opacity 0.2s ease, transform 0.2s ease; }
@media (min-width: 860px) { .process-detail { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.process-detail.is-swapping { opacity: 0; transform: translateY(6px); }
.process-detail__count { font-size: calc(0.8125rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.process-nav { display: flex; gap: 10px; }
@media (max-width: 700px) {
  .process-rail__track { display: none; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .step { flex-direction: row; align-items: center; }
}

/* ---------- COMPONENT: testimonial carousel (spotlight) ---------- */
.tspot { position: relative; overflow: hidden; }
.tspot__track { display: flex; gap: 32px; transition: transform 0.6s var(--ease); touch-action: pan-y; }
.tspot__card { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); opacity: 0.4; transition: opacity 0.4s ease; }
.tspot__card.is-active { opacity: 1; }
.section--dark .tspot__card { background: var(--bg-dark-2); border-color: rgba(255, 255, 255, 0.1); color: var(--text-on-dark); }
.tspot__stars { display: flex; gap: 4px; color: var(--gold); }
.tspot__stars svg { width: 18px; height: 18px; }
.tspot__quote { font-family: var(--font-head); font-weight: 300; font-size: calc(clamp(1.25rem, 2.2vw, 1.75rem) * var(--ts, 1)); line-height: 1.4; }
.tspot__quote--long.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tspot__more { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.section--dark .tspot__more { color: var(--gold-hover); }
.tspot__who { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: calc(0.9375rem * var(--ts, 1)); color: var(--ink-muted); }
.tspot__who strong { color: var(--ink); font-weight: 600; }
.section--dark .tspot__who { color: var(--text-on-dark-muted); }
.section--dark .tspot__who strong { color: var(--text-on-dark); }
.tspot__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-3); }
.tspot__dots { display: flex; gap: 4px; }
.tspot__dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tspot__dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background-color 0.2s ease, transform 0.2s ease; }
.section--dark .tspot__dot::before { background: rgba(255, 255, 255, 0.25); }
.tspot__dot.is-active::before { background: var(--gold); transform: scale(1.2); }
.tspot__count { font-family: var(--font-head); font-weight: 500; font-size: calc(1.125rem * var(--ts, 1)); color: var(--ink-muted); }
.roundbtn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease; }
.roundbtn:hover { border-color: var(--gold); }
.roundbtn:focus-visible { box-shadow: var(--focus-ring); border-radius: 50%; }
.roundbtn[disabled] { opacity: 0.35; cursor: default; }
.roundbtn svg { width: 18px; height: 18px; }
.section--dark .roundbtn { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.section--dark .roundbtn:hover { border-color: var(--gold); }

/* ---------- PREMIUM FINISH: timeline and testimonials, in line with the form card ---------- */
.process-rail__track { height: 3px; top: 23px; border-radius: 3px; }
.process-rail__fill { border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-hover)); }
.step__node { box-shadow: var(--shadow-field); }
.step.is-done .step__node { background: var(--gold-soft); }
.step.is-active .step__node { background: var(--navy-deep); border-color: var(--navy-deep); box-shadow: 0 0 0 5px var(--gold-soft), 0 0 0 6px color-mix(in oklab, var(--gold), transparent 40%), var(--shadow-field); }
.process-detail { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); }
.process-detail::before, .tspot__card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); }
.roundbtn { background: var(--surface); box-shadow: var(--shadow-field); }
.section--dark .roundbtn { background: transparent; box-shadow: none; }
.tspot { padding: 6px 10px 40px; margin: -6px -10px -40px; }
.tspot__card { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); padding: clamp(32px, 5vw, 56px); }
.tspot__card::after { content: '\201C'; position: absolute; right: clamp(20px, 4vw, 44px); top: 6px; font-family: var(--font-head); font-size: 10rem; line-height: 1; color: var(--gold); opacity: 0.18; pointer-events: none; }
.faq { border-top: 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item { position: relative; overflow: hidden; padding: 0 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-field); transition: box-shadow 0.3s var(--ease), border-color 0.3s ease; }
.faq__item::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.faq__item:hover { border-color: color-mix(in oklab, var(--gold) 35%, var(--line)); }
.faq__item[open] { box-shadow: var(--shadow-lift); border-color: color-mix(in oklab, var(--gold) 35%, var(--line)); }
.faq__item[open]::before { transform: scaleX(1); }
.faq__q { min-height: 76px; padding: 22px 0; }
.faq__icon { background: var(--surface); box-shadow: var(--shadow-field); }
.faq__a { padding: 0 64px 26px 0; }
.stats { gap: var(--s-3); }
.pb { position: relative; overflow: hidden; gap: 14px; padding: 38px 30px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); }
.pb::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); }
.pb__label { color: var(--gold-text); }
.section--dark .pb { background: var(--bg-dark-2); border-color: rgba(212, 166, 58, 0.28); box-shadow: 0 26px 56px -24px rgba(0, 0, 0, 0.6); }
.section--dark .pb__label { color: var(--gold); }
.section--dark .tspot__card { box-shadow: 0 26px 56px -24px rgba(0, 0, 0, 0.6); border-color: rgba(212, 166, 58, 0.28); }

/* ---------- COMPONENT: FAQ accordion (native details, no script needed) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; font-size: calc(clamp(1.0625rem, 1.6vw, 1.25rem) * var(--ts, 1)); line-height: 1.35; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform 0.3s var(--ease), background-color 0.2s ease, border-color 0.2s ease; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.faq__a { padding: 0 56px 24px 0; color: var(--ink-muted); max-width: 72ch; }
.faq__a p + p { margin-top: 12px; }

/* ---------- CTA BAND ---------- */
.ctaband { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: clamp(36px, 5vw, 68px); border-radius: var(--radius-xl); color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(212, 166, 58, 0.16) 0%, rgba(212, 166, 58, 0) 60%), var(--navy-deep);
  border: 1px solid rgba(212, 166, 58, 0.28); box-shadow: var(--shadow-lift); }
.ctaband::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover) 55%, var(--gold)); }
.ctaband::after { content: ''; position: absolute; inset: 12px; z-index: -1; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: calc(var(--radius-xl) - 8px); pointer-events: none; }
[data-theme="dark"] .ctaband { border-color: rgba(226, 182, 72, 0.32); }
@media (min-width: 900px) { .ctaband { grid-template-columns: minmax(0, 1fr) auto; } .ctaband > .row { flex-direction: column; align-items: stretch; } }
.ctaband h2 { color: #fff; }
.ctaband em { color: var(--gold-hover); }
.ctaband p { color: var(--text-on-dark-muted); }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding: var(--s-12) 0 var(--s-4); font-size: calc(0.9375rem * var(--ts, 1)); }
.footer a { color: var(--text-on-dark); text-decoration: none; }
.footer a:hover { color: var(--gold-hover); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer__head { font-family: var(--font); font-size: calc(0.75rem * var(--ts, 1)); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: var(--s-8); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: calc(0.875rem * var(--ts, 1)); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.footer__credit { margin: var(--s-3) 0 0; text-align: center; font-size: calc(0.8125rem * var(--ts, 1)); color: var(--text-on-dark-muted); }
.footer__credit a { color: var(--text-on-dark-muted); text-decoration: underline; }
.footer__credit a:hover { color: #fff; }

/* ---------- SCROLLBAR-FREE HORIZONTAL HELPERS ---------- */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* ==========================================================================
   COOKIE CONSENT BANNER (OPT-IN, Advanced Consent Mode): the site runs Google Ads
   2xN reference kit 1.40, css/opt-in-cookie.css. Pairs with scripts/opt-in/ (copied to scripts/).
   London OC mapping at the top of .cookie: deep navy panel, white text, gold accent.
   Panel stays dark in both site themes (reads as intentional chrome).
   ========================================================================== */
.cookie {
  --purple: #D4A63A;
  --purple-bright: #E0BC66;
  --bg-dark-2: #121C33;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #FFFFFF;
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1rem, 4vw, 2rem);
  pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie--modal { align-items: center; justify-content: center; }

.cookie__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 1;
  animation: cookieFadeIn 0.26s ease both;
  pointer-events: auto;
}
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie__backdrop[hidden] { display: none; }

.cookie__panel {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  background: var(--bg-dark-2);
  color: var(--text-on-dark);
  border: 1px solid rgba(212, 166, 58, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(100, 116, 139, 0.06);
  padding: 1.6rem 1.6rem 1.5rem;
  transform: none;
  opacity: 1;
}
.cookie__panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--purple), var(--purple-bright) 55%, var(--purple)); }
.cookie--modal .cookie__panel { max-width: 540px; }
.cookie.is-in .cookie__panel { animation: cookiePanelIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.cookie.is-out .cookie__panel { animation: cookiePanelOut 0.22s ease forwards; }
.cookie.is-out .cookie__backdrop { animation: cookieFadeOut 0.22s ease both; }

@keyframes cookiePanelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cookiePanelOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px); } }
@keyframes cookieFadeOut { from { opacity: 1; } to { opacity: 0; } }

.cookie__view--banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
}
.cookie__view[hidden] { display: none !important; }

.cookie__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--purple-bright);
  border: 1px solid rgba(212, 166, 58, 0.45);
  background: rgba(212, 166, 58, 0.1);
}
.cookie__icon svg { width: 21px; height: 21px; }
.cookie__body { min-width: 0; }

.cookie__title {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin: 0 0 0.35rem;
}
.cookie__copy {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  text-wrap: pretty;
  margin: 0;
}
.cookie__copy a { color: var(--purple-bright); }

.cookie__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.cookie__btn {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cookie__btn--primary {
  background: var(--purple);
  color: #121C33;
  flex: 1;
  min-width: 120px;
}
.cookie__btn--primary:hover { background: var(--purple-bright); transform: translateY(-1px); }
.cookie__btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.3);
  flex: 1;
  min-width: 110px;
}
.cookie__btn--ghost:hover { border-color: var(--purple); color: var(--purple-bright); }
.cookie__btn--text {
  background: transparent;
  color: var(--text-on-dark-muted);
  padding-left: 0.2rem; padding-right: 0.2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.cookie__btn--text:hover { color: var(--purple-bright); }

.cookie__prefs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.cookie__close {
  position: relative;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cookie__close:hover { border-color: var(--purple); }
.cookie__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.4px;
  background: var(--text-on-dark-muted);
}
.cookie__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.cookie__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.cookie__cats {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cookie__cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cookie__cat:first-child { border-top: none; }
.cookie__cat-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.2rem;
}
.cookie__cat-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  text-wrap: pretty;
}
.cookie__always {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-bright);
  white-space: nowrap;
  margin-top: 0.15rem;
}

.cookie__switch {
  position: relative;
  flex: none;
  width: 44px; height: 24px;
  margin-top: 0.1rem;
  cursor: pointer;
}
.cookie__switch input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.cookie__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.22s ease, border-color 0.22s ease;
}
.cookie__track::after {
  content: '';
  position: absolute;
  top: 50%; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}
.cookie__switch input:checked ~ .cookie__track { background: var(--purple); border-color: var(--purple); }
.cookie__switch input:checked ~ .cookie__track::after { transform: translateY(-50%) translateX(20px); background: #fff; }
.cookie__switch input:focus-visible ~ .cookie__track { outline: 2px solid var(--purple-bright); outline-offset: 2px; }

.cookie__sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cookie__actions--prefs { margin-top: 1.4rem; }

@media (max-width: 540px) {
  .cookie { padding: 0.9rem; }
  .cookie__panel { max-width: none; }
  .cookie__actions { flex-direction: column-reverse; align-items: stretch; }
  .cookie__btn--text { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie__panel,
  .cookie.is-in .cookie__panel,
  .cookie__backdrop,
  .cookie__track,
  .cookie__track::after { animation: none; transition: none; }
}
