/* ==========================================================================
   EHS Protect — styles.css
   Design system: custom properties, typography, layout, components, animations
   Mobile-first: base = mobile, media queries add tablet/desktop
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   2. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --brand-navy:        #1a2550;
  --brand-navy-dark:   #111b2e;
  --brand-navy-mid:    #1a2a48;
  --brand-sage:        #6d9a7b;
  --brand-steel:       #8fa9bf;
  --brand-grey:        #d4d4d8;

  /* Light section colours */
  --surface-white:     #ffffff;
  --surface-off:       #f8fafb;
  --text-primary:      #1a2550;
  --text-body:         #475569;
  --text-muted:        #94a3b8;
  --border-light:      #e2e8f0;

  /* Semantic */
  --success:           #6d9a7b;
  --warning:           #d4a04a;
  --danger:            #c45c5c;

  /* Typography */
  --font-display:      'Outfit', sans-serif;
  --font-body:         'DM Sans', sans-serif;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 88px;
  --space-3xl: 140px;

  /* Layout */
  --max-width:         1100px;
  --max-width-text:    680px;
  --max-width-hero:    680px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease-out;

  /* Border radius */
  --radius-sm:   3px;
  --radius-md:   5px;
  --radius-lg:   6px;
  --radius-xl:   10px;
}

/* --------------------------------------------------------------------------
   3. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   4. Typography Scale
   -------------------------------------------------------------------------- */

