/* ==========================================================================
   Attwells Solicitors: homepage
   Brand system: "Law, in plain English."
   Colours are drawn from the existing logo: Ink (wordmark) and Aqua (roundel),
   with Suffolk Pink added as the action colour.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Core brand (from the logo) */
  --ink: #202c35;
  --ink-900: #151e25;
  --ink-700: #34434f;
  --ink-500: #5a6872;
  --ink-300: #9aa5ad;
  --aqua: #a9d9df;
  --aqua-600: #6fbfc9;
  --aqua-200: #c9e8ec;
  --aqua-100: #ddf1f3;
  --aqua-50: #eff8f9;

  /* Supporting */
  --tide: #1d6670;          /* accessible teal for text on light backgrounds */
  --pink: #f47c66;          /* Suffolk Pink: calls to action */
  --pink-600: #e2614a;
  --pink-100: #fde3dd;
  --shell: #f8f4ee;         /* warm paper */
  --shell-200: #eee7dc;
  --white: #fff;
  --line: rgba(32, 44, 53, .12);
  --line-strong: rgba(32, 44, 53, .2);
  --error: #b3261e;
  --open: #3ddc97;
  --soon: #f5b544;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape and depth */
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(21, 30, 37, .06), 0 2px 8px -2px rgba(21, 30, 37, .08);
  --shadow: 0 2px 4px rgba(21, 30, 37, .04), 0 18px 40px -16px rgba(21, 30, 37, .22);
  --shadow-lg: 0 4px 10px rgba(21, 30, 37, .05), 0 40px 80px -32px rgba(21, 30, 37, .38);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--aqua); color: var(--ink); }

:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--aqua); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h2 { font-size: clamp(2.15rem, 1.35rem + 3vw, 3.6rem); }
h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--tide); }
.on-dark h2 em { color: var(--aqua); }
p { text-wrap: pretty; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: 10px;
  background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.on-dark { background: var(--ink); color: var(--white); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 18ch; }
.section-head--center { text-align: center; justify-items: center; max-width: 780px; margin-inline: auto; }
.section-head--center h2 { max-width: 20ch; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
  .section-head--split .lead { padding-bottom: .4rem; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .8125rem/1.2 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--tide);
}
.eyebrow::before {
  content: ""; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--aqua); box-shadow: inset 0 0 0 2px rgba(29, 102, 112, .25);
}
.on-dark .eyebrow { color: var(--aqua); }
.on-dark .eyebrow::before { box-shadow: none; }

.lead {
  font-size: clamp(1.125rem, 1.02rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 46ch;
}
.on-dark .lead { color: rgba(255, 255, 255, .78); }
.fineprint { font-size: .8125rem; color: var(--ink-500); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.45em;
  border: 2px solid transparent; border-radius: var(--pill);
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(226, 97, 74, .9); }
.btn--primary:hover { background: var(--ink); color: var(--white); box-shadow: 0 12px 26px -12px rgba(21, 30, 37, .7); }
.on-dark .btn--primary:hover, .contact .btn--primary:hover { background: var(--white); color: var(--ink); }
.contact .btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.on-dark .btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--sm { font-size: .9375rem; padding: .72em 1.15em; }
.btn--lg { font-size: 1.0625rem; padding: 1.05em 1.65em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--tide); text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--aqua); }

.stars { display: inline-flex; gap: 2px; color: var(--pink); }
.stars svg { width: 16px; height: 16px; }

.status-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--open); flex-shrink: 0;
}
.status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--open); opacity: 0; animation: ping 2.4s ease-out infinite;
}
.status-dot[data-state="soon"] { background: var(--soon); }
.status-dot[data-state="soon"]::after { border-color: var(--soon); }
.status-dot[data-state="closed"] { background: var(--ink-300); }
.status-dot[data-state="closed"]::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* -------------------------------------------------------------------------
   4. Utility bar
   ------------------------------------------------------------------------- */
.utility { font-size: .875rem; }
.utility__inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 40px; }
.utility__status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.utility__long { display: none; }
@media (min-width: 640px) {
  .utility__long { display: inline; }
  .utility__short { display: none; }
}
.utility__phones { display: none; }
@media (min-width: 1280px) {
  .utility__inner { justify-content: space-between; }
  .utility__phones { display: flex; gap: 1.5rem; white-space: nowrap; }
  .utility__phones span { color: rgba(255, 255, 255, .62); margin-right: .25rem; }
  .utility__phones a { color: var(--white); font-weight: 700; text-decoration: none; }
  .utility__phones a:hover { color: var(--aqua); text-decoration: underline; }
}

