/*
*  Home Page Styles
*
*  Markup: front-page.php
*  JS:     js/home/hero-fx.js, hero-words.js, hero-break.js, story-intro.js, sticky-process.js + js/motion.js
*  Section IDs used by the JS/anchors: top, method, services, about, geo, work (contact lives in footer.php)
*/

/* Scoped reset: these components were built against a global margin/padding reset */
.home-page,
.home-page *,
.home-page *::before,
.home-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.home-page {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--ink);
  background: var(--page);
}

:where(.home-page) h1,
:where(.home-page) h2,
:where(.home-page) h3,
:where(.home-page) h4,
:where(.home-page) h5,
:where(.home-page) h6 {
  clear: none;
}

:where(.home-page) ul,
:where(.home-page) ol {
  list-style: none;
}

/* :where() keeps this at zero added specificity so a component class like .btn-ghost always wins */
:where(.home-page) a {
  color: inherit;
  text-decoration: none;
}

:where(.home-page) img {
  display: block;
  max-width: 100%;
}

:where(.home-page) video,
:where(.home-page) canvas {
  display: block;
}

/* Home sections */
@media (prefers-reduced-motion: reduce) {
  .story-intro__line {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hero-shell {
  position: relative;
  height: 126vh;
  background: var(--page);
}

.hero {
  position: sticky;
  top: 0;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  border-radius: 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  box-sizing: border-box;
  transform-origin: center center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark);
  pointer-events: none;
}

.hero__fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
}

.hero__fx.is-fallback {
  background:
    radial-gradient(ellipse 70% 50% at 75% 85%, rgba(229, 83, 6, 0.32), transparent 60%),
    var(--dark);
}

.hero__fx-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(30, 30, 30, 0.35) 0%,
    transparent 24%,
    transparent 68%,
    rgba(30, 30, 30, 0.45) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 140px 60px 48px;
  box-sizing: border-box;
}

.hero__headline {
  margin: auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 5.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__headline .accent {
  color: var(--orange);
}

.hero__word {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  height: 1.2em;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
}

.hero__word-track {
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero__word-track span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__headline .medium {
  font-weight: 500;
  display: block;
  line-height: 1.2;
}

.hero__break .hero__break-word {
  display: inline-block;
  white-space: nowrap;
}

.hero__break .hero__break-letter {
  display: inline-block;
  will-change: transform;
}

.hero__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-top: auto;
  padding-top: 40px;
}

.hero__scroll[hidden] {
  display: none !important;
}

.hero__blurb {
  max-width: 34em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 27px;
  color: var(--cream);
}

.hero__blurb strong {
  font-weight: 700;
}

.hero__blurb .grow-row {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 0.28em;
}

.hero__push {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero__push-arrow {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
  animation: pushArrow 4s ease-in-out infinite;
}

.hero__blurb .arrow {
  display: block;
  width: 17px;
  height: 14px;
  margin: 0 6px 0 2px;
  flex-shrink: 0;
  transform: none;
  opacity: 1;
  animation: none;
}

@keyframes pushArrow {
  0%,
  50% {
    max-width: 0;
    opacity: 0;
  }
  60%,
  82% {
    max-width: 1.55em;
    opacity: 1;
  }
  92%,
  100% {
    max-width: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__push-arrow {
    animation: none;
    max-width: 1.55em;
    opacity: 1;
  }
}

.hero__scroll {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  justify-self: center;
  text-align: center;
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.hero__scroll:hover .hero__scroll-btn,
.hero__scroll:focus-visible .hero__scroll-btn {
  background: rgba(255, 255, 255, 0.32);
}

.hero__scroll:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: 4px;
}

.hero__scroll span:first-child {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.hero__scroll-btn {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: background 0.2s ease;
}

.hero__scroll-btn img {
  width: 14px;
  height: 12px;
  transform: rotate(90deg);
  animation: scrollArrowNudge 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes scrollArrowNudge {
  0% {
    transform: rotate(90deg) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  55% {
    transform: rotate(90deg) translateX(8px);
    opacity: 1;
  }
  80% {
    transform: rotate(90deg) translateX(14px);
    opacity: 0;
  }
  81%,
  100% {
    transform: rotate(90deg) translateX(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-btn img {
    animation: none;
    opacity: 1;
  }
}

.hero__cta {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 204px;
  height: 55px;
  padding: 0 28px;
  border-radius: 8px 8px 0 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__cta-label {
  position: relative;
  z-index: 1;
}

/* Same 1px overshoot as .btn-ghost__mark: keeps the antialiased edge outside the button once magnified 48x (Safari, fractional DPI) */
.hero__cta-mark {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 0;
  width: 15px;
  height: 15px;
  pointer-events: none;
  transform: scale(1);
  transform-origin: calc(100% - 1px) calc(100% - 1px);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  shape-rendering: geometricPrecision;
  image-rendering: -webkit-optimize-contrast;
}

.hero__cta:hover .hero__cta-mark,
.hero__cta:focus-visible .hero__cta-mark {
  transform: scale(48);
}

@media (prefers-reduced-motion: reduce) {
  .hero__cta-mark {
    transition: none;
  }

  .hero__cta:hover,
  .hero__cta:focus-visible {
    background: var(--orange);
  }

  .hero__cta:hover .hero__cta-mark,
  .hero__cta:focus-visible .hero__cta-mark {
    transform: none;
  }
}

.story-intro {
  position: relative;
  background: var(--page);
}

.story-intro__pin {
  height: 150vh;
  position: relative;
}

.story-intro__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  overflow: hidden;
  background: var(--page);
}

.story-intro__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  will-change: opacity, transform, filter;
}

.story-intro__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--orange-subtle);
  margin-bottom: 28px;
}

.story-intro__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 5.75rem);
  line-height: 0.98;
  color: var(--orange);
  margin: 0;
}

.story-intro__title-line {
  display: block;
}

.story-intro__title-line.soft {
  font-weight: 400;
  color: var(--orange-soft);
}

.story-intro__lede {
  max-width: 429px;
  margin: 28px auto 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 25px;
  color: var(--orange-soft);
  text-wrap: pretty;
  will-change: opacity, transform, filter;
}

.story-intro__line {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition:
    opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
  will-change: opacity, transform, filter;
}

.story-intro__line.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 28px 0 24px;
  border: 0;
  border-radius: 8px 8px 0 8px;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.8px;
  color: var(--white);
  background: transparent;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.btn-ghost__label {
  position: relative;
  z-index: 1;
}

/* 1px overshoot (clipped) keeps the antialiased edge, magnified 48x on hover, outside the button at fractional DPI (Windows 125%/150%) */
.btn-ghost__mark {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 0;
  width: 15px;
  height: 15px;
  pointer-events: none;
  transform: scale(1);
  transform-origin: calc(100% - 1px) calc(100% - 1px);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  shape-rendering: geometricPrecision;
  image-rendering: -webkit-optimize-contrast;
}

.btn-ghost:hover .btn-ghost__mark,
.btn-ghost:focus-visible .btn-ghost__mark {
  transform: scale(48);
}

@media (prefers-reduced-motion: reduce) {
  .btn-ghost__mark {
    transition: none;
  }

  .btn-ghost:hover,
  .btn-ghost:focus-visible {
    background: var(--orange);
  }

  .btn-ghost:hover .btn-ghost__mark,
  .btn-ghost:focus-visible .btn-ghost__mark {
    transform: none;
  }
}

.btn-ghost--frost {
  min-width: 286px;
  background: rgba(255, 255, 255, 0.2);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.process {
  position: relative;
  z-index: 2;
  background: transparent;
  margin-top: -50vh;
}

.process__pin {
  /* sticky-process.js expresses every beat as a fraction of this height minus one viewport, so shrinking it compresses the whole choreography proportionally */
  height: 300vh;
  position: relative;
}

.process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--light-gray);
  z-index: 2;
}

.process__stage {
  position: relative;
  width: 100%;
  max-width: 1680px;
  height: min(100vh, 838px);
  margin: 0 auto;
  padding: 0 60px;
  z-index: 2;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.process__triangle.is-intro-fixed {
  position: fixed;
  left: 50%;
  top: 58%;
  width: min(300px, 52vw);
  z-index: 5;
  transform: translate(-50%, -50%) scale(var(--tri-enter, 0.24));
}

.process__sticky.is-intro-handoff {
  background: transparent;
}

.process__triangle {
  --tri-enter: 0.24;
  position: fixed;
  width: min(458px, 48vw);
  height: auto;
  aspect-ratio: 458 / 441;
  left: 50%;
  top: 52%;
  margin: 0;
  transform: translate(-50%, -50%) scale(var(--tri-enter, 0.24));
  transform-origin: center center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  will-change: transform, opacity;
  transition: top 0.55s ease, width 0.55s ease;
}

.process__triangle.is-popping {
  animation: process-tri-pop 0.72s cubic-bezier(0.22, 1.45, 0.36, 1) forwards;
}

.process__triangle.is-ready {
  animation: none;
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--tri-enter, 0.24));
}

@keyframes process-tri-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.3);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process__triangle.is-popping {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.24);
  }
}

