/* M&D Foundations: site styles
   Brand: navy #132533, red #DD0130, white. Commercial = red, domestic = white.
   Type: Barlow Condensed (labels, big uppercase), Manrope (headlines, body). */

:root {
  --navy: #132533;
  --navy-deep: #0c1a24;
  --navy-soft: #1c3444;
  --navy-line: #24404f;
  --red: #dd0130;
  --red-deep: #b30027;
  --white: #ffffff;
  --paper: #f4f2ee;
  --ink: #132533;
  --muted: #5a6a74;
  --line: rgba(19, 37, 51, .14);
  --line-dark: rgba(255, 255, 255, .14);

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --bars-h: 64px;          /* the band the bars live in: they never extend below it */
  --head-row: 100px;        /* room for the logo with clear navy around it */
  --header-h: calc(var(--bars-h) + var(--head-row));
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html, body { margin: 0; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--navy);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.04; font-weight: 800; }
p { margin: 0; line-height: 1.65; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: var(--white); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* eyebrow: the brochure's "PROFESSIONAL / Services" pairing */
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 15px; line-height: 1.15; display: block;
}
.eyebrow b { display: block; color: var(--red); }
.eyebrow em { display: block; font-family: var(--sans); font-style: italic; font-weight: 700; text-transform: none; letter-spacing: -.01em; color: var(--red); font-size: 1.25em; }
.label {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px;
}

/* ---------- bars canvas ---------- */
#bars { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 90; }
html.intro-red::after, html.intro-white::after {
  content: ""; position: fixed; inset: 0; z-index: 95;
  animation: intro-safety .3s 2.5s forwards;
}
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }
html.intro-red::after { background: var(--red); }
html.intro-white::after { background: var(--white); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 17px; line-height: 1;
  padding: 15px 22px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { padding: 12px 16px; font-size: 15px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--paper); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
[data-theme="light"] .on-light .btn-ghost:hover, .light .btn-ghost:hover, .paper .btn-ghost:hover { background: rgba(19, 37, 51, .06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; position: relative; padding: 8px 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%; background: currentColor; opacity: .25; }
.link-arrow::before { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--red); z-index: 1; transition: width .45s var(--ease); }
.link-arrow:hover::before { width: 100%; }
.link-arrow span { transition: transform .3s; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- header ---------- */
/* the bars band scrolls away; the logo, menu and quote button stay pinned to the top */
.site-header { position: sticky; top: calc(-1 * var(--bars-h)); z-index: 80; padding-top: var(--bars-h); background: var(--navy); color: var(--white); transition: box-shadow .3s; }
.scrolled .site-header { box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .6); }
.head-row {
  height: var(--head-row); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 0 var(--gutter);
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; text-decoration: none; }
.logo img { width: 136px; height: auto; }
.nav { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.nav > ul { list-style: none; display: flex; align-items: stretch; gap: clamp(14px, 2vw, 30px); }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a {
  display: block; padding: 10px 0; text-decoration: none; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .02em; opacity: .9;
}
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red); transition: right .25s ease; }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after, .nav li.has-drop:hover > a::after { right: 0; }
.nav > ul > li > a[data-fill="white"]::after { background: var(--white); }
.nav > ul > li > a:hover { opacity: 1; }
.nav .has-drop > a { padding-right: 14px; }
.nav .has-drop > a::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7;
}
/* mega panel: full width under the header, wide and shallow */
.drop {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--white); color: var(--navy);
  border-top: 4px solid var(--red); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55);
  transform: translateY(-6px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .3s var(--ease), visibility .22s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; transition-delay: .06s; }