/* -------------------------------------------------------------------------
   5. Header and navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(21, 30, 37, .35); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(138px, 34vw, 184px); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.header-phone { display: none; }
.header-phone .icon {
  width: 40px; height: 40px; padding: 10px; border-radius: 50%;
  background: var(--aqua-100); color: var(--tide);
}
@media (min-width: 640px) {
  .header-phone {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.15;
  }
  .header-phone small {
    display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--ink-500);
  }
  .header-phone:hover span { color: var(--tide); }
}

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--white);
}
.menu-toggle__bars { display: grid; gap: 4px; }
.menu-toggle__bars span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__trigger, .nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 0; background: none;
  font: 600 1rem/1.2 var(--font-body); color: var(--ink); text-decoration: none;
}
.nav__trigger .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__trigger .icon { transform: rotate(180deg); }

.mega__heading {
  font: 700 .75rem/1.2 var(--font-body); letter-spacing: .13em; text-transform: uppercase;
  color: var(--tide); margin-bottom: .6rem;
}
.mega__col a {
  display: inline-block; padding: .38rem 0;
  color: var(--ink); text-decoration: none; font-weight: 500;
  transition: color .2s ease, transform .2s var(--ease);
}
.mega__col a:hover { color: var(--tide); transform: translateX(3px); }
.mega__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; margin-bottom: .5rem; }
.mega__intro p:not(.mega__title) { color: var(--ink-700); font-size: .975rem; margin-bottom: 1rem; }

/* Mobile drawer */
@media (max-width: 1079.98px) {
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h));
    z-index: 45; overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem var(--gutter) 2.5rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__trigger, .nav__link { width: 100%; justify-content: space-between; padding: 1.1rem .1rem; font-size: 1.15rem; }
  .mega { display: none; padding-bottom: 1.25rem; }
  .nav__item.is-open .mega { display: block; }
  .mega__inner { display: grid; gap: 1.25rem; }
  .mega__intro { display: none; }
  .nav__extras { display: grid; gap: .75rem; margin-top: 1.75rem; }
  .nav__phones { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .75rem; }
  .nav__phones li { display: grid; padding: .75rem .9rem; border-radius: 14px; background: var(--shell); }
  .nav__phones span { font-size: .78rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .08em; }
  .nav__phones a { font-weight: 700; text-decoration: none; }
  .header-cta { padding: .7em 1em; }
}
@media (max-width: 359.98px) {
  .header-cta { display: none; }
}

/* Desktop mega menu */
@media (min-width: 1080px) {
  .nav { margin-inline: auto; }
  .nav__list { display: flex; align-items: center; gap: .15rem; }
  .nav__trigger, .nav__link { padding: .6rem .8rem; border-radius: var(--pill); transition: background-color .2s ease; }
  .nav__trigger:hover, .nav__link:hover { background: var(--aqua-50); }
  .nav__item.is-open > .nav__trigger { background: var(--aqua-100); }
  .nav__extras { display: none; }
  .menu-toggle { display: none; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(21, 30, 37, .45);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
  }
  .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__inner {
    max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
    padding: 2.25rem var(--gutter) 2.5rem;
    display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 2.5rem;
  }
  .mega__intro { padding: 1.5rem; border-radius: var(--radius); background: var(--aqua-50); }
}
@media (min-width: 1080px) and (max-width: 1279.98px) {
  .header-phone span { display: none; }
  .nav__trigger, .nav__link { padding-inline: .65rem; font-size: .96rem; }
}

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: clip;
  background: var(--shell);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero__rings {
  position: absolute; z-index: 0; pointer-events: none;
  width: 1100px; aspect-ratio: 1; right: -380px; top: -420px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 63px, rgba(32, 44, 53, .055) 64px 65px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.hero__title { display: grid; justify-items: start; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem .45rem .45rem; margin-bottom: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--white); box-shadow: var(--shadow-sm);
  font: 700 .8125rem/1.25 var(--font-body); letter-spacing: .01em; color: var(--ink);
}
.hero__eyebrow .icon {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--aqua); color: var(--ink);
}
.hero__headline {
  display: block;
  font-size: clamp(3.1rem, 1.15rem + 7.4vw, 6.5rem);
  line-height: .95; letter-spacing: -.035em;
}
.hero__line { display: block; }
.swash { position: relative; display: inline-block; font-style: italic; font-weight: 400; color: var(--tide); white-space: nowrap; padding-right: .06em; }
.swash__mark {
  position: absolute; left: 0; bottom: -.12em; width: 100%; height: .24em; overflow: visible;
  fill: none; stroke: var(--pink); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 0;
}
.js .swash__mark { animation: draw 1.1s .55s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

.hero__lead {
  margin-top: 1.6rem; max-width: 36ch;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-700);
}

