/*
Theme Name:  Antvic
Theme URI:   https://antvic.com
Author:      Antvic Ltd
Version:     2.5.0
License:     GNU General Public License v2 or later
Text Domain: antvic
*/

/* ══════════════════════════════════════════════════════════════════
   RESET & TOKENS
   ══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #E8632A;
  --orange-dim:  #c4501f;
  --orange-glow: rgba(232,99,42,.15);
  --navy:        #0D1B2E;
  --navy-mid:    #1a2d47;
  --navy-light:  #243d5c;
  --steel:       #2e4060;
  --text:        #0f1923;
  --text-mid:    #4a5a6b;
  --text-muted:  #8898aa;
  --border:      #e2e8f0;
  --border-dark: #cbd5e0;
  --bg:          #ffffff;
  --bg-off:      #f7f9fc;
  --bg-section:  #f0f4f8;
  --header-h:    76px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(13,27,46,.06), 0 1px 2px rgba(13,27,46,.04);
  --shadow-md:   0 4px 16px rgba(13,27,46,.10), 0 1px 4px rgba(13,27,46,.06);
  --shadow-lg:   0 12px 40px rgba(13,27,46,.14), 0 4px 12px rgba(13,27,46,.08);
  --transition:  .22s cubic-bezier(.4,0,.2,1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: none;
  z-index: 9999;
  box-shadow: 0 2px 16px rgba(13,27,46,.08);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, #f0893a 50%, var(--navy) 100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
  max-width: 1240px;
  margin: 0 auto;
}

/* Logo */
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo a,
.site-header__logo .custom-logo-link {
  display: flex; align-items: center; text-decoration: none; line-height: 0;
}
.site-header__logo img,
.site-header__logo-img,
.site-header__logo .custom-logo {
  height: 44px; width: auto; display: block;
}

/* Desktop nav */
.site-nav--desktop { display: flex; align-items: center; gap: 4px; }

.site-nav__list {
  list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0;
}

.site-nav__list li a {
  display: block;
  padding: 8px 16px;
  font-family: 'DM Sans', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  letter-spacing: -.01em;
}

.site-nav__list li a:hover { color: var(--navy); background: var(--bg-off); }

/* Active page */
.site-nav__list li.current-menu-item > a { color: var(--navy); font-weight: 600; }

/* Site Induction CTA */
.site-nav__list li a.nav-cta,
.site-nav__list li:last-child > a {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 8px;
  font-weight: 600;
}
.site-nav__list li a.nav-cta:hover,
.site-nav__list li:last-child > a:hover {
  background: var(--orange-dim);
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 10001;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .28s, opacity .28s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Language toggle ──────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  margin-left: 12px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  border-radius: 5px;
  padding: 5px 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}
.lang-btn:hover { color: var(--navy); background: var(--bg); }
.lang-btn--active {
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(13,27,46,.15);
}