.drop-in { max-width: var(--max); margin: 0 auto; padding: 30px var(--gutter) 34px; display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: clamp(24px, 4vw, 64px); }
.drop-intro { border-right: 1px solid var(--line); padding-right: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.drop-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .95; letter-spacing: .005em; }
.drop-intro p:not(.drop-title) { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.drop-all { margin-top: auto; align-self: flex-start; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; text-decoration: none; color: var(--red); }
.drop-all span { display: inline-block; transition: transform .25s; }
.drop-all:hover span { transform: translateX(5px); }
.drop ul { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px; align-content: start; }
.drop ul a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-height: 104px; height: 100%;
  padding: 18px 44px 18px 18px; border-radius: 12px; background: var(--paper); text-decoration: none;
  border-left: 4px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.drop ul a:hover, .drop ul a:focus-visible { background: var(--navy); color: var(--white); border-left-color: var(--red); }
.drop b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 23px; line-height: 1; letter-spacing: .01em; }
.drop ul span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.4; transition: color .2s; }
.drop ul a:hover span, .drop ul a:focus-visible span { color: rgba(255, 255, 255, .75); }
.drop ul i { position: absolute; right: 16px; top: 16px; font-style: normal; font-weight: 800; font-size: 18px; color: var(--red); transition: transform .25s; }
.drop ul a:hover i { transform: translateX(4px); }
.head-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.head-phone { text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.2; }
.head-phone span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--red); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto; color: var(--white); }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--navy); color: var(--white); overflow-y: auto;
  padding: calc(var(--header-h) + 16px) var(--gutter) 32px; display: flex; flex-direction: column;
  transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { transform: none; visibility: visible; }
.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 86; }
.m-nav { list-style: none; border-top: 1px solid var(--line-dark); }
.m-nav > li { border-bottom: 1px solid var(--line-dark); }
.m-link, .m-toggle {
  display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; text-decoration: none; letter-spacing: .01em;
}
.m-toggle i { width: 14px; height: 14px; position: relative; }
.m-toggle i::before, .m-toggle i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--red); transition: transform .3s; }
.m-toggle i::after { transform: rotate(90deg); }
.m-toggle[aria-expanded="true"] i::after { transform: rotate(0); }
.m-group ul { list-style: none; display: none; padding: 0 0 14px; }
.m-group.open ul { display: grid; gap: 2px; }
.m-group ul a { display: block; padding: 8px 0; text-decoration: none; font-weight: 600; opacity: .85; }
.m-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.m-phone { font-weight: 800; font-size: 20px; text-decoration: none; }

/* ---------- section scaffolding ---------- */
.block { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.block.tight { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--navy); color: var(--white); }
.deep { background: var(--navy-deep); color: var(--white); }
.light { background: var(--white); color: var(--ink); }
.paper { background: var(--paper); color: var(--ink); }
.red { background: var(--red); color: var(--white); }
.red .eyebrow b, .red .eyebrow em { color: var(--white); }

