/* ===================================================================
   RPL WEBSITE — V2: DOCUMENT / REPORT STYLE
   Same class names as v1. Different visual treatment throughout.
   Cream dominant · Times New Roman headings · Reduced navy · Warmer
   =================================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --navy: #001B4D;
  --dark-blue: #0F2973;
  --mid-blue: #1B40B2;
  --btn-hover: #0041B9;
  --bright-blue: #3F70F6;
  --pale-blue: #9BB7F9;
  --lightest-blue: #EEF2FB;
  --cream: #F4F3EF;
  --cream-mid: #ECEAE3;
  --cream-dark: #E2DFD6;
  --amber: #ECA843;
  --near-black: #0C0C0C;
  --dark-grey: #262626;
  --mid-dark-grey: #3F3F3F;
  --mid-grey: #7F7F7F;
  --light-grey: #A5A5A5;
  --near-white: #D8D8D8;
  --rule: rgba(0,27,77,0.12);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Times New Roman', Times, serif;

  --nav-height: 80px;
  --max-width: 1200px;
  --section-pad: 88px;

  /* Crosshatch graph-paper pattern */
  --crosshatch-light: linear-gradient(rgba(0,27,77,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,27,77,0.04) 1px, transparent 1px);
  --crosshatch-dark:  linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  --crosshatch-size: 48px 48px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--near-black);
  background: var(--cream);
  background-image: var(--crosshatch-light);
  background-size: var(--crosshatch-size);
}

/* Apply crosshatch to all sections by default */
section {
  background-image: var(--crosshatch-light);
  background-size: var(--crosshatch-size);
}

img { max-width: 100%; display: block; }
a { color: var(--mid-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  color: var(--navy);
}

/* Serif italic for all major section titles */
h1, h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
}

h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: var(--section-pad) 0; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(30px, 3.8vw, 46px);
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--navy);
}

.section-intro {
  font-size: 17px;
  color: var(--mid-dark-grey);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Thin horizontal rule utility */
.rule {
  display: block;
  height: 1px;
  background: var(--rule);
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* v2 primary: navy filled */
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
  text-decoration: none;
}

/* On cream pre-footer: standard navy button */
.pre-footer .btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pre-footer .btn-primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
}

.btn-outline {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
  text-decoration: none;
}

.btn-outline-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
  text-decoration: none;
}

.btn-outline-amber {
  background: transparent;
  color: var(--navy);
  border-color: var(--amber);
}
.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* v2: logo inverted white on navy nav */
.nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-links a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== ABOVE-FOLD WRAPPER (hero + metrics = full viewport) ===== */
.above-fold {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}

/* ===== HERO ===== */
.hero {
  background-color: var(--cream);
  /* Subtle grid texture from the report aesthetic */
  background-image:
    linear-gradient(rgba(0,27,77,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,27,77,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

/* Inset border frame — removed */
.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-logo {
  margin-bottom: 48px;
}

/* v2: hero logo in native navy (no invert needed on cream bg) */
.hero-logo img {
  height: 72px;
  width: auto;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '●';
  color: var(--amber);
  font-size: 8px;
}

.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--rule);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 36px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--mid-dark-grey);
}

.hero-headline strong {
  font-style: italic;
  font-weight: 700;
  color: var(--navy);
}

