/* Stratium Consulting Group — Soft Institutional Design System */

/* ── Custom Properties ───────────────────────────────────────────────── */
:root {
  --graphite: #16181D;
  --navy: #222833;
  --blue: #4A6FA5;
  --blue-light: #7D93B2;
  --ivory: #F5F1EA;
  --linen: #ECE7DF;
  --ink: #2A2A2A;
  --ink-soft: #6B6560;
  --border: #D8D2C8;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 68px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--graphite);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Custom Cursor ───────────────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .25s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 111, 165, .6);
  transition: width .25s, height .25s, opacity .25s;
}

.cursor-ring.large {
  width: 48px;
  height: 48px;
  border-color: rgba(74, 111, 165, .35);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 13px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .2s, transform .15s;
}

.btn-primary:hover {
  background: #3A5A8A;
  transform: translateY(-1px);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  color: rgba(245, 241, 234, .75);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(245, 241, 234, .2);
  transition: color .2s, border-color .2s;
}

.btn-ghost-hero:hover {
  color: var(--ivory);
  border-color: rgba(245, 241, 234, .5);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s;
}

.text-link:hover {
  opacity: .75;
}

/* ── Section Labels ──────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section-label-center {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-label-center::before,
.section-label-center::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--blue);
  opacity: .5;
}

.section-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-centered h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.018em;
  color: var(--graphite);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── Reveal Animations ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal[data-delay="1"] {
  transition-delay: .1s;
}

.reveal[data-delay="2"] {
  transition-delay: .2s;
}

.reveal[data-delay="3"] {
  transition-delay: .3s;
}

.reveal[data-delay="4"] {
  transition-delay: .4s;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--graphite);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.nav.post-hero {
  background: rgba(245, 241, 234, .97);
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ivory);
  transition: color .3s;
}

.nav.post-hero .nav-brand-name {
  color: var(--graphite);
}

.nav-brand-tag {
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .12em;
  color: rgba(245, 241, 234, .45);
  transition: color .3s;
}

.nav.post-hero .nav-brand-tag {
  color: var(--ink-soft);
}

.nav.post-hero svg rect {
  fill: var(--graphite);
}

.nav.post-hero svg path[stroke="#16181D"] {
  stroke: var(--ivory);
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}

.nav.post-hero .nav-logo {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(245, 241, 234, .65);
  transition: color .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ivory);
}

.nav.post-hero .nav-link {
  color: var(--ink-soft);
}

.nav.post-hero .nav-link:hover,
.nav.post-hero .nav-link.active {
  color: var(--ink);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background .2s;
}

.btn-nav-cta:hover {
  background: #3A5A8A;
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--graphite);
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter) 80px clamp(20px, 5vw, 80px);
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ivory);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245, 241, 234, .65);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 48px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-stat-n {
  font-size: 24px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-l {
  font-size: 11.5px;
  color: rgba(245, 241, 234, .45);
  letter-spacing: .04em;
}

.hero-stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .1);
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  z-index: 0;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.hero-visual-geo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(74, 111, 165, .12) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 40px,
      rgba(255, 255, 255, .025) 40px, rgba(255, 255, 255, .025) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px,
      rgba(255, 255, 255, .015) 40px, rgba(255, 255, 255, .015) 41px);
}

.hero-visual-geo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(74, 111, 165, .18) 0%, transparent 65%);
}

.hero-visual-geo::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  right: 0;
  bottom: 35%;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 2px;
}

.hero-visual-labels {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8%;
}

.hero-visual-labels span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(245, 241, 234, 1);
  line-height: 2;
}

.hero-chart-line {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  opacity: .7;
}

/* ── SCROLL HINT ─────────────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
  /* override reveal's translateY while keeping horizontal centering */
  transform: translateX(-50%) translateY(22px) !important;
}

.scroll-hint.in {
  transform: translateX(-50%) translateY(0) !important;
}

.scroll-hint.hidden {
  opacity: 0 !important;
  transform: translateX(-50%) !important;
}

.scroll-hint span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .85);
  text-shadow: 0 0 20px rgba(245, 241, 234, .3);
}

.scroll-pill {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(245, 241, 234, .6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 12px rgba(245, 241, 234, .1);
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: rgba(245, 241, 234, 1);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(245, 241, 234, .8);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(12px);
    opacity: 0.2;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── SERVICES ────────────────────────────────────────────────────────── */
.services {
  background: var(--ivory);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.services-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.services-header h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--graphite);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.service-card:hover {
  background: var(--navy);
}

.service-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  margin-bottom: 20px;
  color: var(--blue-light);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-desc {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(245, 241, 234, .5);
  margin-bottom: 28px;
}

.service-cta {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: .03em;
  margin-top: auto;
  transition: color .2s;
}

.service-cta:hover {
  color: var(--ivory);
}

/* ── ABOUT ───────────────────────────────────────────────────────────── */
.about {
  background: var(--linen);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.about-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(74, 111, 165, .1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(74, 111, 165, .2);
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-box {
  border-radius: 6px;
  padding: 28px 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-box--blue {
  background: var(--blue);
}

.about-box--navy {
  background: var(--navy);
}

.about-box--mid {
  background: #3A5F8A;
}

.about-box--graphite {
  background: var(--graphite);
}

.about-box-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 6px;
}

.about-box-sub {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 241, 234, .6);
}

.about-text {}

.about-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.018em;
  color: var(--graphite);
  margin-bottom: 16px;
}

.about-text>p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-checklist li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.about-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: rgba(74, 111, 165, .15);
}

/* ── DIVERSITY, EQUITY & INCLUSION ──────────────────────────────────── */
.dei {
  background: var(--ivory);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.dei-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.dei-content h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--graphite);
  margin-bottom: 14px;
}