/* Display / Hero headline */
.text-hero {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

/* Section headline */
.text-section-h {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Sub-heading */
.text-sub-h {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

/* Card title */
.text-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Body */
.text-body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

/* Small / caption */
.text-small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/* Nav link */
.text-nav {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 400;
}

/* CTA button */
.text-cta {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
}

/* Tag / badge */
.text-tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Credentials */
.text-credential {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}

/* Section label */
.text-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .text-hero         { font-size: 34px; }
  .text-section-h    { font-size: 32px; }
  .text-sub-h        { font-size: 24px; }
  .text-card-title   { font-size: 18px; }
  .text-body         { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   5. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}

.section-pad {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
  .section-pad {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: var(--brand-navy-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .nav__inner {
    padding: 0 var(--space-xl);
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 54px;
  flex-shrink: 0;
}

.nav__logo img {
  height: 54px;
  width: auto;
}

/* Desktop links */
.nav__links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav__links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Nav CTA */
.nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--brand-navy-dark);
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg);
  gap: var(--space-lg);
  z-index: 99;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__mobile a:hover {
  color: #ffffff;
}

.nav__mobile .btn {
  margin-top: var(--space-md);
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

/* Primary — sage green */
.btn--primary {
  background: var(--brand-sage);
  color: #ffffff;
  border-color: var(--brand-sage);
}

.btn--primary:hover {
  filter: brightness(1.08);
}

/* Secondary outline — for dark backgrounds */
.btn--outline-dark {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn--outline-dark:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* Secondary outline — for light backgrounds */
.btn--outline-light {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn--outline-light:hover {
  border-color: var(--brand-navy);
  background: var(--surface-off);
}

/* Nav CTA — steel blue outline */
.btn--nav {
  background: transparent;
  color: var(--brand-steel);
  border-color: rgba(143, 169, 191, 0.35);
  font-size: 14px;
  padding: 10px 22px;
}

.btn--nav:hover {
  background: rgba(143, 169, 191, 0.08);
  border-color: rgba(143, 169, 191, 0.55);
  color: var(--brand-steel);
}

/* --------------------------------------------------------------------------
   8. Tags / Badges
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  line-height: 1.5;
}

/* Sage variant */
.tag--sage {
  color: var(--brand-sage);
  border-color: rgba(109, 154, 123, 0.3);
  background: rgba(109, 154, 123, 0.06);
}

/* Steel variant */
.tag--steel {
  color: var(--brand-steel);
  border-color: rgba(143, 169, 191, 0.3);
  background: rgba(143, 169, 191, 0.06);
}

/* --------------------------------------------------------------------------
   9. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(175deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-dark) 100%);
  padding-top: calc(76px + var(--space-xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Radial glow top-centre */

/* Radial glow — shifts right on desktop to sit behind graphic */
.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(143, 169, 191, 0.09) 0%, transparent 65%);
  pointer-events: none;
}


/* Drifting orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero__orb--1 {
  width: 800px;
  height: 800px;
  top: -180px;
  left: -160px;
  background: radial-gradient(ellipse at center, rgba(109, 154, 123, 0.32) 0%, rgba(109, 154, 123, 0.08) 40%, transparent 70%);
  animation: orbDrift1 28s ease-in-out infinite;
}

.hero__orb--2 {
  width: 900px;
  height: 700px;
  bottom: -180px;
  right: -200px;
  background: radial-gradient(ellipse at center, rgba(143, 169, 191, 0.45) 0%, rgba(143, 169, 191, 0.12) 40%, transparent 68%);
  animation: orbDrift2 34s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(70px, 50px) scale(1.07); }
  66%  { transform: translate(25px, 90px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-60px, -40px) scale(1.05); }
  70%  { transform: translate(-90px, 25px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero__inner {
  position: relative;
  max-width: var(--max-width-hero);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

/* Thin accent rule above headline */
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}


.hero__eyebrow-line {
  width: 32px;
  height: 1px;
  background: rgba(143, 169, 191, 0.35);
}

.hero__eyebrow-text {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(143, 169, 191, 0.6);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.hero__headline em {
  color: var(--brand-steel);
  font-style: normal;
}

@media (min-width: 1024px) {
  .hero__headline { font-size: 72px; }
}

/* Mobile: smaller hero headline */
@media (max-width: 639px) {
  .hero__headline { font-size: 36px; }
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

@media (min-width: 1024px) {
  .hero__sub { font-size: 18px; }
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* --------------------------------------------------------------------------
   10. Service Map Graphic
   -------------------------------------------------------------------------- */
.service-map__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .service-map__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.service-map__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
}

.service-map__stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.service-map__stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   11. Divider
   -------------------------------------------------------------------------- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(143, 169, 191, 0.1), transparent);
  border: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Services Section (Dark)
   -------------------------------------------------------------------------- */
.services {
  background: var(--brand-navy-dark);
  padding: var(--space-2xl) 0;
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-sage);
  display: block;
  margin-bottom: var(--space-md);
}

.services__headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .services__headline { font-size: 44px; }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Dark service card */
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 28px 30px;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.service-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.3;
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.65;
  flex: 1;
}

.service-card__arrow {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--brand-sage);
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  display: block;
  margin-top: 4px;
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   13. Solutions Strip Row (Dark)
   -------------------------------------------------------------------------- */
.solutions-strip {
  background: var(--brand-navy-dark);
  padding: 0 0 var(--space-2xl);
}

.solutions-strip__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .solutions-strip__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Solution card (slightly more padding than service cards) */
.solution-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  transition: all var(--transition-fast);
}

.solution-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.solution-card__badge {
  margin-bottom: var(--space-sm);
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-xs);
  line-height: 1.35;
}

.solution-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.solution-card__link {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--brand-steel);
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.solution-card__link:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. Credentials Bar (Dark)
   -------------------------------------------------------------------------- */
.credentials-bar {
  background: var(--brand-navy-dark);
  padding: var(--space-lg) 0 var(--space-2xl);
  text-align: center;
}

.credentials-bar__line {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 2;
  letter-spacing: 0.01em;
}

.credentials-bar__line + .credentials-bar__line {
  margin-top: 4px;
}

.credentials-bar__cert {
  color: rgba(143, 169, 191, 0.85);
}

/* --------------------------------------------------------------------------
   15. Dark → Light Transition
   -------------------------------------------------------------------------- */
.section-transition {
  height: 80px;
  background: linear-gradient(to bottom, var(--brand-navy-dark), var(--surface-off));
}

/* --------------------------------------------------------------------------
   16. About / Richard Section (Light)
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--surface-off);
  padding: var(--space-2xl) 0;
}

.about-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-section__inner {
    grid-template-columns: 220px 1fr;
    gap: var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .about-section__inner {
    grid-template-columns: 260px 1fr;
  }
}

.about-section__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-light);
  flex-shrink: 0;
  margin: 0 auto;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-section__photo {
    width: 200px;
    height: 200px;
    margin: 0;
  }
}

.about-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: block;
}

.about-section__headline {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

@media (min-width: 1024px) {
  .about-section__headline { font-size: 40px; }
}

.about-section__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.about-section__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.credential-pill {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-navy);
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 3px 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. Industry Sectors (Light, alternating)
   -------------------------------------------------------------------------- */
.industries-section {
  background: var(--surface-white);
  padding: var(--space-2xl) 0;
}

.industries-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-headline {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .section-headline { font-size: 48px; }
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Light card */
.light-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
}

.light-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(26, 37, 80, 0.12);
}

.light-card__label {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-sage);
  margin-bottom: var(--space-sm);
  display: block;
}

.light-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: var(--space-sm);
}

.light-card__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   18. Resources Teaser (Off-white)
   -------------------------------------------------------------------------- */
.resources-section {
  background: var(--surface-off);
  padding: var(--space-2xl) 0;
}