.process__triangle svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.process__triangle svg path#process-triangle-path {
  transition: none;
}

.process__mark {
  transition: opacity 0.35s ease, fill 0.5s ease;
}

.process__expand {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background: #292b28;
  will-change: clip-path, opacity;
}

.process__expand.is-growing {
  opacity: 1;
  visibility: visible;
}

.process__expand.is-on,
.process__expand.is-full {
  opacity: 1;
  visibility: visible;
  background: #292b28;
}

.process__expand svg {
  display: none;
  width: 100%;
  height: 100%;
}

.process__title {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 24%;
  width: auto;
  max-width: calc(50% - 80px);
  height: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7.2vw, 7.625rem);
  line-height: 0.9;
  color: var(--ink);
}

.process__title-item {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
  font-size: inherit;
}

.process__title-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.process__copy {
  position: absolute;
  z-index: 2;
  right: 60px;
  bottom: 12%;
  width: min(446px, 32vw);
  min-height: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 28px;
  color: var(--ink);
}

.process__copy-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.process__copy-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.services {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
}

.services__inner {
  display: flex;
  flex-direction: column;
  padding: 100px 0 100px;
  box-sizing: border-box;
}

.services__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 4.8px;
  text-transform: uppercase;
  margin: 0 0 28px;
  padding: 0 60px;
  color: var(--white);
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.services__list li {
  border-bottom: 1px solid rgba(210, 210, 216, 0.28);
}

.services__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr) 110px;
  align-items: center;
  gap: 24px 48px;
  min-height: 169px;
  padding: 0 60px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.services__mask {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--orange);
  border-radius: 0;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform;
}

.services__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 5.2vw, 5.125rem);
  letter-spacing: 0.1em;
  line-height: 90px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.services__desc {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 680px;
  justify-self: center;
  text-align: left;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease 0.04s,
    transform 0.3s ease 0.04s;
  pointer-events: none;
}

.services__desc-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.4vw, 1.5rem);
  line-height: 32px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.break-mobile {
  display: none;
}

.services__desc-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 32px;
  letter-spacing: 0;
  text-transform: none;
}

.services__more {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: center;
  width: 89px;
  height: 89px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.services__tri {
  position: absolute;
  right: 0;
  top: 50%;
  bottom: auto;
  width: 65px;
  height: 65px;
  transform: translateY(-50%);
  background: var(--medium-gray);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    background-color 0.3s ease;
}

.services__more-label {
  position: absolute;
  left: 50%;
  top: calc(50% - -5px);
  z-index: 1;
  width: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--ink);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 4px));
  transition:
    opacity 0.28s ease 0.06s,
    transform 0.28s ease 0.06s;
  pointer-events: none;
  white-space: nowrap;
}

.services__item:hover .services__mask,
.services__item:focus-visible .services__mask {
  transform: scaleY(1);
}

