:root {
  --turquoise: #3dd6d0;
  --turquoise-dark: #006c68;
  --turquoise-light: #8ff0ed;
  --dark: #3b454b;
  --darkest: #172024;
  --mid: #65727a;
  --light: #e1e6ea;
  --white: #ffffff;
  --paper: #f7f9fa;
  --focus: #ffdd00;
  --shadow: 0 20px 60px rgba(10, 20, 25, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  --link-hover: var(--turquoise-dark);
  margin: 0;
  color: var(--darkest);
  font-family:
    Aptos,
    "Aptos Display",
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  background: var(--paper);
  overflow-x: hidden;
}

body.no-scroll-jump {
  overflow-x: hidden;
}

.icon-sprite {
  display: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(61, 214, 208, 0.55);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--darkest);
}

main:focus {
  outline: none;
  box-shadow: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.skip-link {
  position: absolute;
  z-index: 1100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--darkest);
  font-weight: 800;
  background: var(--white);
  border: 2px solid var(--darkest);
  border-radius: 4px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 1rem max(1rem, calc((100vw - var(--max-width)) / 2));
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition:
    transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    backdrop-filter 250ms ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-115%);
}

.site-header.is-scrolled {
  background: rgba(13, 20, 23, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 36px rgba(10, 20, 25, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header--static {
  position: relative;
  z-index: 10;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  will-change: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 18vw, 245px);
  border-radius: 4px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.38));
}

.language-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-width: max-content;
  padding: 0.2rem;
  background: rgba(13, 20, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 9999px;
  overflow: hidden;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.language-switch__button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  color: var(--white);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
}

.language-switch__button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.language-switch__button[aria-pressed="true"] {
  color: var(--darkest);
  background: var(--turquoise);
}

.language-switch--dark {
  background: rgba(23, 32, 36, 0.92);
  border-color: rgba(23, 32, 36, 0.28);
}

.hero {
  --link-hover: var(--turquoise-light);
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7.5rem 1rem 4rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 20, 23, 0.54), rgba(13, 20, 23, 0.3) 44%, rgba(13, 20, 23, 0.06)),
    linear-gradient(0deg, rgba(13, 20, 23, 0.26), rgba(13, 20, 23, 0.04) 62%),
    url("assets/hero-britannia-bridge-dusk.webp") center / cover no-repeat;
}

.hero__content {
  width: min(calc(100vw - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: clamp(0rem, 6vh, 4rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--turquoise);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #1aaea8;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 23ch;
  font-size: clamp(3rem, 7.7vw, 5.8rem);
  font-weight: 750;
}

h1 span {
  display: block;
}

h2 {
  max-width: 820px;
  color: var(--darkest);
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 720;
}

h3 {
  color: var(--darkest);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.hero__lead {
  max-width: 680px;
  margin: 1.15rem 0 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 560;
}

.hero h1,
.hero__lead {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.96),
    0 8px 28px rgba(0, 0, 0, 0.86),
    0 18px 44px rgba(0, 0, 0, 0.7);
}

.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 1rem;
}

.section__inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.coverage__grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(300px, 1fr);
  grid-template-areas: "map panel";
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.services {
  background: var(--white);
}

.services.section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0.5rem 0.5rem;
}

