/* =============================================
   PDR-Team South Africa — Styles
   Brand palette + typography aligned to pdr-team.com.au
   ============================================= */

:root {
  /* Brand palette — exact match to pdr-team.com.au */
  --pdr-blue: #005291;
  --pdr-blue-dark: #003d6e;
  --pdr-blue-light: #e8f0f8;
  --pdr-navy: #002746;
  --pdr-footer: #0a1929;
  --pdr-blue-tint: #D6E3ED;

  /* Text */
  --pdr-text: #1a2d40;
  --pdr-text-light: #5a6872;
  --pdr-text-faint: #8899aa;

  /* Surfaces */
  --pdr-grey-light: #f4f6f8;
  --pdr-border: #e5e7eb;
  --pdr-border-dark: #1a2d40;

  /* Aliases for backwards compatibility */
  --bg: #ffffff;
  --bg-alt: var(--pdr-grey-light);
  --border: var(--pdr-border);
  --text: var(--pdr-text);
  --text-muted: var(--pdr-text-light);
  --text-faint: var(--pdr-text-faint);
  --white: #ffffff;
  --pdr-blue-darker: var(--pdr-navy);
  --pdr-blue-deepest: var(--pdr-footer);

  --radius: 8px;
  --radius-lg: 12px;
  --max: 1200px;
  --shadow-sm: 0 1px 3px rgba(0, 39, 70, 0.06);
  --shadow: 0 4px 20px rgba(0, 39, 70, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 39, 70, 0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--pdr-text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }

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

a { color: var(--pdr-blue); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--pdr-blue-dark); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--pdr-text);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--pdr-text-light); line-height: 1.7; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   Contact strip (above header, brand accent)
   ============================================= */
