@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/sourcesanspro-regular-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/sourcesanspro-bold-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-950: #071b2b;
  --navy-900: #0b253a;
  --navy-800: #12344d;
  --navy-700: #204962;
  --teal-700: #087675;
  --teal-600: #0b8f8d;
  --teal-500: #18aaa6;
  --teal-100: #dff4f2;
  --gold-500: #c9a45b;
  --gold-300: #e2c889;
  --ink: #132b3a;
  --muted: #61727e;
  --line: #dfe7ea;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #ffffff;
  --paper-warm: #fbfaf7;
  --mist: #f2f6f7;
  --shadow-sm: 0 12px 34px rgba(7, 27, 43, 0.07);
  --shadow-md: 0 24px 70px rgba(7, 27, 43, 0.13);
  --shadow-shell: 0 28px 80px rgba(7, 27, 43, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --content: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --font-sans: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --transition: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(24, 170, 166, 0.08), transparent 24rem),
    linear-gradient(145deg, #e9eef0, #dfe6e9);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--navy-800);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
[type="submit"] {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--teal-700);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.85rem);
}

h3 {
  color: var(--navy-900);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

::selection {
  color: #fff;
  background: var(--teal-700);
}

.screen-reader-text,
.svg-sprite {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

.site-shell {
  position: relative;
  width: min(100% - 2.5rem, 1360px);
  min-height: 100vh;
  margin: 1.25rem auto;
  overflow: clip;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: var(--shadow-shell);
}

.site-main {
  overflow: clip;
}

.icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--teal-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold-300);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.76rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button .icon {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform var(--transition);
}

.button:hover .icon {
  transform: translateX(0.22rem);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--teal-700);
  box-shadow: 0 8px 22px rgba(8, 118, 117, 0.2);
}

.button--primary:hover {
  color: #fff;
  background: var(--navy-800);
}

.button--light {
  color: var(--navy-950);
  background: #fff;
}

.button--light:hover {
  color: var(--navy-950);
  background: var(--gold-300);
}

.button--outline {
  color: var(--navy-900);
  border-color: var(--navy-800);
  background: transparent;
}

.button--outline:hover {
  color: #fff;
  background: var(--navy-900);
}