.hero-body {
  font-size: 17px;
  color: var(--mid-dark-grey);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Thin rule above CTAs — document-like separator */
.hero-body::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin-top: 24px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== METRICS STRIP ===== */
.metrics-strip {
  background: var(--navy);
  background-image: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  text-align: center;
  padding: 16px 32px;
  min-height: 150px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.metric-item:last-child { border-right: none; }

.metric-numeral {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.metric-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

/* ===== CREDENTIALS PREVIEW ===== */
.credentials-preview {
  background-color: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.sector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.sector-tag {
  display: inline-block;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(0,27,77,0.2);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.18s;
  cursor: default;
}

.sector-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ===== WHAT SETS US APART ===== */
.differentiators {
  background-color: var(--cream);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 48px;
}

.diff-card {
  background-color: var(--cream);
  padding: 36px;
  min-height: 220px;
}

.diff-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.diff-card p {
  font-size: 15px;
  color: var(--mid-dark-grey);
  line-height: 1.65;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
  background-color: var(--cream-mid);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Override v1 dark-section colour rules */
.services-preview .section-label { color: var(--amber); }
.services-preview .section-title { color: var(--navy); }
.services-preview .section-intro { color: var(--mid-dark-grey); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background-color: var(--cream);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: 2px;
  padding: 32px 28px;
  transition: border-top-color 0.2s;
}

.service-card:hover {
  border-top-color: var(--amber);
  text-decoration: none;
  color: inherit;
}

.service-card-number {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--light-grey);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--mid-dark-grey);
  line-height: 1.65;
}

/* ===== LOGO GALLERY ===== */
.logo-gallery {
  background-color: var(--cream-mid);
  background-image: none;
  padding: 64px 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.logo-gallery .section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--navy);
}

.logo-track-wrapper {
  overflow: hidden;
  position: relative;
}

.logo-track-wrapper::before,
.logo-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--cream-mid), transparent);
}
.logo-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--cream-mid), transparent);
}

.logo-track {
  display: flex;
  gap: 64px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

.logo-track:hover { animation-play-state: paused; }

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

/* v2: all logos appear as dark silhouettes on cream bg */
.logo-item img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) opacity(0.35);
  transition: filter 0.3s;
}

.logo-item img:hover { filter: brightness(0) opacity(0.75); }

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background-color: var(--cream);
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  margin-bottom: 8px;
}

.newsletter-inner p {
  color: var(--mid-dark-grey);
  margin-bottom: 28px;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(0,27,77,0.25);
  border-radius: 2px;
  overflow: hidden;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  font-size: 15px;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--near-black);
}

.newsletter-form button {
  padding: 13px 22px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--dark-blue); }

.newsletter-success {
  display: none;
  color: var(--navy);
  font-weight: 600;
  margin-top: 12px;
  font-size: 15px;
}

/* ===== PRE-FOOTER CTA ===== */
/* v2: cream-mid — clear visual break before the navy footer */
.pre-footer {
  background-color: var(--cream-mid);
  background-image: var(--crosshatch-light);
  background-size: var(--crosshatch-size);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pre-footer h2 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  margin-bottom: 10px;
}

.pre-footer p {
  color: var(--mid-dark-grey);
  font-size: 17px;
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col h4 {
  color: rgba(255,255,255,0.45);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #fff; text-decoration: none; }

.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-linkedin:hover { color: #fff; text-decoration: none; }

.footer-linkedin svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Footer newsletter column */
.footer-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-newsletter .footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-newsletter-form input[type="email"] {
  padding: 9px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  color: #fff;
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.38);
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.45);
}

.footer-newsletter-form button {
  padding: 9px 16px;
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.footer-newsletter-form button:hover { opacity: 0.88; }

.footer-newsletter-success {
  display: none;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  padding: 10px 0;
}

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); text-decoration: none; }

/* ===== PAGE HERO (inner pages) ===== */
/* v2: cream background (not navy) */
.page-hero {
  background: var(--cream);
  background-image:
    linear-gradient(rgba(0,27,77,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,27,77,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.page-hero .section-label { color: var(--amber); }

.page-hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  font-size: clamp(34px, 4.5vw, 56px);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--mid-dark-grey);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.7;
}

/* Dark (navy) variant — used on Services page hero */
.page-hero--dark {
  background-color: var(--navy);
  background-image: var(--crosshatch-dark);
  background-size: var(--crosshatch-size);
  border-bottom: none;
}
.page-hero--dark .section-label { color: var(--amber); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark p { color: rgba(255,255,255,0.68); }

/* ===== CREDENTIALS PAGE ===== */
.credentials-section {
  background-color: var(--cream);
}

.table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--light-grey);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

#deal-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid rgba(0,27,77,0.18);
  border-radius: 2px;
  font-size: 14px;
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--near-black);
  outline: none;
  transition: border-color 0.2s;
}

