/* =========================================================
   Emily Trickey, Barrister — homepage
   Tokens from the Emily Trickey design system
   (claude.ai/artifact/7uUCG2d1326MituNMu2ZAm)
   ========================================================= */

@font-face {
  font-family: "Loreka";
  src: url("../fonts/Loreka.woff") format("woff"), url("../fonts/Loreka.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-VariableFont_wght.woff2") format("woff2"), url("../fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Italic-VariableFont_wght.woff2") format("woff2"), url("../fonts/WorkSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  /* colour */
  --white: #ffffff;
  --grey: #f8f9fa;
  --charcoal: #0f0f10;
  --burgundy: #6b0f25;
  --feintburgundy: #d8c2c8;
  --ink-soft: rgba(15, 15, 16, .72);   /* 8.9:1 on white */
  --rule: rgba(15, 15, 16, .16);
  --rule-light: rgba(255, 255, 255, .22);

  /* type */
  --serif: "Loreka", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.75rem, 1.6rem + 4.2vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .5vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;  /* 17px */
  --fs-sm: .9375rem;     /* 15px */
  --fs-label: .8125rem;  /* 13px */

  /* space */
  --space-1: 4px; --space-2: 8px; --space-4: 16px; --space-6: 24px;
  --space-10: 40px; --space-16: 64px; --space-24: 96px;
  --section: clamp(var(--space-16), 4rem + 4vw, 9rem);
  --gutter: clamp(20px, 4.5vw, 72px);
  --container: 1320px;

  /* radius */
  --radius-none: 0px;
  --radius-sm: 2px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .9s;

  --header-h: 88px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
figure > picture, .hero__media picture, .cta__media picture { display: block; width: 100%; height: 100%; }
address { font-style: normal; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }

::selection { background: var(--burgundy); color: var(--white); }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; border-radius: var(--radius-sm); }
.on-dark :focus-visible, .hero :focus-visible, .cta__body :focus-visible, .footer :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--burgundy); color: var(--white); padding: 12px 20px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.center { text-align: center; }
.section { padding-block: var(--section); }
.section--grey { background: var(--grey); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
  color: var(--burgundy); margin-bottom: var(--space-6);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow--light { color: var(--white); }

.h2 {
  font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.12;
  letter-spacing: -.01em; text-wrap: balance; margin-bottom: var(--space-6);
}
.h3, h3 { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
p, li, dd, dt, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--burgundy); font-weight: 500; font-size: var(--fs-sm);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- buttons: minimal, all caps ---------- */
.btn {
  --btn-bg: var(--burgundy); --btn-fg: var(--white); --btn-bd: var(--burgundy);
  --btn-bg-h: var(--charcoal); --btn-fg-h: var(--white); --btn-bd-h: var(--charcoal);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .8125rem; font-weight: 500; letter-spacing: .16em; line-height: 1.2;
  text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn__label { position: relative; display: block; overflow: hidden; height: 1.2em; line-height: 1.2; }
.btn__roll { display: flex; flex-direction: column; transition: transform .5s var(--ease-out); }
.btn__roll > span { display: block; height: 1.2em; }
.btn__chip { position: relative; width: 14px; height: 14px; flex: none; overflow: hidden; }
.btn__chip svg { position: absolute; inset: 0; width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.btn__chip svg + svg { transform: translateX(-120%); }
@media (hover: hover) {
  .btn:hover { background: var(--btn-bg-h); color: var(--btn-fg-h); border-color: var(--btn-bd-h); }
  .btn:hover .btn__roll { transform: translateY(-50%); }
  .btn:hover .btn__chip svg:first-child { transform: translateX(120%); }
  .btn:hover .btn__chip svg + svg { transform: translateX(0); }
}
.btn:focus-visible .btn__chip svg:first-child { transform: translateX(120%); }
.btn:focus-visible .btn__chip svg + svg { transform: translateX(0); }

.btn--secondary {
  --btn-bg: transparent; --btn-fg: var(--burgundy); --btn-bd: var(--burgundy);
  --btn-bg-h: var(--burgundy); --btn-fg-h: var(--white); --btn-bd-h: var(--burgundy);
}
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.6);
  --btn-bg-h: var(--white); --btn-fg-h: var(--charcoal); --btn-bd-h: var(--white);
}
/* on photography, a charcoal hover would vanish into the image */
.hero .btn--primary { --btn-bg-h: var(--white); --btn-fg-h: var(--burgundy); --btn-bd-h: var(--white); }
.btn--sm { height: 42px; padding: 0 22px; gap: 12px; font-size: .75rem; }
@media (max-width: 880px) { .btn--sm { height: 44px; } }   /* 44x44 touch target (WCAG 2.5.5 AAA) on phones and tablets */
.btn--block { width: 100%; justify-content: space-between; }

.arrow-btn {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: transparent; color: var(--charcoal);
  border: 1px solid var(--charcoal); border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), opacity .3s;
}
.arrow-btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.arrow-btn:hover:not(:disabled) { background: var(--charcoal); color: var(--white); }
.arrow-btn[data-slider-prev]:hover svg { transform: translateX(-3px); }
.arrow-btn[data-slider-next]:hover svg { transform: translateX(3px); }
.arrow-btn:disabled { opacity: .3; cursor: default; }
.arrows { display: flex; gap: 10px; }

