/* ==========================================================================
   Energy One Holdings — design system (v2, light & premium)
   Clean white surfaces, neutral graphite ink (no brown), ember accent.
   Inspiration: Monarch (polish, whitespace) + Thru Tubing (crisp, pro).
   Self-contained — does not depend on base/main/responsive.css.
   ========================================================================== */

/* ---- Self-hosted Futura (shipped in src/assets/fonts) -------------------- */
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicBook.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicMedium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicDemi.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicBold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('../assets/fonts/FuturaCyrillicHeavy.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --paper-2: #f6f7f9; /* alt section / quiet surface */
  --paper-3: #eef0f3; /* deeper surface, hairlines fills */

  --ink: #14161a; /* headings — neutral near-black, NOT brown */
  --ink-2: #4c525b; /* body */
  --ink-3: #8a909a; /* muted / meta */

  --line: rgba(20, 22, 26, 0.1);
  --line-2: rgba(20, 22, 26, 0.16);

  --ember: #ff5600;
  --ember-700: #ff5600; /* brand orange — accent text on light */
  --ember-300: #ff8a4d; /* brighter ember for text on dark */
  --ember-50: #fff1ea;
  --ember-100: #ffe1d2;

  --graphite: #14161a; /* dark band / footer (neutral) */
  --graphite-2: #1d2026;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.05), 0 1px 3px rgba(20, 22, 26, 0.08);
  --shadow-md: 0 6px 18px -6px rgba(20, 22, 26, 0.14);
  --shadow-lg: 0 24px 50px -18px rgba(20, 22, 26, 0.24);
}

/* ---- Reset / base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body.eo {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.eo img {
  max-width: 100%;
  display: block;
}
.eo a {
  color: inherit;
  text-decoration: none;
}
.eo h1,
.eo h2,
.eo h3,
.eo h4 {
  font-family: 'Futura PT', 'Montserrat', sans-serif;
  margin: 0;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.eo p {
  margin: 0;
}
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---- Atoms --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 9px 18px 9px 15px;
  border-radius: 100px;
  /* frosted glass chip — premium, restrained, brand dot only */
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 86, 0, 0.14);
}
/* Default ink label color (hero overrides to white later, so it still wins). */
.eo .eyebrow {
  color: var(--ink-2);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section-head {
  max-width: 660px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.section-head h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 16px;
  text-wrap: balance;
}
.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.08rem;
  max-width: 54ch;
}
.text-ember {
  color: var(--ember);
}

/* Buttons */
.btn {
  --bg: var(--ember);
  --fg: #fff;
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* slimmed to match the eyebrow bar's proportions (kept ≥44px tall for taps) */
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bd);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
/* Beat the global `.eo a { color: inherit }` so button labels use --fg. */
.eo a.btn,
.eo button.btn {
  color: var(--fg);
}
.btn:not(.btn--ghost):not(.btn--light) {
  box-shadow: 0 8px 20px -10px rgba(255, 86, 0, 0.6);
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(255, 86, 0, 0.55);
}
.btn--ghost:hover,
.btn--light:hover {
  box-shadow: var(--shadow-md);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--line-2);
}
.btn--ghost:hover {
  --bd: var(--ink);
  box-shadow: none;
}
.btn--light {
  --bg: #fff;
  --fg: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.link-arrow .arrow {
  color: var(--ember);
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  color: var(--ember-700);
}
.link-arrow:hover .arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.eo-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Frosted glass — same translucent treatment as the hero eyebrow.
     0.08 white frost over the dark hero; .is-light swaps to a soft white
     frost over light sections (both adapt with the marks). */
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
/* Over light sections — soft white frost + ink hairline (matches the eyebrow) */
.eo-header.is-light {
  background: rgba(255, 255, 255, 0.75);
  border-bottom-color: var(--line);
}
/* Hide on scroll-down, reveal on scroll-up (Apple-style, keeps the view clean) */
.eo-header.is-hidden {
  transform: translateY(-100%);
}
.eo-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.eo-logo {
  display: flex;
  align-items: center;
}
.eo-logo img {
  height: 34px;
  width: auto;
  transition: opacity 0.35s var(--ease);
}
.eo-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.eo-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.eo-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--ember);
  transition: width 0.25s var(--ease);
}
.eo-nav a:hover::after {
  width: 100%;
}
.header-cta {
  margin-left: 6px;
}

/* ---- Adaptive marks ------------------------------------------------------
   .is-light → ink marks (over light sections — the default)
   .is-dark  → white marks (over the hero, CTA band, footer)
   JS sets the class from whichever section sits under the bar.            */
