/* ==========================================================================
   Paradygm.co HTML mockups — Paradygm BRAND on Protiviti LAYOUT (DRAFT)
   Layout structure matches Protiviti; colors/logo/CTAs are Paradygm brand.
   Original stylesheet via Google Fonts. Does NOT hotlink Protiviti CSS/fonts.
   ========================================================================== */

:root {
  /* Paradygm brand tokens on Protiviti layout */
  --navy: #0B1F3A;
  --navy-mid: #14304F;
  --navy-deep: #061427;
  --navy-soft: #1E3A5F;
  --slate: #4A5568;
  --text: #4A5568;
  --text-strong: #1A2332;
  --neutral-border: #D8E0EA;
  --neutral-100: #EEF2F7;
  --neutral-50: #F6F8FB;
  --white: #FFFFFF;
  --orange: #E85D04; /* amber primary CTA */
  --amber: #E85D04;
  --amber-hover: #D14F00;
  --amber-soft: #FFF4EC;
  --cyan: transparent; /* deprecated — not a Paradygm brand accent */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --draft-h: 0px; /* draft banner removed for go-live */
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(11, 31, 58, 0.18);
  --max: 1180px;
  --max-wide: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 0.4em;
  line-height: 1.1;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.bracket { color: var(--orange); font-weight: 500; font-size: 0.92em; }

/* ----- Draft chrome ----- */
.draft-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  height: var(--draft-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f5e6a8;
  color: #3a3000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e0c86a;
}
.draft-banner a { color: #0B1F3A; font-weight: 700; }
.draft-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.035);
  transform: rotate(-18deg);
  user-select: none;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
.wrap--wide { width: min(100% - 32px, var(--max-wide)); }

/* ----- Header (translucent → solid on scroll) ----- */
.site-header {
  position: fixed;
  top: var(--draft-h);
  left: 0; right: 0;
  z-index: 9000;
  height: var(--header-h);
  background: rgba(11, 31, 58, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-solid {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header .header-inner {
  height: var(--header-h);
  width: min(100% - 40px, var(--max-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none !important;
  color: var(--white);
  line-height: 1.1;
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  image-rendering: auto;
}
.logo-img--footer {
  height: 48px;
  max-width: 280px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.logo-mark span { font-weight: 500; opacity: 0.7; text-transform: lowercase; letter-spacing: 0.02em; }
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.footer-logo .logo-mark { color: var(--navy); text-transform: uppercase; font-size: 18px; }
.footer-logo .logo-sub { color: var(--slate); font-size: 11px; }
.footer-logo .logo { color: var(--navy); }


.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0; margin-bottom: 0;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 4px;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active {
  background: rgba(255,255,255,0.08);
}
.nav .caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.85);
  margin-top: 2px;
}
.header-utils {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  flex-shrink: 0;
}
.icon-btn {
  width: 36px; height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
}
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
}
.region-flag {
  width: 18px; height: 12px;
  background: linear-gradient(180deg, #fff 0 33%, #d52b1e 33% 66%, #fff 66%);
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
}
.region-flag::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: #d52b1e;
  border-radius: 50%;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* Mega panel (simplified) */
.mega {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--draft-h) + var(--header-h));
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  padding: 36px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 8990;
}
.mega.is-open { display: block; }
.mega-grid {
  width: min(100% - 48px, var(--max-wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}
.mega a {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
}
.mega a:hover { border-bottom-color: rgba(255,255,255,0.35); }
.mega-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

/* ----- Floating CTA ----- */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.42);
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.12);
}
.float-cta:hover { background: var(--amber-hover); }
.float-cta .arrow {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--white);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-outline-light {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: rgba(11,31,58,0.06); }
.btn-solid-navy {
  background: var(--navy);
  color: var(--white) !important;
}
.btn-solid-navy:hover { background: var(--navy-mid); }
.btn-solid-orange {
  background: var(--orange);
  color: var(--white) !important;
}
.btn-solid-orange:hover { background: var(--amber-hover); }
.btn-solid-amber {
  background: var(--amber);
  color: var(--white) !important;
}
.btn-solid-amber:hover { background: var(--amber-hover); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ----- Hero (home) ----- */
.hero {
  position: relative;
  min-height: 78vh;
  padding: calc(var(--draft-h) + var(--header-h) + 48px) 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,93,4,0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(232,93,4,0.16), transparent 50%),
    linear-gradient(165deg, #061427 0%, var(--navy-deep) 40%, #14304F 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 18px,
      rgba(232,93,4,0.03) 18px 19px
    );
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero .btn-row { justify-content: center; }
.hero-controls {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-ctrl {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 0;
  background: rgba(232,93,4,0.92);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: default;
  opacity: 0.9;
}
.hero-ctrl svg { width: 16px; height: 16px; fill: currentColor; }

/* ----- Intro (dark navy) ----- */
.intro-block {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #061427 100%);
  padding: 72px 24px 88px;
  text-align: center;
  color: rgba(255,255,255,0.88);
}
.intro-block h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--white);
}
.intro-block p {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.intro-block strong { color: var(--white); font-weight: 700; }

/* ----- Staggered promo cards ----- */
.promo-section {
  background: linear-gradient(180deg, #061427 0%, var(--navy-deep) 100%);
  padding: 0 24px 72px;
}
.promo-grid {
  width: min(100%, var(--max));
  margin: -40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.promo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--neutral-50);
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card:nth-child(2) { margin-top: 36px; }
.promo-media {
  aspect-ratio: 16 / 11;
  background-color: #0B1F3A;
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.18), rgba(11,31,58,0.45)),
    url("/assets/promo/promo-consulting.jpg");
  background-size: cover;
  background-position: center;
}
.promo-media--2 {
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.18), rgba(11,31,58,0.45)),
    url("/assets/promo/promo-training.jpg");
  background-size: cover;
  background-position: center;
}
.promo-media--3 {
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.18), rgba(11,31,58,0.45)),
    url("/assets/promo/promo-compliance.jpg");
  background-size: cover;
  background-position: center 30%;
}
.promo-body {
  padding: 22px 22px 20px;
  background: var(--neutral-50);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.promo-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.promo-body h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
  padding-right: 28px;
}
.promo-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 14px;
  line-height: 1;
}

