:root {
  --ink: #07090b;
  --paper: #f3f5ef;
  --white: #ffffff;
  --cyan: #5ee7ff;
  --blue: #4f7cff;
  --violet: #8066ff;
  --line: rgba(7, 9, 11, 0.18);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  min-height: 5.25rem;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .25s ease, min-height .25s ease;
}
.site-header.scrolled { min-height: 4.5rem; background: rgba(7,9,11,.92); backdrop-filter: blur(16px); }
.wordmark { font-size: .98rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.wordmark span { color: var(--blue); }
nav { display: flex; align-items: center; gap: 2.2rem; }
nav a { font-size: .9rem; text-decoration: none; }
.nav-cta { padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.5); }
.menu-button { display: none; background: none; border: 0; padding: .6rem; }
.menu-button span { display: block; width: 1.5rem; height: 1px; margin: .35rem 0; background: #fff; }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem var(--pad) 5.5rem;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: center; z-index: -3; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(4,6,8,.94) 0%, rgba(4,6,8,.74) 42%, rgba(4,6,8,.08) 78%), linear-gradient(0deg, rgba(4,6,8,.58), transparent 45%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 8vw 8vw; mask-image: linear-gradient(to right, black, transparent 68%); }
.hero-content { width: min(58rem, 72vw); }
.section-kicker { margin: 0; font-size: .76rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
h1 { margin: 1.2rem 0 1.6rem; font-size: clamp(3.75rem, 7.8vw, 7.7rem); line-height: .87; letter-spacing: -.072em; font-weight: 800; }
h1 em, .approach h2 em { color: var(--cyan); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-copy { max-width: 37rem; margin: 0 0 2.5rem; color: rgba(255,255,255,.74); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { min-height: 3.45rem; padding: .9rem 1.2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; border: 0; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.text-link { color: rgba(255,255,255,.82); text-underline-offset: .35rem; }

.ticker { overflow: hidden; background: var(--blue); color: var(--white); font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; will-change: transform; }
.ticker-group { flex: 0 0 auto; padding: 1rem 0; }
.ticker-group span { margin: 0 1.3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.brands { padding: clamp(4.5rem, 7vw, 7rem) var(--pad); background: var(--white); }
.brand-intro { margin-bottom: 2.5rem; text-align: center; }
.brand-intro h2 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5.4rem); line-height: .9; letter-spacing: -.065em; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-tile { min-height: 10.5rem; padding: 2.5rem; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.logo-tile:hover { background: var(--paper); }
.logo-tile img { display: block; width: min(100%, 15rem); max-height: 5.5rem; object-fit: contain; }

.section { padding: clamp(5.5rem, 10vw, 10rem) var(--pad); }
.section-kicker { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; margin: 3rem 0 5rem; }
.section h2 { margin: 0; font-size: clamp(3.5rem, 7vw, 7.4rem); line-height: .88; letter-spacing: -.07em; }
.section-heading p { max-width: 35rem; margin: 0; font-size: 1.1rem; color: rgba(7,9,11,.68); }
.service-list { border-top: 1px solid var(--line); }
.service-card { position: relative; display: grid; grid-template-columns: 4rem minmax(14rem,.9fr) 1.25fr 5rem; align-items: center; gap: 2rem; min-height: 9.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform .35s cubic-bezier(.22,.8,.22,1); }
.service-card:hover { color: white; }
.service-card:hover::before { transform: translateX(0); }
.service-number { font: italic 1.1rem Georgia, serif; color: #6b7167; }
.service-card h3 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.service-card p { margin: 0; max-width: 40rem; color: #646963; }
.service-card:hover p, .service-card:hover .service-number { color: rgba(255,255,255,.68); }
.card-mark { justify-self: end; width: 3rem; height: 3rem; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.accent-card .card-mark { background: var(--blue); color: var(--white); border-color: var(--blue); }

.approach { color: var(--white); background: #11161b; }
.section-kicker.light { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.16); }
.approach-grid { margin-top: 4rem; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 9vw, 10rem); align-items: end; }
.approach h2 { font-size: clamp(3.5rem, 7.2vw, 8rem); }
.approach-copy { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.19); }
.approach-copy p { max-width: 35rem; color: rgba(255,255,255,.58); }
.approach-copy .lead { color: white; font-size: 1.35rem; }
.proof { margin-top: 4rem; padding-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; border-top: 1px solid rgba(255,255,255,.17); }
.proof strong { color: var(--blue); font-size: 4.6rem; line-height: 1; letter-spacing: -.07em; }
.proof span { max-width: 13rem; color: rgba(255,255,255,.62); font-size: .88rem; line-height: 1.35; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 10rem); background: var(--cyan); }
.contact .section-kicker { border-color: rgba(7,9,11,.2); }
.contact h2 { margin-top: 3rem; font-size: clamp(3.6rem, 6.6vw, 7rem); }
.contact-intro > p { max-width: 28rem; margin: 2rem 0 1rem; font-size: 1.12rem; }
.contact-form { align-self: start; padding: clamp(1.7rem, 4vw, 3.5rem); background: var(--paper); box-shadow: 1rem 1rem 0 rgba(7,9,11,.12); }
.contact-form label { display: block; margin-bottom: 1.5rem; }
.contact-form label span { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-form label small { color: #72766f; font-size: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #92978e; border-radius: 0; outline: 0; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.button-dark { width: 100%; color: white; background: var(--ink); }
.button-dark:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 1.5rem; margin: .9rem 0 0; font-size: .9rem; }
.form-status.success { color: #207400; }
.form-status.error { color: #b01919; }

footer { padding: 2.2rem var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; color: white; background: var(--ink); }
footer p { margin: 0; color: rgba(255,255,255,.55); font-size: .8rem; }
footer p:last-child { text-align: right; }

@media (max-width: 780px) {
  .site-header { min-height: 4.5rem; }
  .menu-button { display: block; }
  nav { position: absolute; inset: 4.5rem 0 auto; padding: 1.4rem var(--pad) 2rem; display: none; align-items: stretch; flex-direction: column; gap: 1.2rem; color: white; background: rgba(7,9,11,.97); border-top: 1px solid rgba(255,255,255,.12); }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: 52rem; padding-bottom: 3rem; }
  .hero-content { width: 100%; }
  .hero-art { object-position: 68% center; opacity: .78; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,6,8,.95) 8%, rgba(4,6,8,.6) 65%, rgba(4,6,8,.3)); }
  h1 { font-size: clamp(3.25rem, 14.6vw, 5rem); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { min-height: 8.5rem; padding: 1.5rem; }
  .section-heading, .approach-grid, .contact { grid-template-columns: 1fr; }
  .section-heading { gap: 2rem; margin: 2.5rem 0 4rem; }
  .service-card { grid-template-columns: 2.4rem 1fr auto; gap: 1rem; min-height: auto; padding: 1.6rem 0; }
  .service-card p { grid-column: 2 / -1; }
  .card-mark { grid-column: 3; grid-row: 1; }
  .approach-grid { gap: 3rem; }
  .approach-copy { padding-left: 0; border-left: 0; }
  .contact { gap: 3.5rem; }
  footer { grid-template-columns: 1fr; gap: .7rem; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
