:root {
  --black: #050505;
  --ink: #0b0a08;
  --panel: rgba(18, 17, 14, 0.84);
  --panel-strong: rgba(24, 22, 17, 0.96);
  --gold: #d6b45d;
  --gold-bright: #f2d88a;
  --gold-deep: #8a682a;
  --text: #f7f2e7;
  --muted: #c9bea9;
  --line: rgba(214, 180, 93, 0.28);
  --line-strong: rgba(242, 216, 138, 0.58);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 180, 93, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(242, 216, 138, 0.08), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #070707 0%, #020202 100%);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(214, 180, 93, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(214, 180, 93, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body::after {
  position: fixed;
  inset: auto -18vw -30vh auto;
  z-index: -1;
  width: min(54rem, 90vw);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(214, 180, 93, 0.12);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 216, 138, 0.12), transparent 64%);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

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

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

a:hover {
  color: var(--gold-bright);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--gold-bright);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 180, 93, 0.12);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  width: 170px;
  padding: 0.45rem 0;
}

.brand img,
.consultation-inner img,
.site-footer img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.87rem;
  letter-spacing: 0;
}

.nav-cta {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  background: rgba(214, 180, 93, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(214, 180, 93, 0.05);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-bright);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: 6rem 0 4rem;
  position: relative;
}

.hero::before {
  position: absolute;
  inset: 8% 46% auto auto;
  width: min(24rem, 42vw);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(242, 216, 138, 0.16);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 180, 93, 0.13), transparent 68%);
  animation: ambient-pulse 8s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.45rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 690px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.15rem;
  border: 1px solid var(--line-strong);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(214, 180, 93, 0.12);
}

.button.primary {
  color: #171107;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
  box-shadow: 0 14px 40px rgba(214, 180, 93, 0.16);
}

.button.secondary {
  color: var(--gold-bright);
  background: rgba(214, 180, 93, 0.06);
}

.hero-panel,
.service-card,
.process-step,
.use-case,
.proof-card,
.contact-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 27, 22, 0.88), rgba(8, 8, 7, 0.9));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 2rem;
  overflow: hidden;
}

.hero-panel::before,
.service-card::before,
.proof-card::before {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(214, 180, 93, 0.13);
}

.hero-visual {
  position: relative;
  margin: -0.75rem -0.75rem 1.25rem;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(214, 180, 93, 0.18);
  animation: float-panel 7s ease-in-out infinite;
}

.signal {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold-bright);
  box-shadow: 0 0 26px rgba(242, 216, 138, 0.88);
  animation: signal-pulse 2.6s ease-in-out infinite;
}

.signal-one {
  top: 28%;
  left: 25%;
}

.signal-two {
  right: 21%;
  bottom: 37%;
  animation-delay: 0.7s;
}

.signal-three {
  top: 18%;
  right: 42%;
  animation-delay: 1.2s;
}

.hero-panel .panel-emblem {
  width: 150px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
}

.panel-line {
  width: 100%;
  height: 1px;
  margin: 1.25rem 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-panel dl {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.hero-panel dl > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.hero-panel dt {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.hero-panel dd {
  margin: 0;
  color: var(--text);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric {
  min-height: 160px;
  padding: 1.5rem;
  background: rgba(7, 7, 6, 0.92);
}

.metric strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.metric span {
  display: block;
  max-width: 220px;
  margin-top: 0.85rem;
  color: var(--muted);
}

.split-section,
.process,
.use-cases,
.proof,
.consultation,
.contact {
  padding: clamp(5rem, 10vw, 8rem) 0 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro.centered {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-intro p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

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

.service-card {
  min-height: 265px;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.process-step:hover,
.use-case:hover,
.contact-panel:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.55), 0 0 34px rgba(214, 180, 93, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
  object-fit: cover;
  border: 1px solid rgba(214, 180, 93, 0.14);
  opacity: 0.86;
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-card:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.service-card span,
.process-step span {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1rem;
}

.service-card p,
.process-step p,
.use-case p,
.proof-card p,
.consultation p,
.contact p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-step {
  min-height: 270px;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(23, 21, 17, 0.94), rgba(6, 6, 5, 0.96));
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.use-case {
  padding: 1.5rem;
  background: rgba(10, 10, 9, 0.82);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.systems {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) 0 0;
}

.systems-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.systems-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.systems-map::before,
.systems-map::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 216, 138, 0.5), transparent);
  opacity: 0.45;
  animation: data-sweep 5s linear infinite;
}

.systems-map::before {
  top: 50%;
  right: 8%;
  left: 8%;
  height: 1px;
}

.systems-map::after {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(242, 216, 138, 0.5), transparent);
  animation-delay: 1.2s;
}

.systems-map article {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.88), rgba(8, 8, 7, 0.92));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.systems-map article::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 999px;
  background: var(--gold-bright);
  box-shadow: 0 0 24px rgba(242, 216, 138, 0.84);
  transform: translate(-50%, -50%);
}

.systems-map article:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.systems-map img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(214, 180, 93, 0.14);
}

.systems-map h3 {
  margin-top: 1rem;
}

.systems-map p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.proof-card {
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}

.proof-card h2 {
  max-width: 760px;
}

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

.outcomes p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.outcomes strong {
  color: var(--text);
}

.consultation-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(214, 180, 93, 0.13), rgba(12, 12, 10, 0.94));
}

.consultation-inner img {
  width: 150px;
}

.consultation-inner p {
  max-width: 620px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  align-items: start;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.contact-panel {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-panel a {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--gold-bright);
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer img {
  width: 58px;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(-5vw, -4vh, 0) rotate(18deg);
  }
}

@keyframes ambient-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

@keyframes float-panel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.72);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes data-sweep {
  from {
    background-position: -160px 0;
  }

  to {
    background-position: 160px 0;
  }
}

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

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

  body::after,
  .hero::before,
  .hero-visual img,
  .signal,
  .systems-map::before,
  .systems-map::after {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 560px;
  }

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

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

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

  .consultation-inner {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .consultation-inner .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .brand {
    width: 132px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    background: rgba(7, 7, 6, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.95rem;
    border-bottom: 1px solid rgba(214, 180, 93, 0.12);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    border: 0;
    background: transparent;
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

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

  .metrics,
  .service-grid,
  .process-grid,
  .use-case-grid,
  .systems-map,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 130px;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .consultation-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .consultation-inner img {
    width: 124px;
  }

  .systems-map::before,
  .systems-map::after,
  .systems-map article::before {
    display: none;
  }

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

@media (max-width: 430px) {
  .section-shell,
  .nav,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-panel,
  .proof-card,
  .contact-panel {
    padding: 1.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .service-card img,
  .systems-map img,
  .hero-visual img {
    aspect-ratio: 4 / 3;
  }
}