/* =========================================================
   PANEL 1 — HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--white);
  transition: transform .6s var(--ease-out), background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s;
}
.site-header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: calc(1600px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.site-header__logo { display: block; width: clamp(176px, 14vw, 216px); justify-self: center; }
.site-nav { justify-self: start; }
.site-header__logo img { width: 100%; height: auto; }
.logo-dark { display: none !important; }
.site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.site-nav a, .site-header__phone {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-block: 8px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.site-header__phone { letter-spacing: .12em; display: inline-flex; align-items: center; gap: 10px; }
.site-header__phone-icon { width: 16px; height: 16px; flex: none; }
.site-header__phone-icon path { stroke-linejoin: round; stroke-linecap: round; }
.site-header__phone:hover { text-decoration: underline; text-underline-offset: 6px; }

.site-header.is-solid { background: var(--white); color: var(--charcoal); box-shadow: 0 1px 0 var(--rule); }
.site-header.is-solid .logo-light { display: none !important; }
.site-header.is-solid .logo-dark { display: block !important; }
.site-header.is-solid .btn--ghost-light {
  --btn-bg: var(--burgundy); --btn-fg: var(--white); --btn-bd: var(--burgundy);
  --btn-bg-h: var(--charcoal); --btn-fg-h: var(--white); --btn-bd-h: var(--charcoal);
}
.site-header.is-hidden { transform: translateY(-100%); }

.menu-toggle {
  display: none; align-items: center; gap: 12px; justify-self: end;
  background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; color: inherit;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.menu-toggle__lines { position: relative; width: 26px; height: 10px; }
.menu-toggle__lines span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 8px; }   /* a whole-pixel gap keeps both 1.5px lines on the same sub-pixel phase, so they render at the same weight */
.menu-open .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--white); color: var(--charcoal);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu__nav li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.mobile-menu__nav a {
  display: block; padding: 14px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.15;
  transform: translateY(105%); transition: transform .7s var(--ease-out);
}
.menu-open .mobile-menu__nav a { transform: none; }
.menu-open .mobile-menu__nav li:nth-child(2) a { transition-delay: .06s; }
.menu-open .mobile-menu__nav li:nth-child(3) a { transition-delay: .12s; }
.menu-open .mobile-menu__nav li:nth-child(4) a { transition-delay: .18s; }
.menu-open .mobile-menu__nav li:nth-child(5) a { transition-delay: .24s; }
.mobile-menu__foot { display: grid; gap: 16px; }
.mobile-menu__foot .btn { justify-content: space-between; }
.mobile-menu__phone { font-size: 1.25rem; text-decoration: none; }
.menu-open .site-header { background: var(--white); color: var(--charcoal); box-shadow: none; transform: none; }
.menu-open .site-header .logo-light { display: none !important; }
.menu-open .site-header .logo-dark { display: block !important; }
body.menu-open { overflow: hidden; }

@media (max-width: 1100px) {
  .site-nav, .site-header__actions { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__logo { justify-self: start; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 767px) { :root { --header-h: 72px; } }

/* Opening logo: a fixed copy of the header wordmark that travels from the
   centre of the hero into the header as the visitor scrolls. */
.hero-logo { display: none; }
.js .hero-logo {
  display: block; position: fixed; top: 0; left: 0; z-index: 101;
  transform-origin: 0 0; pointer-events: none; will-change: transform;
}
.hero-logo img { display: block; width: 100%; height: auto; }
.js [data-nav-item] { opacity: 0; }
.site-header:focus-within [data-nav-item] { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }

/* =========================================================
   PANEL 2 — HERO (Marlowe composition)
   ========================================================= */
.hero { position: relative; color: var(--white); background: var(--charcoal); }
.js .hero { height: calc(100vh + 90vh); height: calc(100svh + 90vh); }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; will-change: transform; }   /* Emily's face, upper centre */
.hero__media::after {
  content: ""; position: absolute; inset: 0; opacity: var(--hero-ov, 1);
  background:
    linear-gradient(180deg, rgba(15,15,16,.38) 0%, rgba(15,15,16,0) 18%),
    linear-gradient(0deg, rgba(15,15,16,.8) 0%, rgba(15,15,16,.42) 32%, rgba(15,15,16,0) 58%);
}
.hero__content {
  width: 100%; max-width: 980px; margin-inline: auto; padding: 0 var(--gutter) clamp(72px, 12vh, 140px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-family: var(--serif); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line__inner { display: block; }
.hero__text { max-width: 540px; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255,255,255,.9); margin-bottom: 0; }
@media (max-width: 480px) {
  .hero__title { font-size: 9.6vw; }
  .hero__title .line__inner { white-space: nowrap; }
}
@media (max-width: 767px) {
  .hero__media img { object-position: 49% 18%; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(15,15,16,.9) 0%, rgba(15,15,16,.62) 45%, rgba(15,15,16,.1) 72%, rgba(15,15,16,.35) 100%);
  }
  .hero__text { font-size: 1rem; }
}

/* =========================================================
   PANEL 3 — ABOUT (after Avro Studio's post-hero intro)
   ========================================================= */
.intro { padding-block: clamp(80px, 5rem + 4vw, 150px); background: var(--white); }
.intro__grid {
  display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 55fr);
  column-gap: clamp(48px, 7.4vw, 108px); align-items: stretch;
}
.intro__media { position: relative; }
.intro__figure { position: relative; width: 100%; height: 100%; min-height: 420px; overflow: hidden; background: var(--grey); }
.intro__figure picture, .intro__figure img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__figure img { object-fit: cover; object-position: 50% 24%; }   /* studio portrait: keep her face in frame as the panel stretches */
.intro__body { --intro-measure: 40rem; display: flex; flex-direction: column; justify-content: center; }   /* centred against the portrait (Wayde, 23/11/26) */
.intro__statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.375rem, .6rem + 1.42vw, 2.125rem); line-height: 1.3; letter-spacing: -.01em;
  max-width: var(--intro-measure); margin: 0; text-wrap: pretty; color: var(--charcoal);
}
.intro__statement .sw { display: inline-block; white-space: nowrap; }
.intro__statement .sc { opacity: .2; }
.intro__text { margin: 28px 0 0; max-width: var(--intro-measure); color: var(--ink-soft); }
.intro__text + .intro__text { margin-top: 18px; }
.intro__cta { margin-top: clamp(40px, 4vw, 56px); }
.stats {
  margin: clamp(40px, 4vw, 56px) 0 0;
  display: flex; flex-wrap: wrap; gap: 24px clamp(40px, 5vw, 80px);
}
.stat { display: flex; flex-direction: column-reverse; }
.stat__num {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.375rem, 1.65rem + 2vw, 3.375rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--charcoal);
}
.stat__num span { display: inline-block; min-width: .6em; white-space: nowrap; }
.stat__label { margin-top: 6px; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { display: none; }
}
@media (max-width: 560px) {
  .stats { flex-direction: column; gap: 28px; }
}