.button--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.button--ghost-light:hover {
  color: var(--navy-950);
  border-color: #fff;
  background: #fff;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(19, 43, 58, 0.09);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__bar {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.45rem var(--gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: 176px;
  height: auto;
  background: #fff;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.1vw, 1rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 0.75rem 0.12rem;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--teal-700);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.search-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.menu-toggle:hover,
.search-toggle:hover {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.menu-toggle {
  display: none;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.site-search {
  padding: 1.35rem var(--gutter) 1.65rem;
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.site-search[hidden] {
  display: none;
}

.site-search form {
  width: min(100%, 760px);
  margin-inline: auto;
}

.site-search label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-search__field {
  display: flex;
  gap: 0.6rem;
}

.site-search input {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #71838d;
  border-radius: 999px;
}

/* Hero slider */
.home-hero {
  position: relative;
  height: clamp(400px, 32.5vw, 442px);
  min-height: 400px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.home-hero__slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 650ms ease, visibility 650ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
}

.hero-slide--stenotype {
  background-image: url("../images/hero/steno2c.jpg");
}

.hero-slide--experience {
  background-image: url("../images/hero/steno-20anni.jpg");
}

.hero-slide--services {
  background-image: url("../images/hero/tribunale2026.jpg");
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 22, 0.04), rgba(3, 13, 22, 0.22) 45%, rgba(3, 13, 22, 0.88));
}

.hero-slide--services .hero-slide__shade {
  background: linear-gradient(90deg, rgba(4, 18, 29, 0.35), rgba(4, 18, 29, 0.72) 48%, rgba(4, 18, 29, 0.10));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(52%, 650px);
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 2rem var(--gutter);
}

.hero-slide__content--right {
  margin-left: auto;
}

.hero-slide__experience-copy {
  display: none;
}

.hero-experience-art {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(51%, 650px);
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.3rem, 1vw, 0.75rem);
  padding: 2rem var(--gutter) 2rem 0;
  margin-left: auto;
}

.hero-experience-art img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero-experience-art__brand {
  align-self: flex-start;
  max-height: 72px;
}

.hero-experience-art__years {
  max-height: 126px;
}

.hero-experience-art__caption {
  max-height: 24px;
}

.hero-kicker {
  margin-bottom: 0.5rem;
  color: var(--gold-300);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-title {
  max-width: 10.5ch;
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.4vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-signature {
  width: min(100%, 325px);
  height: auto;
  object-fit: contain;
}

.hero-animate {
  opacity: 0;
}

.hero-slide.is-active .hero-animate--fade {
  animation: hero-fade 700ms var(--delay, 0ms) both;
}

.hero-slide.is-active .hero-animate--up {
  animation: hero-up 700ms var(--delay, 0ms) both;
}

.hero-slide.is-active .hero-animate--left {
  animation: hero-left 700ms var(--delay, 0ms) both;
}

.hero-slide.is-active .hero-animate--right {
  animation: hero-right 700ms var(--delay, 0ms) both;
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-left {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-right {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-services {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: minmax(300px, 0.82fr) 8px minmax(0, 1.18fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 1.7rem);
  align-items: center;
  padding: 1.15rem clamp(1.25rem, 3.6vw, 3.25rem);
}

.hero-services__copy {
  display: grid;
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
  align-content: center;
  gap: 0.35rem;
}

.hero-service-line {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 2vw, 2rem);
  align-items: baseline;
  padding: 0.42rem 0 0.52rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-service-line__title {
  display: block;
  min-width: 0;
  overflow: hidden;
}

.hero-service-line__title strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-service-line__caption {
  min-width: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-services__media {
  align-self: stretch;
  min-height: 0;
  height: auto;
  grid-column: 1;
  grid-row: 1;
}

.hero-services__bar {
  align-self: stretch;
  min-height: 0;
  width: 8px;
  height: auto;
  grid-column: 2;
  grid-row: 1;
  object-fit: cover;
}

.hero-services__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.home-hero__controls {
  position: absolute;
  z-index: 4;
  left: clamp(1.25rem, 3.6vw, 3.25rem);
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  background: rgba(7, 27, 43, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.home-hero__controls > button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.home-hero__controls > button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.home-hero__controls .icon {
  width: 1rem;
  height: 1rem;
}

.home-hero__controls [hidden] {
  display: none !important;
}

.home-hero__dots {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.35rem;
}

.home-hero__dots button {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.home-hero__dots button::before {
  width: 0.42rem;
  height: 0.42rem;
  content: "";
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  transition: width var(--transition), background var(--transition);
}

.home-hero__dots button.is-active::before {
  width: 1.1rem;
  background: var(--gold-300);
}

/* Shared sections */
.section {
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
}

.section > * {
  width: min(100%, var(--content));
  margin-right: auto;
  margin-left: auto;
}

.section--page {
  padding-top: clamp(2.5rem, 4vw, 3.75rem);
}

.section--narrow > * {
  width: min(100%, 940px);
}

.section--cta {
  padding-top: 1rem;
}

.section-heading {
  margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.2vw, 3.1rem);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.section-heading--split > p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.page-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: start;
  max-width: none;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.page-intro__heading {
  position: relative;
  min-width: 0;
}

.page-intro__heading .eyebrow {
  margin-bottom: 0.8rem;
}

.page-intro__ornament {
  position: absolute;
  top: -0.9rem;
  right: -0.75rem;
  width: clamp(7rem, 12vw, 10rem);
  height: clamp(7rem, 12vw, 10rem);
  opacity: 0.055;
  background-image: radial-gradient(circle, var(--teal-700) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 75%);
  pointer-events: none;
}

.page-intro h1 {
  position: relative;
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.15rem, calc(1.85rem + 1.75vw), 3.6rem);
  line-height: 1.04;
  text-wrap: balance;
}

.page-intro__summary {
  min-width: 0;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.page-intro__lead {
  position: relative;
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.5;
}

.page-intro__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 0;
  margin: 1.35rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-intro__facts li {
  min-width: 0;
}

.page-intro__facts li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.page-intro__facts strong,
.page-intro__facts span {
  display: block;
}

.page-intro__facts strong {
  margin-bottom: 0.2rem;
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-intro__facts span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.045em;
  line-height: 1.35;
}

.feature-icon {
  display: inline-grid;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 50%;
}

.feature-icon .icon {
  width: 1.55rem;
  height: 1.55rem;
}

/* Home content */
.home-intro {
  background: var(--paper-warm);
}

.service-grid {
  --service-card-gap: clamp(1rem, 1.8vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--service-card-gap);
  align-items: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card-wrap {
  display: flex;
  max-width: calc((100% - 3 * var(--service-card-gap)) / 4 - 0.25px);
  flex: 0 1 calc((100% - 3 * var(--service-card-gap)) / 4 - 0.25px);
  min-width: 0;
}

.service-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: clamp(320px, 24vw, 360px);
  flex-direction: column;
  padding: clamp(1.45rem, 3vw, 2.25rem);
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(232, 246, 246, 0.42), transparent 6.5rem),
    #fff;
  border: 1px solid rgba(24, 68, 84, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(7, 27, 43, 0.07), 0 2px 7px rgba(7, 27, 43, 0.04);
  isolation: isolate;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--teal-700), var(--gold-500));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:hover,
.service-card:focus-visible {
  z-index: 2;
  color: var(--ink);
  border-color: rgba(11, 143, 141, 0.34);
  box-shadow: 0 22px 48px rgba(7, 27, 43, 0.13), 0 5px 14px rgba(7, 27, 43, 0.06);
  transform: translateY(-6px);
}

.service-card:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 3px;
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-card__icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 auto;
  margin: 0;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid rgba(11, 143, 141, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.38);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.service-card__icon .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.35rem;
}

.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon {
  color: #fff;
  background: var(--teal-700);
  transform: translateY(-2px);
}

.service-card__number {
  flex: 0 0 auto;
  padding-top: 0.15rem;
  color: #d9e2e6;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color var(--transition);
}

.service-card h3 {
  margin-bottom: 0.9rem;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.68rem);
  font-weight: 400;
  line-height: 1.18;
}

.service-card:hover h3,
.service-card:focus-visible h3 {
  color: var(--navy-950);
}

.service-card p {
  margin-bottom: 1.65rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--teal-700);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-card:hover .service-card__link,
.service-card:focus-visible .service-card__link {
  color: var(--teal-700);
}

.service-card__link .icon {
  width: 1rem;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link .icon,
.service-card:focus-visible .service-card__link .icon {
  transform: translateX(0.25rem);
}

.service-card:hover .service-card__number,
.service-card:focus-visible .service-card__number {
  color: rgba(11, 143, 141, 0.42);
}

.principles-band {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) 1.35fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 6rem) var(--gutter);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 143, 141, 0.18), transparent 42%),
    var(--navy-950);
}

.principles-band__statement {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.principles-band__statement > .icon {
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--gold-300);
}

.principles-band__statement p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.12;
}

.principles-band__statement em {
  color: var(--gold-300);
}

.principles-band__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles-band__items > div {
  padding: 1.35rem 1.75rem;
  border-left: 1px solid var(--line-dark);
}

.principles-band__items strong,
.principles-band__items span {
  display: block;
}

.principles-band__items strong {
  margin-bottom: 1.4rem;
  color: var(--gold-300);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.principles-band__items span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(255, 255, 255, 0.16), transparent 16rem),
    linear-gradient(125deg, var(--teal-700), var(--navy-800));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cta-panel h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.cta-panel p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* About */
.page-opening--media {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.page-opening--media .page-intro {
  display: block;
  padding-bottom: 0;
  border-bottom: 0;
}

.page-opening--media .page-intro h1 {
  max-width: 14ch;
}

.page-opening--media .page-intro__summary {
  max-width: 38rem;
  padding: 0;
  margin-top: 1.25rem;
  border: 0;
}

.video-banner {
  position: relative;
  margin-top: 0;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--navy-950);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.video-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: inherit;
  pointer-events: none;
}

.video-banner video {
  width: 100%;
  aspect-ratio: 1230 / 360;
  object-fit: cover;
}

.page-opening--media .video-banner {
  height: 100%;
  min-height: 390px;
  margin: 0;
}

.page-opening--media .video-banner video {
  height: 100%;
  aspect-ratio: 16 / 10;
  object-position: left center;
}

.video-banner__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 5rem 4.5rem 1.7rem 1.8rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 27, 43, 0.94));
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  line-height: 1.12;
}

