/* Nunito Sans, self-hosted (SIL Open Font License, see /assets/fonts/OFL.txt). No requests to Google. */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2-variations"), url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Bielby Associates: shared stylesheet
   Brand colours and type from the live site (build pack, Section 3).
   #dc2626 (the site's second red) is used for filled buttons: it is visually the same red
   but passes WCAG AA contrast with white text, which #e3342f does not at small sizes. */

:root {
  --red: #e3342f;
  --red-btn: #dc2626;
  --red-btn-hover: #b91c1c;
  --navy: #111111; /* dark tone: black per Frankie (live site uses navy #0e1f3b) */
  --navy-2: #1c1c1c;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --grey-1: #f5f5f5;
  --grey-2: #e5e5e5;
  --white: #fff;
  --li-blue: #0077b5;

  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Type scale (major third, fluid at the top end) */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.1rem + .9vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  /* Spacing rhythm */
  --space-section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
  --header-h: 124px;
  --radius: 6px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 30px -14px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.7;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0 0 .75rem; color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
h1 strong, h2 strong, h3 strong { font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1.1rem; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--red-btn); color: var(--white); padding: .7rem 1.1rem; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.todo-copy { background: #fff3cd; color: #664d03; padding: .6rem .8rem; font-weight: 700; font-size: var(--fs-sm); border-radius: 4px; }

.rule { display: block; width: 56px; height: 3px; background: var(--red); margin: 1.25rem 0 1.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.9rem;
  font: 700 var(--fs-xs)/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--red { background: var(--red-btn); color: var(--white); }
.btn--red:hover { background: var(--red-btn-hover); }
.btn--outline { border-color: rgba(255, 255, 255, .85); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost { border-color: var(--grey-2); color: var(--text); background: var(--white); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn-pair { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: var(--red); text-decoration: underline; }

.text-link {
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat; padding-bottom: 3px;
  transition: color .2s;
}
.text-link:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header__inner {
  max-width: 1440px; margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: height .3s var(--ease);
}
.site-header__logo { position: relative; z-index: 2; flex: none; }
.site-header__logo img { width: auto; height: 96px; transition: height .3s var(--ease); }
.site-header.is-solid { background: rgba(0, 0, 0, .97); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-solid { background: rgba(0, 0, 0, .88); backdrop-filter: blur(12px) saturate(1.2); } }
.site-header.is-solid .site-header__inner { height: 84px; }
.site-header.is-solid .site-header__logo img { height: 64px; }

.site-nav__list { display: flex; align-items: stretch; background: rgba(0, 0, 0, .72); }
@supports (backdrop-filter: blur(1px)) { .site-nav__list { background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); } }
.site-header.is-solid .site-nav__list { background: transparent; backdrop-filter: none; }
.site-nav__list > li { position: relative; display: flex; }
.site-nav__list > li > a,
.site-nav__sub-toggle {
  position: relative; display: flex; align-items: center; gap: .45rem; padding: 0 1.15rem; height: 46px;
  font: 600 .6875rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.site-nav__list > li > a:not(.site-nav__cta)::after,
.site-nav__sub-toggle::before {
  content: ""; position: absolute; left: 1.15rem; right: 1.15rem; bottom: 10px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list > li > a:hover::after, .site-nav__sub-toggle:hover::before,
.site-nav__sub-toggle[aria-expanded="true"]::before { transform: scaleX(1); }
.site-nav__sub-toggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .75; transition: transform .2s var(--ease);
}
.site-nav__sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.site-nav__list > li > a.site-nav__cta { background: var(--red-btn); padding: 0 1.4rem; }
.site-nav__list > li > a.site-nav__cta:hover { background: var(--red-btn-hover); }

.site-nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: var(--white); border-radius: 4px; box-shadow: var(--shadow-lg);
  padding: .6rem 0; border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.site-nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.site-nav__sub--wide { min-width: 360px; left: auto; right: 0; }
.site-nav__sub a {
  display: block; padding: .55rem 1.25rem; font-size: var(--fs-sm); line-height: 1.4; color: var(--text); text-decoration: none;
  border-left: 3px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.site-nav__sub li:first-child a { font-weight: 700; color: var(--ink); }
.site-nav__sub a:hover { background: var(--grey-1); color: var(--red); border-left-color: var(--red); }
.has-sub:hover > .site-nav__sub,
.site-nav__sub-toggle[aria-expanded="true"] + .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
.site-nav__mobile-contact { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 88px; }
  .site-header__logo img { height: 60px; }
  .site-header.is-solid .site-header__inner { height: 70px; }
  .site-header.is-solid .site-header__logo img { height: 46px; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; position: relative; z-index: 2;
    background: rgba(0, 0, 0, .55); border: 0; border-radius: 2px; cursor: pointer;
  }
  .site-header.is-solid .nav-toggle { background: transparent; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform .25s var(--ease), background-color .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
    background: var(--navy); padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav__list { flex-direction: column; background: transparent; backdrop-filter: none; }
  .site-nav__list > li { flex-direction: column; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav__list > li > a, .site-nav__sub-toggle { font-size: .9375rem; height: 60px; padding: 0; width: 100%; justify-content: space-between; }
  .site-nav__list > li > a:not(.site-nav__cta)::after, .site-nav__sub-toggle::before { display: none; }
  .site-nav__cta-item { border-bottom: 0 !important; margin-top: 1.5rem; }
  .site-nav__list > li > a.site-nav__cta { justify-content: center; height: 54px; }
  .site-nav__sub {
    position: static; min-width: 0 !important; box-shadow: none; background: transparent; border: 0; border-radius: 0;
    padding: 0 0 1rem; opacity: 1; visibility: visible; transform: none; display: none;
  }
  .site-nav__sub::before { display: none; }
  .has-sub:hover > .site-nav__sub { display: none; }
  .site-nav__sub-toggle[aria-expanded="true"] + .site-nav__sub { display: block; }
  .site-nav__sub a { color: rgba(255, 255, 255, .78); padding: .6rem 0 .6rem 1rem; border-left: 2px solid rgba(255, 255, 255, .12); }
  .site-nav__sub li:first-child a { color: var(--white); }
  .site-nav__sub a:hover { background: none; color: var(--white); border-left-color: var(--red); }
  .site-nav__mobile-contact { display: block; margin-top: auto; padding-top: 2rem; color: rgba(255, 255, 255, .65); font-size: var(--fs-sm); }
  .site-nav__mobile-contact a { color: var(--white); font-weight: 700; text-decoration: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  min-height: 640px; min-height: max(640px, min(100svh, 980px));
  background: var(--navy); color: var(--white); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, .1) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero__content { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem; }
.hero__title { color: var(--white); font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.1rem; max-width: 12ch; }
@media (min-width: 1024px) { .hero__title { max-width: none; } }
.hero__subtitle { font-weight: 700; font-size: clamp(1.05rem, .9rem + .6vw, 1.375rem); margin-bottom: 2.25rem; color: rgba(255, 255, 255, .92); }
.hero__facts {
  position: relative; display: flex; flex-wrap: wrap; gap: .6rem 0;
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 1.4rem var(--gutter) 1.6rem;
  font-size: var(--fs-sm); font-weight: 700; color: rgba(255, 255, 255, .9);
}
.hero__facts::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .22); }
.hero__facts li { padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid rgba(255, 255, 255, .3); line-height: 1.2; }
.hero__facts li:last-child { border-right: 0; }
@media (max-width: 640px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
  .hero__facts li { border: 0; padding: 0; margin: 0; }
}

/* One orchestrated load moment: the photo settles, then the words arrive. */
.js .hero__img { transform: scale(1.06); transition: transform 2.2s var(--ease); }
.js .hero__content > *, .js .hero__facts { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero.is-loaded .hero__img { transform: none; }
.js .hero.is-loaded .hero__content > *, .js .hero.is-loaded .hero__facts { opacity: 1; transform: none; }
.js .hero.is-loaded .hero__content > :nth-child(2) { transition-delay: .12s; }
.js .hero.is-loaded .hero__content > :nth-child(3) { transition-delay: .24s; }
.js .hero.is-loaded .hero__facts { transition-delay: .4s; }

/* ---------- Intro ---------- */
.intro {
  max-width: var(--wrap); margin: 0 auto; padding: var(--space-section) var(--gutter) calc(var(--space-section) * .6);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.intro__text { background: var(--grey-1); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius); margin: -3rem 1rem 0; position: relative; }
.intro__text h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.intro__text p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .intro { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .intro__media { grid-column: 1 / 8; grid-row: 1; }
  .intro__media img { aspect-ratio: 5 / 4; }
  .intro__text { grid-column: 7 / 13; grid-row: 1; margin: 0; box-shadow: var(--shadow-md); background: var(--white); border-top: 3px solid var(--red); }
}

/* ---------- Generic section ---------- */
.section { padding: var(--space-section) 0; }
.section--tint { background: var(--grey-1); }
/* Charcoal grey services band (homepage, agreed with James Nov 2026) */
.section--charcoal { background: #3e3e40; }
.section--charcoal .section__title, .section--charcoal .section__title strong { color: var(--white); }
.section--charcoal .text-link { color: var(--white); }
.section--charcoal .text-link:hover { color: #ffb3b6; }
.section__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2.5rem; }
.section__title { margin: 0; }
.section__lede { margin: .6rem 0 0; color: var(--muted); }
.section__tools { display: flex; align-items: center; gap: 1.5rem; }

/* Service tiles */
.tile-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--navy); text-decoration: none; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .1) 55%); transition: background-color .3s; }
.tile__label {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--white); font-weight: 700; font-size: var(--fs-lg); line-height: 1.25;
}
.tile__label::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .25s, border-color .25s;
}
@media (max-width: 600px) { .tile { aspect-ratio: 16 / 9; } .tile__label { font-size: var(--fs-base); } }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover .tile__label::after, .tile:focus-visible .tile__label::after { background-color: var(--red-btn); border-color: var(--red-btn); }

/* ---------- Carousels ---------- */
.carousel-controls { display: flex; gap: .5rem; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--red); color: var(--red); background: var(--white); cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.round-btn:hover:not(:disabled) { background: var(--red-btn); border-color: var(--red-btn); color: var(--white); }
.round-btn:disabled { opacity: .3; cursor: default; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.5rem) / 3); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 4px; margin: -4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .carousel__track { grid-auto-columns: 84%; } }
.carousel__progress { margin-top: 2rem; height: 2px; background: var(--grey-2); position: relative; overflow: hidden; }
.carousel__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--red); transition: left .3s var(--ease), width .3s var(--ease); }

