@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap");

:root {
  --bg: #ffffff;
  --bg-elevated: #f5f6f8;
  --bg-card: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-footer: #082c5a;
  --bg-btn-muted: #eef0f3;
  --text: #082c5a;
  --text-muted: #5a6b7d;
  --text-dim: #8a97a8;
  --accent: #f85a4e;
  --accent-short: #f85a4e;
  --accent-2: #f85a4e;
  --accent-hover: #e04a3f;
  --accent-ink: #ffffff;
  --border: #e3e6eb;
  --shadow: 0 8px 16px rgba(8, 44, 90, 0.12);
  --shadow-lg: 0 18px 50px rgba(8, 44, 90, 0.14);
  --radius: 0;
  --radius-pill: 999px;
  --header-h: 76px;
  --max: 1200px;
  --font: Roboto, Helvetica, Arial, sans-serif;
  --font-display: Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-family: var(--font-display);
}

.nav-link,
.crumbs,
.hero-tagline {
  color: var(--text);
}

.lede {
  color: var(--text-muted);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--text);
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.btn span {
  display: inline-block;
}

.btn-outline {
  border-color: var(--border);
  background: var(--bg-btn-muted);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-accent {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-dark {
  border-color: var(--text);
  color: var(--text);
}

.btn-dark:hover {
  background: var(--text);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: var(--radius-pill);
}

.btn-ghost:hover {
  border-color: #fff;
}

.header-cta {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  min-height: 40px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  text-transform: none;
  letter-spacing: 0;
}

.header-cta:hover {
  border-color: var(--text);
  color: var(--text);
  background: #fff;
}

.site-header.mega-open .header-cta,
.site-header.is-scrolled .header-cta {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.site-header.mega-open .header-cta {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.site-header.mega-open .header-cta:hover {
  border-color: #fff;
  color: #fff;
}

.site-header.is-scrolled .header-cta:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Header — light by default */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: visible;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(23, 30, 42, 0.04);
  background: #fff;
}

.site-header.mega-open {
  background: #082c5a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-header .nav-link,
.site-header .menu-toggle {
  color: var(--text);
}

.site-header.mega-open .nav-link,
.site-header.mega-open .menu-toggle {
  color: #fff;
}

.site-header.is-scrolled .header-cta {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.site-header.mega-open .header-cta {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.site-header.mega-open .header-cta:hover {
  border-color: #fff;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 12px;
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wordmark {
  height: 28px;
  width: auto;
  border-radius: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-item {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 26px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

a.nav-link {
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}

.nav-item.is-open > .nav-link::after {
  transform: scaleX(1);
}

/* Full-viewport mega menu (edge-to-edge, header → bottom) */
.mega-root {
  position: static;
}

.mega {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  z-index: 990;
  padding: 40px 0 48px;
  margin: 0;
  background: linear-gradient(180deg, #082c5a 0%, #0a4a6e 50%, #0d6b7a 100%);
  color: #fff;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  overflow: auto;
  box-sizing: border-box;
}

.mega.is-open {
  display: block;
}

body.mega-is-open {
  overflow: hidden;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 40px;
  align-items: start;
}

.mega-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1200px) {
  .mega-inner {
    grid-template-columns: 1fr;
  }

  .mega-main {
    border-right: 0;
    padding-right: 0;
  }

  .mega-quote {
    max-width: 480px;
  }
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mega-stack + .mega-stack {
  margin-top: 4px;
}

.mega-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.mega-links a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.15s ease;
}

.mega-links a:hover {
  color: var(--accent);
}

.mega-quote {
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 220px;
}

.mega-quote p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.mega-quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-quote-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mega-quote-person strong {
  display: block;
  font-size: 14px;
}

.mega-quote-person span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.mobile-panel {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 0px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 24px) 0 64px;
  color: var(--text);
  background: #fff;
  overflow: hidden;
}

.hero-bg {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px 36px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 11ch;
}

.hero-visual {
  position: relative;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 480px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.hero-tagline {
  position: absolute;
  right: 0;
  bottom: 18%;
  margin: 0;
  max-width: 12em;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text);
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}

/* Sections */
.section {
  padding: 96px 0;
  background: #fff;
}

.section.alt {
  background: var(--bg-elevated);
}

.section.light {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 50px;
}

.section-head.is-centered,
.section-head--center {
  display: block;
  text-align: center;
}

.section-head.is-centered .lede,
.section-head--center .lede {
  margin-left: auto;
  margin-right: auto;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.225;
  letter-spacing: -0.008em;
  font-weight: 600;
  color: var(--text);
}

.section-head h2::before,
.page-hero h1::before,
.section > .container > h2::before {
  content: "";
  display: block;
  height: 3px;
  width: 48px;
  background: var(--accent);
  transform: none;
  margin-bottom: 18px;
  border-radius: 2px;
}

.section-head.is-centered h2::before,
.section-head--center h2::before {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--accent);
  transform: none;
  border-radius: 2px;
}

.eyebrow.is-centered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-hover);
  white-space: nowrap;
}

.link-arrow:hover {
  color: var(--text);
}

/* Competency reveal cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card-grid--reveal {
  gap: 16px 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.card p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.learn {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-hover);
}

.card-grid--reveal .card {
  position: relative;
  display: block;
  height: 190px;
  min-height: 190px;
  padding: 0;
  border: none;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.card-grid--reveal .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
  transition: height 0.3s ease, background-color 0.3s ease;
  z-index: 1;
}

.card-grid--reveal .card-inner {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  padding: 24px 32px;
  z-index: 2;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.card-grid--reveal .card-inner h3 {
  margin: 0 0 24px;
  max-width: 60%;
  font-size: 24px;
  line-height: 1.25;
}

.card-grid--reveal .card-body {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card-grid--reveal .card-body p {
  margin: 0 0 24px;
  color: var(--text);
}

.card-grid--reveal .card-body .learn {
  color: var(--text);
}

.card-grid--reveal .card-thumb {
  position: absolute;
  top: 25px;
  right: 0;
  width: 230px;
  height: 150px;
  object-fit: cover;
  pointer-events: none;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1;
}

@media (hover: hover) and (min-width: 1024px) {
  .card-grid--reveal .card:hover {
    z-index: 4;
    border-color: transparent;
    box-shadow: none;
  }

  .card-grid--reveal .card:hover::before {
    height: 3px;
    background: var(--accent);
    z-index: 5;
  }

  .card-grid--reveal .card:hover .card-inner {
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 3;
  }

  .card-grid--reveal .card:hover .card-inner h3 {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .card-grid--reveal .card:hover .card-body {
    opacity: 1;
    visibility: visible;
  }

  .card-grid--reveal .card:hover .card-thumb {
    opacity: 0;
    visibility: hidden;
  }
}

@media (hover: none), (max-width: 1023px) {
  .card-grid--reveal .card {
    height: auto;
    min-height: 0;
  }

  .card-grid--reveal .card-inner {
    position: relative;
  }

  .card-grid--reveal .card-inner h3 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 20px;
  }

  .card-grid--reveal .card-body {
    opacity: 1;
    visibility: visible;
  }

  .card-grid--reveal .card-body p {
    display: none;
  }

  .card-grid--reveal .card-thumb {
    display: none;
  }
}

/* Standards / ISO strip */
.standards {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.standards .lede {
  margin: 16px 0 28px;
}

/* Engagement model cards */
.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.model-card {
  display: block;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.model-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-card-image {
  height: 184px;
  min-height: 184px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.model-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 36px 20px;
}

.model-card-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 12px;
  line-height: 1.5;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translate(4px, -50%);
  z-index: 1;
}

.model-card-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: skewX(-12deg);
  z-index: -1;
}

.model-card-tag--orange::before {
  background: #fda620;
}

.model-card-tag--purple::before {
  background: #8c66de;
}

.model-card-tag--blue::before {
  background: #809cd0;
}

.model-card h3 {
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}

.model-card p {
  margin: 24px 0 auto;
  color: var(--text);
  font-size: 16px;
}

.model-card .learn {
  margin-top: 24px;
  font-size: 16px;
  color: var(--accent);
}

@media (hover: hover) and (min-width: 1024px) {
  .model-card:hover {
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow);
  }

  .model-card:hover .learn {
    color: var(--text);
  }
}

/* Partners / logos */
.logo-row,
.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

/* Cases */
.cases {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.cases-side {
  display: grid;
  gap: 24px;
}

.case-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.case-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 20%, rgba(23, 30, 42, 0.85) 100%);
}

.case-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.case-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.quote-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.quote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.quote-person img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.quote-person strong {
  display: block;
}

.quote-person span {
  color: var(--text-muted);
  font-size: 14px;
}

.testimonial-nav {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--accent);
}

/* Consulting / growth grids */
.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.consult-card {
  display: block;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
}

.consult-card:hover {
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow);
}

.consult-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.consult-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

/* Insights */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.insight-card:hover {
  box-shadow: var(--shadow);
}

.insight-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

.insight-card .body {
  padding: 22px 20px 26px;
}

.insight-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 13px;
}

