/* =========================================================
   Henney Turner: shared styles
   Brand colours (from the Henney Turner brand board):
     --navy  #0E2226  brand dark (board + monogram stamp); used for all dark sections
     --sage  #6B837F  brand sage
     --sand  #E0C1A3  brand sand
     --stone #D5D0C9  brand warm grey
     --white #FFFFFF  logos
   Also from the logo files / live site:
     --blue  #025796  gradient logo (logo artwork only)
     --black #000407  Logo.png (reserved)
     --paper #F9F7F3  live site colour kit (light page background)
   Derived (tints/shades of the above only):
     --navy-soft  #1F3336  brand dark tinted 18% toward sage (hover on dark)
     --paper-deep #EFEEEB  paper shaded 4% toward ink
     --sand-wash  #F0E4D7  sand tinted 65% toward paper
     --sage-wash  #DFE2DE  sage tinted 82% toward paper
     --sage-light #A6B5B2  sage tinted 40% toward white (text on dark)
     --sage-dark  #4F6664  sage shaded 30% toward ink (small text/links on light, AA)
     line / overlay values are the brand dark or white at reduced alpha
   Fonts: Poppins (brand board) for text and UI; Cormorant Garamond for display headings
   ========================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E2226;
  --blue: #025796;
  --ink: #0E2226;
  --black: #000407;
  --white: #FFFFFF;
  --paper: #F9F7F3;
  --sage: #6B837F;
  --sand: #E0C1A3;
    --sand-wash: #F0E4D7;
  --sage-wash: #DFE2DE;
  --paper-deep: #EFEEEB;
  --sage-light: #A6B5B2;
  --sage-dark: #4F6664;
  --navy-soft: #1F3336;
  --stone: #D5D0C9;
  --paint: url("../images/art/painting-original.jpg"); /* the original painting (henney-turner-background-1) */
  --art-warm-band: url("../images/art/banner_warm.webp");
  --art-teal-band: url("../images/art/banner_teal.webp");
  --art-texture: url("../images/art/texture_subtle_warm.webp");
  /* light sections: white with only the subtle painting texture */
  --surface: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)), url("../images/art/texture_subtle_warm_tile.webp") center top / 1200px auto repeat var(--white); /* mirrored tile repeats at true size, so it stays crisp */
  --line: rgba(14, 34, 38, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", sans-serif;

  /* type scale: 7 sizes */
  --fs-display: clamp(2.15rem, 2.6vw + 1.1rem, 4.25rem);
  --fs-h2: clamp(2.25rem, 2.6vw + 1rem, 3.5rem);
  --fs-lede: clamp(1.75rem, 1.6vw + 1rem, 2.6rem);
  --fs-h3: clamp(1.5rem, 1vw + 1.1rem, 2rem);
  --fs-h4: clamp(1.25rem, .6vw + 1rem, 1.5rem);
  --fs-lead: clamp(1.125rem, 0.4vw + 1rem, 1.3125rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.72rem;

  /* spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(64px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --col-gap: clamp(32px, 7vw, 96px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 88px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(h1, h2, h3, p, figure) { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 2px; }
[data-theme="dark"] :focus-visible, .mobile-menu :focus-visible, .site-header.on-dark :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: var(--s-3); left: var(--s-3); z-index: 200;
  padding: var(--s-3) var(--s-4); background: var(--white); color: var(--navy);
  transform: translateY(-150%); transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--sage-dark);
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--on-dark { color: var(--sand); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.6; font-weight: 400; }
.caption { font-size: var(--fs-small); color: var(--sage-dark); margin-top: var(--s-4); }
em { font-style: italic; }

/* links */
.inline-link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease-out), color .2s;
}
.inline-link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--sage-dark); }
[data-theme="dark"] .inline-link:hover { color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; padding-block: var(--s-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.text-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.text-link:hover { background-size: 100% 1px; }
.text-link:hover::after { transform: translateX(4px); }
.text-link--light { color: var(--white); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-6);
  font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s, transform .15s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--sand); color: var(--navy); }
.btn--light:hover { background: var(--paper); box-shadow: inset 0 -2px 0 var(--sage); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-soft); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }

.call-link {
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; text-decoration: none;
  color: var(--white); white-space: nowrap; padding-block: var(--s-3);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.call-link span { font-weight: 400; color: var(--sand); margin-right: 4px; }
.call-link:hover { background-size: 100% 1px; }
.call-link--dark { color: var(--navy); }
.call-link--dark span { color: var(--sage-dark); }

/* the bespoke swash: the curve from the HT monogram */
.swash { display: block; overflow: visible; }
.swash path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.js .swash[data-reveal] path, .js .hero__swash path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-in-out) .2s; }
.js .swash.is-visible path, .js .hero.is-ready .hero__swash path { stroke-dashoffset: 0; }

/* ---------- reveal ---------- */
.js [data-reveal]:not(.swash) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--white);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s;
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s-6);
  height: var(--header-h);
  transition: height .35s var(--ease-out);
}
.site-header.is-scrolled { --header-h: 72px; background: var(--navy); box-shadow: 0 1px 0 var(--line-light); }
.site-header.is-scrolled.on-light { background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--line); }

.site-logo { position: relative; display: block; flex: none; line-height: 0; }
.site-logo__img { height: clamp(54px, 5.2vw, 72px); width: auto; max-width: 180px; /* enlarged 11 Nov 2026 at the firm's request */ object-fit: contain; transition: height .35s var(--ease-out), opacity .3s; }
.site-header.is-scrolled .site-logo__img { height: 56px; }
.site-logo__img--dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.site-header.on-light .site-logo__img--light { opacity: 0; }
.site-header.on-light .site-logo__img--dark { opacity: 1; }

.primary-nav { margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: var(--s-5); }
.primary-nav__list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; letter-spacing: .01em;
  padding-block: var(--s-3); white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 1px; }

.sub-toggle { width: 24px; height: 32px; display: grid; place-items: center; margin-left: 2px; }
.sub-toggle::before {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out);
}
.has-sub.is-open .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
.sub-menu {
  position: absolute; top: 100%; left: -20px; min-width: 280px;
  padding: var(--s-3); background: var(--navy); color: var(--white);
  box-shadow: inset 0 3px 0 var(--sand), 0 18px 40px -18px rgba(14, 34, 38, .6), 0 0 0 1px rgba(255, 255, 255, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.sub-menu a {
  display: block; padding: var(--s-3) var(--s-4); font-size: var(--fs-small); text-decoration: none; line-height: 1.4;
  border-left: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.sub-menu a:hover { background: rgba(255, 255, 255, .1); border-left-color: var(--sand); }
.sub-menu :focus-visible { outline-color: var(--white); }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* each law area's dropdown takes its homepage colour (4 Nov: replaces the single navy style of 23 Oct):
   family = sage, criminal = navy, education = sand */
#sub-family { background: var(--sage-dark); box-shadow: inset 0 3px 0 var(--sage-light), 0 18px 40px -18px rgba(14, 34, 38, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
#sub-family a:hover { background: rgba(255, 255, 255, .12); border-left-color: var(--sage-light); }
#sub-criminal { background: var(--navy); box-shadow: inset 0 3px 0 var(--white), 0 18px 40px -18px rgba(14, 34, 38, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
#sub-criminal a:hover { background: rgba(255, 255, 255, .1); border-left-color: var(--white); }
#sub-education { background: var(--sand); color: var(--navy); box-shadow: inset 0 3px 0 var(--navy), 0 18px 40px -18px rgba(14, 34, 38, .6), 0 0 0 1px rgba(14, 34, 38, .12); }
#sub-education a:hover { background: rgba(14, 34, 38, .08); border-left-color: var(--navy); }
#sub-education :focus-visible { outline-color: var(--navy); }
/* mobile menu: each area's sub-list is marked with its colour */
#mm-family { border-left-color: var(--sage-light); }
#mm-criminal { border-left-color: var(--white); }
#mm-education { border-left-color: var(--sand); }
@media (hover: hover) {
  .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub:hover .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
}

.btn--header { min-height: 44px; padding: 0 var(--s-5); background: var(--sand); color: var(--navy); }
.btn--header:hover { background: var(--paper); }
.site-header.on-light .btn--header { background: var(--navy); color: var(--white); }
.site-header.on-light .btn--header:hover { background: var(--navy-soft); }

.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; place-items: center; }
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.menu-toggle__bars { position: relative; transform: translateY(-4px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 8px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

@media (max-width: 1239px) {
  .primary-nav, .btn--header { display: none; }
  .menu-toggle { display: grid; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner {
  min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7);
  padding: calc(var(--header-h) + var(--s-5)) var(--gutter) var(--s-7);
  max-width: 640px;
}
.mobile-menu__list > li { border-bottom: 1px solid var(--line-light); }
.mobile-menu__list a { display: block; text-decoration: none; }
.mobile-menu__list > li > a, .mm-sub__row > a {
  font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.2; padding-block: var(--s-3); flex: 1;
}
.js .mobile-menu.is-open .mobile-menu__list > li { animation: mm-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
@keyframes mm-in { from { opacity: 0; transform: translateY(12px); } }
.mm-sub__row { display: flex; align-items: center; }
.mm-sub__toggle { width: 48px; height: 48px; display: grid; place-items: center; }
.mm-sub__toggle::before { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease-out); }
.mm-sub__toggle[aria-expanded="true"]::before { transform: translateY(3px) rotate(-135deg); }
.mm-sub__list { padding: 0 0 var(--s-4) var(--s-4); border-left: 1px solid var(--sand); margin-bottom: var(--s-4); }
.mm-sub__list a { padding-block: var(--s-2); font-size: var(--fs-body); color: var(--sage-light); }
.mobile-menu__foot { display: grid; gap: var(--s-3); }
.mobile-menu__contact { color: var(--white); text-decoration: none; font-size: var(--fs-small); padding-block: var(--s-2); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  /* the live homepage's pastel painting, under a navy wash that is strongest behind the text */
  background:
    linear-gradient(100deg, rgba(14, 34, 38, .94) 0%, rgba(14, 34, 38, .84) 40%, rgba(14, 34, 38, .38) 100%),
    var(--paint) center / cover var(--navy);
  color: var(--white);
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--s-6));
  padding-bottom: var(--s-7);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::after { /* hairline that anchors the hero to the page */
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-light);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero__statement {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-display); line-height: 1.08; letter-spacing: -0.012em;
  max-width: 17.5em; text-wrap: balance;
}
.hero__statement em { font-weight: 400; color: var(--sand); }
.hero__copy { max-width: 820px; }
.hero__rule { display: block; width: 72px; height: 1px; background: var(--sand); margin: var(--s-6) 0 var(--s-5); transform-origin: left; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--fs-h3); line-height: 1.2; letter-spacing: .005em;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }

.hero__media { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero__frame {
  position: relative; overflow: hidden;
  height: min(68svh, 640px); min-height: 360px;
  border-radius: 999px 999px 2px 2px; /* arched window: echoes the monogram's curve */
}
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 34, 38, 0) 55%, rgba(14, 34, 38, .45)); }
.hero__frame img { width: 100%; height: 115%; object-fit: cover; object-position: 40% 50%; will-change: transform; }
.hero__art { position: relative; }
.hero__swash { position: absolute; left: -22%; bottom: -14px; width: 78%; color: var(--sand); pointer-events: none; }
.hero__caption { margin-top: var(--s-6); font-size: var(--fs-eyebrow); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }

/* hero entrance */
.js .hero__statement .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 8px; margin-bottom: -8px; }
.js .hero__statement .w > span { display: inline-block; transform: translateY(105%); transition: transform .85s var(--ease-out); transition-delay: calc(var(--i) * 18ms + 80ms); }
.js .hero.is-ready .hero__statement .w > span { transform: none; }
.js .hero__title, .js .hero__actions, .js .hero__media { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero__rule { transform: scaleX(0); transition: transform .9s var(--ease-out) .45s; }
.js .hero.is-ready .hero__rule { transform: none; }
.js .hero.is-ready .hero__title { opacity: 1; transform: none; transition-delay: .5s; }
.js .hero.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: .66s; }
.js .hero.is-ready .hero__media { opacity: 1; transform: none; transition-delay: .2s; transition-duration: 1.2s; }

@media (min-width: 900px) and (max-height: 820px) {
  :root { --fs-display: clamp(2.1rem, 2.4vw + 1rem, 3.85rem); --fs-h3: clamp(1.35rem, .8vw + 1rem, 1.6rem); }
  .hero { padding-top: calc(var(--header-h) + var(--s-5)); }
  .hero__rule { margin: var(--s-5) 0 var(--s-4); }
  .hero__actions { margin-top: var(--s-5); }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero__frame { height: 62svh; min-height: 300px; }
  .hero__caption { display: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .hero { min-height: 88svh; padding-top: calc(var(--header-h) + 20px); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__frame { height: auto; aspect-ratio: 4 / 3; min-height: 0; border-radius: 240px 240px 2px 2px; }
  .hero__frame img { height: 115%; }
  .hero__swash { width: 70%; left: -8%; }
  .hero__rule { margin: var(--s-5) 0 var(--s-4); }
  .panel__body { padding: var(--s-5); }
}
@media (max-width: 479px) {
  .hero__actions { gap: var(--s-2) var(--s-5); }
  .hero__actions .btn { width: 100%; }
}

/* =========================================================
   SERVICES INTRO
   ========================================================= */
.services {
  padding: clamp(64px, 7vw, 96px) 0;
  background: var(--surface);
}
.surface-run > .services { background: var(--navy); color: var(--white); } /* its own brand-navy band, to divide it from the sections either side */
.services__intro > p:not(.services__lead) { color: rgba(255, 255, 255, .82); }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) var(--col-gap); align-items: start; }
.services__head .h2 { margin-top: var(--s-4); }
.services__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: var(--s-7); background: var(--paper-deep); }
.services__intro { max-width: 40em; display: grid; gap: var(--s-4); align-self: center; } /* sits in the middle of the heading + photo column */
.services__lead { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.4; color: var(--white); }
@media (max-width: 899px) { .services__grid { grid-template-columns: 1fr; } }

/* =========================================================
   PRACTICE PANELS
   ========================================================= */
.practice { background: var(--navy); }
.practice__track { display: flex; height: clamp(520px, 82svh, 760px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--white);
  transition: flex-grow .8s var(--ease-out);
  cursor: pointer; isolation: isolate;
}
.panel + .panel { border-left: 1px solid var(--line-light); }
.panel.is-active { flex-grow: 2.4; cursor: default; }
.panel__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.06); transition: transform 1.4s var(--ease-out), filter .8s var(--ease-out);
  filter: saturate(.75);
}
.panel.is-active .panel__img { transform: scale(1); filter: saturate(.95); }
.panel::before { /* navy overlay keeps type legible */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 34, 38, .25) 0%, rgba(14, 34, 38, .55) 45%, rgba(14, 34, 38, .94) 100%);
  transition: background-color .6s;
}
.panel:not(.is-active)::before { background-color: rgba(14, 34, 38, .35); }
.panel__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.panel__title {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.02;
  white-space: nowrap;
}
.panel__more { display: grid; gap: var(--s-4); max-width: 34em; }
.panel__more p { color: rgba(255, 255, 255, .88); }
.panel__links a { display: inline-block; font-size: var(--fs-small); color: var(--sand); text-decoration: none; padding-block: var(--s-1); border-bottom: 1px solid rgba(224, 193, 163, .45); transition: color .2s, border-color .2s; }
.panel__links a:hover { color: var(--white); border-color: var(--white); }

@media (min-width: 900px) {
  .panel__more { max-height: 420px; overflow: hidden; transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s, max-height .7s var(--ease-out); }
  .panel:not(.is-active) .panel__more { max-height: 0; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .2s, transform .2s, max-height .5s var(--ease-out), visibility 0s .5s; }
  .panel:not(.is-active) .panel__body { gap: 0; }
  .panel:not(.is-active) .panel__title { font-size: var(--fs-h3); }
  .panel__title { transition: font-size .6s var(--ease-out); }
  .panel:not(.is-active):hover .panel__img { transform: scale(1.03); }
}
@media (max-width: 899px) {
  .practice__track { flex-direction: column; height: auto; }
  .panel { min-height: 460px; cursor: default; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line-light); }
  .panel__img { transform: none; filter: saturate(.95); }
  .panel__title { white-space: normal; }
}

/* practice panels: each area shows its own close-up of the painting, in its natural colours */
.panel { background: var(--navy); transition: flex-grow .8s var(--ease-out); }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: var(--panel-art) var(--pos, center) / cover no-repeat;
}
.panel::before { background: linear-gradient(180deg, rgba(14, 34, 38, .05) 25%, rgba(14, 34, 38, .55) 55%, rgba(14, 34, 38, .92) 90%); }
.panel:not(.is-active)::before { background-color: rgba(14, 34, 38, .12); }
/* sections cut at full resolution from the original painting (sharp at tile size) */
.panel--criminal { --panel-art: url("../images/art/tile-criminal.webp"); --pos: 40% 55%; }
.panel--family { --panel-art: url("../images/art/tile-family.jpg"); --pos: 55% 50%; }
.panel--education { --panel-art: url("../images/art/tile-education.jpg"); --pos: 50% 60%; }

