/* ==========================================================================
   ASK Global Accountancy Services Ltd — site stylesheet
   Plain CSS, no build step. Mobile-first.

   Contents
   01 Fonts            06 Buttons & links      11 Feature sections
   02 Design tokens    07 Header & navigation  12 Offices & contact form
   03 Base             08 Hero                 13 Inner pages
   04 Layout helpers   09 Trust strip          14 Footer & back-to-top
   05 Typography       10 Services             15 Motion, print
   ========================================================================== */

/* 01 Fonts — self-hosted (SIL Open Font Licence), so no third-party request is made */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 02 Design tokens */
:root {
  --navy: #10233f;
  --midnight: #0a172b;
  --teal: #087f73;
  --teal-dark: #066a60;
  --teal-bright: #12a594;
  --teal-tint: #e6f4f2;
  --gold: #d6b56d;
  --gold-tint: #fbf6ea;
  --white: #ffffff;
  --bg: #f4f7fa;
  --text: #263548;
  --muted: #64748b;
  --muted-strong: #55647a; /* muted text on tinted backgrounds, keeps AA contrast */
  --line: #dde4ec;
  --line-dark: rgba(255, 255, 255, 0.14);
  --on-dark: rgba(255, 255, 255, 0.8);
  --error: #b42318;
  --error-tint: #fef3f2;

  --font-head: "Manrope", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 35, 63, 0.06), 0 2px 8px rgba(16, 35, 63, 0.05);
  --shadow: 0 2px 4px rgba(16, 35, 63, 0.05), 0 14px 32px rgba(16, 35, 63, 0.1);
  --shadow-lg: 0 4px 8px rgba(16, 35, 63, 0.06), 0 28px 60px rgba(16, 35, 63, 0.16);

  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --container: 77.5rem;
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 100rem) {
  :root {
    --container: 84rem;
  }
}

/* 03 Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}
a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--teal-dark);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--gold);
}
::selection {
  background: var(--teal);
  color: var(--white);
}
[hidden] {
  display: none !important;
}

/* 04 Layout helpers */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}
.section {
  padding-block: var(--section);
}
.section--tint {
  background: var(--bg);
}
.section--flush-top {
  padding-top: 0;
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  max-width: 46rem;
}
@media (min-width: 60rem) {
  .section-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 3.5rem;
  }
}
.stack > * + * {
  margin-top: 1.1em;
}
.u-mt-1 {
  margin-top: 1.75rem;
}
.u-mt-2 {
  margin-top: 2.5rem;
}
.u-mb-block {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* 05 Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.9vw, 4.125rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.875rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
p,
li {
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted-strong);
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
/* The firm's signature mark: an accountant's double underline, the rule drawn beneath a final total. */
.rule {
  display: block;
  width: 4rem;
  border-top: 6px double var(--gold);
}
.rule + h2,
.rule + h3 {
  margin-top: 1rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9375rem;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.on-dark,
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--white);
}
.on-dark p,
.on-dark li {
  color: var(--on-dark);
}
.on-dark .eyebrow {
  color: var(--gold);
}
.on-dark .lead {
  color: var(--on-dark);
}

/* 06 Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon {
  transition: transform 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover .icon--move {
  transform: translateX(4px);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(8, 127, 115, 0.26);
}
.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(8, 127, 115, 0.32);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 35, 63, 0.28);
}
.btn--outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--navy);
}
.btn--light:hover {
  background: var(--gold);
  color: var(--midnight);
}
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn--sm {
  min-height: 2.875rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9375rem;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
  box-shadow: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
@media (max-width: 29.99rem) {
  .btn-row > .btn {
    flex: 1 1 100%;
  }
}
/* the firm's email address is long; let it shrink a little and break cleanly on narrow screens */
.email {
  font-size: clamp(0.875rem, 0.6rem + 1.6vw, 1rem);
  overflow-wrap: anywhere;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  padding-block: 0.65rem;
}
.link-arrow .icon {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}
.on-dark .link-arrow {
  color: var(--white);
}

/* 07 Header & navigation */
.topbar {
  background: var(--midnight);
  color: var(--on-dark);
  font-size: 0.875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
}
.topbar__tag {
  display: none;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}