.eo-logo .l-light {
  display: none;
}
.eo-logo .l-dark {
  display: block;
}
.eo-header.is-dark .eo-nav a {
  color: #fff;
}
.eo-header.is-dark .eo-burger span {
  background: #fff;
}
.eo-header.is-dark .eo-logo .l-light {
  display: block;
}
.eo-header.is-dark .eo-logo .l-dark {
  display: none;
}
.eo-header.is-light .eo-nav a {
  color: var(--ink);
}
.eo-header.is-light .eo-burger span {
  background: var(--ink);
}
/* While the light mobile menu is open, force ink marks over the overlay */
body.menu-open .eo-header .eo-burger span {
  background: var(--ink);
}
body.menu-open .eo-header .eo-logo .l-light {
  display: none;
}
body.menu-open .eo-header .eo-logo .l-dark {
  display: block;
}
/* The fixed bar must never slide away while the full-screen menu is open */
body.menu-open .eo-header.is-hidden {
  transform: none;
}

.eo-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.eo-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.eo-burger span:nth-child(1) {
  top: 16px;
}
.eo-burger span:nth-child(2) {
  top: 22px;
}
.eo-burger span:nth-child(3) {
  top: 28px;
}
body.menu-open .eo-burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.menu-open .eo-burger span:nth-child(2) {
  opacity: 0;
}
body.menu-open .eo-burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.eo-mobile {
  position: fixed;
  inset: 0;
  z-index: 110;
  /* Frosted glass — same family as the header/eyebrow, kept opaque enough
     that the large links stay perfectly readable over the blurred page. */
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}
body.menu-open .eo-mobile {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.eo-mobile a {
  font-family: 'Futura PT', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 1.6rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.eo-mobile .btn {
  margin-top: 26px;
  align-self: stretch;
  justify-content: center;
  border-bottom: 0;
  color: #fff;
  font-size: 1rem;
}

/* ==========================================================================
   Hero — full-bleed cinematic image, headline + integrated stats
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: calc(var(--header-h) + clamp(2.75rem, 8vh, 6.5rem));
  padding-bottom: clamp(3rem, 12vh, 8rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 28%;
  transform: scale(1.06);
  animation: heroZoom 20s ease-out forwards;
  will-change: transform;
}
/* Looping hero video — fills the media box, sits beneath the gradient wash
   (.hero__media::after). object-position mirrors the previous still framing. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  pointer-events: none;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
/* cinematic neutral wash (graphite, never brown) */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 12, 0.62) 0%,
      rgba(8, 10, 12, 0.18) 34%,
      rgba(8, 10, 12, 0.5) 72%,
      rgba(8, 10, 12, 0.9) 100%
    ),
    radial-gradient(120% 80% at 82% 16%, transparent 42%, rgba(8, 10, 12, 0.55) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  /* sit lower in the frame so the open space below is roughly halved */
  justify-content: flex-end;
  gap: clamp(2.25rem, 11vh, 6.5rem);
}
.hero__lead {
  max-width: 62rem;
}
.hero__foot {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.8vh, 1.8rem);
}
/* Same size as every other eyebrow — only the colors change for the dark hero */
.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.hero .eyebrow::before {
  box-shadow: 0 0 0 4px rgba(255, 86, 0, 0.22);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 18ch;
  margin-top: clamp(14px, 2.2vh, 26px);
  text-wrap: balance;
}
.hero__sub {
  margin-top: clamp(16px, 2.4vh, 28px);
  max-width: 52ch;
  font-size: clamp(1.1rem, 1.5vw, 1.34rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.hero__cta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .btn--ghost {
  --fg: #fff;
  --bd: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.hero .btn--ghost:hover {
  --bd: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.hero__stats {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: clamp(1.25rem, 3vw, 3rem);
}
.hero__stat {
  position: relative;
  padding-left: 20px;
}
.hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 7px;
  width: 2px;
  background: var(--ember);
}
.hero__stat b {
  display: block;
  font-family: 'Futura PT', sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 2.3vw, 2.4rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
/* Direct child only — must NOT match the number's inner .stat-num span,
   otherwise it overrides the big size set on .hero__stat b. */
.hero__stat > span {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
/* Persistent scroll indicator — fixed to the lower-right, follows the user,
   and its rail fills with ember to show how far down the page they are. */
.scroll-cue {
  position: fixed;
  right: clamp(14px, 2vw, 32px);
  bottom: clamp(16px, 3.4vh, 36px);
  z-index: 90;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.scroll-cue.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}
.scroll-cue__rail {
  position: relative;
  width: 2px;
  height: 56px;
  border-radius: 2px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--scroll-progress, 0%);
  background: linear-gradient(var(--ember), var(--ember-300));
  transition: height 0.1s linear;
}

/* ==========================================================================
   Leadership carousel (premium portrait cards)
   ========================================================================== */
.leaders {
  background: var(--paper-2);
  overflow: hidden;
}
.leaders__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.leaders-swiper {
  overflow: visible;
}
.leaders-swiper .swiper-slide {
  width: clamp(240px, 30vw, 320px);
  height: auto;
}
/* Continuous, constant-speed marquee motion (override Swiper's eased default) */
.leaders-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.leader {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-3);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.leader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease);
}
/* Two-stop wash: keeps faces clear up top, anchors the name plate at the base */
.leader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 34%,
    rgba(8, 10, 12, 0.5) 62%,
    rgba(8, 10, 12, 0.93) 100%
  );
}
.leader:hover {
  box-shadow: 0 36px 64px -30px rgba(8, 10, 12, 0.55);
}
.leader:hover img {
  transform: scale(1.055);
}
.leader__meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}
/* Always-on ember accent (glowing) — reads premium even mid-marquee */
.leader__rule {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--ember);
  box-shadow: 0 0 14px rgba(255, 86, 0, 0.65);
  margin-bottom: 13px;
  transition: width 0.45s var(--ease);
}
.leader:hover .leader__rule {
  width: 52px;
}
.leader__meta h4 {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.leader__meta span {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-300);
}