.services__item:hover .services__name,
.services__item:focus-visible .services__name {
  color: var(--white);
}

.services__item:hover .services__desc,
.services__item:focus-visible .services__desc {
  opacity: 1;
  transform: translateY(0);
}

.services__item:hover .services__tri,
.services__item:focus-visible .services__tri {
  width: 89px;
  height: 89px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
}

.services__item:hover .services__more-label,
.services__item:focus-visible .services__more-label {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (prefers-reduced-motion: reduce) {
  .services__mask,
  .services__name,
  .services__desc,
  .services__tri,
  .services__more-label {
    transition: none;
  }

  .services__item:hover .services__mask,
  .services__item:focus-visible .services__mask {
    transform: none;
  }

  .services__item:hover,
  .services__item:focus-visible {
    background: var(--orange);
  }

  .services__item:hover .services__name,
  .services__item:focus-visible .services__name {
    color: var(--white);
  }

  .services__item:hover .services__desc,
  .services__item:focus-visible .services__desc,
  .services__item:hover .services__more-label,
  .services__item:focus-visible .services__more-label {
    opacity: 1;
    transform: none;
  }

  .services__item:hover .services__tri,
  .services__item:focus-visible .services__tri {
    width: 89px;
    height: 89px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
  }
}

.services__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 66px;
  padding: 0 60px;
  flex-wrap: wrap;
}

.services__grow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--white);
}

.geo {
  margin-top: 0;
  padding: 80px 70px 100px;
  border-radius: 0;
  background: var(--ink);
}

.geo__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 645px;
  /* Grows past 645px when the full-width screenshot needs it, so overflow: hidden never crops the image */
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  color: var(--white);
}

.geo__copy {
  display: flex;
  flex-direction: column;
  padding: 53px 72px 62px;
  background: #4d4d4f;
  box-sizing: border-box;
  min-width: 0;
}

.geo__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #d2d2d9;
  margin: 0 0 24px;
  text-align: left;
  align-self: flex-start;
  line-height: 1;
}

.geo__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.625rem;
  line-height: 1;
  text-transform: none;
  color: #d2d2d9;
  margin: 0 0 35px;
}

.geo__lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 32px;
  max-width: 614px;
  margin: 0 0 32px;
  color: #d2d2d9;
}

.geo__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  width: 100%;
  max-width: 616px;
  border: 0;
}

.geo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 243px;
  min-height: 243px;
  padding: 21px 19px 25px;
  border-radius: 4px 1px 0 4px;
  background: transparent;
  border: 0;
  box-sizing: border-box;
}

.geo__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(244, 244, 244, 0.15);
  opacity: 0.1;
  pointer-events: none;
}

.geo__card > * {
  position: relative;
  z-index: 1;
}

.geo__card-icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 43px;
}

.geo__card-icon--animated {
  aspect-ratio: 230 / 136;
}

.geo__card-icon--animated svg {
  display: block;
  width: 100%;
  height: 100%;
}

.geo__card p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 24px;
  color: #f4f4f4;
  text-align: left;
}

.geo__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  margin-top: 24px;
  width: 100%;
  max-width: 616px;
}

.geo__btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  height: 55px;
  min-height: 55px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.2);
  letter-spacing: 1.4px;
}

.geo__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: #000;
  min-height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.geo__visual-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.geo__pave {
  width: 170px;
  height: 30px;
  object-fit: contain;
  object-position: center;
}

.geo__visual-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #d2d2d8;
  text-align: center;
}

.geo__shot-wrap {
  flex: none;
  width: 100%;
  border: 1px solid #30302f;
  background: #06080f;
  overflow: hidden;
}

/* Full frame width at the image's own ratio: nothing letterboxed, nothing cropped */
.geo__shot {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1400px) {
  .geo {
    padding-left: 40px;
    padding-right: 40px;
  }

  .geo__panel {
    height: auto;
    min-height: 645px;
  }

  .geo__copy {
    padding: 48px 40px 48px;
  }

  .geo__cards,
  .geo__actions {
    max-width: none;
  }

  .geo__btn {
    min-width: 0;
  }

  .geo__actions {
    gap: 16px;
    flex-wrap: wrap;
  }
}

.work {
  padding: 96px 60px 72px;
  background: var(--page);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 33px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
}

.work__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 60px;
  min-height: 610px;
}

.work__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 0.89;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 10ch;
}

.work__trust {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  line-height: 1.25;
  color: var(--medium-gray);
  margin: 0 0 32px;
  max-width: 14em;
  text-wrap: pretty;
}

.btn-work {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 286px;
  min-height: 65px;
  padding: 0 32px;
  border-radius: 8px 8px 0 8px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  align-self: flex-start;
}

.btn-work__label {
  position: relative;
  z-index: 1;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

/* Same 1px overshoot as .btn-ghost__mark: keeps the antialiased edge outside the button once magnified 48x (Safari, fractional DPI) */
.btn-work__mark {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 0;
  width: 15px;
  height: 15px;
  pointer-events: none;
  transform: scale(1);
  transform-origin: calc(100% - 1px) calc(100% - 1px);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  shape-rendering: geometricPrecision;
  image-rendering: -webkit-optimize-contrast;
}

.btn-work:hover .btn-work__mark,
.btn-work:focus-visible .btn-work__mark {
  transform: scale(48);
}

.btn-work:hover .btn-work__label,
.btn-work:focus-visible .btn-work__label {
  color: var(--white);
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .btn-work__mark,
  .btn-work__label {
    transition: none;
  }

  .btn-work:hover,
  .btn-work:focus-visible {
    background: var(--orange);
    color: var(--white);
  }

  .btn-work:hover .btn-work__mark,
  .btn-work:focus-visible .btn-work__mark {
    transform: none;
  }
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 28px;
  background: #f4f4f4;
  border-radius: 8px;
  min-height: 610px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:not(.work-card--more):hover,
.work-card:not(.work-card--more):focus-visible {
  background: #f4f4f4;
}

.work-card__media-frame {
  display: block;
  width: 100%;
  height: 224px;
  margin-bottom: 26px;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}

.work-card__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.work-card:not(.work-card--more):hover .work-card__media,
.work-card:not(.work-card--more):focus-visible .work-card__media {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .work-card,
  .work-card__media,
  .work-card__corner-fill,
  .work-card__corner-line,
  .work-card__see {
    transition: none;
  }

  .work-card:not(.work-card--more):hover .work-card__media,
  .work-card:not(.work-card--more):focus-visible .work-card__media {
    transform: none;
  }

  .work-card:not(.work-card--more):hover .work-card__see,
  .work-card:not(.work-card--more):focus-visible .work-card__see {
    transform: none;
  }
}

.work-card__meta {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin: 0 0 14px;
  padding: 0 18px;
}

.work-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  line-height: 36px;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
  padding: 0 18px;
}

/* Blog cards: author photo, name and date (template-parts/blog/card.php). Pinned to the bottom above the pills so bylines
   line up across a row whatever the title length; padding-top keeps a gap under long titles, padding-right clears the corner. */
.work-card__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 20px 123px 0 18px;
}