.topbar__tag::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  margin-right: 0.75rem;
  vertical-align: middle;
  border-top: 5px double var(--gold);
}
.topbar__contact {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.75rem;
}
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--white);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.topbar__contact a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.topbar__contact .icon {
  color: var(--gold);
  width: 1rem;
  height: 1rem;
}
.topbar__email-full {
  display: none;
}
@media (min-width: 40rem) {
  .topbar__contact {
    flex: none;
    margin-left: auto;
  }
  .topbar__email-full {
    display: inline;
  }
  .topbar__email-short {
    display: none;
  }
}
@media (min-width: 56rem) {
  .topbar__tag {
    display: block;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 35, 63, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.brand {
  display: inline-flex;
  flex: none;
  padding-block: 0.5rem;
}
.brand img {
  width: auto;
  height: 2.625rem;
  transition: height 0.3s var(--ease);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: -0.5rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
}
.js .nav-toggle {
  display: inline-flex;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before {
  top: -7px;
}
.nav-toggle__bars::after {
  top: 7px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Small screens: the navigation is a panel under the header.
   Without JavaScript it simply stays open in the page flow. */
.nav {
  width: 100%;
}
.nav__list {
  display: flex;
  flex-direction: column;
}
.nav__item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.nav__link {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--teal);
}
.nav__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--navy);
}
.js .nav__menu-toggle {
  display: inline-flex;
}
.nav__menu-toggle .icon {
  transition: transform 0.25s var(--ease);
}
.nav__menu-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.nav__menu {
  flex-basis: 100%;
  padding: 0 0 0.75rem 0.25rem;
}
.js .nav__menu {
  display: none;
}
.js .nav__item.is-open > .nav__menu {
  display: block;
}
.nav__menu a {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav__menu a span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}
.nav__menu a:hover {
  background: var(--bg);
  color: var(--teal);
}
.nav__cta {
  width: 100%;
  margin-block: 1.25rem 0.5rem;
}
@media (max-width: 73.74rem) {
  .nav-open {
    overflow: hidden;
  }
  html:not(.js) .site-header {
    position: static;
  }
  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.5rem 1rem;
  }
  .js .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16, 35, 63, 0.14);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .js .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}
@media (min-width: 73.75rem) {
  .js .nav-toggle {
    display: none;
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 1.6vw, 1.75rem);
    width: auto;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.9rem, 1.55vw, 1.75rem);
  }
  .nav__item {
    flex-wrap: nowrap;
    border: 0;
  }
  .nav__link {
    position: relative;
    min-height: 3rem;
    font-size: 0.9375rem;
    white-space: nowrap;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.45rem;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }
  .nav__menu-toggle {
    width: 1.75rem;
    height: 2.75rem;
    margin-left: 0.1rem;
  }
  .nav__menu,
  .js .nav__menu {
    display: block;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: -1rem;
    width: 21.5rem;
    padding: 0.625rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  /* bridge the gap so the pointer can travel from the link to the menu */
  .nav__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.75rem;
    height: 0.75rem;
  }
  .js .nav__item.is-open > .nav__menu,
  html:not(.js) .nav__item:hover > .nav__menu,
  html:not(.js) .nav__item:focus-within > .nav__menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav__cta {
    width: auto;
    margin: 0;
  }
  .site-header.is-scrolled .site-header__inner {
    min-height: 4rem;
  }
  .site-header.is-scrolled .brand img {
    height: 2.375rem;
  }
}
@media (min-width: 80rem) {
  :root {
    --header-h: 5.25rem;
  }
  .brand img {
    height: 3rem;
  }
}

/* 08 Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
/* faint ledger columns on the right-hand side */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(16, 35, 63, 0.055) 1px, transparent 1px);
  background-size: 6.5rem 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: clamp(2.5rem, 1.5rem + 4.5vw, 5.5rem) clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