.contact-strip {
  position: relative;
  background: var(--pdr-blue);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.02em;
  overflow: hidden;
  height: 36px;
}
.contact-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  height: 100%;
}
.contact-strip-link {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.contact-strip-link:hover { color: #fff; }
.contact-strip-link svg {
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}
.contact-strip-link:hover svg { opacity: 1; }
.contact-strip-sep { color: rgba(255, 255, 255, 0.3); user-select: none; }

.contact-strip::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -40px;
  right: min(50%, calc(50vw - 100px));
  background: #fff;
  transform: skewX(-20deg);
  z-index: 0;
  animation: stripSlideIn 0.6s ease-out backwards;
}
.contact-strip-bars {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  gap: 3px;
  align-items: center;
  pointer-events: none;
}
.contact-strip-bars span {
  display: block;
  width: 18px;
  height: 4px;
  transform: skewX(-20deg);
  animation: stripBarIn 0.4s ease-out backwards;
}
.contact-strip-bars span:nth-child(1) { background: #545454; animation-delay: 0.5s; }
.contact-strip-bars span:nth-child(2) { background: var(--pdr-blue); animation-delay: 0.6s; }
.contact-strip-bars span:nth-child(3) { background: var(--pdr-blue); opacity: 0.5; animation-delay: 0.7s; }

@keyframes stripSlideIn {
  from { transform: translateX(-110%) skewX(-20deg); }
}
@keyframes stripBarIn {
  from { opacity: 0; transform: translateY(-4px) skewX(-20deg); }
}

@media (max-width: 900px) {
  .contact-strip-sep,
  .contact-strip-bars,
  .contact-strip::before { display: none; }
  .contact-strip-inner { justify-content: center; gap: 1rem; }
  .contact-email-text { display: none; }
}

/* =============================================
   Skew divider — thin (32×4), used on light backgrounds
   before section headings, eyebrows and section-heads
   ============================================= */
.skew-divider {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  align-items: center;
}
.skew-divider.center,
.section-head .skew-divider,
.cta-band .skew-divider,
.page-header .skew-divider {
  justify-content: center;
}
.skew-divider span {
  display: block;
  width: 32px;
  height: 4px;
  transform: skewX(-20deg);
  animation: dividerIn 0.5s ease-out backwards;
  transition: width 0.35s var(--ease-spring), opacity 0.3s var(--ease);
}
.skew-divider span:nth-child(1) { background: #545454; animation-delay: 0.1s; }
.skew-divider span:nth-child(2) { background: var(--pdr-blue); animation-delay: 0.25s; }
.skew-divider span:nth-child(3) { background: var(--pdr-blue); opacity: 0.5; animation-delay: 0.4s; }

/* On dark contexts, thin skew-divider promotes to all-white bars with
   an opacity ramp (mirrors the thicker .skew-bar) so page-headers and
   CTA bands read as one family across pages without HTML changes. */
.hero .skew-divider span,
.page-header .skew-divider span,
.cta-band .skew-divider span,
.section-dark .skew-divider span,
.audience-card.is-dark .skew-divider span,
.audience-card.is-blue .skew-divider span {
  background: #fff !important;
  height: 5px;
  width: 36px;
}
.hero .skew-divider span:nth-child(1),
.page-header .skew-divider span:nth-child(1),
.cta-band .skew-divider span:nth-child(1),
.section-dark .skew-divider span:nth-child(1),
.audience-card.is-dark .skew-divider span:nth-child(1),
.audience-card.is-blue .skew-divider span:nth-child(1) { opacity: 0.3; }
.hero .skew-divider span:nth-child(2),
.page-header .skew-divider span:nth-child(2),
.cta-band .skew-divider span:nth-child(2),
.section-dark .skew-divider span:nth-child(2),
.audience-card.is-dark .skew-divider span:nth-child(2),
.audience-card.is-blue .skew-divider span:nth-child(2) { opacity: 0.5; }
.hero .skew-divider span:nth-child(3),
.page-header .skew-divider span:nth-child(3),
.cta-band .skew-divider span:nth-child(3),
.section-dark .skew-divider span:nth-child(3),
.audience-card.is-dark .skew-divider span:nth-child(3),
.audience-card.is-blue .skew-divider span:nth-child(3) { opacity: 0.8; }

@keyframes dividerIn {
  from { opacity: 0; transform: translateX(-14px) skewX(-20deg); }
}

/* =============================================
   Skew bar — thicker (40×6), all-white w/ opacity ramp
   used on dark backgrounds: hero, CTA banner, dark stats
   ============================================= */
.skew-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1.6rem;
}
.skew-bar.center { justify-content: center; }
.skew-bar span {
  display: block;
  width: 40px;
  height: 6px;
  background: #fff;
  transform: skewX(-20deg);
  animation: skewIn 0.5s ease-out backwards;
}
.skew-bar span:nth-child(1) { opacity: 0.3; animation-delay: 0.1s; }
.skew-bar span:nth-child(2) { opacity: 0.5; animation-delay: 0.25s; }
.skew-bar span:nth-child(3) { opacity: 0.8; animation-delay: 0.4s; }

@keyframes skewIn {
  from { opacity: 0; transform: translateX(-14px) skewX(-20deg); }
}

/* =============================================
   Section connector — horizontal faded line with
   centered eyebrow label (e.g. "Who We Serve")
   ============================================= */
.section-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
}
.section-connector::before,
.section-connector::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c8d8e8);
}
.section-connector::after {
  background: linear-gradient(to left, transparent, #c8d8e8);
}
.section-connector .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(0, 82, 145, 0.6);
  white-space: nowrap;
  padding: 0 1rem;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 #dde3ea;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 44px; width: auto; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pdr-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.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); }

.main-nav { display: flex; }
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.nav-links a {
  color: var(--pdr-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.active { color: var(--pdr-blue); }
.nav-links a[aria-current="page"]::after,
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: -2px;
  height: 2px;
  background: var(--pdr-blue);
  border-radius: 2px;
}
.nav-cta {
  background: var(--pdr-blue);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 6px;
  font-weight: 500 !important;
  margin-left: 0.5rem;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--pdr-blue-dark); color: var(--white) !important; }
.nav-cta.active::after { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
  }
  .main-nav.open { max-height: calc(100vh - 80px); }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; margin-top: 0.5rem; }
  .nav-links a { padding: 0.9rem 0; display: block; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin-left: 0; }
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
}
/* Solid blue on light background */
.btn-primary { background: var(--pdr-blue); color: var(--white); }
.btn-primary:hover { background: var(--pdr-blue-dark); color: var(--white); }

