/* ========================================
   Mile Solutions — Static Site Styles
   Brand: Deep Forest · Warm Off-White · Sage · Amber
   ======================================== */

:root {
  /* Brand Style Board */
  --forest: #0F5132;
  --forest-deep: #0A3D26;
  --sage: #A7B89F;
  --sage-soft: #D5DFD0;
  --amber: #F4B24D;
  --amber-hover: #E09A2E;
  --charcoal: #333333;
  --ink: #333333;
  --muted: #5C665F;
  --line: rgba(15, 81, 50, 0.12);
  --bg: #FAFAF8;
  --bg-warm: #F3F1EA;
  --bg-elevated: #FFFFFF;
  --white: #FAFAF8;
  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 16px 40px rgba(15, 81, 50, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 81, 50, 0.12);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --section-y: clamp(2.75rem, 5.5vw, 4.5rem);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

/* Keep section titles clear of the fixed header on nav jumps */
section[id],
[id].section {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(167, 184, 159, 0.35), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(244, 178, 77, 0.12), transparent 48%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
}

.lead {
  font-size: 1.125rem;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.7rem;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
}

.section-intro .lead {
  margin-top: 0.35rem;
}

/* ---------- Image slots (replace later with real photos) ---------- */
.img-slot {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 81, 50, 0.08), rgba(143, 168, 139, 0.18)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(15, 81, 50, 0.03) 10px,
      rgba(15, 81, 50, 0.03) 11px
    );
  border: 1px dashed rgba(15, 81, 50, 0.22);
}

.img-slot-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
}

.img-slot-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.img-slot-hint {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 16rem;
}

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

/* When you add an image, hide the placeholder labels */
.img-slot:has(> img) .img-slot-inner {
  display: none;
}

.img-slot:has(> img) {
  border-style: solid;
  border-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 81, 50, 0.22);
}

.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(15, 81, 50, 0.35);
}

.btn-ghost:hover {
  background: rgba(15, 81, 50, 0.06);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 72px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.loader-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.loader-track {
  width: 160px;
  height: 2px;
  background: var(--line);
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--forest), var(--amber));
  transition: width 0.15s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 81, 50, 0.06);
}

.site-header.is-scrolled {
  background: #fafaf8;
  box-shadow: 0 10px 28px rgba(15, 81, 50, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-mark-img {
  width: 44px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-mile {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--forest);
}

.logo-solutions {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.nav-link span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--amber));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--forest);
}

.nav-link:hover span {
  transform: translateY(-1px);
}

.nav-link:hover span::after,
.nav-link.is-active span::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--forest);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1rem !important;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white) !important;
  overflow: hidden;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-cta span::after {
  display: none;
}

.nav-cta:hover {
  background: var(--forest-deep);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25);
}

.nav-cta:hover span {
  transform: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--forest);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero (full-bleed — no card) ---------- */
.hero {
  position: relative;
  background: #e8e4da;
}

.hero-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-visual picture,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-photo {
  object-fit: cover;
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(250, 250, 248, 0.94) 0%,
      rgba(250, 250, 248, 0.78) 26%,
      rgba(250, 250, 248, 0.28) 46%,
      transparent 64%
    ),
    linear-gradient(180deg, rgba(250, 250, 248, 0.12) 0%, transparent 30%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(34rem, 100%);
  max-width: 34rem;
  margin: 0;
  margin-left: max(0px, calc((100% - 1180px) / 2));
  text-align: left;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.hero-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--amber-hover);
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
  color: var(--charcoal);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
  color: #3d4741;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: rgba(15, 81, 50, 0.45);
}

.btn-outline-dark:hover {
  background: rgba(15, 81, 50, 0.08);
  transform: translateY(-2px);
}

/* ---------- Reveal ---------- */
/* Default VISIBLE — JS animates from hidden only when motion runs.
   Prevents empty “gap” bugs if a tween never fires. */
.reveal {
  opacity: 1;
  transform: none;
}

body.has-motion .reveal:not(.is-visible):not(.hero .reveal) {
  /* briefly allow JS control; still readable if JS stalls */
  opacity: 1;
}