.resources-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-placeholder {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.resource-placeholder__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-off);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.resource-placeholder__text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19. CTA Section (Dark Navy)
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(175deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-section__headline {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

@media (min-width: 1024px) {
  .cta-section__headline { font-size: 52px; }
}

.cta-section__sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.38);
  max-width: 460px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.cta-section__bookings {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section__bookings-placeholder {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: var(--space-xl);
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--brand-navy-dark);
  padding: var(--space-2xl) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer__logo {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: var(--space-md);
}

.footer__address {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.7;
  font-style: normal;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Cookie settings button in footer */
.footer__cookie-btn {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
  text-align: left;
}

.footer__cookie-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Footer bottom bar */
.footer__bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   21. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Page load — hero */
  .hero__headline,
  .hero__sub,
  .hero__ctas {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp var(--transition-slow) forwards;
  }

  .hero__headline { animation-delay: 0ms; }
  .hero__sub      { animation-delay: 40ms; }
  .hero__ctas     { animation-delay: 80ms; }


  /* Scroll reveal — base state */
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger for service cards */
  .reveal-stagger .service-card:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger .service-card:nth-child(2) { transition-delay: 40ms; }
  .reveal-stagger .service-card:nth-child(3) { transition-delay: 80ms; }
  .reveal-stagger .service-card:nth-child(4) { transition-delay: 120ms; }
  .reveal-stagger .service-card:nth-child(5) { transition-delay: 160ms; }
  .reveal-stagger .service-card:nth-child(6) { transition-delay: 200ms; }
  .reveal-stagger .service-card:nth-child(7) { transition-delay: 240ms; }
  .reveal-stagger .service-card:nth-child(8) { transition-delay: 280ms; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb { animation: none; }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Used for max-width text blocks */
.prose {
  max-width: var(--max-width-text);
}

.prose--hero {
  max-width: var(--max-width-hero);
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   23. Cookie Consent Overrides (CookieConsent by Orestbida)
      These adjust the default Orestbida theme to match our design system.
   -------------------------------------------------------------------------- */
#cc-main {
  --cc-font-family: 'DM Sans', sans-serif;
  --cc-bg: var(--brand-navy-dark);
  --cc-primary-color: var(--brand-sage);
  --cc-secondary-color: rgba(255,255,255,0.55);
  --cc-btn-primary-bg: var(--brand-sage);
  --cc-btn-primary-color: #fff;
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: rgba(255,255,255,0.55);
  --cc-btn-secondary-border-color: rgba(255,255,255,0.12);
  --cc-separator-border-color: rgba(255,255,255,0.06);
  --cc-toggle-on-bg: var(--brand-sage);
  --cc-overlay-bg: rgba(17,27,46,0.75);
  --cc-modal-border-color: rgba(255,255,255,0.06);
  --cc-z-index: 9999;
}

/* --------------------------------------------------------------------------
   24. Service / Industry / Legal Page Styles
   -------------------------------------------------------------------------- */

/* Page hero — used on inner pages */
.page-hero {
  background: linear-gradient(175deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  padding-top: calc(76px + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

/* Breadcrumb bar sits above page-hero on industry/article pages — needs to clear the fixed nav */
.breadcrumb-bar {
  background: var(--brand-navy-dark);
  padding: var(--space-md) 0 0;
  padding-top: calc(76px + var(--space-md));
}

/* When page-hero directly follows a breadcrumb-bar, the nav offset is already handled */
.breadcrumb-bar + .page-hero {
  padding-top: var(--space-2xl);
}

/* Split page hero (text + graphic) — used on Digital Solutions */
.page-hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero__split {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero__split-graphic {
  display: none;
}

@media (min-width: 1024px) {
  .page-hero__split-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.page-hero__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-sm);
  display: block;
}

.page-hero__headline {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

@media (min-width: 1024px) {
  .page-hero__headline { font-size: 56px; }
}

.page-hero__sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
}

/* Legal page content */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-xs);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: 13px;
}

.legal-content th {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) var(--space-md) var(--space-sm) 0;
  text-align: left;
}

.legal-content td {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) var(--space-md) var(--space-sm) 0;
  vertical-align: top;
  line-height: 1.5;
}

.legal-content a {
  color: var(--brand-navy);
  text-decoration: underline;
  text-decoration-color: rgba(26, 37, 80, 0.25);
}

.legal-content a:hover {
  text-decoration-color: var(--brand-navy);
}

/* --------------------------------------------------------------------------
   25. Focus / Accessibility
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--brand-sage);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   End of styles.css
   -------------------------------------------------------------------------- */