/* =========================================================
   PANEL 4 — PRACTICE AREAS CAROUSEL
   ========================================================= */
.practice__intro { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.pa-grid-wrap { margin-top: clamp(48px, 5vw, 72px); }
.pa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
/* Three cards since 20/11/26 (insurance, personal injury, employment under a civil litigation umbrella): one row on desktop, never a 2+1 orphan */
.pa-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pa-card { min-width: 0; }
.pa-card__link {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; background: var(--white); color: var(--charcoal);
  -webkit-user-drag: none;
}
.pa-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.pa-card__img, .pa-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.pa-card__img img { transition: transform 1.1s var(--ease-out); }
.pa-card__img--colour { opacity: 0; transition: opacity .7s var(--ease-out); }
.pa-card__body { position: relative; padding: 24px 28px 26px; display: grid; gap: 10px; flex: 1; border-top: 3px solid transparent; transition: border-color .5s var(--ease-out); }
.pa-card__body p { color: var(--ink-soft); font-size: var(--fs-sm); padding-right: 52px; margin: 0; }
/* Since 25/11/26 the cards are not links (Practice Areas page removed), so no arrow to clear */
div.pa-card__link .pa-card__body p { padding-right: 0; }
.pa-card__arrow {
  position: absolute; right: 24px; bottom: 26px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--burgundy); color: var(--burgundy); border-radius: var(--radius-sm);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.pa-card__arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  a.pa-card__link:hover .pa-card__img img { transform: scale(1.06); }
  a.pa-card__link:hover .pa-card__img--colour { opacity: 1; }
  a.pa-card__link:hover .pa-card__body { border-top-color: var(--burgundy); }
  a.pa-card__link:hover .pa-card__arrow { background: var(--burgundy); color: var(--white); }
  a.pa-card__link:hover .pa-card__arrow svg { transform: translateX(3px); }
}
.pa-card__link:focus-visible { outline-offset: 4px; }
.pa-card__link:focus-visible .pa-card__img--colour { opacity: 1; }

.practice__cta { margin-top: clamp(48px, 5vw, 72px); }

@media (max-width: 899px) {
  .pa-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .pa-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PANEL 5 — WORKING WITH EMILY (dark connected grid)
   Burgundy fails on charcoal (1.6:1), so accents here use feintburgundy (11:1).
   ========================================================= */
.usp { background: var(--charcoal); color: var(--white); }
.usp__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(48px, 5vw, 72px);
}
.usp__title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance; margin: 0; max-width: 16ch;
}
.usp__title .accent { color: var(--feintburgundy); }
.usp__text { margin: 0; color: rgba(255,255,255,.72); font-size: var(--fs-lead); line-height: 1.55; max-width: 40ch; }