/* Hero / dark-bg: white filled button */
.hero .btn-primary,
.cta-band .btn-primary,
.section-dark .btn-primary {
  background: var(--white);
  color: var(--pdr-blue);
  border-color: var(--white);
}
.hero .btn-primary:hover,
.cta-band .btn-primary:hover,
.section-dark .btn-primary:hover {
  background: var(--pdr-blue-light);
  color: var(--pdr-blue);
  border-color: var(--pdr-blue-light);
}

/* Outline on dark bg (white border) */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

/* Outline on light bg (blue border that fills on hover) — AU's "btn-arrow" */
.btn-arrow {
  background: transparent;
  color: var(--pdr-blue);
  border-color: var(--pdr-blue);
}
.btn-arrow::after { content: " \2192"; margin-left: 0.25rem; transition: transform 0.2s var(--ease); display: inline-block; }
.btn-arrow:hover {
  background: var(--pdr-blue);
  color: var(--white);
  border-color: var(--pdr-blue);
}
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-dark { background: var(--pdr-footer); color: var(--white); }
.btn-dark:hover { background: var(--pdr-blue-dark); color: var(--white); }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--pdr-footer) 0%, var(--pdr-blue) 50%, var(--pdr-navy) 100%);
  color: var(--white);
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
/* Optional photo backdrop: <div class="hero-photo" style="background-image:url(...)"></div> */
.hero-photo,
.page-header-photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Gradient tint layer that sits above the photo */
.hero:has(.hero-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 26, 51, 0.82) 0%, rgba(0, 82, 145, 0.72) 50%, rgba(0, 61, 110, 0.82) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 400px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  transform: skewX(-12deg);
  z-index: 2;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; width: 100%; }
.hero h1 {
  color: var(--white);
  max-width: 900px;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero .tagline,
.page-header .tagline {
  display: inline-block;
  background: rgba(214, 227, 237, 0.12);
  color: #cfe0ef;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.65;
}
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
}

/* =============================================
   Sections
   ============================================= */