/* =========================================================
   ABOUT + PILLARS
   ========================================================= */
.about { padding: var(--section) 0 0; background: var(--surface); } /* situations follows it; its top padding sets the gap */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) calc(var(--col-gap) + var(--s-5)); align-items: center; }
.about__layer { position: relative; padding: 0 var(--s-5) var(--s-5) 0; }
.about__layer::before { /* the client's teal brush stroke, swept bottom-left to top-right behind the photo */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  /* stops a gutter short of the text column so the stroke never runs into the copy */
  top: -12%; right: calc(-1 * var(--col-gap)); bottom: -16%; left: -22%;
  background: url("../images/brush-stroke-teal.webp") center / contain no-repeat;
}
.about__media .caption { position: relative; z-index: 1; margin-top: var(--s-6); text-align: right; padding-right: 0; max-width: none; }
.about__frame { position: relative; z-index: 1; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 5; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.about__media:hover .about__frame img { transform: scale(1.03); }
.about__lede {
  margin-top: var(--s-5);
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-lede); line-height: 1.15;
  text-wrap: pretty;
}
.about__lede em { color: var(--sage-dark); }
.about__lede .inline-link:hover { color: var(--sage-dark); }
.about__body { margin-top: var(--s-5); max-width: 36em; font-size: var(--fs-lead); }

.pillars { /* full-width landscape band */
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface); border-block: 1px solid var(--line);
}
.pillar { padding: var(--s-8) var(--s-6) var(--s-9); color: var(--navy); transition: background-color .5s var(--ease-out); }
.pillar { position: relative; isolation: isolate; }
.pillar::after { /* the painting washes into the column on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s var(--ease-out);
  background: linear-gradient(rgba(240, 228, 215, .8), rgba(240, 228, 215, .8)), var(--pillar-art) center / cover;
}
/* each pillar reveals a different close-up of the painting */
.pillar:nth-child(1) { --pillar-art: url("../images/art/detail_gold_sage.webp"); }
.pillar:nth-child(2) { --pillar-art: url("../images/art/detail_teal_white.webp"); }
.pillar:nth-child(3) { --pillar-art: url("../images/art/banner_coral.webp"); }
.pillar:nth-child(4) { --pillar-art: url("../images/art/detail_pale_brushwork.webp"); }
.pillar:hover::after { opacity: 1; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:last-child { padding-right: calc(var(--s-6) + 56px); } /* clears the floating ReviewSolicitors tab */
.pillar::before { /* gold accent: draws in on reveal, runs full width on hover */
  content: ""; display: block; width: 40px; height: 1px; background: var(--sage); margin-bottom: var(--s-6);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .3s, width .5s var(--ease-out);
}
.pillar.is-visible::before { transform: none; }
.pillar:hover::before { width: 100%; transition-delay: 0s; }
.pillar__title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--navy); margin-bottom: var(--s-4); }
.pillar p { color: var(--ink); }
@media (max-width: 1099px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2) { padding-right: calc(var(--s-6) + 56px); }
}
@media (max-width: 599px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(2), .pillar:last-child { padding: var(--s-7) calc(var(--gutter) + 40px) var(--s-7) var(--gutter); }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:nth-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__frame { max-height: 560px; }
  .about__media { max-width: 520px; }
  .about__layer { padding: 0 var(--s-4) var(--s-4) 0; }
  .about__layer::before { top: -8%; right: -4%; bottom: -12%; left: -14%; } /* right edge kept inside the page on phones (it caused sideways scrolling) */
  .about__media .caption { margin-top: var(--s-7); padding-right: var(--s-4); }
}

/* =========================================================
   WHY
   ========================================================= */
.why { position: relative; isolation: isolate; overflow: clip; background: var(--navy); /* clip, not hidden, keeps the sticky heading working */ color: var(--white); padding: var(--section) 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--col-gap); align-items: start; }
.why__head { position: sticky; top: calc(72px + var(--s-7)); }
.why__title { margin-top: var(--s-4); }
.why-list { border-top: 1px solid var(--line-light); }
.why__cta { grid-column: 2; margin-top: calc(var(--s-5) - var(--s-7)); } /* sits 24px under the list (grid row gap is 48px) */
.why-list li { border-bottom: 1px solid var(--line-light); }
.why-list span {
  position: relative; display: block;
  padding: var(--s-5) 0;
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-lede); line-height: 1.15;
  transition: padding-left .5s var(--ease-out), color .4s;
}
.why-list span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--sand);
  transition: width .5s var(--ease-out);
}
@media (hover: hover) {
  .why-list li:hover span { padding-left: var(--s-7); color: var(--sand); }
  .why-list li:hover span::before { width: 28px; }
}
@media (max-width: 899px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
  .why__cta { grid-column: auto; margin-top: calc(var(--s-5) - var(--s-7)); }
}

.why::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.why::before { /* the full painting (same file as the hero, so already cached) under a brand-dark wash */
  z-index: -2; background: linear-gradient(rgba(14, 34, 38, .78), rgba(14, 34, 38, .78)), var(--paint) center / cover;
}

/* =========================================================
   FIRST STEPS (how we work with you)
   ========================================================= */
.steps-section { padding: var(--section) 0; }
.steps-section__head { max-width: 40em; }
.steps-section__head .h2 { margin-top: var(--s-4); }
.steps-section__intro { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--sage-dark); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7); margin-top: var(--s-8); padding: var(--s-7) 0 0; list-style: none; }
/* the teal brush stroke behind the founders photo, straightened into a thin swipe (tapered start, dry-brush tail) */
.steps::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 16px;
  background: url("../images/brush-line-teal.webp") 0 0 / 100% 100% no-repeat;
}
.step__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; color: var(--navy); }
.step p { margin-top: var(--s-3); color: var(--ink); }
/* with JS: the swipe draws in once the list is on screen, and each step darkens as it passes */
.js .steps::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease-in-out); }
.js .steps.is-visible::before { clip-path: inset(0); }
.js .step__title, .js .step p { color: var(--sage-dark); transition: color .5s; transition-delay: var(--at, 0s); }
.js .steps.is-visible .step__title { color: var(--navy); }
.js .steps.is-visible .step p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .js .steps::before, .js .step__title, .js .step p { transition: none; }
}

/* =========================================================
   SITUATIONS WE HELP WITH
   ========================================================= */
.situations { padding: var(--section) 0; } /* last in its run, straight above the dark Why section */
.situations__head .h2 { margin-top: var(--s-4); }
.situations__grid { margin-top: var(--s-8); border-top: 1px solid var(--line); }
/* index rows: a thin area-colour rule on the left; on hover the row fills with the area colour */
.sit {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-6); align-items: center;
  position: relative; isolation: isolate; padding: var(--s-6) var(--s-5) var(--s-6) var(--s-6);
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.sit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--area);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
.sit::after { content: ""; position: absolute; left: 0; top: var(--s-5); bottom: var(--s-5); width: 3px; background: var(--area); }
.sit:hover::before, .sit:focus-visible::before { transform: scaleX(1); }
.sit:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
/* Family uses sage-dark, not sage: white small text on sage fails AA */
.sit--criminal { --area: var(--navy); --area-fg: var(--white); --area-fg2: rgba(255, 255, 255, .76); }
.sit--family { --area: var(--sage-dark); --area-fg: var(--white); --area-fg2: rgba(255, 255, 255, .86); }
.sit--education { --area: var(--sand); --area-fg: var(--navy); --area-fg2: rgba(14, 34, 38, .8); }
.sit__area { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); transition: color .35s; }
.sit__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; color: var(--navy); transition: color .35s, transform .45s var(--ease-out); }
.sit p { font-size: var(--fs-small); color: var(--sage-dark); transition: color .35s; }
.sit__more { justify-self: end; white-space: nowrap; font-size: var(--fs-small); font-weight: 600; color: var(--navy); transition: color .35s; }
.sit__more::after { content: "→"; display: inline-block; margin-left: .4em; transition: transform .3s var(--ease-out); }
.sit:hover .sit__title, .sit:focus-visible .sit__title { transform: translateX(var(--s-2)); }
.sit:hover .sit__more::after, .sit:focus-visible .sit__more::after { transform: translateX(4px); }
.sit:hover .sit__title, .sit:hover .sit__more, .sit:focus-visible .sit__title, .sit:focus-visible .sit__more { color: var(--area-fg); }
.sit:hover .sit__area, .sit:hover p, .sit:focus-visible .sit__area, .sit:focus-visible p { color: var(--area-fg2); }
@media (prefers-reduced-motion: reduce) { .sit::before, .sit__title, .sit__more::after { transition: none; } }

/* =========================================================
   ACCREDITED AND REGULATED
   ========================================================= */
