:root {

  --color-bg: #ffffff;
  --color-tint: #f0f3f9;
  --color-navy: #10162b;
  --color-ink: #10162b;
  --color-text: #545c75;
  --color-line: #e1e6f0;
  --color-line-dark: rgba(255, 255, 255, 0.14);
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #b6bccb;

  --accent-from: #263d91;
  --accent-to: #5068c8;
  --accent-text: #263d91;
  --gradient: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  --gradient-hover: linear-gradient(90deg, #1e3178, #4259b5);
  --bright-from: #5068c8;
  --bright-to: #8a9cf0;
  --gradient-bright: linear-gradient(90deg, #263d91, #5068c8);

  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.6, 0, 0.2, 1);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

main h2 {
  width: fit-content;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent-from);
  -webkit-text-fill-color: transparent;
}

main .on-dark h2,
main .statement h2 {
  background: none;
  -webkit-text-fill-color: currentColor;
}

main .statement h2,
main .cta-band h2 {
  margin-inline: auto;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible {
  outline-color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--color-text);
}

.bg-tint {
  background: var(--color-tint);
}

.bg-navy {
  background: var(--color-navy);
}

.on-dark {
  color: var(--color-on-dark-muted);
}

.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--color-on-dark);
}

.on-dark .lead {
  color: rgba(255, 255, 255, 0.86);
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}

.logo img {
  display: block;
  width: auto;
  height: 26px;
}

@media (min-width: 960px) {
  .logo img {
    height: 30px;
  }
}

.site-footer .logo img {
  height: 30px;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--color-ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.js .site-nav {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) 2rem;
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: clamp(2rem, 9vw, 2.6rem);
  letter-spacing: -0.025em;
  color: var(--color-ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-text);
  font-weight: 500;
}

html:not(.js) .site-nav {
  display: block;
  padding: 0 var(--gutter) 1rem;
}

html:not(.js) .site-nav ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

html:not(.js) .site-nav a {
  font-size: 1rem;
}

html:not(.js) .menu-toggle {
  display: none;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav,
  html:not(.js) .site-nav {
    position: static;
    display: block;
    flex: 1;
    margin-left: 2rem;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul,
  html:not(.js) .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .site-nav li:first-child {
    margin-left: auto;
  }

  .site-nav li:last-child {
    margin-left: auto;
  }

  .site-nav a,
  html:not(.js) .site-nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.975rem;
    letter-spacing: -0.005em;
    color: var(--color-text);
    transition: color 0.25s var(--ease);
  }

  .site-nav a:hover {
    color: var(--color-ink);
  }

  .site-nav a[aria-current="page"] {
    color: var(--accent-from);
    font-weight: 500;
  }

  .site-nav .nav-cta {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta[aria-current="page"] {
    background: var(--gradient-hover);
    color: #fff;
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gradient);

  background-origin: border-box;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.button:hover {
  background: var(--gradient-hover);
  background-origin: border-box;
}

.button--ghost {
  background: #fff;
  color: var(--color-ink);
  border-color: var(--color-line);
}

.button--ghost:hover {
  background: #fff;
  border-color: #c6ccd6;
  box-shadow: 0 2px 10px rgba(16, 22, 43, 0.06);
}

.on-dark .button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-line-dark);
  color: #fff;
}

.on-dark .button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: 2.5rem;
}

.hero.bg-navy {
  background:
    radial-gradient(ellipse 60% 75% at 12% 100%, rgba(80, 104, 200, 0.38), transparent 70%),
    linear-gradient(160deg, var(--color-navy) 0%, #141d45 50%, #1f2f74 100%);
}

.hero .container {
  position: relative;
}

.hero-copy {
  max-width: 34rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8.2vw, 7.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-copy .lead {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hero .hero-media {
  margin-top: clamp(2.5rem, 7vw, 3.5rem);
}

@media (min-width: 900px) {

  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    padding-bottom: clamp(4rem, 8vw, 7rem);
  }

  .hero .container {
    position: static;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 52%;
  }

  .hero-copy .lead {
    max-width: 30rem;
  }

  .hero-media.media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  }
}

.media {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-tint);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media:not(.media--empty):not(.hero-media)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-from);
  mix-blend-mode: color;
  opacity: var(--photo-tint, 0.28);
  pointer-events: none;
}