.case-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--navy); text-decoration: none; isolation: isolate; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 65%); }
.case-card__body { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 1; display: grid; gap: .35rem; color: var(--white); }
.case-card__type { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: #fca5a5; }
.case-card__label { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; }
.case-card__label::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.case-card:hover img, .case-card:focus-visible img { transform: scale(1.05); }
.case-card:hover .case-card__label::after { transform: translateX(4px) rotate(45deg); }

/* ---------- Call back band ---------- */
.callback { background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; isolation: isolate; }
.callback::before {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 52, 47, .22), rgba(227, 52, 47, 0));
}
.callback__inner {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 2rem + 4vw, 5.5rem) var(--gutter);
  display: grid; gap: 1.75rem; align-items: center;
}
.callback h2 { color: var(--white); margin-bottom: .6rem; }
.callback p { margin: 0; font-size: var(--fs-lg); max-width: 52ch; }
.callback .btn { justify-self: start; }
@media (min-width: 860px) { .callback__inner { grid-template-columns: 1fr auto; gap: 4rem; } }

/* Modal */
.modal {
  width: min(560px, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius); border-top: 4px solid var(--red); color: var(--text); box-shadow: var(--shadow-lg);
}
.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.modal h2 { font-size: var(--fs-h3); padding-right: 2.5rem; margin-bottom: .5rem; }
.modal__intro { color: var(--muted); margin-bottom: 1.5rem; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center; background: var(--grey-1); border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.modal__close:hover { background: var(--grey-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.req { color: var(--red-btn); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1px solid #d1d5db; border-radius: 4px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: #9ca3af; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 0, 0, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-btn); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.field__error { color: var(--red-btn); font-size: .8125rem; font-weight: 700; }
.form > .btn { justify-self: start; }
.form__status:empty { display: none; }
.form__status { margin: 0; font-weight: 700; font-size: var(--fs-sm); }
.form__status.is-error { color: var(--red-btn); }
.form__success { padding: 1.5rem; background: var(--grey-1); border-left: 4px solid var(--red); border-radius: 4px; }
.form__success, .form__success p { color: var(--text); }
.form__success strong { color: var(--ink); }
.form__success:focus { outline: none; }
.form__hp { position: absolute; left: -9999px; }

/* ---------- LinkedIn ---------- */
.linkedin__title { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-base); margin: 0 0 1.25rem; }
.icon-li { width: 22px; height: 22px; fill: var(--li-blue); }
.linkedin__track { grid-auto-columns: calc((100% - 2.5rem) / 3); }
@media (max-width: 1000px) { .linkedin__track { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .linkedin__track { grid-auto-columns: 88%; } }
.li-card { height: 560px; border: 1px solid var(--grey-2); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.li-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.li-card--placeholder { height: auto; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.75rem; background: var(--grey-1); border-color: transparent; }
.li-card--placeholder .icon-li { width: 28px; height: 28px; }
.li-card--placeholder p { margin: 0; font-size: var(--fs-sm); }
.li-card--placeholder a { font-weight: 700; font-size: var(--fs-sm); color: var(--li-blue); }
.li-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.linkedin__more { display: inline-block; margin-top: 1.75rem; font-weight: 700; font-size: var(--fs-sm); color: var(--li-blue); }

/* ---------- Footer ---------- */
.footer-main { background: var(--grey-1); border-top: 1px solid var(--grey-2); }
.footer-main__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 4rem var(--gutter) 3rem;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-main__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-main__brand img:first-child { height: 76px; width: auto; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--grey-2); transition: border-color .2s; }
.social a:hover { border-color: var(--text); }
.social svg { width: 18px; height: 18px; fill: var(--li-blue); }
.social li + li svg { fill: var(--ink); }
.footer-badge { margin-top: 1.5rem; max-height: 72px; width: auto; }
.footer-col h2 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: 1rem; color: var(--ink); }
.footer-col h2 a { text-decoration: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: var(--red); }
.footer-col address { font-size: .9375rem; line-height: 1.9; }
.footer-legal {
  max-width: var(--wrap); margin: 0 auto; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--grey-2);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .8125rem; color: var(--muted);
}
.footer-legal p { margin: 0; }
.footer-legal a { text-decoration: none; color: var(--ink); }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 150; width: min(440px, calc(100% - 2rem));
  background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem; font-size: var(--fs-sm); animation: modal-in .35s var(--ease);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 1rem; }
.consent__actions { display: flex; gap: .5rem; }
.consent__actions .btn { flex: 1; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .carousel__track { scroll-behavior: auto; }
  .js .hero__img { transform: none; }
}

/* Case card hover cue */
.case-card__cta {
  font-size: var(--fs-sm); font-weight: 700; color: var(--white); opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .3s var(--ease), max-height .3s var(--ease);
}
.case-card:hover .case-card__cta, .case-card:focus-visible .case-card__cta { opacity: .85; max-height: 2em; }
@media (hover: none) { .case-card__cta { display: none; } }

/* ---------- Mobile quick-contact bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--grey-2); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .35);
    padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  body.nav-open .action-bar { transform: translateY(110%); }
  .action-bar__btn {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; padding: 0 .75rem;
    font: 700 .8125rem/1.2 var(--font); color: var(--ink); background: var(--white); border: 0; text-decoration: none; cursor: pointer;
  }
  .action-bar__btn--red { background: var(--red-btn); color: var(--white); }
  .action-bar__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
  .consent { bottom: calc(1rem + 56px); }
  .site-footer { padding-bottom: 56px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 78vh; display: flex; align-items: center; background: var(--navy); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; isolation: isolate; }
.notfound::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 52, 47, .22), rgba(227, 52, 47, 0)); }
.notfound__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem; }
.notfound .notfound__code { font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 700; line-height: 1; color: var(--red); margin: 0 0 1rem; letter-spacing: -.04em; }
.notfound h1 { color: var(--white); font-size: var(--fs-h2); }
.notfound p { font-size: var(--fs-lg); max-width: 50ch; margin-bottom: 2rem; }

/* ======================================================================
   Service pages
   ====================================================================== */
.hero--page { min-height: 460px; min-height: max(460px, min(62svh, 640px)); }
.hero--page .hero__content { padding-bottom: 4.5rem; }
.hero--page .hero__title { max-width: none; margin-bottom: 1.75rem; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--fs-sm); font-weight: 700; color: rgba(255, 255, 255, .7); margin: 0 0 1.25rem; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); }