.hero__copy {
  max-width: 39rem;
}
.hero__title {
  margin-top: 1.1rem;
  font-size: clamp(2.25rem, 0.9rem + 3.4vw, 3.875rem);
}
.hero__title span {
  display: block;
}
.hero__copy .rule {
  margin-top: 1.5rem;
}
.hero__sub {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.hero__body {
  margin-top: 0.9rem;
  max-width: 35rem;
  color: var(--muted-strong);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
}
.hero__mtd {
  display: flex;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  max-width: 35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.hero__mtd .icon {
  margin-top: 0.15rem;
  color: var(--teal);
  width: 1.375rem;
  height: 1.375rem;
}
.hero__actions {
  margin-top: 1.75rem;
}
.hero__reassure {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-strong);
}
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 33rem;
  margin-inline: auto;
}
.hero__photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg) 6rem var(--radius-lg) var(--radius-lg);
  background: #e8edf2;
  box-shadow: var(--shadow-lg);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero__block {
  position: absolute;
  left: -0.875rem;
  bottom: -0.875rem;
  width: 48%;
  height: 42%;
  background: var(--navy);
  border-radius: var(--radius-lg);
}
.hero__ring {
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  width: 9.5rem;
  height: 9.5rem;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  animation: spin 90s linear infinite;
}
.hero__dots {
  position: absolute;
  right: -1.25rem;
  bottom: 2.5rem;
  width: 5.5rem;
  height: 7rem;
  background-image: radial-gradient(circle, rgba(8, 127, 115, 0.55) 1.5px, transparent 2px);
  background-size: 0.875rem 0.875rem;
}
.hero-card,
.hero-panel {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-card {
  left: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.875rem;
  margin: 0;
  padding: 0.875rem 1.125rem;
  animation: rise-in 0.7s var(--ease) 0.15s both, float 7s ease-in-out 1s infinite alternate;
}
.hero-card__figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  padding-bottom: 0.3rem;
  border-bottom: 5px double var(--gold);
}
.hero-card__label {
  grid-column: 2;
  align-self: end;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}