.media--empty {
  display: grid;
  place-items: center;
  color: #9aa6c9;
  background: linear-gradient(135deg, #e6ebf5, #f3f5fa);
}

.bg-tint .media--empty {
  background: linear-gradient(135deg, #dfe5f2, #eef1f8);
}

.on-dark .media--empty {
  color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, rgba(80, 104, 200, 0.22), rgba(255, 255, 255, 0.04));
}

.media--empty svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-head .media {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.service-media {
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .service-media.media {
    aspect-ratio: 16 / 9;
  }
}

.media--wide {
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .media--wide {
    aspect-ratio: var(--ratio);
  }
}

.photo-row {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 699px) {
  .photo-row .media {
    aspect-ratio: 3 / 2;
  }
}

@media (min-width: 700px) {
  .photo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .js .photo-row .media.reveal:nth-child(2) { transition-delay: 0.6s; }
  .js .photo-row .media.reveal:nth-child(3) { transition-delay: 1.2s; }
}

.js .photo-row .media.reveal {
  transform: none;
  transition: opacity 1s ease-out;
}

.page-hero {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 52ch;
}

.page-hero.on-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(var(--angle), var(--color-navy) 0%, var(--accent-from) 100%);
}

.page-hero.on-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--gx) - 30%);
  top: calc(var(--gy) - 75%);
  width: 60%;
  height: 150%;
  background: radial-gradient(closest-side, rgba(80, 104, 200, 0.95) 0%, rgba(80, 104, 200, 0.5) 45%, transparent 100%);
  pointer-events: none;
  animation: hero-light-glide 8s ease-in-out infinite alternate;
}

@keyframes hero-light-glide {
  to {
    transform: translate(var(--mx), var(--my));
  }
}

.page-hero.on-dark .container {
  position: relative;
}

.page-hero.on-dark .lead {
  color: #ffffff;
}

.page-hero--how      { --angle: 135deg; --gx: 100%; --gy: 0%;   --mx: -70%; --my: 20%; }
.page-hero--services { --angle: 315deg; --gx: 0%;   --gy: 0%;   --mx: 70%;  --my: 20%; }
.page-hero--cases    { --angle: 135deg; --gx: 100%; --gy: 100%; --mx: -70%; --my: -20%; }
.page-hero--contact  { --angle: 225deg; --gx: 0%;   --gy: 100%; --mx: 70%;  --my: -20%; }
.page-hero--privacy  { --angle: 0deg;   --gx: 20%;  --gy: 0%;   --mx: 100%; --my: 10%; }
.page-hero--notfound { --angle: 180deg; --gx: 50%;  --gy: 100%; --mx: 0%;   --my: -30%; }

.page-hero--notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-hero--notfound .button-row {
  margin-top: 2rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.split-body {
  max-width: 60ch;
}

.split-body p,
.split-body .lead {
  font-size: clamp(1.075rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--color-text);
}

[aria-labelledby="advice-title"] .split-body p {
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    align-items: start;
  }

  .split:has(.split-head .media) {
    grid-template-areas:
      "title ."
      "media body";
    row-gap: clamp(1.75rem, 3vw, 2.5rem);
  }

  .split:has(.split-head .media) .split-head {
    display: contents;
  }

  .split-head h2 {
    grid-area: title;
  }

  .split:has(.split-head .media) .split-head .media {
    grid-area: media;
    margin-top: 0;
  }

  .split:has(.split-head .media) .split-body {
    grid-area: body;
    align-self: center;
  }
}