/* ==========================================================================
   The Energy One Standard — centered brand interstitial + client marquee
   ========================================================================== */
.standard {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  /* Smaller gap BELOW the logos so the carousel sits low/close to the edge
     (the logos sit a touch high, so the bottom otherwise reads larger). */
  padding-bottom: clamp(1rem, 1.8vw, 1.5rem);
}
/* faint brand shards framing the headline — the mark's cut + rounded language.
   Both anchored up top and masked to fade out well before the logo carousel,
   so they never overlap the moving logos. */
.standard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath d='M0 78 L78 0 H224 A16 16 0 0 1 240 16 V162 L162 240 H16 A16 16 0 0 1 0 224 Z' fill='none' stroke='%2314161a' stroke-opacity='0.06' stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath d='M0 78 L78 0 H224 A16 16 0 0 1 240 16 V162 L162 240 H16 A16 16 0 0 1 0 224 Z' fill='none' stroke='%23ff5600' stroke-opacity='0.12' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left -155px top -85px, right -150px top -55px;
  background-size: 450px 450px, 500px 500px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 60%);
  mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 60%);
}
.standard__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.standard__title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 16ch;
  margin-top: 0;
  text-wrap: balance;
}
.standard__rule {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  /* larger gap above the subtitle (title moves up via reduced section padding) */
  margin-top: 52px;
  background: linear-gradient(90deg, transparent, var(--ember), var(--ember-300), var(--ember), transparent);
  background-size: 200% 100%;
  animation: rule-sweep 3.4s var(--ease) infinite;
}
@keyframes rule-sweep {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: 0% 0;
  }
}
/* Animated ember shimmer for accent words — premium, alive, on-brand */
.shimmer {
  background: linear-gradient(
    100deg,
    var(--ember) 28%,
    #ffc8a6 48%,
    var(--ember) 68%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -220% center;
  }
}
.standard__lead {
  margin-top: 32px;
  max-width: 30ch;
  font-family: 'Futura PT', sans-serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-2);
}

/* ---- Client logo marquee (thin, premium, monochrome → color on hover) ---- */
.clients {
  margin-top: clamp(2.75rem, 5.5vw, 4.25rem);
}
.clients__label {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  /* Bigger gap ABOVE the logos (title -> carousel) to balance the high-sitting
     logos against the smaller gap below them. */
  margin-bottom: clamp(2.5rem, 4vw, 3.4rem);
}
/* full-bleed viewport with soft edge fades so logos glide in/out.
   Fixed height + centered so every logo shares the exact same row — and the
   gap above (label) equals the gap below (section padding). */
