/* ==========================================================================
   WiserWeb, Bold Grid variant
   White and navy blocks, hard 2px rules, a visible 12-column grid and
   oversized uppercase headlines. Square corners throughout. Cyan is for thin
   accents, rules and highlights only, never for small text on white.
   ========================================================================== */

:root {
  --navy: #004F70;
  --deep: #0B2C42;
  --cyan: #00AEEF;
  --white: #FFFFFF;
  --ink: #0B2C42;
  --muted: #3E5A6B;
  --pale: #C9DCE7;
  --grey: #97A6B0;
  --grey-dark: #5D8196;
  --placeholder: #5E7584;
  --f-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1360px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 900;
}

h3 {
  line-height: 1.15;
}

p,
dl,
dd,
blockquote,
address {
  margin: 0;
}

address {
  font-style: normal;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Focus: 3px ring, navy on light, cyan on dark ---------- */
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.hero :focus-visible,
.sec-navy :focus-visible,
.sec-deep :focus-visible,
.form-card :focus-visible,
.util-bar :focus-visible,
.site-footer :focus-visible,
.mobile-nav :focus-visible {
  outline-color: var(--cyan);
}

/* ---------- Utility bar ---------- */
.util-bar {
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  border-bottom: 2px solid var(--navy);
}

.util-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  min-height: 46px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.util-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}

.util-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.util-contacts a:hover,
.util-support:hover {
  color: var(--cyan);
}

.util-label {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.util-support {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--cyan);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 0 0 rgba(11, 44, 66, 0.12);
}

body.nav-open .site-header {
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  flex: none;
  text-decoration: none;
}

.brand-pill {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border: none;
}

.brand-pill img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-left: 2px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:last-child {
  border-right: 2px solid var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--deep);
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  margin-left: auto;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--deep);
}

.nav-toggle:hover span {
  background: #fff;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--deep);
  color: #fff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 130px var(--pad) 40px;
}