.video-banner__caption strong {
  margin-bottom: 0.15rem;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.video-banner__control {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(7, 27, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.video-banner__control:hover {
  background: var(--teal-700);
}

.video-banner__control .icon {
  width: 1rem;
  height: 1rem;
}

.video-banner__control [hidden] {
  display: none !important;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.story-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 3.2vw, 3rem);
}

.story-grid__copy {
  color: var(--muted);
}

.story-grid__copy p {
  margin-bottom: 1.2rem;
}

.story-grid__copy strong {
  color: var(--navy-900);
}

.manifesto {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter);
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(24, 170, 166, 0.17), transparent 28rem),
    var(--navy-950);
}

.manifesto::before,
.manifesto::after {
  position: absolute;
  width: 16rem;
  height: 16rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.manifesto::before { top: -7rem; left: -5rem; }
.manifesto::after { right: -4rem; bottom: -9rem; }

.manifesto p {
  margin-bottom: 0.35rem;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5.8vw, 5.5rem);
}

.manifesto__line {
  width: min(16rem, 45vw);
  height: 1px;
  margin: 1.4rem 0;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: reasons;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reason-card {
  position: relative;
  min-height: 230px;
  padding: 2rem;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reason-card > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.reason-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.reason-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Staff */
.staff-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.staff-feature__copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.05rem, 3.2vw, 3rem);
}

.staff-feature__copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.staff-feature__image {
  position: relative;
  margin: 0;
}

.staff-feature__image::before {
  position: absolute;
  z-index: 0;
  inset: -1.1rem 1.4rem 1.1rem -1.4rem;
  content: "";
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-md);
}

.staff-feature__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 523 / 336;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.staff-feature__image figcaption {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: -1.4rem 1rem 0 auto;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.training-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.4fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.training-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list--columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 2rem;
}

.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--ink);
}