.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(38px, 4.6vw, 68px); margin-top: 16px; }
.head p { font-size: 18px; opacity: .82; max-width: 52ch; }
.head.solo { grid-template-columns: 1fr; max-width: 820px; }
h2.big { font-size: clamp(38px, 4.6vw, 68px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.muted { opacity: .75; }

/* glass panel with a red bar: the brochure's headline treatment */
.glass {
  background: rgba(12, 26, 36, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius); color: var(--white);
}
.barred { display: grid; grid-template-columns: 7px 1fr; gap: 0 22px; }
.barred::before { content: ""; background: var(--red); grid-row: 1 / span 9; }
.arrow-after::after { content: " →"; color: var(--red); }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white); background: var(--navy-deep);
  min-height: min(calc(100svh - var(--header-h)), 640px); display: flex; align-items: flex-end;
}
.page-hero.short { min-height: 0; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12, 26, 36, .6) 0%, rgba(12, 26, 36, .15) 55%, rgba(12, 26, 36, 0) 80%),
              linear-gradient(0deg, rgba(12, 26, 36, .55) 0%, rgba(12, 26, 36, 0) 45%);
}
.page-hero.short::before { display: none; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: clamp(36px, 7vh, 80px); }
.page-hero .glass { display: inline-grid; padding: clamp(22px, 2.6vw, 34px) clamp(24px, 3vw, 40px) clamp(22px, 2.6vw, 34px) clamp(20px, 2.4vw, 30px); max-width: 760px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 92px); letter-spacing: -.035em; }
.page-hero h1 .arr { color: var(--red); font-weight: 700; }
.page-hero .lede { font-size: clamp(16px, 1.35vw, 20px); margin-top: 18px; max-width: 52ch; opacity: .92; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero .emblem { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); width: clamp(110px, 12vw, 170px); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.crumbs li { display: flex; gap: 8px; align-items: center; opacity: .85; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero.short { padding: 56px 0 8px; }
.page-hero.short .wrap { padding-top: 0; padding-bottom: 40px; }

/* emblems (brochure roundels) */
.emblem { border-radius: 50%; background: var(--white); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: var(--white); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px 34px 0; display: grid; grid-template-columns: 4px 1fr; gap: 0 18px; }
.stat::before { content: ""; background: var(--white); grid-row: 1 / span 2; }
.stat:nth-child(odd)::before { background: var(--red); }
.stat strong { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; letter-spacing: -.01em; }
.stat span { font-size: 14px; opacity: .75; margin-top: 6px; display: block; }

/* ---------- media rows ---------- */
.media-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.media-row.flip > :first-child { order: 2; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy-soft); }
.media.wide { aspect-ratio: 16 / 10; }
.media.tall { aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .chip {
  position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 300px; padding: 16px 18px;
  background: rgba(12, 26, 36, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white);
  border-radius: 12px; font-size: 14px; line-height: 1.45; display: grid; grid-template-columns: 4px 1fr; gap: 14px;
}
.media .chip::before { content: ""; background: var(--red); }
.media .emblem { position: absolute; right: -18px; top: -18px; width: 120px; }
.media-row h2 { font-size: clamp(36px, 4.2vw, 62px); margin-top: 16px; }
.media-row .copy > p { font-size: 18px; margin-top: 20px; opacity: .85; max-width: 52ch; }
.copy .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { list-style: none; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 16px; line-height: 1.55; }
.ticks li::before { content: ""; width: 22px; height: 3px; margin-top: 11px; background: var(--red); }
.ticks strong { display: block; }

/* prose (service detail, legal pages) */
.prose { font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.8vw, 40px); margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--red); font-weight: 700; }
.dark .prose a, .deep .prose a { color: var(--white); }

/* ---------- cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* image card used for services, sectors, projects */
.icard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--navy-soft);
  isolation: isolate;
}
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 26, 36, .92) 0%, rgba(12, 26, 36, .35) 50%, rgba(12, 26, 36, .05) 100%); }
.icard .in { padding: 26px; }
.icard .tag { display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 6px 10px; margin-bottom: 14px; }
.tag.t-red { background: var(--red); color: var(--white); }
.tag.t-white { background: var(--white); color: var(--navy); }
.tag.t-navy { background: var(--navy); color: var(--white); }
.icard h3 { font-size: clamp(24px, 2.1vw, 30px); }
.icard p { font-size: 15px; opacity: .85; margin-top: 8px; line-height: 1.5; }
.icard .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.icard .go b { width: 40px; height: 40px; display: grid; place-items: center; background: var(--red); transition: width .4s var(--ease); }
a.icard:hover img { transform: scale(1.05); }
a.icard:hover .go b { width: 58px; }
.icard.tall { min-height: 480px; }

/* plain text card */
.tcard { border-radius: var(--radius); padding: 30px 28px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.dark .tcard, .deep .tcard { background: var(--navy-soft); border-color: var(--line-dark); }
a.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(12, 26, 36, .6); }
.tcard .n { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 18px; }
.tcard h3 { font-size: 23px; margin-top: 18px; }
.tcard p { font-size: 15px; opacity: .78; margin-top: 10px; line-height: 1.55; }
.tcard .more { margin-top: auto; padding-top: 22px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--red); }
.ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy); color: var(--white); border-radius: 12px; }
.ico svg { width: 28px; height: 28px; }
.dark .ico, .deep .ico { background: var(--red); }

