@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --ink: #f7f4ee;
  --paper: #101014;
  --muted: #b8b2a8;
  --line: rgba(247, 244, 238, 0.14);
  --header-bg: rgba(16, 16, 20, 0.78);
  --nav-bg: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --white: rgba(255, 255, 255, 0.78);
  --coral: #f15d4f;
  --teal: #0d8f8a;
  --gold: #d9a441;
  --blue: #2859d9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --content-width: 1400px;
  --page-pad: clamp(1rem, 5vw, 5rem);
}

@property --hero-dot-x {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 72%;
}

@property --hero-dot-y {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 38%;
}

/* Cursor-follow glow position for the services + contact pages. Registered so it
   can interpolate smoothly when auto-drifting on touch devices. */
@property --dot-x {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 50%;
}

@property --dot-y {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 50%;
}

@property --dot-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff9300;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

::selection {
  background: #ff9300;
  color: #101014;
}

::-moz-selection {
  background: #ff9300;
  color: #101014;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 5.75rem;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 20%, rgba(241, 93, 79, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(13, 143, 138, 0.12), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0;
  overflow-x: clip;
  padding-top: 4.65rem;
}

main,
footer {
  position: relative;
  z-index: 1;
}

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

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

.scene {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: transparent;
  border-bottom: 1px solid transparent;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  isolation: isolate;
  left: 0;
  padding: 1rem max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: backdrop-filter 360ms ease;
  width: 100%;
  z-index: 100;
}

.site-header::before {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transition: opacity 360ms ease, border-color 360ms ease;
  z-index: -1;
}

.site-header.is-at-top:not(.is-menu-open) {
  backdrop-filter: blur(0);
}

.site-header.is-at-top:not(.is-menu-open)::before {
  border-bottom-color: transparent;
  opacity: 0;
}

@media (min-width: 921px) {
  .site-header {
    padding-bottom: 0.7rem;
    padding-top: 0.7rem;
  }
}

.brand,
.nav,
.hero-actions,
.ticker-track,
.contact,
.footer-main,
.footer-legal,
.footer-legal nav {
  align-items: center;
  display: flex;
}

.brand {
  color: #f7f4ee;
  display: inline-flex;
  position: relative;
  transition: color 180ms ease;
  width: fit-content;
}

.brand img {
  display: block;
}

.brand img {
  height: 1.18rem;
  object-fit: contain;
  width: auto;
}

@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .brand:hover,
  .brand:focus-visible {
    color: #ff9300;
  }
}

.nav {
  backdrop-filter: blur(22px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 0.2rem;
  padding: 0.32rem;
  transition: background 360ms ease, border-color 360ms ease;
}

.nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.58rem 0.84rem;
  transition: background 220ms ease, color 220ms ease;
}

.nav a:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-block;
  padding: 0.6rem 1.15rem;
}

.nav-submenu {
  backdrop-filter: blur(22px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 18px 42px rgba(16, 16, 20, 0.18);
  display: grid;
  gap: 0.1rem;
  left: 50%;
  min-width: 12rem;
  opacity: 0;
  padding: 0.4rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  transform: translateX(-50%) translateY(-0.4rem);
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0ms linear 200ms;
  visibility: hidden;
  z-index: 20;
}

.nav-submenu a,
.nav-flyout a {
  align-items: center;
  border-radius: 0.55rem;
  color: var(--muted);
  display: flex;
  font-size: 0.85rem;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  white-space: nowrap;
}

.nav-submenu a i,
.nav-flyout a i {
  color: var(--muted);
  flex: none;
  font-size: 0.8em;
  text-align: center;
  transition: color 200ms ease;
  width: 1.1rem;
}

.nav-submenu a:hover,
.nav-flyout a:hover {
  background: color-mix(in srgb, var(--accent, #ff9300) 18%, transparent);
  color: var(--ink);
}

.nav-submenu a:hover i,
.nav-flyout a:hover i {
  color: var(--accent, #ff9300);
}

/* Back row for the mobile two-step menu — created in JS, only shown when drilled in. */
.nav-back {
  display: none;
}

/* Shared desktop flyout panel: one element that slides between items and morphs its content */
.nav-flyout {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .nav {
    position: relative;
  }

  .nav-flyout {
    backdrop-filter: blur(22px);
    background: var(--header-bg);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: 0 18px 42px rgba(16, 16, 20, 0.18);
    box-sizing: border-box;
    display: block;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0.4rem;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    transform: translateX(0) translateY(-0.4rem);
    transition: opacity 200ms ease,
      transform 440ms cubic-bezier(0.16, 1, 0.3, 1),
      width 440ms cubic-bezier(0.16, 1, 0.3, 1),
      height 440ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0ms linear 200ms;
    visibility: hidden;
    z-index: 20;
  }

  .nav-flyout::before {
    bottom: 100%;
    content: "";
    height: 0.65rem;
    left: 0;
    position: absolute;
    right: 0;
  }

  .nav-flyout.is-open {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0ms;
    visibility: visible;
  }

  .nav-flyout-inner {
    display: grid;
    gap: 0.1rem;
    width: max-content;
  }
}

.nav-cta {
  --button-wave-x: 0%;
  --button-wave-y: 50%;
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 2.35rem;
  isolation: isolate;
  justify-content: center;
  line-height: 1;
  justify-self: end;
  overflow: hidden;
  padding: 0 0.95rem;
  position: relative;
  transition: background 360ms ease, color 260ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.nav-cta::after {
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%;
  content: "";
  height: max(230%, 8rem);
  left: var(--button-wave-x);
  position: absolute;
  top: var(--button-wave-y);
  transform: translate(-50%, -50%) rotate(-8deg) scale(0);
  transition: border-radius 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  width: max(230%, 8rem);
  z-index: -1;
}

.nav-cta:hover {
  box-shadow: 0 12px 28px rgba(16, 16, 20, 0.16);
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-cta:hover::after {
  border-radius: 38% 62% 44% 56% / 48% 58% 42% 52%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

.menu-toggle {
  align-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font-size: 1rem;
  height: 2.35rem;
  justify-content: center;
  position: relative;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 180ms ease;
  width: 2.35rem;
}

.site-header.is-at-top:not(.is-menu-open) .nav-cta {
  background: #f7f4ee;
  color: #101014;
}

.site-header.is-at-top:not(.is-menu-open) .nav-cta::after {
  background: #101014;
}

.site-header.is-at-top:not(.is-menu-open) .nav-cta:hover {
  color: #f7f4ee;
}

.site-header.is-at-top:not(.is-menu-open) .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f4ee;
}

.site-header.is-at-top:not(.is-menu-open) .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
  background: currentColor;
  border-radius: 999px;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, var(--menu-line-y)) rotate(0deg);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), width 220ms ease;
  width: 0.9rem;
}

.menu-toggle span:first-child {
  --menu-line-y: -0.23rem;
}

.menu-toggle span:last-child {
  --menu-line-y: 0.23rem;
}

.menu-toggle:hover {
  background: var(--nav-bg);
  transform: translateY(-1px);
}

.menu-toggle:active {
  transform: scale(0.96);
}

.site-header.is-menu-open .menu-toggle span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
  width: 1rem;
}

.site-header.is-menu-open .menu-toggle span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
  width: 1rem;
}

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  min-height: calc(100svh - 4.8rem);
  margin-inline: auto;
  max-width: none;
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2)) 4rem;
  width: 100%;
}

.hero-dot-hero {
  --hero-dot-x: 72%;
  --hero-dot-y: 38%;
  --hero-dot-hover-opacity: 0.2;
  align-items: center;
  background:
    radial-gradient(circle at 78% 34%, rgba(241, 93, 79, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(13, 143, 138, 0.11), transparent 24rem),
    #101014;
  color: #fff;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  min-height: calc(115svh - 4.8rem);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.home-page {
  margin-top: -4.65rem;
  position: relative;
}

.home-page > section:not(.hero-dot-hero),
footer {
  position: relative;
  z-index: 3;
}

.hero-dot-hero::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(16, 16, 20, 0.18) 0%, rgba(16, 16, 20, 0.48) 62%, rgba(16, 16, 20, 0.68) 100%),
    linear-gradient(180deg, rgba(16, 16, 20, 0.16) 0%, rgba(16, 16, 20, 0.68) 100%);
  content: "";
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.hero-dot-hero::after {
  animation: heroDotShimmer 11s ease-in-out infinite;
  background: linear-gradient(112deg, transparent 24%, rgba(247, 244, 238, 0.035) 43%, rgba(217, 164, 65, 0.055) 50%, transparent 66%);
  content: "";
  inset: -18% -45%;
  mix-blend-mode: screen;
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
  transform: translateX(-36%) rotate(0.001deg);
  z-index: 1;
}

.hero-dot-field {
  background-image: radial-gradient(circle, rgba(247, 244, 238, 0.22) 1px, transparent 1.55px);
  background-position: center;
  background-size: 14px 14px;
  bottom: -1px;
  left: -1px;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  right: -1px;
  top: -1px;
  z-index: 0;
}

.hero-dot-field::before,
.hero-dot-field::after {
  background-position: center;
  background-size: 14px 14px;
  content: "";
  inset: 0;
  position: absolute;
}

