:root {
  color-scheme: dark;
  --bg: #07070b;
  --panel: #111018;
  --panel-2: #17151f;
  --ink: #f7f4ea;
  --muted: #c7c0b2;
  --soft: #867f74;
  --line: rgba(247, 244, 234, 0.14);
  --gold: #c9a958;
  --lime: #afc83b;
  --teal: #24b3a8;
  --violet: #291737;
  --danger: #ff6f61;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.skip-link,
.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;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 10px 14px;
  clip: auto;
  color: #08080c;
  background: var(--gold);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.96), rgba(7, 7, 11, 0.72));
  border-bottom: 1px solid rgba(247, 244, 234, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 11, 0.98);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  min-height: 34px;
  padding: 8px 24px 0;
  color: #f4ead5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar span + span {
  position: relative;
}

.topbar span + span::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(247, 244, 234, 0.32);
  transform: translateY(-50%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1240px);
  min-height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 88, 0.7);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 0 0 6px rgba(201, 169, 88, 0.08);
}

.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-menu > a,
.nav-menu button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #fffdf7;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}

.nav-menu > a:hover,
.nav-menu button:hover {
  color: var(--gold);
}

.has-menu {
  position: relative;
}

.has-menu button::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 2px;
  width: 430px;
  padding: 14px;
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: 180ms ease;
}

.has-menu:hover .mega-menu,
.has-menu:focus-within .mega-menu,
.has-menu.is-open .mega-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mega-menu a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 13px;
  text-transform: none;
}

.mega-menu a:hover {
  color: var(--ink);
  background: rgba(201, 169, 88, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  padding: 154px 0 28px;
  background: #0b0711;
}

.hero-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(170px, 1fr);
  opacity: 0.52;
}

.hero-wall span {
  border: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(135deg, rgba(201, 169, 88, 0.16), transparent 48%),
    linear-gradient(315deg, rgba(36, 179, 168, 0.14), transparent 44%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.09), transparent 26%),
    #19121f;
}

.hero-wall span:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(175, 200, 59, 0.15), transparent 48%),
    radial-gradient(circle at 70% 28%, rgba(247, 244, 234, 0.1), transparent 20%),
    #121722;
}

.hero-wall span:nth-child(3n) {
  background:
    linear-gradient(160deg, rgba(201, 169, 88, 0.08), transparent 54%),
    radial-gradient(circle at 30% 70%, rgba(255, 111, 97, 0.13), transparent 22%),
    #191020;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 11, 0.96) 0%, rgba(7, 7, 11, 0.78) 48%, rgba(7, 7, 11, 0.48) 100%),
    linear-gradient(0deg, #07070b 0%, transparent 26%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 970px;
  margin: 0;
  font-size: clamp(42px, 5.9vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: #eee7da;
  font-size: 18px;
}

.hero-actions,
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: 160ms ease;
}

.button-primary {
  color: #08080c;
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover {
  background: #e0c06d;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(247, 244, 234, 0.28);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.hero-stats {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: rgba(11, 10, 16, 0.72);
}

.hero-stats div {
  padding: 22px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.compact {
  padding: 54px 0;
}

.intro,
.process,
.resources {
  background: #0b0b10;
}

.intro-grid,
.split,
.contact-grid,
.location-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.intro-copy p,
.text-stack p,
.location-panel p,
.cta p {
  margin-top: 0;
  font-size: 18px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.section-heading p:not(.section-kicker) {
  max-width: 720px;
  font-size: 18px;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 32px;
  margin-bottom: 24px;
}

.inline-heading h2 {
  max-width: 780px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.logo-strip span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 18px 10px;
  color: #ece4d5;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.logo-strip span:last-child {
  border-right: 0;
}

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

.service-card {
  min-height: 360px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(201, 169, 88, 0.08), transparent 42%),
    var(--panel);
}

.service-card:nth-child(2n) {
  background:
    linear-gradient(160deg, rgba(36, 179, 168, 0.08), transparent 42%),
    var(--panel-2);
}

.card-index {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  min-height: 78px;
  font-size: 24px;
  text-transform: uppercase;
}

.service-card p {
  margin: 18px 0;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #ddd4c4;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--lime);
}

.company {
  background:
    linear-gradient(90deg, rgba(41, 23, 55, 0.46), transparent 56%),
    #08080c;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tech-list span,
.contact-points span {
  padding: 9px 11px;
  color: #f4ead5;
  border: 1px solid rgba(201, 169, 88, 0.32);
  border-radius: 999px;
  background: rgba(201, 169, 88, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  min-height: 265px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #111018;
}

.timeline span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold);
  font-weight: 900;
}

.timeline h3 {
  font-size: 27px;
  text-transform: uppercase;
}

.work {
  background: #07070b;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(247, 244, 234, 0.12);
  background:
    linear-gradient(0deg, rgba(7, 7, 11, 0.96), rgba(7, 7, 11, 0.34)),
    linear-gradient(135deg, rgba(201, 169, 88, 0.24), transparent 50%),
    #17151f;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 244, 234, 0.08);
  pointer-events: none;
}

.work-card.tall {
  grid-row: span 2;
  grid-column: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card p,
.work-card span,
.work-card h3 {
  position: relative;
  z-index: 1;
}

.work-card p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  max-width: 640px;
  font-size: clamp(24px, 3vw, 42px);
  text-transform: uppercase;
}

.work-card span {
  max-width: 620px;
  margin-top: 12px;
  color: #e6ddcf;
}

.location {
  background: linear-gradient(135deg, rgba(36, 179, 168, 0.13), rgba(201, 169, 88, 0.08)), #111018;
}

.location-panel {
  padding: 44px;
  border: 1px solid var(--line);
  background: rgba(7, 7, 11, 0.6);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource-grid article {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.resource-grid span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-grid h3 {
  font-size: 24px;
  text-transform: uppercase;
}

.cta {
  background:
    linear-gradient(90deg, rgba(41, 23, 55, 0.7), transparent),
    #0b0711;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(17, 16, 24, 0.92);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #f2eadc;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #07070b;
  border: 1px solid rgba(247, 244, 234, 0.18);
  border-radius: 6px;
  padding: 13px 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 88, 0.16);
}

.footer {
  padding: 62px 0 28px;
  background: #050508;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer h2 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer a:not(.brand) {
  color: var(--muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 234, 0.09);
  color: var(--soft);
  font-size: 13px;
}

.liveinternet-counter-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 88px;
  min-height: 31px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #08080c;
  background: var(--lime);
  border: 3px solid rgba(8, 8, 12, 0.42);
  border-radius: 50%;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
}

.floating-contact span {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .logo-strip span {
    border-bottom: 1px solid var(--line);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .topbar {
    justify-content: center;
    font-size: 11px;
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 102px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - 102px);
    padding: 22px;
    overflow: auto;
    background: rgba(7, 7, 11, 0.98);
    border-top: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu > a,
  .nav-menu button {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
  }

  .has-menu {
    width: 100%;
  }

  .mega-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .has-menu.is-open .mega-menu {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .hero-stats,
  .intro-grid,
  .split,
  .contact-grid,
  .location-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .inline-heading {
    display: block;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-card,
  .work-card.tall,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }

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

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    display: none;
  }

  .nav-menu {
    top: 65px;
    max-height: calc(100svh - 65px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 112px 0 26px;
  }

  .hero-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy,
  .intro-copy p,
  .text-stack p,
  .location-panel p,
  .cta p {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-stats {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .service-grid,
  .timeline,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .card-index,
  .timeline span,
  .resource-grid span {
    margin-bottom: 28px;
  }

  .location-panel {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

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