/* Current page in the nav */
.site-nav__sub a[aria-current="page"] { color: var(--red); border-left-color: var(--red); font-weight: 700; }
.site-nav__sub-toggle[data-current]::before { transform: scaleX(1); }
@media (max-width: 1023px) { .site-nav__sub a[aria-current="page"] { color: var(--white); border-left-color: var(--red); } }

/* Editorial layout: label column left, content right, hairline dividers */
.editorial { padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0; }
.editorial--last { padding-bottom: var(--space-section); }
.editorial__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 1.5rem; }
.editorial--rule .editorial__inner { position: relative; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.editorial--rule .editorial__inner::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--grey-2); }
.editorial--rule { padding-top: 0; }
.editorial__label {
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; color: var(--ink); margin: 0;
  padding-top: .35rem; max-width: 22ch; line-height: 1.4;
}
.editorial__label::before { content: ""; display: block; width: 28px; height: 2px; background: var(--red); margin-bottom: .9rem; }
.editorial__body { max-width: 760px; }
@media (min-width: 900px) {
  .editorial__inner { grid-template-columns: 4fr 8fr; gap: 3rem; }
  .editorial__label { position: sticky; top: 110px; align-self: start; }
}
.prose p { color: var(--text); }
.prose p:last-child { margin-bottom: 0; }