.services .section__inner {
  width: min(100%, 1720px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.service-card {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: var(--white);
  background: var(--darkest);
  border: 2px solid var(--white);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(18, 28, 32, 0.13);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 180ms ease;
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.service-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(108px, 6.6vw, 123px);
  margin: clamp(0.75rem, 1.3vw, 1rem);
  padding: clamp(0.72rem, 1vw, 0.88rem);
  background: rgba(13, 20, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  backdrop-filter: blur(5px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.service-card:hover .service-card__content {
  background: rgba(13, 20, 23, 0.78);
  border-color: rgba(61, 214, 208, 0.55);
  transform: translateY(-2px);
}

.service-card__title {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 1.65vw, 1.35rem) clamp(1.05rem, 1.8vw, 1.45rem) 3.25rem;
  color: var(--white);
  font-size: clamp(1.36rem, 1.8vw, 1.68rem);
  font-weight: 850;
  line-height: 1.08;
  background:
    linear-gradient(180deg, rgba(13, 20, 23, 0.74) 0%, rgba(13, 20, 23, 0.42) 58%, rgba(13, 20, 23, 0) 100%);
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.88),
    0 8px 22px rgba(0, 0, 0, 0.68);
}

.service-card p {
  margin: 0;
  color: var(--white);
  font-size: clamp(0.94rem, 1.08vw, 1.05rem);
  line-height: 1.42;
}

.js .reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.accreditations {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7f8 100%);
  border-top: 1px solid #dbe4e8;
  border-bottom: 1px solid #dbe4e8;
}

.accreditations.section {
  padding: clamp(2.75rem, 6vw, 4.75rem) 1rem;
}

.accreditation-showcase {
  display: grid;
  gap: 1rem;
}

.accreditation-heading {
  display: grid;
  gap: 0.25rem;
  max-width: 720px;
}

.accreditation-heading .eyebrow {
  margin: 0;
}

.accreditation-heading h2 {
  font-size: 2rem;
}

.accreditation-heading p {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.4;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 360px));
  gap: 0.85rem;
}

.accreditation-card {
  position: relative;
  display: grid;
  grid-template-rows: 132px minmax(0, 1fr);
  min-height: 322px;
  overflow: hidden;
  color: var(--darkest);
  text-decoration: none;
  background: var(--white);
  border: 1px solid #cedae0;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 28, 32, 0.1);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.accreditation-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--turquoise), #f0b429);
}

.accreditation-card:hover {
  color: var(--darkest);
  border-color: #86d8d5;
  box-shadow: 0 22px 48px rgba(18, 28, 32, 0.16);
  transform: translateY(-2px);
}

.accreditation-card--widget:hover {
  transform: translateY(-2px);
}

.accreditation-card--widget {
  cursor: pointer;
}

.accreditation-card__logo,
.accreditation-card__widget,
.accreditation-card__content,
.accreditation-card__meta {
  display: grid;
}

.accreditation-card__logo {
  place-items: center;
  padding: 1rem 1.25rem 0.85rem 1.45rem;
  background:
    linear-gradient(135deg, #f7fbfb 0%, #e8f4f4 100%);
  border-bottom: 1px solid #dbe4e8;
}

.accreditation-card__logo img {
  width: min(100%, 280px);
  max-height: 96px;
  object-fit: contain;
}

.accreditation-card__widget {
  place-items: start;
  width: 96px;
  height: 96px;
  overflow: hidden;
}

.accreditation-card__widget iframe {
  width: 501px;
  height: 501px;
  border: 0;
  pointer-events: none;
  transform: scale(0.1916);
  transform-origin: 0 0;
}

.accreditation-card__content {
  gap: 0.7rem;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 1rem 1rem 1rem 1.35rem;
}

.accreditation-card__title {
  color: var(--darkest);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.16;
}

.accreditation-card__body {
  display: grid;
  align-content: center;
  align-self: stretch;
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.42;
}

.accreditation-card__meta {
  gap: 0.55rem;
  margin-top: 0;
  padding-top: 0.2rem;
  align-self: end;
}

.accreditation-card__date {
  width: fit-content;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  color: #243238;
  font-size: 0.8rem;
  font-weight: 800;
  background: #eef6f7;
  border: 1px solid #c7e2e4;
  border-radius: 999px;
}

.coverage {
  --link-hover: var(--turquoise-light);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 36, 0.36), rgba(23, 32, 36, 0.08)),
    url("assets/coverage-wales-forest-road.webp") center / cover no-repeat;
}

.coverage__grid {
  min-height: 320px;
  align-items: center;
}

.coverage__panel {
  grid-area: panel;
  align-self: center;
  max-width: 660px;
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
  background: rgba(23, 32, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.coverage__panel h2 {
  max-width: none;
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.86),
    0 8px 24px rgba(0, 0, 0, 0.72);
}

.coverage__map {
  grid-area: map;
  align-self: center;
  justify-self: center;
  width: min(100%, 170px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.34));
}