.router { margin-top: 2rem; }
.router__label { font-weight: 700; font-size: .95rem; margin-bottom: .7rem; }
.router__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .95rem .55rem .75rem; min-height: 44px;
  border: 1.5px solid var(--line-strong); border-radius: var(--pill);
  background: var(--white);
  font: 600 .95rem/1.2 var(--font-body); color: var(--ink);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.chip .icon { width: 1.15em; height: 1.15em; color: var(--tide); transition: color .2s ease; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] .icon { color: var(--aqua); }
.router__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.router__note { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1rem; font-size: .925rem; color: var(--ink-500); }
.router__note .icon { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--tide); }
@media (max-width: 559.98px) {
  .router__actions .btn { flex: 1 1 100%; }
  /* One swipeable row of chips instead of four wrapped rows */
  .router__chips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: .15rem var(--gutter) .35rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
  }
  .router__chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
}

.hero__proof {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-700);
}
.hero__proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__proof strong { color: var(--ink); }

/* Hero visual */
.hero__visual { position: relative; width: min(100%, 540px); aspect-ratio: 27 / 29; margin-inline: auto; }
.hero__disc { position: absolute; left: 3%; right: 3%; top: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--aqua); }
.hero__disc::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1.5px dashed rgba(32, 44, 53, .18);
}
.hero__arch {
  position: absolute; left: 19%; right: 19%; top: 0; bottom: 0;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--aqua-100);
  box-shadow: var(--shadow-lg);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.float-card {
  position: absolute; z-index: 2;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.float-card--status {
  top: 13%; right: 0;
  display: flex; align-items: center; gap: .7rem; padding: .8rem 1.05rem .8rem .95rem;
  line-height: 1.25;
}
.float-card--status strong { display: block; font-size: .95rem; }
.float-card--status small { display: block; font-size: .8rem; color: var(--ink-500); }
.float-card--review { left: 0; bottom: 9%; width: min(270px, 62%); padding: 1rem 1.1rem 1.05rem; }
.float-card--review blockquote p { margin: .5rem 0 .6rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.float-card--review figcaption { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--ink-500); }
.float-card--review figcaption .icon { width: 1rem; height: 1rem; color: var(--tide); }
.sticker {
  position: absolute; z-index: 3; left: 4%; top: 3%;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 0;
  background: var(--pink); color: var(--ink); text-decoration: none;
  transform: rotate(-12deg); box-shadow: var(--shadow);
  transition: transform .35s var(--ease);
}
.sticker::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(32, 44, 53, .35); }
.sticker:hover { transform: rotate(-4deg) scale(1.05); }
.sticker__term { font-family: var(--font-display); font-style: italic; font-size: .95rem; line-height: 1.1; }
.sticker__eq { font-weight: 800; font-size: .8rem; line-height: 1.2; }
.sticker__plain { font-weight: 800; font-size: .82rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 1023.98px) {
  .hero__visual { width: min(100%, 460px); }
}
@media (max-width: 479.98px) {
  .sticker { width: 92px; height: 92px; left: 0; }
  .sticker__term { font-size: .8rem; }
  .sticker__plain { font-size: .7rem; }
  .float-card--status { padding: .65rem .8rem; }
  .float-card--status strong { font-size: .85rem; }
  .float-card--status small { font-size: .72rem; }
  .float-card--review { width: 64%; padding: .8rem .9rem; }
  .float-card--review blockquote p { font-size: .9rem; }
}

/* Hero entrance */
.js .hero__copy > *, .js .hero__visual { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__visual { animation-delay: .12s; }
.js .float-card--status { animation: bob 7s 1.4s ease-in-out infinite; }
.js .float-card--review { animation: bob 8s 2s ease-in-out infinite reverse; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* -------------------------------------------------------------------------
   7. Proof bar
   ------------------------------------------------------------------------- */
.proofbar { padding-block: 2rem; border-bottom: 1px solid var(--line); }
.proofbar__label {
  text-align: center; margin-bottom: 1.25rem;
  font: 700 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500);
}
.proofbar__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; align-items: center; }
.award { display: flex; align-items: center; gap: .7rem; font-size: .85rem; line-height: 1.3; color: var(--ink-500); }
.award strong { display: block; color: var(--ink); font-size: .92rem; }
.award .icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--aqua-100); color: var(--tide); }
.badge { display: flex; justify-content: center; }
.badge img { height: 58px; width: auto; }
.badge--wide img { height: 40px; }
@media (min-width: 768px) { .proofbar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .proofbar__list { display: flex; justify-content: space-between; gap: 1.5rem; }
  .badge { justify-content: flex-start; }
}

