:root {
  color-scheme: dark;
  --ivory: #0d1626;
  --paper: rgba(255, 255, 255, .035);
  --tint: rgba(255, 255, 255, .025);
  --ink: #ece8df;
  --ink-soft: #bcc2cf;
  --muted: #8790a3;
  --line: #24314a;
  --brass: #c9a76b;
  --brass-soft: #d8bb84;
  --forest: rgba(3, 8, 18, .5);
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 176px; }
body {
  margin: 0;
  background-color: var(--ivory);
  background-image:
    radial-gradient(ellipse 75% 1000px at 85% 0, rgba(64, 110, 200, .5), transparent 70%),
    radial-gradient(ellipse 65% 1300px at 0 45%, rgba(48, 88, 170, .35), transparent 70%),
    linear-gradient(180deg, #12224a 0%, #0a1428 30%, #173064 60%, #0d1c3c 80%, #070e1d 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.025em; }
h1 em, h2 em, blockquote em { font-style: normal; color: var(--brass); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font: 600 14px/1 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn-dark { background: var(--brass); border-color: var(--brass); color: var(--ivory); }
.btn-dark:hover { background: transparent; color: var(--brass); }
.link-arrow {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .3s, color .3s;
}
.link-arrow span { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brass); border-color: var(--brass); }
.link-arrow:hover span { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .4s, box-shadow .4s;
}
.site-header.scrolled { background: rgba(13, 22, 38, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 176px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 160px; height: 160px; flex-shrink: 0; }
.brand-name { font: 700 23px/1 var(--sans); letter-spacing: -0.01em; }
.brand-name em { font-style: normal; font-weight: 400; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { font-size: 14px; font-weight: 500; text-decoration: none; letter-spacing: .03em; position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 20px; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--ink); color: var(--ivory); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { padding: 260px 0 0; }
.hero h1 { font-size: clamp(38px, 6vw, 80px); font-weight: 700; max-width: 16ch; line-height: 1.08; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: 52px; flex-wrap: wrap; }
.lede { max-width: 520px; font-size: 18px; color: var(--ink-soft); margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-strip { margin-top: 110px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: var(--paper); }
.strip-track { display: flex; gap: 24px; width: max-content; animation: drift 70s linear infinite; }
.strip-track img { width: 340px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); filter: saturate(.9); }
@keyframes drift { to { transform: translateX(calc(-50% - 12px)); } }

/* Sections */
.section { padding: 140px 0; }
.section-head { max-width: 760px; margin-bottom: 90px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 700; }
.section-head .muted { margin-top: 24px; max-width: 460px; }

/* Projects */
.project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 0 0 110px;
  margin-bottom: 110px;
  border-bottom: 1px solid var(--line);
}
.project:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.project.flip .project-shot { order: 2; }
.project-shot {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #1a2540;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(236, 230, 218, .08);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.project-shot:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 167, 107, .35); }
.browser { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1a2540; border-bottom: 1px solid #24314a; }
.browser span { width: 10px; height: 10px; border-radius: 50%; background: #3a4762; }
.browser small { margin-left: 12px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.project-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.project-shot:hover img { transform: scale(1.025); }
.project-info h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 10px; }
.project-meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.project-info > p:not(.project-meta) { color: var(--ink-soft); margin: 0 0 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.tags li { font-size: 12px; letter-spacing: .04em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; color: var(--ink-soft); }

/* Services (dark) */
.section-dark { background: var(--forest); color: #ece6da; }
.section-dark h2 em { color: var(--brass-soft); }
.section-dark .eyebrow { color: var(--brass-soft); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(236, 230, 218, .18); }
.service { padding: 44px 32px 10px 0; border-right: 1px solid rgba(236, 230, 218, .18); }
.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }
.service h3 { font-size: 22px; margin: 22px 0 14px; }
.service p { color: rgba(236, 230, 218, .72); font-size: 15.5px; margin: 0; }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: start; }
.process-grid .section-head { margin-bottom: 0; position: sticky; top: 130px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 68px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-icon { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(201, 167, 107, .4); background: rgba(201, 167, 107, .06); border-radius: 50%; color: var(--brass); }
.step-icon svg { width: 34px; height: 34px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* About */
.section-tint { background: var(--tint); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.about-quote { margin: 0; font: 300 clamp(26px, 3vw, 40px)/1.3 var(--sans); letter-spacing: -0.02em; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); margin: 0 0 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats dt { font: 500 40px/1 var(--sans); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.stats dd { margin: 8px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 700; margin-bottom: 26px; }
.contact-direct { margin-top: 40px; }
.contact-direct a { font: 500 24px/1 var(--sans); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 4px; }
.contact-direct a:hover { color: var(--brass); }
.contact-form { display: grid; gap: 26px; background: var(--paper); padding: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.contact-form .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: 400 16px/1.5 var(--sans);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  border-radius: 0;
  resize: vertical;
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brass); }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-note { margin: 0; font-size: 14px; color: var(--brass); min-height: 1.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 38px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-badge { width: 110px; height: 110px; flex-shrink: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid rgba(236, 230, 218, .18); margin-top: 34px; }
  .project, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .project.flip .project-shot { order: 0; }
  .process-grid .section-head { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-toggle { display: block; flex-shrink: 0; }
  .header-inner { height: 120px; }
  .brand-mark { width: 104px; height: 104px; }
  .brand-name { font-size: 19px; }
  .site-nav {
    position: fixed; inset: 120px 0 auto; flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--ivory); padding: 28px 20px 36px; border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .3s;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-header:has(.site-nav.open) { background: var(--ivory); }
  .site-nav a { font-size: 18px; }
  .hero { padding-top: 180px; }
  .hero-strip { margin-top: 70px; }
  .strip-track img { width: 240px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 60px; }
  .project { padding-bottom: 72px; margin-bottom: 72px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 34px 0; border-right: 0; margin-top: 0; }
  .service + .service { border-top: 1px solid rgba(236, 230, 218, .18); }
  .stats dt { font-size: 38px; }
  .contact-form { padding: 30px 22px; }
  .contact-direct a { font-size: 20px; }
}