/* one grid, shared hairlines: the grid draws top/left, each cell right/bottom */
.usp__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16);
}
.usp-cell {
  position: relative; padding: clamp(32px, 3.4vw, 52px) clamp(28px, 3vw, 44px) clamp(36px, 3.6vw, 56px);
  border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16);
  background: var(--charcoal);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .9s ease, transform 1s var(--ease-out);
}
.usp-cell__icon {
  display: block; width: 28px; height: 28px; margin-bottom: clamp(28px, 3vw, 44px); color: var(--feintburgundy);
}
.usp-cell__icon * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.usp-cell__title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(1.375rem, 1.15rem + .55vw, 1.625rem); line-height: 1.2; margin: 0 0 12px;
}
.usp-cell__text { margin: 0; color: rgba(255,255,255,.7); font-size: var(--fs-sm); line-height: 1.65; max-width: 36ch; }
.js .usp-cell[data-reveal] { transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .9s ease, transform 1s var(--ease-out); }
@media (hover: hover) {
  .usp-cell:hover { background: #1b1216; box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
}

@media (max-width: 1024px) {
  .usp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .usp__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .usp__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PANEL 6 — WHY CHOOSE (pinned card deck, white)
   Default is a plain sequence of cards. main.js adds .is-stacked when the
   viewport can hold the intro plus one card, and drives the cover animation.
   ========================================================= */
.deck { position: relative; background: var(--white); padding-block: clamp(56px, 3rem + 3vw, 104px); }
.deck__intro { text-align: center; max-width: calc(760px + var(--gutter) * 2); }
.deck__intro .eyebrow { justify-content: center; }
.deck__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance; margin: 0 auto 20px; max-width: 16ch;
}
.deck__text { color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; max-width: 56ch; margin: 0 auto; }

.deck__stage-wrap { padding-inline: var(--gutter); margin-top: clamp(40px, 5vw, 64px); }
.deck__stage { list-style: none; margin: 0 auto; padding: 0; width: min(760px, 100%); display: grid; gap: 16px; }
.deck-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 72px);
  background: var(--burgundy); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);   /* keeps stacked edges distinct */
  transition: background-color .5s var(--ease-out);
}
@media (hover: hover) { .deck-card:hover { background: #7a1830; } }   /* a step lighter */
.deck-card--2 { background: var(--charcoal); }
@media (hover: hover) { .deck-card--2:hover { background: #1e1e20; } }
.deck-card__count { margin: 0; font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; color: rgba(255,255,255,.72); }
.deck-card__count span { color: var(--white); }
.deck-card__rule { display: block; width: 32px; height: 1px; background: var(--feintburgundy); margin: 20px 0 22px; }
.deck-card__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 22ch; margin: 0 0 16px;
}
.deck-card__text { margin: 0; max-width: 44ch; color: rgba(255,255,255,.86); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.6; }
.deck__after { display: flex; justify-content: center; margin-top: clamp(32px, 3.5vw, 48px); padding-inline: var(--gutter); }

/* stacked (pinned) mode: the track is made tall, the pin sticks inside it */
.deck.is-stacked { padding-top: 0; }
/* The pinned frame is only as tall as its content (intro + one card), so when the
   deck releases the button follows straight on. Incoming cards wait below the
   bottom of the screen, not below the frame, so they still rise from off-screen. */
.deck.is-stacked .deck__pin {
  position: sticky; top: 0;
  padding-top: calc(var(--header-h) + clamp(8px, 2vh, 24px));
}
.deck.is-stacked .deck__stage-wrap { margin-top: clamp(24px, 4.5vh, 56px); }
.deck.is-stacked .deck__stage { display: block; position: relative; height: var(--card-h, 360px); }
.deck.is-stacked .deck-card { position: absolute; inset: 0; will-change: transform; }
.deck.is-stacked .deck-card:not(:first-child) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 -16px 32px -18px rgba(15, 15, 16, .45); }
.deck.is-stacked .deck__after { margin-top: clamp(32px, 3.5vw, 48px); }

@media (max-width: 480px) {
  .deck-card__rule { margin: 16px 0 18px; }
}
/* short laptop screens (13-inch, 720-800px tall): one step down so the pinned deck fits */
@media (max-height: 820px) and (min-width: 600px) {
  .deck__title { font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 14px; }
  .deck__text { font-size: 1.0625rem; }
  .deck .eyebrow { margin-bottom: 16px; }
  .deck-card { padding: 28px clamp(24px, 4vw, 48px); }
  .deck-card__title { font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.25rem); margin-bottom: 12px; }
  .deck-card__rule { margin: 14px 0 16px; }
}

/* =========================================================
   PANEL 7 — HOW EMILY WORKS (warm editorial)
   A soft blush wash (feintburgundy at ~22% on white) keeps it light but warmer
   than the white and grey bands around it. Charcoal on it reads at ~18:1,
   burgundy at ~11:1.
   ========================================================= */
.approach { background: #f8f1f2; padding-block: var(--section); }
.approach__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px); align-items: center;
}
.approach__media { position: relative; }
.approach__figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey); }
.approach__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.approach__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.125rem, 1.4rem + 3.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.02em;
  margin: 0 0 22px;
}
.approach__title .accent { color: var(--burgundy); }
.approach__intro { color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; max-width: 40ch; margin: 0 0 clamp(36px, 4vw, 56px); }

.principles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 3.5vw, 56px);
}
.principle {
  position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 12px; align-content: start;
  padding: clamp(22px, 2.2vw, 30px) 0; border-top: 1px solid rgba(107, 15, 37, .2);
}
.principle::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.principle__num { grid-row: span 2; font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; color: var(--burgundy); }
.principle__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + .45vw, 1.625rem); line-height: 1.25; margin: 0 0 8px; transition: color .4s var(--ease-out); }
.principle__text { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.65; }
@media (hover: hover) {
  .principle:hover::before { transform: scaleX(1); }
  .principle:hover .principle__title { color: var(--burgundy); }
}

@media (max-width: 960px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__media { max-width: 560px; }
  .approach__figure { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; }
}

/* =========================================================
   PANEL 8 — FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head > p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 24px; max-width: 40ch; }
.accordion { border-top: 1px solid var(--charcoal); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item h3 { font-size: inherit; font-family: inherit; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3;
  transition: color .4s var(--ease-out);
}
.acc-btn:hover { color: var(--burgundy); }
.acc-icon { position: relative; flex: none; width: 24px; height: 24px; transition: color .4s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] { color: var(--burgundy); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease-out), visibility 0s .55s; }
.acc-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc-panel__inner { overflow: hidden; }
/* Find-in-page: where the browser supports hidden="until-found", main.js adds .is-findable and hides
   closed answers with that attribute instead of visibility, so Ctrl+F (and text-fragment links) can
   find and open them. Same look and the same open/close motion: the attribute is only set once a
   panel has finished closing. Safari doesn't support it yet and keeps the visibility rule above. */
.accordion.is-findable .acc-panel { visibility: visible; transition: grid-template-rows .55s var(--ease-out); }
.acc-panel__inner p { color: var(--ink-soft); padding: 0 64px 30px 0; max-width: 68ch; margin: 0; }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .acc-panel__inner p { padding-right: 0; }
}

/* =========================================================
   PANEL 9 — CTA + FORM
   ========================================================= */
.cta { position: relative; isolation: isolate; color: var(--white); padding-block: var(--section); background: var(--charcoal); overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,16,.9) 0%, rgba(15,15,16,.78) 50%, rgba(15,15,16,.62) 100%); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.cta__body .h2 { color: var(--white); }
.cta__text { color: rgba(255,255,255,.86); font-size: var(--fs-lead); max-width: 46ch; margin-bottom: 32px; }
.cta__details { border-top: 1px solid var(--rule-light); margin-bottom: 0; }
.cta__details li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-light); }
.cta__label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); padding-top: 3px; }
.cta__details a { text-decoration: none; overflow-wrap: anywhere; }
.cta__details a:hover { text-decoration: underline; text-underline-offset: 5px; }

.enquiry { background: var(--white); color: var(--charcoal); padding: clamp(28px, 3.5vw, 52px); display: grid; gap: 20px; }
.enquiry__title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); }
.enquiry__note { font-size: var(--fs-sm); color: var(--ink-soft); margin: -8px 0 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field label span { color: var(--burgundy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--white); border: 1px solid rgba(15,15,16,.45); border-radius: var(--radius-sm);
  font-size: 1rem; line-height: 1.4; color: var(--charcoal);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--charcoal); border-bottom: 1.5px solid var(--charcoal); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--burgundy); background: #fbf6f7; }