.hero-card__label--main {
  align-self: start;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-panel {
  display: none;
  right: -0.5rem;
  top: 2.25rem;
  padding: 1rem 1.25rem 1.125rem 1.125rem;
  white-space: nowrap;
  animation: rise-in 0.7s var(--ease) 0.3s both, float 8s ease-in-out 1.6s infinite alternate-reverse;
}
.hero-panel__title {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}
.hero-panel ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-panel .icon {
  color: var(--teal);
  width: 1.125rem;
  height: 1.125rem;
}
@media (min-width: 30rem) {
  .hero-panel {
    display: block;
  }
  .hero__photo {
    aspect-ratio: 5 / 5.4;
  }
}
@media (min-width: 40rem) {
  .hero__photo {
    aspect-ratio: 4 / 5;
    object-position: center;
  }
  .hero__photo img {
    object-position: center;
  }
  .hero__block {
    left: -1.5rem;
    bottom: -1.5rem;
  }
  .hero-card {
    left: -1.75rem;
    bottom: 3rem;
    padding: 1.125rem 1.375rem;
  }
  .hero-card__figure {
    font-size: 2.875rem;
  }
  .hero-panel {
    right: -1.75rem;
    top: 4.5rem;
  }
}
@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
  .hero__visual {
    margin-right: 1.75rem;
    justify-self: end;
  }
}
@media (min-width: 80rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

/* 09 Trust strip */
.trust-strip {
  background: var(--navy);
  color: var(--white);
}
.trust-strip__list {
  display: grid;
  grid-template-columns: 1fr;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  border-bottom: 1px solid var(--line-dark);
}
.trust-strip__item:last-child {
  border-bottom: 0;
}
.trust-strip__item .icon {
  width: 1.625rem;
  height: 1.625rem;
  color: var(--gold);
}
@media (min-width: 36rem) {
  .trust-strip__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
  .trust-strip__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
@media (min-width: 64rem) {
  .trust-strip__list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0;
  }
  .trust-strip__item {
    padding: 1.75rem 1.5rem;
    border-bottom: 0;
    border-left: 1px solid var(--line-dark);
  }
  .trust-strip__item:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* Two-column editorial blocks (about, company formation, etc.) */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--media-wide {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .split--reverse > .split__media {
    order: 2;
  }
}
.split__body > .eyebrow + h2,
.split__body > .rule + h2 {
  margin-top: 1rem;
}
.split__body > h2 + * {
  margin-top: 1.25rem;
}
.split__body p + p,
.split__body p + ul,
.split__body ul + p {
  margin-top: 1rem;
}
.split__body .btn-row,
.split__body > .link-arrow,
.split__body > .btn {
  margin-top: 1.75rem;
}
.media {
  position: relative;
}
.media__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8edf2;
  box-shadow: var(--shadow);
}
.media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.media:hover .media__frame img {
  transform: scale(1.035);
}
.media--landscape .media__frame {
  aspect-ratio: 4 / 3;
}
.media--portrait .media__frame {
  aspect-ratio: 4 / 4.6;
}
/* accent: an offset outline drawn with the double rule on two sides */
.media--accent::before {
  content: "";
  position: absolute;
  inset: 1.25rem -0.875rem -0.875rem 1.25rem;
  border-right: 6px double var(--gold);
  border-bottom: 6px double var(--gold);
  border-bottom-right-radius: var(--radius-lg);
}
.media--accent-left::before {
  inset: 1.25rem 1.25rem -0.875rem -0.875rem;
  border-right: 0;
  border-left: 6px double var(--gold);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: var(--radius-lg);
}
.media__chip {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.875rem 1.125rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.media__chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
}
.media__chip span {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.checklist {
  display: grid;
  gap: 0.75rem;
}
.checklist li {
  position: relative;
  padding-left: 2rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--teal-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23087F73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.8 10.3 2.7 2.7 5.7-6'/%3E%3C/svg%3E")
    center / 100% no-repeat;
}
.on-dark .checklist li::before {
  background-color: rgba(255, 255, 255, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23D6B56D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.8 10.3 2.7 2.7 5.7-6'/%3E%3C/svg%3E");
}
@media (min-width: 36rem) {
  .checklist--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}
.notice {
  display: flex;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}
.section--tint .notice {
  background: var(--white);
}
.notice .icon {
  margin-top: 0.15rem;
  color: var(--teal);
  width: 1.25rem;
  height: 1.25rem;
}
.notice--gold {
  background: var(--gold-tint);
  border-color: #ecdcb4;
}
.notice--gold .icon {
  color: #8a6a1f;
}
.notice strong {
  color: var(--navy);
}
.split__body .notice {
  margin-top: 1.5rem;
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.area-list li {
  padding: 0.4rem 0.9rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.section--tint .area-list li {
  background: var(--white);
}

/* 10 Services */
.tabs__list {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.375rem;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar {
  display: none;
}
.tabs__tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1.125rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted-strong);
  background: transparent;
  border: 0;
  border-radius: 11px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tabs__tab:hover {
  color: var(--navy);
  background: var(--bg);
}
.tabs__tab[aria-selected="true"] {
  color: var(--white);
  background: var(--navy);
}
.tabs__count {
  min-width: 1.6rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  background: var(--bg);
  border-radius: 999px;
}
.tabs__tab[aria-selected="true"] .tabs__count {
  color: var(--midnight);
  background: var(--gold);
}
.service-group + .service-group {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.js .tabs .service-group + .service-group {
  margin-top: 0;
}
.service-group__head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  max-width: 50rem;
}
.service-group__head p {
  color: var(--muted-strong);
}
.service-grid {
  display: grid;
  gap: 1.125rem;
}
@media (min-width: 38rem) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 64rem) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* accent: the double rule draws itself along the top edge on hover */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 6px double var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: #cfd8e3;
  box-shadow: var(--shadow);
}
.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleX(1);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.125rem;
  color: var(--teal);
  background: var(--teal-tint);
  border-radius: 12px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.service-card:hover .service-card__icon {
  color: var(--white);
  background: var(--teal);
}
.service-card__title {
  font-size: 1.125rem;
}
.service-card__text {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
}
.service-card__note {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-strong);
}
.service-card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9375rem;
}
/* make the whole card a click target while keeping one real link */
.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.service-more {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.service-foot p {
  max-width: 40rem;
  font-size: 0.9375rem;
  color: var(--muted-strong);
}

/* 11 Feature sections */
/* Making Tax Digital */
.mtd {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, var(--midnight) 0%, var(--navy) 46%, #0b5f5d 100%);
}
.mtd::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 6.5rem 100%;
  pointer-events: none;
}
.mtd__ring {
  position: absolute;
  right: -9rem;
  top: -9rem;
  width: 30rem;
  height: 30rem;
  border: 1.5px dashed rgba(214, 181, 109, 0.45);
  border-radius: 50%;
  animation: spin 140s linear infinite;
  pointer-events: none;
}
.mtd__ring::after {
  content: "";
  position: absolute;
  inset: 4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.mtd__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.mtd__copy h2 {
  margin-top: 1.25rem;
}
.mtd__copy p {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.0625rem;
}
.mtd__copy .btn {
  margin-top: 2rem;
}
.mtd__points {
  display: grid;
  gap: 0.875rem;
}
.mtd__point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mtd__point:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(214, 181, 109, 0.5);
}
.mtd__point .icon {
  width: 1.625rem;
  height: 1.625rem;
  margin-top: 0.1rem;
  color: var(--gold);
}
.mtd__point p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}
@media (min-width: 60rem) {
  .mtd__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

/* Benefits advice */
.benefits {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  overflow: hidden;
  background: var(--gold-tint);
  border: 1px solid #ecdcb4;
  border-radius: var(--radius-lg);
}
.benefits__copy h2 {
  margin-top: 1rem;
}
.benefits__copy p {
  margin-top: 1.125rem;
  max-width: 36rem;
  font-size: 1.0625rem;
}
.benefits__copy .btn-row {
  margin-top: 1.75rem;
}
.benefits__points {
  display: grid;
  gap: 0.875rem;
  align-content: center;
}
.benefits__points li {
  display: flex;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid #ecdcb4;
  border-radius: var(--radius);
}
.benefits__points .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--teal);
}
.benefits__points strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
}
.benefits__points span {
  font-size: 0.9375rem;
  color: var(--muted-strong);
}
@media (min-width: 60rem) {
  .benefits {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
    align-items: center;
  }
}