.insight-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 40px;
  background: var(--bg-elevated);
}

.crumbs {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.crumbs a:hover {
  color: var(--accent-hover);
}

.page-hero .lede {
  margin-top: 16px;
}

/* Service hub / detail */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.service-list a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: 600;
}

.service-list a:hover {
  color: var(--accent-hover);
}

.prose {
  max-width: 760px;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.prose h2 {
  margin: 40px 0 16px;
  font-family: var(--font-display);
  font-size: 28px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  display: block;
  padding: 28px 22px;
  border: 1px solid var(--border);
  background: #fff;
}

.industry-card:hover {
  border-color: var(--accent);
}

.industry-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.industry-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-hover);
}

.stat span {
  color: var(--text-muted);
  font-size: 14px;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}

.faq p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

/* Contact */
.contact-block {
  padding: 96px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.contact-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 0;
}

.contact-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 20px;
  background: rgba(23, 30, 42, 0.88);
  color: #fff;
  width: 100%;
}

.contact-photo strong {
  display: block;
}

.contact-photo span {
  opacity: 0.8;
  font-size: 14px;
}

.contact-form h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-success {
  display: none;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(153, 204, 0, 0.15);
  border: 1px solid var(--accent);
  color: var(--text);
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--bg-footer);
  color: #fff;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(6, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 48px;
}