.field__error { margin: 0; min-height: 0; font-size: .875rem; color: var(--burgundy); font-weight: 500; }
.field__error:empty { display: none; }
.enquiry__status { margin: 0; font-size: var(--fs-sm); }
.enquiry__status:empty { display: none; }
.enquiry__status.is-warning { padding: 14px 16px; background: var(--grey); border-left: 3px solid var(--burgundy); }
.enquiry__status.is-success { padding: 14px 16px; background: var(--grey); border-left: 3px solid var(--charcoal); }

@media (max-width: 1000px) {
  .cta__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .cta__details li { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   PANEL 10 — FOOTER
   ========================================================= */
.footer { --footer-space: clamp(48px, 5.5vw, 80px); background: var(--charcoal); color: var(--white); padding-top: var(--footer-space); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* equal space above and below the column content */
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: clamp(32px, 4vw, 64px); padding-bottom: var(--footer-space); }
.footer__logo { display: block; width: 220px; }
.footer__tagline { margin: 24px 0 0; max-width: 34ch; font-size: var(--fs-sm); line-height: 1.65; color: rgba(255,255,255,.66); }
.footer__label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.66); margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col li, .footer__col address { font-size: var(--fs-sm); }
.footer__col address, .footer__col li:not(:has(a)) { color: rgba(255,255,255,.8); }

/* SEO blurb + rating band (Gullickson .f-meta proportions) */
.footer__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 64px;
  padding: 40px 0; border-top: 1px solid rgba(255,255,255,.16);
}
.footer__blurb { margin: 0; max-width: 640px; font-size: .8125rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer__stars { display: inline-flex; gap: 2px; color: var(--white); }
.footer__stars svg path { fill: currentColor; stroke: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .8125rem; color: rgba(255,255,255,.7);
}
.footer__bottom p { margin: 0; }
.footer__fine { display: grid; gap: 4px; }
.footer__liability { color: rgba(255,255,255,.55); font-size: .75rem; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer__credit a { display: inline-flex; align-items: center; gap: 8px; }
.footer__credit img { width: 13px; height: 16px; flex: none; }

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 840px) {
  .footer__meta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 0; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   INNER PAGES: THIN HERO BANNER
   The homepage hero's photo-and-gradient treatment at banner height.
   Copy sits bottom-left under a breadcrumb, so it reads as a page
   title rather than a second homepage opening.
   ========================================================= */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(380px, 52vh, 540px);
  padding: calc(var(--header-h) + 48px) 0 clamp(48px, 5.5vw, 84px);
  background: var(--charcoal); color: var(--white);
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media picture { display: block; width: 100%; height: 100%; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,16,.55) 0%, rgba(15,15,16,.18) 38%, rgba(15,15,16,.82) 100%),
    linear-gradient(90deg, rgba(15,15,16,.62) 0%, rgba(15,15,16,0) 72%);
}
.page-hero__content { display: grid; justify-items: start; }
.page-hero__title {
  font-family: var(--serif); font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem);
  line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; max-width: 14ch;
}
.page-hero__text { max-width: 52ch; margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255,255,255,.88); }

.crumbs { margin-bottom: 22px; }
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: 0 14px;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
}
.crumbs li { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.78); }
.crumbs li + li::before { content: ""; width: 24px; height: 1px; background: rgba(255,255,255,.5); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.crumbs [aria-current] { color: var(--white); }
.page-hero :focus-visible { outline-color: var(--white); }

@media (max-width: 767px) {
  .page-hero { min-height: 340px; padding-top: calc(var(--header-h) + 40px); }
  .page-hero__media img { object-position: 58% 64%; }
  .page-hero__text { font-size: 1rem; }
}

/* =========================================================
   CONTACT PAGE: DETAILS + FORM
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__intro { color: var(--ink-soft); max-width: 46ch; margin-bottom: clamp(32px, 3.5vw, 48px); }

/* the homepage CTA's label/value rows, turned light and given the serif */
.contact-list { border-top: 1px solid var(--charcoal); }
.contact-list__item {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.contact-list__label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.contact-list__value {
  min-width: 0; font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); line-height: 1.25;
  color: var(--charcoal); text-decoration: none;
}
.contact-list__value--email { font-size: clamp(1.125rem, .95rem + .7vw, 1.5rem); }
a.contact-list__value { display: inline-flex; align-items: center; gap: 14px; justify-self: start; max-width: 100%; transition: color .4s var(--ease-out); }
a.contact-list__value span {
  min-width: 0; overflow-wrap: anywhere; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.contact-list__arrow { width: 18px; height: 18px; flex: none; color: var(--burgundy); opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
@media (hover: hover) {
  a.contact-list__value:hover { color: var(--burgundy); }
  a.contact-list__value:hover span { background-size: 100% 1px; }
  a.contact-list__value:hover .contact-list__arrow { opacity: 1; transform: none; }
}
a.contact-list__value:focus-visible .contact-list__arrow { opacity: 1; transform: none; }
.contact-list__value--static { font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; }
.contact-list__value--static p { margin: 0 0 10px; }

/* the homepage form, on the warm blush used by How Emily Works */
.enquiry--panel { background: #f8f1f2; border-top: 3px solid var(--burgundy); }

@media (max-width: 1000px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-list__item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}

/* =========================================================
   INNER PAGES: PORTRAIT BANNER VARIANT
   Type on flat charcoal at left, and Emily's own black-and-white
   portrait as a crisp full-height panel on the right, after the
   homepage intro's photo and copy split. A short top shade keeps the
   white header readable where it crosses the photo.
   ========================================================= */
.page-hero--portrait { min-height: clamp(420px, 58vh, 580px); }
.page-hero__portrait { position: absolute; top: 0; right: 0; bottom: 0; width: min(40%, 660px); z-index: -1; overflow: hidden; background: var(--grey); }
.page-hero__portrait picture { display: block; width: 100%; height: 100%; }
.page-hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.page-hero__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,16,.62) 0%, rgba(15,15,16,.18) 22%, rgba(15,15,16,0) 38%);
}
.page-hero__copy { display: grid; justify-items: start; max-width: min(680px, 52%); }
.page-hero--portrait .page-hero__title { font-size: clamp(2.5rem, 1.4rem + 2.9vw, 4.25rem); max-width: none; }

@media (max-width: 900px) {
  .page-hero--portrait { min-height: 340px; }
  .page-hero__portrait { display: none; }
  .page-hero__copy { max-width: none; }
}

/* =========================================================
   AVAILABILITY PAGE: SESSIONS + BOOKING FEED
   ========================================================= */
.booking__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.booking__body { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__intro { color: var(--ink-soft); max-width: 42ch; margin-bottom: clamp(32px, 3.5vw, 48px); }

.sessions { border-top: 1px solid var(--charcoal); }
.session {
  display: grid; grid-template-columns: minmax(6.5rem, max-content) minmax(0, 1fr); gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--rule);
}
.session__time { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1; color: var(--burgundy); }
.session__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.25; margin: 0 0 4px; }
.session__text { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }

.booking__direct { margin-top: clamp(32px, 3.5vw, 44px); }
.booking__direct p { margin: 0 0 10px; }
.booking__direct-label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 14px !important; }

/* the frame the third-party calendar loads into */
.embed { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--burgundy); }
.embed__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding: 18px clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--rule);
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
}
.embed__bar-meta { color: var(--ink-soft); letter-spacing: .12em; }
.embed__body { position: relative; min-height: 700px; }   /* Calendly's inline widget wants about 700px */
.embed__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); background: #f8f1f2; }
.embed__skeleton {
  position: absolute; inset: clamp(20px, 3vw, 40px);
  display: grid; grid-template-rows: auto 1fr; gap: 24px;
}
.embed__skeleton-head { display: block; width: 38%; height: 22px; background: rgba(107, 15, 37, .12); }
.embed__skeleton-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.embed__skeleton-grid i { background: rgba(107, 15, 37, .045); }
.embed__skeleton-grid i:not(:nth-child(7n)):not(:nth-child(7n - 1)) { background: rgba(107, 15, 37, .1); }   /* weekdays */
.embed__message {
  position: relative; z-index: 1; max-width: 400px; text-align: center;
  padding: clamp(28px, 3vw, 40px); background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 2px 12px rgba(15, 15, 16, .06);
}
.embed__icon { width: 32px; height: 32px; margin: 0 auto 18px; color: var(--burgundy); }
.embed__tag { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border: 1px solid rgba(107, 15, 37, .35); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--burgundy); }
.embed__icon * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.embed__title { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem); line-height: 1.25; margin-bottom: 10px; text-wrap: balance; }
.embed__text { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

@media (max-width: 1000px) {
  .booking__grid { grid-template-columns: 1fr; }
  .booking__body { position: static; }
}
@media (max-width: 560px) {
  .embed__body { min-height: 620px; }
  .embed__skeleton-grid { gap: 5px; }
}

/* =========================================================
   ABOUT PAGE
   Banner: Emily's photograph (same image as the homepage hero) at banner height.
   Profile: portrait and the bio from Emily's CV, after the homepage intro.
   Career: a dark timeline in the USP panel's hairlines and feint burgundy.
   Credentials: qualifications beside a blush panel of reported trials.
   ========================================================= */
/* The photo starts 28% in and fades into the charcoal behind the copy, so Emily
   sits to the right of the title instead of under it. Her side of the frame
   (the dark wall) carries the fade without a seam. */
.page-hero--about .page-hero__media { left: 28%; }
.page-hero--about .page-hero__media img { object-position: 50% 16%; }
.page-hero--about .page-hero__media::after {
  background:
    linear-gradient(90deg, var(--charcoal) 0%, rgba(15,15,16,.72) 16%, rgba(15,15,16,.18) 42%, rgba(15,15,16,0) 60%),
    linear-gradient(180deg, rgba(15,15,16,.5) 0%, rgba(15,15,16,0) 30%, rgba(15,15,16,0) 70%, rgba(15,15,16,.45) 100%);
}
@media (max-width: 767px) {
  /* one column of copy over the photo: full width again, her face kept clear at the top right */
  .page-hero--about .page-hero__media { left: 0; }
  .page-hero--about .page-hero__media img { object-position: 12% 10%; }
  .page-hero--about .page-hero__media::after {
    background: linear-gradient(180deg, rgba(15,15,16,.45) 0%, rgba(15,15,16,.35) 30%, rgba(15,15,16,.85) 62%, rgba(15,15,16,.92) 100%);
  }
}

/* profile */
.profile__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px); align-items: start;
}
.profile__figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey); }
.profile__figure picture, .profile__figure img { position: absolute; inset: 0; width: 100%; height: 100%; }
.profile__figure img { object-fit: cover; object-position: 50% 20%; }
.profile__lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 58ch; margin: 0 0 18px; }
.profile__text { color: var(--ink-soft); max-width: 62ch; margin: 0; }

.glance { margin: clamp(36px, 4vw, 52px) 0 0; border-top: 1px solid var(--charcoal); }
.glance__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.glance dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.glance dd { margin: 0; }

@media (max-width: 900px) {
  .profile__grid { grid-template-columns: 1fr; }
  .profile__media { max-width: 520px; }
}
@media (max-width: 560px) {
  .glance__row { grid-template-columns: 1fr; }
}