.coverage h2,
.coverage p {
  color: var(--white);
}

.coverage__panel p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 650;
  line-height: 1.32;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.86),
    0 8px 24px rgba(0, 0, 0, 0.72);
}

.coverage p:last-child {
  margin-bottom: 0;
  color: var(--white);
}

.contact {
  --link-hover: var(--turquoise-light);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--darkest);
  border-top: 4px solid var(--white);
  isolation: isolate;
}

.contact.section {
  padding: 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 20, 23, 0.48), rgba(13, 20, 23, 0.24) 54%, rgba(13, 20, 23, 0.06)),
    linear-gradient(0deg, rgba(13, 20, 23, 0.24), rgba(13, 20, 23, 0.04));
}

.contact__media {
  grid-area: 1 / 1;
  z-index: 0;
  width: 100%;
  height: auto;
}

.contact__simple {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  width: min(calc(100% - 2rem), var(--max-width));
  max-width: var(--max-width);
  margin: 0 auto;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.contact__simple h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.6vw, 2.95rem);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.96),
    0 8px 26px rgba(0, 0, 0, 0.82);
  transform: translateY(-16px);
}

.contact__simple p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.92),
    0 8px 24px rgba(0, 0, 0, 0.78);
  transform: translateY(13px);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.contact-links__separator {
  opacity: 0.82;
}

.contact-link,
.email-inline {
  color: var(--turquoise-light);
  font-weight: 800;
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.governance {
  --category-header-bg: var(--darkest);
  --category-header-text: var(--white);
  --category-header-icon: var(--turquoise);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 250, 0.97)),
    var(--paper);
  border-top: 1px solid rgba(23, 32, 36, 0.1);
  border-bottom: 1px solid rgba(23, 32, 36, 0.12);
  isolation: isolate;
}

.governance::before,
.governance::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.governance::before {
  z-index: -2;
  opacity: 0.72;
  background:
    radial-gradient(circle at 21% 31%, rgba(61, 214, 208, 0.12) 0 0.25rem, transparent 0.28rem),
    radial-gradient(circle at 39% 63%, rgba(23, 32, 36, 0.12) 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 62% 29%, rgba(61, 214, 208, 0.14) 0 0.22rem, transparent 0.25rem),
    radial-gradient(circle at 79% 69%, rgba(23, 32, 36, 0.1) 0 0.18rem, transparent 0.2rem),
    linear-gradient(115deg, transparent 0 15%, rgba(0, 108, 104, 0.08) 15.2% 15.55%, transparent 15.75% 36%, rgba(23, 32, 36, 0.07) 36.2% 36.45%, transparent 36.65%),
    linear-gradient(34deg, transparent 0 47%, rgba(0, 108, 104, 0.07) 47.2% 47.5%, transparent 47.75% 100%),
    linear-gradient(rgba(23, 32, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 36, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    44px 44px,
    44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
}

.governance::after {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 46%, rgba(61, 214, 208, 0.2), transparent 28%),
    radial-gradient(circle at 78% 42%, rgba(23, 32, 36, 0.11), transparent 30%);
  opacity: 0.58;
}

.governance > .section__inner {
  position: relative;
  z-index: 1;
}

.governance.section {
  padding-block: clamp(2.35rem, 4.6vw, 3.8rem);
}

.governance__header {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.governance h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.governance__statement {
  margin: 0;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.5;
}

.governance__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.55rem);
  align-items: stretch;
}

.governance__column {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--darkest);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(151, 169, 180, 0.62);
  border-radius: 8px;
  box-shadow:
    0 18px 45px rgba(18, 28, 32, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.governance__column h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  color: var(--category-header-text);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.2;
  background: var(--category-header-bg);
  border-bottom: 2px solid rgba(61, 214, 208, 0.52);
}

.governance__category-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--category-header-icon);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.governance__links {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1rem;
}