.num-list { list-style: none; margin: 0 0 2.25rem; padding: 0; border-top: 1px solid var(--grey-2); }
.num-list li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid var(--grey-2); }
.num-list .num { font-size: var(--fs-sm); font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.num-list p { margin: 0; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); }
.num-list p strong { font-weight: 700; }

.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey-2); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--grey-2); text-decoration: none; font-size: var(--fs-lg); font-weight: 700; color: var(--ink);
  transition: color .2s, padding-left .25s var(--ease);
}
.link-list a::after {
  content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); opacity: .5; transition: opacity .2s, transform .25s var(--ease);
}
.link-list a:hover { color: var(--red); padding-left: .4rem; }
.link-list a:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }

/* ======================================================================
   LinkedIn embeds: no inner scrollbars. The iframe is taller than the card,
   scrolling is off, and a fade plus link sits over the cut-off.
   ====================================================================== */
.li-card { position: relative; height: 560px; }
.li-card iframe { height: 1100px; overflow: hidden; }
.li-card__fade {
  position: absolute; inset: auto 0 0; height: 120px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 65%);
}
.li-card__fade a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px;
  background: var(--li-blue); color: var(--white); font-size: var(--fs-sm); font-weight: 700; text-decoration: none;
}
.li-card__fade a:hover { background: #005e8f; }
.li-card--placeholder { height: auto; }

/* ======================================================================
   Classic service layout (mirrors the current Squarespace page)
   ====================================================================== */
.classic .btn { font-weight: 400; font-size: 1rem; letter-spacing: .02em; min-height: 40px; padding: 0 2.4rem; border-radius: 0; }
.classic .site-nav__list > li > a, .classic .site-nav__sub-toggle { font-weight: 400; font-size: .9375rem; letter-spacing: .02em; }
@media (min-width: 1024px) { .classic .site-nav__list > li > a, .classic .site-nav__sub-toggle { height: 62px; padding: 0 1.5rem; } }
.btn--outline-red { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline-red:hover { background: var(--red-btn); border-color: var(--red-btn); color: var(--white); }

.hero--classic { min-height: 600px; min-height: max(600px, min(90svh, 860px)); }
.hero--classic::before { background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .1) 80%), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 25%); }
.hero--classic .hero__content { padding-left: max(var(--gutter), 14vw); }
.hero--classic .hero__title { font-weight: 400; max-width: none; font-size: clamp(2.6rem, 1.5rem + 4vw, 4.75rem); letter-spacing: -.01em; margin-bottom: 2.5rem; }