/* -------------------------------------------------------------------------
   8. Services
   ------------------------------------------------------------------------- */
.services__grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card h3 { font-size: 1.6rem; line-height: 1.12; }
.service-card > p { color: var(--ink-700); }
.service-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--aqua-100); color: var(--tide);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__links { display: grid; margin-top: .25rem; border-top: 1px solid var(--line); }
.service-card__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; text-decoration: none; color: var(--ink);
  transition: color .2s ease, padding .25s var(--ease);
}
.service-card__links a::after { content: "→"; color: var(--tide); transition: transform .25s var(--ease); }
.service-card__links a:hover { color: var(--tide); padding-left: .25rem; }
.service-card__links a:hover::after { transform: translateX(3px); }
.service-card > .link-arrow, .service-card > .btn { margin-top: auto; align-self: flex-start; }

.service-card--feature { background: var(--aqua); border-color: var(--aqua); }
.service-card--feature .service-card__icon { background: var(--white); color: var(--ink); }
.service-card--feature > p { color: var(--ink); }
.service-card--feature .service-card__links, .service-card--feature .service-card__links a { border-color: rgba(32, 44, 53, .16); }
.service-card--feature .service-card__links a::after { color: var(--ink); }
.service-card--feature .service-card__links a:hover { color: var(--ink); }

.services__more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  border: 1.5px dashed var(--line-strong); border-radius: 18px;
  color: var(--ink-700);
}
.services__more strong { color: var(--ink); }

/* -------------------------------------------------------------------------
   9. Service Charter
   ------------------------------------------------------------------------- */
.charter { overflow: clip; }
.charter::before {
  content: ""; position: absolute; width: 760px; aspect-ratio: 1; left: -360px; bottom: -420px; border-radius: 50%;
  border: 1px solid rgba(169, 217, 223, .14); box-shadow: 0 0 0 90px rgba(169, 217, 223, .03), 0 0 0 180px rgba(169, 217, 223, .025);
  pointer-events: none;
}
.charter__grid { position: relative; display: grid; gap: 3.5rem; }
@media (min-width: 1024px) {
  .charter__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 5.5rem; align-items: start; }
  .charter__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.charter__intro h2 { margin: 1rem 0 1.25rem; max-width: 13ch; }

.clock {
  margin: 2rem 0 2rem; padding: 1.25rem 1.35rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  max-width: 460px;
}
.clock__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; }
.clock__title { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.clock__state { padding: .25rem .65rem; border-radius: var(--pill); background: rgba(169, 217, 223, .16); color: var(--aqua); font-weight: 700; white-space: nowrap; }
.clock__track { position: relative; height: 12px; margin: 2.4rem 0 2rem; border-radius: var(--pill); background: rgba(255, 255, 255, .12); }
.clock__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--aqua-600), var(--aqua)); transition: width .8s var(--ease); }
.clock__cutoff { position: absolute; left: 75%; top: -7px; bottom: -7px; width: 2px; border-radius: 2px; background: var(--pink); }
.clock__cutoff span {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  padding: .15rem .5rem; border-radius: var(--pill); background: var(--pink); color: var(--ink);
  font-size: .72rem; font-weight: 800; white-space: nowrap;
}
.clock__now {
  position: absolute; left: var(--progress, 0%); top: 50%;
  width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--white); box-shadow: 0 0 0 5px rgba(169, 217, 223, .3);
}
.clock__now span {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 800; color: var(--white); letter-spacing: .06em; text-transform: uppercase;
}
.clock__scale { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.clock__caption { margin-top: 1.1rem; font-size: .975rem; color: rgba(255, 255, 255, .85); }
.clock__caption strong { color: var(--white); }

.charter__list { counter-reset: promise; }
.promise {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem 1.75rem;
  padding: 1.9rem 0; border-top: 1px solid rgba(255, 255, 255, .12);
}
.promise:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.promise__num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: .9; color: var(--aqua); min-width: 2.2ch;
}
.promise h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.25; margin-bottom: .45rem; }
.promise p { color: rgba(255, 255, 255, .74); max-width: 52ch; }

/* -------------------------------------------------------------------------
   10. Property people
   ------------------------------------------------------------------------- */