/* Motion polish — interactive hover lift */
.service,
.challenge,
.team-card,
.values-grid li,
.process-item {
  will-change: transform;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-outline-dark::after,
.btn-outline::after {
  background: linear-gradient(120deg, transparent 30%, rgba(15, 81, 50, 0.1) 50%, transparent 70%);
}

.journey-chain li.is-on .chain-node {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.about-visual {
  overflow: hidden;
}

.challenges-cta .btn {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.challenges-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.22);
}

/* ---------- Journey / Problem ---------- */
.section-problem {
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(167, 184, 159, 0.2), transparent 68%),
    #fafaf8;
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

.section-intro-center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.section-intro-center .lead {
  margin-left: auto;
  margin-right: auto;
}

.journey {
  --journey-node: 2.15rem;
  position: relative;
  margin: 1.5rem 0 1.25rem;
  padding: 0.25rem 0;
}

.journey-track {
  position: absolute;
  top: calc(var(--journey-node) / 2);
  left: calc(100% / 16);
  right: calc(100% / 16);
  height: 3px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.journey-track-line {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.12);
}

.journey-track-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--journey-p, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--forest) 0%, var(--sage) 55%, var(--amber) 100%);
  box-shadow: 0 0 12px rgba(244, 178, 77, 0.35);
  will-change: width;
}