/* Money transfer partners */
.partner-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) {
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-card:hover,
.partner-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.partner-card__label {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 12px;
}
.partner-card__label img {
  width: auto;
  height: 1.5rem;
  max-width: 100%;
}
.partner-card p {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-strong);
}
.partner-card .link-arrow {
  margin-top: auto;
  padding-top: 1.125rem;
  font-size: 0.9375rem;
}
.partner-card .link-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
}
.partner-note {
  margin-top: 1.75rem;
}

/* Why choose us */
.why {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
}
.why__bg {
  position: absolute;
  inset: 0;
}
.why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.55;
}
.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--midnight) 12%, rgba(10, 23, 43, 0.88) 55%, rgba(10, 23, 43, 0.72) 100%);
}
.why__inner {
  position: relative;
}
.why-grid {
  display: grid;
  gap: 1.125rem;
}
@media (min-width: 38rem) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 68rem) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.why-card {
  padding: 1.625rem 1.5rem;
  background: rgba(16, 35, 63, 0.72);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.why-card:hover {
  background: rgba(16, 35, 63, 0.92);
  border-color: rgba(214, 181, 109, 0.55);
}
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.125rem;
  color: var(--gold);
  border: 1px solid rgba(214, 181, 109, 0.5);
  border-radius: 12px;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.why-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.why-card:hover .why-card__icon {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--midnight);
}
.why-card p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

/* Reusable call-to-action band */
.cta-band {
  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.75rem, 1rem + 4vw, 3.5rem);
  overflow: hidden;
  background: linear-gradient(118deg, var(--midnight), var(--navy) 60%, #0d4a55);
  border-radius: var(--radius-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 6.5rem 100%;
  pointer-events: none;
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  margin-top: 1rem;
}
.cta-band p {
  margin-top: 0.75rem;
  max-width: 38rem;
}
.cta-band__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
}
.cta-band__phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--white);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta-band__phones a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.cta-band__phones .icon {
  color: var(--gold);
}
.cta-band__phones span {
  font-weight: 500;
  color: var(--on-dark);
}
@media (min-width: 60rem) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }
  .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 12 Offices & contact form */