.c-intro { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.c-intro__inner { max-width: 1440px; margin: 0 auto; padding: 0 max(var(--gutter), 11vw); display: grid; gap: 0 6rem; }
.c-intro p { color: var(--text); line-height: 1.75; }
.c-intro p strong { color: var(--ink); }
.c-intro__btns { margin-top: 3.5rem; }
@media (min-width: 900px) { .c-intro__inner { grid-template-columns: 1fr 1fr; } }

.c-band { background: var(--red-btn); color: var(--white); }
.c-band__inner { max-width: 1440px; margin: 0 auto; padding: clamp(4rem, 3rem + 3vw, 6rem) max(var(--gutter), 15vw); }
.c-band h2 { color: var(--white); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); margin-bottom: 2.75rem; }
.c-list { display: grid; gap: 1.1rem; }
.c-list li { display: flex; align-items: center; gap: 1.5rem; }
.c-list img { flex: none; width: 36px; height: 36px; }
.c-list p { margin: 0; font-size: 1.125rem; line-height: 1.45; }
.c-list strong { font-weight: 700; }

.c-contact { position: relative; isolation: isolate; overflow: hidden; background: #2a2a2a; }
.c-contact__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.c-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .1) 100%); }
.c-contact__inner { max-width: 1440px; margin: 0 auto; padding: clamp(3rem, 2rem + 3vw, 3.5rem) var(--gutter); display: grid; gap: 2.5rem; align-items: center; }
.c-contact__text { color: var(--white); text-align: center; justify-self: center; max-width: 560px; }
.c-contact__text h2 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 1.75rem; }
.c-contact__box { background: rgba(60, 60, 60, .75); padding: .9rem 1rem; font-size: 1.125rem; line-height: 1.6; margin: 0 auto 1.75rem; }
.c-contact__card { background: rgba(255, 255, 255, .95); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.c-contact__card .field label { font-weight: 400; font-size: 1.0625rem; }
.c-contact__card .opt { font-size: .875rem; color: var(--muted); margin-left: .25rem; }
.c-contact__card .field input, .c-contact__card .field textarea { border: 0; background: #ededed; border-radius: 6px; }
.c-submit {
  justify-self: start; margin-top: .5rem; padding: .6rem 1.6rem .7rem; background: none; border: 0; border-bottom: 2px solid var(--red);
  color: var(--red); font: 400 1.0625rem/1 var(--font); text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.c-submit:hover { color: var(--red-btn-hover); border-color: var(--red-btn-hover); }
@media (min-width: 1024px) {
  .c-contact__inner { grid-template-columns: 1fr minmax(420px, 575px); gap: 4rem; padding-right: max(var(--gutter), 15vw); }
}

/* Classic: header and hero proportions measured from the live Squarespace page (scale with viewport width) */
@media (min-width: 1024px) {
  .classic .site-header__inner { max-width: none; height: auto; align-items: flex-start; padding: 2.4vw 4.25vw 0 4.5vw; }
  .classic .site-header__logo img { height: clamp(96px, 8.1vw, 156px); }
  .classic .site-nav { margin-top: 2.4vw; }
  .classic .site-nav__list > li > a, .classic .site-nav__sub-toggle { height: clamp(46px, 3.4vw, 64px); padding: 0 clamp(1rem, 1.6vw, 1.75rem); font-size: clamp(.8125rem, .9vw, 1rem); }
  .classic .site-nav__list > li > a:not(.site-nav__cta)::after, .classic .site-nav__sub-toggle::before { left: clamp(1rem, 1.6vw, 1.75rem); right: clamp(1rem, 1.6vw, 1.75rem); bottom: 8px; }
  .classic .site-header.is-solid .site-header__inner { padding-top: 10px; padding-bottom: 10px; align-items: center; }
  .classic .site-header.is-solid .site-header__logo img { height: 64px; }
  .classic .site-header.is-solid .site-nav { margin-top: 0; }

  .hero--classic { min-height: 100vh; min-height: 100svh; }
  .hero--classic .hero__img { object-position: 50% 20%; }
  .hero--classic .hero__content { max-width: none; margin: 0; padding: 6vw 4vw 0 15.7vw; }
  .hero--classic .hero__title { font-size: clamp(2.5rem, 4.1vw, 5.25rem); margin-bottom: clamp(1.75rem, 4vw, 4.75rem); }
  .classic .hero--classic .btn { min-height: clamp(36px, 2vw, 44px); padding: 0 2.05vw; font-size: clamp(.95rem, 1vw, 1.2rem); }
}

/* Classic contact section: proportions measured from the live page */
@media (min-width: 1024px) {
  .c-contact__inner { max-width: none; padding: 2.4vw 15.5vw 2.4vw 0; grid-template-columns: minmax(0, 1fr) 30vw; gap: 0; }
  .c-contact__text { max-width: 36vw; }
  .c-contact__text h2 { white-space: nowrap; }
  .c-contact__box { max-width: 28.5vw; }
  .c-contact__text h2 { font-size: clamp(1.9rem, 2.4vw, 3rem); margin-bottom: 1.6vw; }
  .c-contact__box { font-size: clamp(1rem, 1.05vw, 1.25rem); padding: .75vw 1vw; margin-bottom: 1.8vw; }
  .c-contact__card { padding: 2.4vw 1.8vw 2.6vw; background: rgba(255, 255, 255, .9); }
  .c-contact__card .form { gap: 1.45vw; }
  .c-contact__card .form__row { gap: 1.4vw; }
  .c-contact__card .field { gap: .45vw; }
  .c-contact__card .field label { font-size: clamp(.95rem, .9vw, 1.1rem); }
  .c-contact__card .field input { min-height: 0; height: clamp(38px, 2.35vw, 48px); padding: 0 .8vw; }
  .c-contact__card .field textarea { min-height: 0; height: clamp(100px, 6.6vw, 140px); }
  .c-submit { margin-top: .9vw; font-size: clamp(.95rem, 1vw, 1.15rem); }
}

/* Header proportions from the live site, applied to every page (desktop) */
@media (min-width: 1024px) {
  :root { --header-h: max(124px, 10.5vw); }
  .site-header__inner { max-width: none; height: auto; align-items: flex-start; padding: 2.4vw 4.25vw 0 4.5vw; }
  .site-header__logo img { height: clamp(96px, 8.1vw, 156px); }
  .site-nav { margin-top: 2.4vw; }
  .site-nav__list > li > a, .site-nav__sub-toggle {
    height: clamp(46px, 3.4vw, 64px); padding: 0 clamp(1rem, 1.6vw, 1.75rem);
    font-size: clamp(.8125rem, .9vw, 1rem); font-weight: 400; letter-spacing: .02em;
  }
  .site-nav__list > li > a:not(.site-nav__cta)::after, .site-nav__sub-toggle::before { left: clamp(1rem, 1.6vw, 1.75rem); right: clamp(1rem, 1.6vw, 1.75rem); bottom: 8px; }
  .site-header.is-solid .site-header__inner { height: auto; padding-top: 10px; padding-bottom: 10px; align-items: center; }
  .site-header.is-solid .site-header__logo img { height: 64px; }
  .site-header.is-solid .site-nav { margin-top: 0; }
}

/* Homepage hero: title size measured from the live site */
@media (min-width: 1024px) {
  .hero:not(.hero--page):not(.hero--classic) .hero__title { font-size: clamp(2.4rem, 3.3vw, 4.25rem); max-width: none; letter-spacing: -.01em; }
  .hero:not(.hero--page):not(.hero--classic) .hero__subtitle { font-size: clamp(1rem, 1.15vw, 1.4rem); }
}

/* Contact section buttons keep the live site's lighter button style on every page */
.c-contact .btn { font-weight: 400; font-size: 1rem; letter-spacing: .02em; min-height: 40px; padding: 0 2.4rem; border-radius: 0; }

/* ---------- Contact panel (footer, new layout pages) ---------- */
.contact-panel { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .75); }
.contact-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .86) 45%, rgba(10, 10, 10, .78) 100%); }
.contact-panel__inner { max-width: var(--wrap); margin: 0 auto; padding: var(--space-section) var(--gutter); display: grid; gap: 3rem; align-items: start; }
.contact-panel__intro .rule { margin-top: 0; }
.contact-panel h2 { color: var(--white); margin-bottom: 1.1rem; }
.contact-panel__intro > p { font-size: var(--fs-lg); line-height: 1.6; max-width: 40ch; margin-bottom: 2.5rem; }
.contact-panel__intro > p strong { color: var(--white); }
.contact-details { margin: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-details > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact-details dt { font-size: var(--fs-sm); color: rgba(255, 255, 255, .55); }
.contact-details dd { margin: 0; color: var(--white); font-weight: 700; }
.contact-details a { color: inherit; text-decoration: none; }
.contact-details a:hover { color: #fca5a5; }
.contact-details__btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--white); cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-details__btn:hover { color: #fca5a5; }
.contact-panel__card { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.contact-panel__card .field input, .contact-panel__card .field textarea { border-color: var(--grey-2); background: #fafafa; }
.contact-panel__card .field input:focus, .contact-panel__card .field textarea:focus { background: var(--white); border-color: var(--navy); }
.contact-panel__submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .25rem; }
.contact-panel__note { font-size: .8125rem; color: var(--muted); }
@media (min-width: 1024px) { .contact-panel__inner { grid-template-columns: 5fr 7fr; gap: 5.5rem; } .contact-panel__intro { padding-top: .5rem; } }
@media (max-width: 600px) {
  .contact-details > div { grid-template-columns: 5.25rem 1fr; }
  .contact-details dd { font-size: .9375rem; overflow-wrap: anywhere; }
}

/* ---------- Service page v2: calmer hero, clearer section rhythm ---------- */
.hero--page { min-height: 560px; min-height: max(560px, min(80svh, 860px)); justify-content: flex-end; }
.hero--page .hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }
.hero--page .breadcrumb ol { margin-bottom: 1.5rem; }
.hero--page .hero__title { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.25rem); line-height: 1.05; margin-bottom: 2.25rem; }
.hero--page::before { background:
  linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .15) 100%),
  linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%),
  linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 28%); }