.property { background: var(--aqua-50); }
.property__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .property__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 5.5rem; } }
.property__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.photo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.photo-card figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .75rem 1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .95); font-size: .9rem; line-height: 1.3; color: var(--ink-500);
}
.photo-card figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.property__badge {
  position: absolute; right: -.75rem; top: 1.75rem;
  display: flex; align-items: center; gap: .65rem;
  padding: .45rem 1.1rem .45rem .45rem; border-radius: var(--pill);
  background: var(--white); box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.2; color: var(--ink-500);
}
.property__badge img { width: 46px; height: 46px; }
.property__badge strong { display: block; color: var(--ink); }
@media (max-width: 559.98px) { .property__badge { right: .5rem; } }

.property__copy h2 { margin: 1rem 0 1.25rem; max-width: 14ch; }
.checklist { display: grid; gap: .8rem; margin: 1.75rem 0 2.1rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-weight: 600; }
.checklist .icon {
  width: 26px; height: 26px; padding: 5px; margin-top: -.05rem; border-radius: 50%;
  background: var(--aqua); color: var(--ink); stroke-width: 2.5;
}

.journey { position: relative; display: grid; gap: 1.75rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.journey::before {
  content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--tide) 0 6px, transparent 6px 12px);
}
.journey__step { position: relative; padding-left: 2.75rem; }
.journey__dot {
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--aqua); border: 3px solid var(--ink);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.journey__step:hover .journey__dot { transform: scale(1.15); background: var(--pink); }
.journey__kicker { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tide); margin-bottom: .35rem; }
.journey h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.journey p:not(.journey__kicker) { font-size: .95rem; color: var(--ink-700); margin-bottom: .5rem; }
.journey a { font-weight: 700; font-size: .95rem; color: var(--tide); text-decoration: none; }
.journey a::after { content: " →"; }
.journey a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .journey::before { left: 12px; right: 12%; top: 11px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--tide) 0 6px, transparent 6px 12px); }
  .journey__step { padding-left: 0; padding-top: 2.6rem; }
}

/* -------------------------------------------------------------------------
   11. Reviews
   ------------------------------------------------------------------------- */