.work-card__byline + .work-card__tags {
  margin-top: 16px;
}

.work-card__byline-photo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.work-card__byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.work-card__byline-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink);
}

.work-card__byline-date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--medium-gray);
}

.work-card__metric {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 38px;
  color: var(--medium-gray);
  margin: 28px 0 16px;
  padding: 0 18px;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  /* Right side clears the "See more" corner (24px inset + 95px wide, less the card's 8px padding) + 12px gap; pills wrap instead of running under it */
  padding: 0 123px 0 18px;
  position: relative;
  z-index: 1;
}

.work-card__tags span {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 18px;
  border: 1px solid var(--light-gray);
  border-radius: 40px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--medium-gray);
  background: transparent;
}

.work-card__corner {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 95px;
  height: 91px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.work-card__corner svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.work-card__corner-fill {
  fill: #d2d2d8;
  opacity: 0;
  transition: opacity 0.55s ease-in-out;
}

.work-card__corner-line {
  fill: none;
  stroke: #d2d2d9;
  stroke-width: 1;
  transition: stroke 0.55s ease-in-out;
}

.work-card:not(.work-card--more):hover .work-card__corner-fill,
.work-card:not(.work-card--more):focus-visible .work-card__corner-fill {
  opacity: 1;
}

.work-card:not(.work-card--more):hover .work-card__corner-line,
.work-card:not(.work-card--more):focus-visible .work-card__corner-line {
  stroke: #d2d2d9;
}

.work-card__see {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 95px;
  height: 91px;
  padding: 0 6px 0 8px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  opacity: 0;
  transform: translate3d(4px, 6px, 0);
  pointer-events: none;
  transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out;
}

.work-card__see-text {
  display: block;
  white-space: nowrap;
}

.work-card__see img {
  display: none;
}

.work-card:not(.work-card--more):hover .work-card__see,
.work-card:not(.work-card--more):focus-visible .work-card__see {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.work-card--more {
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f4f4;
}

.work-card--more:hover,
.work-card--more:focus-visible {
  background: #f4f4f4;
}

.work-card--more::before {
  content: "";
  position: absolute;
  left: 13%;
  top: 18%;
  width: min(368px, 74%);
  aspect-ratio: 368 / 355;
  background: #d2d2d8;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  pointer-events: none;
  transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out;
}

.work-card--more:hover::before,
.work-card--more:focus-visible::before {
  opacity: 1;
  transform: scale(0.72);
}

.work-card__outline {
  position: absolute;
  width: min(368px, 74%);
  height: auto;
  aspect-ratio: 368 / 355;
  left: 13%;
  top: 18%;
  transform: scale(1);
  transform-origin: center center;
  pointer-events: none;
  transition: transform 0.55s ease-in-out;
  will-change: transform;
}

.work-card--more:hover .work-card__outline,
.work-card--more:focus-visible .work-card__outline {
  transform: scale(0.72);
}

.work-card__more-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 46px;
  color: var(--ink);
}

.work-card__more-text {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card__more-label img {
  width: 14px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card--more:hover .work-card__more-text,
.work-card--more:focus-visible .work-card__more-text {
  transform: translateX(-5px);
}

.work-card--more:hover .work-card__more-label img,
.work-card--more:focus-visible .work-card__more-label img {
  transform: translateX(7px);
}

@media (prefers-reduced-motion: reduce) {
  .work-card__outline,
  .work-card--more::before,
  .work-card__more-text,
  .work-card__more-label img {
    transition: none;
  }

  .work-card--more:hover .work-card__outline,
  .work-card--more:focus-visible .work-card__outline,
  .work-card--more:hover::before,
  .work-card--more:focus-visible::before {
    transform: scale(1);
  }

  .work-card--more:hover .work-card__more-text,
  .work-card--more:focus-visible .work-card__more-text,
  .work-card--more:hover .work-card__more-label img,
  .work-card--more:focus-visible .work-card__more-label img {
    transform: none;
  }
}

.banner {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--ink);
  border-radius: 0;
  overflow: hidden;
  color: #f4f4f4;
}

.banner__inner {
  position: relative;
  display: grid;
  /* Headline column hugs its longest line; the media takes what is left (min 278px, max 600px) */
  grid-template-columns: minmax(0, max-content) minmax(278px, 1fr);
  gap: 40px 48px;
  align-items: start;
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px 60px 80px;
  box-sizing: border-box;
}

.banner__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-width: 0;
  padding-top: 10px;
}

.banner__headline {
  align-self: start;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 64px;
  letter-spacing: 0;
  max-width: min(1051px, 100%);
  color: #f4f4f4;
}

.banner__headline .banner__lead,
.banner__headline .banner__mid,
.banner__headline .banner__fade {
  display: block;
  width: max-content;
  max-width: 100%;
  color: inherit;
  white-space: nowrap;
  /* The mask clips to the box; at 56px the 64px line box is shorter than the descenders, so extend it without moving layout */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  --line-fill: 0%;
  --line-sweep: linear-gradient(
    90deg,
    #000 0%,
    #000 max(0%, calc(var(--line-fill) - 8%)),
    rgba(0, 0, 0, 0.3) min(100%, calc(var(--line-fill) + 6%)),
    rgba(0, 0, 0, 0.3) 100%
  );
  -webkit-mask-image: var(--line-sweep);
  mask-image: var(--line-sweep);
}

.banner__btn {
  margin-top: 8px;
  min-width: 314px;
  width: 314px;
  height: 55px;
  min-height: 55px;
}

.banner__media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 16 / 9;
  justify-self: end;
  border-radius: 0;
  overflow: hidden;
  background: #1a1a1a;
  pointer-events: none;
  flex-shrink: 0;
}

.banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .banner__headline .banner__lead,
  .banner__headline .banner__mid,
  .banner__headline .banner__fade {
    --line-fill: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.logos[hidden] {
  display: none !important;
}

.logos {
  padding: 150px 60px 72px;
  text-align: center;
  background: var(--page);
}

.logos__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #30302f;
  margin-bottom: 28px;
}

.logos__row {
  position: relative;
  border-radius: 4px;
  background: var(--cream);
  border: 1px solid var(--white);
  overflow: hidden;
  padding: 18px 0;
}

.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.logos__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logos-marquee 36s linear infinite;
  will-change: transform;
}

.logos__row:hover .logos__track {
  animation-play-state: paused;
}

.logos__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
  flex-shrink: 0;
}

.logos__group img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
  opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
  .logos__track {
    animation: none;
  }

  .logos__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logos__group[aria-hidden="true"] {
    display: none;
  }

  .logos__group {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 28px;
  }
}

/* Between the full desktop layout and the 1100px tablet breakpoint: at these "laptop" widths
   the process__triangle's fixed pixel cap would otherwise take up proportionally more of the
   screen than on wide desktops, so the black expand shape overtakes process__copy while the
   text is still mostly opaque. Shrinking the triangle and giving the text more room fixes it. */
@media (max-width: 1600px) {
  .process__stage {
    padding: 0 28px;
  }

  .process__title {
    left: 28px;
    width: min(520px, 70vw);
    top: 18%;
  }

  .process__copy {
    right: 28px;
    width: min(360px, 70vw);
    bottom: 8%;
    font-size: 1rem;
    line-height: 24px;
  }

  .process__triangle {
    width: min(380px, 70vw);
  }
}