.editorial { padding: clamp(4.5rem, 3rem + 4vw, 7.5rem) 0; }
.editorial--tint { background: var(--grey-1); }
.editorial__body { max-width: 720px; }
.prose p { margin-bottom: 1.4rem; line-height: 1.8; }

.num-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; counter-reset: none; }
.num-grid li { padding: 1.6rem 0 1.75rem; border-top: 1px solid #d9d9d9; }
.num-grid .num { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--red); letter-spacing: .04em; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.num-grid p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
@media (min-width: 700px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .editorial--tint .editorial__body { max-width: none; } }

/* ======================================================================
   Case study pages
   ====================================================================== */
.hero__address { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 700; color: rgba(255, 255, 255, .9); margin: -1.25rem 0 2.25rem; }

.cs-pair { padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0; }
.cs-pair--last { padding-bottom: var(--space-section); }
.cs-pair__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.75rem; align-items: start; }
@media (min-width: 900px) { .cs-pair__inner { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .94); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: modal-in .25s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 4rem 0 2rem; display: grid; justify-items: center; gap: 1rem; grid-column: 2; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); text-align: center; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.lightbox svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 44px 1fr 44px; } .lightbox__nav { width: 40px; height: 40px; } }

/* Case study v2: closer to the live page */
.hero__title--bold { font-weight: 700; }
.hero__rule { display: block; width: min(520px, 100%); height: 1px; background: rgba(255, 255, 255, .45); margin: -.75rem 0 2rem; }
.cs-block__title { font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); font-weight: 700; margin: 0 0 1rem; }
.cs-block__title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--red); margin-top: .9rem; }