#deal-search:focus { border-color: var(--navy); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 6px 13px;
  border: 1px solid rgba(0,27,77,0.2);
  border-radius: 2px;
  background-color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--cream-mid);
}

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

.filter-btn.view-all.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.deals-table-wrap {
  overflow-x: auto;
  border-radius: 3px;
  background-color: var(--cream);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,27,77,0.05);
}

.deals-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.deals-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.deals-table tbody tr {
  border-bottom: 1px solid #F0EFEb;
  transition: background 0.12s;
}

.deals-table tbody tr:nth-child(odd)  { background-color: var(--cream); }
.deals-table tbody tr:nth-child(even) { background-color: var(--cream-mid); }

.deals-table tbody tr:last-child { border-bottom: none; }
.deals-table tbody tr:hover { background-color: var(--cream-dark); }

.deals-table td {
  padding: 16px 20px;
  vertical-align: middle;
  color: var(--near-black);
  line-height: 1.4;
}

.deal-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.deal-sector-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--cream);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid rgba(0,27,77,0.15);
  white-space: nowrap;
}

.deal-type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.deal-type-badge.buyside,
.deal-type-badge.sellside,
.deal-type-badge.strategy {
  background: rgba(0,27,77,0.07);
  color: var(--navy);
}

.no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--mid-grey);
  font-size: 15px;
}

.table-loading {
  text-align: center;
  padding: 48px 24px;
  color: var(--mid-grey);
}

.table-error {
  text-align: center;
  padding: 24px;
  color: #7a3a00;
  font-size: 14px;
  background: rgba(236,168,67,0.12);
  border: 1px solid rgba(236,168,67,0.3);
  border-radius: 3px;
  margin-bottom: 24px;
  display: none;
}

/* ===== SERVICES PAGE ===== */
.service-section {
  padding: var(--section-pad) 0;
  /* crosshatch from global section rule shows here */
}

.service-section:nth-child(odd) { background-color: var(--cream); }
.service-section:nth-child(even) { background-color: var(--cream-mid); }

/* Content box sits on top of crosshatch — solid background, no grid lines inside */
.service-section:nth-child(odd)  .service-section-inner { background-color: var(--cream); }
.service-section:nth-child(even) .service-section-inner { background-color: var(--cream-mid); }

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
  padding: 52px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 2px 16px rgba(0,27,77,0.07);
}

.service-section-inner.reverse {
  grid-template-columns: 380px 1fr;
}

.service-section-inner.reverse .service-main { order: 2; }
.service-section-inner.reverse .service-sidebar { order: 1; }

.service-section h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 8px;
}

.service-section h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
}

.service-section ul.service-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-section ul.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--mid-dark-grey);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-section ul.service-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}

.service-deliver-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--rule);
}

.service-deliver-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.service-deliver-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.service-deliver-item p {
  font-size: 14px;
  color: var(--mid-dark-grey);
  margin: 0;
  line-height: 1.6;
}

.service-quote {
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 0 2px 2px 0;
  margin: 24px 0;
  font-size: 15px;
  font-style: normal;
  color: var(--mid-dark-grey);
  line-height: 1.65;
}

.service-quote p { margin: 0; }

.service-deliverables-box {
  background: var(--cream-mid);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 24px;
}

.service-deliverables-box h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 14px;
}