.check-list li .icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: var(--teal-700);
}

.three-promise {
  padding: clamp(5rem, 9vw, 8rem) 0 1rem;
  text-align: center;
}

.three-promise .eyebrow {
  justify-content: center;
}

.three-promise h2 {
  margin-bottom: 1.25rem;
}

.three-promise > p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.three-promise__words {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.three-promise__words span {
  padding: 1.5rem;
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  border-right: 1px solid var(--line);
}

.three-promise__words span:last-child {
  border-right: 0;
}

/* Services */
.service-index {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: clamp(3.25rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-index a {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 0.5rem;
  color: var(--navy-800);
  border-right: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.service-index a:last-child {
  border-right: 0;
}

.service-index a:hover {
  color: #fff;
  background: var(--navy-900);
}

.service-index a:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -4px;
}

.service-index a .icon {
  width: 1.55rem;
  height: 1.55rem;
}

.service-index a span {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-chapter__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.service-chapter__heading .eyebrow,
.service-chapter__heading h2 {
  margin-bottom: 0;
}

.service-chapter__heading h2,
.translation-layout__copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

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

.service-detail {
  padding: clamp(2rem, 4vw, 3.2rem);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-detail--featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 1.4rem 2.5rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-detail--featured .feature-icon {
  grid-row: 1 / 4;
}

.service-detail--featured .eyebrow,
.service-detail--featured h3 {
  grid-column: 2;
}

.service-detail--featured > p:not(.eyebrow) {
  grid-column: 3;
  margin-bottom: 0;
}

.service-detail h3 {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 400;
}

.service-detail p {
  color: var(--muted);
}

.service-detail p:last-child,
.compact-list:last-child {
  margin-bottom: 0;
}

.compact-list {
  padding-left: 1.15rem;
  color: var(--muted);
}

.compact-list li {
  margin-bottom: 0.35rem;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  min-height: 580px;
  color: #fff;
  background: var(--navy-950);
}

.service-band__visual {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  color: rgba(226, 200, 137, 0.75);
  background:
    radial-gradient(circle, rgba(24, 170, 166, 0.2), transparent 55%),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.035) 40px);
}

.service-band__visual > .icon {
  width: clamp(8rem, 18vw, 14rem);
  height: clamp(8rem, 18vw, 14rem);
  stroke-width: 0.65;
}

.sound-wave {
  position: absolute;
  right: 10%;
  bottom: 18%;
  left: 10%;
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.sound-wave i {
  width: 2px;
  height: 35%;
  background: var(--teal-500);
}

.sound-wave i:nth-child(2),
.sound-wave i:nth-child(6) { height: 65%; }
.sound-wave i:nth-child(3),
.sound-wave i:nth-child(5) { height: 100%; }
.sound-wave i:nth-child(4) { height: 50%; }

.service-band__copy {
  align-self: center;
  padding: clamp(3rem, 7vw, 6.5rem);
}

.service-band h2 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.service-band__copy > p:not(.eyebrow),
.service-band__subsection p {
  color: rgba(255, 255, 255, 0.72);
}

.service-band__subsection {
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}

.service-band__subsection h3 {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.service-deep-dive,
.translation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.service-deep-dive__heading {
  position: sticky;
  top: 8rem;
}

.service-deep-dive__heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
}

.service-deep-dive__heading h2 span {
  color: var(--teal-700);
  font-family: var(--font-sans);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-deep-dive__copy > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.number-list {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.number-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.number-list span {
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.translation-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.translation-layout__quote {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}

.translation-layout__quote > .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 2.5rem;
  color: var(--gold-300);
}

.translation-layout blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.3vw, 2.8rem);
  line-height: 1.25;
}

.translation-layout cite {
  color: var(--gold-300);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.translation-layout__copy h2 {
  margin-bottom: 1.25rem;
}

.translation-layout__copy > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.definition-box {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--mist);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.definition-box h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.definition-box p {
  color: var(--muted);
}

.definition-box p:last-child {
  margin-bottom: 0;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.technical-card {
  min-height: 300px;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technical-card > span {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 50%;
}

.technical-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

.technical-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Forms and contact */
.contact-layout,
.quote-layout,
.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.form-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-card__header {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 1.75rem;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.form-card__header .feature-icon {
  flex: 0 0 auto;
  margin: 0;
}

.form-card__header .eyebrow {
  margin-bottom: 0.55rem;
}

.form-card__header h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.form-card__header > div > p:last-child:not(.eyebrow) {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.form-card__body {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.cf7-theme-form form > label,
.cf7-theme-form .form-grid > label {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--navy-800);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.35;
}

.cf7-theme-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.48rem;
}

.cf7-theme-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.cf7-theme-form textarea,
.cf7-theme-form select {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #71838d;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(7, 27, 43, 0.02);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cf7-theme-form input:focus,
.cf7-theme-form textarea:focus,
.cf7-theme-form select:focus {
  border-color: var(--teal-600);
}

.cf7-theme-form input:focus-visible,
.cf7-theme-form textarea:focus-visible,
.cf7-theme-form select:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 1px;
  box-shadow: 0 0 0 5px var(--teal-700);
}

.cf7-theme-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-theme-form input[type="file"] {
  padding: 0.65rem;
  background: var(--mist);
}

.cf7-theme-form input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  accent-color: var(--teal-700);
}

.cf7-theme-form .wpcf7-list-item {
  margin: 0;
}

.cf7-theme-form .wpcf7-list-item label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.35;
}

.cf7-theme-form .wpcf7-submit {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  color: #fff;
  background: var(--teal-700);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cf7-theme-form .wpcf7-submit:hover {
  background: var(--navy-900);
  box-shadow: 0 8px 20px rgba(7, 27, 43, 0.18);
  transform: translateY(-2px);
}

.cf7-theme-form .wpcf7-spinner {
  vertical-align: middle;
}

.cf7-theme-form .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  color: #a52e35;
  font-size: 0.78rem;
  font-weight: 400;
}

.cf7-theme-form .wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: 0.85rem 1rem !important;
  border-radius: var(--radius-sm);
}

.form-grid {
  display: grid;
  gap: 0 1rem;
}

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

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field--wide {
  grid-column: span 2;
}

.form-fieldset {
  padding: 0;
  margin: 0 0 1.5rem;
  border: 0;
}

.form-fieldset legend {
  margin-bottom: 0.8rem;
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-fieldset--services .wpcf7-form-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.form-fieldset--services .wpcf7-list-item label {
  height: 100%;
  padding: 0.72rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.form-fieldset--consent {
  padding: 1rem;
  background: var(--mist);
  border-radius: var(--radius-sm);
}

.form-privacy,
.form-required {
  color: var(--muted);
  font-size: 0.78rem;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-fallback {
  padding: 1.25rem;
  background: #fff7df;
  border: 1px solid #e9d18d;
  border-radius: var(--radius-sm);
}

.contact-form-fallback p:last-child {
  margin-bottom: 0;
}

.contact-card {
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-card__top,
.contact-card__links,
.contact-card__note {
  padding: 2rem;
}

.contact-card__top {
  padding-bottom: 1.6rem;
  background: linear-gradient(145deg, rgba(24, 170, 166, 0.16), transparent);
  border-bottom: 1px solid var(--line-dark);
}

.contact-card h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 2rem;
}

.contact-card address {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.contact-card__links {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin: 0;
  list-style: none;
}

.contact-card__links li {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-card__links li:last-child {
  border-bottom: 0;
}

.contact-card__links > li > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.contact-card__links small,
.contact-card__links a {
  display: block;
}

.contact-card__links small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card__links a {
  color: #fff;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-card__note {
  display: flex;
  gap: 0.8rem;
  color: var(--navy-950);
  background: var(--gold-300);
}

.contact-card__note .icon {
  flex: 0 0 auto;
}

.contact-card__note p {
  margin: 0;
  font-size: 0.88rem;
}

.quote-layout {
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
}

.quote-guide,
.application-aside {
  position: sticky;
  top: 8rem;
  padding: clamp(2rem, 3vw, 2.75rem);
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}

.quote-guide h2,
.application-aside h2 {
  margin-bottom: 2rem;
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.quote-guide ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-guide li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-dark);
}

.quote-guide li > span {
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
}

.quote-guide li strong {
  display: block;
  margin-bottom: 0.2rem;
}

.quote-guide li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.quote-guide__promise {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 1rem;
  color: var(--navy-950);
  background: var(--gold-300);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.quote-guide__promise .icon {
  flex: 0 0 auto;
}

.application-layout {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
}

.application-aside__icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-300);
  border-radius: 50%;
}

.application-aside__icon .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.application-aside ul {
  padding: 1.3rem 0;
  margin: 0 0 1.5rem;
  list-style: none;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.application-aside li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.application-aside li .icon {
  width: 1rem;
  color: var(--gold-300);
}

.application-aside > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 3rem 1fr 2.5rem;
  gap: 1rem;
  align-items: center;
  padding: 1.65rem 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__number {
  color: var(--teal-700);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.faq-item__toggle {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--teal-700);
  background: var(--mist);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.faq-item[open] .faq-item__toggle {
  color: #fff;
  background: var(--teal-700);
  transform: rotate(180deg);
}

.faq-item__answer {
  max-width: 760px;
  padding: 0 2rem 1.8rem 4rem;
  color: var(--muted);
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-contact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: 4rem;
  padding: 1.7rem;
  background: var(--mist);
  border-radius: var(--radius-md);
}

.faq-contact > span {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--teal-700);
  background: #fff;
  border-radius: 50%;
}

.faq-contact h2 {
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.faq-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* References */
.references-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 27, 43, 0.98), rgba(11, 66, 80, 0.9)),
    var(--navy-950);
}

.references-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--content));
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter);
  margin: 0 auto;
  text-align: left;
}

.references-hero__content .eyebrow {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.references-hero__copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.references-hero__icon {
  display: inline-flex;
  margin: 0 0.75rem 1rem 0;
  color: var(--gold-300);
}

.references-hero__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.references-hero h1 {
  grid-column: 1 / -1;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.1rem, calc(1.9rem + 1.1vw), 3.2rem);
  line-height: 1.05;
}

.references-hero__copy > p:last-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.references-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.references-hero__facts li {
  padding: 1.2rem;
  border-left: 1px solid var(--line-dark);
}

.references-hero__facts strong,
.references-hero__facts span {
  display: block;
}

.references-hero__facts strong {
  margin-bottom: 0.35rem;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
}

.references-hero__facts span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.references-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.6) 49%, transparent 51%),
    linear-gradient(-30deg, transparent 48%, rgba(255, 255, 255, 0.6) 49%, transparent 51%);
  background-size: 50px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
}