.slideshow { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(1rem, .5rem + 2vw, 2rem); }
.slideshow__stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; }
.slideshow__slides { list-style: none; margin: 0; padding: 0; }
.slideshow__slide a { display: block; cursor: zoom-in; }
.slideshow__slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.slideshow__slide:not([hidden]) { animation: panel-in .35s var(--ease); }
.slideshow__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4); transition: background-color .2s, color .2s;
}
.slideshow__nav:hover { background: var(--red-btn); color: var(--white); }
.slideshow__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.slideshow__nav--prev { left: 1rem; }
.slideshow__nav--next { right: 1rem; }
.slideshow__count { position: absolute; right: 1rem; bottom: 1rem; margin: 0; padding: .3rem .7rem; border-radius: 999px; background: rgba(0, 0, 0, .6); color: var(--white); font-size: .8125rem; font-weight: 700; }
.slideshow__thumbs { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.slideshow__thumb { display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .55; outline-offset: 2px; transition: opacity .2s; background: none; }
.slideshow__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.slideshow__thumb:hover, .slideshow__thumb[aria-current="true"] { opacity: 1; }
.slideshow__thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--red); }
@media (max-width: 600px) { .slideshow__nav { width: 40px; height: 40px; } .slideshow__thumbs { gap: .4rem; } }