/* Mobile lang toggle — smaller, sits between logo and hamburger */
@media (max-width: 768px) {
  .lang-toggle {
    margin-left: auto;
    margin-right: 10px;
    padding: 2px;
    gap: 1px;
  }
  .lang-btn { padding: 4px 7px; font-size: .68rem; }
  .lang-btn--active { background: var(--navy); color: #fff !important; box-shadow: 0 1px 4px rgba(13,27,46,.15); }
}

/* Admin bar */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ══════════════════════════════════════════════════════════════════
   MOBILE DROPDOWN NAV (outside header, positioned by JS)
   ══════════════════════════════════════════════════════════════════ */
.mob-nav {
  display: none;
  position: fixed;
  z-index: 10002;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  max-width: calc(100vw - 24px);
  opacity: 0;
  transform: translateY(-10px) scale(.96);
  transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  overflow: hidden;
}
.mob-nav.is-open {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: all;
}

.mob-nav__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.mob-nav__label {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.mob-nav__close {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--bg-off); border: none; border-radius: 50%;
  color: var(--text-mid); cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mob-nav__close:hover { background: var(--orange); color: #fff; }

.mob-nav__list { list-style: none; padding: 6px 8px 10px; }
.mob-nav__list li a {
  display: block; padding: 12px 10px;
  font-weight: 500; font-size: .9rem;
  color: var(--navy); text-decoration: none;
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.mob-nav__list li a:hover { background: var(--bg-off); color: var(--orange); }
.mob-nav__list li:last-child a { border-bottom: none; }

/* Site Induction — orange */
.mob-nav__list li:last-child a,
.mob-nav__list li.mob-nav__cta-item a,
.mob-nav__list li a.nav-cta {
  margin-top: 4px;
  background: var(--orange) !important;
  color: #fff !important;
  text-align: center;
  border: none !important;
  border-radius: 8px;
  padding: 14px 10px;
  font-weight: 600;
}
.mob-nav__list li:last-child a:hover,
.mob-nav__list li.mob-nav__cta-item a:hover,
.mob-nav__list li a.nav-cta:hover {
  background: var(--orange-dim) !important; color: #fff !important;
}

.mob-nav-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(13,27,46,.4);
  backdrop-filter: blur(3px);
  z-index: 10001;
  opacity: 0; transition: opacity .22s ease;
}
.mob-nav-backdrop.is-open { display: block; opacity: 1; }

/* ══════════════════════════════════════════════════════════════════
   MAIN CONTENT OFFSET
   ══════════════════════════════════════════════════════════════════ */
.site-main {
  padding-top: var(--header-h);
  min-height: calc(100vh - 80px);
  max-width: 100vw;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

/* ══════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ══════════════════════════════════════════════════════════════════ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

.section { padding: 88px 0; }
.section--alt { background: var(--bg-off); }
.section--dark { background: var(--navy); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--orange); border-radius: 2px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.75; max-width: 560px; margin-bottom: 48px;
}

.divider { height: 1px; background: var(--border); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: 'DM Sans', 'Barlow', sans-serif;
  font-weight: 600; font-size: .9rem; letter-spacing: -.01em;
  border-radius: 9px; text-decoration: none; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap; cursor: pointer;
}
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dim); border-color: var(--orange-dim); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,99,42,.3); }
.btn:disabled,
.btn[disabled] {
  background: #6b7280; border-color: #6b7280; color: rgba(255,255,255,.75);
  cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none;
}
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border-dark); }
.btn--outline:hover { border-color: var(--navy); background: var(--bg-off); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy);
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}

/* Geometric accent lines */
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 480px; height: 480px;
  border: 1px solid rgba(232,99,42,.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: 20px; right: 20px;
  width: 320px; height: 320px;
  border: 1px solid rgba(232,99,42,.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__orange-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
}

.hero__inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--orange); border-radius: 2px; display: block;
}

.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero__title em { color: var(--orange); font-style: normal; }

.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 520px; margin-bottom: 40px;
}

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

/* Hero side panel */
.hero__panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.hero__panel-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero__stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.hero__stat:last-child { border-bottom: none; }
.hero__stat-label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.hero__stat-value { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   SITE INDUCTION — hero, intro video & gated form
   ══════════════════════════════════════════════════════════════════ */
.ind-hero {
  background: var(--navy);
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}
.ind-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  border: 1px solid rgba(232,99,42,.12);
  border-radius: 50%;
  pointer-events: none;
}
.ind-hero__inner {
  max-width: 820px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
  text-align: center;
}
.ind-hero .hero__eyebrow { justify-content: center; margin-bottom: 20px; }
.ind-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.ind-hero__title em { color: var(--orange); font-style: normal; }
.ind-hero__sub {
  font-size: 1.02rem; color: rgba(255,255,255,.66);
  line-height: 1.7; max-width: 620px; margin: 0 auto;
}

/* Intro video — sits inside the navy hero */
.ind-hero__video {
  max-width: 760px; margin: 36px auto 0;
}
.ind-video__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.ind-video__label::before {
  content: ''; width: 24px; height: 2px;
  background: var(--orange); border-radius: 2px; display: block;
}
.ind-video__frame {
  position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  border: 1px solid rgba(255,255,255,.10);
}
.ind-video__frame iframe,
.ind-video__frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block;
}
.ind-video__placeholder {
  border: 2px dashed rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}
.ind-hero__cta { margin-top: 26px; }
.ind-hero__note {
  font-size: .85rem; color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}

/* Mandatory "I watched the video" confirmation */
.ind-hero__confirm {
  max-width: 620px; margin: 22px auto 0;
}
.ind-confirm {
  display: flex; align-items: flex-start; gap: 11px;
  text-align: left;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.ind-confirm:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.32); }
.ind-confirm__input {
  width: 18px; height: 18px;
  accent-color: var(--orange);
  cursor: pointer; flex-shrink: 0; margin-top: 2px;
}
.ind-confirm span {
  font-size: .85rem; line-height: 1.5;
  color: rgba(255,255,255,.82);
}