.dei-content>p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.dei-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dei-sub-item {
  padding: 20px;
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.dei-sub-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}

.dei-sub-item p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.dei-image {
  height: 460px;
  border-radius: 6px;
  overflow: hidden;
}

.dei-image-inner {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.dei-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── ENVIRONMENTAL RESPONSIBILITY ────────────────────────────────────── */
.environmental {
  background: var(--linen);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.env-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.env-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 28px;
  transition: box-shadow .2s, transform .2s;
}

.env-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .07);
  transform: translateY(-3px);
}

.env-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--blue);
  margin-bottom: 20px;
}

.env-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 12px;
}

.env-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.env-policy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.env-policy-image {
  height: 360px;
}

.env-policy-image-inner {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.env-policy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.env-policy-text {
  padding: 48px 48px 48px 0;
}

.env-policy-text h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 14px;
}

.env-policy-text>p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.env-policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.env-policy-list li {
  font-size: 13.5px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.env-policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: rgba(74, 111, 165, .15);
}

/* ── CONTACT ─────────────────────────────────────────────────────────── */
.contact {
  background: var(--ivory);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.contact .section-centered {
  margin-bottom: 56px;
}

.contact-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.contact-cell {
  background: var(--linen);
  padding: 36px 28px;
  text-align: center;
  transition: background .2s;
}

.contact-cell:hover {
  background: #E4DED6;
}

.contact-cell-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
  margin: 0 auto 16px;
  background: var(--ivory);
}

.contact-cell-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.contact-cell-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: 4px;
}

.contact-cell-val a {
  color: var(--blue);
}

.contact-cell-val a:hover {
  text-decoration: underline;
}

.contact-cell-sub {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--graphite);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ivory);
}

.footer-brand-tag {
  font-size: 8.5px;
  letter-spacing: .1em;
  color: rgba(245, 241, 234, .3);
}

.footer-about>p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 241, 234, .4);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(245, 241, 234, .45);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, .25);
  color: var(--ivory);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .35);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col li a,
.footer-col li {
  font-size: 13px;
  color: rgba(245, 241, 234, .45);
  transition: color .2s;
}

.footer-col li a:hover {
  color: rgba(245, 241, 234, .8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
  color: rgba(245, 241, 234, .3);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(245, 241, 234, .3);
  transition: color .2s;
}

.footer-legal a:hover {
  color: rgba(245, 241, 234, .6);
}

/* ── Hamburger ───────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(245, 241, 234, .8);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}

.nav.post-hero .nav-hamburger span {
  background: var(--ink);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .env-policy {
    grid-template-columns: 1fr;
  }

  .env-policy-image {
    height: 260px;
  }

  .env-policy-text {
    padding: 40px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 80px var(--gutter) 72px;
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .dei-grid {
    grid-template-columns: 1fr;
  }

  .dei-image {
    height: 300px;
  }

  .env-cards {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cells {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {

  /* Nav — show hamburger, hide inline links */
  .nav-hamburger {
    display: flex;
  }

  .btn-nav-cta {
    display: none;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--graphite);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 0 16px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 99;
    margin-left: 0;
  }

  .nav.post-hero .nav-links {
    background: rgba(245, 241, 234, .97);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .nav-link {
    width: 100%;
    text-align: center;
    padding: 13px 24px;
    font-size: 15px;
    color: rgba(245, 241, 234, .75);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  .nav.post-hero .nav-links .nav-link {
    color: var(--ink-soft);
    border-color: var(--border);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

}

@media (max-width: 640px) {

  /* Scroll indicator — phone shape */
  .scroll-pill {
    width: 26px;
    height: 50px;
    border-radius: 7px;
    padding-top: 12px;
    position: relative;
  }

  .scroll-pill::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 2px;
    background: rgba(245, 241, 234, .5);
    border-radius: 1px;
  }

  @keyframes scroll-bounce {
    0% {
      transform: translateY(0);
      opacity: 1;
    }

    60% {
      transform: translateY(22px);
      opacity: 0.2;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Layout */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-boxes {
    grid-template-columns: 1fr 1fr;
  }

  .dei-sub-grid {
    grid-template-columns: 1fr;
  }

  .env-cards {
    grid-template-columns: 1fr;
  }

  .contact-cells {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}