.references-page {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.client-count {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.client-count strong {
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
}

.client-count span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  padding: 0.8rem;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.client-card:hover {
  z-index: 2;
  background: var(--mist);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.client-card a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.client-card img {
  width: min(100%, 155px);
  height: min(100%, 155px);
  object-fit: contain;
}

.experience-section {
  padding-top: clamp(5rem, 10vw, 9rem);
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.experience-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.experience-list li > span {
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.experience-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Search and 404 */
.search-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.search-heading {
  margin: 0;
}

.search-heading h1 {
  max-width: 17ch;
  margin-bottom: 0;
  font-size: clamp(2.1rem, calc(1.9rem + 1.1vw), 3.3rem);
  line-height: 1.06;
}

.search-heading h1 span {
  color: var(--teal-700);
}

.large-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-opening .large-search {
  margin-bottom: 0;
}

.large-search > .icon {
  color: var(--teal-700);
}

.large-search input {
  min-width: 0;
  padding: 0.7rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.large-search:focus-within {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(8, 118, 117, 0.2);
}

.large-search input:focus-visible {
  outline: 0;
  box-shadow: none;
}

.search-results-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.search-result {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.search-result__number {
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.search-result h2 {
  margin-bottom: 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}

.search-result h2 a {
  color: var(--navy-900);
  text-decoration: none;
}

.search-result p {
  margin: 0;
  color: var(--muted);
}

.search-result__arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--teal-700);
  background: var(--mist);
  border-radius: 50%;
}

.empty-state {
  padding: 3.5rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state > span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal-700);
}

.empty-state h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

.empty-state p {
  color: var(--muted);
}

.not-found-page {
  min-height: 560px;
}

.not-found-card {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.not-found-card__code {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  margin: 0;
  color: rgba(11, 143, 141, 0.07);
  font-family: var(--font-display);
  font-size: clamp(9rem, 24vw, 18rem);
  line-height: 1;
}

.not-found-card .eyebrow {
  position: relative;
  justify-content: center;
}

.not-found-card h1 {
  position: relative;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.not-found-card > p:not(.eyebrow):not(.not-found-card__code) {
  position: relative;
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.not-found-card__actions {
  position: relative;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.not-found-card .large-search {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
}

/* Support rail and footer */
.support-rail {
  display: grid;
  grid-template-columns: 1.05fr repeat(2, 1fr) 0.8fr;
  padding: 0 var(--gutter);
  background: #fff;
  border-top: 1px solid var(--line);
}

.support-rail__intro,
.support-rail__item {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}

.support-rail__intro {
  padding-left: 0;
}

.support-rail__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.support-rail__mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 50%;
}

.support-rail__intro strong,
.support-rail__intro span,
.support-rail__item > span {
  display: block;
}

.support-rail__intro strong {
  color: var(--navy-900);
  font-size: 0.92rem;
}

.support-rail__intro div span,
.support-rail__item > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.support-rail__item {
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.support-rail__item img {
  width: auto;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
  transition: transform var(--transition);
}

.support-rail__item:hover img {
  transform: scale(1.035);
}

.support-rail__item--cert img {
  max-width: 100px;
}

.site-footer {
  padding: clamp(4rem, 7vw, 6rem) var(--gutter) 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 80% 0, rgba(24, 170, 166, 0.12), transparent 23rem),
    var(--navy-950);
}

.site-footer__grid {
  display: grid;
  width: min(100%, var(--content));
  grid-template-columns: 1.2fr 1.05fr 0.7fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 0 auto 4rem;
}

.site-footer h2 {
  margin-bottom: 1.2rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer address {
  margin-bottom: 1rem;
  font-style: normal;
}

.site-footer__claim {
  margin-bottom: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.site-footer__brand > p:last-child {
  max-width: 290px;
  font-size: 0.88rem;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a,
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer__bottom a:hover {
  color: var(--gold-300);
}

.footer-links--contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.footer-links--contact .icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.3rem;
  color: var(--gold-300);
}

.site-footer .button {
  margin-top: 0.6rem;
}

.site-footer__bottom {
  display: flex;
  width: min(100%, var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  font-size: 0.75rem;
}

.site-footer__bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: max(1.5rem, calc((100vw - 1360px) / 2 + 1.5rem));
  bottom: 1.5rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  visibility: hidden;
  color: #fff;
  background: var(--teal-700);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top .icon {
  transform: rotate(180deg);
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy-900);
}

/* Progressive reveal */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reveal:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .site-shell {
    width: calc(100% - 1.25rem);
    margin: 0.625rem auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100vh - 92px);
    padding: 1.25rem var(--gutter) 2rem;
    overflow: auto;
    visibility: hidden;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(7, 27, 43, 0.12);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .primary-nav li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .search-toggle {
    width: 100%;
    margin-top: 1rem;
    border-radius: 999px;
  }

  .client-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .service-index {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-index a:nth-child(4) {
    border-right: 0;
  }

  .service-index a:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .service-index a:last-child {
    border-right: 1px solid var(--line);
  }

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

  .support-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-rail__intro {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 900px) {
  .section-heading--split,
  .staff-feature,
  .training-panel,
  .service-deep-dive,
  .translation-layout,
  .contact-layout,
  .quote-layout,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .page-opening--media,
  .references-hero__content,
  .search-opening {
    grid-template-columns: 1fr;
  }

  .page-opening--media {
    gap: 2.25rem;
    margin-bottom: 3.75rem;
  }

  .page-opening--media .video-banner {
    height: auto;
    min-height: 0;
  }

  .page-opening--media .video-banner video {
    height: auto;
    aspect-ratio: 2 / 1;
  }

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

  .story-grid__title {
    grid-column: 1 / -1;
  }

  .references-hero__content,
  .search-opening {
    gap: 1.75rem;
  }

  .references-hero__facts {
    max-width: 560px;
  }

  .section-heading--split {
    gap: 1.25rem;
  }

  .principles-band {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel__actions {
    justify-content: flex-start;
  }

  .story-grid__title {
    max-width: 560px;
  }

  .staff-feature__image {
    width: min(100%, 620px);
    margin: 1rem auto 0;
  }

  .service-detail--featured {
    display: block;
  }

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

  .service-band__visual {
    min-height: 330px;
  }

  .service-deep-dive__heading,
  .quote-guide,
  .application-aside {
    position: static;
  }

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .experience-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) {
  .service-card-wrap {
    max-width: calc((100% - 2 * var(--service-card-gap)) / 3 - 0.25px);
    flex-basis: calc((100% - 2 * var(--service-card-gap)) / 3 - 0.25px);
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .hero-services {
    grid-template-columns: minmax(250px, 0.78fr) 4px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem clamp(1rem, 2.8vw, 1.4rem);
  }

  .hero-services__copy {
    gap: 0.2rem;
  }

  .hero-service-line {
    grid-template-columns: 1fr;
    gap: 0.08rem;
    align-items: start;
    padding: 0.3rem 0 0.4rem;
  }

  .hero-service-line__title strong {
    font-size: clamp(1.2rem, 2.8vw, 1.42rem);
  }

  .hero-service-line__caption {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .hero-services__bar {
    width: 4px;
  }
}

@media (max-width: 800px) {
  .service-card-wrap {
    max-width: calc((100% - var(--service-card-gap)) / 2 - 0.25px);
    flex-basis: calc((100% - var(--service-card-gap)) / 2 - 0.25px);
  }
}

@media (max-width: 760px) {
  .page-intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .page-intro h1 {
    max-width: 19ch;
  }

  .page-intro__summary {
    padding: 1.15rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-opening--media .page-intro__summary {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 5.25rem;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header__bar {
    min-height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .primary-nav {
    max-height: calc(100vh - 76px);
  }

  .primary-nav ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-search__field {
    align-items: stretch;
  }

  .home-hero {
    height: 500px;
    min-height: 500px;
  }

  .hero-slide:not(.hero-slide--experience) {
    display: none;
  }

  .hero-slide--experience {
    visibility: visible !important;
    opacity: 1 !important;
    background-position: 30% center;
  }

  .hero-slide__shade {
    background: linear-gradient(180deg, rgba(4, 15, 24, 0.06) 10%, rgba(4, 15, 24, 0.2) 36%, rgba(4, 15, 24, 0.93) 100%);
  }

  .hero-slide__content {
    width: 100%;
    justify-content: flex-end;
    padding: 2rem var(--gutter) 3rem;
  }

  .hero-slide__experience-copy {
    display: flex;
  }

  .hero-experience-art {
    display: none;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .hero-animate {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .home-hero__controls {
    display: none;
  }

  .section {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .section.section--page {
    padding-top: 2.75rem;
    padding-bottom: 3.75rem;
  }

  .section--cta {
    padding-top: 0.5rem;
  }

  .page-intro__ornament {
    display: none;
  }

  .page-intro__lead {
    font-size: 1rem;
  }

  .page-intro__facts {
    margin-top: 1rem;
  }

  .page-opening--media {
    gap: 1.75rem;
    margin-bottom: 3rem;
  }

  .page-opening--media .video-banner video {
    aspect-ratio: 16 / 10;
  }

  .video-banner__caption {
    padding: 4rem 4rem 1.25rem 1.25rem;
  }

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

  .story-grid__title {
    grid-column: auto;
  }

  .references-hero__content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .service-card {
    min-height: 280px;
  }

  .principles-band__items {
    grid-template-columns: 1fr;
  }

  .principles-band__items > div {
    display: grid;
    grid-template-columns: 3rem 1fr;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .principles-band__items strong {
    margin: 0;
  }

  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .video-banner video {
    aspect-ratio: 16 / 8;
  }

  .reason-grid,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .check-list--columns {
    grid-template-columns: 1fr;
  }

  .three-promise__words {
    grid-template-columns: 1fr;
  }

  .three-promise__words span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .three-promise__words span:last-child {
    border-bottom: 0;
  }

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

  .service-index a {
    min-height: 86px;
  }

  .service-index a,
  .service-index a:nth-child(4),
  .service-index a:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-index a:nth-child(even) {
    border-right: 0;
  }

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

  .service-detail--featured {
    grid-column: auto;
  }

  .service-band__copy {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .service-band__visual {
    min-height: 240px;
  }

  .form-grid--three,
  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .form-fieldset--services .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-guide,
  .application-aside {
    padding: 1.5rem;
  }

  .quote-guide h2,
  .application-aside h2 {
    margin-bottom: 1.25rem;
    font-size: 2rem;
  }

  .quote-guide li {
    padding: 0.8rem 0;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .faq-contact {
    grid-template-columns: auto 1fr;
  }

  .faq-contact .button {
    grid-column: 1 / -1;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-card {
    padding: 0.4rem;
  }

  .client-card img {
    max-width: 115px;
    max-height: 115px;
  }

  .support-rail {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter);
  }

  .support-rail__item,
  .support-rail__item:last-child {
    min-height: 100px;
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-rail__item:last-child {
    border-bottom: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .service-card-wrap {
    max-width: none;
    flex-basis: 100%;
  }

  .service-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0 1rem;
    padding: 1.35rem;
  }

  .service-card__top {
    display: flex;
    grid-row: 1 / span 3;
    grid-column: 1;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
  }

  .service-card__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .service-card__number {
    padding: 0;
    font-size: 1.05rem;
  }

  .service-card h3,
  .service-card p,
  .service-card__link {
    grid-column: 2;
  }

  .service-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.42rem;
  }

  .service-card p {
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }

  .service-card__link {
    align-self: end;
  }
}

@media (max-width: 560px) {
  .form-fieldset--services .wpcf7-form-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header__bar {
    gap: 0.75rem;
  }

  .brand img {
    width: 136px;
  }

  .primary-nav ul {
    grid-template-columns: 1fr;
  }

  .site-search__field,
  .not-found-card__actions {
    flex-direction: column;
  }

  .site-search__field {
    display: flex;
  }

  .principles-band__statement {
    display: block;
  }

  .principles-band__statement > .icon {
    margin-bottom: 1rem;
  }

  .video-banner video {
    aspect-ratio: 4 / 3;
  }

  .service-chapter__heading {
    display: block;
  }

  .service-chapter__heading .eyebrow {
    margin-bottom: 0.8rem;
  }

  .service-band__visual {
    min-height: 220px;
  }

  .faq-item summary {
    grid-template-columns: 2rem 1fr 2.25rem;
    gap: 0.6rem;
  }

  .faq-item__answer {
    padding-left: 2.6rem;
  }

  .large-search {
    grid-template-columns: auto 1fr;
    border-radius: var(--radius-md);
  }

  .large-search .button {
    grid-column: 1 / -1;
  }

  .search-result {
    grid-template-columns: 2rem 1fr;
  }

  .search-result__arrow {
    display: none;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 360px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-animate {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .service-card:hover,
  .service-card:focus-visible,
  .service-card:hover .service-card__icon,
  .service-card:focus-visible .service-card__icon,
  .service-card:hover .service-card__link .icon,
  .service-card:focus-visible .service-card__link .icon {
    transform: none;
  }
}

@media print {
  body,
  .site-shell {
    width: 100%;
    margin: 0;
    background: #fff;
    box-shadow: none;
  }

  .site-header,
  .home-hero__controls,
  .support-rail,
  .site-footer,
  .back-to-top,
  .cta-panel,
  .service-index {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