.split + .split {
  margin-top: var(--section-space);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head p {
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
}

.card > a,
.card--static {
  display: block;
  height: 100%;
  padding: 1.75rem 1.75rem 2rem;
  text-decoration: none;
  border-radius: var(--radius);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.75rem;
  border-radius: 10px;
  background: #f0f3f9;
  color: var(--accent-from);
}

.bg-tint .card-icon {
  background: #fff;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 1rem;
}

.card > a {
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card > a:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 22, 43, 0.04);
}

.card-grid--filled .card > a {
  background: var(--color-tint);
}

.card-grid--filled .card-icon {
  background: #ffffff;
}

.card-grid--filled .card > a:hover {
  background: #e6ebf5;
  box-shadow: none;
}

[aria-labelledby="does-title"] {
  padding-top: 0;
}

[aria-labelledby="does-title"] .button-row {
  justify-content: center;
}

.card-grid--white .card--static {
  background: #ffffff;
}

.card-grid--white .card-icon {
  background: var(--color-tint);
}

[aria-labelledby="disciplines-title"] .button-row {
  justify-content: center;
}

[aria-labelledby="does-title"] .button-row,
[aria-labelledby="disciplines-title"] .button-row {
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid > .card {
    grid-column: span 2;
  }

  .card-grid > .card:nth-child(odd):last-child {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .card-grid > .card:nth-child(odd):last-child {
    grid-column: span 2;
  }

  .card-grid > .card:nth-child(3n + 1):nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .card-grid > .card:nth-child(3n + 1):last-child {
    grid-column: 3 / span 2;
  }
}

.steps {
  display: grid;
  gap: 2.5rem;
}

.step {
  position: relative;
  padding-left: 1.25rem;
}

.step::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 2px;
  height: 1.6em;
  background: var(--bar, #b8c2e0);
}

.step:nth-child(1) { --bar: #b8c2e0; }
.step:nth-child(2) { --bar: #8a9cf0; }
.step:nth-child(3) { --bar: #5068c8; }
.step:nth-child(4) { --bar: #263d91; }

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  max-width: 48ch;
}

@media (min-width: 900px) {
  .engagement .container {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 5rem;
    align-items: start;
  }

  .engagement .section-head {
    margin-bottom: 0;
  }
}

.statement {
  text-align: center;
}

.statement h2 {
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.statement-text {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: var(--color-ink);
}

.highlight {
  background: var(--gradient-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: #263d91;
  -webkit-text-fill-color: transparent;
}

.statement .button-row {
  justify-content: center;
  margin-top: 2.5rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band.bg-navy {
  background: linear-gradient(180deg, var(--accent-from) 0%, var(--color-navy) 85%);
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -5%;
  top: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(80, 104, 200, 0.85) 0%, rgba(80, 104, 200, 0.4) 50%, transparent 100%);
  pointer-events: none;
  --mx: 90%;
  --my: 0%;
  animation: hero-light-glide 9s ease-in-out infinite alternate;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
}

.cta-band p {

  color: #ffffff;
  max-width: 50ch;
  margin: 1.25rem auto 0;
  font-size: 1.125rem;
}

.cta-band .button-row {
  justify-content: center;
}

.service {
  padding-block: var(--section-space);
}

.service:nth-of-type(odd) {
  background: var(--color-tint);
}

.service-grid {
  display: grid;
  gap: 1.75rem;
}

.service-head h2 {
  margin-bottom: 0.75rem;
}

.service-tag {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);

  color: var(--color-text);
}

.service-body > .lead {
  max-width: 60ch;
}

.service-detail {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.panel {
  padding: clamp(1.5rem, 3vw, 1.9rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-line);
}

.panel h3 {
  margin-bottom: 1rem;
}

.panel--accent {
  position: relative;
  overflow: hidden;
}

.panel--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--bright-from), var(--bright-to));
}

.panel--accent p {
  color: var(--color-ink);
}

.service .panel--accent {
  background: var(--color-tint);
  border-color: transparent;
}

.service:nth-of-type(odd) .panel--accent {
  background: #e4e9f4;
}

.service .panel--accent::before {
  display: none;
}

.case .panel--accent {
  background: var(--color-tint);
  border-color: transparent;
}

.case:nth-of-type(odd) .panel--accent {
  background: #e4e9f4;
}

.case .panel--accent::before {
  display: none;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  font-size: 1rem;
}

.check-list li:first-child {
  padding-top: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--accent-text);
  border-bottom: 1.5px solid var(--accent-text);
  transform: rotate(-45deg);
}

.check-list li:first-child::before {
  top: 0.45em;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }

  .service-head {
    align-self: start;
  }

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

.case {
  padding-block: var(--section-space);
}

.case:nth-of-type(odd) {
  background: var(--color-tint);
}

.case-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.case-place {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-text);
}

.case-place svg {
  width: 16px;
  height: 16px;
}

.case-head h2 {
  max-width: 22ch;
}

.case-context {
  display: grid;
  gap: 1rem;
}

.case-context > div {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-line);
}