.trust { padding: var(--section) 0; background: var(--surface); }
.trust__head .h2 { margin-top: var(--s-4); }
.trust--intro { padding: 0; } /* full width, flush under the hero and straight onto the sand Our Services band */
.trust--intro .trust__list { margin-top: 0; border-block: 0; } /* the sand band below now marks its lower edge */
.trust--intro .trust__item { padding: var(--s-7) var(--gutter); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s-8); list-style: none; padding: 0; border-block: 1px solid var(--line); }
.trust__item { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-7) var(--s-6); }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__badge { width: 112px; height: 112px; object-fit: contain; } /* enlarged 11 Nov 2026 at the firm's request; a sharper file is coming from Louise */
.trust__mark { display: flex; align-items: center; height: 112px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--navy); }
.trust__logo { display: block; width: 100%; max-width: 188px; height: auto; }
.trust__title { font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.trust__item p { font-size: var(--fs-small); color: var(--sage-dark); }

@media (max-width: 899px) {
  .steps, .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sit { grid-template-columns: 1fr; gap: var(--s-2); }
  .sit__more { justify-self: start; margin-top: var(--s-2); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps, .trust__list { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item { padding: var(--s-6) 0; }
  .trust__badge, .trust__mark { height: 84px; width: auto; font-size: 2.2rem; }
}

/* =========================================================
   ARTICLES
   ========================================================= */
.articles { padding: var(--section) 0; }
.articles__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); align-items: start; margin-bottom: var(--s-8); } /* same two columns as the cards below, so the intro lines up with the second card and the title with the first */
.articles__head .h2 { margin-top: var(--s-4); }
.articles__intro { display: grid; justify-items: start; gap: var(--s-5); max-width: 36em; padding-top: .5em; } /* first line of the intro level with the eyebrow */
.articles__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.article { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; color: var(--ink); }
.article__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 2px; margin-bottom: var(--s-3); background: var(--paper-deep); }
.article__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--ease-out), filter .8s; }
.article:hover .article__media img { transform: scale(1.045); filter: saturate(1); }
.article__tag { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); }
.article__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--navy); transition: color .3s; }
.article:hover .article__title { color: var(--sage-dark); }
.article__excerpt { color: var(--sage-dark); max-width: 36em; }
.article__more {
  align-self: flex-start; margin-top: var(--s-2); font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.article__more::after { content: " →"; }
.article:hover .article__more { background-size: 100% 1px; }
@media (max-width: 899px) {
  .articles__head { grid-template-columns: 1fr; margin-bottom: var(--s-7); }
  .articles__track {
    display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-4);
    scrollbar-width: thin; scrollbar-color: var(--sage) transparent;
  }
  .article { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
}

/* =========================================================
   FAQ
   ========================================================= */
.surface-run { background: var(--surface); }
.surface-run > section { background: none; }
.faq { padding: var(--section) 0; } /* last section before the footer */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7) var(--col-gap); align-items: start; }
.faq__head { position: static; }
.faq__head .h2 { margin-top: var(--s-4); }
.faq__help { margin-top: var(--s-5); max-width: 24em; color: var(--sage-dark); }
.faq__help .inline-link { color: var(--navy); white-space: nowrap; }

.tabs { display: flex; gap: var(--s-6); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; padding: var(--s-4) 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em;
  color: var(--sage-dark); transition: color .25s;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--art-warm-band) 30% 50% / 600px auto; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--navy); }
.tab[aria-selected="true"]::after { transform: none; }
.tab-panel { animation: panel-in .5s var(--ease-out); }

/* area colours (match the practice panels): dot + underline on tabs, a quiet tinted card per panel */
#tab-family, #panel-family { --area: var(--sage); --area-wash: rgba(107, 131, 127, .06); --pos: 55% 20%; }
#tab-criminal, #panel-criminal { --area: var(--navy); --area-wash: rgba(14, 34, 38, .03); --pos: 8% 30%; }
#tab-education, #panel-education { --area: var(--sand); --area-wash: rgba(224, 193, 163, .14); --pos: 95% 85%; }
.tab { display: inline-flex; align-items: center; gap: var(--s-2); }
.tab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--area); flex: none; }
.tab::after { background: var(--area); }
.tab-panel {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--s-5); padding: var(--s-2) var(--s-6) var(--s-3); border-radius: 2px;
  /* a light panel on the shared section background, tinted by the area colour */
  background: linear-gradient(var(--area-wash), var(--area-wash)), rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tab-panel__edge { /* side strip styled like the practice tiles: the painting printed in the area colour */
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 1;
  background: var(--area); isolation: isolate; overflow: hidden;
}
.tab-panel__edge::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paint) var(--pos) / auto 230% no-repeat; filter: grayscale(1) contrast(1.15);
  mix-blend-mode: soft-light; opacity: .95;
}
.tab-panel .acc:last-child { border-bottom: 0; }
.tab-panel .acc::before { /* open-answer edge: the painting printed in the area colour, like the tiles */
  background: url("../images/pastel-oil-paint-texture-grey.jpg") var(--pos) / auto 900% no-repeat, var(--area);
  background-blend-mode: soft-light;
}
@media (max-width: 599px) { .tab-panel { padding: var(--s-1) var(--s-4) var(--s-2); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

.acc { position: relative; border-bottom: 1px solid var(--line); padding-left: var(--s-5); }
.acc::before { /* painted edge appears when the answer opens */
  content: ""; position: absolute; left: 0; top: var(--s-4); bottom: var(--s-4); width: 3px; border-radius: 2px;
  background: var(--paint) 40% 50% / 300px auto; transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out);
}
.acc.is-open::before { transform: none; }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  width: 100%; padding: var(--s-5) 0; text-align: left;
  font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.3; color: var(--navy);
  transition: color .2s;
}
.acc__btn:hover { color: var(--sage-dark); }
.acc__btn::after { /* plus to minus */
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease-out), background-size .4s var(--ease-out);
}
.acc__btn[aria-expanded="true"]::after { transform: rotate(180deg); background-size: 14px 1.5px, 1.5px 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease-out), visibility 0s .45s; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 var(--s-8) var(--s-5) 0; max-width: 42em; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
@media (max-width: 899px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .acc__panel p { padding-right: 0; }
}

/* =========================================================
   CLOSING CTA
   ========================================================= */
.cta { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 78svh, 720px); }
.cta__media { position: relative; overflow: hidden; }
.cta__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 35%; will-change: transform; }
.cta__media::after { /* soft navy edge where the photo meets the copy */
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 34, 38, 0) 70%, rgba(14, 34, 38, .55));
}
.js .cta__media[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js .cta__media.is-visible { clip-path: inset(0 0 0 0); }
.cta__copy {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-9) var(--col-gap);
}
.cta__title { margin-top: var(--s-4); }
.cta__text { margin-top: var(--s-5); max-width: 30em; font-size: var(--fs-lead); color: rgba(255, 255, 255, .85); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-7); }

/* sheen sweep across the primary button on hover */
.btn--sheen { position: relative; overflow: hidden; }
.btn--sheen::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  transform: skewX(-20deg); transition: left .8s var(--ease-out);
}
.btn--sheen:hover::after { left: 130%; }

/* slow ribbon of the three areas + slogan */
.cta__ticker { /* pastel band */
  padding-block: var(--s-5); overflow: hidden;
  background: linear-gradient(rgba(240, 228, 215, .66), rgba(240, 228, 215, .66)), var(--art-warm-band) center / cover;
}
.cta__ticker-row { display: flex; width: max-content; animation: cta-ticker 60s linear infinite; }
.cta__ticker:hover .cta__ticker-row { animation-play-state: paused; }
.cta__ticker-group { display: flex; flex: none; }
.cta__ticker-group li {
  display: flex; align-items: center; gap: var(--s-6); padding-right: var(--s-6);
  font-family: var(--serif); font-style: italic; font-size: var(--fs-h3); color: var(--navy); white-space: nowrap;
}
.cta__ticker-group li::after { /* small gold dot between items */
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none;
}
@keyframes cta-ticker { to { transform: translateX(-50%); } }