.clients__viewport {
  position: relative;
  width: 100%;
  height: clamp(62px, 7.5vw, 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  /* track holds two identical sets → translate by -50% loops seamlessly */
  animation: clients-marquee 48s linear infinite;
  will-change: transform;
}
.clients:hover .clients__track {
  animation-play-state: paused;
}
@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.clients__item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients__item img {
  height: var(--logo-h, 33px);
  width: auto;
  max-width: 168px;
  object-fit: contain;
  /* unify mismatched brand colors into a calm monochrome at rest */
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.clients__item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
/* optical balancing — stacked & ultra-wide marks need their own cap height */
.clients__item--stack img {
  --logo-h: 52px;
}
.clients__item--wide img {
  --logo-h: 23px;
  max-width: 196px;
}
@media (max-width: 720px) {
  .clients__item img {
    height: var(--logo-h, 26px);
    max-width: 124px;
  }
  .clients__item--stack img {
    --logo-h: 42px;
  }
  .clients__item--wide img {
    --logo-h: 18px;
    max-width: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 6rem);
  }
  /* drop the duplicate set when not animating */
  .clients__item[aria-hidden='true'] {
    display: none;
  }
}

/* ==========================================================================
   Services — editorial list + cross-fading rig photo
   ========================================================================== */
.services {
  background: var(--paper-2);
}
.svc-show {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  /* pull the photo in from the right edge so it isn't jammed against it */
  padding-right: clamp(2rem, 4.5vw, 5rem);
}
.svc-show__list {
  display: flex;
  flex-direction: column;
}
.svc-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(1.5rem, 2.6vw, 2.1rem) 0 clamp(1.5rem, 2.6vw, 2.1rem) 24px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.svc-show__list .svc-item:last-child {
  border-bottom: 1px solid var(--line);
}
.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--ember);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.35s var(--ease);
}
.svc-item.is-active::before {
  height: 58%;
}
/* Oversized, vertically-stretched index numerals — hollow at rest, ember when
   active. The scaleY pull gives them a custom, drawn-out editorial character. */
.svc-item__num {
  font-family: 'Futura PT', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20, 22, 26, 0.22);
  min-width: 2.1ch;
  display: inline-block;
  transform: scaleY(1.42);
  transform-origin: center;
  transition: color 0.35s var(--ease), -webkit-text-stroke-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.svc-item.is-active .svc-item__num {
  color: var(--ember);
  -webkit-text-stroke-color: transparent;
  transform: scaleY(1.52);
}
.svc-item__text {
  flex: 1;
  min-width: 0;
}
.svc-item h3 {
  font-size: clamp(1.3rem, 1.95vw, 1.7rem);
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.svc-item.is-active h3 {
  color: var(--ink);
}
.svc-item__text p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.96rem;
  max-width: 44ch;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease);
}
.svc-item.is-active .svc-item__text p {
  opacity: 1;
}
.svc-item__arrow {
  margin-left: auto;
  color: var(--ember);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-item.is-active .svc-item__arrow {
  opacity: 1;
  transform: none;
}

/* Single photo that swaps on hover — no stacking, no overlap */
.svc-show__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
  max-height: 580px;
}
.svc-show__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease), transform 1.6s var(--ease);
}
.svc-show__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(8, 10, 12, 0.9) 100%);
  pointer-events: none;
}
.svc-show__cap {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 1;
  color: #fff;
  transition: opacity 0.35s var(--ease);
}
.svc-show__cap-rule {
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--ember);
  margin-bottom: 14px;
}
.svc-show__cap-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-300);
  margin-bottom: 8px;
}
/* .eo .* beats the global `.eo h3` so the title stays white on the photo */
.eo .svc-show__cap-title {
  color: #fff;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* fade out during the swap */
.svc-show__media.is-swapping .svc-show__photo,
.svc-show__media.is-swapping .svc-show__cap {
  opacity: 0;
}
@media (max-width: 860px) {
  .svc-show {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-right: 0;
  }
  .svc-show__media {
    order: -1;
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .svc-item {
    padding-left: 0;
  }
  .svc-item::before {
    display: none;
  }
  .svc-item h3,
  .svc-item.is-active h3 {
    color: var(--ink);
    white-space: normal;
  }
  .svc-item__text p {
    opacity: 1;
  }
  .svc-item__arrow {
    display: none;
  }
  .svc-item__num {
    transform: scaleY(1.32);
  }
}

/* ==========================================================================
   Capabilities — alternating image + text
   ========================================================================== */
.capabilities {
  background: var(--paper);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.feature + .feature {
  border-top: 1px solid var(--line);
}
.feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -30px rgba(8, 10, 12, 0.45);
  isolation: isolate;
  transition: box-shadow 0.55s var(--ease);
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}
/* ember accent edge that lights up on hover — ties to the hero's language */
.feature__media::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ember));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}
.feature:hover .feature__media {
  box-shadow: 0 44px 84px -32px rgba(8, 10, 12, 0.55);
}
.feature:hover .feature__media img {
  transform: scale(1.05);
}
.feature:hover .feature__media::after {
  opacity: 0.9;
}
.feature:nth-child(even) .feature__media {
  order: 2;
}
.feature__body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-top: 14px;
  text-wrap: balance;
}
.feature__body p {
  margin-top: 14px;
  color: var(--ink-2);
}
.feature__list {
  margin-top: 22px;
  display: grid;
  gap: 13px;
  padding: 0;
  list-style: none;
}
.feature__list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 600;
}
/* ember check-chips — small, premium, on-brand */
.feature__list li i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 86, 0, 0.12);
  color: var(--ember);
  font-size: 0.72rem;
}
.feature__list i {
  color: var(--ember);
  font-size: 1rem;
}