/* ----- Featured insights carousel ----- */
.insights-section {
  background: var(--navy-deep);
  padding: 56px 0 64px;
  color: var(--white);
  overflow: hidden;
}
.insights-head {
  width: min(100% - 48px, var(--max));
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.insights-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 300;
  margin: 0;
}
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}
.carousel-btn:hover { background: var(--neutral-100); }
.carousel-track-wrap {
  overflow: hidden;
  padding-left: max(24px, calc((100% - var(--max)) / 2));
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  padding-right: 48px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.insight-card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
  color: var(--white);
  background: var(--navy-soft);
}
.insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,20,39,0.85) 100%);
}
.insight-card .ic-bg {
  position: absolute;
  inset: 0;
  background-color: #0B1F3A;
  background-image:
    linear-gradient(180deg, rgba(6,20,39,0.15), rgba(6,20,39,0.55)),
    url("/assets/insights/insight-iso-transition.jpg");
  background-size: cover;
  background-position: center;
}
.insight-card:nth-child(2) .ic-bg {
  background-image:
    linear-gradient(180deg, rgba(6,20,39,0.2), rgba(6,20,39,0.55)),
    url("/assets/insights/insight-r2-recycling.jpg");
  background-size: cover;
  background-position: center;
}
.insight-card:nth-child(3) .ic-bg {
  background-image:
    linear-gradient(180deg, rgba(6,20,39,0.2), rgba(6,20,39,0.55)),
    url("/assets/insights/insight-auditor-training.jpg");
  background-size: cover;
  background-position: center;
}
.insight-card:nth-child(4) .ic-bg {
  background-image:
    linear-gradient(180deg, rgba(6,20,39,0.2), rgba(6,20,39,0.55)),
    url("/assets/insights/insight-internal-audits.jpg");
  background-size: cover;
  background-position: center;
}
.insight-card:nth-child(5) .ic-bg {
  background-image:
    linear-gradient(180deg, rgba(6,20,39,0.2), rgba(6,20,39,0.55)),
    url("/assets/insights/insight-compliance.jpg");
  background-size: cover;
  background-position: center;
}
.insight-meta {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.insight-meta h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--white);
}
.insight-meta .read {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.insight-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* ----- Working / about strip ----- */
.working-section {
  background: radial-gradient(ellipse at 50% 40%, #14304F 0%, var(--navy-deep) 70%);
  padding: 80px 24px;
  color: var(--white);
}
.working-grid {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.working-grid h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 300;
  margin-bottom: 8px;
}
.working-grid .sub {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.working-grid p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  max-width: 440px;
}
.working-media {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(11,31,58,0.3), rgba(11,31,58,0.5)),
    linear-gradient(160deg, #4A5568, #1E3A5F);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.working-media { overflow: hidden; background: #1E3A5F; }
.working-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ----- Client stories (anonymized) ----- */
.stories-section {
  background: #04101C;
  padding: 64px 24px 80px;
  color: var(--white);
}
.stories-section h2 {
  width: min(100%, var(--max));
  margin: 0 auto 28px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 300;
}
.stories-row {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-card {
  border-radius: var(--radius-card);
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.story-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 10px;
}
.story-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.story-card .meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--slate);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- Footer (white) ----- */
.site-footer {
  background: var(--white);
  color: var(--text);
  padding: 56px 24px 24px;
}
.footer-top {
  width: min(100%, var(--max));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 14px;
  letter-spacing: 0;
}
.footer-links a {
  display: block;
  color: var(--text);
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none !important;
}
.footer-links a:hover { color: var(--navy); text-decoration: underline !important; }
.footer-tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--slate);
  line-height: 1.35;
  margin: 0;
  text-align: right;
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
.footer-legal {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
}
.footer-legal a { color: #666; text-decoration: none !important; }
.footer-legal a:hover { text-decoration: underline !important; }

/* ==========================================================================
   Inner pages — Solutions hub, detail, training
   ========================================================================== */

main { min-height: 50vh; }

.page-hero {
  position: relative;
  padding: calc(var(--draft-h) + var(--header-h) + 56px) 24px 0;
  background:
    radial-gradient(ellipse 70% 80% at 75% 50%, rgba(232,93,4,0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(232,93,4,0.18), transparent 50%),
    linear-gradient(160deg, #061427, var(--navy-deep) 55%, #14304F);
  color: var(--white);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.page-hero--left { text-align: left; }
.page-hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  max-width: 760px;
  margin-bottom: 12px;
}
.page-hero .subline {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  margin: 0 0 8px;
  max-width: 560px;
}
.page-hero .lead {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 12px 0 0;
}

/* Sticky in-page anchors */
.anchor-bar {
  background: rgba(240, 245, 250, 0.95);
  border-bottom: 1px solid var(--neutral-border);
  position: sticky;
  top: calc(var(--draft-h) + var(--header-h));
  z-index: 800;
  backdrop-filter: blur(8px);
}
.anchor-bar-inner {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 10px 0;
  overflow-x: auto;
}
.anchor-bar a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-soft);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none !important;
}
.anchor-bar a:hover { background: rgba(11,31,58,0.08); color: var(--navy); }

/* White body sections */
.section-white {
  background: var(--white);
  color: var(--text);
  padding: 64px 24px;
}
.section-white h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-white h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.section-white p, .section-white li { color: var(--text); font-size: 16px; }
.section-white .narrow { max-width: 680px; }
.section-alt {
  background: var(--neutral-50);
  color: var(--text);
  padding: 64px 24px;
}
.section-alt h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-navy {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 24px;
}
.section-navy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: 16px;
}

/* Solutions dense grid */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.solution-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 130px;
}
.solution-link:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(11,31,58,0.08);
}
.solution-link .sk {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.solution-link h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 650;
  color: var(--navy);
  margin: 0;
}
.solution-link p {
  font-size: 13.5px;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.solution-link .go {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
}
.solution-link--handoff {
  background: linear-gradient(180deg, #fff, #F6F8FB);
  border-color: #D8E0EA;
}

/* Detail layout */
.detail-layout {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.prose h2 { margin-top: 8px; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.share-row {
  display: flex;
  gap: 8px;
  margin: 8px 0 24px;
}
.share-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--neutral-border);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
.guarantee-chip {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.sidebar-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: calc(var(--draft-h) + var(--header-h) + 24px);
}
.sidebar-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.sidebar-card p { font-size: 14px; color: var(--text); }
.form-mock label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 12px 0 4px;
}
.form-mock input,
.form-mock select,
.form-mock textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--neutral-border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-strong);
}
.form-mock textarea { min-height: 80px; resize: vertical; }
.form-mock .hint {
  font-size: 12px;
  color: #777;
  margin-top: 12px;
}
.form-mock .hint a { color: var(--navy); }