.case-context h3 {
  margin-bottom: 0.6rem;
}

.case-context p {
  font-size: 1rem;
}

.case-results {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .case-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .case-place {
    grid-row: 1;
    grid-column: 2;
  }

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

  .case-results {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero .hero-media,
  .split-head .media,
  .service-media.media {
    aspect-ratio: 16 / 9;
  }

  .case-results {
    grid-template-columns: 1fr 1fr;
  }
}

.open-question {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .open-question {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-office {
  padding-top: 0;
}

.office-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(80, 104, 200, 0.6), transparent 70%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--accent-from) 100%);
}

.office-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.office-card address {
  font-style: normal;
}

.office-lines {
  display: grid;
  gap: 0.25rem 2.5rem;
}

.office-lines > * {
  margin: 0;
  padding: 0.35rem 0;
  color: #ffffff;
}

.office-lines .office-name {
  font-weight: 600;
}

.office-lines a {
  color: #ffffff;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.office-lines a:hover {
  text-decoration-color: #ffffff;
}

.office-lines .office-email {
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .office-card {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
  }
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.1rem;
}

.prose h2 + h3 {
  margin-top: 1.25rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose a {
  color: var(--accent-text);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--accent-to);
}

.prose-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.95rem;
}

.site-footer {

  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--color-tint);
  color: var(--color-text);
}

.footer-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer .logo {
  color: var(--color-ink);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.footer-nav a,
.footer-bottom a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"],
.footer-bottom a:hover,
.footer-bottom a[aria-current="page"] {
  color: var(--accent-from);
}

.footer-nav a,
.footer-bottom a {
  display: inline-block;
  padding: 0.6rem 0;
  margin: -0.6rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d9dfeb;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1.75rem;
}

.footer-link {
  display: inline-block;
  margin: -0.6rem 0;
  padding: 0.6rem 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.footer-link:hover {
  color: var(--accent-from);
}

.footer-link[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  width: min(720px, calc(100% - 32px));
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 12px 40px rgba(16, 22, 43, 0.16);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-in {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-banner p {
  margin: 0;
  color: var(--color-ink);
}

.cookie-banner a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-actions .button {
  flex: 1;
  justify-content: center;
}

@media (min-width: 700px) {
  .cookie-banner {
    bottom: 24px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }

  .cookie-actions .button {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  #hww-intro .split {
    grid-template-areas:
      ".     media"
      "title media"
      "body  media"
      ".     media";
    grid-template-rows: 1fr auto auto 1fr;
    row-gap: 0;
    align-items: start;
  }

  #hww-intro .split + .split {
    grid-template-areas:
      "media ."
      "media title"
      "media body"
      "media .";
  }

  #hww-intro .split .split-body {
    align-self: start;
    margin-top: 2.5rem;
  }

  #hww-intro .split .media {
    align-self: center;
  }
}