/* career timeline (dark) */
.career { background: var(--charcoal); color: var(--white); }
.career__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.career__head { position: sticky; top: calc(var(--header-h) + 32px); }
.career__title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  max-width: 14ch; margin: 0 0 20px;
}
.career__text { margin: 0; color: rgba(255,255,255,.72); font-size: var(--fs-lead); line-height: 1.55; max-width: 38ch; }

.timeline { border-top: 1px solid rgba(255,255,255,.16); }
.tl-item {
  position: relative; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 8px clamp(24px, 3vw, 48px);
  padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid rgba(255,255,255,.16);
}
.tl-item::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--feintburgundy);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
@media (hover: hover) { .tl-item:hover::before { transform: scaleX(1); } }
.tl-item__year { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.4vw, 3rem); line-height: 1; letter-spacing: -.02em; color: var(--feintburgundy); }
.tl-item__dates { margin: 0 0 10px; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.tl-item__role { margin: 0 0 4px; font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); line-height: 1.2; color: var(--white); }
.tl-item__org { margin: 0 0 12px; font-size: var(--fs-sm); color: rgba(255,255,255,.82); }
.tl-item__text { margin: 0; max-width: 60ch; font-size: var(--fs-sm); line-height: 1.65; color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .career__grid { grid-template-columns: 1fr; }
  .career__head { position: static; }
}
@media (max-width: 560px) {
  .tl-item { grid-template-columns: 1fr; }
}

/* credentials */
.creds__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.quals { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--charcoal); }
.qual { display: grid; grid-template-columns: minmax(4.75rem, max-content) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.qual__year { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1; color: var(--burgundy); }
.qual__title { margin: 0 0 4px; font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.25; }
.qual__org { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }

/* the blush panel used for the contact form and booking feed */
.creds__col--cases { background: #f8f1f2; border-top: 3px solid var(--burgundy); padding: clamp(28px, 3.5vw, 52px); }
.creds__intro { color: var(--ink-soft); margin: -8px 0 24px; }
.cases { border-top: 1px solid rgba(107, 15, 37, .3); }
.case {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(107, 15, 37, .16);
}
.case cite { grid-column: 1 / -1; font-style: italic; font-size: 1rem; line-height: 1.45; color: var(--charcoal); }
.case__cite { font-size: var(--fs-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.case__court { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); }

@media (max-width: 1000px) {
  .creds__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PRACTICE AREAS PAGE
   Banner: the portrait split with the studio portrait, its grey
   backdrop faded into the charcoal along the left edge.
   Areas: a jump index (no numbering, Wayde 11/11), then one editorial section per area,
   alternating sides, with the homepage cards' B&W-to-colour hover.
   Proof: a blush strip of CV facts. Then the reused USP grid.
   ========================================================= */
.page-hero--studio .page-hero__portrait img { object-position: 50% 16%; }
.page-hero--studio .page-hero__portrait::after {
  background:
    linear-gradient(90deg, var(--charcoal) 0%, rgba(15,15,16,.55) 14%, rgba(15,15,16,0) 42%),
    linear-gradient(180deg, rgba(15,15,16,.55) 0%, rgba(15,15,16,0) 30%);
}

.areas__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(40px, 6vw, 96px);
  align-items: end;
}
.areas__head .h2 { margin-bottom: 0; max-width: 18ch; }
.areas__intro { color: var(--ink-soft); max-width: 44ch; margin: 0; }

.area-index { margin-top: clamp(40px, 4.5vw, 64px); }
.area-index ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--charcoal); }
.area-index li { border-bottom: 1px solid var(--rule); }
.area-index li + li { border-left: 1px solid var(--rule); }
.area-index a {
  display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline; gap: 14px;   /* label + arrow centred in each equal cell (Wayde, 23/11/26) */
  padding: 22px 20px; text-decoration: none; color: var(--charcoal);
  transition: color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.area-index__name { font-family: var(--serif); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.25; }
.area-index svg { width: 16px; height: 16px; align-self: center; color: var(--burgundy); transition: transform .45s var(--ease-out); }
@media (hover: hover) {
  .area-index a:hover { color: var(--burgundy); }
  .area-index a:hover svg { transform: translateY(3px); }
}

.area-list { margin-top: clamp(24px, 3vw, 40px); }
.area {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: center;
  padding-block: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.area:last-child { border-bottom: 0; padding-bottom: 0; }
.area:nth-child(even) .area__media { order: 2; }
.area__figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.area__img, .area__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area__img img { transition: transform 1.1s var(--ease-out); }
.area__img--colour { opacity: 0; transition: opacity .7s var(--ease-out); }
@media (hover: hover) {
  .area:hover .area__img--colour { opacity: 1; }
  .area:hover .area__img img { transform: scale(1.04); }
}
.area__title { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -.01em; }
.area__lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 54ch; margin: 0 0 14px; }
.area__text { color: var(--ink-soft); max-width: 58ch; margin: 0; }
.area__matters { margin: clamp(24px, 2.6vw, 32px) 0; }
.area__label { margin: 0 0 6px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.area__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--charcoal); }
.area__list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.area__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--burgundy); }

/* proof strip */
.proof { background: #f8f1f2; padding-block: clamp(56px, 6vw, 96px); }
.proof__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 3vw, 44px); }
.proof__title { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; max-width: 22ch; }
.proof__grid { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(107, 15, 37, .3); }
.proof__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 24px 4px 0; }
.proof__item + .proof__item { padding-left: 24px; border-left: 1px solid rgba(107, 15, 37, .16); }
.proof dd { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.5rem); line-height: 1; letter-spacing: -.02em; color: var(--burgundy); white-space: nowrap; }
.proof dt { font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-soft); max-width: 22ch; }

