/* Farald Consultancy Services — site styles
   Fonts are self-hosted deliberately: a third-party font CDN would transfer
   visitor IP addresses to a processor outside our control, which is a poor
   look for a data protection practice. */

@font-face { font-family: Archivo; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #10243A;
  --slate: #1C3A56;
  --brass: #B0813C;
  --brass-dark: #8A6429;
  --paper: #F7F5F1;
  --line: #E6E1D8;
  --graphite: #4F5964;
  --white: #FFFFFF;
  --maxw: 1140px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--brass-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 14px;
}
.eyebrow-light { color: #C9A063; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 78px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--brass-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--slate); color: var(--paper); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-brass { background: var(--brass); color: #1B1204; }
.btn-brass:hover { background: #C6934A; color: #1B1204; }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--ink); color: var(--paper); padding: 96px 0 88px; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px); color: var(--white);
  max-width: 17ch; margin-bottom: 26px;
}
.hero p.lede {
  font-size: clamp(17px, 2vw, 20px); color: #C7D1DC;
  max-width: 62ch; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  padding-top: 30px; border-top: 1px solid rgba(247, 245, 241, 0.18);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta dt, .hero-meta .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8FA0B2;
}
.hero-meta .v { font-size: 15px; font-weight: 600; color: var(--paper); }

/* ---------------------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 22ch; }
.section > .wrap > p.intro {
  font-size: 18px; color: var(--graphite); max-width: 66ch; margin-top: 18px;
}

/* ---------------------------------------------------------------- pillars */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 46px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 34px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.section-alt .pillar { background: var(--paper); }
.pillar-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--brass);
}
.pillar h3 { font-size: 23px; }
.pillar > p { color: var(--graphite); font-size: 16px; }
.pillar ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pillar li {
  position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5;
}
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 11px; height: 2px; border-radius: 1px; background: var(--brass);
}

/* ---------------------------------------------------------------- experience */
.exp-list { display: flex; flex-direction: column; gap: 0; margin-top: 44px; }
.exp {
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px; padding: 28px 0; border-top: 1px solid var(--line);
}
.exp:last-child { border-bottom: 1px solid var(--line); }
.exp .who { font-size: 15px; font-weight: 700; color: var(--ink); }
.exp .where { font-size: 13px; font-weight: 500; color: var(--graphite); margin-top: 4px; }
.exp .what { font-size: 16px; color: var(--graphite); }
.exp .what strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- approach */
.approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 46px; }
.approach-item { display: flex; flex-direction: column; gap: 12px; }
.approach-item h3 { font-size: 18px; }
.approach-item p { font-size: 15.5px; color: var(--graphite); }
.approach-rule { width: 38px; height: 3px; border-radius: 2px; background: var(--brass); }