.journey-traveler {
  position: absolute;
  top: 50%;
  left: var(--journey-p, 0%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(244, 178, 77, 0.28), 0 0 18px rgba(244, 178, 77, 0.55);
  opacity: 0;
  will-change: left;
}

.journey.is-scrubbing .journey-traveler {
  opacity: 1;
}

.journey-chain {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey-chain li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  opacity: 0.45;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.journey-chain li.is-on {
  opacity: 1;
  transform: none;
}

.chain-node {
  width: var(--journey-node);
  height: var(--journey-node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid rgba(15, 81, 50, 0.22);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(15, 81, 50, 0.04);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.chain-node span {
  line-height: 1;
}

.journey-chain li.is-on .chain-node {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(15, 81, 50, 0.1);
  transform: scale(1.06);
}

.journey-chain li:last-child.is-on .chain-node {
  border-color: var(--amber);
  background: var(--amber);
  color: #1f1a12;
  box-shadow: 0 0 0 5px rgba(244, 178, 77, 0.22);
}

.chain-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  line-height: 1.25;
}

.journey-chain li.is-on .chain-label {
  color: var(--forest);
}

.journey-chain li:last-child.is-on .chain-label {
  color: #9a6b1a;
}

.journey-note {
  text-align: center;
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: #4a534d;
}

/* Vertical scroll-scrubbed chain (tablet + mobile) */
@media (max-width: 900px) {
  .journey {
    --journey-node: 2.1rem;
    margin: 1.25rem 0 1.1rem;
    padding: 0.15rem 0;
  }

  .journey-track {
    display: block;
    top: calc(var(--journey-node) / 2);
    bottom: calc(var(--journey-node) / 2);
    left: calc(var(--journey-node) / 2);
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
  }

  .journey-track-progress {
    width: 100%;
    height: var(--journey-p, 0%);
    bottom: auto;
    background: linear-gradient(180deg, var(--forest) 0%, var(--sage) 55%, var(--amber) 100%);
  }

  .journey-traveler {
    left: 50%;
    top: var(--journey-p, 0%);
    margin: -6px 0 0 -6px;
  }

  .journey-chain {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .journey-chain li {
    display: grid;
    grid-template-columns: var(--journey-node) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    text-align: left;
    gap: 0.85rem;
    padding: 0.15rem 0;
    opacity: 0.36;
    transform: translateY(8px);
  }

  .journey-chain li.is-on {
    opacity: 1;
    transform: none;
  }

  .chain-node {
    z-index: 2;
    width: var(--journey-node);
    height: var(--journey-node);
    font-size: 0.7rem;
    background: #fff;
    border-color: rgba(15, 81, 50, 0.22);
    color: var(--forest);
    box-shadow: 0 0 0 4px #fafaf8;
  }

  .journey-chain li.is-on .chain-node {
    border-color: var(--forest);
    background: var(--forest);
    color: #fff;
    box-shadow: 0 0 0 4px #fafaf8, 0 0 0 7px rgba(15, 81, 50, 0.1);
    transform: scale(1.05);
  }

  .journey-chain li:last-child.is-on .chain-node {
    border-color: var(--amber);
    background: var(--amber);
    color: #1f1a12;
    box-shadow: 0 0 0 4px #fafaf8, 0 0 0 7px rgba(244, 178, 77, 0.2);
  }

  .chain-label {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15, 81, 50, 0.12);
    font-size: 0.9rem;
    line-height: 1.25;
    color: var(--muted);
    transition:
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      color 0.35s ease;
  }

  .journey-chain li.is-on .chain-label {
    color: var(--forest);
    border-color: rgba(15, 81, 50, 0.22);
    box-shadow: 0 8px 20px rgba(15, 81, 50, 0.08);
  }

  .journey-chain li:last-child.is-on .chain-label {
    color: #9a6b1a;
    border-color: rgba(224, 154, 46, 0.35);
  }
}

/* ---------- About ---------- */
.section-about {
  padding-top: clamp(3rem, 5vw, 4rem);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.about-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef2ec;
  line-height: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.about-visual img {
  width: 100%;
  height: min(420px, 58vh);
  display: block;
  object-fit: cover;
  object-position: 72% center;
}

.about-content h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.15;
}

.about-copy {
  margin-bottom: 1.5rem;
}

.about-copy p {
  margin-bottom: 1rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3d4741;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.vision-mission {
  display: grid;
  gap: 0.9rem;
}

.vm-block {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--amber);
  background: rgba(15, 81, 50, 0.04);
}

.vm-block h3 {
  color: var(--forest);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.vm-block p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Values ---------- */
.section-values {
  background: linear-gradient(180deg, #fafaf8 0%, #f3f1ea 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.values-grid li {
  padding: 1.45rem 1.35rem;
  background: linear-gradient(165deg, #fff 0%, #f8f7f2 100%);
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(15, 81, 50, 0.04);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.values-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 81, 50, 0.28);
  box-shadow: var(--shadow);
}

.values-grid strong {
  display: block;
  font-family: var(--font-display);
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.values-grid span {
  color: #4a534d;
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ---------- Why ---------- */
.section-why {
  background:
    radial-gradient(800px 420px at 90% 10%, rgba(244, 178, 77, 0.18), transparent 55%),
    linear-gradient(145deg, #0f5132 0%, #0a3d26 55%, #072e1c 100%);
  color: var(--white);
}

.section-why h2,
.section-why h3 {
  color: var(--white);
}

.section-why .eyebrow {
  color: var(--amber);
}

.section-why .lead,
.section-why p {
  color: rgba(255, 252, 247, 0.78);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 252, 247, 0.12);
}

.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--amber);
  font-size: 0.95rem;
  padding-top: 0.15rem;
}

/* ---------- Services ---------- */
.section-services {
  background:
    linear-gradient(180deg, rgba(243, 241, 234, 0.65) 0%, #fafaf8 40%, #fafaf8 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.service {
  position: relative;
  padding: 1.85rem 1.7rem 1.7rem;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7f6f1 100%);
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-left: 4px solid var(--forest);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 81, 50, 0.05);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service:nth-child(even) {
  border-left-color: #8a9f7a;
}

.service:nth-child(4n),
.service:nth-child(4n-1) {
  border-left-color: var(--amber);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 81, 50, 0.12);
  border-color: rgba(15, 81, 50, 0.28);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--forest);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 1.7rem;
  padding: 0 0.55rem;
  margin-bottom: 0.95rem;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.1);
  border: 1px solid rgba(15, 81, 50, 0.14);
}

.service h3 {
  color: var(--forest-deep);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.service > p {
  margin-bottom: 1.15rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #3d4741;
}

.service ul {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(15, 81, 50, 0.1);
}

.service li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.15rem;
  font-size: 0.95rem;
  color: #445048;
  line-height: 1.45;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.1);
}

/* ---------- Expertise ---------- */
.section-expertise {
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(244, 178, 77, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(167, 184, 159, 0.18) 0%, #fafaf8 100%);
}

.expertise-marquee {
  margin: 0 -1.5rem 1.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.expertise-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(15, 81, 50, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.expertise-track span::after {
  content: "·";
  margin-left: 2.5rem;
  color: var(--amber);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.expertise-tags li {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 81, 50, 0.14);
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  box-shadow: 0 2px 8px rgba(15, 81, 50, 0.04);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.expertise-tags li:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 81, 50, 0.3);
  background: #fff;
}

/* ---------- Process ---------- */
.section-process {
  background: #fafaf8;
}

.process-list {
  display: grid;
  gap: 0.75rem;
  border-top: none;
  counter-reset: none;
}

.process-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 1.35rem;
  border: 1px solid rgba(15, 81, 50, 0.1);
  border-radius: 12px;
  background: linear-gradient(165deg, #fff 0%, #f7f6f1 100%);
  border-bottom: 1px solid rgba(15, 81, 50, 0.1);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}

.process-item:hover {
  padding-left: 1.35rem;
  transform: translateX(4px);
  background: linear-gradient(165deg, #fff 0%, #f3f1ea 100%);
  border-color: rgba(15, 81, 50, 0.22);
  box-shadow: var(--shadow);
}

.process-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--forest);
  opacity: 0.55;
}

.process-item h3 {
  color: var(--forest-deep);
  margin-bottom: 0.35rem;
}

.process-item p {
  margin: 0;
  color: #4a534d;
}

/* ---------- Audience ---------- */
.section-audience {
  background: linear-gradient(180deg, #f3f1ea 0%, #fafaf8 100%);
}

.audience-list {
  margin-top: 0.25rem;
  display: grid;
  gap: 0.7rem;
}

.audience-list-wide {
  grid-template-columns: repeat(2, 1fr);
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(165deg, #fff 0%, #f8f7f2 100%);
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: 10px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(15, 81, 50, 0.03);
  transition: border-color 0.25s, transform 0.25s;
}

.audience-list li:hover {
  border-color: rgba(15, 81, 50, 0.28);
  transform: translateY(-2px);
}

.audience-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 178, 77, 0.2);
}

/* ---------- Team ---------- */
.section-team {
  background: #fafaf8;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.4rem;
  background: linear-gradient(165deg, #fff 0%, #f7f6f1 100%);
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(15, 81, 50, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.24);
}

.team-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest), #1a6b45);
  color: var(--sage-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.team-intro {
  min-width: 0;
}

.team-intro h3 {
  margin-bottom: 0.35rem;
}

.team-intro .team-role {
  margin-bottom: 0;
}

.team-body {
  padding: 0;
  min-width: 0;
}

.team-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(15, 81, 50, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.team-role {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber-hover);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.team-bio,
.team-expertise,
.team-assoc {
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.team-assoc {
  font-weight: 600;
  color: var(--forest);
}

.team-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.team-link:hover {
  border-color: var(--forest);
}

.team-footer {
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: linear-gradient(120deg, rgba(15, 81, 50, 0.08), rgba(244, 178, 77, 0.12));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 81, 50, 0.12);
}

.team-footer h3 {
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.team-tagline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--forest);
}

/* ---------- Challenges ---------- */
.section-challenges {
  padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(167, 184, 159, 0.18), transparent 60%),
    #fafaf8;
}

.challenges-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.challenges-head h2 {
  margin-bottom: 0;
}

.challenges-note {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 28rem;
  justify-self: end;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.challenge {
  position: relative;
  padding: 1.45rem 1.4rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-top: 3px solid var(--forest);
  background: linear-gradient(180deg, #ffffff 0%, #f6f5f0 100%);
  box-shadow: 0 8px 22px rgba(15, 81, 50, 0.04);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s;
}

.challenge:nth-child(3n-1) {
  border-top-color: #8a9f7a;
}

.challenge:nth-child(3n) {
  border-top-color: var(--amber);
}

.challenge:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 81, 50, 0.22);
  box-shadow: 0 16px 36px rgba(15, 81, 50, 0.1);
}

.challenge-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 0.7rem;
  opacity: 0.7;
}

.challenge h3 {
  color: var(--forest-deep);
  font-size: 1.08rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.challenge p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #3d4741;
  font-style: italic;
}

.challenges-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(15, 81, 50, 0.06);
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.challenges-cta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
}

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(244, 178, 77, 0.16), transparent 55%),
    linear-gradient(180deg, #fafaf8 0%, #f3f1ea 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-meta {
  margin: 1.75rem 0;
  display: grid;
  gap: 0.75rem;
}