/* Gated form reveal */
.ind-formzone { transition: opacity .45s ease; }
.ind-formzone.ind-formzone--gated.is-locked,
.ind-formzone.is-locked {
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .ind-hero { padding: 48px 0 44px; }
  .ind-hero__inner { padding: 0 20px; }
  .ind-hero__video { margin-top: 28px; }
}

/* ══════════════════════════════════════════════════════════════════
   PILLAR CARDS (home quick links)
   ══════════════════════════════════════════════════════════════════ */
.pillars { padding: 80px 0; }

.pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.pillar-card {
  display: flex; flex-direction: column;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.pillar-card:hover { border-color: rgba(232,99,42,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card__icon {
  width: 48px; height: 48px;
  background: var(--bg-off); border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 20px;
  transition: all var(--transition);
}
.pillar-card:hover .pillar-card__icon { background: var(--orange); color: #fff; border-color: var(--orange); }
.pillar-card__icon svg { width: 22px; height: 22px; }

.pillar-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 700; color: var(--navy);
  margin-bottom: 10px; letter-spacing: -.01em;
}

.pillar-card__desc {
  font-size: .875rem; color: var(--text-mid); line-height: 1.65; flex: 1; margin-bottom: 20px;
}

.pillar-card__link {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--orange);
}
.pillar-card__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.pillar-card:hover .pillar-card__link svg { transform: translateX(4px); }

/* Induction card — navy */
.pillar-card--cta {
  background: var(--navy); border-color: var(--navy-mid);
}
.pillar-card--cta .pillar-card__title,
.pillar-card--cta .pillar-card__desc { color: rgba(255,255,255,.85); }
.pillar-card--cta .pillar-card__title { color: #fff; }
.pillar-card--cta .pillar-card__icon { background: rgba(232,99,42,.15); border-color: rgba(232,99,42,.2); }
.pillar-card--cta:hover { border-color: var(--orange); }

/* ══════════════════════════════════════════════════════════════════
   METRICS STRIP
   ══════════════════════════════════════════════════════════════════ */
.metrics { background: var(--orange); padding: 56px 0; }

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

.metric {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.metric:last-child { border-right: none; }

.metric__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1;
}

.metric__label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════════════════════════════════
   SAFETY ALERT BLOCK
   ══════════════════════════════════════════════════════════════════ */
.safety-alert {
  background: var(--bg-off); padding: 80px 0;
}

.safety-alert__inner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative; overflow: hidden;
}
.safety-alert__inner::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px; background: var(--orange);
}

.safety-alert__icon { color: var(--orange); flex-shrink: 0; }
.safety-alert__icon svg { width: 56px; height: 56px; }

.safety-alert__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em; margin-bottom: 8px;
}

.safety-alert__body { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 72px 0 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,99,42,.08) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero__bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
}

.page-hero__inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.35); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { opacity: .4; }

.page-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800; color: #fff;
  line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px;
}

.page-hero__sub {
  font-size: .95rem; color: rgba(255,255,255,.55); font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   TWO-COL LAYOUT
   ══════════════════════════════════════════════════════════════════ */
.two-col {
  display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: start;
}

.two-col__text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em; margin-bottom: 20px;
}

.two-col__text p {
  color: var(--text-mid); line-height: 1.75; margin-bottom: 1em;
}

/* Info Panel */
.info-panel {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.info-panel__header {
  background: var(--navy);
  padding: 16px 22px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}

.info-panel__row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}
.info-panel__row:last-child { border-bottom: none; }

.info-panel__key {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.info-panel__val {
  font-weight: 600; color: var(--navy); font-size: .9rem;
}
.info-panel__val a { color: var(--orange); text-decoration: none; }

/* ══════════════════════════════════════════════════════════════════
   SERVICE CARDS (3-col grid)
   ══════════════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: rgba(232,99,42,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 44px; height: 44px;
  background: var(--bg-off); border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.service-card__icon svg { width: 20px; height: 20px; }

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
}

.service-card p {
  font-size: .875rem; color: var(--text-mid); line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   SAFETY / RULES LIST
   ══════════════════════════════════════════════════════════════════ */
.rules-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rule-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background var(--transition);
}
.rule-item:last-child { border-bottom: none; }
.rule-item:hover { background: var(--bg-off); }

.rule-item__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--orange);
  flex-shrink: 0; width: 32px; line-height: 1; padding-top: 2px;
}