@media (max-width: 1100px) {
  .hero__inner {
    padding: 120px 28px 36px;
  }

  .hero__footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 32px;
  }

  .hero__scroll,
  .hero__cta {
    justify-self: start;
  }

  .story-intro__sticky {
    padding: 60px 28px;
    min-height: 100svh;
  }

  .services__title,
  .services__item,
  .services__cta-row {
    padding-left: 28px;
    padding-right: 28px;
  }

  .services__inner {
    padding-top: 80px;
    padding-bottom: 56px;
    padding-left: 0;
    padding-right: 0;
  }

  .services__item {
    grid-template-columns: 1fr 72px;
    gap: 12px 16px;
    min-height: 120px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .services__name {
    font-size: clamp(2.25rem, 10vw, 4rem);
    line-height: 1;
    grid-column: 1;
    letter-spacing: 0.06em;
  }

  .services__desc {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: none;
  }

  .services__desc-lead {
    font-size: 1rem;
      letter-spacing: 0.08em;
      line-height: 1.3;
      white-space: normal;
  }

  .services__desc-body {
    font-size: 1rem;
      line-height: 1.35;
  }

  .services__more {
    grid-column: 2;
    grid-row: 1;
    width: 72px;
    height: 72px;
    align-self: center;
  }

  .services__tri {
    width: 48px;
    height: 48px;
  }

  .services__item:hover .services__tri,
  .services__item:focus-visible .services__tri {
    width: 72px;
    height: 72px;
  }

  .services__more-label {
    font-size: 0.8125rem;
    right: 4px;
    bottom: 12px;
  }

  .geo {
    padding-left: 28px;
    padding-right: 28px;
  }

  .geo__panel {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .geo__copy {
    padding: 40px 28px 36px;
  }

  .geo__title {
    font-size: 2.25rem;
  }

  .geo__lede {
    font-size: 1.125rem;
    line-height: 1.4;
    max-width: none;
  }

  .geo__cards {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    gap: 10px;
  }

  .geo__card {
    height: auto;
    min-height: 120px;
    padding: 24px 19px;
  }

  .geo__actions {
    gap: 12px;
    max-width: none;
    flex-wrap: wrap;
  }

  .geo__btn {
    flex: 1 1 100%;
    width: 100%;
    max-width: 280px;
  }

  .geo__visual {
    padding: 36px 28px;
  }

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

  .work__intro {
    min-height: 0;
    margin-bottom: 8px;
    padding-top: 0;
  }

  .work__title {
    max-width: none;
  }

  .work__trust {
    max-width: none;
  }

  .work-card {
    min-height: 0;
  }

  .banner {
    width: 100%;
    margin: 0;
  }

  .banner__inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 56px 28px 64px;
    gap: 36px;
  }

  .banner__headline {
    max-width: none;
    font-size: clamp(1.75rem, 6.5vw, 2.625rem);
    line-height: 1.18;
  }

  .banner__headline .banner__lead,
  .banner__headline .banner__mid,
  .banner__headline .banner__fade {
    white-space: normal;
    --line-fill: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .banner__main {
    gap: 32px;
  }

  .banner__media {
    width: min(560px, 100%);
    justify-self: start;
  }

  .banner__btn {
    width: min(314px, 100%);
    min-width: 0;
  }

  .banner__headline {
    line-height: 1.15;
  }
}

@media (max-width: 768px) {
  .hero-shell {
    height: 126svh;
  }

  .hero__inner {
    padding: 84px 18px 60px;
  }

  .hero__headline {
    margin: 0;
    max-width: 5em;
    text-align: left;
    font-size: clamp(2.375rem, 17vw, 4rem);
  }

  .hero__footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
  }

  .hero__blurb {
      max-width: none;
    font-size: 1rem;
      line-height: 24px;
  }

  .hero__blurb br {
    display: none;
  }

  .hero__cta {
    justify-self: stretch;
    width: 100%;
    height: 55px;
  }

  .story-intro__sticky {
    padding: 60px 18px;
  }

  .story-intro__eyebrow {
    color: var(--orange-soft);
  }

  .story-intro__title {
    font-size: clamp(2rem, 11.2vw, 2.625rem);
    font-weight: 700;
    line-height: 1.095;
  }

  .story-intro__title-line.soft {
    color: var(--orange);
  }

  .story-intro__lede {
    font-size: 1rem;
      line-height: 24px;
  }

  .process__stage {
    padding: 0 29px;
  }

  /* Words sit on the triangle's top edge (centred at 45%, 441/458 tall) whatever their size, so long words clear its diagonal */
  .process__title {
    left: 26px;
    top: calc(45% - min(323px, 100vw - 48px) * 0.4815 - 8px);
    width: auto;
    max-width: calc(100% - 52px);
  }

  .process__title-item {
    top: auto;
    bottom: 0;
    font-weight: 600;
    font-size: 3.5rem;
  }

  .process__copy {
      display: block;
      left: 29px;
      right: 26px;
      bottom: 16%;
      width: auto;
      min-height: 84px;
    font-size: 1rem;
      line-height: 28px;
  }

  .process__triangle {
    top: 45%;
    width: min(323px, calc(100% - 48px));
  }

  .services__inner {
    padding-top: 54px;
    padding-bottom: 40px;
  }

  .services__title {
    margin-bottom: 55px;
  }

  .services__title,
  .services__item {
    padding-left: 27px;
    padding-right: 24px;
  }

  .services__cta-row {
    padding-left: 20px;
    padding-right: 18px;
  }

  .services__item {
    grid-template-columns: 1fr 62px;
    gap: 14px 12px;
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 22px;
  }

  .services__mask {
    display: none;
  }

  .services__name {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(2rem, 11vw, 2.625rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--white);
  }

  .services__desc {
    grid-column: 1;
    grid-row: 2;
    opacity: 1;
    transform: none;
  }

  .services__desc-lead {
    font-size: 1rem;
      line-height: 27px;
      letter-spacing: 1.6px;
  }

  .break-mobile {
    display: inline;
  }

  .services__desc-body {
    font-size: 1rem;
      line-height: 22px;
      max-width: 210px;
  }

  .services__more {
    grid-column: 2;
    grid-row: 2;
    width: 62px;
    height: 62px;
    align-self: end;
    margin-bottom: -4.5px;
  }

  .services__tri,
  .services__item:hover .services__tri,
  .services__item:focus-visible .services__tri {
    width: 45px;
    height: 45px;
    background: #545553;
  }

  .services__more-label {
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 0.625rem;
    color: var(--cream);
    opacity: 1;
  }

  .services__cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 27px;
    margin-top: 75px;
  }

  .services__grow {
    font-size: 1rem;
  }

  .services__btn {
    width: 100%;
    min-width: 0;
    height: 55px;
  }

  .banner__inner {
    padding: 48px 21px 56px;
    column-gap: 28px;
    row-gap: 150px;
  }

  .banner__headline {
    --headline-lh: 1.32;
    font-size: clamp(1.625rem, 8vw, 2rem);
    line-height: var(--headline-lh);
  }

  .banner__headline .banner__lead,
  .banner__headline .banner__mid,
  .banner__headline .banner__fade {
    width: auto;
    --line-fill: 0%;
    -webkit-mask-image: var(--line-sweep);
    mask-image: var(--line-sweep);
    -webkit-mask-size: 100% calc(var(--headline-lh) * 1em);
    mask-size: 100% calc(var(--headline-lh) * 1em);
    -webkit-mask-repeat: repeat-y;
    mask-repeat: repeat-y;
  }

  .banner__main {
    gap: 28px;
  }

  .banner__btn {
    width: 100%;
    height: 55px;
    color: var(--ink);
    background: var(--white);
  }

  .banner__media {
    width: 100%;
    aspect-ratio: 335 / 178;
  }

  .geo {
    padding-left: 0;
    padding-right: 0;
  }

  .geo__panel {
    border-radius: 0;
  }

  .geo__copy {
    padding: 46px 26px 130px;
  }

  .geo__title {
    font-size: clamp(2rem, 10.7vw, 2.625rem);
    margin-bottom: 15px;
  }

  .geo__lede {
    font-size: 1rem;
      line-height: 24px;
      margin-bottom: 60px;
  }

  .geo__eyebrow {
    margin-bottom: 45px;
  }

  .geo__cards {
    gap: 10px;
  }

  .geo__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 30px;
    border: 1px solid #5a5a5d;
    border-radius: 4px 4px 0 4px;
    background: transparent;
  }

  .geo__card-icon--wide {
    height: 49px;
  }

  .geo__card p {
    font-size: 1rem;
      line-height: 24px;
  }

  .geo__actions {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 51px;
  }

  .geo__btn {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: 55px;
  }

  .geo__visual {
    padding: 40px 26px 0;
  }

  .geo__shot-wrap {
    margin-top: 28px;
  }

  .work {
    padding-top: 139px;
    padding-left: 21px;
    padding-right: 20px;
  }

  .work__title {
    max-width: none;
    margin-bottom: 10px;
    font-size: clamp(2rem, 10.7vw, 2.625rem);
    line-height: 1.05;
    text-align: center;
  }

  .work__trust {
      margin-bottom: 20px;
    font-size: 1rem;
      text-align: center;
  }

  .btn-work {
    width: 100%;
    min-width: 0;
    height: 55px;
  }

  .work-card {
    padding: 5px 16px 20px;
  }

  .work-card__meta,
  .work-card__title,
  .work-card__metric,
  .work-card__byline,
  .work-card__tags {
    padding-left: 0;
    padding-right: 0;
  }

  .work-card__tags {
    gap: 4px;
  }

  .work-card__tags span {
    height: 30px;
    padding: 0 22px;
    font-size: 0.625rem;
    letter-spacing: 1px;
  }

  .work-card__media-frame {
    width: auto;
    height: auto;
    aspect-ratio: 323 / 152;
    margin: 0 -10px 18px;
  }

  .work-card__title {
    margin: 0 0 12px;
    font-size: 1.375rem;
    line-height: 26px;
    color: var(--dark);
  }

  .work-card__metric {
      margin: 0 0 7px;
      padding-top: 0;
    font-size: 1rem;
      line-height: 38px;
  }

  .work-card__corner,
  .work-card__see {
    display: none;
  }

  .work-card--more {
    min-height: 65px;
    padding: 0;
  }

  .work-card__more-label {
    font-size: 1rem;
      font-weight: 600;
  }

  .work-card__outline {
    display: none;
  }
}

