@import url('https://fonts.cdnfonts.com/css/coolvetica');

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

:root {
  --gold: #d4a017;
  --gold-bright: #f0b429;
  --gold-muted: #a07810;
  --black: #000000;
  --bg: #040b16;
  --ui-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
}

html {
  background-color: var(--bg);
}

body {
  background:
    linear-gradient(180deg, #07101d 0%, #050b15 38%, #040912 100%);
  background-color: var(--bg);
  color: var(--gold);
  font-family: 'Coolvetica', 'Impact', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

@view-transition {
  navigation: auto;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 180, 41, 0.05), transparent 32%),
    linear-gradient(180deg, rgba(4, 11, 22, 0.12), rgba(4, 11, 22, 0.46));
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.34s ease;
}

body.page-is-entering .page {
  opacity: 0;
  transform: translateY(12px);
}

body.page-is-ready .page {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-is-leaving::after {
  opacity: 1;
}

body.page-is-leaving .page {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(240, 180, 41, 0.12), transparent 24%),
    radial-gradient(circle at 78% 8%, rgba(240, 180, 41, 0.07), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(212, 160, 23, 0.07), transparent 30%),
    radial-gradient(circle at 60% 35%, rgba(18, 34, 66, 0.22), transparent 34%);
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 1;
}

.behance-corner {
  position: fixed;
  top: clamp(1rem, 2vw, 1.6rem);
  right: clamp(1rem, 2.4vw, 2rem);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.2rem, 1vw, 3rem);
  height: clamp(2.2rem, 1vw, 3rem);
  border-radius: 999px;
  border: 1px solid rgba(240, 180, 41, 0.32);
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.94), rgba(4, 11, 22, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.24);
  color: var(--gold-bright);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.behance-corner:hover {
  color: #fff;
  border-color: rgba(240, 180, 41, 0.56);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.28);
}

.behance-corner svg {
  width: 55%;
  height: 55%;
  display: block;
}

.behance-corner:focus-visible {
  outline: 2px solid rgba(240, 180, 41, 0.9);
  outline-offset: 1px;
}