.reviews__head { display: grid; gap: 2rem; align-items: end; }
.reviews__head h2 { margin: 1rem 0 1.1rem; max-width: 14ch; }
@media (min-width: 1024px) { .reviews__head { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.rating-cards { display: flex; flex-wrap: wrap; gap: 1rem; }
.rating-card {
  display: grid; gap: .45rem; min-width: 210px; flex: 1 1 210px;
  padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; background: var(--white);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.rating-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rating-card__score { font-family: var(--font-display); font-size: 2.9rem; line-height: 1; letter-spacing: -.02em; }
.rating-card__score small { font-size: .42em; color: var(--ink-500); letter-spacing: 0; }
.rating-card__source { font-size: .875rem; color: var(--ink-500); line-height: 1.35; }
.rating-card__source strong { display: block; color: var(--ink); font-size: .95rem; }

.reviews__grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 700px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reviews__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.review {
  display: flex; flex-direction: column; gap: 1rem; min-height: 250px;
  padding: 1.75rem; border-radius: var(--radius); background: var(--shell);
}
.review:nth-child(2) { background: var(--aqua-50); }
.review:nth-child(4) { background: var(--aqua-50); }
.review__mark { width: 34px; height: 34px; color: var(--tide); }
.review blockquote p { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.32; letter-spacing: -.01em; }
.review figcaption { margin-top: auto; font-size: .875rem; color: var(--ink-500); line-height: 1.4; }
.review figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.reviews__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; margin-top: 2rem; }
.reviews__foot a { font-weight: 700; color: var(--tide); }

/* -------------------------------------------------------------------------
   12. Jargon buster
   ------------------------------------------------------------------------- */
.jargon { background: var(--shell); }
.jargon__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
@media (min-width: 900px) { .jargon__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.term { position: relative; perspective: 1400px; }
.term__inner { position: relative; display: grid; height: 100%; min-height: 210px; transform-style: preserve-3d; transition: transform .75s var(--ease); }
.term__face {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 1.35rem 3.4rem; border-radius: var(--radius);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.term__face--front { background: var(--white); border: 1px solid var(--line); }
.term__face--back { background: var(--ink); color: var(--white); transform: rotateY(180deg); }
.term__label { font: 700 .7rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.term__face--back .term__label { color: var(--aqua); }
.term__word {
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.08; letter-spacing: -.02em;
  text-decoration: underline dotted var(--aqua-600); text-decoration-thickness: 2px; text-underline-offset: .18em;
}
.term__meaning { font-size: 1rem; line-height: 1.45; }
.term__btn {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.2rem 1.35rem; border: 0; border-radius: var(--radius); background: transparent;
  font: 700 .85rem/1 var(--font-body); color: var(--tide);
}
.term__btn [data-term-label]::after { content: " ↻"; }
.term:hover .term__face--front { border-color: var(--ink); }
.term.is-flipped .term__inner { transform: rotateY(180deg); }
.term.is-flipped .term__btn { color: var(--aqua); }
html:not(.js) .term__inner { display: flex; flex-direction: column; gap: .5rem; transform: none; }
html:not(.js) .term__face { transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; padding-bottom: 1.35rem; }
html:not(.js) .term__btn { display: none; }
@media (max-width: 599.98px) {
  /* Swipeable deck on phones */
  .jargon__grid {
    display: flex; gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) .75rem;
    scroll-padding-inline: var(--gutter);
  }
  .jargon__grid::-webkit-scrollbar { display: none; }
  .term { flex: 0 0 78%; scroll-snap-align: start; }
  .js .jargon__grid .term[data-reveal] { opacity: 1; transform: none; transition: none; }
  .term__inner { min-height: 200px; }
  html:not(.js) .term { flex-basis: 85%; }
}
.jargon__swipe { display: none; }
@media (max-width: 599.98px) {
  .jargon__swipe { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .875rem; color: var(--tide); }
  .jargon__swipe .icon { width: 1rem; height: 1rem; }
}
.jargon__foot { margin-top: 2rem; text-align: center; color: var(--ink-700); }
.jargon__foot a { font-weight: 700; color: var(--tide); }

/* -------------------------------------------------------------------------
   13. Team
   ------------------------------------------------------------------------- */
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.person__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--aqua-100); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.04); }
.person h3 { margin-top: 1.1rem; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.15; }
.person__role { margin-top: .35rem; font-weight: 700; color: var(--tide); font-size: .95rem; }
.person__area { font-size: .925rem; color: var(--ink-500); line-height: 1.4; }

.values {
  display: grid; gap: 1.5rem; align-items: center;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg); background: var(--aqua-50);
}
@media (min-width: 1100px) { .values { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; } }
.values__label { font-weight: 600; max-width: 22ch; line-height: 1.35; }
.values__label strong { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; color: var(--tide); }
.values__list { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.values__list li { font-weight: 600; font-size: 1.05rem; }
.values__list span { font-family: var(--font-display); font-style: italic; font-size: 1.65rem; line-height: 1; color: var(--tide); }

/* -------------------------------------------------------------------------
   14. Results
   ------------------------------------------------------------------------- */
.results { background: var(--shell); }
.results__grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .results__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.result {
  display: flex; flex-direction: column; gap: .8rem; min-height: 320px;
  padding: 1.75rem; border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.result:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.result__figure { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.75rem); line-height: 1; letter-spacing: -.03em; color: var(--aqua); }
.result h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }
.result p:not(.result__figure):not(.result__tag) { font-size: .95rem; color: rgba(255, 255, 255, .74); }
.result__tag { margin-top: auto; padding-top: .5rem; font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.results__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }

/* -------------------------------------------------------------------------
   15. Offices ("The Attwells line")
   ------------------------------------------------------------------------- */