.office-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) {
  .office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.office-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.office-card__media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--navy);
}
.office-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.9s var(--ease);
}
.office-card:hover .office-card__media img {
  transform: scale(1.04);
}
.office-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.375rem, 1rem + 1.6vw, 2rem);
}
.office-card__name {
  margin-top: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.office-card__list {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
}
.office-card__row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
  padding-block: 0.5rem;
}
.office-card__row .icon {
  margin-top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--teal);
}
.office-card__row dt {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}
.office-card__row dd a {
  display: inline-block;
  padding-block: 0.6rem;
  margin-block: -0.35rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.office-card__row dd a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.office-card__actions {
  margin-top: auto;
  padding-top: 1.5rem;
}
.map-embed {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}
.map-consent {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.enquiry {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 62rem) {
  .enquiry {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
  .enquiry__aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}
.enquiry__aside h2,
.enquiry__aside h3 {
  margin-top: 1rem;
}
.enquiry__aside > p {
  margin-top: 1rem;
  color: var(--muted-strong);
}
.contact-list {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.5rem;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.contact-list a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.contact-list .icon {
  color: var(--teal);
}
.contact-list small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.enquiry__aside .notice {
  margin-top: 1.5rem;
}
.enquiry__media {
  display: none;
  margin-top: 2rem;
}
@media (min-width: 62rem) {
  .enquiry__media {
    display: block;
  }
}

.form {
  padding: clamp(1.375rem, 1rem + 2.4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form__title {
  font-size: 1.375rem;
}
.form__intro {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-strong);
}
.form__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 40rem) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}
.field label,
.field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.field__optional {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
}
.field__hint {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.125rem;
  padding: 0.7rem 0.9rem;
  font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #7d8ba0;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233F' 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 0.85rem center;
  background-size: 1.25rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #55647a;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 165, 148, 0.25);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
  background-color: var(--error-tint);
}
.field__error {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--error);
}
.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  align-items: start;
}
.field--check input {
  width: 1.375rem;
  height: 1.375rem;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--teal);
}
.field--check label {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}
.field--check .field__error {
  grid-column: 2;
}
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__warning {
  margin-top: 1.25rem;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.form__actions p {
  flex: 1 1 14rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.form__status {
  margin-top: 1.5rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.form__status:empty {
  display: none;
}
.form__status h3 {
  font-size: 1.0625rem;
}
.form__status p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
}
.form__status .btn-row {
  margin-top: 1rem;
}
.form__status--info {
  border-left-color: var(--gold);
  background: var(--gold-tint);
  border-color: #ecdcb4;
  border-left-color: #b8923f;
}
.form__status--success {
  border-color: #b7dfd8;
  border-left-color: var(--teal);
  background: var(--teal-tint);
}
.form__status--error {
  border-color: #f3c7c2;
  border-left-color: var(--error);
  background: var(--error-tint);
}
.form__status--error h3 {
  color: var(--error);
}
.form__status ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
}

/* 13 Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, var(--midnight) 0%, var(--navy) 62%, #0d4a55 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 6.5rem 100%;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4.5vw, 5.5rem);
}
.page-hero__copy {
  max-width: 44rem;
}
.page-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.625rem);
}
.page-hero .rule {
  margin-top: 1.5rem;
}
.page-hero .lead {
  margin-top: 1.5rem;
}
.page-hero .btn-row {
  margin-top: 2rem;
}
.page-hero__media {
  position: relative;
  max-width: 34rem;
}
.page-hero__media .media__frame {
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: -0.875rem 1.25rem 1.25rem -0.875rem;
  border-top: 6px double var(--gold);
  border-left: 6px double var(--gold);
  border-top-left-radius: var(--radius-lg);
}
@media (min-width: 62rem) {
  .page-hero__inner--media {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 4rem;
  }
  .page-hero__media {
    justify-self: end;
    width: 100%;
  }
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--on-dark);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.breadcrumb a:hover {
  color: var(--gold);
}

/* Counters */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.stat {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--white);
}
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted-strong);
}
/* Simple cards used on About and Mortgages pages */
.card-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 40rem) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.info-card {
  padding: 1.625rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-card .service-card__icon {
  margin-bottom: 1rem;
}
.info-card p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-strong);
}