/* chips (method types etc) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 700; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; }
.dark .chips li, .deep .chips li, .icard .chips li { border-color: var(--line-dark); }

/* spec list (service pages) */
.spec { border-radius: var(--radius); padding: 30px; background: var(--paper); }
.dark .spec, .deep .spec { background: var(--navy-soft); }
.spec h3 { font-size: 22px; }
.spec dl { margin: 18px 0 0; display: grid; gap: 0; }
.spec dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dark .spec dl > div, .deep .spec dl > div { border-color: var(--line-dark); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; opacity: .82; }
.side-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.side-layout aside { position: sticky; top: 24px; display: grid; gap: 18px; }

/* numbered process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 2px solid currentColor; }
.steps li { padding: 28px 26px 34px 0; position: relative; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.01em; }
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; height: 6px; width: 40px; background: var(--red); }
.steps li.us::before { color: var(--red); }
.steps h3 { font-size: 21px; margin-top: 18px; }
.steps p { font-size: 15px; opacity: .75; margin-top: 10px; }
.steps .who, .who-key .who {
  display: inline-block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: 19px; line-height: 1; padding: 9px 15px 8px; background: var(--white); color: var(--navy); border: 2px solid var(--navy);
}
/* who does it: a big badge level with the step number, so it reads first */
.steps .who { position: absolute; top: 34px; right: 22px; max-width: calc(100% - 110px); text-align: center; }
.steps li.us .who, .who-key .who.us { background: var(--red); border-color: var(--red); color: var(--white); }
.who-key { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 28px; font-weight: 700; font-size: 15px; }
.who-key .who { font-size: 16px; padding: 7px 12px 6px; }
.who-key .who.us { margin-left: 18px; }

/* FAQs */
.faqs { border-top: 2px solid currentColor; }
.faqs details { border-bottom: 1px solid var(--line); }
.dark .faqs details, .deep .faqs details { border-color: var(--line-dark); }
.faqs summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 800; font-size: 19px; letter-spacing: -.01em;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 28px; font-weight: 600; transition: transform .3s; }
.faqs details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faqs .a { padding: 0 0 24px; max-width: 70ch; opacity: .85; }
.faqs .a p + p { margin-top: .8em; }