.site-corner-brand {
  position: fixed;
  top: clamp(1.1rem, 2vw, 1.6rem);
  left: clamp(1rem, 2.4vw, 2rem);
  z-index: 12;
  color: rgba(240, 180, 41, 0.68);
  text-decoration: none;
  font-family: var(--ui-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-corner-brand:hover {
  color: #fff;
}

.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 85vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}

.page-home {
  justify-content: flex-start;
}

.page-service-structured {
  justify-content: flex-start;
}

.page-service-structured {
  max-width: 96vw;
}

.page-service-structured .content-sections {
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  position: fixed;
  top: clamp(0.85rem, 1.5vw, 1.4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  width: min(100% - 8rem, 940px);
  pointer-events: none;
}

.site-header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 999px;
  background: rgba(6, 13, 24, 0.78);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.site-header-bar {
  display: none;
}

.site-header-brand {
  display: none;
}

.site-header-toggle {
  display: none;
}

.site-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  min-width: 0;
}

.site-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  color: rgba(240, 180, 41, 0.78);
  text-decoration: none;
  font-family: var(--ui-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header-link:hover,
.site-header-link[aria-current="page"] {
  color: #fff;
  background: rgba(240, 180, 41, 0.12);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.16);
}

.hero {
  padding: 14vh 6vw 0 6vw;
  max-width: 720px;
}

.hero-home {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  min-height: calc(100vh - 15rem);
}

.hero-copy {
  max-width: 720px;
}

.hero-intro {
  margin-top: 1.6rem;
  max-width: 42rem;
  font-family: Arial, sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  color: rgba(240, 180, 41, 0.82);
  opacity: 0;
  animation: fadeUp 0.85s ease forwards 0.55s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.7s;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--ui-font);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.primary-cta {
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  color: var(--bg);
}

.primary-cta:hover {
  background: transparent;
  color: var(--gold-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.secondary-cta {
  border: 1px solid var(--gold-muted);
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.secondary-cta:hover {
  border-color: var(--gold-bright);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.55s;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 12% 10% 14% 10%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.12), transparent 65%);
  filter: blur(30px);
  z-index: 0;
}

.hero-video {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.hero-404 {
  min-height: calc(100vh - 10rem);
}

.hero-media-404 {
  min-height: 420px;
}

.shape-404 {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(240, 180, 41, 0.28);
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.16), rgba(240, 180, 41, 0.04)),
    radial-gradient(circle at 30% 30%, rgba(240, 180, 41, 0.14), transparent 40%);
  clip-path: polygon(22% 10%, 84% 18%, 66% 50%, 90% 82%, 36% 94%, 14% 50%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1800px) {
  .hero-home {
    min-height: calc(100vh - 20rem);
    align-items: start;
  }

  .page-service {
    max-width: min(80vw, 1480px);
  }

  .page-service .hero {
    max-width: 780px;
    padding-top: 12vh;
  }

  .page-service .content-sections {
    padding-bottom: 4.5rem;
  }

  .hero-home .hero-copy {
    padding-top: 2vh;
  }

  .page-home .content-sections-compact {
    gap: 2.35rem;
    padding-bottom: 0;
  }

  .hero-video {
    width: min(100%, 730px);
    max-height: 78vh;
  }
}

@media (max-width: 700px) {
  .behance-corner {
    top: 0.85rem;
    right: 0.85rem;
    width: 2.45rem;
    height: 2.45rem;
  }
}

.hero-sub {
  font-family: var(--ui-font);
  font-size: clamp(0.9rem, 1.32vw, 1.14rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-muted);
  margin-bottom: 0.6em;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.2s;
}

.hero-headline {
  font-size: clamp(2.64rem, 5.04vw, 4.32rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-headline em {
  font-style: italic;
}

.hero-typed {
  display: inline-block;
  position: relative;
  min-width: 16ch;
  white-space: nowrap;
}

.hero-typed::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: heroCaretBlink 0.9s steps(1, end) infinite;
}

.hero-headline-service {
  margin-bottom: 1.5rem;
}

.bottom-nav {
  margin-top: auto;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 10vw, 10rem);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}

.bottom-nav a {
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  font-family: var(--ui-font);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.bottom-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.25s ease;
}

.bottom-nav a:hover {
  color: #fff;
}

.bottom-nav a:hover::after {
  width: 100%;
}

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: 1.45rem 0 1.55rem;
  border-top: 1px solid rgba(240, 180, 41, 0.12);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer-kicker,
.site-footer-meta {
  font-family: var(--ui-font);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(240, 180, 41, 0.58);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: center;
}

.site-footer-link {
  width: fit-content;
  font-size: 0.7rem;
  font-family: var(--ui-font);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.site-footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.25s ease;
}

.site-footer-link:hover,
.site-footer-link[aria-current="page"] {
  color: #fff;
}

.site-footer-link:hover::after,
.site-footer-link[aria-current="page"]::after {
  width: 100%;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(240, 180, 41, 0.08);
}

.site-footer-meta {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(240, 180, 41, 0.5);
}

.site-footer-credit {
  color: rgba(240, 180, 41, 0.58);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-credit:hover {
  color: #fff;
}

.content-sections {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 0 6vw 6rem 6vw;
}

.content-sections-compact {
  gap: 3.2rem;
  padding-top: 0;
}

.content-sections-compact > section:first-child {
  margin-top: 0.35rem;
}

.trust-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.15rem 0 0.05rem 0;
}

.trust-list {
  display: flex;
  align-items: center;
  width: min(100%, 46rem);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(240, 180, 41, 0.01) 0%, rgba(240, 180, 41, 0.08) 20%, rgba(244, 235, 209, 0.13) 50%, rgba(240, 180, 41, 0.08) 80%, rgba(240, 180, 41, 0.01) 100%);
  box-shadow:
    0 0 34px rgba(240, 180, 41, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.trust-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  --trust-loop-distance: 0px;
  animation: trustMarquee 34s linear infinite;
}

.trust-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.72rem;
  padding-right: 0.72rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trust-badge {
  width: clamp(5.2rem, 8vw, 6.5rem);
  height: 2.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-family: var(--ui-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: none;
  position: relative;
  isolation: isolate;
}

.trust-badge-logo {
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  inset: -0.12rem 0.12rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(248, 241, 224, 0.14), rgba(232, 218, 184, 0.08) 52%, rgba(232, 218, 184, 0.03) 76%, transparent 100%);
  filter: blur(12px);
  z-index: -1;
}

.trust-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 1rem;
  object-fit: contain;
  object-position: center;
}

.trust-logo-large {
  transform: scale(2);
  transform-origin: center;
}

@media (min-width: 1800px) {
  .trust-list {
    width: min(100%, 50rem);
  }
}

@media (max-width: 700px) {
  .trust-strip {
    width: 100%;
    padding: 1rem 1rem 1.05rem 1rem;
  }

  .trust-list {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 26px;
  }

  .trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .trust-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }

  .trust-item {
    width: auto;
  }

  .trust-badge {
    width: clamp(5.2rem, 28vw, 6.4rem);
    height: 2.6rem;
    padding: 0.3rem 0.6rem;
  }

  .trust-logo {
    height: 0.95rem;
  }
}