.site-footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer .lede {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-addresses {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* Cookie policy agreement — full-width bar */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: #082c5a;
  color: #fff;
  border-radius: 0;
  box-shadow: none;
}

.cookie.show {
  display: flex;
}

.cookie p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
  max-width: 52ch;
}

.cookie a {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius-pill);
}

.cookie-actions .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
}

.cookie-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cookie-actions .btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cookie-actions .btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Awards strip */
.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.award-pill {
  min-height: 72px;
  min-width: 140px;
  display: grid;
  place-items: center;
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .mega {
    display: none !important;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    color: inherit;
    order: 1;
    margin-left: 0;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
    margin-right: 4px;
  }

  .logo {
    order: 3;
  }

  .mobile-panel {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow: auto;
    padding: 12px 24px calc(40px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel a,
  .mobile-panel button.accordion {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: var(--text);
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
  }

  .mobile-sub {
    display: none;
    padding: 0 0 10px 8px;
  }

  .mobile-sub.open {
    display: block;
  }

  .mobile-sub a {
    font-weight: 500;
    color: #54595f;
    border: 0;
    padding: 8px 0;
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero-visual {
    min-height: 0;
    order: -1;
    justify-content: center;
  }

  .hero-visual img {
    max-height: min(42vh, 360px);
    width: 100%;
    object-position: center;
  }

  .hero-tagline {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  .section-head.is-centered .link-arrow,
  .section-head--center .link-arrow {
    position: static !important;
    margin-top: 12px;
    display: inline-flex;
  }

  .standards,
  .cases,
  .quote-wrap,
  .split,
  .contact-grid,
  .card-grid,
  .consult-grid,
  .insight-grid,
  .service-list,
  .industry-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head.is-centered,
  .section-head--center {
    align-items: center;
  }

  .page-hero h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .split img {
    height: auto;
    max-height: 320px;
  }

  .awards-row {
    justify-content: center;
  }

  .award-pill {
    flex: 1 1 calc(50% - 16px);
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .model-grid {
    grid-template-columns: 1fr;
  }

  .model-card-content {
    padding: 36px 16px 8px;
  }
}

@media (max-width: 700px) {
  .container,
  .hero-content {
    width: min(var(--max), calc(100% - 32px));
  }

  .logo-wordmark {
    height: 22px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 56px;
    padding-top: calc(var(--header-h) + 24px);
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .page-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section,
  .contact-block {
    padding: 56px 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 28px) 0 32px;
  }

  .crumbs {
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
  }

  .model-grid,
  .insight-grid,
  .stats,
  .footer-grid,
  .industry-grid,
  .form-row,
  .consult-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px 20px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .award-pill {
    flex: 1 1 100%;
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }

  .cookie p {
    max-width: none;
    font-size: 13px;
  }

  .cookie-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-actions .btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
    justify-content: center;
  }

  .cookie-actions .btn-accent {
    grid-column: 1 / -1;
  }

  .header-cta {
    display: none;
  }

  .logo {
    margin-left: auto;
  }

  .mega-grid.cols-3 {
    min-width: 0;
  }

  .prose p,
  .prose li {
    font-size: 16px;
  }

  .contact-photo img {
    max-height: 280px;
    object-fit: cover;
  }
}

/* Keep page content clear of fixed cookie bar */
body:has(#cookieBanner.show) {
  padding-bottom: 120px;
}

@media (max-width: 700px) {
  body:has(#cookieBanner.show) {
    padding-bottom: 160px;
  }
}