.rule-item__content h4 {
  font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: .95rem;
}
.rule-item__content p {
  font-size: .85rem; color: var(--text-mid); line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   VALUES GRID
   ══════════════════════════════════════════════════════════════════ */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative; overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
}

.value-card__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--border-dark); margin-bottom: 16px; line-height: 1;
}

.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}

.value-card p {
  font-size: .875rem; color: var(--text-mid); line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   PPE / COMPLIANCE BADGE GRID
   ══════════════════════════════════════════════════════════════════ */
.compliance-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.compliance-badge {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}

.compliance-badge__icon {
  width: 48px; height: 48px;
  background: rgba(232,99,42,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.compliance-badge__icon svg { width: 24px; height: 24px; }

.compliance-badge__label {
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.8);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════════════ */
.cta-band { background: var(--navy); padding: 72px 0; }

.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}

.cta-band__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}

.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.1;
}

.cta-band p { color: rgba(255,255,255,.55); font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #07111d;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-footer__copy {
  font-size: .78rem; color: rgba(255,255,255,.3); letter-spacing: .02em;
}
.site-footer__copy a { color: var(--orange); text-decoration: none; }
.site-footer__copy a:hover { text-decoration: underline; }
.site-footer__badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.18);
}

/* ══════════════════════════════════════════════════════════════════
   PROJECT INDEX CARDS
   ══════════════════════════════════════════════════════════════════ */
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
}
.project-card:hover {
  border-color: rgba(232,99,42,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card__badge {
  position: absolute; top: 16px; right: 16px;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 100px;
  background: rgba(26,158,92,.15); color: #1a9e5c;
  border: 1px solid rgba(26,158,92,.25);
}
.project-card__badge--future {
  background: rgba(74,90,107,.1); color: var(--text-muted);
  border-color: var(--border);
}

.project-card__header {
  background: var(--navy);
  padding: 28px 28px 24px;
  position: relative; overflow: hidden;
}
.project-card__header::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f0893a);
}
.project-card__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
}
.project-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -.01em;
}
.project-card__sub {
  font-size: .8rem; color: rgba(255,255,255,.45);
  margin-top: 6px;
}

.project-card__body { padding: 24px 28px; flex: 1; }

.project-card__stats {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 20px;
}
.project-card__stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
}
.project-card__stat:last-child { border-bottom: none; }
.project-card__stat-key {
  color: var(--text-muted); font-weight: 500;
}
.project-card__stat-val {
  color: var(--navy); font-weight: 600; text-align: right;
}

.project-card__footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-off);
}
.project-card__cta {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 6px;
}
.project-card__cta svg { width: 14px; height: 14px; transition: transform var(--transition); }
.project-card:hover .project-card__cta svg { transform: translateX(4px); }

/* Future project placeholder card */
.project-card--future { opacity: .7; }
.project-card--future:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — tablet first, then mobile override
   ══════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars__grid { grid-template-columns: 1fr; gap: 14px; }
  .project-cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { display: none; }
}