/* Smaller slideshow: the source screenshots are low resolution, so keep them near their natural size */
.slideshow { max-width: calc(780px + 2 * var(--gutter)); }
.slideshow__slide img { aspect-ratio: 3 / 2; }
.slideshow__thumbs { gap: .5rem; margin-top: .5rem; }
.slideshow__nav { width: 40px; height: 40px; }
.slideshow__nav svg { width: 18px; height: 18px; }
.lightbox img { max-width: min(100%, 1000px); }

/* ======================================================================
   Full-site additions
   ====================================================================== */
.slideshow__thumbs { grid-template-columns: repeat(var(--thumbs, 5), minmax(0, 1fr)); }
.svc-badge { margin-top: 1.5rem; max-height: 80px; width: auto; }
.section__lede--intro { margin: -1.25rem 0 2.25rem; max-width: 60ch; font-size: var(--fs-lg); color: var(--text); }
.contact-page__btns { margin-top: 2rem; }

/* Case studies overview grid */
.case-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.case-grid .case-card { aspect-ratio: 4 / 5; }
.case-card__desc { font-size: var(--fs-sm); line-height: 1.5; color: rgba(255, 255, 255, .85); margin-top: .25rem; }
.case-grid .case-card::after { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .05) 80%); }

/* News page: LinkedIn posts in a grid */
.linkedin__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Plain banner for legal pages */
.page-banner { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.page-banner::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 52, 47, .2), rgba(227, 52, 47, 0)); }
.page-banner__inner { max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem; }
.page-banner .hero__title { color: var(--white); font-size: clamp(2.4rem, 1.2rem + 3vw, 4.25rem); margin: 0; }
.legal h3 { font-size: 1.125rem; margin-top: 2rem; }
.legal h3:first-of-type { margin-top: 1.5rem; }
.legal ul { margin: 0 0 1.4rem; padding-left: 1.25rem; color: var(--text); line-height: 1.75; }
.legal li { margin-bottom: .5rem; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal__meta { font-size: var(--fs-sm); color: var(--muted) !important; font-weight: 600; }

/* Contact page intro: text left, map right (matches live layout) */
.contact-intro { padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0; }
.contact-intro__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.5rem; align-items: center; }
.contact-intro__title { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.75rem); font-weight: 400; line-height: 1.1; margin: 0 0 1.75rem; }
.contact-intro__title strong { font-weight: 700; }
.contact-intro__text p { color: var(--text); line-height: 1.8; margin: 0 0 1.1rem; max-width: 560px; }
.contact-intro__text .btn-pair { margin-top: 2rem; }
.contact-intro__map { position: relative; aspect-ratio: 8 / 5; background: var(--grey-1); }
.contact-intro__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .contact-intro__inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.map-placeholder { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .6rem; padding: 1.5rem; text-align: center; border: 1px solid var(--grey-2); }
.map-placeholder p { margin: 0; color: var(--text); }
.footer-company { font-size: var(--fs-xs); color: var(--muted); margin: 0; line-height: 1.6; }
.form__privacy { font-size: var(--fs-xs); color: var(--muted); margin: .75rem 0 0; }
.form__privacy a { color: inherit; }