.hero-dot-field::before {
  background-image: radial-gradient(circle, var(--dot-accent, #ff9300) 1.45px, transparent 2px);
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--dot-accent, #ff9300) 55%, transparent));
  mask-image: radial-gradient(circle 15rem at var(--hero-dot-x) var(--hero-dot-y), #000 0%, rgba(0, 0, 0, 0.94) 30%, transparent 70%);
  opacity: var(--hero-dot-hover-opacity);
  transition: opacity 220ms ease, --dot-accent 220ms ease;
  -webkit-mask-image: radial-gradient(circle 15rem at var(--hero-dot-x) var(--hero-dot-y), #000 0%, rgba(0, 0, 0, 0.94) 30%, transparent 70%);
}

.hero-dot-field::after {
  background-image: radial-gradient(circle, rgba(217, 164, 65, 0.44) 1.1px, transparent 1.7px);
  mask-image: radial-gradient(circle 18rem at 82% 42%, #000 0%, rgba(0, 0, 0, 0.62) 34%, transparent 74%);
  opacity: 0.36;
  -webkit-mask-image: radial-gradient(circle 18rem at 82% 42%, #000 0%, rgba(0, 0, 0, 0.62) 34%, transparent 74%);
}

.hero-dot-hero.is-pointer-active {
  --hero-dot-hover-opacity: 1;
}

.hero-dot-hero .hero-copy {
  display: grid;
  gap: 0.9rem;
  justify-self: center;
  max-width: 100%;
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-dot-hero .eyebrow,
.hero-dot-hero .hero-text {
  color: rgba(255, 255, 255, 0.76);
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

.hero.hero-dot-hero h1 {
  font-size: clamp(2.45rem, 4.9vw, 4.45rem);
  margin-left: auto;
  margin-bottom: 1.6rem;
  margin-right: auto;
  max-width: none;
  text-align: center;
}

@media (min-width: 921px) {
  .hero.hero-dot-hero h1 {
    white-space: nowrap;
  }
}

.hero.hero-dot-hero h1 .hero-highlight {
  display: inline-block;
  transition: color 320ms ease, text-shadow 320ms ease;
}

.hero.hero-dot-hero h1:hover .hero-highlight {
  color: #ff9300;
  text-shadow: 0 0 24px rgba(255, 147, 0, 0.35);
}

.hero-dot-hero .hero-text {
  font-size: clamp(0.98rem, 1.45vw, 1.16rem);
  line-height: 1.5;
  margin-bottom: 0;
}

.hero-dot-hero .hero-actions {
  justify-content: center;
  margin-top: 0.35rem;
}

.hero-dot-hero .button {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2.5rem;
  padding: 0.6rem 1.15rem;
}

.hero-dot-hero .button:hover,
.hero-dot-hero .button:active {
  transform: none;
}

.hero-stats {
  bottom: max(var(--page-pad), 2.5rem);
  margin: 0;
  max-width: 12rem;
  overflow: hidden;
  position: absolute;
  right: max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  text-align: right;
  width: min(14vw, 12rem);
  z-index: 2;
}

.hero-pill {
  align-items: center;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  bottom: max(var(--page-pad), 2.5rem);
  color: rgba(247, 244, 238, 0.86);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.55rem;
  left: max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  position: absolute;
  text-decoration: none;
  transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 280ms ease;
  z-index: 2;
}

.hero-pill i {
  color: #ff9300;
  font-size: 0.9rem;
}

.hero-pill:hover,
.hero-pill:focus-visible {
  background: rgba(255, 147, 0, 0.16);
  border-color: rgba(255, 147, 0, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats-track {
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  width: 100%;
  will-change: transform;
}

.hero-stat-item {
  --accent: #ffb24a;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  flex: 0 0 auto;
  padding: 0.95rem 1rem;
  transition: border-color 280ms ease;
  width: fit-content;
}

@media (min-width: 921px) {
  .hero-stats-track {
    display: grid;
    flex-direction: initial;
    gap: 0.75rem;
    width: auto;
  }

  .hero-stat-item {
    flex: initial;
    overflow: visible;
    width: auto;
  }
}

.hero-stat-item:hover,
.hero-stat-item:focus-within {
  border-bottom-color: var(--accent);
}

.hero-stats i {
  color: var(--accent);
  display: inline-flex;
  font-size: 0.85em;
  margin-right: 0.45em;
  transition: color 280ms ease, filter 280ms ease;
  vertical-align: middle;
}

.hero-stats dt {
  color: #f7f4ee;
  font-size: clamp(1.1rem, 1.45vw, 1.42rem);
  font-weight: 600;
  line-height: 1;
  transition: color 280ms ease, text-shadow 280ms ease;
}

.hero-stats dd {
  color: rgba(247, 244, 238, 0.66);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0.45rem 0 0;
  text-transform: uppercase;
  transition: color 280ms ease;
}

.hero-stat-item:hover dt,
.hero-stat-item:focus-within dt {
  color: #fff;
  text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 55%, transparent);
}

.hero-stat-item:hover i,
.hero-stat-item:focus-within i {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent));
}

.hero-stat-item:hover dd,
.hero-stat-item:focus-within dd {
  color: rgba(255, 255, 255, 0.82);
}

.hero-dot-hero .button.primary {
  color: #fff;
}

.hero-dot-hero .button.primary::before {
  background: #ff9300;
}

.hero-dot-hero .button.primary::after {
  background: #101014;
}

.hero-dot-hero .button.primary:hover {
  color: #f7f4ee;
}

.hero-dot-hero .button.secondary {
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-dot-hero .button.secondary::before {
  background: rgba(255, 255, 255, 0.12);
}

.hero-dot-hero .button.secondary::after {
  background: #fff;
}

.hero-dot-hero .button.secondary:hover {
  color: #101014;
}

/* ── Showcase / Capabilities section ─────────────────────────────────── */
.showcase {
  padding: clamp(3.5rem, 7vw, 6rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  position: relative;
}

.showcase-heading-block {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 38rem;
  text-align: center;
}

.showcase-heading-block h2 {
  color: #f7f4ee;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0;
}

.convert-highlight {
  isolation: isolate;
  position: relative;
  white-space: nowrap;
}

.convert-highlight::before {
  background: rgba(255, 147, 0, 0.92);
  border-radius: 0.12em;
  bottom: 0;
  content: "";
  left: -0.14em;
  pointer-events: none;
  position: absolute;
  right: -0.14em;
  top: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.convert-highlight.is-highlit::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .convert-highlight::before {
    transition-duration: 1ms;
  }
}

.showcase-sub {
  color: rgba(247, 244, 238, 0.62);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  margin: 1.5rem auto 0;
  max-width: 32rem;
}

/* ── Globe section ─────────────────────────────────────────────────────────── */
.globe-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: clamp(3rem, 7vw, 6rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  position: relative;
}

.globe-copy {
  max-width: 34rem;
  position: relative;
  z-index: 2;
}

.globe-copy h2,
.globe-copy p {
  text-shadow: 0 2px 18px rgba(16, 16, 20, 0.65);
}

.globe-copy .section-kicker {
  color: rgba(247, 244, 238, 0.6);
  margin-bottom: 0.8rem;
}

.globe-copy h2 {
  color: #f7f4ee;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 1.2rem;
}

.globe-copy p {
  color: rgba(247, 244, 238, 0.66);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.6;
  margin: 0;
  max-width: 30rem;
}

.globe-stats {
  display: grid;
  gap: 1.4rem 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.6rem 0 0;
  max-width: 30rem;
}

.globe-stat {
  border-left: 2px solid rgba(255, 147, 0, 0.55);
  padding-left: 0.9rem;
}

.globe-stat dt {
  color: #f7f4ee;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.globe-stat dd {
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  margin: 0.3rem 0 0;
  text-transform: uppercase;
}

.globe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.globe-actions .button {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2.5rem;
  padding: 0.6rem 1.15rem;
}

/* Quick link to the standalone full-screen globe game */
.globe-game-link {
  align-items: center;
  color: rgba(247, 244, 238, 0.78);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: color 220ms ease;
}

.globe-game-link i:first-child { color: #ff9300; }

.globe-game-link .globe-game-link-out {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 220ms ease;
}

.globe-game-link:hover,
.globe-game-link:focus-visible {
  color: #fff;
}

.globe-game-link:hover .globe-game-link-out {
  transform: translate(2px, -2px);
}

/* On the globe section, sit the link on the globe (right) side, below it. */
.globe-section > .globe-game-link {
  grid-column: 2;
  justify-self: end;
  margin-top: 1.25rem;
}

@media (max-width: 920px) {
  .globe-game-link { justify-content: center; }
  .globe-section > .globe-game-link {
    grid-column: 1;
    justify-self: center;
  }
}

.globe-powered {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.4rem;
}

.globe-powered-title {
  color: rgba(247, 244, 238, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 2.8rem;
  text-transform: uppercase;
}

.globe-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
}

.globe-logo {
  align-items: center;
  color: #f7f4ee;
  display: inline-flex;
  gap: 0.55rem;
  opacity: 0.85;
  transition: opacity 240ms ease;
}

.globe-logo:hover {
  opacity: 1;
}

.globe-logo svg {
  display: block;
  width: auto;
}

/* Cloudflare lockup: coloured cloud mark + cream wordmark */
.globe-logo--cf .cf-mark {
  height: 1.7rem;
}

.globe-logo--cf .cf-word {
  height: 0.85rem;
}

/* Hostinger single-colour wordmark */
.globe-logo--hostinger .hostinger-logo {
  height: 1.7rem;
}

.globe-frame {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  justify-self: end;
  max-width: 480px;
  position: relative;
  /* Block iOS double-tap-to-zoom across the globe area so quick taps on the
     globe or its controls don't accidentally zoom the whole page. */
  touch-action: manipulation;
  width: 100%;
  z-index: 1;
}

@media (min-width: 921px) {
  .globe-frame {
    /* Tug the globe leftward so the right edge of the copy sits gently over it.
       The text has higher z-index + a soft shadow so it stays readable. */
    margin-left: -3rem;
  }
}

.globe-frame canvas {
  aspect-ratio: 1 / 1;
  background: transparent;
  cursor: grab;
  display: block;
  height: auto;
  max-width: 100%;
  /* The globe only spins horizontally, so vertical pans can still scroll
     the page on mobile while horizontal swipes drive the rotation. */
  touch-action: pan-y;
  user-select: none;
  width: 100%;
  -webkit-user-select: none;
}

.globe-frame canvas.dragging {
  cursor: grabbing;
}

.globe-frame canvas.node-hover {
  cursor: pointer;
}

/* When zoomed in, clip to a circle so the magnified globe reads as a round
   lens rather than a hard square crop. */
.globe-frame canvas.is-zoomed {
  clip-path: circle(49%);
}

/* City hover tooltip */
.globe-tooltip {
  background: rgba(16, 16, 20, 0.92);
  border: 1px solid rgba(255, 147, 0, 0.55);
  border-radius: 0.5rem;
  color: #f7f4ee;
  font-size: 0.78rem;
  font-weight: 600;
  left: 0;
  opacity: 0;
  padding: 0.3rem 0.6rem;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate(-50%, calc(-100% - 18px));
  transition: opacity 140ms ease;
  white-space: nowrap;
  z-index: 4;
}

.globe-tooltip.is-visible {
  opacity: 1;
}

/* Live speed (+ top record) top-right; scale bottom-left. */
.globe-readout {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.globe-readout--tr {
  align-items: flex-end;
  right: 0.6rem;
  text-align: right;
  top: 0.5rem;
}

.globe-readout--bl {
  bottom: 0.5rem;
  left: 0.6rem;
  text-align: left;
}

.globe-readout-val {
  color: #ffd08a;
  display: inline-block;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Live speed flashes gently (colour pulse, no bounce) while beating the record. */
.globe-readout-val.is-fast {
  animation: globeSpeedFlash 0.7s ease-in-out infinite;
}

@keyframes globeSpeedFlash {
  0%, 100% { color: #ffd08a; }
  50%      { color: #ff9300; }
}

/* Top-speed record button: hidden until the first fast run, then persists and
   opens the leaderboard. */
.globe-readout-top {
  align-items: center;
  background: none;
  border: 0;
  color: #ff9300;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 0.3rem;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transform-origin: right center;
  transition: opacity 0.35s ease;
}

.globe-readout-top.is-shown {
  opacity: 1;
  pointer-events: auto;
}

.globe-readout-top:hover,
.globe-readout-top:focus-visible {
  color: #ffd08a;
}

.globe-readout-top .fa-trophy {
  font-size: 0.62rem;
}

/* Pop the record when a spin beats the previous best (subtle). */
.globe-readout-top.is-record {
  animation: globeRecordPop 0.45s ease;
}

@keyframes globeRecordPop {
  0%   { transform: scale(1);    color: #ff9300; }
  40%  { transform: scale(1.12); color: #fff; }
  100% { transform: scale(1);    color: #ff9300; }
}

/* New-record entry popup, pinned to the bottom of the globe frame */
.globe-score-pop {
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  background: rgba(16, 16, 20, 0.9);
  border: 1px solid rgba(255, 147, 0, 0.5);
  border-radius: 0.85rem;
  bottom: 0.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  left: 50%;
  max-width: calc(100% - 1.5rem);
  padding: 0.7rem 0.85rem;
  position: absolute;
  transform: translateX(-50%);
  width: 17rem;
  z-index: 6;
}

.globe-score-pop[hidden] { display: none; }

.globe-score-close {
  background: none;
  border: 0;
  color: rgba(247, 244, 238, 0.6);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  position: absolute;
  right: 0.3rem;
  top: 0.25rem;
}

.globe-score-close:hover { color: #fff; }

.globe-score-pop-msg {
  color: #f7f4ee;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.globe-score-pop-msg strong { color: #ff9300; }

.globe-score-form {
  display: flex;
  gap: 0.4rem;
}

.globe-score-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.55rem;
  color: #f7f4ee;
  flex: 1;
  font: inherit;
  font-size: 0.82rem;
  min-width: 0;
  padding: 0.4rem 0.6rem;
}

.globe-score-form input:focus-visible {
  border-color: rgba(255, 147, 0, 0.7);
  outline: none;
}

.globe-score-form button {
  background: #ff9300;
  border: 0;
  border-radius: 0.55rem;
  color: #1a1205;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
}

.globe-score-form button:disabled { opacity: 0.5; cursor: default; }

.globe-score-status {
  color: rgba(247, 244, 238, 0.75);
  font-size: 0.72rem;
  margin: 0.45rem 0 0;
  min-height: 0.9rem;
  text-align: center;
}

.globe-score-status.is-error { color: #ff8a8a; }
.globe-score-status.is-ok { color: #6ee7a0; }

.globe-score-legal {
  color: rgba(247, 244, 238, 0.5);
  font-size: 0.62rem;
  line-height: 1.4;
  margin: 0.4rem 0 0;
  text-align: center;
}

.globe-score-legal a {
  color: rgba(255, 208, 138, 0.85);
  text-decoration: none;
}

.globe-score-legal a:hover {
  text-decoration: underline;
}

.globe-score-view {
  background: rgba(255, 147, 0, 0.16);
  border: 1px solid rgba(255, 147, 0, 0.55);
  border-radius: 0.55rem;
  color: #ffd08a;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.5rem auto 0;
  padding: 0.4rem 0.9rem;
}

.globe-score-view[hidden] { display: none; }

/* Leaderboard modal */
.globe-board {
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 50;
}

.globe-board[hidden] { display: none; }

.globe-board-card {
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 22rem;
  padding: 1.1rem 1.2rem 1.3rem;
  width: 100%;
}

.globe-board-head {
  align-items: center;
  color: #f7f4ee;
  display: flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.globe-board-head .fa-trophy { color: #ff9300; }

.globe-board-head button {
  background: none;
  border: 0;
  color: rgba(247, 244, 238, 0.7);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 0.2rem;
}

.globe-board-list {
  counter-reset: rank;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.globe-board-list li {
  align-items: center;
  border-radius: 0.5rem;
  color: rgba(247, 244, 238, 0.9);
  display: grid;
  font-size: 0.85rem;
  gap: 0.6rem;
  grid-template-columns: 1.6rem 1fr auto;
  padding: 0.35rem 0.5rem;
}

.globe-board-list li::before {
  color: #ff9300;
  content: counter(rank);
  counter-increment: rank;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.globe-board-list li .gb-main {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.globe-board-list li .gb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globe-board-list li .gb-meta {
  color: rgba(247, 244, 238, 0.5);
  font-size: 0.66rem;
}

.globe-board-list li .gb-score {
  color: #ffd08a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.globe-board-list li.is-you {
  background: rgba(255, 147, 0, 0.14);
}

.globe-board-list li.is-you .gb-name { color: #fff; font-weight: 700; }

.gb-delete {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(255,147,0,0.35);
  border-radius: 4px;
  color: rgba(255,147,0,0.7);
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1;
  padding: 2px 5px;
  transition: background 0.15s, color 0.15s;
}
.gb-delete:hover { background: rgba(255,80,80,0.18); border-color: #ff5050; color: #ff5050; }

/* Toast notification */
.globe-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,147,0,0.4);
  border-radius: 8px;
  color: #f7f4ee;
  font-size: 0.88rem;
  padding: 0.6rem 1.2rem;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.globe-toast--in  { opacity: 1; transform: translateX(-50%) translateY(0); }
.globe-toast--out { opacity: 0; transform: translateX(-50%) translateY(8px); }

.globe-board-empty {
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.82rem;
  padding: 0.6rem 0;
  text-align: center;
}

/* "Interactive" hint tag + gesture cheat-sheet */
.globe-hint {
  left: 0.5rem;
  /* The container spans the tag + (invisible) panel box, so let globe gestures
     pass straight through it — only the tag and the open panel catch clicks. */
  pointer-events: none;
  position: absolute;
  top: 0.5rem;
  z-index: 5;
}

.globe-hint-tag {
  align-items: center;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(247, 244, 238, 0.9);
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
  width: 2rem;
}

.globe-hint-info {
  color: rgba(247, 244, 238, 0.85);
  font-size: 0.95rem;
  transition: color 240ms ease;
}

.globe-hint-tag:hover,
.globe-hint-tag:focus-visible,
.globe-hint-tag[aria-expanded="true"] {
  background: rgba(255, 147, 0, 0.16);
  border-color: rgba(255, 147, 0, 0.55);
  color: #fff;
}

.globe-hint-tag:hover .globe-hint-info,
.globe-hint-tag:focus-visible .globe-hint-info,
.globe-hint-tag[aria-expanded="true"] .globe-hint-info {
  color: #ffd08a;
}

.globe-hint-panel {
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04) 46%,
      rgba(16, 16, 20, 0.32)
    );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.95rem;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-top: 0.5rem;
  max-width: calc(100vw - 3rem);
  opacity: 0;
  padding: 0.9rem 1rem;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 17rem;
}

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

.globe-hint-title {
  color: #ff9300;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.globe-hint-panel ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.globe-hint-panel li {
  align-items: baseline;
  color: rgba(247, 244, 238, 0.92);
  display: flex;
  font-size: 0.8rem;
  gap: 0.6rem;
  line-height: 1.35;
}

.globe-hint-panel li i {
  color: #ff9300;
  flex: none;
  font-size: 0.82rem;
  width: 1rem;
}

/* Find-my-location button */
.globe-locate {
  align-items: center;
  touch-action: manipulation;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 0.5rem;
  color: rgba(247, 244, 238, 0.9);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  gap: 0.45rem;
  left: 50%;
  padding: 0.4rem 0.85rem;
  position: absolute;
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
  white-space: nowrap;
  z-index: 4;
}

.globe-locate i {
  color: #ff9300;
  font-size: 0.9rem;
}

.globe-locate:hover:not(:disabled),
.globe-locate:focus-visible {
  background: rgba(255, 147, 0, 0.16);
  border-color: rgba(255, 147, 0, 0.55);
  color: #fff;
}

.globe-locate:disabled {
  cursor: default;
  opacity: 0.7;
}

.globe-locate.is-located i {
  color: #ffd08a;
}

/* Zoom controls */
.globe-zoom {
  bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: absolute;
  right: 0.5rem;
  z-index: 4;
}

.globe-zoom-btn {
  align-items: center;
  touch-action: manipulation;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(247, 244, 238, 0.9);
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
  width: 2rem;
}

.globe-zoom-btn i {
  font-size: 0.8rem;
}

.globe-zoom-btn:hover:not(:disabled),
.globe-zoom-btn:focus-visible {
  background: rgba(255, 147, 0, 0.16);
  border-color: rgba(255, 147, 0, 0.55);
  color: #fff;
}

.globe-zoom-btn:disabled {
  cursor: default;
  opacity: 0.4;
}

@media (max-width: 920px) {
  .globe-section {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .globe-copy {
    /* Sit below the globe frame so the heading never overlaps the locate /
       zoom controls pinned at the bottom of the globe. */
    margin: 0.75rem auto 0;
    position: relative;
    z-index: 2;
  }

  .globe-copy p {
    margin: 0 auto;
  }

  .globe-frame {
    justify-self: center;
    max-width: 360px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .globe-frame {
    max-width: 280px;
  }
}

/* Keep the info button hard-pinned to the globe's top-left on mobile. */
@media (max-width: 920px) {
  .globe-hint {
    left: 0.5rem;
    right: auto;
    text-align: left;
    top: 0.5rem;
  }
}

.showcase-services {
  display: grid;
  gap: 0.75rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 1.4rem;
}

.showcase-carousel {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  width: 100%;
}

.showcase-carousel-track {
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  display: flex;
  gap: 0.75rem;
  outline: none;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.showcase-carousel-track::-webkit-scrollbar {
  display: none;
}

.showcase-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.showcase-carousel-track .service-card {
  flex: 0 0 clamp(15rem, 24vw, 19rem);
  scroll-snap-align: start;
  width: clamp(15rem, 24vw, 19rem);
}

.showcase-carousel-btn {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 180ms ease, opacity 220ms ease;
  width: 2.5rem;
}

.showcase-carousel-btn svg {
  display: block;
  height: 1.1rem;
  width: 1.1rem;
}

.showcase-carousel-btn:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.showcase-carousel-btn:active {
  transform: scale(0.95);
}

.showcase-carousel-btn[disabled] {
  cursor: default;
  opacity: 0.3;
  pointer-events: none;
  transform: none;
}

@media (max-width: 640px) {
  .showcase-carousel {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "track track track" ". prev next";
    gap: 0.75rem 0.5rem;
  }

  .showcase-carousel-track {
    grid-area: track;
  }

  .showcase-carousel-btn--prev {
    grid-area: prev;
    justify-self: end;
  }

  .showcase-carousel-btn--next {
    grid-area: next;
    justify-self: end;
  }

  .showcase-carousel-track .service-card {
    flex: 0 0 clamp(13rem, 80vw, 17rem);
    width: clamp(13rem, 80vw, 17rem);
  }
}

.service-card {
  --accent: #ffb24a;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.6rem;
  position: relative;
  text-decoration: none;
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.service-card::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 280ms ease;
  z-index: -1;
}

.service-card:hover,
.service-card:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: color-mix(in srgb, var(--accent) 50%, rgba(255, 255, 255, 0.1));
  transform: translateY(-3px);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
}

.service-card i {
  color: var(--accent);
  display: inline-flex;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  transition: filter 280ms ease;
}

.service-card:hover i,
.service-card:focus-visible i {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 70%, transparent));
}

.service-card h3 {
  color: #f7f4ee;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 0.45rem;
}

.service-card:not(.service-card-custom) p {
  color: rgba(247, 244, 238, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.service-card-features li {
  align-items: center;
  color: rgba(247, 244, 238, 0.5);
  display: flex;
  font-size: 0.8rem;
  gap: 0.5rem;
  line-height: 1.3;
}

.service-card-features li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  flex-shrink: 0;
  height: 4px;
  opacity: 0.7;
  width: 4px;
}

.service-card-custom {
  align-items: center;
  background: rgba(255, 147, 0, 0.08);
  border: 1.5px dashed rgba(255, 147, 0, 0.5);
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 1.4rem 1.75rem;
}


.service-card-custom::before {
  display: none;
}

.service-card-custom:hover,
.service-card-custom:focus-visible {
  background: rgba(255, 147, 0, 0.14);
  border-color: rgba(255, 147, 0, 0.78);
  transform: none;
}

.service-card-custom-text {
  flex: 1 1 auto;
  min-width: 0;
}

.service-card-custom h3 {
  color: #ff9300;
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}

.service-card-custom p {
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.9rem;
  margin: 0;
}

.service-card-custom-cta {
  align-items: center;
  align-self: center;
  color: #ff9300;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  transition: color 260ms ease, transform 260ms ease;
}

.service-card-custom-cta svg {
  display: block;
  height: 1.35rem;
  width: 1.35rem;
}

.service-card-custom:hover .service-card-custom-cta,
.service-card-custom:focus-visible .service-card-custom-cta {
  color: #ffb24a;
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .showcase {
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }

  .service-card {
    padding: 1.1rem 1rem;
  }

  .service-card i {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }
}

.hero-copy {
  align-self: center;
  max-width: 56rem;
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(4.2rem, 13vw, 10.4rem);
  line-height: 0.86;
  margin-bottom: 1.45rem;
  max-width: 12ch;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 5.1rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.06;
}

.hero-text,
.intro p,
.contact p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.55;
  max-width: 42rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  --button-wave-x: 0%;
  --button-wave-y: 50%;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  isolation: isolate;
  min-height: 3.35rem;
  overflow: hidden;
  padding: 1rem 1.25rem;
  position: relative;
  transition: transform 260ms ease, box-shadow 260ms ease, color 260ms ease;
}

/* Compact button size */
.button.sm {
  min-height: 2.65rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.92rem;
  align-items: center;
}

.button::before,
.button::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.button::before {
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button::after {
  aspect-ratio: 1;
  border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%;
  height: max(230%, 11rem);
  inset: auto;
  left: var(--button-wave-x);
  top: var(--button-wave-y);
  transform: translate(-50%, -50%) rotate(-8deg) scale(0);
  transition: border-radius 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  width: max(230%, 11rem);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::before {
  transform: scale(1.04);
}

.button:hover::after {
  border-radius: 38% 62% 44% 56% / 48% 58% 42% 52%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.primary {
  box-shadow: 0 14px 34px rgba(16, 16, 20, 0.2);
  color: var(--paper);
}

.button.primary::before {
  background: var(--ink);
}

.button.primary::after {
  background: var(--paper);
}

.button.primary:hover {
  color: var(--ink);
}

.button.secondary {
  border: 1px solid var(--line);
}

.button.secondary:hover,
.contact .button.primary:hover {
  color: #fff;
}

.button.secondary::before {
  background: var(--surface);
}

.button.secondary::after,
.contact .button.primary::after {
  background: var(--ink);
}

.back-to-top {
  --button-wave-x: 0%;
  --button-wave-y: 50%;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  box-shadow: 0 14px 34px rgba(16, 16, 20, 0.2);
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  isolation: isolate;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  transform: translateY(0.7rem) scale(0.96);
  transition: opacity 220ms ease, transform 260ms ease, box-shadow 260ms ease, color 260ms ease;
  width: 3rem;
  z-index: 120;
}

.back-to-top::before,
.back-to-top::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.back-to-top::before {
  background: var(--ink);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.back-to-top::after {
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%;
  height: max(230%, 5.5rem);
  inset: auto;
  left: var(--button-wave-x);
  top: var(--button-wave-y);
  transform: translate(-50%, -50%) rotate(-8deg) scale(0);
  transition: border-radius 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  width: max(230%, 5.5rem);
}

.back-to-top i {
  position: relative;
  z-index: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  box-shadow: 0 18px 42px rgba(16, 16, 20, 0.24);
  color: var(--ink);
  transform: translateY(-0.18rem) scale(1);
}

.back-to-top:hover::before {
  transform: scale(1.04);
}

.back-to-top:hover::after {
  border-radius: 38% 62% 44% 56% / 48% 58% 42% 52%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.back-to-top:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 74%, transparent);
  outline-offset: 3px;
}

.hero-showcase {
  align-self: center;
  justify-self: end;
  max-width: 30rem;
  width: 100%;
}

.showcase-frame {
  aspect-ratio: 0.82;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform: rotate(1deg);
}

.showcase-frame img,
.showcase-frame video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-frame video {
  display: block;
}

.showcase-card {
  backdrop-filter: blur(18px);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
  box-shadow: 0 18px 50px rgba(16, 16, 20, 0.14);
  padding: 0.9rem 1rem;
  position: absolute;
}

.showcase-card span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.showcase-card.one {
  left: -0.8rem;
  top: 14%;
}

.showcase-card.two {
  bottom: 10%;
  right: -0.8rem;
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem 0;
}

.ticker-track {
  animation: marquee 24s linear infinite;
  gap: 2rem;
  width: max-content;
}

.ticker span {
  color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 850;
}

.section {
  margin-inline: auto;
  max-width: none;
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: 100%;
}

.contact {
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: 100%;
}

.process {
  background:
    radial-gradient(circle at 18% 8%, rgba(217, 164, 65, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 88%, rgba(13, 143, 138, 0.14), transparent 26rem),
    #101014;
  background-position: left top, right bottom, center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto;
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: 100%;
}

.intro {
  align-items: flex-start;
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: none;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 8rem);
}

.intro-copy {
  display: grid;
  flex: 1 1 0;
  gap: clamp(2.5rem, 8vh, 5rem);
  min-width: 0;
}

.intro-panel {
  align-content: center;
  display: grid;
  min-height: min(74vh, 42rem);
  scroll-snap-align: center;
}

.work {
  scroll-margin-top: 5.75rem;
  scroll-snap-align: start;
}

.intro h2 {
  max-width: 22ch;
}

.intro-video {
  align-self: flex-start;
  border-radius: 0.75rem;
  flex: 0 1 42%;
  margin-top: clamp(2rem, 14vh, 7rem);
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
}

.video-frame {
  aspect-ratio: 16 / 10;
  border-radius: inherit;
  box-shadow: 0 22px 70px rgba(16, 16, 20, 0.12);
  overflow: hidden;
  position: relative;
}

.intro-video video {
  border-radius: inherit;
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 260ms ease;
  width: 100%;
}

.intro-video video.is-active {
  border-radius: inherit;
  display: block;
  opacity: 1;
  position: relative;
  width: 100%;
}

.video-meta {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.video-play {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  color: var(--muted);
  font-size: 1rem;
  height: auto;
  justify-content: center;
  line-height: 1;
  padding: 0.35rem 0;
  transition: color 180ms ease, transform 180ms ease;
  width: auto;
}

.video-controls {
  align-items: center;
  display: inline-flex;
  gap: 1rem;
}

.video-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  justify-content: center;
  line-height: 1;
  padding: 0.35rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.video-arrow:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.video-play:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.video-link {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 750;
  gap: 0.45rem;
  padding: 0.35rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.video-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.video-link-short {
  display: none;
}

.customers {
  padding-block: 0 clamp(4rem, 8vw, 7rem);
}

.customers .section-kicker {
  margin-bottom: 0.85rem;
}

.customers h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  margin-bottom: 1.4rem;
  max-width: 16ch;
}

.customer-strip {
  align-items: center;
  border-block: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.5rem) 0;
}

.customer-strip p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.5;
  margin: 0;
  max-width: 28rem;
}

.customer-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.customer-logo {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  min-height: 4.2rem;
  overflow: hidden;
  padding: 0.8rem 1.2rem;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.customer-logo:hover {
  background: var(--surface-strong);
  border-color: rgba(16, 16, 20, 0.22);
  transform: translateY(-0.15rem);
}

.customer-logo picture,
.customer-logo img {
  display: block;
}

.customer-logo img {
  max-height: 2.4rem;
  object-fit: contain;
  width: min(38vw, 12rem);
}

.section-heading {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.8fr 1.4fr;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 18ch;
  text-align: right;
  justify-self: end;
}

.section-heading > p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  grid-column: 2;
  justify-self: end;
  line-height: 1.55;
  margin: -0.25rem 0 0;
  max-width: 34rem;
  text-align: right;
}

.work-showcase {
  max-width: none;
  min-height: auto;
  padding: 0;
}

.work-sticky {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  position: relative;
}

.work-heading {
  margin-bottom: 0.85rem;
}

.work-heading h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  max-width: 14ch;
}

.work-heading > p:not(.section-kicker) {
  display: none;
}

.work-tabs {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.work-tabs::-webkit-scrollbar {
  display: none;
}

.work-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 0 0.85rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.work-tab:hover,
.work-tab.is-active {
  border-color: currentColor;
  color: var(--ink);
}

.work-stage {
  aspect-ratio: 16 / 7;
  border-radius: 1rem;
  height: clamp(22rem, 56vh, 38rem);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.work-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: inherit;
  color: var(--ink);
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  inset: 0;
  opacity: 0;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.5rem);
  position: absolute;
  transform: translateY(1rem);
  transition: opacity 320ms ease, transform 320ms ease, visibility 320ms ease;
  visibility: hidden;
}

.work-panel.is-active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.work-panel-media {
  background: var(--paper);
  border-radius: 0.75rem;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.work-panel-media > img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.work-panel-logo {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  padding: clamp(0.4rem, 0.8vw, 0.65rem);
  position: absolute;
  right: clamp(0.75rem, 1.6vw, 1.15rem);
  top: clamp(0.75rem, 1.6vw, 1.15rem);
  z-index: 2;
}

.work-panel-logo::before {
  background:
    radial-gradient(ellipse at center, rgba(16, 16, 20, 0.68), rgba(16, 16, 20, 0.34) 42%, transparent 72%);
  filter: blur(14px);
  content: "";
  inset: -1.1rem -1.45rem;
  opacity: 0.95;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.work-panel-logo img {
  filter: drop-shadow(0 6px 14px rgba(16, 16, 20, 0.36));
  height: clamp(1.35rem, 2vw, 1.9rem);
  max-width: min(13rem, 40vw);
  object-fit: contain;
  width: auto;
}

.work-panel-copy {
  align-content: start;
  display: grid;
  max-width: 46rem;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.work-panel p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.work-panel h3 {
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 1.35rem;
  max-width: 14ch;
}

.work-panel ul {
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.work-panel li {
  align-items: center;
  display: flex;
  font-size: 0.98rem;
  gap: 0.6rem;
  line-height: 1.35;
}

.work-panel li::before {
  background: var(--ink);
  border-radius: 50%;
  content: "";
  height: 0.34rem;
  opacity: 0.6;
  width: 0.34rem;
}

.work-panel-button {
  --button-wave-x: 0%;
  --button-wave-y: 50%;
  align-items: center;
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  isolation: isolate;
  justify-content: center;
  justify-self: start;
  min-height: 2.65rem;
  overflow: hidden;
  padding: 0.78rem 1rem;
  position: relative;
  transition: transform 260ms ease, color 260ms ease;
}

.work-panel-button::before,
.work-panel-button::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.work-panel-button::before {
  background: var(--ink);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-panel-button::after {
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%;
  height: max(230%, 8rem);
  inset: auto;
  left: var(--button-wave-x);
  top: var(--button-wave-y);
  transform: translate(-50%, -50%) rotate(-8deg) scale(0);
  transition: border-radius 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  width: max(230%, 8rem);
}

.work-panel-button:hover {
  transform: translateY(-1px);
}

.work-panel-button:hover {
  color: var(--ink);
}

.work-panel-button:hover::before {
  transform: scale(1.04);
}

.work-panel-button:hover::after {
  border-radius: 38% 62% 44% 56% / 48% 58% 42% 52%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.work-panel:hover .work-panel-media > img {
  transform: scale(1.04);
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.service span {
  color: var(--muted);
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.service p,
.process p {
  color: var(--muted);
  line-height: 1.55;
}

.process {
  background:
    radial-gradient(circle at 18% 8%, rgba(217, 164, 65, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 88%, rgba(13, 143, 138, 0.14), transparent 26rem),
    #101014;
  background-position: left top, right bottom, center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto;
  color: var(--paper);
}

.process h2,
.process-steps strong {
  color: #f7f4ee;
}

.process .section-heading {
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3.25rem);
}

.process-steps {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(3, 1fr);
}

.process-steps article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  overflow: hidden;
  padding: clamp(1.3rem, 2.6vw, 2.25rem);
  position: relative;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.process-steps h3,
.process-steps strong,
.ofena-deliverable-grid h3 {
  color: #f7f4ee;
}

.process-steps article::before {
  background: linear-gradient(180deg, var(--gold), rgba(217, 164, 65, 0));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 0.28rem;
}

.process-steps article:nth-child(2)::before {
  background: linear-gradient(180deg, var(--teal), rgba(13, 143, 138, 0));
}

.process-steps article:nth-child(3)::before {
  background: linear-gradient(180deg, var(--coral), rgba(241, 93, 79, 0));
}

.process-steps article:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(-0.45rem);
}

.process-steps span {
  color: var(--muted);
  display: inline-flex;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.process-steps article:nth-child(2) span {
  color: var(--muted);
}

.process-steps article:nth-child(3) span {
  color: var(--muted);
}

.process-steps strong {
  display: block;
  font-size: clamp(2.1rem, 3.4vw, 3.45rem);
  line-height: 0.92;
  margin: clamp(2rem, 4vw, 3.2rem) 0 0.85rem;
  max-width: 9ch;
}

.process-steps p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.62;
  margin-bottom: 0;
}

.process p,
.case-band p,
.ofena-deliverables p {
  color: rgba(255, 255, 255, 0.62);
}

.contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 22rem),
    linear-gradient(135deg, var(--teal), var(--blue) 54%, var(--coral));
  background-position: right top, center;
  background-repeat: no-repeat, repeat;
  background-size: auto, auto;
  color: #fff;
  gap: 2rem;
  justify-content: space-between;
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 16ch;
}

.contact .button.primary {
  color: var(--ink);
  flex: 0 0 auto;
  overflow-wrap: anywhere;
  text-align: center;
}

.contact .button.primary::before {
  background: #fff;
}

.legal-hero h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  max-width: 12ch;
}

.error-hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.error-copy {
  max-width: 58rem;
}

.error-hero h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
  max-width: 11ch;
}

.legal-content {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  padding-top: 0;
}

.legal-content article {
  border-top: 1px solid var(--line);
  max-width: 58rem;
  padding-top: 2rem;
  scroll-margin-top: 7rem;
}

.legal-content h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 18ch;
}

.legal-content p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.case-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  margin-inline: auto;
  max-width: none;
  min-height: calc(100svh - 4.8rem);
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2)) 4rem;
  width: 100%;
}

.ofena-hero {
  background:
    radial-gradient(circle at 14% 15%, rgba(13, 143, 138, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 26%, rgba(217, 164, 65, 0.14), transparent 25rem);
}

.case-hero-copy,
.case-visual {
  align-self: center;
}

.case-logo {
  display: block;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  width: min(100%, 24rem);
}

.case-logo img {
  display: block;
  max-height: 4.8rem;
  object-fit: contain;
  width: 100%;
}

.case-hero h1 {
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  max-width: 14ch;
}

.case-browser {
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}

.browser-bar {
  align-items: center;
  background: rgba(16, 16, 20, 0.08);
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem;
}

.browser-bar span {
  aspect-ratio: 1;
  background: rgba(16, 16, 20, 0.28);
  border-radius: 50%;
  width: 0.72rem;
}

.browser-screen {
  background:
    linear-gradient(145deg, rgba(13, 143, 138, 0.94), rgba(16, 16, 20, 0.92)),
    var(--ink);
  color: #fff;
  min-height: 34rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.browser-screen p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 850;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.browser-screen h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 12ch;
}

.browser-actions,
.browser-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.browser-actions {
  margin: 2rem 0 5rem;
}

.browser-actions span,
.browser-services span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  padding: 0.72rem 0.95rem;
}

.browser-actions span:first-child {
  background: #fff;
  color: var(--ink);
}

.case-overview {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
}

.case-stat {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.case-stat span,
.case-columns span {
  color: var(--muted);
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.case-stat strong {
  display: block;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.case-screenshots {
  padding-top: 0;
}

.screenshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 20px 70px rgba(16, 16, 20, 0.08);
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 0.75rem;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.screenshot-card:hover {
  border-color: rgba(16, 16, 20, 0.22);
  box-shadow: 0 28px 85px rgba(16, 16, 20, 0.14);
  transform: translateY(-0.35rem);
}

.screenshot-card img {
  aspect-ratio: 1559 / 1014;
  border-radius: 0.45rem;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.screenshot-card div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem 0.2rem;
}

.screenshot-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.screenshot-card strong {
  color: var(--ink);
  font-size: 0.95rem;
}

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

.case-columns article,
.case-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.case-columns p,
.case-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.case-band {
  background: #101014;
  color: var(--paper);
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.case-band-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.95fr 1.05fr;
}

.case-band h2 {
  max-width: 16ch;
}

.case-service-list {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-service-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  padding: 0.78rem 1rem;
}

.case-showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 0.85fr;
}

.case-panel.large {
  grid-row: span 2;
  min-height: 28rem;
}

.case-panel.large h2 {
  max-width: 14ch;
}

.ofena-cta {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 106, 0, 0.42), transparent 24rem),
    linear-gradient(135deg, #101014 0%, #19191f 58%, #3a1d0c 100%);
}

.ofena-case {
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 106, 0, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(13, 143, 138, 0.1), transparent 28rem),
    var(--paper);
}

.ofena-case-hero,
.ofena-meta,
.ofena-narrative,
.ofena-screens,
.ofena-deliverables,
.ofena-result {
  margin-inline: auto;
  max-width: none;
  padding-inline: max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: 100%;
}

.ofena-case-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: calc(100svh - 4.8rem);
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.ofena-case-copy {
  align-self: center;
  min-width: 0;
}

.ofena-case-copy h1 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 0.94;
  max-width: 14ch;
}

.ofena-case-copy .hero-text {
  max-width: 38rem;
}

.ofena-hero-shot {
  align-self: center;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 34px 110px rgba(16, 16, 20, 0.22);
  display: block;
  justify-self: end;
  max-width: 46rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.55rem;
  transform: rotate(0.8deg);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.ofena-hero-shot:hover {
  box-shadow: 0 42px 130px rgba(16, 16, 20, 0.28);
  transform: rotate(0deg) translateY(-0.35rem);
}

.ofena-hero-shot img {
  aspect-ratio: 1559 / 1014;
  border-radius: 0.75rem;
  display: block;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.ofena-meta {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.ofena-meta div {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.ofena-meta span,
.ofena-deliverable-grid span {
  color: var(--muted);
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.ofena-meta strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.ofena-meta a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ofena-narrative {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 0.92fr 1.08fr;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.ofena-narrative h2,
.ofena-screen-heading h2,
.ofena-deliverable-intro h2,
.ofena-result h2 {
  max-width: 17ch;
}

.ofena-narrative > p,
.ofena-result-copy p {
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  margin: 0;
}

.ofena-screens {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.ofena-screen-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.8fr 1.2fr;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ofena-screen-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.ofena-screen-card {
  background: var(--ink);
  border-radius: 0.9rem;
  box-shadow: 0 26px 90px rgba(16, 16, 20, 0.16);
  color: #fff;
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
  padding: 0.55rem;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.ofena-screen-card:hover {
  box-shadow: 0 34px 110px rgba(16, 16, 20, 0.24);
  transform: translateY(-0.35rem);
}

.ofena-screen-card img {
  aspect-ratio: 1559 / 1014;
  border-radius: 0.62rem;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.ofena-screen-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0 0.45rem 0.4rem;
  text-transform: uppercase;
}

.ofena-deliverables {
  background: #101014;
  color: var(--paper);
  max-width: none;
  padding: clamp(4rem, 8vw, 8rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.ofena-deliverable-intro {
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  margin-inline: auto;
  max-width: var(--content-width);
  width: 100%;
}

.ofena-deliverable-grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(4, 1fr);
  margin-inline: auto;
  max-width: var(--content-width);
  width: 100%;
}

.ofena-deliverable-grid article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  overflow: hidden;
  padding: clamp(1.3rem, 2.6vw, 2.25rem);
  position: relative;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.ofena-deliverable-grid article::before {
  background: linear-gradient(180deg, #ff6a00, rgba(255, 106, 0, 0));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 0.28rem;
}

.ofena-deliverable-grid article:nth-child(2)::before {
  background: linear-gradient(180deg, var(--gold), rgba(217, 164, 65, 0));
}

.ofena-deliverable-grid article:nth-child(3)::before {
  background: linear-gradient(180deg, var(--teal), rgba(13, 143, 138, 0));
}

.ofena-deliverable-grid article:nth-child(4)::before {
  background: linear-gradient(180deg, var(--coral), rgba(241, 93, 79, 0));
}

.ofena-deliverable-grid article:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(-0.45rem);
}

.ofena-deliverable-grid span {
  margin: 0 0 1rem;
}

.ofena-deliverable-grid article:nth-child(2) span {
  color: var(--muted);
}

.ofena-deliverable-grid article:nth-child(3) span {
  color: var(--muted);
}

.ofena-deliverable-grid article:nth-child(4) span {
  color: var(--muted);
}

.ofena-deliverable-grid h3 {
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 0.96;
  margin: 4.5rem 0 1rem;
  max-width: 11ch;
}

.ofena-deliverable-grid p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.62;
  margin-bottom: 0;
}

.ofena-result {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 0.9fr 1.1fr;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.ofena-result-copy a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  margin-top: 1.6rem;
  padding-bottom: 0.2rem;
}

.hirequote-case {
  background:
    radial-gradient(circle at 16% 6%, rgba(80, 177, 142, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(13, 143, 138, 0.13), transparent 30rem),
    var(--paper);
}

.hirequote-case .ofena-meta span,
.hirequote-case .ofena-deliverable-grid span,
.hirequote-case .section-kicker {
  color: var(--muted);
}

.hirequote-hero-shot {
  background: #07120f;
}

.hirequote-screen-grid {
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
}

.hirequote-screen-card img {
  aspect-ratio: 1400 / 909;
}

.hirequote-case .ofena-cta {
  background:
    radial-gradient(circle at 82% 18%, rgba(80, 177, 142, 0.38), transparent 24rem),
    linear-gradient(135deg, #07120f 0%, #10251d 58%, #1f4f3d 100%);
}

.hirequote-deliverables .ofena-deliverable-grid article::before {
  background: linear-gradient(180deg, #50b18e, rgba(80, 177, 142, 0));
}

.hirequote-deliverables .ofena-deliverable-grid article:nth-child(2)::before {
  background: linear-gradient(180deg, var(--teal), rgba(13, 143, 138, 0));
}

.hirequote-deliverables .ofena-deliverable-grid article:nth-child(3)::before {
  background: linear-gradient(180deg, var(--gold), rgba(217, 164, 65, 0));
}

.hirequote-deliverables .ofena-deliverable-grid article:nth-child(4)::before {
  background: linear-gradient(180deg, var(--blue), rgba(40, 89, 217, 0));
}

.greenpower-case {
  background:
    radial-gradient(circle at 16% 6%, rgba(80, 177, 142, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(13, 143, 138, 0.12), transparent 30rem),
    var(--paper);
}

.greenpower-case-logo {
  max-width: 24rem;
}

.greenpower-hero-video,
.greenpower-video-card,
.greenpower-flyer-card,
.greenpower-doc-card {
  background: #07120f;
  border: 1px solid rgba(80, 177, 142, 0.18);
  box-shadow: 0 30px 100px rgba(16, 16, 20, 0.18);
  overflow: hidden;
}

.greenpower-hero-video {
  align-self: center;
  border-radius: 1.1rem;
  justify-self: end;
  max-width: 46rem;
  padding: 0.55rem;
  transform: rotate(0.8deg);
}

.greenpower-hero-video video {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  display: block;
  object-fit: cover;
  width: 100%;
}

.greenpower-videos,
.greenpower-campaigns,
.greenpower-docs {
  margin-inline: auto;
  max-width: none;
  padding: 0 max(var(--page-pad), calc((100vw - var(--content-width)) / 2)) clamp(4rem, 8vw, 7rem);
  width: 100%;
}

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

.greenpower-video-card,
.greenpower-flyer-card {
  border-radius: 0.9rem;
  color: #fff;
  display: grid;
  gap: 0.85rem;
  padding: 0.55rem;
}

.greenpower-video-card video {
  aspect-ratio: 16 / 9;
  background: #050b09;
  border-radius: 0.62rem;
  display: block;
  object-fit: cover;
  width: 100%;
}

.greenpower-video-card div {
  display: grid;
  gap: 0.25rem;
  padding: 0 0.45rem 0.45rem;
}

.greenpower-video-card span,
.greenpower-flyer-card span,
.greenpower-doc-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.greenpower-video-card strong {
  font-size: 1.05rem;
}

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

.greenpower-flyer-card img {
  aspect-ratio: 1080 / 1350;
  border-radius: 0.62rem;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.greenpower-flyer-card span {
  padding: 0 0.45rem 0.45rem;
}

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

.greenpower-doc-card {
  border-radius: 0.8rem;
  color: #fff;
  display: grid;
  gap: 1rem;
  min-height: 17rem;
  padding: clamp(1.3rem, 2.8vw, 2.4rem);
  position: relative;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.greenpower-doc-card:hover {
  border-color: rgba(80, 177, 142, 0.42);
  box-shadow: 0 36px 110px rgba(16, 16, 20, 0.26);
  transform: translateY(-0.35rem);
}

.greenpower-doc-card strong {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.94;
  max-width: 10ch;
}

.greenpower-doc-card p {
  align-self: end;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  margin: 0;
  max-width: 32rem;
}

.greenpower-doc-card i {
  color: #50b18e;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}

.greenpower-deliverables,
.greenpower-cta {
  background:
    radial-gradient(circle at 88% 12%, rgba(80, 177, 142, 0.24), transparent 26rem),
    linear-gradient(135deg, #07120f 0%, #10251d 58%, #1f4f3d 100%);
}

.greenpower-deliverables .ofena-deliverable-grid article::before {
  background: linear-gradient(180deg, #50b18e, rgba(80, 177, 142, 0));
}

.greenpower-deliverables .ofena-deliverable-grid article:nth-child(2)::before {
  background: linear-gradient(180deg, var(--teal), rgba(13, 143, 138, 0));
}

.greenpower-deliverables .ofena-deliverable-grid article:nth-child(3)::before {
  background: linear-gradient(180deg, var(--gold), rgba(217, 164, 65, 0));
}

.greenpower-deliverables .ofena-deliverable-grid article:nth-child(4)::before {
  background: linear-gradient(180deg, var(--blue), rgba(40, 89, 217, 0));
}

.button.primary::before,
.button.secondary::after,
.contact .button.primary::after {
  background: #f7f4ee;
}

.button.primary,
.button.secondary:hover,
.contact .button.primary:hover {
  color: #101014;
}

.nav-cta {
  background: #f7f4ee;
  color: #101014;
}

.nav-cta::after {
  background: #101014;
}

.nav-cta:hover {
  color: #f7f4ee;
}

.button.primary::after,
.contact .button.primary::before {
  background: #101014;
}

.button.primary:hover,
.contact .button.primary {
  color: #f7f4ee;
}

.contact,
.process,
.case-band,
.ofena-deliverables {
  color: #f7f4ee;
}

.legal-content a,
.screenshot-card strong,
.footer-main span:first-child,
.ofena-result-copy a {
  color: var(--ink);
}

.ofena-hero-shot,
.ofena-screen-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.ofena-screen-card {
  color: var(--ink);
}

.ofena-screen-card span {
  color: var(--muted);
}

footer {
  color: var(--muted);
  display: grid;
  gap: 0.85rem;
  margin-inline: auto;
  max-width: none;
  padding: 1.6rem max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  width: 100%;
}

.footer-main,
.footer-legal {
  justify-content: space-between;
}

.footer-main span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.footer-legal {
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  padding-top: 0.85rem;
}

.footer-legal nav {
  gap: 1rem;
}

.footer-legal a {
  transition: color 180ms ease;
}

.footer-legal a:hover {
  color: var(--ink);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .intro-video[data-reveal] {
  transform: translateY(calc(-50% + 22px));
}

.reveal-ready .intro-video[data-reveal].is-visible {
  transform: translateY(-50%);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Near-circular path (8 points + linear timing) so the glow glides smoothly
   rather than cornering through a square. */
@keyframes heroDotDrift {
  0%    { --hero-dot-x: 80%; --hero-dot-y: 50%; }
  12.5% { --hero-dot-x: 71%; --hero-dot-y: 71%; }
  25%   { --hero-dot-x: 50%; --hero-dot-y: 80%; }
  37.5% { --hero-dot-x: 29%; --hero-dot-y: 71%; }
  50%   { --hero-dot-x: 20%; --hero-dot-y: 50%; }
  62.5% { --hero-dot-x: 29%; --hero-dot-y: 29%; }
  75%   { --hero-dot-x: 50%; --hero-dot-y: 20%; }
  87.5% { --hero-dot-x: 71%; --hero-dot-y: 29%; }
  100%  { --hero-dot-x: 80%; --hero-dot-y: 50%; }
}

@keyframes heroDotShimmer {
  0%,
  24% {
    opacity: 0;
    transform: translateX(-36%) rotate(0.001deg);
  }

  48% {
    opacity: 0.22;
  }

  76%,
  100% {
    opacity: 0;
    transform: translateX(36%) rotate(0.001deg);
  }
}

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

  .hero-dot-hero {
    animation: none !important;
  }

  .hero-dot-hero::after {
    animation: none !important;
    opacity: 0.08;
  }

  .hero-stat-item::before {
    display: none;
  }

}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    position: fixed;
  }

  .site-header.is-menu-open {
    background: var(--paper);
  }

  .site-header.is-menu-open::before {
    border-bottom-color: transparent;
  }

  .site-header.is-menu-open ~ .back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.7rem) scale(0.96);
  }

  .nav {
    align-items: stretch;
    backdrop-filter: blur(22px);
    background: var(--header-bg);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 18px 45px rgba(16, 16, 20, 0.12);
    display: grid;
    gap: 0.15rem;
    left: 0;
    max-height: calc(100svh - 100%);
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.65rem 1rem 0.9rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-0.45rem);
    transform-origin: top center;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0ms linear 260ms;
    visibility: hidden;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-menu-open .nav {
    background: var(--paper);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0ms;
    visibility: visible;
  }

  .nav a {
    border-radius: 0.55rem;
    font-size: 1rem;
    padding: 0.85rem 0.9rem;
    transition: background 220ms ease, color 220ms ease;
  }

  .nav-item {
    opacity: 0;
    transform: translateY(-0.35rem);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  /* ---- Two-step drill-down menu ---- */
  /* Level 1: section titles act as buttons with a chevron; submenus hidden. */
  .nav-item > a {
    align-items: center;
    display: flex;
    font-weight: 600;
    justify-content: space-between;
  }

  .nav-item > a::after {
    color: var(--muted);
    content: "\f054"; /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-size: 0.78rem;
    font-weight: 900;
  }

  .nav-submenu {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
    gap: 0;
    margin: 0;
    min-width: 0;
    opacity: 1;
    padding: 0;
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    border-radius: 0.45rem;
    color: var(--muted);
    font-size: 0.98rem;
    padding: 0.8rem 0.9rem;
  }

  /* Level 2: a section is open — hide the other titles + the active title row,
     reveal that section's submenu, and show the back row. */
  .nav-item.is-open > .nav-submenu {
    animation: navDrillIn 240ms cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
  }

  .nav.is-drilled .nav-item:not(.is-open) {
    display: none;
  }

  .nav.is-drilled .nav-item.is-open > a {
    display: none;
  }

  .nav-back {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    gap: 0.55rem;
    margin: 0 0 0.35rem;
    padding: 0.85rem 0.9rem;
    text-align: left;
    width: 100%;
  }

  .nav-back i {
    color: var(--muted);
    font-size: 0.82rem;
  }

  .nav.is-drilled .nav-back {
    animation: navDrillIn 240ms cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
  }

  @keyframes navDrillIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .site-header.is-menu-open .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .nav-item:nth-child(1) {
    transition-delay: 40ms;
  }

  .site-header.is-menu-open .nav-item:nth-child(2) {
    transition-delay: 80ms;
  }

  .site-header.is-menu-open .nav-item:nth-child(3) {
    transition-delay: 120ms;
  }

  .site-header.is-menu-open .nav-item:nth-child(4) {
    transition-delay: 160ms;
  }

  .hero,
  .case-hero,
  .ofena-case-hero,
  .ofena-narrative,
  .ofena-screen-heading,
  .ofena-result,
  .error-hero,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .ofena-screen-heading h2 {
    justify-self: start;
    max-width: 18ch;
    text-align: left;
  }

  .section-heading > p:not(.section-kicker) {
    grid-column: auto;
    justify-self: start;
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

  .hero.hero-dot-hero {
    align-content: center;
    min-height: calc(100svh - 4.8rem);
  }

  .hero-showcase {
    max-width: 34rem;
  }

  .work-stage {
    aspect-ratio: 16 / 9;
    height: clamp(20rem, 52vh, 30rem);
  }

  .work-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-grid,
  .case-overview,
  .ofena-meta,
  .ofena-screen-grid,
  .ofena-deliverable-grid,
  .greenpower-video-grid,
  .greenpower-flyer-grid,
  .greenpower-doc-grid,
  .screenshot-grid,
  .case-columns,
  .case-band-inner,
  .case-showcase-grid,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .case-hero {
    min-height: auto;
  }

  .ofena-case-hero {
    min-height: auto;
  }

  .case-panel.large {
    grid-row: span 1;
  }

  .customer-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-logos {
    justify-content: flex-start;
    width: 100%;
  }

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

  .hero-stats {
    bottom: auto;
    justify-self: center;
    max-width: 30rem;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    translate: 0;
    width: min(100%, 30rem);
  }

  .reveal-ready .hero-stats[data-reveal] {
    transform: translateY(22px);
  }

  .reveal-ready .hero-stats[data-reveal].is-visible {
    transform: translateY(0);
  }

  .hero.hero-dot-hero h1 {
    overflow-wrap: break-word;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  html {
    scroll-snap-type: none;
  }

  body {
    padding-top: 4.05rem;
  }

  .site-header {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 0.8rem 1rem;
  }

  .hero.hero-dot-hero {
    min-height: 110svh;
    padding-bottom: 10svh;
  }

  .brand img {
    height: 1.05rem;
    max-width: 8rem;
  }

  .nav-cta {
    font-size: 0.78rem;
    height: 2.2rem;
    padding: 0 0.78rem;
  }

  .menu-toggle {
    height: 2.2rem;
    width: 2.2rem;
  }

  .back-to-top {
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    height: 2.75rem;
    right: max(0.9rem, env(safe-area-inset-right));
    width: 2.75rem;
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 5.5rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .home-page {
    margin-top: -4.05rem;
  }

  .hero-dot-hero {
    animation: heroDotDrift 24s linear infinite;
    --hero-dot-hover-opacity: 0.78;
    align-content: center;
    min-height: 110svh;
    overflow: hidden;
    padding: 8.4rem 1.15rem 7rem;
  }

  .hero-dot-hero::before {
    background:
      radial-gradient(circle at 50% 38%, rgba(16, 16, 20, 0.2) 0%, rgba(16, 16, 20, 0.52) 66%, rgba(16, 16, 20, 0.74) 100%),
      linear-gradient(180deg, rgba(16, 16, 20, 0.42) 0%, rgba(16, 16, 20, 0.76) 100%);
    height: 100%;
    position: absolute;
    width: 100%;
  }

  .hero-dot-field {
    background-size: 12px 12px;
  }

  .hero-dot-field::before,
  .hero-dot-field::after {
    background-size: 12px 12px;
  }

  .hero-dot-hero .hero-copy {
    gap: 1.15rem;
    max-width: 100%;
  }

  .hero-dot-hero .eyebrow {
    font-size: clamp(0.88rem, 4.6vw, 1.08rem);
    line-height: 1.45;
    margin-bottom: 0.8rem;
    max-width: 18rem;
  }

  .hero-dot-hero h1 {
    font-size: clamp(1.9rem, 10vw, 3.35rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    max-width: 100%;
    min-height: calc(2 * 0.95em);
    overflow-wrap: break-word;
    white-space: normal;
  }

  .hero-dot-hero h1 .hero-highlight {
    display: block;
    min-height: 0.95em;
  }

  .hero-dot-hero .hero-text {
    font-size: clamp(0.95rem, 4.35vw, 1.08rem);
    line-height: 1.45;
  }

  .hero-dot-hero .hero-actions {
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .hero-dot-hero .button {
    font-size: 0.92rem;
    min-height: 2.85rem;
    padding: 0.78rem 1rem;
    width: fit-content;
  }

  .hero-stats {
    bottom: calc(10svh + 1.5rem);
    left: 1.15rem;
    margin-top: 0;
    max-width: none;
    position: absolute;
    right: auto;
    text-align: left;
    top: auto;
    width: calc(100% - 2.3rem);
  }

  .hero-pill {
    bottom: auto;
    font-size: 0.78rem;
    left: auto;
    padding: 0.5rem 0.8rem;
    right: 1rem;
    top: 4.35rem;
    transform: none;
  }

  .hero-pill:hover,
  .hero-pill:focus-visible {
    transform: translateY(-2px);
  }

  .hero-stat-item {
    flex: 0 0 calc(50% - 0.275rem);
    padding: 0.8rem 0.7rem;
    text-align: left;
  }

  .hero-stats dt {
    font-size: clamp(0.88rem, 4vw, 1.05rem);
  }

  .hero-stats dd {
    font-size: 0.55rem;
    line-height: 1.18;
  }

  .intro {
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

  .intro-copy {
    display: contents;
  }

  .intro-panel {
    min-height: auto;
  }

  .intro-panel:first-child {
    order: 1;
  }

  .intro-video {
    order: 2;
  }

  .intro-panel:nth-child(2) {
    order: 3;
  }

  .intro-copy,
  .intro-video {
    flex: none;
    margin-top: 0;
    max-width: 100%;
    position: static;
    transform: none;
    width: 100%;
  }

  .reveal-ready .intro-video[data-reveal] {
    transform: translateY(22px);
  }

  .reveal-ready .intro-video[data-reveal].is-visible {
    transform: translateY(0);
  }

  .video-link-full {
    display: none;
  }

  .video-link-short {
    display: inline;
  }

  .video-meta {
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
  }

  .video-controls {
    gap: 0.85rem;
  }

  .work-showcase {
    min-height: auto;
  }

  .work-sticky {
    min-height: auto;
    padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
    position: static;
  }

  .work-heading {
    margin-bottom: 1.5rem;
  }

  .work-tabs {
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
  }

  .work-stage {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 30rem;
  }

  .work-panel,
  .work-panel.is-active {
    grid-template-columns: 1fr;
  }

  .work-panel {
    position: absolute;
  }

  .work-panel-copy {
    align-content: start;
    padding: 1rem;
  }

  .work-panel-media {
    min-height: 16rem;
  }

  .work-panel h3 {
    font-size: clamp(1.45rem, 7vw, 2.35rem);
  }

  .hero-actions,
  .button,
  .contact .button.primary {
    width: 100%;
  }

  .contact {
    gap: 1.35rem;
  }

  .contact h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
    max-width: 14ch;
  }

  .error-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .error-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .showcase-frame {
    border-radius: 1rem;
    transform: none;
  }

  .showcase-card {
    display: none;
  }

  .service-grid,
  .case-overview,
  .ofena-meta,
  .ofena-screen-grid,
  .ofena-deliverable-grid,
  .greenpower-video-grid,
  .greenpower-flyer-grid,
  .greenpower-doc-grid,
  .screenshot-grid,
  .case-columns,
  .case-band-inner,
  .case-showcase-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process {
    padding-block: 3.25rem;
  }

  .process .section-heading {
    margin-bottom: 1.35rem;
  }

  .process-steps {
    gap: 0.85rem;
  }

  .process-steps article {
    min-height: auto;
    padding: 1.1rem 1.15rem 1.2rem;
  }

  .process-steps span {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
  }

  .process-steps strong {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    line-height: 1;
    margin: 1.1rem 0 0.7rem;
    max-width: 11ch;
  }

  .process-steps p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .case-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .ofena-case-copy h1 {
    font-size: clamp(2.65rem, 10.5vw, 3.8rem);
    max-width: 10.8ch;
  }

  .ofena-case-hero {
    display: block;
    max-width: 100vw;
    overflow: hidden;
    padding-inline: 1rem;
    width: 100vw;
  }

  .ofena-case > section,
  .ofena-meta,
  .ofena-narrative,
  .ofena-screens,
  .ofena-deliverables,
  .ofena-result {
    max-width: 100vw;
    overflow: hidden;
  }

  .ofena-case-copy,
  .ofena-case-copy .hero-text,
  .ofena-case .hero-actions,
  .greenpower-hero-video,
  .ofena-hero-shot {
    max-width: 22rem !important;
    width: 100% !important;
  }

  .ofena-case .button {
    max-width: 22rem !important;
    width: 100% !important;
  }

  .ofena-case .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ofena-hero-shot {
    justify-self: stretch;
    margin-top: 2rem;
    transform: none;
  }

  .greenpower-hero-video {
    margin-top: 2rem;
    transform: none;
  }

  .case-browser {
    transform: none;
  }

  .browser-screen {
    min-height: 26rem;
  }

  .customer-logo {
    flex: 1 1 100%;
  }

  .customer-logo img {
    width: min(100%, 13rem);
  }

  .ofena-deliverable-grid {
    gap: 0.75rem;
  }

  .ofena-deliverable-grid article {
    min-height: auto;
  }

  footer {
    gap: 0.5rem;
  }

  .footer-main,
  .footer-legal,
  .footer-legal nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal nav {
    gap: 0.45rem;
  }
}

/* ── Feature Grid Section ────────────────────────────────────── */
.features-grid-section {
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.features-grid-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.features-grid-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.features-grid-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 38ch;
}

/* 10-col grid: row 1 = wide-left(6) + narrow-right(4), row 2 = narrow-left(4) + wide-right(6) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

/* Card base */
.fg-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.6rem;
  gap: 1.25rem;
  transition: border-color 280ms ease;
}

.fg-card:hover {
  border-color: rgba(255, 147, 0, 0.3);
}

.fg-card-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.fg-card-text p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
  max-width: 26ch;
}

/* Checkerboard: Web=text-top, Brand=text-bottom, Video=text-bottom, SEO=text-top */
.fg-card--web   { grid-area: 1 / 1 / 2 / 7; }
.fg-card--brand { grid-area: 1 / 7 / 2 / 11; }
.fg-card--brand .fg-card-text p { max-width: 22ch; }

/* Video: [text,visual]+column-reverse → visual-top, text-bottom */
.fg-card--video { grid-area: 2 / 1 / 3 / 5; flex-direction: column-reverse; }
/* SEO: [text,visual]+column → text-top, visual-bottom */
.fg-card--seo   { grid-area: 2 / 5 / 3 / 11; }

/* ── Shared visual — bleeds to card edges ───────────────── */
.fg-card-visual {
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  margin: 0 -1.6rem;
  padding: 1.25rem 1.6rem;
  width: calc(100% + 3.2rem);
}

/* Visual at bottom (text on top): flush bottom corners */
.fg-card--web .fg-card-visual {
  border-top: 1px solid var(--line);
  border-radius: 0 0 0.55rem 0.55rem;
  margin-bottom: -1.6rem;
}

/* Visual at top (text on bottom): flush top corners */
.fg-card--brand .fg-card-visual,
.fg-card--video .fg-card-visual {
  border-bottom: 1px solid var(--line);
  border-radius: 0.55rem 0.55rem 0 0;
  margin-top: -1.6rem;
}

/* ── Web design mockup ──────────────────────────────────── */
.fg-visual-web {
  align-items: stretch;
  display: flex;
  gap: 0.75rem;
}

.fgw-browser {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.fgw-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid var(--line);
}

.fgw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: block;
}

.fgw-url {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  margin-left: 0.5rem;
}

.fgw-browser-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fgw-hero-block {
  background: rgba(255, 147, 0, 0.07);
  border: 1px solid rgba(255, 147, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fgw-hero-line {
  border-radius: 3px;
  background: rgba(247,244,238,0.18);
}

.fgw-hero-line--h {
  height: 10px;
  width: 65%;
  background: rgba(247,244,238,0.35);
}

.fgw-hero-line--p {
  height: 7px;
  width: 85%;
}

.fgw-hero-line--short {
  width: 55%;
}

.fgw-hero-btn {
  margin-top: 0.3rem;
  width: 60px;
  height: 18px;
  border-radius: 9px;
  background: #ff9300;
  opacity: 0.85;
}

.fgw-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.fgw-mini-card {
  height: 36px;
  border-radius: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}

/* Side panel — visible only on wider cards */
.fgw-side-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: space-between;
  padding: 0.85rem;
  width: 160px;
  flex-shrink: 0;
}

.fgw-side-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.fgw-side-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin-top: 2px;
}

.fgw-side-row--active .fgw-side-dot {
  background: #ff9300;
}

.fgw-side-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.fgw-side-line {
  height: 7px;
  border-radius: 3px;
  background: rgba(247,244,238,0.12);
  width: 80%;
}

.fgw-side-line--title {
  height: 9px;
  width: 60%;
  background: rgba(247,244,238,0.28);
}

.fgw-side-row--active .fgw-side-line {
  background: rgba(255,147,0,0.3);
}

.fgw-perf-badge {
  align-items: center;
  background: rgba(255,147,0,0.1);
  border: 1px solid rgba(255,147,0,0.25);
  border-radius: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding: 0.75rem 1rem;
}

.fgw-perf-score {
  color: #ff9300;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fgw-perf-label {
  color: rgba(247,244,238,0.45);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Extra photo column */
.fgp-col--extra {
  display: none;
}

/* ── Brand identity mockup ──────────────────────────────── */
.fg-visual-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fgb-palette {
  display: flex;
  gap: 0.4rem;
  height: 36px;
}

.fgb-swatch {
  flex: 1;
  border-radius: 0.4rem;
}

.fgb-swatch--1 { background: #ff9300; }
.fgb-swatch--2 { background: #f7f4ee; }
.fgb-swatch--3 { background: #3b3730; }
.fgb-swatch--4 { background: #101014; border: 1px solid var(--line); }

.fgb-logo-mock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
}

.fgb-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.4rem;
  background: #ff9300;
  flex-shrink: 0;
}

.fgb-logo-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.fgb-logo-name {
  height: 9px;
  width: 70%;
  border-radius: 3px;
  background: rgba(247,244,238,0.35);
}

.fgb-logo-tag {
  height: 7px;
  width: 45%;
  border-radius: 3px;
  background: rgba(247,244,238,0.14);
}

.fgb-type-scale {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}

.fgb-type {
  border-radius: 3px;
  background: rgba(247,244,238,0.14);
}

.fgb-type--xl { height: 13px; width: 50%; background: rgba(247,244,238,0.32); }
.fgb-type--lg { height: 10px; width: 70%; }
.fgb-type--md { height: 8px; width: 85%; }
.fgb-type--sm { height: 7px; width: 60%; }

/* ── Video mockup ───────────────────────────────────────── */
.fg-visual-video {
  align-items: stretch;
  display: flex;
  gap: 0.75rem;
}

/* Mobile phone mockup — visible only on large screens */
.fgv-phone {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  width: 76px;
  flex-shrink: 0;
}

.fgv-phone-screen {
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  flex: 1;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fgv-phone-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,147,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-left: 2px;
}

.fgv-phone-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.fgv-phone-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 55%;
  background: #ff9300;
  border-radius: 2px;
}

.fgv-player {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fgv-screen {
  background: rgba(0,0,0,0.4);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.fgv-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 147, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-left: 3px;
}

.fgv-timeline {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.1);
  margin: 0.75rem 0.85rem 0.35rem;
  border-radius: 2px;
}

.fgv-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 38%;
  background: #ff9300;
  border-radius: 2px;
}

.fgv-thumb {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff9300;
}

.fgv-clips {
  display: flex;
  gap: 0.3rem;
  padding: 0 0.85rem 0.85rem;
}

.fgv-clip {
  flex: 1;
  height: 22px;
  border-radius: 0.3rem;
  border: 1px solid var(--line);
}

.fgv-clip--1 { background: rgba(255, 147, 0, 0.25); flex: 1.6; }
.fgv-clip--2 { background: rgba(255,255,255,0.07); }
.fgv-clip--3 { background: rgba(255,255,255,0.07); flex: 1.3; }
.fgv-clip--4 { background: rgba(255,255,255,0.07); flex: 0.8; }

/* ── Photography mockup ─────────────────────────────────── */
.fg-visual-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fgp-grid {
  display: flex;
  gap: 0.4rem;
  height: 120px;
}

.fgp-img {
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}

.fgp-img--tall {
  flex: 1.2;
  background: linear-gradient(145deg, rgba(255,147,0,0.15), rgba(255,255,255,0.05));
}

.fgp-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fgp-img--sq {
  flex: 1;
  background: rgba(255,255,255,0.07);
}

.fgp-img--accent {
  background: linear-gradient(135deg, rgba(255,147,0,0.2), rgba(255,147,0,0.06));
}

.fgp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 147, 0, 0.12);
  border: 1px solid rgba(255, 147, 0, 0.3);
  border-radius: 2rem;
  color: #ff9300;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  width: fit-content;
}

/* ── SEO & Growth mockup ────────────────────────────────── */

/* Override card padding — handled zone by zone */
.fg-card--seo {
  gap: 0;
  padding: 0;
}

/* Top zone: graph fills the area, text pinned top-left */
.fgs-top {
  flex: 1;
  min-height: 160px;
  overflow: hidden;
  padding: 1.6rem;
  position: relative;
}

.fgs-graph {
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.fgs-area {
  fill: url(#seo-fill);
}

.fgs-line-path {
  fill: none;
  stroke: #ff9300;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fgs-dot {
  background: #ff9300;
  border-radius: 50%;
  bottom: 0;
  box-shadow: 0 0 0 4px rgba(255,147,0,0.2);
  height: 8px;
  position: absolute;
  right: 1.6rem;
  width: 8px;
  /* approx where the line ends in the viewBox: ~3.3% from top */
  top: 3.3%;
}

/* Fade the graph out behind the title so the text stays readable */
.fgs-top::after {
  background: radial-gradient(125% 115% at 0% 0%, var(--paper) 20%, rgba(16,16,20,0) 60%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

/* Title sits in the top-left above the graph */
.fgs-top .fg-card-text {
  position: relative;
  z-index: 1;
}

/* Grid lines inside SVG */
.fgs-grid line {
  stroke: rgba(247,244,238,0.07);
  stroke-width: 1;
}

/* Bottom zone: keyword rows, flush to card edges, divided by lines */
.fgs-keywords {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fgs-kw {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1.4rem;
}

.fgs-kw:last-child {
  border-bottom: none;
}

.fgs-kw-term {
  color: rgba(247,244,238,0.55);
  font-size: 0.75rem;
  font-family: inherit;
}

.fgs-kw-rank {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fgs-kw-rank--up {
  color: #4ade80;
}

.fgs-kw--extra {
  display: none;
}

/* ── Scroll-triggered animations ─────────────────────────── */
/* SEO line draws in (stroke-dashoffset set + animated from JS); area + dot
   fade/scale in once the section enters view. */
.fgs-area {
  opacity: 0;
  transition: opacity 900ms ease 600ms;
}

.features-grid-section.is-drawn .fgs-area {
  opacity: 1;
}

.fgs-dot {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 400ms ease 1500ms, transform 400ms ease 1500ms;
}

.features-grid-section.is-drawn .fgs-dot {
  opacity: 1;
  transform: scale(1);
}

/* Video card: clips draw in, then the playhead runs like a playing video. */
.fgv-clip {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.features-grid-section.is-drawn .fgv-clip {
  transition: transform 550ms ease, opacity 550ms ease;
  transform: scaleX(1);
  opacity: 1;
}

.features-grid-section.is-drawn .fgv-clip--2 { transition-delay: 120ms; }
.features-grid-section.is-drawn .fgv-clip--3 { transition-delay: 240ms; }
.features-grid-section.is-drawn .fgv-clip--4 { transition-delay: 360ms; }

@keyframes fgvPlayFill {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes fgvPlayThumb {
  from { left: 0; }
  to   { left: 100%; }
}

.features-grid-section.is-drawn .fgv-progress {
  animation: fgvPlayFill 26s linear 500ms infinite;
}

.features-grid-section.is-drawn .fgv-thumb {
  animation: fgvPlayThumb 26s linear 500ms infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fgs-area,
  .fgs-dot,
  .fgv-clip {
    opacity: 1 !important;
    transform: none !important;
  }
  .fgv-progress,
  .fgv-thumb {
    animation: none !important;
  }
}

/* ── Large screens (≥900px): show extra elements ────────── */
@media (min-width: 900px) {
  .fgw-side-panel { display: flex; }
  .fgs-kw--extra  { display: flex; }
  .fgv-screen     { height: 110px; }
  .fgv-phone      { display: flex; }
}

/* ── Tablet (641–899px) ──────────────────────────────────── */
@media (max-width: 899px) and (min-width: 641px) {
  .features-grid {
    grid-template-columns: 3fr 2fr;
  }
  .fg-card--web   { grid-area: 1 / 1; }
  .fg-card--brand { grid-area: 1 / 2; }
  .fg-card--video { grid-area: 2 / 1; }
  .fg-card--seo   { grid-area: 2 / 2; }
  .fgb-type-scale { display: none; }
}

/* ── Mobile (≤640px): single column, simplified visuals ─── */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .fg-card--web,
  .fg-card--brand,
  .fg-card--video,
  .fg-card--seo {
    grid-area: auto;
  }

  /* Restore natural direction on mobile (visual always below text) */
  .fg-card--video { flex-direction: column; }

  /* Cards go full width here, so give the visuals room to breathe
     instead of stretching wide and short. */
  .fg-card {
    gap: 1.5rem;
  }

  .fgv-screen     { height: 150px; }
  .fgs-top        { min-height: 190px; }
  .fgb-type-scale { display: none; }
  .fgp-col--extra { display: none; }
  .fgw-side-panel { display: none; }

  /* Keep the browser mock detail so the web card isn't a thin strip */
  .fgw-cards-row  { display: flex; }
}

/* ── Video showcase ─────────────────────────────────────── */
/* ── Process section ─────────────────────────────────────── */
/* Base = stacked layout (mobile / no-pin fallback) */
.process-section {
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.process-pin {
  display: block;
}

.process-panel {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 147, 0, 0.12);
  border: 1px solid rgba(255, 147, 0, 0.3);
  border-radius: 2rem;
  color: #ff9300;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.process-panel h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.process-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 44ch;
}

/* Nav tabs — hidden until the desktop pinned layout is active */
.process-nav {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 2rem;
}

.process-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.process-nav-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
  transition: color 220ms ease, opacity 220ms ease;
}

.process-nav-label {
  font-size: 1rem;
  font-weight: 600;
}

.process-nav-btn:hover {
  background: var(--surface);
  color: var(--ink);
}

.process-nav-btn.is-active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  color: var(--ink);
}

.process-nav-btn.is-active .process-nav-num {
  color: var(--accent);
  opacity: 1;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.process-step {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.6rem;
  overflow: hidden;
  transition: border-color 280ms ease, transform 280ms ease;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.65;
  z-index: 1;
}

/* Dot matrix — strongest top-right, faded out behind the text */
.process-step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 55%, transparent) 1.1px, transparent 1.7px);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(135% 115% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 38%, transparent 62%);
  mask-image: radial-gradient(135% 115% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 38%, transparent 62%);
}

.process-step:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
}

.process-step-num {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}

.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.process-step p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

/* ── Desktop: pinned panel + scroll-driven card deck ─────── */
@media (min-width: 901px) {
  .process-section[data-process] {
    height: 400vh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .process-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: minmax(300px, 5fr) 7fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .process-panel {
    text-align: left;
    margin-bottom: 0;
  }

  .process-panel p {
    margin: 0;
    max-width: 38ch;
  }

  .process-nav {
    display: flex;
  }

  /* Stage holds the cards stacked on top of one another — give it a good
     chunk of the pinned viewport height so the deck has room to stagger. */
  .process-stage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62vh;
  }

  .process-steps {
    display: block;
    position: relative;
    width: 100%;
  }

  /* Non-active cards become bare outline shapes stacked around the active one
     — no fill, no colour, no text. --po = signed distance from active. */
  .process-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    --po: 1;
    --pa: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 3.5vw, 3rem);
    background: #26262d;
    border-color: transparent;
    /* Deeper cards sit further down, smaller and dimmer — a stacked deck. */
    transform: translateY(calc(var(--po) * 46px)) scale(calc(1 - var(--pa) * 0.07));
    opacity: calc(1 - (var(--pa) - 1) * 0.24);
    transition: transform 520ms ease, opacity 520ms ease, background-color 520ms ease, border-color 520ms ease;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
  }

  /* Click a stacked silhouette to jump to that card — keep its deck transform
     on hover (don't fall back to the base lift) and brighten for affordance. */
  .process-step:not(.is-active):hover {
    transform: translateY(calc(var(--po) * 46px)) scale(calc(1 - var(--pa) * 0.07));
    background: #313139;
    opacity: calc(1 - (var(--pa) - 1) * 0.24);
  }

  /* Hide every bit of card content + decoration on the outline shapes. */
  .process-step .process-step-icon,
  .process-step h3,
  .process-step p,
  .process-step .process-step-num,
  .process-step::before,
  .process-step::after {
    transition: opacity 380ms ease;
  }

  .process-step:not(.is-active) .process-step-icon,
  .process-step:not(.is-active) h3,
  .process-step:not(.is-active) p,
  .process-step:not(.is-active) .process-step-num,
  .process-step:not(.is-active)::before,
  .process-step:not(.is-active)::after {
    opacity: 0;
  }

  /* The active card sits in normal flow so the stage takes its full height
     (no clipping); the outline shapes are layered around it. */
  .process-step.is-active {
    position: relative;
    --po: 0;
    transform: translateY(0) scale(1);
    opacity: 1;
    background: #1b1b21;
    border-color: var(--line);
    pointer-events: auto;
    cursor: default;
    z-index: 10;
  }

  .process-step.is-active:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  }

  /* During an anchor jump, drop the flick animation so the cards snap to the
     target instead of riffling through every intermediate card. */
  .process-section[data-process].is-static .process-step,
  .process-section[data-process].is-static .process-step .process-step-icon,
  .process-section[data-process].is-static .process-step h3,
  .process-section[data-process].is-static .process-step p,
  .process-section[data-process].is-static .process-step .process-step-num,
  .process-section[data-process].is-static .process-step::before,
  .process-section[data-process].is-static .process-step::after {
    transition: none;
  }

  .process-step-num {
    font-size: 4rem;
    top: 1.4rem;
    right: 1.8rem;
  }

  .process-step-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .process-step p {
    font-size: 1rem;
    max-width: 40ch;
  }
}

/* Reduced motion / no scroll-pin: keep cards simply stacked */
@media (prefers-reduced-motion: reduce) {
  .process-section[data-process] {
    height: auto !important;
  }

  .process-pin {
    position: static !important;
    height: auto !important;
    display: block !important;
  }

  .process-nav {
    display: none !important;
  }

  .process-steps {
    display: grid !important;
    height: auto !important;
    gap: 0.75rem;
  }

  .process-step {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* ── Trusted by ──────────────────────────────────────────── */
.trusted-section {
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.trusted-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.trusted-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 147, 0, 0.12);
  border: 1px solid rgba(255, 147, 0, 0.3);
  border-radius: 2rem;
  color: #ff9300;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.trusted-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.trusted-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 44ch;
}

.trusted-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.trusted-logos a {
  display: inline-flex;
  align-items: center;
}

.trusted-logos img {
  height: 2.25rem;
  width: auto;
  /* Flatten each logo to a single uniform grey silhouette (ignores the
     logo's own colours, so two-tone marks like Ofena don't look mismatched). */
  filter: brightness(0) invert(0.62);
  opacity: 0.8;
  transition: filter 280ms ease, opacity 280ms ease;
}

.trusted-logos a:hover img,
.trusted-logos a:focus-visible img {
  filter: none;
  opacity: 1;
}

.video-section {
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
}

.video-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.video-header-text {
  min-width: 0;
  text-align: left;
}

.video-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.video-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 2rem;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.video-highlights li:hover {
  background: rgba(255, 147, 0, 0.07);
  border-color: rgba(255, 147, 0, 0.35);
  transform: translateY(-1px);
}

.vh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9300;
  font-size: 0.9rem;
}

.vh-label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.video-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 147, 0, 0.12);
  border: 1px solid rgba(255, 147, 0, 0.3);
  border-radius: 2rem;
  color: #ff9300;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.video-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.video-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 46ch;
}

.video-card {
  appearance: none;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  transition: border-color 280ms ease, transform 280ms ease;
}

.showcase-carousel-track .video-card {
  flex: 0 0 clamp(18rem, 32vw, 26rem);
  width: clamp(18rem, 32vw, 26rem);
  scroll-snap-align: start;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: rgba(255, 147, 0, 0.45);
  outline: none;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.3) 100%
  );
  transition: opacity 280ms ease;
  pointer-events: none;
}

.video-card.is-playing .video-overlay {
  opacity: 0;
}

.video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 147, 0, 0.92);
  color: #101014;
  font-size: 1.05rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 280ms ease, background 280ms ease;
}

.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  transform: scale(1.08);
  background: #ff9300;
}

.video-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-align: left;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(16, 16, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  backdrop-filter: blur(6px);
}

.video-title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .showcase-carousel-track .video-card {
    flex: 0 0 clamp(15rem, 80vw, 20rem);
    width: clamp(15rem, 80vw, 20rem);
  }
}

@media (max-width: 720px) {
  .video-highlights {
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
}

/* ── Ofena case study ────────────────────────────────────── */
.case-study {
  padding: clamp(4rem, 8vw, 7rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.case-study-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 147, 0, 0.12);
  border: 1px solid rgba(255, 147, 0, 0.3);
  border-radius: 2rem;
  color: #ff9300;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}

.case-study-logo {
  display: block;
  height: 2rem;
  width: auto;
  margin-bottom: 1.1rem;
}

.case-study-body h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.case-study-body > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.6rem;
  max-width: 48ch;
}

.case-study-points {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
}

.case-study-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.case-study-points i {
  color: #ff9300;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

.case-study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-study-media {
  display: block;
  position: relative;
  /* room for the overlapping mini frame to sit outside the main one */
  padding: 0 0 2.5rem;
}

/* Browser-window frame around the live site screenshot */
.cs-browser {
  display: block;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e12;
  box-shadow: var(--shadow);
  transition: border-color 320ms ease, transform 420ms ease;
}

.cs-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.cs-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.cs-url {
  margin-left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 0.18rem 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.cs-url i {
  font-size: 0.62rem;
  color: #4ade80;
}

.cs-browser-shot {
  display: block;
  overflow: hidden;
}

.cs-browser-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 700ms ease;
}

/* Smaller secondary frame overlapping the bottom-right corner */
.cs-browser--mini {
  position: absolute;
  right: -0.75rem;
  bottom: 0;
  width: 42%;
  z-index: 2;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.cs-browser--mini .cs-browser-bar {
  padding: 0.45rem 0.6rem;
  gap: 0.3rem;
}

.cs-browser--mini .cs-dot {
  width: 0.4rem;
  height: 0.4rem;
}

.cs-browser--mini .cs-url {
  margin-left: 0.4rem;
  font-size: 0.62rem;
  padding: 0.12rem 0.5rem;
}

.case-study-media:hover .cs-browser {
  border-color: rgba(255, 147, 0, 0.4);
}

.case-study-media:hover > .cs-browser:first-child {
  transform: translateY(-4px);
}

.case-study-media:hover .cs-browser-shot img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .case-study {
    grid-template-columns: 1fr;
  }
  .case-study-points {
    grid-template-columns: 1fr;
  }
}

/* ── Contact CTA (bright) ────────────────────────────────── */
.contact-cta {
  padding: clamp(2.5rem, 4.5vw, 3.75rem) max(var(--page-pad), calc((100vw - var(--content-width)) / 2));
  background: #ff9300;
  color: #1a1205;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(26, 18, 5, 0.12);
  border: 1px solid rgba(26, 18, 5, 0.22);
  border-radius: 2rem;
  color: #1a1205;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.2rem;
}

.contact-cta h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #160f04;
}

.contact-cta-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  color: rgba(26, 18, 5, 0.82);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.contact-cta h2 {
  margin-top: 0;
}

.contact-cta-text .contact-cta-email {
  margin-top: 0.25rem;
}

.contact-form {
  width: 100%;
}

.contact-form-row {
  display: flex;
  gap: 0.6rem;
}

.contact-form input {
  font: inherit;
  border: 1px solid rgba(26, 18, 5, 0.16);
  border-radius: 0.75rem;
  background: #fffaf2;
  color: #161616;
  padding: 0.95rem 1.15rem;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.contact-form input::placeholder {
  color: rgba(22, 22, 22, 0.45);
}

.contact-form input:focus {
  outline: none;
  border-color: #161616;
  box-shadow: 0 0 0 3px rgba(22, 16, 6, 0.25);
}

.contact-form-row input {
  flex: 1;
  min-width: 0;
}

.contact-form-msg {
  width: 100%;
  margin-top: 0.6rem;
}

.contact-form-btn {
  flex-shrink: 0;
  font: inherit;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  padding: 0.95rem 1.5rem;
  background: #161009;
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, background 200ms ease, opacity 200ms ease;
}

.contact-form-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

.contact-form-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.contact-form-status {
  min-height: 1.2em;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #160f04;
}

.contact-form-status.is-error {
  color: #7a1500;
}

.contact-form-privacy {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(26, 18, 5, 0.7);
  margin: 0.9rem 0 0;
}

.contact-form-privacy a {
  color: #160f04;
  text-decoration: underline;
  font-weight: 600;
}

.contact-cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #160f04;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease;
}

.contact-cta-email:hover {
  border-bottom-color: #160f04;
}

@media (max-width: 760px) {
  .contact-cta-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .contact-form-row {
    flex-direction: column;
  }
  .contact-form-btn {
    width: 100%;
  }
}