/* ==========================================================================
   Premium FX — ambient auroras, pointer tilt, ember lift
   ========================================================================== */
/* Slow, breathing ambient light on the light editorial bands for depth */
.services,
.capabilities,
.svc-rows,
.howwe {
  position: relative;
  isolation: isolate;
}
.services::before,
.capabilities::before,
.svc-rows::before,
.howwe::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 48% at 8% -4%, rgba(255, 86, 0, 0.06), transparent 60%),
    radial-gradient(42% 52% at 96% 104%, rgba(40, 70, 120, 0.05), transparent 62%);
  animation: aurora-breathe 16s ease-in-out infinite;
}
@keyframes aurora-breathe {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

/* Pointer tilt — image cards lean toward the cursor in 3D (JS sets transform) */
.svc-show__media,
.feature__media,
.svc-row__media,
.careers__media,
.gallery__grid figure {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}
/* Deep neutral lift on the home services showcase (keeps the orange in check) */
.svc-show__media {
  transition: transform 0.4s var(--ease), box-shadow 0.45s var(--ease);
}
.svc-show:hover .svc-show__media {
  box-shadow: 0 40px 80px -30px rgba(8, 10, 12, 0.55), var(--shadow-lg);
}

/* ==========================================================================
   How We Work — dark process band, glass cards, drifting grid + grain
   ========================================================================== */
.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--graphite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
}
/* brand geometry — the mark's 45° cut + rounded shard. One up top (cool grey),
   one at the bottom (ember), large and static. No hairlines. */
.process::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 90% at 50% 122%, rgba(255, 86, 0, 0.1), transparent 60%);
}
/* ember accent glow up top */
.process::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 60%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 80% at 50% -8%, rgba(255, 86, 0, 0.14), transparent 62%);
}
.process .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.eo .process .section-head h2 {
  color: #fff;
}
.process .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}
/* Connected 4-step process — ember number-nodes (squircles, echoing the logo)
   threaded on a glowing rail that shows the flow from plan → hand-back. */
.process__flow {
  --node: clamp(56px, 5.6vw, 72px);
  list-style: none;
  margin: clamp(2.75rem, 5vw, 4.25rem) 0 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 30px);
}
/* the rail connecting the four nodes (centre-to-centre), with a slow sheen */
.process__flow::before {
  content: '';
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg, var(--ember-700), var(--ember), var(--ember-300), var(--ember), var(--ember-700));
  background-size: 220% 100%;
  opacity: 0.5;
  animation: process-rail 6s linear infinite;
}
@keyframes process-rail {
  to {
    background-position: -220% 0;
  }
}
.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process__node {
  width: var(--node);
  height: var(--node);
  border-radius: 30%;
  display: grid;
  place-items: center;
  background: #14171c;
  border: 1.5px solid rgba(255, 86, 0, 0.55);
  /* the bg-coloured ring masks the rail so it appears to stop at each node */
  box-shadow: 0 0 0 7px var(--graphite), 0 14px 30px -12px rgba(255, 86, 0, 0.4);
  margin-bottom: clamp(1.2rem, 2.4vw, 1.85rem);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process__num {
  font-family: 'Futura PT', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--ember);
  transition: color 0.4s var(--ease);
}
.eo .process__step h3 {
  color: #fff;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 9px;
}
.process__step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 25ch;
}
.process__step:hover .process__node {
  transform: translateY(-5px);
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 0 7px var(--graphite), 0 22px 46px -14px rgba(255, 86, 0, 0.7);
}
.process__step:hover .process__num {
  color: #fff;
}
.eo .process__step:hover h3 {
  color: #fff;
}
/* Vertical timeline on narrower screens (rail runs down the node column) */
@media (max-width: 880px) {
  .process__flow {
    grid-template-columns: 1fr;
    gap: clamp(24px, 6vw, 36px);
    max-width: 30rem;
    margin-inline: auto;
  }
  .process__flow::before {
    top: calc(var(--node) / 2);
    bottom: calc(var(--node) / 2);
    left: calc(var(--node) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--ember-700), var(--ember), var(--ember-300), var(--ember), var(--ember-700));
    background-size: 100% 220%;
    animation: process-rail-v 6s linear infinite;
  }
  .process__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: clamp(16px, 4.5vw, 22px);
  }
  .process__node {
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .process__body {
    flex: 1;
    padding-top: calc(var(--node) / 2 - 0.7em);
  }
  .process__step p {
    max-width: none;
  }
}
@keyframes process-rail-v {
  to {
    background-position: 0 -220%;
  }
}