@media (max-width: 1000px) {
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .areas__head { grid-template-columns: 1fr; align-items: start; }
  .area { grid-template-columns: 1fr; gap: 28px; }
  .area:nth-child(even) .area__media { order: 0; }
}
@media (max-width: 560px) {
  .area-index ol { grid-template-columns: 1fr; }
  .area-index li + li { border-left: 0; }
  .area-index li a { padding-inline: 0; }
  .area__list { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__item, .proof__item + .proof__item { padding: 22px 0 18px; border-left: 0; border-bottom: 1px solid rgba(107, 15, 37, .16); }
}

/* =========================================================
   LEGAL PAGES (Privacy, Terms of Use)
   A compact type-only banner, then one readable prose column under a
   visible "draft for review" notice in the blush panel style.
   ========================================================= */
.page-hero--compact { min-height: clamp(300px, 40vh, 400px); }
.legal__wrap { max-width: calc(780px + var(--gutter) * 2); }
.legal__notice {
  margin: 0 0 clamp(36px, 4vw, 52px); padding: 20px 24px;
  background: #f8f1f2; border-left: 3px solid var(--burgundy);
}
.legal__notice p { margin: 0; font-size: var(--fs-sm); color: var(--charcoal); }
.legal__notice .legal__notice-label { margin-bottom: 6px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.legal__meta { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.legal__body h2 { margin: clamp(36px, 4vw, 48px) 0 12px; font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.25; }
.legal__body p { color: var(--ink-soft); max-width: 68ch; }
.legal__body a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* =========================================================
   MOTION
   ========================================================= */
/* Hero opening (scroll-driven parts are set in main.js). The hero photo, the banner photos and the
   hero logo are each a page's LCP element, so none of them starts at opacity 0: the browser doesn't
   count an invisible element as painted, and is-loaded waits for the fonts. They move, they don't fade. */
/* inner-page banner: the photo settles from a slight zoom */
.js .page-hero__media img { transform: scale(1.08); transition: transform 2.2s var(--ease-out); }
.is-loaded .page-hero__media img { transform: none; }
/* portrait banner: the photo settles, as on the contact banner */
.js .page-hero__portrait img { transform: scale(1.06); transition: transform 2s var(--ease-out); }
.is-loaded .page-hero__portrait img { transform: none; }
.js .hero-logo img { transform: translateY(14px); transition: transform 1.6s var(--ease-out) .25s; }
.is-loaded .hero-logo img { transform: none; }
.js [data-hero-copy] { opacity: 0; }
.js .hero__title .line__inner { transform: translateY(125%); }

/* Scroll reveals */

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split .word__inner { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); }
.js .split.is-in .word__inner { transform: none; }
.js .reveal-image { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); }
.js .reveal-image img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.js .reveal-image.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-image.is-in img { transform: scale(1); }
/* About photo: a soft settle rather than a wipe. Fades in while easing up,
   and the photo itself eases from 1.04 to 1 inside its frame (no overflow). */
.js .reveal-soft { transform: translateY(24px); transition: transform 1.3s cubic-bezier(.22, 1, .36, 1); }   /* no fade: the About portrait is that page's mobile LCP */
.js .reveal-soft img { transform: scale(1.04); transition: transform 1.3s cubic-bezier(.22, 1, .36, 1); }
.js .reveal-soft.is-in { transform: none; }
.js .reveal-soft.is-in img { transform: none; }
.js .stat__num span { opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity .9s ease, filter 1s ease, transform 1s var(--ease-out); }
.js .stats.is-in .stat__num span { opacity: 1; filter: none; transform: none; }
.js .stats.is-in .stat:nth-child(2) .stat__num span { transition-delay: .12s; }
.js .stats.is-in .stat:nth-child(3) .stat__num span { transition-delay: .24s; }
.js [data-pa-grid] .pa-card { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1s var(--ease-out); }
.js [data-pa-grid].is-in .pa-card { opacity: 1; transform: none; }
.js [data-pa-grid].is-in .pa-card:nth-child(2) { transition-delay: .1s; }
.js [data-pa-grid].is-in .pa-card:nth-child(3) { transition-delay: .2s; }
.js [data-pa-grid].is-in .pa-card:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .hero__media img, .js .page-hero__media img, .js .page-hero__portrait img, .js .hero__title .line__inner, .js [data-hero-copy], .js [data-nav-item],
  .js [data-reveal], .js [data-pa-grid] .pa-card, .js .split .word__inner, .js .reveal-image, .js .reveal-image img, .js .reveal-soft, .js .reveal-soft img, .js .stat__num span {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .js .hero { height: auto; }
  .js .hero-logo { display: none; }
  .intro__statement .sc { opacity: 1 !important; }
  .js .stat__num span { filter: none !important; }
}

/* Availability: booking by phone or email until the Calendly embed is in.
   Drop .embed__body--fallback when the embed goes in, so the 700px reserve returns. */
.embed__body--fallback { min-height: 0; background: #f8f1f2; }
.embed__fallback { max-width: 460px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 40px); text-align: center; }
.embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.embed__actions .btn { min-width: 210px; }   /* equal widths: consistent-but-unequal reads as a bug */

/* Thank you and 404: one dark panel, content centred, two equal buttons. */
.page-hero--done { border-bottom: 1px solid rgba(255,255,255,.12); min-height: clamp(560px, 88vh, 860px); align-items: center; text-align: center; padding-bottom: clamp(64px, 7vw, 104px); }
.done__wrap { display: grid; justify-items: center; max-width: calc(720px + var(--gutter) * 2); }
.done__wrap .crumbs ol { justify-content: center; }
.done__wrap .page-hero__title { max-width: none; }
.done__wrap p { max-width: 56ch; margin-inline: auto; color: rgba(255,255,255,.78); }
.done__wrap .lead { color: var(--white); margin-bottom: 12px; }
.done__wrap p a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.done__actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.done__actions .btn { min-width: 210px; }   /* equal columns: consistent-but-unequal reads as a bug */
/* stack until both labels fit side by side: "Check availability" is cropped in a 1fr column below ~584px */
@media (max-width: 600px) { .done__actions { display: grid; grid-auto-flow: row; width: 100%; } }