@media (max-width: 899px) {
  .cta__grid { grid-template-columns: 1fr; min-height: 0; }
  .cta__media { aspect-ratio: 4 / 3; }
  .cta__media::after { background: linear-gradient(180deg, rgba(14, 34, 38, 0) 70%, rgba(14, 34, 38, .6)); }
  .cta__copy { padding: var(--s-8) var(--gutter); }
}
@media (max-width: 479px) { .cta__actions .btn, .cta-row .btn { width: 100%; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: var(--s-9) 0 var(--s-6); font-size: var(--fs-small); }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line-light); }
.site-footer__logo img { height: 72px; width: auto; }
.site-footer__slogan { font-family: var(--serif); font-style: italic; font-size: var(--fs-h3); color: var(--white); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s-7); padding-block: var(--s-7); }
.footer-h { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: var(--s-4); }
.footer-links li + li { margin-top: var(--s-1); }
.footer-links a {
  display: inline-block; padding-block: var(--s-1); text-decoration: none; color: var(--white);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out);
}
.footer-links a:hover { background-size: 100% 1px; }
.footer-address, .footer-hours { margin-top: var(--s-4); line-height: 1.6; }
.site-footer__badge img { width: 150px; height: 150px; border-radius: 2px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .7); }
.site-footer__reg { max-width: 60em; }
@media (max-width: 1023px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* =========================================================
   MOBILE CONTACT BAR
   ========================================================= */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  .mobile-bar {
    position: fixed; left: var(--s-3); right: var(--s-3); bottom: calc(var(--s-3) + env(safe-area-inset-bottom)); z-index: 80;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px;
    background: var(--line-light); border-radius: 2px; overflow: hidden;
    box-shadow: 0 16px 32px -12px rgba(0, 4, 7, .5);
    transform: translateY(140%); transition: transform .5s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: grid; place-items: center; min-height: 52px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; text-decoration: none; }
  .mobile-bar__call { background: var(--navy); color: var(--white); }
  .mobile-bar__cta { background: var(--sand); color: var(--navy); }
  .site-footer { padding-bottom: calc(var(--s-6) + 76px); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not(.swash), .js .hero__title, .js .hero__actions, .js .hero__media { opacity: 1; transform: none; }
  .js .hero__statement .w > span, .js .hero__rule { transform: none; }
  .js .swash path { stroke-dashoffset: 0 !important; }
  .hero__frame img { transform: none !important; }
  .cta__ticker-row { animation: none; }
  .js .cta__media[data-reveal] { clip-path: none; }
  .cta__media img { transform: none !important; }
}

/* =========================================================
   INNER SERVICE PAGES (first used by divorce-solicitors.html)
   New classes only: nothing here changes the homepage.
   ========================================================= */
/* shorter version of the homepage hero, same painting and navy wash */
.hero--page { min-height: clamp(460px, 68svh, 660px); padding-bottom: var(--s-8); }
.hero--page .hero__statement { max-width: 12em; }
.hero--page .hero__title { font-weight: 400; max-width: 28em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); font-size: var(--fs-small); color: rgba(255, 255, 255, .72); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--sand); }
.breadcrumb a { text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

/* two-column editorial section: heading left, reading column right */
.page-section { padding: var(--section) 0; }
.page-section__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--col-gap); align-items: start; }
.page-section__head .h2 { margin-top: var(--s-4); }
.page-section__body { display: grid; gap: var(--s-4); max-width: 40em; }
.page-section__lead { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.4; color: var(--navy); }

/* key points as ruled rows (serif term left, plain answer right), not cards */
.facts { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.facts__term { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; color: var(--navy); }
.facts li p { color: var(--sage-dark); }

/* navy "what to expect" band: reuses the Our services layout from the homepage */
.expect { padding: var(--section) 0; background: var(--navy); color: var(--white); }
.expect .services__intro > p:not(.services__lead) { color: rgba(255, 255, 255, .82); }

/* fixed fee: the price set large in the display serif */
.fee__price { font-family: var(--serif); font-weight: 300; font-size: var(--fs-display); line-height: 1; color: var(--navy); }
.fee__price span { margin-left: var(--s-2); font-size: var(--fs-h4); font-weight: 400; color: var(--sage-dark); }
.fee__note { font-size: var(--fs-lead); }

@media (max-width: 899px) {
  .page-section__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .facts li { grid-template-columns: 1fr; }
}

/* inner pages, round 2: process timing labels, dark key-point rows, sand pull-quote band */
.step__when { display: block; margin-bottom: var(--s-3); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); }
.steps-section__note { margin-top: var(--s-7); max-width: 40em; color: var(--sage-dark); }
.facts--on-dark { border-top-color: var(--line-light); }
.facts--on-dark li { border-bottom-color: var(--line-light); }
.facts--on-dark .facts__term { color: var(--white); }
.facts--on-dark li p { color: rgba(255, 255, 255, .82); }
.page-section--surface { background: var(--surface); } /* the white painting texture used across the site */
.pullquote { margin: 0; }
.pullquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 1.4vw + 1.1rem, 2.5rem); line-height: 1.2; color: var(--navy); text-wrap: balance; } /* smaller than the h2 size it used to share (Lilly, 24 Nov 2026) */
.pullquote p::before { content: "“"; color: var(--sage-dark); }
.pullquote p::after { content: "”"; color: var(--sage-dark); }
.pullquote figcaption { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--sage-dark); }
.pullquote figcaption strong { display: block; font-weight: 600; color: var(--navy); }
.profile__role { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.4; color: var(--sage-dark); }
.page-section__head .pullquote { margin-top: var(--s-7); }
/* the expect band's photo column stays in view while the longer text column scrolls past it */
@media (min-width: 900px) { .expect .services__head { position: sticky; top: calc(72px + var(--s-7)); } }

/* inner pages, round 3: more navy bands + the client's painting details */
.page-section--navy, .steps-section--navy { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: var(--white); }
/* process band: a dark close-up of the painting under the navy wash (same treatment as the homepage Why band) */
.steps-section--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14, 34, 38, .9), rgba(14, 34, 38, .95)), url("../images/art/detail_dark_teal.webp") center / cover; }
.steps-section--navy .steps-section__intro, .steps-section--navy .steps-section__note { color: rgba(255, 255, 255, .82); }
.steps-section--navy .step__when { color: var(--sand); }
.steps-section--navy .step__title { color: var(--white); }
.steps-section--navy .step p { color: rgba(255, 255, 255, .82); }
.js .steps-section--navy .step__title, .js .steps-section--navy .step p { color: rgba(255, 255, 255, .4); }
.js .steps-section--navy .steps.is-visible .step__title { color: var(--white); }
.js .steps-section--navy .steps.is-visible .step p { color: rgba(255, 255, 255, .82); }
/* navy two-column band (fixed fee) */
.page-section--navy .page-section__body > p:not([class]) { color: rgba(255, 255, 255, .82); }
.page-section--navy .fee__price { color: var(--white); }
.page-section--navy .fee__price span { color: var(--sand); }
/* photos from the firm's shoot, set under a section heading */
.page-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: var(--s-7); background: var(--paper-deep); }
/* logo divider: the HT monogram centred between two hairlines; the sections either side close up around it */
.logo-divider { display: flex; align-items: center; gap: var(--s-5); }
.logo-divider__line { flex: 1; height: 1px; background: var(--line); }
.logo-divider__mark { width: 56px; height: auto; flex: none; }
.faq--before-divider { padding-bottom: var(--s-8); }
.logo-divider + .situations { padding-top: var(--s-8); }
/* client reviews: three side by side under the heading, each under a hairline; on phones they scroll left to right */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); margin-top: var(--s-8); }
.review { display: flex; flex-direction: column; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.review__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; color: var(--navy); }
.review__quote { margin: 0; }
.review__quote p { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.45; color: var(--ink); }
@media (max-width: 899px) {
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); scrollbar-width: thin; }
  .review { scroll-snap-align: start; }
}
.page-section--before-divider, .steps-section--before-divider { padding-bottom: var(--s-8); }
.logo-divider + .page-section, .logo-divider + .contact { padding-top: var(--s-8); }
/* pull-quote on a navy band */
.page-section--navy .page-section__lead { color: var(--white); }
.page-section--navy .pullquote p { color: var(--white); }
.page-section--navy .pullquote p::before, .page-section--navy .pullquote p::after { color: var(--sand); }
.page-section--navy .pullquote figcaption { color: rgba(255, 255, 255, .72); }
.page-section--navy .pullquote figcaption strong { color: var(--white); }
.page-section--navy .inline-link:hover { color: var(--sand); }
/* portrait photos set in the landscape photo slot: keep the face in frame */
.page-photo--portrait { object-position: 50% 22%; }

/* =========================================================
   BLOG ARTICLES (articles/*.html)
   ========================================================= */
.hero--article { min-height: clamp(420px, 60svh, 600px); }
.hero--article .hero__statement { font-size: var(--fs-h2); max-width: 18em; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-size: var(--fs-small); color: rgba(255, 255, 255, .78); }
.article-meta li + li::before { content: "·"; margin-right: var(--s-5); color: var(--sand); }
.article-meta strong { font-weight: 600; color: var(--white); }

.post { padding: var(--section) 0 var(--s-8); } /* closes up to the logo divider below */
.post__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-7) var(--col-gap); align-items: start; }
.post__figure { margin: 0 0 var(--s-7); }
.post__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: var(--paper-deep); }
.post__figure figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--sage-dark); }