.contact-meta li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.5rem;
  font-size: 0.98rem;
}

.contact-meta span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  padding-top: 0.2rem;
}

.contact-meta a {
  color: var(--forest);
  font-weight: 600;
}

.contact-form {
  position: relative;
  padding: 2rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8f7f2 100%);
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.12);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 600;
}

.form-status.is-success {
  color: var(--forest);
}

.form-status.is-error {
  color: #9b2c2c;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ---------- Lead capture popup ---------- */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lead-popup[hidden] {
  display: none !important;
}

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 61, 38, 0.48);
  backdrop-filter: blur(3px);
}

.lead-popup-panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 1.75rem 1.5rem 1.35rem;
  background: var(--bg);
  border: 1px solid rgba(15, 81, 50, 0.14);
  box-shadow: 0 28px 60px rgba(10, 61, 38, 0.22);
  animation: leadPopupIn 0.4s var(--ease);
}

@keyframes leadPopupIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lead-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lead-popup-close:hover {
  color: var(--forest);
}

.lead-popup-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-hover);
  margin-bottom: 0.45rem;
}

.lead-popup-title {
  font-size: clamp(1.45rem, 4vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
}

.lead-popup-copy {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.lead-popup-form {
  display: grid;
  gap: 0.75rem;
}

.lead-popup-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest);
}