.mobile-nav-panel > a {
  display: block;
  padding: 20px 0;
  border-bottom: 2px solid var(--navy);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(24px, 7vw, 28px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-nav-panel > a:hover,
.mobile-nav-panel > a:focus-visible,
.mobile-nav-panel > a.active {
  color: var(--cyan);
}

.mobile-cta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mobile-cta .btn {
  justify-content: center;
}

.mobile-cta .btn-primary {
  border-color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 26px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--deep);
  border-color: var(--deep);
}

.btn-secondary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn-ghost {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 2px solid var(--cyan);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  color: var(--cyan);
}

.btn-sm {
  padding: 13px 18px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Shared type ---------- */
h2 {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  justify-self: start;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--cyan);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------- Sections: colour tokens drive rules, numerals and hover ---------- */
.sec {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 2px solid var(--ln);
}

.sec-white,
.stats-sec {
  --ln: var(--ink);
  --num: var(--navy);
  --hov: var(--deep);
  --sec-no: var(--grey);
  background: var(--white);
  color: var(--ink);
}

.sec-white .lede {
  color: var(--muted);
}

.sec-navy {
  --ln: var(--deep);
  --num: #fff;
  --hov: var(--deep);
  --sec-no: var(--grey-dark);
  background: var(--navy);
  color: #fff;
}

.sec-deep {
  --ln: var(--navy);
  --num: #fff;
  --hov: var(--navy);
  --sec-no: var(--grey-dark);
  background: var(--deep);
  color: #fff;
}

.sec-navy .lede,
.sec-deep .lede {
  color: #E4EEF4;
}

/* Section head: large grey numeral on the left, title on the right */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
  gap: clamp(12px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(44px, 5vw, 72px);
}

.sec-no {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(72px, 9vw, 136px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--sec-no);
  font-variant-numeric: lining-nums tabular-nums;
}

.sec-title {
  display: grid;
  gap: 22px;
  min-width: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 0;
  overflow: hidden;
}

.grid-lines {
  display: none;
}

.hero .wrap {
  position: relative;
}

.hero-top {
  margin-bottom: clamp(28px, 3vw, 44px);
}

.wordmark {
  margin: 0 0 clamp(40px, 5vw, 72px);
  font-size: clamp(40px, 6.4vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hl {
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.06em;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding: clamp(28px, 3vw, 40px) 0 clamp(56px, 6vw, 88px);
  border-top: 2px solid #fff;
}

.hero .lede {
  font-size: 19px;
  color: #E4EEF4;
}

.hero .lede b {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.hero-foot .btn-row {
  justify-content: flex-end;
}

/* ---------- Stat tiles ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.2vw, 32px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease, color 0.25s ease;
}

.stat b {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(56px, 6.6vw, 112px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--num);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat b.stat-word {
  font-size: clamp(34px, 3.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  padding-top: 0.12em;
}

.stat small {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat:hover {
  background: var(--hov);
  color: #fff;
}

.stat:hover b {
  color: #fff;
}

.stat-band-hero .stat b {
  font-size: clamp(40px, 4.4vw, 80px);
}

/* ---------- Service tiles (12-column: 4 x 3, or 3 x 4) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

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

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  padding: clamp(24px, 2.4vw, 36px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease, color 0.25s ease;
}

.svc-num {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(80px, 8vw, 128px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--sec-no);
  transition: color 0.25s ease;
}

.svc h3 {
  min-height: 2.3em;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.svc p {
  font-size: 15px;
  line-height: 1.6;
}

.svc-sub {
  align-self: flex-start;
  margin-top: -6px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--cyan);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.svc:hover {
  background: var(--hov);
  color: #fff;
}

.svc:hover .svc-num {
  color: var(--cyan);
}

/* ---------- Why WiserWeb ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 2px solid var(--ink);
}

.why-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(28px, 4vw, 64px);
  border-right: 2px solid var(--ink);
}

.big-claim {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.big-claim em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.why-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 56px);
  background: var(--navy);
  color: #fff;
}

.why-list li {
  position: relative;
  padding: 18px 0 18px 38px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  transition: padding-left 0.2s ease;
}

.why-list li:first-child {
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--cyan);
}

.why-list li:hover {
  padding-left: 46px;
}

/* ---------- Client feedback ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease, color 0.25s ease;
}

.quote p {
  flex: 1;
  font-size: 17px;
  line-height: 1.65;
}

.quote b {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.quote cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 2px solid currentColor;
  font-family: var(--f-head);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote cite em {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.8;
}

.quote:hover {
  background: var(--hov);
  color: #fff;
}

/* ---------- WiserIT teaser (navy) ---------- */
.it-teaser {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.it-teaser .lede b {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.chips li {
  padding: 9px 14px;
  border: 2px solid #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.it-teaser .btn-row {
  flex-direction: column;
  align-items: stretch;
}

.it-teaser .btn {
  justify-content: center;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  padding: clamp(24px, 2.6vw, 40px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease, color 0.25s ease;
}

.step-num {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(72px, 7.6vw, 128px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--sec-no);
  transition: color 0.25s ease;
}

.step h3 {
  min-height: 2.3em;
  font-size: clamp(20px, 1.7vw, 24px);
  text-transform: uppercase;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
}

.step:hover {
  background: var(--hov);
  color: #fff;
}

.step:hover .step-num {
  color: var(--cyan);
}

/* ---------- Security pillars (navy) ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  padding: clamp(24px, 2.4vw, 36px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease, color 0.25s ease;
}

.pillar-n {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--cyan);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.pillar h3 {
  min-height: 2.3em;
  font-size: clamp(17px, 1.5vw, 19px);
  text-transform: uppercase;
}

.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: #DCEBF3;
}

.pillar:hover {
  background: var(--deep);
  color: #fff;
}

.dark-cta-row {
  margin-top: clamp(40px, 5vw, 64px);
}

/* ---------- Director tiles (home page teaser) ---------- */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  border-top: 2px solid var(--ln);
  border-left: 2px solid var(--ln);
}

.dir {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 36px);
  border-right: 2px solid var(--ln);
  border-bottom: 2px solid var(--ln);
  transition: background 0.25s ease;
}

.dir:hover {
  background: var(--hov);
}

.avatar {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--navy);
  border: 2px solid var(--ln);
}

.avatar-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: #fff;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar img.img-failed {
  display: none;
}

.nm {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
  text-transform: uppercase;
}

.dir .role {
  font-size: 14px;
  color: var(--pale);
}

.dir-more {
  margin-top: 40px;
}

/* ---------- Director cards (directors page, 2 x 2 on desktop) ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.bio {
  display: grid;
  align-content: start;
  gap: 26px;
  padding: clamp(24px, 3vw, 44px);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.bio-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: end;
}

.bio-photo {
  position: relative;
  width: min(100%, 210px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy);
  border: 2px solid var(--ink);
}

.bio-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: #fff;
}

.bio-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-photo img.img-failed {
  display: none;
}

.bio-head {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.bio-name {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bio-role {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--cyan);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bio-body {
  display: grid;
  gap: 18px;
  max-width: 66ch;
}

.bio-body p {
  font-size: 16px;
  line-height: 1.7;
}

.bio-quote {
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--cyan);
}

.bio-quote p {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.4;
}

.bio-contact a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.bio-contact a:hover {
  color: var(--navy);
}

/* ---------- Company details (navy facts block) ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--deep);
  border-left: 2px solid var(--deep);
}

.fact {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
}

.fact dt {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pale);
}

.fact dd {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.fact-address dd {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}

.fact dd a {
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  transition: background 0.2s ease, color 0.2s ease;
}

.fact dd a:hover {
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- Book band (navy) ---------- */
.book-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border: 2px solid #fff;
}

.book-tiles.single {
  grid-template-columns: minmax(0, 1fr);
}

.book-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 280px;
  padding: clamp(28px, 3vw, 48px);
  color: #fff;
  text-decoration: none;
  border-right: 2px solid #fff;
  transition: background 0.25s ease, color 0.25s ease;
}

.book-tile:last-child {
  border-right: 0;
}

.book-tile small {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--cyan);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-tile b {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.book-tile .arrow {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.book-tile:hover {
  background: #fff;
  color: var(--ink);
}

.book-tile:hover .arrow {
  transform: translateX(10px);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 2px solid var(--ink);
}

.contact-info-card {
  padding: clamp(28px, 3.4vw, 56px);
  border-right: 2px solid var(--ink);
  background: var(--white);
}

.contact-lines li {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

.contact-lines li:first-child {
  padding-top: 0;
}

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

.contact-lines b {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-lines .v {
  justify-self: start;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-lines .v:hover {
  color: var(--navy);
  border-bottom-color: var(--cyan);
}

.contact-lines .v-sub {
  justify-self: start;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-lines .v-sub:hover {
  color: var(--navy);
  border-bottom-color: var(--cyan);
}

.contact-lines .addr {
  font-size: 16px;
  line-height: 1.6;
}

.form-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 56px);
  background: var(--deep);
  color: #fff;
}

.form-card h3 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.form-card > p {
  margin-bottom: 26px;
  color: var(--pale);
}

.form-msg {
  display: none;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 2px solid #fff;
  font-weight: 600;
}

.form-msg.ok-msg,
.form-msg.err-msg {
  display: block;
}

.form-msg.ok-msg {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.form-msg.err-msg {
  background: #fff;
  border-left: 10px solid var(--cyan);
  color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field label small {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.8;
}

.input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #fff;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.input:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

textarea.input {
  min-height: 130px;
  resize: vertical;
}

.input.invalid {
  border-color: var(--cyan);
  box-shadow: inset 0 -6px 0 var(--cyan);
}

.form-card .btn-primary {
  margin-top: 6px;
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.form-card .btn-primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--pale);
}

/* ---------- Footer (12-column: brand 3, three link columns 3 each) ---------- */
.site-footer {
  background: var(--deep);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: clamp(56px, 6vw, 96px) 0 48px;
}

.footer-brand {
  display: grid;
  grid-column: span 3;
  align-content: start;
  justify-items: start;
  gap: 22px;
  padding-right: 32px;
}

.footer-brand img {
  height: 56px;
  width: auto;
}

.strapline {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.site-footer address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pale);
}

.fcol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: span 3;
  padding-left: 24px;
  border-left: 2px solid var(--navy);
}

.fcol h3 {
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fcol a {
  align-self: flex-start;
  font-size: 15px;
  color: #D6E6EF;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fcol a:hover {
  color: #fff;
  border-bottom-color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0;
  border-top: 2px solid var(--navy);
  font-size: 13px;
  color: #A9C2D0;
}

/* ---------- Reveal on scroll (JS adds .in) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.reveal.d1 {
  transition-delay: 0.08s;
}

.reveal.d2 {
  transition-delay: 0.16s;
}

.reveal.d3 {
  transition-delay: 0.24s;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* ---------- Print: plain page, no navigation or utility bar ---------- */
@media print {
  .skip-link,
  .util-bar,
  .site-header,
  .mobile-nav,
  .btn,
  .btn-row,
  .dir-more,
  .grid-lines {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    animation: none !important;
  }

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

  a {
    text-decoration: underline;
  }
}

/* ---------- Responsive: 1080px ---------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: 12px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .svc-grid,
  .svc-grid.cols-3,
  .pillar-grid,
  .steps,
  .dir-grid,
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .it-teaser,
  .hero-foot,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-foot .btn-row {
    justify-content: flex-start;
  }

  .why-copy {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .contact-info-card {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .footer-brand {
    grid-column: span 12;
    padding-right: 0;
  }

  .fcol {
    grid-column: span 4;
  }
}

/* ---------- Responsive: 960px (director cards go 2 x 2) ---------- */
@media (min-width: 960px) {
  .bio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) {
  .bio-top {
    grid-template-columns: clamp(180px, 15vw, 210px) minmax(0, 1fr);
    gap: clamp(20px, 2.4vw, 32px);
  }
}

/* ---------- Responsive: 900px ---------- */
@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote {
    border-right: 0;
  }

  .book-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-tile {
    min-height: 220px;
    border-right: 0;
    border-bottom: 2px solid #fff;
  }

  .book-tile:last-child {
    border-bottom: 0;
  }

  .why-list li:hover {
    padding-left: 38px;
  }
}

/* ---------- Responsive: 640px ---------- */
@media (max-width: 640px) {
  .brand-pill img {
    height: 48px;
  }
  .nav {
    min-height: 64px;
  }
  .util-contacts a.hide-m {
    display: none;
  }

  .util-inner {
    justify-content: center;
  }

  .util-contacts {
    gap: 18px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .wordmark {
    font-size: clamp(38px, 11vw, 64px);
  }

  h2 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .lede,
  .hero .lede {
    font-size: 17px;
  }

  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .sec-no {
    font-size: 72px;
  }

  .svc-grid,
  .svc-grid.cols-3,
  .pillar-grid,
  .steps,
  .stat-band,
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .stat-band .stat b,
  .stat-band-hero .stat b {
    font-size: 60px;
  }

  .svc,
  .step,
  .pillar {
    min-height: 0;
  }

  .svc-num,
  .step-num {
    font-size: 96px;
  }

  .btn-row {
    width: 100%;
  }

  .btn-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .book-tile b {
    font-size: 30px;
  }

  .form-card {
    padding: 24px 20px;
  }

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

  .bio {
    padding: 24px 20px;
  }

  .bio-photo {
    width: min(100%, 180px);
  }

  .footer-brand,
  .fcol {
    grid-column: span 12;
  }

  .fcol {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 2px solid var(--navy);
  }

  .footer-bottom {
    flex-direction: column;
  }
}