/* ==========================================================================
   Stats — light, restrained
   ========================================================================== */
.stats {
  background: var(--graphite);
  color: #fff;
}
.stats .section-head h2,
.stats .eyebrow {
  color: #fff;
}
.stats .eyebrow {
  color: var(--ember);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  position: relative;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--ember);
}
.stat-card .num {
  font-family: 'Futura PT', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-card .label {
  margin-top: 12px;
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
}
.stat-card .desc {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Leadership — clean cards, captions below (no dark hover)
   ========================================================================== */
.leadership {
  background: var(--paper-2);
}
.leadership__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.person {
  margin: 0;
}
.person__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.person:hover .person__photo {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.person:hover .person__photo img {
  transform: scale(1.04);
}
.person__photo::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--ember);
  transition: width 0.35s var(--ease);
}
.person:hover .person__photo::after {
  width: 100%;
}
.person figcaption {
  padding-top: 14px;
}
.person h4 {
  font-size: 1.04rem;
  font-weight: 700;
}
.person span {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--ember-700);
  font-weight: 600;
}

/* ---- About leadership tiers (featured 5 larger, team smaller) ---- */
.leadership__tier + .leadership__tier {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.tier-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ember-700);
  margin: 0 0 1.25rem;
}
.leadership__grid--featured {
  grid-template-columns: repeat(5, 1fr);
}
.leadership__grid--team {
  grid-template-columns: repeat(5, 1fr);
}
.leadership__grid--team .person h4 {
  font-size: 0.95rem;
}
.leadership__grid--team .person span {
  font-size: 0.78rem;
}
@media (max-width: 860px) {
  .leadership__grid--featured,
  .leadership__grid--team {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}
@media (max-width: 430px) {
  .leadership__grid--featured,
  .leadership__grid--team {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Testimonial — single clean quote
   ========================================================================== */
.testimonials {
  background: var(--paper);
}
.testi {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}
.testi .mark {
  font-family: 'Futura PT', sans-serif;
  font-size: 4rem;
  line-height: 0.5;
  color: var(--ember);
}
.testi .swiper {
  margin-top: 18px;
}
.testi blockquote {
  margin: 0;
  font-family: 'Futura PT', sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.testi__cite {
  margin-top: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.testi__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}
.testi__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  opacity: 1;
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.testi__dots .swiper-pagination-bullet-active {
  background: var(--ember);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   CTA band — graphite, focused
   ========================================================================== */
.cta {
  background-color: var(--graphite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* diagonal cut top edge — echoes the 45° cuts in the brand mark */
  clip-path: polygon(0 clamp(28px, 5vw, 72px), 100% 0, 100% 100%, 0 100%);
}
.cta .container {
  position: relative;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  max-width: 18ch;
  margin-inline: auto;
}
.cta p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}
.cta__actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   404 — full-bleed graphite, on-brand
   ========================================================================== */
.notfound {
  background: var(--graphite);
  color: #fff;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 2.5rem) 24px clamp(3rem, 6vw, 5rem);
}
.notfound::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(34% 50% at 50% 18%, rgba(255, 86, 0, 0.22), transparent 64%);
  pointer-events: none;
}
.notfound__inner {
  position: relative;
  z-index: 1;
}
.notfound__code {
  font-family: 'Futura PT', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 15rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.28));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eo .notfound h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: 10px;
}
.notfound p {
  margin-top: 16px;
  max-width: 48ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
}
.notfound .cta__actions {
  margin-top: 30px;
}

/* ==========================================================================
   Footer — graphite
   ========================================================================== */
.eo-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--graphite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-blend-mode: soft-light;
  color: rgba(255, 255, 255, 0.66);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.eo-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.eo-footer__brand img {
  height: 34px;
  margin-bottom: 18px;
}
.eo-footer__brand p {
  font-size: 0.92rem;
  max-width: 42ch;
}
.eo-footer .social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.eo-footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.eo-footer .social a:hover {
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-2px);
}
.eo-footer h5 {
  font-family: 'Open Sans', sans-serif;
  /* match the office name ("Corporate — Kalkaska, MI"): same size + solid white */
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.eo-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.eo-footer ul a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.eo-footer ul a:hover {
  color: var(--ember);
}
.eo-footer .contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  margin-bottom: 13px;
}
.eo-footer .contact-row i {
  color: var(--ember);
  margin-top: 4px;
}
.eo-footer .contact-row a:hover {
  color: var(--ember);
}
/* Grouped office blocks — phone sits above the pin, each office clearly
   paired and spaced so MI/PA never read as one run-on line. */
.eo-footer .office {
  margin-top: 18px;
}
.eo-footer .office__name {
  margin: 0 0 9px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eo-footer .office .contact-row {
  margin-bottom: 8px;
}
/* Same pairing on the Apply page's "Let's Talk" card */
.apply__contacts .office {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}
.apply__contacts .office__name {
  margin: 0 0 2px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.eo-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}
.eo-footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
}
/* Designer signature — quietly distinctive, invites the click */
.credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.credit__name {
  position: relative;
  color: #fff;
  font-weight: 700;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}
.credit:hover .credit__name {
  color: var(--ember-300);
  background-size: 100% 1.5px;
}
.credit__mark {
  font-size: 0.7rem;
  color: var(--ember);
  transform: translateY(-1px);
  transition: transform 0.3s var(--ease);
}
.credit:hover .credit__mark {
  transform: translate(2px, -3px);
}

/* ==========================================================================
   Interior page banner (About / Services / Contact) — light
   ========================================================================== */
.page-banner {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
}
.crumbs a:hover {
  color: var(--ember-700);
}
.crumbs i {
  font-size: 0.6rem;
}
.page-banner h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-top: 16px;
  text-wrap: balance;
}
.page-banner > .container > p:not(.crumbs):not(.eyebrow) {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}
.page-banner .hero__cta {
  margin-top: 28px;
}

