:root {
  --ink: #0b0b0b;
  --ink-soft: #1b1b18;
  --paper: #f5f1e8;
  --paper-2: #e7dfce;
  --gold: #aa9a45;
  --gold-light: #d2c36a;
  --green: #4f6448;
  --steel: #b7bec4;
  --signal: #f0df68;
  --line: rgba(11, 11, 11, 0.14);
  --white: #fffaf0;
  --display-font: "Segoe UI", "Arial", sans-serif;
  --text-font: Bahnschrift, "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: var(--text-font);
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-light);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  text-transform: uppercase;
  transition: min-height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(128px, 12vw, 164px);
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  font-family: var(--display-font);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

nav a {
  position: relative;
  color: rgba(255, 250, 240, 0.82);
  transition: color 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-light);
  transition: transform 220ms ease;
}

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

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 6px;
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-call {
  padding: 3px 16px 0;
  color: var(--ink);
  background: var(--gold-light);
  box-shadow: 0 10px 28px rgba(210, 195, 106, 0.24);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.header-call:hover,
.btn:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.header-call:hover {
  background: var(--white);
  box-shadow: 0 16px 38px rgba(210, 195, 106, 0.3);
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: 130px clamp(20px, 7vw, 96px) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.055) 0 1px, transparent 1px 118px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.73) 34%, rgba(0, 0, 0, 0.18) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  right: -8vw;
  width: 54vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 195, 106, 0.75), transparent);
  transform: rotate(-19deg);
  animation: measureSweep 5.5s ease-in-out infinite;
}

.hero-lines span:nth-child(1) {
  top: 28%;
}

.hero-lines span:nth-child(2) {
  top: 51%;
  animation-delay: 1.2s;
}

.hero-lines span:nth-child(3) {
  top: 73%;
  animation-delay: 2.2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
}

.hero-content::before {
  content: "";
  display: block;
  width: 112px;
  height: 12px;
  margin-bottom: 28px;
  background:
    linear-gradient(90deg, var(--gold-light) 0 62%, transparent 62% 72%, var(--steel) 72%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-family: var(--display-font);
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

h1::selection,
h2::selection,
p::selection {
  color: var(--ink);
  background: var(--gold-light);
}

.lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-width: 152px;
  padding: 3px 22px 0;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--gold-light);
  box-shadow: 0 14px 34px rgba(210, 195, 106, 0.2);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 250, 240, 0.38);
  background: rgba(255, 250, 240, 0.08);
}

.btn-secondary:hover {
  border-color: var(--gold-light);
  background: rgba(255, 250, 240, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin-top: 46px;
  background: rgba(255, 250, 240, 0.14);
  border: 1px solid rgba(255, 250, 240, 0.14);
}

.hero-stats div {
  padding: 18px;
  background: rgba(5, 5, 5, 0.48);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.signature-strip {
  overflow: hidden;
  color: var(--ink);
  background: var(--signal);
  border-block: 3px solid var(--ink);
}

.strip-track {
  display: flex;
  width: max-content;
  animation: stripMove 22s linear infinite;
}

.strip-track span {
  display: block;
  padding: 14px 28px 12px;
  font-family: var(--display-font);
  font-size: clamp(1.65rem, 4vw, 3.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.strip-track span::after {
  content: "/";
  margin-left: 28px;
  color: rgba(11, 11, 11, 0.38);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 54px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 250, 240, 0.46);
  border-radius: 22px;
}

.scroll-cue span {
  width: 4px;
  height: 9px;
  border-radius: 99px;
  background: var(--gold-light);
  animation: cueDrop 1.6s ease-in-out infinite;
}

.services,
.process,
.projects,
.contact {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 7vw, 96px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 4.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
  box-shadow: 16px 16px 0 var(--gold);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  padding: 30px;
  border-radius: 0;
  background: var(--white);
  border: 0;
  border-right: 2px solid var(--ink);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  background: linear-gradient(0deg, rgba(170, 154, 69, 0.24), transparent 55%);
  transition: transform 260ms ease;
}

.service-card:hover {
  transform: translateY(-10px) rotate(-0.7deg);
  border-color: rgba(170, 154, 69, 0.42);
  box-shadow: 0 24px 60px rgba(11, 11, 11, 0.14);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:nth-child(2) {
  background: var(--steel);
}

.service-card:nth-child(3) {
  color: var(--white);
  background: var(--ink);
}

.service-number {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-family: var(--display-font);
  font-size: 2.5rem;
  font-weight: 700;
}

.service-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon {
  position: static;
  display: grid;
  place-items: center;
  width: 58px;
  min-width: 58px;
  height: 58px;
  color: var(--gold);
  border: 1px solid rgba(170, 154, 69, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.6);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card:nth-child(3) .service-icon {
  color: var(--gold-light);
  border-color: rgba(210, 195, 106, 0.42);
}

.service-card h3 {
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(1.65rem, 2.7vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
}

.service-card h3,
.service-card p,
.service-number,
.service-title {
  position: relative;
  z-index: 1;
}

.service-card p,
.contact p {
  color: rgba(11, 11, 11, 0.68);
  line-height: 1.7;
}

.service-card:nth-child(3) p {
  color: rgba(255, 250, 240, 0.72);
}

.process {
  color: var(--white);
  background:
    repeating-linear-gradient(-45deg, rgba(255, 250, 240, 0.045) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(170, 154, 69, 0.18), transparent 36%),
    var(--ink);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.timeline-item {
  position: relative;
  min-height: 220px;
  padding: 86px 24px 24px;
  border: 2px solid rgba(255, 250, 240, 0.18);
  border-radius: 0;
  background: rgba(255, 250, 240, 0.045);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.timeline-item:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 195, 106, 0.48);
  background: rgba(255, 250, 240, 0.08);
}

.timeline-item span {
  position: absolute;
  top: 20px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 0;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline-item h3 {
  font-family: var(--display-font);
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
  font-weight: 800;
  line-height: 1.05;
}

.timeline-item p {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.7;
}

.projects {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 16%, rgba(210, 195, 106, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(210, 195, 106, 0.11) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 56px 56px;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.project-feature {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 2px solid rgba(255, 250, 240, 0.18);
  background: var(--ink);
}

.project-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 650ms ease, filter 650ms ease;
}

.project-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), transparent 56%);
}

.project-feature:hover img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.08);
}

.project-feature-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.project-feature-copy span,
.project-card span,
.trust-row span {
  font-family: var(--display-font);
  text-transform: uppercase;
}

.project-feature-copy span {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 10px 5px;
  color: var(--ink);
  background: var(--gold-light);
}

.project-feature-copy h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
}

.project-feature-copy p,
.project-card p {
  color: rgba(255, 250, 240, 0.74);
  line-height: 1.7;
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 174px;
  padding: 26px 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.045);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-light);
  transition: transform 260ms ease;
}