.service-deliverables-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-deliverables-box ul li {
  font-size: 13.5px;
  color: var(--mid-dark-grey);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.service-deliverables-box ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-deliverables-box ul li::before {
  content: '→';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* v2: testimonial card — cream with amber left border */
.testimonial-card {
  background-color: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: 0 3px 3px 0;
  padding: 28px;
  margin-top: 24px;
}

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 16px;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-attribution img {
  height: 24px;
  width: auto;
  filter: brightness(0) opacity(0.55);
}

.testimonial-attribution cite {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--mid-grey);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== OUR APPROACH ===== */
/* v2: light cream background (not dark navy) */
.approach-section {
  background: var(--dark-blue);
  padding: var(--section-pad) 0;
}

.approach-section .section-label { color: var(--pale-blue); }
.approach-section .section-title { color: #fff; }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}

/* Connecting rule between steps */
.approach-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.approach-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
}

.approach-step h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.approach-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* ===== WHO WE ARE PAGE ===== */
.team-section {
  background: var(--cream);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.team-profile {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}

.team-profile:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.team-profile.reverse {
  grid-template-columns: 1fr 260px;
}

.team-profile.reverse .profile-image { order: 2; }
.team-profile.reverse .profile-content { order: 1; }

.profile-image {
  aspect-ratio: 3 / 4;
  /* width is fixed by the grid column (260px); height derived from ratio */
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--rule);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* v2: profile name in serif italic */
.profile-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.profile-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-title::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.profile-bio {
  font-size: 16px;
  color: var(--mid-dark-grey);
  line-height: 1.75;
  margin-bottom: 24px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid rgba(0,27,77,0.2);
  border-radius: 2px;
  transition: all 0.18s;
  background-color: var(--cream);
}

.profile-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  text-decoration: none;
}

.profile-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.profile-link.linkedin-link svg { fill: currentColor; }
.profile-link.email-link svg, .profile-link.phone-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.contact-form-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,27,77,0.18);
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--near-black);
  background-color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A5A5A5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.honeypot-field { display: none; }

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
  margin-top: 8px;
  letter-spacing: 0.03em;
}

.form-submit-btn:hover { background: var(--btn-hover); }

.form-success {
  display: none;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  padding: 8px 0;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-box {
  background-color: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 28px;
}

.contact-info-box h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 16px;
}

.contact-info-box ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--mid-dark-grey);
}

.contact-info-box li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.contact-info-box li a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--rule);
}

.reassurance-box {
  background: var(--cream-mid);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--amber);
  border-radius: 0 3px 3px 0;
  padding: 24px 28px;
}

.reassurance-box h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 14px;
}

.reassurance-box ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reassurance-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--mid-dark-grey);
}

.reassurance-box li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.pagination-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,27,77,0.18);
  border-radius: 2px;
  background-color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s;
}

.page-btn:hover:not(:disabled) {
  background: var(--cream-mid);
}

.page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-info {
  font-size: 13px;
  color: var(--mid-grey);
  font-weight: 500;
}

/* ===== SECTOR TAG LINKS ===== */
.sector-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(0,27,77,0.2);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
}

.sector-tag-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  text-decoration: none;
}

.sector-tag-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}

/* ===== SECTOR LIST (organic chip format) ===== */
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
}

.sector-list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid rgba(0,27,77,0.18);
  border-radius: 2px;
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  background-color: var(--cream);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.sector-list-item:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
  text-decoration: none;
}

.sector-list-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s;
}

.sector-list-item:hover .sector-list-icon {
  stroke: rgba(255,255,255,0.75);
}

/* ===== SERVICE ICON LINKS ===== */
.service-card-icon-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card-icon-link:hover { text-decoration: none; }

.service-card .service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--cream);
  transition: background 0.2s;
}

.service-card:hover .service-icon {
  background: var(--amber);
}

.service-card .service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.service-card:hover .service-icon svg {
  stroke: var(--cream);
}

/* ===== TESTIMONIAL LAYOUT (V2 Services) ===== */
.testimonial-v2 {
  background-color: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: 0 3px 3px 0;
  padding: 26px 26px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-v2 blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.65;
  margin: 0;
}

.testimonial-v2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.testimonial-v2-footer cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--mid-grey);
  letter-spacing: 0.03em;
}

.testimonial-v2-footer img {
  height: 28px;
  width: auto;
  max-width: 180px;
  filter: brightness(0) opacity(0.45);
  flex-shrink: 0;
}