/* Sticky category navigation on the Services page */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0.625rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar {
  display: none;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.subnav a:hover,
.subnav a.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
html:not(.js) .subnav {
  position: static;
}
html:not(.js) .back-to-top {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Long-form service pages: table of contents + detail articles */
.doc {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .doc {
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - 3rem);
    overflow-y: auto;
  }
}
.toc {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc__title {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy);
}
.toc ol {
  display: grid;
  gap: 0.125rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 34rem) and (max-width: 63.99rem) {
  .toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}
.toc a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
@media (max-width: 63.99rem) {
  .toc a {
    padding-block: 0.75rem; /* comfortable touch target */
  }
}
.toc a:hover {
  color: var(--teal);
  background: var(--white);
}
.toc a.is-active {
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border-left-color: var(--teal);
}
.detail {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.detail:first-child {
  padding-top: 0;
  border-top: 0;
}
.detail__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.detail__head .service-card__icon {
  flex: none;
  margin: 0;
}
.detail h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}
.detail > p,
.detail > ul,
.detail > .notice,
.detail > h3 {
  margin-top: 1.125rem;
}
.detail > p {
  max-width: 44rem;
}
.detail h3 {
  margin-top: 1.75rem;
}
.detail .link-arrow {
  margin-top: 1.25rem;
}
.detail-figure {
  margin-block: clamp(1.5rem, 4vw, 3rem);
}
.detail-figure .media__frame {
  aspect-ratio: 16 / 8;
}
.doc__cta {
  margin-block: clamp(2rem, 4vw, 3rem);
}

/* FAQ — native <details>, so it works without JavaScript */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__item[open] {
  border-color: #cfd8e3;
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.75rem;
  padding: 1rem 1.375rem;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F73' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 1.125rem no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item summary:hover {
  color: var(--teal);
}
.faq__answer {
  padding: 0 1.375rem 1.375rem;
  max-width: 44rem;
  color: var(--text);
}
.faq__answer p + p {
  margin-top: 0.75rem;
}

/* Prose (privacy policy) */
.prose {
  max-width: 46rem;
}
.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
}
.prose h3 {
  margin-top: 1.75rem;
}
.prose p,
.prose ul,
.prose ol {
  margin-top: 1rem;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose li + li {
  margin-top: 0.4rem;
}
.prose .notice {
  margin-top: 1.5rem;
}
.todo {
  padding: 0.05em 0.35em;
  font-weight: 600;
  color: #6b4e0f;
  background: #fbecc4;
  border-radius: 4px;
}
.draft-banner {
  background: #fbecc4;
  color: #4a3608;
  font-size: 0.9375rem;
  font-weight: 600;
  border-bottom: 1px solid #e6cf8f;
}
.draft-banner .container {
  display: flex;
  gap: 0.75rem;
  padding-block: 0.875rem;
}
.draft-banner .icon {
  margin-top: 0.15rem;
}

/* 14 Footer & back-to-top */
.site-footer {
  background: var(--midnight);
  color: var(--on-dark);
  border-top: 6px double var(--gold);
  font-size: 0.9375rem;
}
.site-footer__main {
  display: grid;
  gap: 2.5rem 2rem;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 40rem) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 68rem) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 3rem;
  }
  .site-footer__brand {
    grid-column: auto;
  }
}
.site-footer__brand img {
  width: auto;
  height: 3rem;
}
.site-footer__brand p {
  margin-top: 1.25rem;
  max-width: 24rem;
}
.site-footer__tagline {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold);
}
.site-footer h2 {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--white);
}
.site-footer__links {
  display: grid;
  margin-top: 0.5rem;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer__links a {
  display: inline-block;
  padding-block: 0.625rem;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.site-footer__office + .site-footer__office {
  margin-top: 1.25rem;
}
.site-footer__office {
  margin-top: 0.875rem;
}
.site-footer__office strong {
  display: block;
  font-family: var(--font-head);
  color: var(--white);
}
.site-footer__office a {
  display: inline-block;
  padding-block: 0.7rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.site-footer__email {
  margin-top: 1.25rem;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.site-footer__legal a {
  display: inline-block;
  padding-block: 0.7rem;
}
.site-footer__disclaimer {
  padding-bottom: 2rem;
  max-width: 62rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s,
    background-color 0.2s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.back-to-top:hover {
  background: var(--teal);
}
@media (min-width: 48rem) {
  .back-to-top {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

/* 404 */
.not-found {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  max-width: 40rem;
}
.not-found__code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--navy);
  padding-bottom: 0.75rem;
  border-bottom: 8px double var(--gold);
}

/* 15 Motion */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -8px;
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Scroll reveals. main.js adds .is-pending only to elements that start below
   the viewport, so nothing is ever hidden unless the script is running. */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--d1 {
  --reveal-delay: 0.12s;
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(20px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero__ring,
  .mtd__ring,
  .hero-card,
  .hero-panel {
    animation: none;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .service-card:hover,
  .service-card:focus-within,
  .partner-card:hover,
  .partner-card:focus-within,
  .why-card:hover .why-card__icon,
  .media:hover .media__frame img,
  .office-card:hover .office-card__media img {
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .back-to-top,
  .subnav,
  .hero__visual,
  .form,
  .cta-band {
    display: none !important;
  }
  body {
    font-size: 11pt;
  }
  .section {
    padding-block: 1.5rem;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }
}