.governance__column--insurance {
  grid-template-rows: auto 1fr;
}

.governance__column--insurance::before {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.95rem;
  width: 7.4rem;
  height: 8.2rem;
  background: rgba(0, 108, 104, 0.055);
  clip-path: polygon(50% 0, 88% 16%, 82% 68%, 50% 100%, 18% 68%, 12% 16%);
  pointer-events: none;
}

.governance__column--insurance .governance__statement {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  background:
    linear-gradient(90deg, rgba(61, 214, 208, 0.12), transparent 0.28rem),
    rgba(247, 249, 250, 0.76);
  border-top: 1px solid rgba(203, 215, 222, 0.55);
}

.document-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  height: 3.55rem;
  padding: 0.5rem 0.62rem;
  color: var(--darkest);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  background: #fbfcfd;
  border: 1px solid #cbd7de;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.document-link span {
  min-width: 0;
  padding-right: 1rem;
}

.document-link::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -38%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(61, 214, 208, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
  pointer-events: none;
}

.document-link::after {
  content: ">";
  position: absolute;
  right: 0.72rem;
  color: rgba(0, 108, 104, 0.78);
  font-weight: 900;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.document-link:hover {
  color: var(--darkest);
  background: rgba(61, 214, 208, 0.08);
  border-color: rgba(0, 108, 104, 0.36);
  box-shadow: 0 8px 18px rgba(18, 28, 32, 0.1);
  transform: translateY(-1px);
}

.document-link:hover::before {
  left: 106%;
}

.document-link:hover::after {
  color: var(--turquoise-dark);
  transform: translateX(2px);
}

.document-link:focus-visible::before {
  left: 106%;
}

.document-link:focus-visible::after {
  color: var(--turquoise-dark);
  transform: translateX(2px);
}

.document-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow:
    0 0 0 5px var(--white),
    0 0 0 7px var(--darkest);
  transform: translateY(-1px);
}