.offices { background: var(--aqua-50); }
.line__caption {
  display: flex; align-items: center; gap: .55rem; margin-bottom: 1.75rem;
  font: 700 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tide);
}
.line__caption .icon { width: 1.3rem; height: 1.3rem; }
.line { position: relative; display: grid; gap: 1.25rem; padding-left: 2.6rem; }
.line::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 5px; border-radius: 5px; background: var(--tide); }
.stop { position: relative; }
.stop__dot {
  position: absolute; left: -2.6rem; top: 1.6rem;
  width: 29px; height: 29px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--tide);
}
.stop--hq .stop__dot { left: calc(-2.6rem - 4px); width: 37px; height: 37px; top: calc(1.6rem - 4px); border-color: var(--ink); box-shadow: 0 0 0 5px var(--aqua); }
.office {
  display: flex; flex-direction: column; gap: .55rem; height: 100%;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.office:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stop--hq .office { border: 2px solid var(--ink); }
.office__tag { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tide); }
.office h3 { font-size: 1.85rem; line-height: 1; }
.office address { color: var(--ink-700); line-height: 1.5; }
.office__phone { display: inline-flex; align-items: center; gap: .55rem; margin-top: .25rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.office__phone .icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--pink); color: var(--ink); }
.office__phone:hover { color: var(--tide); }
.office__note { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; line-height: 1.4; color: var(--ink-500); }
.office__note .icon { width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: var(--tide); }
.office__directions { display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; padding-top: .5rem; font-weight: 700; font-size: .95rem; color: var(--tide); text-decoration: none; }
.office__directions .icon { width: 1rem; height: 1rem; }
.office__directions:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .line { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; padding-top: 3.25rem; gap: 1.25rem; }
  .line::before { left: 0; right: 0; top: 14px; bottom: auto; height: 5px; width: auto; }
  .stop__dot { left: 1.5rem; top: -3.25rem; }
  .stop--hq .stop__dot { left: calc(1.5rem - 4px); top: calc(-3.25rem - 4px); }
}
.also { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2.25rem; }
.also p { font-weight: 700; }
.also ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.also a {
  display: inline-block; padding: .45rem .9rem; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.also a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* -------------------------------------------------------------------------
   16. Community and social
   ------------------------------------------------------------------------- */
.community { overflow: clip; }
.community__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .community__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 5rem; } }
.community__copy h2 { margin: 1rem 0 1.25rem; max-width: 14ch; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 2rem; }
.tags li {
  padding: .42rem .9rem; border-radius: var(--pill);
  border: 1px solid rgba(169, 217, 223, .35); color: var(--aqua-100); font-size: .9rem; font-weight: 600;
}
.community__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.community__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 12px rgba(169, 217, 223, .14), 0 0 0 26px rgba(169, 217, 223, .06); }
.community__photo img { width: 100%; height: 100%; object-fit: cover; }
.community__partner {
  position: absolute; left: -.5rem; bottom: .5rem; width: min(250px, 58%);
  padding: 1rem 1.15rem; border-radius: 18px;
  background: var(--ink-900); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease);
}
.community__partner:hover { transform: translateY(-3px); }

.social-band {
  display: grid; gap: 1.5rem; align-items: center;
  margin-top: clamp(3.5rem, 7vw, 5.5rem); padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05);
}
@media (min-width: 1100px) { .social-band { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; } }
.social-band h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: .4rem; }
.social-band p { color: rgba(255, 255, 255, .74); }
.social-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.social-links a {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 46px;
  padding: .65rem 1.05rem; border-radius: var(--pill);
  background: rgba(255, 255, 255, .08); color: var(--white);
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--aqua); color: var(--ink); transform: translateY(-2px); }
.social-links--compact a {
  justify-content: center; width: 44px; height: 44px; min-height: 0; padding: 0;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
}
.social-links--compact a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* -------------------------------------------------------------------------
   17. FAQ
   ------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq__intro h2 { margin: 1rem 0 1.1rem; max-width: 12ch; }
.faq__intro a { font-weight: 700; color: var(--tide); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--tide); }
.faq__icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--aqua-100); transition: background-color .25s ease, transform .35s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] .faq__icon { background: var(--aqua); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--ink-700); max-width: 62ch; }
.faq__answer a { font-weight: 700; color: var(--tide); }
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* -------------------------------------------------------------------------
   18. Contact
   ------------------------------------------------------------------------- */