@media(max-width: 500px) {
  .process__title-item {
    font-size: 15vw;
  }
}

/* ——— Checkmark list: "Checkmark List" TinyMCE format (Perrill Core settings), site-wide in any WYSIWYG ———
   Lives here because home.css loads on every page with its own version. :root + doubled class outranks the
   page-level list rules in posts.css / service.css / case-study.css. Editor preview: css/editor-style.css. */
:root ul.check-list.check-list {
  padding-left: 0;
  list-style: none;
}

:root .check-list.check-list > li {
  position: relative;
  min-height: 2.6em;
  padding: 0.65em 0 0 calc(2.6em + 12px);
  list-style: none;
}

:root .check-list.check-list > li + li {
  margin-top: 16px;
}

/* Same circled check as the live site; takes the text colour, so it is dark on light panels and white on dark ones */
:root .check-list.check-list > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6em;
  height: 2.6em;
  background-color: currentColor;
  -webkit-mask: url("../images/check_circle.svg") center / contain no-repeat;
  mask: url("../images/check_circle.svg") center / contain no-repeat;
}

/* "Checkmark List - Two Column" format: items fill left to right, like the live GEO section */
:root ul.check-list--columns.check-list--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

:root .check-list--columns.check-list--columns > li + li {
  margin-top: 0;
}