/* ---------------------------------------------------------------- principal */
.principal { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.principal .bio p + p { margin-top: 16px; }
.principal .bio p { color: var(--graphite); font-size: 16.5px; }
.creds {
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 32px 30px;
  display: flex; flex-direction: column; gap: 22px;
}
.creds h3 { font-size: 17px; color: var(--white); }
.cred-group { display: flex; flex-direction: column; gap: 7px; }
.cred-group .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8FA0B2;
}
.cred-group .v { font-size: 14.5px; color: #DCE3EA; line-height: 1.5; }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--ink); color: var(--paper); padding: 84px 0; }
.contact h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; margin-top: 40px; align-items: start; }
.contact-lede { font-size: 17px; color: #C7D1DC; max-width: 52ch; }
.contact-direct { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.cd-item { display: flex; flex-direction: column; gap: 5px; }
.cd-item .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8FA0B2;
}
.cd-item a, .cd-item .v { font-size: 17px; font-weight: 600; color: var(--paper); text-decoration: none; }
.cd-item a:hover { color: var(--brass); text-decoration: underline; }

.form { background: rgba(247, 245, 241, 0.06); border: 1px solid rgba(247, 245, 241, 0.16); border-radius: 14px; padding: 28px 26px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #C7D1DC; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; color: var(--white);
  background: rgba(247, 245, 241, 0.08);
  border: 1.5px solid rgba(247, 245, 241, 0.24);
  border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8FA0B2; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brass); background: rgba(247, 245, 241, 0.12);
}
.field select option { color: var(--ink); background: var(--white); }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: #8FA0B2; margin-top: 14px; line-height: 1.5; }
.form-note a { color: #C9A063; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #0A1929; color: #8FA0B2; padding: 46px 0 38px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
.footer-top img { height: 38px; width: auto; }
.footer-legal { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-bottom {
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid rgba(247, 245, 241, 0.12);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
}
.site-footer a { color: #C7D1DC; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: 0 0 8px 0; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .principal { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .nav-link { display: none; }
  .nav { gap: 0; }
  .nav .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand img { height: 34px; }
  .hero { padding: 62px 0 56px; }
  .section { padding: 58px 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .approach { grid-template-columns: minmax(0, 1fr); }
  .exp { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer-legal { text-align: left; }
  .footer-bottom { flex-direction: column; }
}

/* ════════════════════════════════════════════ multi-page components */

.nav a[aria-current="page"] { color: var(--brass-dark); }

/* page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--paper); padding: 74px 0 66px; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 48px); color: var(--white);
  max-width: 19ch; margin-bottom: 22px;
}
.page-hero .lede {
  font-size: clamp(16px, 1.9vw, 19px); color: #C7D1DC; max-width: 60ch;
}

/* service cards (home) */
.svc-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; margin-top: 46px;
}
.svc-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.svc-card:hover {
  border-color: var(--a); transform: translateY(-3px); color: inherit;
  box-shadow: 0 14px 30px -18px rgba(16, 36, 58, .45);
}

/* per-practice accent: one supporting colour each, so the four are
   distinguishable without the page turning into a paint chart */
.svc-cyber { --a: #15706A; }
.svc-iso { --a: #B0813C; }
.svc-supply { --a: #2E6DA4; }
.svc-product { --a: #A8503C; }

.svc-ill {
  display: flex; justify-content: center;
  background: linear-gradient(150deg, #F3EFE6, #E6EDF2);
  padding: 14px 12px 2px; perspective: 900px;
}
.section-alt .svc-ill { background: linear-gradient(150deg, #F5F1EA, #E9EFF4); }
.svc-ill svg {
  width: 100%; height: auto; max-width: 320px;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.svc-card:hover .svc-ill svg,
.svc-card:focus-visible .svc-ill svg {
  transform: rotateX(8deg) rotateY(-10deg) translateY(-6px) scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-ill svg { transition: none; }
  .svc-card:hover { transform: none; }
  .svc-card:hover .svc-ill svg, .svc-card:focus-visible .svc-ill svg { transform: none; }
}

.svc-body {
  display: flex; flex-direction: column; gap: 14px; flex-grow: 1;
  padding: 26px 30px 28px; border-top: 3px solid var(--a);
}
.svc-num { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--a); }
.svc-card h3 { font-size: 21px; }
.svc-card > p { color: var(--graphite); font-size: 15.5px; }
.svc-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 7px 8px;
}
.svc-card li {
  font-size: 13px; font-weight: 500; color: var(--graphite);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px;
}
.svc-more {
  margin-top: auto; padding-top: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--a);
}

/* threat cards */
.threat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px; margin-top: 46px;
}
.threat { display: flex; flex-direction: column; gap: 12px; }
.threat-ill {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; display: flex; justify-content: center;
}
.section-alt .threat-ill { background: var(--paper); }
.threat-ill { perspective: 900px; }
.threat-ill svg {
  width: 100%; height: auto; max-width: 300px;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.threat:hover .threat-ill svg { transform: rotateX(7deg) rotateY(-9deg) scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .threat-ill svg, .threat:hover .threat-ill svg { transition: none; transform: none; }
}
.threat h3 { font-size: 19px; margin-top: 4px; }
.threat-line { font-size: 15px; font-weight: 600; color: var(--brass-dark); }
.threat p:not(.threat-line) { font-size: 15px; color: var(--graphite); }

/* generic offer grid */
.offer-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 44px;
}
.offer {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px; display: flex; flex-direction: column; gap: 10px;
}
.section-alt .offer { background: var(--paper); }
.offer h3 { font-size: 18px; }
.offer p { font-size: 15.5px; color: var(--graphite); }

/* standards grid */
.std-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 44px;
}
.std {
  border-top: 3px solid var(--brass); padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.std h3 { font-size: 20px; }
.std-sub {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass-dark);
}
.std p:last-child { font-size: 15.5px; color: var(--graphite); }

/* numbered steps */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px; margin-top: 44px;
}
.steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-n {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--brass);
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.step h3 { font-size: 17px; }
.step p { font-size: 15px; color: var(--graphite); }

/* callout */
.callout {
  margin-top: 44px; background: var(--white);
  border: 1px solid var(--line); border-left: 5px solid var(--brass);
  border-radius: 0 14px 14px 0; padding: 28px 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.section-alt .callout { background: var(--paper); }
.callout h3 { font-size: 18px; }
/* case study: ink panel, so it reads as evidence rather than another aside */
.callout-case {
  background: var(--ink); border-color: var(--ink); border-left-color: var(--brass);
}
.section-alt .callout-case { background: var(--ink); }
.callout-case h3 { color: var(--white); }
.callout-case p { color: #C7D1DC; }
.callout-case strong { color: var(--brass); }
.callout p { font-size: 16px; color: var(--graphite); }

/* policy block */
.policy { margin-top: 36px; }
.policy ol {
  margin: 0; padding: 0; list-style: none;
  counter-reset: pol; display: flex; flex-direction: column; gap: 22px;
}
.policy li {
  counter-increment: pol; position: relative; padding-left: 54px;
  font-size: 16.5px; color: var(--graphite); line-height: 1.6;
}
.policy li::before {
  content: counter(pol, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--brass);
}
.policy li strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 4px; }

.policy-flag {
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--brass); border-radius: 0 14px 14px 0;
  padding: 32px 34px; margin-top: 0;
}
.policy-flag h2 { font-size: clamp(22px, 3vw, 30px); max-width: 26ch; }
.policy-flag p { font-size: 16.5px; color: var(--graphite); }

/* team */
.team-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 44px; align-items: start;
}
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 9px;
}
.person-photo, .person-mono {
  width: 88px; height: 88px; border-radius: 50%;
  display: block; flex-shrink: 0; margin-bottom: 6px;
}
.person-photo { object-fit: cover; background: var(--line); }
.person-mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  font-size: 28px; font-weight: 700; letter-spacing: 0.02em;
}
.person h3 { font-size: 20px; }
.person-role { font-size: 15px; font-weight: 600; color: var(--brass-dark); }
.person-meta { font-size: 13.5px; color: var(--graphite); line-height: 1.5; }
.person p:last-child { font-size: 15.5px; color: var(--graphite); }
.person-tbc { border-style: dashed; border-color: #C6B08A; background: #FBF7F0; }
.person-tbc p:last-child { font-style: italic; }

/* CTA band */
.cta-band { background: var(--slate); color: var(--paper); padding: 54px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(21px, 2.8vw, 28px); color: var(--white); max-width: 22ch; }
.cta-band p { font-size: 16px; color: #C7D1DC; max-width: 56ch; margin-top: 10px; }
.cta-band .btn { flex-shrink: 0; }

/* footer nav */
.footer-nav {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(247, 245, 241, 0.12);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.footer-nav a { font-size: 14px; font-weight: 500; }
.site-footer .footer-bottom { margin-top: 22px; }

@media (max-width: 1080px) {
  .threat-grid, .offer-grid, .std-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .page-hero { padding: 52px 0 46px; }
  .threat-grid, .offer-grid, .std-grid, .team-grid,
  .steps, .steps-6 { grid-template-columns: minmax(0, 1fr); }
  .policy li { padding-left: 42px; }
  .policy-flag { padding: 24px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
}

/* ════════════════════════════════════════════════════ legal pages */

.wrap-narrow { max-width: 820px; }

.legal { margin-top: 8px; }
.legal h2 {
  font-size: 22px; max-width: none; margin-top: 44px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.legal-flag h2 { font-size: clamp(22px, 3vw, 28px); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin-top: 28px; margin-bottom: 10px; }
.legal p { font-size: 16.5px; color: var(--graphite); margin-bottom: 16px; }
.legal p strong, .legal li strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0 0 18px; padding: 0; list-style: none; }
.legal li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  font-size: 16.5px; color: var(--graphite); line-height: 1.6;
}
.legal li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 11px; height: 2px; border-radius: 1px; background: var(--brass);
}
.legal-flag {
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--brass); border-radius: 0 14px 14px 0;
  padding: 28px 30px; margin-bottom: 8px;
}
.legal-flag h2 { border: none; padding-bottom: 0; }
.legal-note {
  background: #FBF7F0; border: 1px dashed #C6B08A; border-radius: 10px;
  padding: 16px 18px; font-size: 15px; font-style: italic;
}
.legal-updated {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--graphite);
}

.footer-legal-nav {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.footer-legal-nav a { font-size: 13px; font-weight: 500; color: #8FA0B2; }
.footer-legal-nav a:hover { color: #C7D1DC; }

/* ══════════════════════════════════════════════ hero service rotator */

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.hero-grid .hero-actions { margin-bottom: 0; }
.hero .wrap + .wrap { margin-top: 56px; }

.rotator { position: relative; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease;
  background: var(--paper);
  border-radius: 18px;
  padding: 26px 30px 30px;
  display: flex; flex-direction: column; gap: 6px;
}
.slide.is-active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

.slide-ill {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px;
  display: flex; justify-content: center; margin-bottom: 16px;
}
.slide-ill svg { width: 100%; height: auto; max-width: 300px; }
.slide-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--brass);
}
.slide-name { font-size: 20px; font-weight: 700; line-height: 1.25; }
.slide-name a { color: var(--ink); text-decoration: none; }
.slide-name a:hover { color: var(--brass-dark); text-decoration: underline; }
.slide-line { font-size: 15px; color: var(--graphite); }

.dots { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.dot {
  width: 34px; height: 4px; padding: 0; border: none; border-radius: 2px;
  background: rgba(247, 245, 241, 0.28); cursor: pointer;
  transition: background-color .25s;
  position: relative;
}
/* keep the clickable area a comfortable size without a fat visual bar */
.dot::after {
  content: ""; position: absolute; left: 0; right: 0;
  top: -14px; bottom: -14px;
}
.dot[aria-current="true"] { background: var(--brass); }
.dot:hover { background: rgba(247, 245, 241, 0.55); }
.dot[aria-current="true"]:hover { background: var(--brass); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rotator { max-width: 520px; }
}
@media (max-width: 760px) {
  .hero .wrap + .wrap { margin-top: 40px; }
  .slide { padding: 20px 20px 24px; }
  .slide-ill { padding: 10px; }
}

/* ════════════════════════════════════════════════ sectors and facts */

.sector-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 46px;
}
.sector {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 24px 26px;
  display: flex; flex-direction: column; gap: 6px;
}
.section-alt .sector { background: var(--paper); }
.sector-ill { display: flex; justify-content: center; margin-bottom: 6px; }
.sector-ill svg { width: 100%; height: auto; max-width: 190px; }
.sector h3 { font-size: 18px; }
.sector-where {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass-dark);
}
.sector-line { font-size: 15px; color: var(--graphite); margin-top: 4px; }

.facts {
  margin-top: 40px; background: var(--ink); border-radius: 16px;
  padding: 38px 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 36px;
}
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact-n {
  font-size: clamp(34px, 4.4vw, 46px); font-weight: 700;
  line-height: 1; color: var(--brass); letter-spacing: -0.02em;
}
.fact-t { font-size: 14.5px; color: #C7D1DC; line-height: 1.5; }

@media (max-width: 1000px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 660px) {
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; gap: 24px; }
}

/* ═══════════════════════════════════════════ principal: flip card */

.flip-card { perspective: 1400px; }
.flip-inner {
  display: grid;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.4, .1, .2, 1);
}
.flip-face {
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 16px; padding: 30px 30px 26px;
  display: flex; flex-direction: column;
  transition: visibility 0s linear .31s;
}
.flip-front { background: var(--ink); color: var(--paper); }
.flip-back {
  background: var(--slate); color: var(--paper);
  transform: rotateY(180deg); visibility: hidden;
  gap: 16px;
}
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-card.is-flipped .flip-front { visibility: hidden; }
.flip-card.is-flipped .flip-back { visibility: visible; }

/* Hover is driven from JS, not CSS, so it cannot fight the pinned state. */
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
  .flip-face { transition: none; }
}