/* Training */
.phase-note {
  background: #FFF4EC;
  border: 1px solid #F0D4B8;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #5C3A14;
  margin-bottom: 28px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filters select {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-strong);
  padding: 8px 12px;
  border: 1px solid var(--neutral-border);
  border-radius: 6px;
  min-width: 160px;
  background: var(--white);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.course-card p { font-size: 14px; margin: 0; color: var(--text); flex: 1; }
.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11,31,58,0.08);
  color: var(--navy);
}
.badge--accent {
  background: rgba(232,93,4,0.14);
  color: #D14F00;
}

/* Icon row (solutions detail flair) */
.icon-feature-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--neutral-border);
}
.icon-feature {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.icon-feature .glyph {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}

/* Industries chips */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--neutral-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* Gallery index */
.gallery-hero {
  padding: calc(var(--draft-h) + 48px) 24px 32px;
  text-align: center;
  background: var(--navy-deep);
  color: var(--white);
}
.gallery-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
}
.gallery-hero p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.75);
}
.gallery-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.gallery-grid {
  background: var(--white);
  padding: 48px 24px 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: min(100%, var(--max));
  margin: 0 auto;
}
.gallery-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  background: var(--white);
}
.gallery-card:hover { box-shadow: var(--shadow-soft); }
.gallery-preview {
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.gallery-preview--alt { background: linear-gradient(135deg, #14304F, #1E3A5F); }
.gallery-preview--svc {
  background:
    radial-gradient(circle at 70% 40%, rgba(232,93,4,0.35), transparent 50%),
    linear-gradient(135deg, #061427, #0B1F3A);
}
.gallery-preview--trn {
  background:
    radial-gradient(circle at 30% 60%, rgba(232,93,4,0.3), transparent 45%),
    linear-gradient(160deg, #061427, #14304F);
}
.gallery-body { padding: 20px 22px 22px; }
.gallery-body h2 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.gallery-body p { font-size: 14px; color: var(--text); margin: 0 0 12px; }
.gallery-meta { font-size: 13px; font-weight: 600; color: var(--navy); }

.cta-band {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta-band h2 { color: var(--navy); }
.cta-band .phone-lg {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
  margin: 8px 0 16px;
  text-decoration: none !important;
}
.hours { font-size: 13px; color: #888; }

/* Body offset for fixed header on light pages */
body.has-light-footer { background: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card:nth-child(2) { margin-top: 0; }
  .working-grid { grid-template-columns: 1fr; }
  .stories-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-tagline { text-align: left; grid-column: 1 / -1; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .icon-feature-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 12px 16px 20px;
    gap: 0;
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .header-utils { display: none; }
  .solution-grid, .course-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .float-cta { right: 12px; bottom: 12px; padding: 12px 16px; font-size: 13px; }
  .hero-controls { display: none; }
}

/* Responsive embeds (training / forms / OneDrive) */
.embed-block { margin: 20px 0 28px; }
.embed-block h3 { font-size: 18px; color: var(--navy); margin: 0 0 10px; }
.embed-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1628;
  border: 1px solid var(--neutral-border);
}
.embed-frame--16x9 { padding-top: 56.25%; }
.embed-frame--4x3 { padding-top: 75%; }
.embed-frame--tall { padding-top: 120%; min-height: 640px; }
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-stack { display: grid; gap: 28px; }
.embed-note { font-size: 14px; color: var(--text); margin: 8px 0 0; }
.training-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .training-link-grid { grid-template-columns: 1fr; }
  .embed-frame--tall { min-height: 520px; padding-top: 140%; }
}
.training-link-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
}
.training-link-card:hover { border-color: var(--amber); }
.training-link-card .sk {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.training-link-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy);
}
.training-link-card p { margin: 0; font-size: 13px; color: var(--text); }