.document-link__icon {
  flex: 0 0 auto;
  width: 1.28rem;
  height: 1.28rem;
  color: var(--turquoise-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  --link-hover: var(--turquoise-light);
  padding: 3.35rem 1rem 3.55rem;
  color: rgba(255, 255, 255, 0.86);
  background: var(--darkest);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 2.35rem 2.75rem;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.site-footer img {
  width: min(275px, 74vw);
  height: auto;
  margin-bottom: 1.15rem;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}

.footer__company-details {
  display: grid;
  gap: 0.42rem;
  align-content: start;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.site-footer strong {
  color: var(--white);
  margin-bottom: 0.08rem;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}

.footer__contact-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35rem;
}

.footer__legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__legal p {
  margin: 0;
}

.footer__copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.footer__copyright span::after {
  content: "|";
  margin-left: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__credit {
  font-weight: 700;
}

.footer__credit:hover {
  color: var(--turquoise-light);
}

.policy-dialog {
  width: min(calc(100% - 2rem), 760px);
  max-height: min(86vh, 760px);
  padding: 0;
  color: var(--darkest);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(10, 20, 25, 0.35);
  overflow: auto;
}

.policy-dialog::backdrop {
  background: rgba(13, 20, 23, 0.62);
  backdrop-filter: blur(5px);
}

.policy-dialog__body {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.policy-dialog__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.policy-dialog h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.policy-dialog__close {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  color: var(--darkest);
  font: inherit;
  font-weight: 800;
  background: var(--light);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.policy-dialog__close:hover {
  background: var(--turquoise);
}

.policy-dialog__content {
  display: grid;
  gap: 0.85rem;
}

.policy-dialog__content h1,
.policy-dialog__content h2,
.policy-dialog__content h3,
.policy-dialog__content p,
.policy-dialog__content ul,
.policy-dialog__content ol {
  margin: 0;
}

.policy-dialog__content h1,
.policy-dialog__content h2,
.policy-dialog__content h3 {
  max-width: none;
  color: var(--darkest);
  line-height: 1.18;
}

.policy-dialog__content h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.policy-dialog__content h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.18rem, 2.4vw, 1.45rem);
}

.policy-dialog__content h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.policy-dialog__content ul,
.policy-dialog__content ol {
  padding-left: 1.35rem;
}

.policy-dialog__content li + li {
  margin-top: 0.35rem;
}

.not-found-page {
  min-height: 100svh;
}

.not-found {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 112px);
  padding: clamp(3rem, 8vw, 6rem) 1rem;
}

.not-found__content {
  width: min(100%, 760px);
  margin: 0 auto;
}

.not-found__content h1 {
  max-width: 11ch;
  color: var(--darkest);
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.not-found__content p {
  max-width: 580px;
  margin: 1rem 0 1.4rem;
  color: var(--dark);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.not-found__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: var(--darkest);
  font-weight: 800;
  text-decoration: none;
  background: var(--turquoise);
  border-radius: 4px;
}

.not-found__link:hover {
  color: var(--darkest);
  background: #86e8e4;
}

@media (max-width: 760px) {
  .site-header {
    justify-content: space-between;
  }

  .site-header--static {
    position: relative;
  }

  .hero {
    min-height: 760px;
    padding-top: 9.25rem;
    background-position: 62% center;
  }

  .coverage__grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .governance__columns {
    grid-template-columns: 1fr;
  }

  .accreditation-heading {
    gap: 0.65rem;
  }

  .accreditation-heading h2 {
    font-size: 1.9rem;
  }

  .coverage__grid {
    grid-template-areas:
      "map"
      "panel";
  }

  .coverage__map {
    justify-self: start;
    width: min(50vw, 170px);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: max(0.625rem, calc((100vw - var(--max-width)) / 2));
  }

  .site-header--static {
    width: min(100% - 1.25rem, var(--max-width));
    padding-inline: 0;
  }

  .brand {
    width: min(190px, 58vw);
  }

  .language-switch__button {
    min-height: 2.2rem;
    min-width: 2.2rem;
    padding-inline: 0.45rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 700px;
    padding: 8.5rem 1rem 2.5rem;
    background-position: 70% center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 7.4vw, 2.55rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .hero__lead {
    font-size: 1.03rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .accreditations.section {
    padding: 2.35rem 0.75rem;
  }

  .accreditation-heading h2 {
    font-size: 1.7rem;
  }

  .accreditation-heading p {
    font-size: 1rem;
  }

  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-card {
    grid-template-rows: 116px auto;
    min-height: 0;
  }

  .accreditation-card__logo {
    padding: 0.85rem 1rem 0.75rem 1.25rem;
  }

  .accreditation-card__widget {
    width: 88px;
    height: 88px;
  }

  .accreditation-card__widget iframe {
    transform: scale(0.1756);
  }

  .accreditation-card__content {
    padding: 0.9rem 0.9rem 0.95rem 1.2rem;
  }

  .service-card {
    min-height: 0;
  }

  .service-card__content {
    min-height: 0;
  }

  .policy-dialog__header {
    display: grid;
  }

  .governance.section {
    padding-block: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .site-header {
    will-change: auto;
  }

  .site-header.is-hidden {
    transform: translateY(0);
  }

  .js .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .document-link:hover,
  .document-link:focus-visible {
    transform: none;
  }

  .document-link::before {
    display: none;
  }

}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid CanvasText;
    box-shadow: none;
  }

  .hero,
  .coverage,
  .contact,
  .governance {
    color: CanvasText;
    background: Canvas;
  }

  .hero__lead,
  .coverage__panel h2,
  .coverage p,
  .contact__simple p,
  .contact__simple h2,
  .service-card__title,
  .service-card p {
    color: CanvasText;
    text-shadow: none;
  }

  .service-card,
  .service-card__title,
  .service-card__content,
  .document-link,
  .coverage__panel,
  .language-switch {
    background: Canvas;
    border-color: CanvasText;
  }

  .service-card img,
  .contact__media {
    display: none;
  }

  .coverage__map {
    filter: none;
    opacity: 1;
  }

}