.card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px;
}
.card-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.card-mark { width: 40px; height: 40px; opacity: .92; }
.card-name { font-size: 24px; font-weight: 700; color: var(--white); line-height: 1.2; }
.card-role {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass); margin-top: 6px;
}
.card-letters { font-size: 14px; color: #C7D1DC; margin-top: 10px; }
.card-rule {
  height: 1px; background: rgba(247, 245, 241, 0.2); margin: 18px 0 16px;
}
.card-contact { font-size: 13.5px; color: #B8C2CE; line-height: 1.7; word-break: break-word; }

.card-toggle {
  margin-top: auto; align-self: flex-start;
  background: none; border: 1.5px solid rgba(247, 245, 241, 0.35);
  color: var(--paper); border-radius: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  min-height: 42px; padding: 0 16px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.card-toggle:hover { border-color: var(--brass); background: rgba(176, 129, 60, 0.16); }
.flip-front .card-toggle { margin-top: 22px; }

.card-back-title { font-size: 16px; font-weight: 700; color: var(--white); }
.card-group { display: flex; flex-direction: column; gap: 5px; }
.card-group .k {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8FA0B2;
}
.card-group .v { font-size: 13.5px; color: #DCE3EA; line-height: 1.5; }

/* ═════════════════════════════════════════ team: centred flip cards */

/* the cards are grid items and stretch to the row; carry that height down
   through the inner wrapper so all three faces line up */
.person-card, .person-card .flip-inner { height: 100%; }

.person-card .flip-face {
  padding: 32px 26px 26px;
  align-items: center; text-align: center;
  min-height: 330px;
}
.person-card .flip-front { background: var(--white); color: var(--ink); }
.section-alt .person-card .flip-front { background: var(--paper); }
.person-card .flip-front {
  border: 1px solid var(--line); border-radius: 16px;
  /* the grid row is as tall as the tallest reverse, so centre the front
     face rather than leaving dead space under the button */
  justify-content: center;
}
.person-card .flip-back {
  background: var(--ink); color: var(--paper);
  align-items: flex-start; text-align: left;
  gap: 12px; padding: 26px 24px 22px;
}

.person-card .person-photo,
.person-card .person-mono {
  width: 104px; height: 104px; margin: 0 0 18px;
}
.person-card h3 { font-size: 20px; }
.person-card .person-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-dark); margin-top: 8px;
}
.person-card .person-place {
  font-size: 14px; color: var(--graphite); margin-top: 6px;
}
.person-card .flip-front .card-toggle {
  align-self: center; margin-top: 22px;
  border-color: rgba(16, 36, 58, 0.28); color: var(--ink);
}
.person-card .flip-front .card-toggle:hover {
  border-color: var(--brass); background: rgba(176, 129, 60, 0.1);
}
.person-card .flip-back .card-back-title {
  font-size: 17px; font-weight: 700; color: var(--white);
}
.person-card .person-meta {
  font-size: 12px; color: #8FA0B2; line-height: 1.5;
}
.person-card .person-bio {
  font-size: 13.5px; color: #DCE3EA; line-height: 1.55;
}
.person-card .person-contact {
  font-size: 12.5px; color: var(--brass); line-height: 1.5; word-break: break-word;
}
.person-card .flip-back .card-toggle { align-self: flex-start; margin-top: auto; }

/* ═══════════════════════════════════════════ entrance motion */

/* Only hides content when reveal.js is actually present (js-reveal is set
   inline in <head>), so a blocked or failed script never blanks the page. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .68s cubic-bezier(.22, .61, .25, 1),
              transform .68s cubic-bezier(.22, .61, .25, 1);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1; transform: none; transition: none; will-change: auto;
  }
}