/* About — vision / mission */
.vm {
  background: var(--paper);
}
.vm__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.vm__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.vm__card .ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ember-50);
  color: var(--ember-700);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.vm__card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.vm__card p {
  margin-top: 12px;
  color: var(--ink-2);
}

.gallery {
  background: var(--paper-2);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__grid figure:hover img {
  transform: scale(1.05);
}

.careers {
  background: var(--paper);
}
.careers__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.careers__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}
.careers__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.careers__body h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin-top: 14px;
}
.careers__body p {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 46ch;
}
.careers__body .btn {
  margin-top: 24px;
}

/* Services page rows + safety cards */
.svc-rows {
  background: var(--paper);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.svc-row + .svc-row {
  border-top: 1px solid var(--line);
}
.svc-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.svc-row:nth-child(even) .svc-row__media {
  order: 2;
}
.svc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-row__body h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  margin-top: 14px;
}
.svc-row__body > p {
  margin-top: 14px;
  color: var(--ink-2);
}
.tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: var(--paper);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.tag:hover {
  border-color: var(--ember);
  color: var(--ember-700);
  background: var(--ember-50);
}

.howwe {
  background: var(--paper-2);
}
.howwe__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.howcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.howcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.howcard__num {
  font-family: 'Futura PT', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--ember);
  line-height: 1;
}
.howcard h4 {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 700;
}
.howcard p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Contact / application */
.apply {
  background: var(--paper);
}
.apply__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.apply__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.apply__aside .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.apply__aside .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Shared premium image treatment ────────────────────────────────────────
   Brings About / Services / Contact images up to the home feature rows:
   deeper cinematic depth, a slow hover zoom, and an ember accent edge that
   lights up — so the whole site shares one elevated, cohesive language. */
.svc-row__media,
.careers__media,
.apply__aside .media,
.gallery__grid figure {
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(8, 10, 12, 0.42);
}
.svc-row__media::after,
.careers__media::after,
.apply__aside .media::after,
.gallery__grid figure::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ember));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}
.svc-row__media img,
.careers__media img,
.apply__aside .media img {
  transition: transform 0.85s var(--ease);
}
.svc-row:hover .svc-row__media,
.careers__inner:hover .careers__media,
.apply__aside:hover .media,
.gallery__grid figure:hover {
  box-shadow: 0 44px 84px -32px rgba(8, 10, 12, 0.52);
}
.svc-row:hover .svc-row__media img,
.careers__inner:hover .careers__media img,
.apply__aside:hover .media img {
  transform: scale(1.05);
}
.svc-row:hover .svc-row__media::after,
.careers__inner:hover .careers__media::after,
.apply__aside:hover .media::after,
.gallery__grid figure:hover::after {
  opacity: 0.9;
}