.contact { background: var(--aqua); }
.contact .eyebrow { color: var(--ink); }
.contact .eyebrow::before { background: var(--white); box-shadow: none; }
.contact h2 em { color: var(--ink); }
.contact .lead { color: var(--ink-700); }
.contact__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 5rem; } }
.contact__copy h2 { margin: 1rem 0 1.25rem; max-width: 15ch; }
.contact__status {
  display: flex; align-items: center; gap: .8rem; margin: 2rem 0 1.25rem;
  padding: .95rem 1.15rem; border-radius: 16px; background: rgba(255, 255, 255, .6);
}
.contact__status p { line-height: 1.35; }
.contact__status strong { margin-right: .25rem; }
.contact__status span[data-status-sub] { color: var(--ink-700); }
.contact__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.contact__phones li { display: grid; gap: .1rem; padding: .85rem 1rem; border-radius: 16px; background: var(--white); }
.contact__phones span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.contact__phones a { font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.contact__phones a:hover { color: var(--tide); text-decoration: underline; }
.contact__email { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-weight: 700; color: var(--ink); }

.contact__card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--ink-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1.5px solid #c9d2d8; border-radius: var(--radius-sm);
  background: var(--white); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23202c35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 4px rgba(29, 102, 112, .16); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { display: none; font-size: .85rem; font-weight: 600; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.field--choices legend { margin-bottom: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: .6rem 1.15rem; border-radius: var(--pill);
  border: 1.5px solid #c9d2d8; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--tide); outline-offset: 2px; }
.form .btn--block { margin-top: .5rem; }
.form__privacy { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1rem; font-size: .85rem; color: var(--ink-500); line-height: 1.45; }
.form__privacy .icon { width: 1.1rem; height: 1.1rem; margin-top: .05rem; color: var(--tide); }
.form__privacy a { color: var(--ink); font-weight: 600; }
.form__status:not(:empty) { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #fdecea; color: var(--error); font-weight: 600; font-size: .925rem; }
.form__status a { color: inherit; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.form-success { text-align: center; padding: 2rem 0 1rem; display: grid; justify-items: center; gap: 1rem; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--aqua); }
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.form-success p:not(.form__title) { color: var(--ink-700); max-width: 40ch; }
.form-success .form__title { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   19. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--shell); padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem; font-size: .95rem; }
.footer__top { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 4rem; } }
.footer__brand img { width: 190px; }
.footer__tagline { margin: .9rem 0 1.4rem; font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--tide); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
@media (min-width: 768px) { .footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer__nav h2 { font: 700 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tide); margin-bottom: .9rem; }
.footer__nav a { display: inline-block; padding: .28rem 0; color: var(--ink); text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; color: var(--tide); }
.footer__offices { display: grid; gap: 1.25rem; margin: 3rem 0 2.5rem; padding-block: 1.75rem; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .footer__offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__offices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer__offices li { display: grid; gap: .15rem; font-size: .9rem; color: var(--ink-500); }
.footer__offices strong { color: var(--ink); font-size: 1rem; }
.footer__offices a { font-weight: 800; color: var(--ink); text-decoration: none; }
.footer__offices a:hover { color: var(--tide); text-decoration: underline; }
.footer__legal { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .footer__legal { grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; } }
.sra-badge { width: 100%; max-width: 240px; }
.sra-placeholder {
  display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.1rem;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--white);
  font-size: .82rem; line-height: 1.45; color: var(--ink-700); text-decoration: none;
  transition: border-color .2s ease;
}
.sra-placeholder:hover { border-color: var(--tide); }
.sra-placeholder .icon { width: 1.4rem; height: 1.4rem; color: var(--tide); }
.sra-placeholder strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: .15rem; }
.footer__small { font-size: .8125rem; line-height: 1.6; color: var(--ink-500); }
.footer__small p + p { margin-top: .75rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1.1rem 0; }
.legal-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.footer__copy { color: var(--ink-700); }

/* -------------------------------------------------------------------------
   20. Mobile action bar and call sheet
   ------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: .6rem;
  padding: .65rem max(.85rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -14px rgba(21, 30, 37, .3);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { flex: 1.25; min-height: 50px; padding-inline: 1rem; }
.mobile-bar__call {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px;
  border: 2px solid var(--ink); border-radius: var(--pill); background: var(--white);
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767.98px) { .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }

.call-sheet {
  width: min(480px, 100%); max-width: 100%; margin: auto auto 0; padding: 0 0 env(safe-area-inset-bottom);
  border: 0; border-radius: 24px 24px 0 0; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .call-sheet { margin: auto; border-radius: 24px; } }
.call-sheet::backdrop { background: rgba(21, 30, 37, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.call-sheet[open] { animation: sheet .35s var(--ease); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.call-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem .75rem; }
.call-sheet__title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.call-sheet__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.call-sheet__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700;
}
.call-sheet__list a:hover { background: var(--aqua-50); }
.call-sheet__list small { display: block; font-weight: 600; color: var(--ink-500); font-size: .8rem; }
.call-sheet__list strong { color: var(--tide); }
.call-sheet__note { padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-500); }

/* -------------------------------------------------------------------------
   21. Simple pages (thank you, 404)
   ------------------------------------------------------------------------- */
.simple-page { display: flex; flex-direction: column; min-height: 100vh; background: var(--shell); }
.simple-page__header { padding-block: 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); }
.simple-page__main { flex: 1; display: grid; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.simple-page__inner { display: grid; justify-items: start; gap: 1.25rem; max-width: 760px; }
.simple-page h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.5rem); line-height: 1; }
.simple-page h1 em { font-style: italic; font-weight: 400; color: var(--tide); }
.simple-page .contact__phones { width: 100%; max-width: 520px; }
.simple-page .contact__phones li { border: 1px solid var(--line); }

/* -------------------------------------------------------------------------
   22. Scroll reveal and motion preferences
   ------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@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] { opacity: 1; transform: none; }
}

@media print {
  .utility, .site-header, .mobile-bar, .call-sheet, .hero__visual, .contact__card { display: none !important; }
  .on-dark { background: none; color: var(--ink); }
}