section { padding: 5rem 0; }
.section-alt { background: var(--pdr-grey-light); }
.section-dark {
  background: var(--pdr-footer);
  color: var(--white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.75); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .skew-divider { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p { font-size: 1rem; color: var(--pdr-text-light); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

.eyebrow {
  display: inline-block;
  color: var(--pdr-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-dark .eyebrow { color: #7fbfff; }

/* =============================================
   Value strip — 4 linked columns inside one rounded
   light-gradient panel, with faded vertical dividers
   ============================================= */
.value-strip {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf3f9 100%);
  overflow: hidden;
}
.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.value-strip-item {
  position: relative;
  padding: 28px 24px;
  transition: transform 0.3s var(--ease);
}
.value-strip-item::after {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #c8d8e8, transparent);
}
.value-strip-item:last-child::after { display: none; }
.value-strip-item:hover { transform: translateY(-2px); }
.value-strip-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.value-strip-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0, 82, 145, 0.1);
  color: var(--pdr-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.value-strip-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pdr-text);
  margin: 0;
}
.value-strip-item p {
  font-size: 0.82rem;
  color: var(--pdr-text-light);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .value-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .value-strip-item:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .value-strip-grid { grid-template-columns: 1fr; }
  .value-strip-item::after { display: none; }
}

/* =============================================
   Audience cards — large image-backed cards
   3 tonal variants: dark navy / light tint / brand blue
   ============================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-height: 380px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 39, 70, 0.15);
}
.audience-card .eyebrow-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  border: 1px solid;
}
.audience-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.audience-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.audience-card .audience-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.audience-card .audience-link svg {
  width: 16px; height: 16px;
  transition: transform 0.2s var(--ease);
}
.audience-card:hover .audience-link svg { transform: translateX(3px); }

/* Dark navy variant */
.audience-card.is-dark {
  background-color: var(--pdr-navy);
  color: var(--white);
}
.audience-card.is-dark h3 { color: var(--white); }
.audience-card.is-dark p { color: rgba(255, 255, 255, 0.8); }
.audience-card.is-dark .eyebrow-pill {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.audience-card.is-dark .audience-link { color: var(--white); }

/* Light tint variant */
.audience-card.is-light {
  background-color: var(--pdr-blue-tint);
  color: var(--pdr-navy);
}
.audience-card.is-light h3 { color: var(--pdr-navy); }
.audience-card.is-light p { color: rgba(0, 39, 70, 0.75); }
.audience-card.is-light .eyebrow-pill {
  background: rgba(0, 39, 70, 0.1);
  color: rgba(0, 39, 70, 0.8);
  border-color: rgba(0, 39, 70, 0.1);
}
.audience-card.is-light .audience-link { color: var(--pdr-navy); }

/* Brand blue variant */
.audience-card.is-blue {
  background-color: var(--pdr-blue);
  color: var(--white);
}
.audience-card.is-blue h3 { color: var(--white); }
.audience-card.is-blue p { color: rgba(255, 255, 255, 0.8); }
.audience-card.is-blue .eyebrow-pill {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.audience-card.is-blue .audience-link { color: var(--white); }

/* =============================================
   Cards / Grid  (generic cards for services, etc.)
   ============================================= */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 39, 70, 0.12);
  border-color: var(--pdr-blue-tint);
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0, 82, 145, 0.1);
  color: var(--pdr-blue);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.card h3 {
  margin-bottom: 0.5rem;
  color: var(--pdr-text);
  font-size: 1.1rem;
}
.card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--pdr-text-light);
}

/* =============================================
   Stats
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.stat { text-align: center; padding: 1rem; }
.stat .n {
  display: block;
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 700;
  color: var(--pdr-blue);
  line-height: 1;
}
.section-dark .stat .n { color: var(--white); }
.stat .label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pdr-text-light);
}
.section-dark .stat .label { color: rgba(255, 255, 255, 0.6); }

/* =============================================
   Feature rows (alternating content + visual)
   ============================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 4rem; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text .skew-divider { margin-bottom: 1rem; }
.feature-text h2 { margin-bottom: 1rem; }
.feature-row .feature-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pdr-blue-dark) 0%, var(--pdr-blue) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 4rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
/* When the visual holds an <img>, let the image fill the frame */
.feature-row .feature-visual:has(img) {
  background: var(--pdr-footer);
  font-size: 0;
}
.feature-row .feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Taller variant for services/technology hero images */
.feature-row .feature-visual.is-tall {
  aspect-ratio: auto;
  min-height: 400px;
}
@media (max-width: 780px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .feature-row.reverse .feature-text { order: 0; }
}

/* =============================================
   Process steps
   ============================================= */
.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.step {
  background: var(--white);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  counter-increment: step;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -14px;
  left: 1.25rem;
  background: var(--pdr-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.step h4 { margin: 0.5rem 0 0.4rem; font-size: 1.05rem; color: var(--pdr-text); }
.step p { margin: 0; font-size: 0.9rem; color: var(--pdr-text-light); }

/* =============================================
   Bullet list
   ============================================= */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li {
  padding: 0.4rem 0 0.4rem 1.9rem;
  position: relative;
  color: var(--pdr-text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.3rem; height: 1.3rem;
  background: var(--pdr-blue);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
}
.section-dark .check-list li { color: rgba(255, 255, 255, 0.9); }

/* =============================================
   CTA band
   ============================================= */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--pdr-footer) 0%, var(--pdr-blue) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 60%;
  width: 300px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  transform: skewX(-12deg);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .skew-bar { justify-content: center; margin-bottom: 1.2rem; }
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; font-size: 1.05rem; }

/* =============================================
   Forms
   ============================================= */
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--pdr-text);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--pdr-text);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pdr-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 145, 0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Spam honeypot — hidden from real users */
.botcheck { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Form submit status message */
.form-status {
  margin-top: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.form-status.is-success { background: #e3f1e6; color: #1e5631; border: 1px solid #bcdcc3; }
.form-status.is-error { background: #fbe6e6; color: #8a1f1f; border: 1px solid #eebcbc; }

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: var(--pdr-footer);
  color: var(--pdr-text-faint);
  padding: 4rem 0 1.5rem;
}
.site-footer .brand img { height: 56px; width: auto; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
}
.site-footer p { color: var(--pdr-text-faint); font-size: 0.9rem; line-height: 1.65; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.site-footer a { color: var(--pdr-text-faint); transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--pdr-border-dark);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =============================================
   Inner page header
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--pdr-footer) 0%, var(--pdr-navy) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Optional photo backdrop — tinted gradient overlays it */
.page-header:has(.page-header-photo) {
  background: var(--pdr-footer);
}
.page-header:has(.page-header-photo)::before {
  background-image:
    radial-gradient(circle at 80% 50%, rgba(0, 82, 145, 0.4), transparent 55%),
    linear-gradient(135deg, rgba(0, 26, 51, 0.85) 0%, rgba(0, 82, 145, 0.75) 50%, rgba(0, 61, 110, 0.85) 100%);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(0, 82, 145, 0.4), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.page-header::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 400px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  transform: skewX(-12deg);
  pointer-events: none;
  z-index: 2;
}
.page-header .container { position: relative; z-index: 3; }
.page-header h1 { color: var(--white); margin-bottom: 0.8rem; }
.page-header p { color: rgba(255, 255, 255, 0.85); max-width: 65ch; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

/* =============================================
   Video frame (for embedded product/process videos)
   ============================================= */
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pdr-footer);
  box-shadow: 0 20px 40px rgba(0, 39, 70, 0.2);
  max-width: 960px;
  margin: 0 auto;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================
   Small inline icon images (matches AU 28×28 icons)
   ============================================= */
.icon-img {
  width: 28px;
  height: 28px;
  display: inline-block;
  opacity: 0.85;
}

/* =============================================
   Audience cards — allow image backgrounds
   Use inline style="background-image:url(...)" on the card
   ============================================= */
.audience-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.audience-card.is-dark,
.audience-card.is-blue,
.audience-card.is-light {
  background-blend-mode: normal;
}
/* The tonal gradient layer sits on top of the background image */
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.audience-card.is-dark::before {
  background: linear-gradient(to bottom, rgba(0, 39, 70, 0.4) 0%, rgba(0, 39, 70, 0.55) 50%, rgba(0, 39, 70, 0.85) 100%);
}
.audience-card.is-light::before {
  background: linear-gradient(to bottom, rgba(214, 227, 237, 0.3) 0%, rgba(214, 227, 237, 0.55) 50%, rgba(214, 227, 237, 0.85) 100%);
}
.audience-card.is-blue::before {
  background: linear-gradient(to bottom, rgba(0, 82, 145, 0.45) 0%, rgba(0, 82, 145, 0.6) 50%, rgba(0, 82, 145, 0.9) 100%);
}
.audience-card > * { position: relative; z-index: 1; }

/* =============================================
   Two column layout
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.side-card {
  background: var(--pdr-grey-light);
  padding: 1.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.side-card h3 { color: var(--pdr-text); }

/* =============================================
   Utilities
   ============================================= */
.text-center { text-align: center; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

/* =============================================
   Scroll-triggered animations
   ============================================= */
[data-animate] { opacity: 0; }
[data-animate].animate-visible {
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}
[data-animate="fade-up"].animate-visible { animation-name: fadeInUp; }
[data-animate="fade-in"].animate-visible { animation-name: fadeIn; }
[data-animate="fade-left"].animate-visible { animation-name: fadeInLeft; }
[data-animate="fade-right"].animate-visible { animation-name: fadeInRight; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; }
  [data-animate].animate-visible { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