/* ===== LEGAL PAGES ===== */
/* Alias rules for auto-generated legal page structure */
.legal-section {
  background: var(--cream);
  background-image: var(--crosshatch-light);
  background-size: var(--crosshatch-size);
  padding: var(--section-pad) 0;
}
.legal-section .legal-content {
  max-width: 760px;
}
.legal-section .legal-content h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.legal-section .legal-content h2:first-of-type {
  margin-top: 0; padding-top: 0; border-top: none;
}
.legal-section .legal-content h3 {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-top: 24px; margin-bottom: 8px;
}
.legal-section .legal-content p {
  font-size: 15px; color: var(--mid-dark-grey); line-height: 1.75;
}
.legal-section .legal-content ul {
  list-style: disc; margin: 0 0 1em 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.legal-section .legal-content ul li {
  font-size: 15px; color: var(--mid-dark-grey); line-height: 1.65;
}
.legal-section .legal-content a { color: var(--mid-blue); text-decoration: underline; }
.legal-section .legal-content a:hover { color: var(--navy); }
.legal-updated {
  display: inline-block;
  font-size: 13px; color: var(--mid-grey);
  margin-bottom: 32px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--cream-mid);
}
/* Footer legal links alias */
.footer-legal-links {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.footer-legal-links a {
  font-size: 12px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.65); text-decoration: none; }
/* Footer newsletter col alias */
.footer-newsletter-col p {
  font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 14px;
}

.legal-content {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.legal-body {
  max-width: 760px;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-body p {
  font-size: 15px;
  color: var(--mid-dark-grey);
  line-height: 1.75;
}

.legal-body ul {
  list-style: disc;
  margin: 0 0 1em 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-body ul li {
  font-size: 15px;
  color: var(--mid-dark-grey);
  line-height: 1.65;
}

.legal-body a {
  color: var(--mid-blue);
  text-decoration: underline;
}

.legal-body a:hover { color: var(--navy); }

.legal-meta {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

/* ===== LLM PAGE ===== */
.llm-content {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.llm-body {
  max-width: 760px;
}

.llm-body h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.llm-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.llm-body p { font-size: 15px; color: var(--mid-dark-grey); line-height: 1.75; }

.llm-body ul {
  list-style: disc;
  margin: 0 0 1em 20px;
}

.llm-body ul li {
  font-size: 15px;
  color: var(--mid-dark-grey);
  line-height: 1.65;
  margin-bottom: 4px;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
/* Credentials table — compact layout at intermediate widths (half-screen on laptop) */
@media (max-width: 960px) {
  .deals-table {
    font-size: 13px;
  }
  .deals-table thead th,
  .deals-table td {
    padding: 12px 12px;
  }
  /* Hide Sector(s) column — users can still filter by sector above the table */
  .deals-table thead th:nth-child(4),
  .deals-table tbody td:nth-child(4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .service-section-inner,
  .service-section-inner.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 28px;
  }
  .service-section-inner.reverse .service-main { order: 1; }
  .service-section-inner.reverse .service-sidebar { order: 2; }

  .diff-grid { grid-template-columns: 1fr; gap: 0; }

  .service-cards { grid-template-columns: 1fr; gap: 16px; }

  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .approach-steps::before { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-newsletter-col { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-sidebar { order: -1; }

  .team-profile,
  .team-profile.reverse {
    grid-template-columns: 200px 1fr;
    gap: 36px;
  }
  .team-profile.reverse .profile-image { order: 1; }
  .team-profile.reverse .profile-content { order: 2; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .metric-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .metric-item:nth-child(3), .metric-item:nth-child(4) { border-bottom: none; }

  .approach-steps { grid-template-columns: 1fr; }

  .team-profile,
  .team-profile.reverse {
    grid-template-columns: 1fr;
  }
  .team-profile .profile-image { max-width: 240px; }
  .team-profile.reverse .profile-image { order: 1; max-width: 240px; }
  .team-profile.reverse .profile-content { order: 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-newsletter { grid-column: auto; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { border-radius: 2px 2px 0 0; border-right: 1.5px solid rgba(0,27,77,0.25); }
  .newsletter-form button { border-radius: 0 0 2px 2px; }

  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { text-align: center; }

  .sector-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .sector-list { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .metric-item:nth-child(odd) { border-right: none; }
  .metric-item:last-child { border-bottom: none; }
}