/* reading column */
.prose { max-width: 40em; font-size: var(--fs-lead); line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: var(--s-5); }
.prose .standfirst { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.45; color: var(--navy); }
.prose h2 { margin-top: var(--s-8); font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.2; color: var(--navy); scroll-margin-top: 120px; }
.prose h2 + * { margin-top: var(--s-4); }
.prose strong { font-weight: 600; color: var(--navy); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--sage); }
.prose a:hover { color: var(--sage-dark); }
.prose ul { display: grid; gap: var(--s-3); }
.prose ul li { position: relative; padding-left: var(--s-6); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 16px; height: 1px; background: var(--sage-dark); }
.prose blockquote { margin: var(--s-7) 0; padding-left: var(--s-6); border-left: 2px solid var(--sand); }
.prose blockquote p { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.45; color: var(--navy); }
.prose .note { padding: var(--s-5) var(--s-6); background: var(--sand-wash); font-size: var(--fs-body); line-height: 1.65; }

/* sticky side column: author, contents, call to action */
.post__aside { position: sticky; top: calc(72px + var(--s-7)); display: grid; gap: var(--s-6); }
.aside-block { padding-top: var(--s-5); border-top: 1px solid var(--line); }
.aside-block .eyebrow { margin-bottom: var(--s-4); }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author__name { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; color: var(--navy); }
.author__role { font-size: var(--fs-small); color: var(--sage-dark); }
.toc { display: grid; gap: var(--s-2); font-size: var(--fs-small); }
.toc a { color: var(--ink); text-decoration: none; transition: color .2s; }
.toc a:hover { color: var(--sage-dark); text-decoration: underline; }
.aside-cta { padding: var(--s-6); background: var(--navy); color: var(--white); }
.aside-cta p { margin-top: var(--s-3); font-size: var(--fs-small); color: rgba(255, 255, 255, .82); }
.aside-cta .btn { margin-top: var(--s-5); }

/* author bio at the foot of the article */
.post__bio { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-6); align-items: start; margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line); max-width: 40em; }
.post__bio img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.post__bio p { margin-top: var(--s-3); color: var(--ink); }

@media (max-width: 899px) {
  .post__grid { grid-template-columns: minmax(0, 1fr); }
  .post__aside { position: static; }
}
@media (max-width: 560px) {
  .post__bio { grid-template-columns: 1fr; }
}
.aside-cta .author__name { color: var(--white); }
.logo-divider + .articles { padding-top: var(--s-8); }

/* =========================================================
   BLOG HUB (blog.html)
   ========================================================= */
.blog-list { padding: var(--section) 0; }
.blog-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.blog-list__count { font-size: var(--fs-small); color: var(--sage-dark); }
/* the featured article: image left, text right, in one ruled row */
.article--feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6) var(--col-gap); align-items: center; margin-top: var(--s-7); }
.article--feature .article__media { margin-bottom: 0; }
.article--feature .article__body { display: flex; flex-direction: column; gap: var(--s-3); }
.article--feature .article__title { font-size: var(--fs-h2); line-height: 1.08; }
.article--feature .article__meta { font-size: var(--fs-small); color: var(--sage-dark); }
@media (max-width: 899px) {
  .article--feature { grid-template-columns: 1fr; }
  .article--feature .article__title { font-size: var(--fs-h3); }
}

/* =========================================================
   LAW-AREA COLOURS (match the homepage practice colours:
   family = sage, criminal = navy, education = sand)
   Set by a class on <body>: area-family / area-criminal.
   ========================================================= */
.area-family {
  --area-btn: var(--sage-dark); --area-btn-fg: var(--white); --area-btn-hover: var(--navy);         /* buttons on light backgrounds */
  --area-on-dark: var(--sage-light); --area-on-dark-fg: var(--navy); --area-on-dark-hover: var(--white); /* buttons and accents on navy */
}
.area-criminal {
  --area-btn: var(--navy); --area-btn-fg: var(--white); --area-btn-hover: var(--navy-soft);
  --area-on-dark: var(--white); --area-on-dark-fg: var(--navy); --area-on-dark-hover: var(--paper);
}
/* buttons */
:is(.area-family, .area-criminal) .btn--dark { background: var(--area-btn); color: var(--area-btn-fg); }
:is(.area-family, .area-criminal) .btn--dark:hover { background: var(--area-btn-hover); }
:is(.area-family, .area-criminal) .btn--light { background: var(--area-on-dark); color: var(--area-on-dark-fg); }
:is(.area-family, .area-criminal) .btn--light:hover { background: var(--area-on-dark-hover); box-shadow: none; }
:is(.area-family, .area-criminal) .btn--outline { border-color: var(--area-btn); color: var(--area-btn); }
:is(.area-family, .area-criminal) .btn--outline:hover { background: var(--area-btn); color: var(--area-btn-fg); }
:is(.area-family, .area-criminal) .btn--header { background: var(--area-on-dark); color: var(--area-on-dark-fg); }
:is(.area-family, .area-criminal) .btn--header:hover { background: var(--area-on-dark-hover); }
:is(.area-family, .area-criminal) .site-header.on-light .btn--header { background: var(--area-btn); color: var(--area-btn-fg); }
:is(.area-family, .area-criminal) .site-header.on-light .btn--header:hover { background: var(--area-btn-hover); }
:is(.area-family, .area-criminal) .mobile-bar__cta { background: var(--area-on-dark); color: var(--area-on-dark-fg); }
/* accents on navy (were sand, which is the education colour) */
:is(.area-family, .area-criminal) .eyebrow--on-dark,
:is(.area-family, .area-criminal) .hero__statement em,
:is(.area-family, .area-criminal) .call-link span,
:is(.area-family, .area-criminal) .steps-section--navy .step__when,
:is(.area-family, .area-criminal) .page-section--navy .fee__price span,
:is(.area-family, .area-criminal) .page-section--navy .pullquote p::before,
:is(.area-family, .area-criminal) .page-section--navy .pullquote p::after { color: var(--area-on-dark); }
:is(.area-family, .area-criminal) .hero__rule { background: var(--area-on-dark); }
:is(.area-family, .area-criminal) .breadcrumb li + li::before { color: var(--area-on-dark); }
/* the eyebrow line and links on light backgrounds take the area colour too */
.area-criminal .eyebrow:not(.eyebrow--on-dark) { color: var(--navy); }
.area-family .prose blockquote { border-left-color: var(--sage); }
.area-family .prose .note { background: var(--sage-wash); }

/* Family law pages: the dark bands are sage instead of navy (homepage family colour, darker shade so white text passes AA) */
.area-family {
  --area-band: var(--sage-dark);
  --area-on-dark: var(--white); --area-on-dark-fg: var(--navy); --area-on-dark-hover: var(--paper); /* buttons and accents sitting on sage */
}
.area-family .hero {
  background:
    linear-gradient(100deg, rgba(79, 102, 100, .95) 0%, rgba(79, 102, 100, .86) 40%, rgba(79, 102, 100, .42) 100%),
    var(--paint) center / cover var(--sage-dark);
}
.area-family .expect,
.area-family .page-section--navy,
.area-family .steps-section--navy,
.area-family .cta,
.area-family .aside-cta { background: var(--area-band); }
.area-family .steps-section--navy::before { background: linear-gradient(rgba(79, 102, 100, .9), rgba(79, 102, 100, .95)), url("../images/art/detail_dark_teal.webp") center / cover; }
.area-family .cta__media::after { background: linear-gradient(90deg, rgba(79, 102, 100, 0) 70%, rgba(79, 102, 100, .55)); }
@media (max-width: 899px) { .area-family .cta__media::after { background: linear-gradient(180deg, rgba(79, 102, 100, 0) 70%, rgba(79, 102, 100, .6)); } }
.area-family .site-header.is-scrolled:not(.on-light) { background: var(--area-band); }
/* small text on sage lifted so it passes contrast */
.area-family .page-section--navy .pullquote figcaption,
.area-family .article-meta { color: rgba(255, 255, 255, .86); }
.area-family .breadcrumb { color: rgba(255, 255, 255, .86); }
/* the fixed mobile call bar sits over light and sage sections alike, so it keeps a solid colour */
.area-family .mobile-bar__cta { background: var(--sage-dark); color: var(--white); }

/* Education law pages: sand (the homepage education colour). White fails on sand, so sand bands carry navy text and navy buttons.
   The hero keeps the painting under navy with sand accents, the same pairing as the homepage hero. */