.project-card:hover {
  transform: translateX(8px);
  border-color: rgba(210, 195, 106, 0.52);
  background: rgba(255, 250, 240, 0.08);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-light);
}

.project-card h3 {
  margin-bottom: 10px;
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.18);
}

.trust-row span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--gold-light);
  text-align: center;
}

.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(11, 11, 11, 0.09) 0 1px, transparent 1px 84px),
    var(--gold);
}

.contact::before {
  content: "VNOVATION";
  position: absolute;
  right: -4vw;
  bottom: -0.18em;
  color: rgba(11, 11, 11, 0.08);
  font-size: clamp(4.2rem, 13vw, 13rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.contact img {
  position: relative;
  z-index: 1;
  width: 128px;
  height: auto;
  opacity: 0.92;
  animation: markPulse 3.2s ease-in-out infinite;
}

.contact > div {
  position: relative;
  z-index: 1;
}

.contact .kicker {
  color: var(--ink);
}

.contact p {
  max-width: 620px;
  margin-top: 20px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 3px 18px 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display-font);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.contact-link:hover {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 24px clamp(20px, 7vw, 96px);
  color: rgba(255, 250, 240, 0.72);
  background: var(--ink);
  border-top: 1px solid rgba(255, 250, 240, 0.12);
}

.site-footer img {
  width: 138px;
  height: auto;
}

.site-footer span,
.site-footer a {
  font-weight: 700;
}

.site-footer span {
  text-align: center;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms ease var(--reveal-delay, 0ms);
}

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

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

  nav {
    display: none;
  }

  .section-heading,
  .service-grid,
  .timeline,
  .project-showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-number {
    margin-bottom: 34px;
  }

  .contact-actions {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    width: 118px;
  }

  .header-call {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
  }

  .header-call svg {
    margin: 0;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 18px 52px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.38));
  }

  .hero-lines,
  .scroll-cue {
    display: none;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 11vw, 4.2rem);
  }

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

  .btn {
    width: 100%;
  }

  .services,
  .process,
  .projects,
  .contact {
    padding: 56px 18px;
  }

  .project-feature {
    min-height: 420px;
  }

  .project-feature-copy {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    background: transparent;
  }

  .trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 11px 4px;
    border: 1px solid rgba(210, 195, 106, 0.42);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(255, 250, 240, 0.06);
    font-size: 0.82rem;
  }

  .service-grid {
    box-shadow: 8px 8px 0 var(--gold);
  }

  .service-card {
    min-height: 0;
    padding: 26px 24px 30px;
  }

  .service-title {
    align-items: flex-end;
    gap: 12px;
  }

  .service-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .service-icon svg {
    width: 27px;
    height: 27px;
  }

  .contact img {
    width: 92px;
  }

  .contact-link {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }

  to {
    transform: scale(1.09) translateX(-18px);
  }
}

@keyframes measureSweep {
  0%,
  100% {
    opacity: 0;
    transform: translateX(22%) rotate(-19deg);
  }

  42%,
  68% {
    opacity: 1;
  }

  72% {
    opacity: 0;
    transform: translateX(-22%) rotate(-19deg);
  }
}

@keyframes cueDrop {
  0%,
  100% {
    transform: translateY(-9px);
    opacity: 0.3;
  }

  50% {
    transform: translateY(9px);
    opacity: 1;
  }
}

@keyframes markPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

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

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

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

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