.content-section {
  max-width: 76rem;
}

.content-section-compact {
  max-width: 48rem;
}

.content-section-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.comparison-section > div:last-child {
  padding-top: 2.3rem;
}

.section-label {
  color: var(--gold-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.section-label-tight {
  margin-bottom: 0.7rem;
}

.section-title {
  color: var(--gold-bright);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-copy {
  max-width: 56rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 180, 41, 0.82);
}

.section-copy + .section-copy {
  margin-top: 1rem;
}

.section-copy-tight {
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.service-card {
  border: 1px solid rgba(160, 120, 16, 0.4);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
}

.service-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  text-decoration: none;
  text-align: left;
  padding: 1.6rem 1.35rem;
  border: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border-radius: 26px 10px 26px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.48), rgba(160, 120, 16, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.service-card-link:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 42px rgba(0, 0, 0, 0.22);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--gold-bright);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.service-card p {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(240, 180, 41, 0.82);
  max-width: none;
}

.service-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.service-card a:hover {
  color: #fff;
}

.service-card-cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: var(--ui-font);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.page-home .content-section {
  width: min(100%, 78rem);
  margin: 0 auto;
}

.page-service-structured .content-section {
  width: min(100%, 120rem);
  margin: 0 auto;
}

.page-service-structured .hero {
  width: min(100%, 120rem);
  max-width: min(100%, 120rem);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.service-page-layout {
  position: relative;
  display: block;
}

.service-page-main {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: min(100%, 120rem);
  margin: 0 auto;
  min-width: 0;
}

.service-page-legend {
  position: absolute;
  top: 7.5rem;
  left: 0;
  width: 160px;
  margin-left: calc((100% - min(100%, 120rem)) / 2 - 190px);
  padding: 0.8rem 0 0 0;
  z-index: 3;
}

.service-page-spacer {
  display: none;
}

.service-page-legend-label {
  font-family: var(--ui-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 180, 41, 0.55);
  margin-bottom: 0.85rem;
}

.service-page-legend-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(160, 120, 16, 0.2);
}

.service-page-legend-link {
  color: rgba(240, 180, 41, 0.62);
  text-decoration: none;
  font-family: var(--ui-font);
  font-size: 0.78rem;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-page-legend-link:hover,
.service-page-legend-link[aria-current="true"] {
  color: var(--gold-bright);
  transform: translateX(2px);
}

.service-intro-panel {
  padding: 1.8rem clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid rgba(160, 120, 16, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-bullet-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-bullet-card {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(160, 120, 16, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.service-bullet-label {
  font-family: var(--ui-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.55rem;
}

.service-bullet-copy {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(240, 180, 41, 0.82);
}

.service-detail-section {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(160, 120, 16, 0.18);
}

.service-detail-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
 
}

.service-detail-step {
  font-family: var(--ui-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(240, 180, 41, 0.5);
}

.service-detail-body {
  max-width: none;
  padding-right: 1.5rem;
}

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

.service-fact-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(160, 120, 16, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 30px rgba(0, 0, 0, 0.1);
}

.home-services-intro {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.home-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
  align-items: stretch;
  justify-content: center;
}

.home-industries-intro {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.industry-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(160, 120, 16, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 30px rgba(0, 0, 0, 0.12);
}

.industry-card h3 {
  color: var(--gold-bright);
  font-weight: 400;
  font-size: 1.08rem;
  margin-bottom: 0.65rem;
}

.industry-card p {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(240, 180, 41, 0.8);
}

.industry-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-family: var(--ui-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  position: relative;
}

.industry-card-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: rgba(240, 180, 41, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.industry-card-link:hover {
  color: #fff;
}

.industry-card-link:hover::after {
  background: var(--gold-bright);
  transform: scaleX(1.02);
}

.process-title {
  max-width: 45ch;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.process-card {
  min-height: 17.5rem;
  padding: 1.45rem 1.35rem;
  border: 1px solid rgba(160, 120, 16, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 34px rgba(0, 0, 0, 0.12);
}

.process-step {
  font-family: var(--ui-font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 3rem;
}

.process-card h3 {
  color: var(--gold-bright);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.process-card p:last-child {
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(240, 180, 41, 0.8);
}

.home-cta-panel {
  width: 100%;
  padding: 2rem clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid rgba(160, 120, 16, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.home-cta-section {
  width: min(100%, 96rem);
}

.home-cta-title {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1;
  text-wrap: balance;
}

.home-cta-copy {
  max-width: 48rem;
  margin: 0.35rem auto 0;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.82;
  color: rgba(240, 180, 41, 0.88);
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(160, 120, 16, 0.45);
  font-family: var(--ui-font);
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.14);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-pill:hover {
  color: #fff;
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(160, 120, 16, 0.4);
  border-bottom: 1px solid rgba(160, 120, 16, 0.4);
  padding: 1.5rem 0;
}

.cta-panel p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240, 180, 41, 0.9);
}

.faq-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.85rem 2rem;
  padding: 0.2rem 0;
}

.faq-prompt-copy {
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(240, 180, 41, 0.82);
}

.faq-prompt-link {
  font-family: var(--ui-font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  position: relative;
}

.faq-prompt-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: rgba(240, 180, 41, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq-prompt-link:hover {
  color: #fff;
}

.faq-prompt-link:hover::after {
  background: var(--gold-bright);
  transform: scaleX(1.02);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

.faq-block {
  max-width: 32rem;
}

.page-intro {
  max-width: 46rem;
}

@media (max-width: 1500px) {
  .page {
    max-width: 88vw;
  }

  .hero {
    padding-top: 11vh;
  }

  .hero-home {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: calc(100vh - 13rem);
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-headline {
    font-size: clamp(2.3rem, 4.25vw, 3.85rem);
  }

  .hero-intro {
    max-width: 36rem;
    font-size: clamp(0.92rem, 1vw, 1rem);
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.85rem;
  }

  .primary-cta,
  .secondary-cta {
    min-height: 2.7rem;
    padding: 0.72rem 1.2rem;
    font-size: 0.78rem;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-video {
    width: min(100%, 470px);
    max-height: 58vh;
  }

  .content-sections-compact {
    gap: 2rem;
    padding-top: 0.35rem;
    padding-bottom: 2.5rem;
  }

  .service-strip {
    gap: 0.7rem;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .service-pill {
    min-height: 2.45rem;
    padding: 0.62rem 0.86rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .section-copy-tight {
    max-width: 44rem;
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

@media (max-height: 1100px) and (min-width: 900px) {
  .hero {
    padding-top: 9vh;
  }

  .hero-home {
    min-height: calc(100vh - 11.5rem);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
  }

  .hero-headline {
    font-size: clamp(2.05rem, 3.6vw, 3.35rem);
  }

  .hero-intro {
    margin-top: 1.2rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-video {
    width: min(100%, 430px);
    max-height: 50vh;
  }

  .content-sections-compact {
    gap: 1.55rem;
    padding-bottom: 1.8rem;
  }

  .content-sections-compact > section:first-child {
    margin-top: 0.55rem;
  }

  .service-strip {
    gap: 0.65rem;
  }

  .service-pill {
    min-height: 2.3rem;
    padding: 0.56rem 0.8rem;
    font-size: 0.66rem;
  }

  .section-copy-tight {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

@media (max-width: 700px) {
  .page {
    max-width: 100%;
  }

  .hero {
    padding: 7.4rem 8vw 0 8vw;
  }

  .site-corner-brand {
    display: none;
  }

  .site-header {
    top: 0.75rem;
    left: 0.75rem;
    right: 4.1rem;
    transform: none;
    width: auto;
  }

  .site-header-inner {
    display: block;
    padding: 0.65rem 0.72rem;
    border-radius: 22px;
    background: rgba(6, 13, 24, 0.9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 14px 30px rgba(0, 0, 0, 0.28);
  }

  .site-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-header-brand {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    color: rgba(240, 180, 41, 0.78);
    text-decoration: none;
    font-family: var(--ui-font);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .site-header-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.46rem 0.88rem;
    border: 1px solid rgba(240, 180, 41, 0.22);
    border-radius: 999px;
    background: rgba(240, 180, 41, 0.1);
    color: var(--gold-bright);
    font-family: var(--ui-font);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
  }

  .site-header-toggle:hover {
    color: #fff;
    border-color: rgba(240, 180, 41, 0.3);
  }

  .site-header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.38rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(240, 180, 41, 0.14);
  }

  .site-header[data-open="true"] .site-header-nav {
    display: flex;
  }

  .site-header-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 2.7rem;
    padding: 0.72rem 0.88rem;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    border: 1px solid rgba(240, 180, 41, 0.12);
    background: rgba(255, 255, 255, 0.018);
  }

  .hero-home {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin-top: 1.25rem;
  }

  .hero-media {
    min-height: 0;
    padding: 0.25rem 0 0.15rem 0;
  }

  .hero-video {
    width: min(78vw, 320px);
    max-height: 34vh;
  }

  .hero-headline {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
    line-height: 0.96;
    max-width: none;
  }

  .hero-typed {
    min-width: 0;
    white-space: normal;
  }

  .hero-typed::after {
    height: 0.82em;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .hero-intro {
    margin-top: 1.15rem;
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .content-sections {
    gap: 2.3rem;
    padding: 0 8vw 3.6rem 8vw;
  }

  .content-sections-compact {
    gap: 1.9rem;
    padding-top: 0.25rem;
  }

  .content-sections-compact > section:first-child {
    margin-top: 0;
  }

  .section-label-tight {
    margin-bottom: 0.55rem;
  }

  .service-strip {
    gap: 0.65rem;
  }

  .service-pill {
    width: 100%;
    justify-content: center;
    min-height: 2.6rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 7.2vw, 3rem);
    line-height: 1.08;
  }

  .section-copy,
  .faq-prompt-copy,
  .cta-panel p {
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .section-copy-tight {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .content-section-split,
  .service-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .service-bullet-grid,
  .service-bullet-grid-two,
  .service-facts-grid {
    grid-template-columns: 1fr;
  }

  .service-page-layout {
    display: block;
  }

  .service-page-main {
    gap: 1.55rem;
    width: 100%;
  }

  .service-page-legend {
    position: static;
    width: auto;
    margin-left: 0;
    padding-top: 0;
    order: -1;
  }

  .service-page-spacer {
    display: none;
  }

  .service-page-legend-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    padding-left: 0;
    border-left: none;
  }

  .service-page-legend-link {
    font-size: 0.72rem;
  }

  .page-service-structured .hero {
    width: 100%;
    max-width: none;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .service-detail-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-detail-step {
    font-size: 1.2rem;
  }

  .home-services-intro {
    margin-bottom: 1rem;
  }

  .home-industries-intro {
    margin-bottom: 1rem;
  }

  .process-card {
    min-height: auto;
    padding: 1.2rem 1.1rem;
    border-radius: 22px;
  }

  .process-step {
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
  }

  .process-card h3 {
    font-size: 1.04rem;
  }

  .process-card p:last-child {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .home-cta-panel {
    padding: 1.4rem 1.05rem;
    border-radius: 22px;
    text-align: left;
  }

  .home-cta-title {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .home-cta-copy {
    font-size: 0.94rem;
    line-height: 1.68;
    margin-top: 0.15rem;
  }

  .home-cta-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.25rem;
  }

  .service-card-link {
    gap: 0.75rem;
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0;
  }

  .service-card p {
    font-size: 0.94rem;
    line-height: 1.68;
    max-width: none;
  }

  .industry-card {
    padding: 1.1rem 1.15rem;
  }

  .industry-card h3 {
    font-size: 1rem;
  }

  .industry-card p {
    font-size: 0.93rem;
    line-height: 1.66;
  }

  .service-intro-panel,
  .service-fact-card {
    padding: 1.25rem 1.05rem;
    border-radius: 22px;
  }

  .faq-list {
    gap: 1.5rem;
  }

  .faq-block,
  .content-section,
  .content-section-compact {
    max-width: none;
  }

  .comparison-section > div:last-child {
    padding-top: 0;
  }

  .faq-prompt {
    align-items: flex-start;
  }

  .cta-panel {
    align-items: flex-start;
    padding: 1.25rem 0;
  }

  .site-footer {
    margin-top: 3rem;
    padding: 1.4rem 0 1.55rem;
  }

  .site-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.65rem;
    align-items: stretch;
  }

  .site-footer-kicker {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 0.15rem;
  }

  .site-footer-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.45rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(240, 180, 41, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .site-footer-link::after {
    display: none;
  }

  .site-footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-footer-meta {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--trust-loop-distance)));
  }
}

@keyframes heroCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