.area-education .btn--dark { background: var(--sand); color: var(--navy); }                 /* buttons on light backgrounds */
.area-education .btn--dark:hover { background: var(--navy); color: var(--white); }
.area-education .site-header.on-light .btn--header { background: var(--sand); color: var(--navy); }
.area-education .site-header.on-light .btn--header:hover { background: var(--navy); color: var(--white); }
.band--sand { background: var(--sand); color: var(--navy); }
.area-education .cta.band--sand { background: var(--sand); color: var(--navy); }
.band--sand .btn--dark, .area-education .band--sand .btn--dark { background: var(--navy); color: var(--white); }
.band--sand .btn--dark:hover, .area-education .band--sand .btn--dark:hover { background: var(--navy-soft); color: var(--white); }
.band--sand .eyebrow, .band--sand .step__when, .band--sand .steps-section__intro, .band--sand .facts li p,
.band--sand .pullquote figcaption, .band--sand .fee__price span, .band--sand .caption { color: var(--navy-soft); }
.band--sand .facts, .band--sand .facts li { border-color: rgba(14, 34, 38, .22); }
.band--sand .services__lead, .band--sand .cta__text { color: var(--navy); }
.band--sand .services__intro > p:not(.services__lead) { color: var(--navy-soft); }
.band--sand .pullquote p::before, .band--sand .pullquote p::after { color: var(--navy-soft); }
.band--sand .inline-link:hover { color: var(--navy-soft); }
.cta.band--sand .cta__media::after { background: linear-gradient(90deg, rgba(224, 193, 163, 0) 70%, rgba(224, 193, 163, .55)); }
@media (max-width: 899px) { .cta.band--sand .cta__media::after { background: linear-gradient(180deg, rgba(224, 193, 163, 0) 70%, rgba(224, 193, 163, .6)); } }
.expect.band--sand { background: var(--sand); color: var(--navy); }

/* =========================================================
   TEAM PAGE (team.html)
   ========================================================= */
.team { padding: var(--section) 0; }
.team__head { max-width: 40em; }
.team__head .h2 { margin-top: var(--s-4); }
.team__intro { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--sage-dark); }
/* directors: two large profiles side by side */
.team-directors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--col-gap); margin-top: var(--s-8); }
.person { display: flex; flex-direction: column; gap: var(--s-3); }
.person__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 2px; background: var(--paper-deep); margin-bottom: var(--s-3); }
.person__area { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); }
.person__area::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--area, var(--sage-dark)); flex: none; }
.person__area--family { --area: var(--sage-dark); }
.person__area--criminal { --area: var(--navy); }
.person__area--education { --area: var(--sand); }
.person__name { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--navy); }
.person__role { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.4; color: var(--sage-dark); }
.person p:not([class]) { color: var(--ink); }
.person .facts { margin-top: var(--s-3); }
.person .text-link { align-self: flex-start; margin-top: var(--s-2); }
/* the wider team: three smaller profiles */
.team-members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-7); margin-top: var(--s-8); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.team-members .person__name { font-size: var(--fs-h4); }
.team-members .person__role { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--sage-dark); }
@media (max-width: 899px) {
  .team-directors { grid-template-columns: 1fr; }
  .team-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .team-members { grid-template-columns: 1fr; }
}
/* team: four in the wider team on wide screens; a placeholder until a photo is supplied */
/* three wider-team members since Rob was removed (11 Nov 2026), so the default three-column grid applies */
.person__photo--placeholder { display: grid; place-items: center; background: var(--sage-wash); }
.person__photo--placeholder img { width: 72px; height: auto; opacity: .55; }
.person__area--all { --area: var(--sage); }

/* =========================================================
   CONTACT PAGE (contact.html)
   ========================================================= */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8) var(--col-gap); align-items: start; }
.contact__head .h2 { margin-top: var(--s-4); }
.contact__note { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: var(--sand-wash); font-size: var(--fs-small); color: var(--navy); }
.contact__note a { color: var(--navy); font-weight: 600; }
.contact-list { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-2) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.contact-list__term { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; color: var(--navy); }
.contact-list a { color: var(--navy); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.contact-list a:hover { color: var(--sage-dark); }
.contact-list address, .contact-list p { color: var(--ink); }
.contact__map { margin-top: var(--s-6); }
.contact__map img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.contact__map figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--sage-dark); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
/* enquiry form */
.enquiry { padding: var(--s-7); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 3px 0 var(--navy); }
.enquiry .h2 { font-size: var(--fs-h3); }
.enquiry__intro { margin-top: var(--s-3); color: var(--sage-dark); }
.enquiry__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-6); }
.field { display: grid; gap: var(--s-2); }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--navy); }
.field label span { color: var(--sage-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4);
  font: inherit; font-size: var(--fs-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(14, 34, 38, .12); }
.enquiry__consent { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--sage-dark); }
.enquiry__consent a { color: var(--navy); }
.enquiry .cta-row { margin-top: var(--s-5); }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .enquiry { padding: var(--s-6) var(--s-5); }
}
@media (max-width: 560px) {
  .enquiry__fields { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; }
}
.enquiry__status { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); background: var(--sage-wash); color: var(--navy); font-size: var(--fs-small); }
.enquiry__status[hidden] { display: none; }
/* Criminal Law hub: Law Society badge beside the accreditation text */
.accredit__badge { display: block; width: clamp(120px, 12vw, 168px); height: auto; margin-top: var(--s-6); }

/* =========================================================
   POLICY PAGES (privacy, cookies, pricing, complaints)
   Same article layout as the blog posts, with smaller sub-headings,
   numbered steps and a sidebar listing every policy.
   ========================================================= */
.policy .prose { font-size: var(--fs-body); line-height: 1.75; }
.policy .prose h2:first-child { margin-top: 0; }
.policy .prose h3 { margin-top: var(--s-7); font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); line-height: 1.25; color: var(--navy); }
.policy .prose h3 + * { margin-top: var(--s-3); }
.policy .prose h4 { margin-top: var(--s-5); font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.policy .prose h4 + * { margin-top: var(--s-2); }
.policy .prose ul ul { margin-top: var(--s-3); }
.policy .prose ol.steps-list { display: grid; gap: var(--s-5); }
.policy .prose ol.steps-list > li { position: relative; padding-left: var(--s-6); }
.policy .prose ol.steps-list > li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--sage-dark); } /* each step is already labelled "Step 1", "Step 2"... */
.policy .prose ol.steps-list > li > strong:first-child { display: block; }
.policy .prose ul.policy-rates { gap: 0; border-top: 1px solid var(--line); }
.policy .prose ul.policy-rates li { display: flex; justify-content: space-between; gap: var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.policy .prose ul.policy-rates li::before { display: none; }
.policy-rates span:last-child { font-family: var(--serif); font-size: var(--fs-h4); color: var(--navy); white-space: nowrap; }
.policy-dates { margin-top: var(--s-5); }
.toc a[aria-current="page"] { color: var(--navy); font-weight: 600; }
/* Footer: regulatory statement link, and the SRA digital badge slot (switched on at launch; the SRA fixes its size at 275 x 163px) */
.site-footer__reg a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.site-footer__reg a:hover { color: var(--white); }
.site-footer__badge { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }
.site-footer__sra { width: 275px; max-width: 100%; }

/* =========================================================
   EDUCATION LAW: A NOTE FROM LOUISE
   ========================================================= */
.louise-note > p + p { margin-top: var(--s-4); }
.louise-note > p.louise-note__sign { margin-top: var(--s-6); font-family: var(--serif); font-size: var(--fs-h4); color: var(--navy); }
.louise-note__sign strong { display: block; font-weight: 500; }

/* Keep faces in frame when a photo is cropped (firm feedback 11 Nov 2026: heads were cut off on narrower screens).
   Crops now anchor near the top of the photo instead of the centre. */
.page-photo, .services__photo { object-position: 50% 20%; }
.about__frame img { object-position: 50% 12%; }

/* Team page: "Read the full profile" expanders (native details/summary, no script needed) */
.bio-more { margin-top: var(--s-2); border-top: 1px solid var(--line); }
.bio-more > summary { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-4) 0; cursor: pointer; list-style: none; font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--navy); }
.bio-more > summary::-webkit-details-marker { display: none; }
.bio-more > summary::after { content: "+"; font-family: var(--serif); font-size: 1.4em; line-height: 1; color: var(--sage-dark); transition: transform .3s var(--ease-out); }
.bio-more[open] > summary::after { transform: rotate(45deg); }
.bio-more > summary:hover { color: var(--sage-dark); }
.bio-more > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.bio-more__body { padding-bottom: var(--s-5); color: var(--ink); }
.bio-more__body > * + * { margin-top: var(--s-3); }
.bio-more__body h4 { margin-top: var(--s-5); font-family: var(--serif); font-weight: 500; font-size: var(--fs-h4); color: var(--navy); }
.bio-more__body ul { display: grid; gap: var(--s-1); padding-left: 1.1em; list-style: disc; }
.bio-more__body li::marker { color: var(--sage-dark); }
/* SRA digital badge in the accreditations strip (switched on at launch; the SRA fixes its size at 275 x 163px) */
.trust__sra { width: 275px; max-width: 100%; margin-bottom: var(--s-4); }
/* Contact form: legal aid notice, field hints and confirmation boxes (11 Nov 2026) */
.enquiry__notice { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-left: 3px solid var(--navy); background: var(--sand-wash); font-size: var(--fs-small); color: var(--navy); }
.enquiry__notice strong { font-weight: 600; }
.field__hint { font-size: var(--fs-small); line-height: 1.5; color: var(--sage-dark); }
.enquiry__checks { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: var(--fs-small); line-height: 1.55; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.check em { font-style: normal; color: var(--sage-dark); }
.check a { color: var(--navy); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--s-7); }
/* Blog hub: with 11 articles, stack the cards on phones instead of a long sideways scroller */
@media (max-width: 899px) {
  .articles--all .articles__track { display: grid; grid-template-columns: 1fr; gap: var(--s-7); overflow: visible; margin-inline: 0; padding: 0; }
  .articles--all .article { flex: none; }
}
/* Article side column: the call-to-action title was shrunk by ".aside-cta p" */
.aside-cta p.author__name { margin-top: 0; font-size: var(--fs-h4); }