.lead-popup-form input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid rgba(15, 81, 50, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.lead-popup-form input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.12);
}

.lead-popup-form .btn {
  margin-top: 0.15rem;
}

.lead-popup-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.lead-popup-dismiss {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lead-popup-dismiss:hover {
  color: var(--forest);
}

body.lead-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3.25rem 0 2.25rem;
  border-top: none;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(244, 178, 77, 0.14), transparent 55%),
    linear-gradient(160deg, #0f5132 0%, #0a3d26 55%, #072818 100%);
  color: rgba(250, 250, 248, 0.82);
}

.site-footer .logo-mile {
  color: #fafaf8;
}

.site-footer .logo-solutions {
  color: rgba(250, 250, 248, 0.62);
}

.site-footer .logo-mark-img {
  filter: brightness(0) invert(1) opacity(0.95);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 22rem;
  color: rgba(250, 250, 248, 0.72);
}

.footer-line {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber) !important;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(250, 250, 248, 0.7);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--amber);
}

.footer-meta p {
  font-size: 0.9rem;
  color: rgba(250, 250, 248, 0.62);
}

.copyright {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
  color: rgba(250, 250, 248, 0.5) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-layout,
  .why-grid,
  .contact-layout,
  .footer-inner,
  .challenges-head {
    grid-template-columns: 1fr;
  }

  .challenges-note {
    justify-self: start;
  }

  .hero-photo {
    object-position: 72% center;
  }

  .about-visual {
    position: relative;
    top: 0;
    max-width: 36rem;
    width: 100%;
  }

  .about-visual img {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: none;
    object-position: center 30%;
  }

  .team-grid,
  .services-grid,
  .values-grid,
  .challenge-grid,
  .audience-list-wide {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --section-y: clamp(2.25rem, 7vw, 3rem);
  }

  body {
    font-size: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(1180px, calc(100% - 2.5rem));
  }

  h2 {
    font-size: clamp(1.55rem, 6.2vw, 2rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .section-intro {
    margin-bottom: 1.25rem;
  }

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

  .section-intro-center .lead {
    margin-inline: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 0.35rem 1.25rem 1.35rem;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 81, 50, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

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

  .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav-link span::after {
    bottom: -0.2rem;
  }

  .nav-cta {
    margin: 0.85rem 0 0.25rem;
    text-align: center;
    padding: 0.85rem 1rem !important;
  }

  .nav-cta span::after {
    display: none;
  }

  .logo-mark-img {
    width: 38px;
  }

  .logo-mile {
    font-size: 0.88rem;
  }

  .logo-solutions {
    font-size: 0.6rem;
  }

  /* Mobile: text/buttons on image; extra length below CTAs */
  .hero {
    background: var(--bg);
  }

  .hero-panel {
    position: relative;
    min-height: 0;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1.1rem) 1.35rem 5.5rem;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
  }

  .hero-photo {
    object-fit: cover;
    object-position: center 35%;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(250, 250, 248, 0.7) 0%,
      rgba(250, 250, 248, 0.55) 55%,
      rgba(250, 250, 248, 0.45) 100%
    );
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    margin: 0;
    width: 100%;
    max-width: none;
    background: transparent;
  }

  .hero-kicker {
    font-size: clamp(1.05rem, 4.5vw, 1.22rem);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
  }

  .hero-line {
    font-size: 0.94rem;
    margin-bottom: 0.7rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.8vw, 1.85rem);
    margin-bottom: 0.7rem;
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  .hero-sub {
    font-size: 0.96rem;
    margin-bottom: 1.1rem;
    max-width: none;
    line-height: 1.58;
    color: #3d4741;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.9rem 1.15rem;
    font-size: 0.92rem;
  }

  .hero-actions .btn-outline-dark {
    background: rgba(250, 250, 248, 0.94);
    border-color: rgba(15, 81, 50, 0.35);
  }

  .section-problem {
    padding-top: 2.5rem;
    padding-bottom: 1.75rem;
  }

  .journey {
    margin-top: 0.35rem;
  }

  .journey-note {
    font-size: 0.95rem;
    text-align: left;
    margin-top: 1.1rem;
    margin-bottom: 0;
  }

  .section-about {
    padding-top: 1.5rem;
  }

  .about-layout {
    gap: 1.25rem;
  }

  /* Full-bleed portrait about image on mobile */
  .about-visual {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }

  .about-visual picture,
  .about-visual img {
    display: block;
    width: 100%;
  }

  .about-visual img {
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: 72svh;
    object-fit: cover;
    object-position: center 28%;
  }

  .about-content h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    margin-bottom: 0.95rem;
  }

  .about-content h2 br {
    display: none;
  }

  .about-copy {
    margin-bottom: 1.25rem;
  }

  .about-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .vm-block {
    padding: 1rem 1rem;
  }

  .values-grid li,
  .service,
  .challenge,
  .process-item {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .audience-list {
    gap: 0.6rem;
  }

  .audience-list li {
    padding: 0.9rem 1rem;
    gap: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .audience-list li::before {
    margin-top: 0.4rem;
  }

  .service {
    padding: 1.25rem 1.15rem;
  }

  .service-num {
    font-size: 0.78rem;
  }

  .team-grid {
    gap: 1rem;
  }

  .team-card {
    gap: 0.85rem;
    padding: 1.2rem;
  }

  .team-top {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .team-tag {
    margin-bottom: 0.45rem;
  }

  .team-card h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .team-role {
    font-size: 0.88rem;
  }

  .team-bio,
  .team-expertise,
  .team-assoc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .team-bio {
    margin-bottom: 0.7rem;
  }

  .team-footer {
    padding: 1.25rem 1.15rem;
    margin-top: 1.25rem;
  }

  .team-tagline {
    font-size: 1.1rem;
  }

  .team-grid,
  .services-grid,
  .values-grid,
  .challenge-grid,
  .audience-list-wide,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 3rem 1fr;
    gap: 0.7rem;
    padding: 1.1rem;
  }

  .expertise-marquee {
    margin: 0 -1rem 1.25rem;
  }

  .expertise-track {
    font-size: 1.15rem;
    gap: 1.5rem;
  }

  .expertise-track span::after {
    margin-left: 1.5rem;
  }

  .expertise-tags {
    gap: 0.5rem;
  }

  .expertise-tags li {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .contact-layout {
    gap: 1.75rem;
  }

  .contact-meta li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-form {
    padding: 1.15rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom */
  }

  .form-status {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.75rem;
  }

  .challenges-cta {
    padding: 1.25rem 1.15rem;
  }

  .btn {
    padding: 0.9rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 2rem);
  }

  .hero-panel {
    padding-inline: 1.2rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-title br {
    display: none;
  }

  .hero-sub {
    font-size: 0.93rem;
    margin-bottom: 0.95rem;
  }

  .hero-actions .btn {
    padding: 0.88rem 1.05rem;
  }

  .journey-chain {
    grid-template-columns: 1fr;
  }

  .why-list li {
    gap: 0.75rem;
  }

  .challenge-num {
    font-size: 0.75rem;
  }

  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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