@media (max-width: 768px) {
  :root ul.check-list--columns.check-list--columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ——— WYSIWYG buttons: "Button - White / Orange / Frost" TinyMCE formats (Perrill Core settings) ———
   Editors can only class the <a>, so the btn-work corner mark is a background that grows on hover.
   :root outranks the page-level `*:not(...)` resets. Editor preview: css/editor-style.css. */
:root :is(a.rt-btn-white, a.rt-btn-orange, a.rt-btn-frost) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(286px, 100%);
  max-width: 100%;
  min-height: 65px;
  margin: 4px 12px 4px 0;
  padding: 0 32px;
  border: 0;
  border-radius: 8px 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
  transition:
    background-size 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

:root :is(a.rt-btn-white, a.rt-btn-orange, a.rt-btn-frost):is(:hover, :focus-visible) {
  background-size: 720px 720px;
  transition-delay: 0s, 0.12s;
}

:root :is(a.rt-btn-white, a.rt-btn-orange, a.rt-btn-frost):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* White face, orange fill on hover (.btn-work) */
:root a.rt-btn-white {
  color: var(--ink);
  background: url("../images/home/cta-triangle.svg") no-repeat right bottom / 15px 15px, var(--white);
}

/* Orange: same as the Contact form submit (contact.css) - orange with a white corner notch; on hover white with an orange
   border, label and notch. The transparent border keeps the size steady when it turns orange. */
:root a.rt-btn-orange {
  border: 1px solid transparent;
  color: var(--white);
  background: linear-gradient(315deg, var(--white) 0 20px, transparent 20px) var(--orange);
  background-origin: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Frosted glass for image and dark backgrounds, orange fill on hover (.btn-ghost--frost) */
:root a.rt-btn-frost {
  min-height: 55px;
  padding: 0 28px 0 24px;
  color: var(--white);
  background: url("../images/home/cta-triangle.svg") no-repeat right bottom / 15px 15px, rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

:root :is(a.rt-btn-white, a.rt-btn-frost):is(:hover, :focus-visible) {
  color: var(--white);
}

:root a.rt-btn-orange:is(:hover, :focus-visible) {
  border-color: var(--orange);
  color: var(--orange);
  background: linear-gradient(315deg, var(--orange) 0 20px, transparent 20px) var(--white);
  background-origin: border-box;
}

@media (prefers-reduced-motion: reduce) {
  :root :is(a.rt-btn-white, a.rt-btn-orange, a.rt-btn-frost) {
    transition: none;
  }

  :root :is(a.rt-btn-white, a.rt-btn-frost):is(:hover, :focus-visible) {
    background: var(--orange);
  }
}

/* styleguide.css makes every <i> upright for icon fonts; editors use <i> for italics */
.rich-text i:not([class]) {
  display: inline;
  font-style: italic;
}

/* ——— WYSIWYG links: every editor content wrapper carries .rich-text ———
   Colours come from variables.css (fallbacks because custom.css @imports it without a version);
   sections set --text-link / --text-link-hover for their background and the nearest one wins through
   inheritance. Links with a class (buttons) are left alone. */
.rich-text a:not([class]) {
  color: var(--text-link, #b34000);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.rich-text a:not([class]):hover {
  color: var(--text-link-hover, var(--ink));
  text-decoration-thickness: 2px;
}

.rich-text a:not([class]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.svc-bg--light-gray,
.about-beliefs {
  --text-link: var(--link-on-light-gray, #9e3800);
}

.svc-text--dark,
.svc-hero--dark,
.svc-form--dark,
.svc-columns,
.svc-cta__panel,
.svc-feature__card,
.cs-website-cta,
.cs-website-walkthrough,
.cs-marketing-hero,
.cs-marketing-story,
.cs-marketing-cta__box,
.about-cta__panel,
.contact-cta__panel,
.work-cta__panel,
.blg-newsletter__panel {
  --text-link: var(--link-on-dark, #fff);
  --text-link-hover: var(--link-on-dark, #fff);
}

/* Off-white Marketing - Story panels are light despite sitting in the dark list above */
.cs-marketing-story--light {
  --text-link: var(--link-on-light, #b34000);
  --text-link-hover: var(--ink);
}

/* White fails 4.5:1 on every orange, so links go black there */
.svc-bg--orange,
.svc-bg--bright-orange,
.svc-bg--soft-orange,
.cs-marketing-story--orange,
.cs-marketing-story--bright_orange,
.cs-marketing-story--soft_orange,
.contact-book {
  --text-link: var(--link-on-orange, #000);
  --text-link-hover: var(--link-on-orange, #000);
}

/* Client voice cards rotate through light and dark palettes, so links follow the card's text colour */
.cs-website-client-voice__quote {
  --text-link: currentColor;
  --text-link-hover: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .rich-text a:not([class]) {
    transition: none;
  }
}

/* ——— WYSIWYG lists without a Formats class: same bullets/numbers everywhere (same values as .svc-text__copy) ———
   The blog body keeps its own designed lists (posts.css); classed lists (.check-list) keep theirs. */
.rich-text:not(.blg-body) ul:not([class]) {
  padding-left: 1.25em;
  list-style: disc;
}

.rich-text:not(.blg-body) ol:not([class]) {
  padding-left: 1.25em;
  list-style: decimal;
}

.rich-text:not(.blg-body) :is(ul, ol):not([class]) > li + li,
.rich-text:not(.blg-body) :is(ul, ol):not([class]) li > :is(ul, ol) {
  margin-top: 0.5em;
}

/* Space around the list where the panel only spaces p + p; .svc-text__copy and .pg-body already space every block */
.rich-text:not(.blg-body, .svc-text__copy, .pg-body) > :is(ul, ol):not([class]):not(:first-child),
.rich-text:not(.blg-body, .svc-text__copy, .pg-body) > :is(ul, ol):not([class]) + * {
  margin-top: 1em;
}

/* ——— WYSIWYG images (Add Media): scale to the column, follow the editor's alignment buttons ———
   The extra class in each selector outranks the page-level margin/padding resets (case-study.css, contact.css). */
.rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.rich-text :is(img, .wp-caption).aligncenter {
  display: block;
  margin: 1.5em auto;
}

.rich-text :is(img, .wp-caption).alignleft {
  float: left;
  max-width: 50%;
  margin: 0.25em 1.5em 1em 0;
}

.rich-text :is(img, .wp-caption).alignright {
  float: right;
  max-width: 50%;
  margin: 0.25em 0 1em 1.5em;
}

.rich-text :is(img, .wp-caption).alignnone {
  display: block;
  margin: 1.5em 0;
}

.rich-text .wp-caption {
  max-width: 100%;
}

.rich-text .wp-caption .wp-caption-text {
  margin-top: 8px;
  font-size: 0.875em;
  line-height: 1.4;
  opacity: 0.8;
}

/* Floated images never hang out of their panel */
.rich-text::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .rich-text :is(img, .wp-caption):is(.alignleft, .alignright) {
    float: none;
    max-width: 100%;
    margin: 1.5em 0;
  }
}

/* ——— WYSIWYG galleries (Add Media > Create Gallery): a grid in the column count the editor picks ———
   Images keep their own proportions and never upscale past their chosen size.
   The doubled class outranks the page-level margin/padding resets. */
.rich-text .gallery.gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cols, 3), minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin: 1.5em 0;
}

.rich-text .gallery-columns-1 { --gallery-cols: 1; }
.rich-text .gallery-columns-2 { --gallery-cols: 2; }
.rich-text .gallery-columns-3 { --gallery-cols: 3; }
.rich-text .gallery-columns-4 { --gallery-cols: 4; }
.rich-text .gallery-columns-5 { --gallery-cols: 5; }
.rich-text .gallery-columns-6 { --gallery-cols: 6; }
.rich-text .gallery-columns-7 { --gallery-cols: 7; }
.rich-text .gallery-columns-8 { --gallery-cols: 8; }
.rich-text .gallery-columns-9 { --gallery-cols: 9; }

.rich-text .gallery .gallery-item {
  min-width: 0;
  margin: 0;
}

.rich-text .gallery .gallery-icon a {
  display: block;
}

.rich-text .gallery .gallery-icon img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 8px;
}

.rich-text .gallery .gallery-caption {
  margin-top: 8px;
  font-size: 0.875em;
  line-height: 1.4;
  opacity: 0.8;
}

/* 1-3 columns keep the editor's count on every screen; 4+ step down */
@media (max-width: 768px) {
  .rich-text .gallery.gallery {
    gap: 12px;
  }

  .rich-text .gallery:not(.gallery-columns-1, .gallery-columns-2, .gallery-columns-3) {
    --gallery-cols: 3;
  }
}

@media (max-width: 480px) {
  .rich-text .gallery:not(.gallery-columns-1, .gallery-columns-2, .gallery-columns-3) {
    --gallery-cols: 2;
  }
}

/* Editor tables: Tailwind's reset zeroes the border width, so the editor's inline border colours never showed */
.rich-text:not(.pg-body) table {
  max-width: 100%;
  border-collapse: collapse;
}

.rich-text:not(.pg-body) :is(th, td) {
  padding: 8px;
  border: 3px solid #dadada;
  vertical-align: middle;
}

.rich-text:not(.pg-body) th {
  font-weight: 700;
  text-align: center;
}

.rich-text:not(.pg-body) :is(th, td) > p {
  margin: 0;
}

.rich-text:not(.pg-body) :is(th, td) > p + p {
  margin-top: 20px;
}

.rich-text .copy-text {
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #5f605f;
}

.rich-text .copy-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-family: var(--primary-site-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.rich-text .copy-text-link svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.rich-text .copy-text-link:hover,
.rich-text .copy-text-link:focus-visible {
  background: var(--ink);
  color: var(--white);
}