/* A photo that drifts gently as you scroll (data-drift on the img; the figure clips it) */
.drift-photo { position: relative; overflow: hidden; margin-top: var(--s-7); aspect-ratio: 4 / 5; border-radius: 2px; background: var(--paper-deep); }
.drift-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
/* Article/index rows on a navy band (Chichester page "Understand your rights") */
.situations--navy { background: var(--navy); color: var(--white); }
.situations--navy .h2 { color: var(--white); }
.situations--navy .situations__grid, .situations--navy .sit { border-color: var(--line-light); }
.situations--navy .sit { --area: var(--sand); --area-fg: var(--navy); --area-fg2: rgba(14, 34, 38, .8); }
.situations--navy .sit__area { color: var(--sand); }
.situations--navy .sit__title, .situations--navy .sit__more { color: var(--white); }
.situations--navy .sit p { color: rgba(255, 255, 255, .78); }
.situations--navy .sit:focus-visible { outline-color: var(--sand); }

/* Booking page: the left column (heading, phone note, photo) stays in view while you scroll down the form, then scrolls away with it */
@media (min-width: 900px) {
  .contact__head--sticky { position: sticky; top: calc(var(--header-h) + var(--s-6)); align-self: start; }
  .contact__head--sticky .drift-photo { aspect-ratio: 4 / 3; } /* shorter, so the whole column fits on screen while it stays in view */
}
/* Booking page: "The right specialist from the start" on a navy band */
.surface-run > .team--navy, .team--navy { background: var(--navy); color: var(--white); }
.team--navy .h2, .team--navy .person__name { color: var(--white); }
.team--navy .person__role { color: rgba(255, 255, 255, .72); }
.team--navy .person p { color: rgba(255, 255, 255, .82); }
.team--navy .person__area { color: var(--sand); }
.team--navy .person__area--criminal { --area: var(--white); }
.team--navy .person__area--family { --area: var(--sage-light); }
.team--navy .team-members { border-top-color: var(--line-light); }
/* A column that stays in view while the long column beside it scrolls (profile pages: "Experience and expertise") */
@media (min-width: 900px) {
  .sticky-col { position: sticky; top: calc(var(--header-h) + var(--s-6)); align-self: start; }
  .sticky-col .drift-photo { aspect-ratio: auto; height: min(56vh, 520px); }
}
/* Profile pages: tighter spacing in the full profile text */
.profile-body > * + * { margin-top: var(--s-4); }
.profile-body > h4 { margin-top: var(--s-7); margin-bottom: 0; } /* browsers add a default bottom margin to h4 */
.profile-body > h4 + * { margin-top: var(--s-3); }

/* ============ KEEP HEADS IN FRAME (13 Nov 2026) ============
   Crop position for each photo whose head was being cut at some screen size. Worked out from face detection on every photo,
   checked on every page at 1440, 1280, 768 and 375px wide. The src selector matches the photo wherever it is used. */
img[src$="/louise-turner-office.webp"] { object-position: 50% 3%; }
img[src$="/louise-turner-standing.webp"] { object-position: 50% 0%; }
img[src$="/louise-turner-black-suit-close.webp"] { object-position: 50% 3%; }
img[src$="/louise-turner-portrait-seated.webp"] { object-position: 50% 9%; }
img[src$="/louise-turner-black-suit-portrait.webp"] { object-position: 50% 11%; }
img[src$="/parissa-henney-arms-crossed.webp"] { object-position: 50% 6%; }
img[src$="/parissa-henney-grey-suit-seated.webp"] { object-position: 50% 4%; }
img[src$="/louise-turner-office-window.webp"] { object-position: 50% 1%; }
img[src$="/louise-turner-blue-suit-seated-close.webp"] { object-position: 50% 7%; }
img[src$="/parissa-henney-portrait-grey-suit.webp"] { object-position: 50% 5%; }
img[src$="/louise-turner-pinstripe-seated.webp"] { object-position: 50% 15%; }
img[src$="/louise-turner-pinstripe-close.webp"] { object-position: 50% 1%; }
img[src$="/louise-turner-office-navy.webp"] { object-position: 50% 18%; }
img[src$="/parissa-henney-thumb.webp"] { object-position: 50% 0%; }
img[src$="/founders-parissa-henney-louise-turner.jpg"] { object-position: 58% 35%; }
img[src$="/louise-turner-blue-suit-armchair-close.jpg"] { object-position: 50% 12%; }

/* ============ RESOLUTION LOGO (17 Nov 2026) ============ */
/* Family pages: the accreditations strip has five items (Resolution added after the Law Society badge) */
.trust__list--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust__logo--resolution { max-width: 200px; }
.profile-badge { display: block; width: 220px; max-width: 100%; height: auto; margin-top: var(--s-6); }
@media (max-width: 899px) {
  .trust__list--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list--five .trust__item:nth-child(5) { border-left: 0; }
}
@media (max-width: 560px) {
  .trust__list--five { grid-template-columns: 1fr; }
}
/* Footer: Resolution logo on a light tile, under the Law Society badge (every page) */
.site-footer__badge img.site-footer__resolution { width: 190px; height: auto; padding: 14px 16px; background: var(--paper); border-radius: 2px; box-sizing: border-box; }

/* ============ FOOTER SOCIAL LINKS (17 Nov 2026) ============ */
.footer-social { display: flex; gap: var(--s-3); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; color: var(--white); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.footer-social svg { display: block; }

/* Closing photo on the criminal and education pages (Louise, 17 Nov 2026): she sits left of centre, so frame left to keep her head in view at desktop widths */
.cta__media img[src$="/louise-turner-blue-suit-closing.jpg"] { object-position: 24% 35%; }

/* Mobile check (17 Nov 2026): nothing may push a page wider than a small phone (320px) */
.prose a { overflow-wrap: anywhere; } /* long email addresses in the policies */
@media (max-width: 599px) {
  /* homepage FAQ tabs: all three fit on screen instead of "Education Law" hiding off the edge */
  .tabs { gap: var(--s-4); justify-content: space-between; }
  .tab { letter-spacing: 0; }
  .tab::before { display: none; } /* the coloured underline still shows the area */
}
@media (max-width: 399px) {
  .btn { white-space: normal; text-align: center; padding-top: var(--s-3); padding-bottom: var(--s-3); }
  .policy .prose ul.policy-rates li { flex-wrap: wrap; row-gap: var(--s-1); }
}
@media (max-width: 359px) {
  .tabs { gap: var(--s-3); }
  .tab { font-size: 13px; }
}

/* ReviewSolicitors side tab (the firm's widget): smaller on phones so it covers less of the text (Lilly, 17 Nov 2026) */
@media (max-width: 599px) {
  .rssw .rssw__widget-inner { transform: scale(.6); transform-origin: right center; }
}

/* Team page: the two directors' photos a little smaller (19 Nov 2026, Louise felt her headshot looked bigger than Parissa's) */
.team-directors .person__photo { max-width: 480px; }

/* Accreditations strip: on phones the Law Society badge stretched across the column and sat in the middle; keep it on the left like the other logos (19 Nov 2026) */
.trust__badge { align-self: flex-start; }

/* Article carousel on phones: when a card snaps into place it kept the screen-edge spacing on the left; scroll-padding keeps the same gutter as every other section (19 Nov 2026) */
@media (max-width: 899px) {
  .articles__track { scroll-padding-inline: var(--gutter); }
}