.apply__aside h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
}
.apply__aside > p {
  margin-top: 12px;
  color: var(--ink-2);
}
.apply__contacts {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.apply__contacts a,
.apply__contacts span {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.apply__contacts i {
  color: var(--ember);
  width: 18px;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-50);
}
.field input[type='file'] {
  padding: 10px 14px;
  cursor: pointer;
}
.form-card .btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}
.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ember-50);
  border: 1px solid var(--ember-100);
  color: var(--ember-700);
  font-size: 0.92rem;
  font-weight: 600;
}
/* Honeypot — visually and programmatically out of the way for humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Scroll reveal (added by JS; never hides content for no-JS)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.984);
  filter: blur(8px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease),
    filter 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ---- Large laptops / small desktops ---- */
@media (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }
  .eo-nav {
    gap: 24px;
  }
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .howwe__grid,
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid,
  .leadership__grid,
  .vm__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eo-footer__top {
    grid-template-columns: 1.3fr 1fr;
    gap: 32px 40px;
  }
  .careers__inner,
  .apply__grid {
    grid-template-columns: 1fr;
  }
  .apply__aside {
    position: static;
    max-width: 520px;
  }
}

/* ---- Collapse the bar to the full-screen menu before it gets cramped ---- */
@media (max-width: 900px) {
  .eo-nav,
  .header-cta {
    display: none;
  }
  .eo-burger {
    display: block;
  }
  .eo-header .container {
    justify-content: space-between;
  }
}

/* ---- Phones ---- */
@media (max-width: 720px) {
  .feature,
  .svc-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .feature:nth-child(even) .feature__media,
  .svc-row:nth-child(even) .svc-row__media {
    order: 0;
  }
  .stats__grid,
  .howwe__grid,
  .vm__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scroll-cue {
    display: none;
  }
  /* 4 stats evenly centered in equal quarters (uniform gaps), with the ember
     bar kept VERTICAL on the left of each stat — exactly like desktop. */
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.4rem, 1.6vw, 0.8rem);
    justify-items: center;
    margin-top: clamp(0.5rem, 2vh, 1rem);
  }
  .hero__stat {
    padding-left: 12px;
  }
  .hero__stat b {
    font-size: clamp(1.05rem, 4.3vw, 1.5rem);
  }
  .hero__stat > span {
    font-size: clamp(0.58rem, 2.2vw, 0.74rem);
    margin-top: 5px;
    letter-spacing: 0.03em;
  }
  /* Hero: balanced + compact on phones (desktop uses flex-end + big spacing) */
  .hero {
    padding-top: calc(var(--header-h) + clamp(1.25rem, 3.5vh, 2.25rem));
    padding-bottom: clamp(1.5rem, 4vh, 2.25rem);
  }
  /* Anchor hero content to the bottom so there's no exaggerated empty gap
     beneath the stats — the block sits low over the video. */
  .hero__inner {
    justify-content: flex-end;
    gap: clamp(1.85rem, 4.8vh, 2.9rem);
  }
  /* Smaller so "Controlled Outcomes." stays on one line (no orphan 3rd row). */
  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.6rem);
    letter-spacing: -0.035em;
    line-height: 1.03;
    margin-top: clamp(10px, 1.6vh, 16px);
  }
  .hero__sub {
    margin-top: clamp(10px, 1.6vh, 16px);
  }
  /* The big decorative brand shards read as stray diagonals on phones — hide */
  .standard::before,
  .process::before {
    display: none;
  }
  .clients__viewport {
    height: clamp(54px, 14vw, 64px);
  }
  .process__grid {
    gap: 16px;
  }
  /* Center the interior-page CTA rows on phones */
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta__actions .btn {
    justify-content: center;
  }
}

/* ---- Tighter rhythm + single-column on small phones ---- */
@media (max-width: 600px) {
  .section {
    padding-block: clamp(3rem, 12vw, 4.75rem);
  }
  /* Re-assert the standard band's matched spacing (the generic .section
     padding above would otherwise unbalance the logo row again). */
  .standard {
    padding-top: clamp(2.75rem, 9vw, 3.75rem);
    /* smaller gap BELOW the logos so the carousel sits low, close to the edge */
    padding-bottom: clamp(0.9rem, 3vw, 1.4rem);
  }
  .clients__label {
    /* bigger gap ABOVE the logos so it matches the visual space BELOW them
       (the logos sit a touch high in the row, so the bottom reads larger). */
    margin-bottom: clamp(2.4rem, 8vw, 3.1rem);
  }
  .container {
    width: min(100% - 36px, var(--container));
  }
  .eo-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justif