/* ── Mobile (≤ 768px) — overrides everything above ───────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Header */
  .site-header__inner { padding: 0 16px; }
  .site-header__logo img,
  .site-header__logo-img,
  .site-header__logo .custom-logo { height: 36px; }
  .nav-toggle { display: flex !important; }
  .site-nav--desktop { display: none !important; }
  .mob-nav { display: block; }

  /* Base layout */
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .section-lead { font-size: .9rem; margin-bottom: 24px; }
  .section-title { font-size: 1.6rem; }

  /* Hero — fill the screen on mobile */
  .hero {
    padding: 40px 0;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h)); /* dynamic mobile viewport */
    display: flex;
    align-items: center;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; width: 100%; }
  .hero__panel { display: none; }
  .hero__title { font-size: 2rem; }
  .hero__sub { font-size: .9rem; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Pillar cards — compact row */
  .pillars__grid { grid-template-columns: 1fr; gap: 10px; }
  .pillar-card {
    padding: 18px 16px;
    flex-direction: row; gap: 14px; align-items: center;
  }
  .pillar-card__icon { flex-shrink: 0; width: 38px; height: 38px; margin-bottom: 0; }
  .pillar-card__title { font-size: 1rem; margin-bottom: 0; }
  .pillar-card__desc { display: none; }
  .pillar-card__link { display: none; }

  /* Metrics */
  .metrics { padding: 32px 0; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .metric__num { font-size: 1.8rem; }
  .metric__label { font-size: .65rem; }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-last-child(-n+2) { border-bottom: none; }

  /* Safety alert */
  .safety-alert { padding: 40px 0; }
  .safety-alert__inner {
    grid-template-columns: 1fr;
    padding: 24px 20px; gap: 14px; text-align: center;
  }
  .safety-alert__icon { margin: 0 auto; }
  .safety-alert__icon svg { width: 36px; height: 36px; }
  .safety-alert__inner::before { width: 100%; height: 4px; bottom: auto; }
  .safety-alert__heading { font-size: 1.2rem; }
  .safety-alert__body { font-size: .82rem; }
  .safety-alert__inner .btn { width: 100%; justify-content: center; text-align: center; }

  /* Two-col */
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col__text h2 { font-size: 1.5rem; }
  .two-col__text p { font-size: .875rem; }

  /* Info panel */
  .info-panel__row { padding: 11px 16px; }
  .info-panel__val { font-size: .85rem; word-break: break-word; }

  /* Service cards — single column, VERTICAL layout (no horizontal squeeze) */
  .cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card {
    flex-direction: column; gap: 10px;
    padding: 18px 16px; align-items: flex-start;
  }
  .service-card__icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
  .service-card__icon svg { width: 16px; height: 16px; }
  .service-card h3 { font-size: .95rem; }
  .service-card p { font-size: .82rem; line-height: 1.5; }

  /* Dark-background service cards */
  .section--dark .service-card { padding: 16px; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-card { padding: 18px 16px; display: flex; flex-direction: row; gap: 14px; align-items: flex-start; }
  .value-card::after { display: none; }
  .value-card__num { font-size: 1.2rem; min-width: 28px; flex-shrink: 0; margin-bottom: 0; color: var(--orange); }
  .value-card__text { flex: 1; min-width: 0; }
  .value-card h3 { font-size: .95rem; margin-bottom: 4px; }
  .value-card p { font-size: .82rem; }

  /* Compliance badges */
  .compliance-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .compliance-badge { padding: 14px 10px; gap: 8px; }
  .compliance-badge__icon { width: 36px; height: 36px; }
  .compliance-badge__icon svg { width: 18px; height: 18px; }
  .compliance-badge__label { font-size: .7rem; }

  /* Rules list */
  .rule-item { padding: 14px 16px; gap: 12px; }
  .rule-item__num { font-size: 1rem; width: 24px; }
  .rule-item__content h4 { font-size: .875rem; }
  .rule-item__content p { font-size: .8rem; line-height: 1.55; }

  /* CTA band */
  .cta-band { padding: 44px 0; }
  .cta-band__inner { flex-direction: column; text-align: center; gap: 20px; align-items: center; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band p { font-size: .85rem; }

  /* Project cards */
  .project-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .project-card__header { padding: 20px 20px 18px; }
  .project-card__name { font-size: 1.3rem; }
  .project-card__body { padding: 16px 20px; }
  .project-card__stat { font-size: .78rem; padding: 7px 0; }
  .project-card__footer { padding: 12px 20px; }

  /* Page hero */
  .page-hero { padding: 48px 0 40px; }
  .page-hero__title { font-size: 1.8rem; }

  /* Footer */
  .site-footer { flex-direction: column; text-align: center; padding: 20px 16px; }
  .site-footer__copy { font-size: .72rem; }
}

/* ══════════════════════════════════════════════════════════════════
   H&S BRIEFINGS LIBRARY  (page-hs-briefings.php)
   ══════════════════════════════════════════════════════════════════ */
.brf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.brf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.brf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.brf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.brf-card:hover::before { transform: scaleX(1); }

.brf-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.brf-card__no {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--orange);
  background: var(--orange-glow);
  border-radius: 7px;
  padding: 4px 10px;
  line-height: 1;
}
.brf-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--bg-section);
  color: var(--navy-light);
}
.brf-card__icon svg { width: 19px; height: 19px; }

.brf-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 8px;
}
.brf-card__desc {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: 16px;
  flex-grow: 1;
}
.brf-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--orange);
  margin-top: auto;
}
.brf-card__cta svg {
  width: 15px; height: 15px;
  transition: transform var(--transition);
}
.brf-card:hover .brf-card__cta svg { transform: translateX(4px); }

.brf-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .brf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .brf-grid { grid-template-columns: 1fr; gap: 12px; }
  .brf-card { padding: 18px 18px 16px; }
  .brf-card__title { font-size: 1.18rem; }
}