/* quote */
.quote-wrap { display: grid; grid-template-columns: 8px 1fr; gap: 32px; }
.quote-wrap::before { content: ""; background: var(--red); }
.quote { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; }
.quote-wrap cite { display: block; font-style: normal; margin-top: 22px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

/* guarantee band */
.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.guarantee .big { font-family: var(--display); font-weight: 800; font-size: clamp(120px, 15vw, 220px); line-height: .78; letter-spacing: -.02em; }
.guarantee .big small { display: block; font-size: .2em; letter-spacing: .06em; line-height: 1; margin-top: 12px; }
.guarantee h2 { font-size: clamp(32px, 3.6vw, 52px); }
.guarantee p { font-size: 18px; margin-top: 16px; opacity: .92; max-width: 52ch; }

/* accreditation logos */
.accred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.accred-card { background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.accred-card .logo-box { height: 96px; display: flex; align-items: center; }
.accred-card .logo-box img { max-height: 96px; max-width: 220px; width: auto; object-fit: contain; }
.accred-card h3 { font-size: 20px; }
.accred-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.logo-strip img { height: 52px; width: auto; background: var(--white); border-radius: 10px; padding: 8px 12px; object-fit: contain; }

/* CTA band */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.cta h2 { font-size: clamp(42px, 5.6vw, 86px); letter-spacing: -.035em; }
.cta p { font-size: 18px; opacity: .88; }
.cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta .contact-lines { margin-top: 24px; display: grid; gap: 6px; font-size: 16px; }
.cta .contact-lines a { text-decoration: none; font-weight: 800; }
.hang { position: absolute; top: 0; right: clamp(24px, 4vw, 64px); display: flex; gap: 12px; align-items: flex-start; pointer-events: none; }
.hang i { width: 6px; display: block; transform-origin: top; transform: scaleY(calc(.6 + .4 * var(--act, 0))); }
.red .hang i { background: var(--white); }
.red .hang i:nth-child(3n) { background: var(--navy); }
.dark .hang i, .deep .hang i { background: var(--white); }
.dark .hang i:nth-child(3n), .deep .hang i:nth-child(3n) { background: var(--red); }
.light .hang i, .paper .hang i { background: var(--red); }
.light .hang i:nth-child(3n), .paper .hang i:nth-child(3n) { background: var(--navy); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field label span { font-weight: 500; opacity: .6; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(221, 1, 48, .15); }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg label { margin: 0; cursor: pointer; position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 800; font-size: 15px; opacity: 1;
}
.seg span i { width: 12px; height: 12px; display: block; border: 1.5px solid var(--navy); }
.seg .r span i { background: var(--red); border-color: var(--red); }
.seg input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.seg input:checked + span i { border-color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form .note { font-size: 13px; color: var(--muted); }
.form-done { display: none; padding: 28px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.form-done.show { display: block; }

/* offices */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.office { border-radius: 14px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.dark .office, .deep .office { background: var(--navy-soft); border-color: var(--line-dark); }
.office h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.office h3 i { width: 10px; height: 10px; background: var(--red); display: block; }
.office .hq { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; background: var(--red); color: var(--white); padding: 3px 7px; margin-left: 4px; }
.office p { font-size: 15px; margin-top: 8px; opacity: .8; line-height: 1.5; }
.office a { font-weight: 800; text-decoration: none; }

/* notice */
.notice { display: grid; grid-template-columns: 6px 1fr; gap: 18px; padding: 20px 22px; border-radius: 12px; background: rgba(221, 1, 48, .08); }
.notice::before { content: ""; background: var(--red); }
.notice p { font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding: 80px 0 32px; font-size: 15px; }
.f-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { align-items: flex-start; }
.site-footer .logo img { width: 190px; }
.f-tag { margin-top: 18px; color: var(--white); font-weight: 700; line-height: 1.5; }
.f-contact { margin-top: 18px; display: grid; gap: 4px; }
.f-contact a { color: var(--white); font-weight: 800; text-decoration: none; }
.f-col h4 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--white); margin: 0 0 14px; }
.f-col ul + h4 { margin-top: 28px; }
.f-col ul { list-style: none; display: grid; gap: 8px; }
.f-col address { line-height: 1.6; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.f-accreds { margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.f-accreds img { height: 54px; width: auto; background: var(--white); border-radius: 10px; padding: 8px 12px; object-fit: contain; }
.f-base { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.f-base ul { list-style: none; display: flex; gap: 18px; }
.f-credit { flex-basis: 100%; display: flex; align-items: center; gap: 14px; font-size: 14px; padding-top: 22px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .7; transition: opacity .25s; }
.f-credit:hover { opacity: 1; }
.f-credit img { width: 150px; height: auto; display: block; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-off { opacity: 1 !important; transform: none !important; transition: none !important; }
.capture *, .capture *::before, .capture *::after { transition: none !important; }

/* ---------- light theme pages (domestic) ---------- */
[data-theme="light"] body { background: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .head-phone { display: none; }
  .nav > ul > li > a { font-size: 17px; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .accred-grid { grid-template-columns: 1fr 1fr; }
  .side-layout { grid-template-columns: 1fr; }
  .side-layout aside { position: static; }
}
@media (max-width: 1000px) {
  :root { --bars-h: 44px; --head-row: 80px; }
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  .logo img { width: 100px; }
}
@media (max-width: 860px) {
  .head, .media-row, .cta .wrap, .guarantee, .grid-2 { grid-template-columns: 1fr; }
  .media-row.flip > :first-child { order: 0; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 24px 0; }
  .page-hero .emblem { width: 92px; bottom: auto; top: 24px; }
  .form { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .guarantee { gap: 24px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .steps, .accred-grid, .f-top { grid-template-columns: 1fr; }
  .icard { min-height: 320px; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .m-link, .m-toggle { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

.accreds-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.accreds-band .logo-strip img { border: 1px solid var(--line); }
@media (max-width: 1080px) { .accreds-band { grid-template-columns: 1fr; } }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps.steps-3 li { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .steps.steps-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps.steps-3 { grid-template-columns: 1fr; } }
/* document / link lists in side panels */
.doc-list { list-style: none; margin-top: 14px; display: grid; }
.doc-list li { border-bottom: 1px solid var(--line); }
.dark .doc-list li, .deep .doc-list li { border-color: var(--line-dark); }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 700; font-size: 15px; }
.doc-list a::after { content: "PDF ↓"; font-family: var(--display); font-weight: 700; letter-spacing: .08em; font-size: 12px; color: var(--red); white-space: nowrap; }
.doc-list.plain a::after { content: "→"; font-size: 16px; }
.doc-list a:hover { color: var(--red); }
.dark .doc-list a:hover, .deep .doc-list a:hover { color: var(--white); opacity: .8; }
.page-hero.short h1 { font-size: clamp(40px, 5.2vw, 80px); }
.page-hero.short .lede { max-width: 60ch; }

/* UK office map: the brochure map with a live pin over each office square */
.uk-map { position: relative; max-width: 440px; margin: 0 auto; }
.uk-map img { width: 100%; height: auto; }
.uk-map .pin {
  position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; transform: translate(-50%, -50%);
  display: block; text-decoration: none; z-index: 1;
}
.uk-map .pin::before {
  content: ""; position: absolute; inset: 3px; background: var(--navy); border: 2px solid var(--white);
  transition: transform .25s var(--ease), background .25s;
}
.uk-map .pin span {
  position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; line-height: 1;
  padding: 5px 7px; background: var(--navy); color: var(--white); transition: background .25s, color .25s;
}
.uk-map .pin.r span { left: calc(100% + 4px); }
.uk-map .pin.l span { right: calc(100% + 4px); }
.uk-map .pin:hover, .uk-map .pin.hl, .uk-map .pin:focus-visible { z-index: 2; }
.uk-map .pin:hover::before, .uk-map .pin.hl::before, .uk-map .pin:focus-visible::before { transform: scale(1.35); background: var(--white); border-color: var(--navy); }
.uk-map .pin:hover span, .uk-map .pin.hl span, .uk-map .pin:focus-visible span { background: var(--white); color: var(--navy); }
.uk-map .pin.is-current { z-index: 3; }
.uk-map .pin.is-current::before { background: var(--white); border-color: var(--navy); transform: scale(1.35); animation: pin-ping 2.2s ease-out infinite; }
.uk-map .pin.is-current span { background: var(--white); color: var(--navy); font-size: 15px; padding: 7px 9px; }
@keyframes pin-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
/* contact page: map beside the office cards */
.offices-map { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.office .area { font-size: 14px; margin-top: 4px; opacity: .65; }
.office { transition: border-color .25s, transform .25s var(--ease); }
.office.hl { border-color: var(--white); }
@media (max-width: 860px) {
  .offices-map { grid-template-columns: 1fr; }
  .offices-map .uk-map { max-width: 340px; }
  .uk-map .pin span { font-size: 11px; padding: 4px 6px; }
}

/* a hero photo flipped left to right (the domestic landing page) */
.mirror { scale: -1 1; }
