:root {
  --bg: #000;
  --fg: #fff;
  --fg-80: rgba(255, 255, 255, 0.8);
  --fg-60: rgba(255, 255, 255, 0.6);
  --fg-50: rgba(255, 255, 255, 0.5);
  --fg-20: rgba(255, 255, 255, 0.2);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.15);
  --panel: rgba(255, 255, 255, 0.05);
  --sans: "Montserrat", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ascii: "Fragment Mono", ui-monospace, monospace;
  --pad: 40px;
  --pad-wide: 80px;
  --nav-h: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; cursor: pointer; }

.show-phone { display: none; }

/* Shared type */
.display {
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.h2 {
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.label,
.btn-outline,
.btn-solid,
.service__num,
.footer__meta {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-transform: uppercase;
}
.label { display: flex; gap: 4px; }
.label span { color: var(--fg-50); }

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 53px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.2s;
}
.btn-outline:hover { background: var(--panel); }
.btn-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 53px;
  background: var(--fg);
  color: var(--bg);
  transition: opacity 0.2s;
}
.btn-solid:hover { opacity: 0.85; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease, background-color 0.35s ease;
}
.nav.is-scrolled { background: var(--bg); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__actions { display: flex; gap: 12px; }
.nav__menu {
  width: 52px;
  height: 53px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 0;
  transition: background-color 0.2s;
}
.nav__menu:hover { background: var(--panel); }
.nav__menu span { display: block; width: 20px; height: 1.5px; background: var(--fg); }

/* Menu panel */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.4s;
}
.menu.is-open { visibility: visible; pointer-events: auto; transition: none; }
.menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(432px, 100%);
  padding: 0 24px;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu.is-open .menu__panel { transform: none; }
.menu__head {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -24px 39px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.menu__head,
.menu__item {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  text-transform: uppercase;
}
.menu__close {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: var(--fg);
  color: var(--bg);
}
.menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-60);
  transition: color 0.2s;
}
.menu__item:hover,
.menu__item.is-current { color: var(--fg); }
.menu__item i { width: 16px; height: 16px; }
.menu__item.is-current i { background: var(--fg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  padding: 180px var(--pad) 40px;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 14vh, 130px);
}
.hero__sub {
  max-width: 450px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--fg-80);
}
.hero__bottom .btn-solid { width: 451px; }
.hero__art {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.ascii {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  font-family: var(--ascii);
  font-size: 12px;
  line-height: 1;
  white-space: pre;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: transparent;
  background: url("/assets/img/ascii-color.png") 0 0 / 100% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  image-rendering: pixelated;
  transform: translate(-50%, -50%) scale(var(--ascii-scale, 1.63));
  user-select: none;
}
.ascii--glow { filter: blur(12px); }

/* Approach */
.approach { padding: 100px var(--pad); }
.approach .label { justify-content: center; }
.approach__title { max-width: 800px; margin: 24px auto 0; text-align: center; }
.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  max-width: 1280px;
  margin: 60px auto 0;
  text-align: center;
}
.step img { width: 232px; height: 232px; margin: 0 auto; object-fit: cover; }
.step h3 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.step p,
.service__body p,
.contact__desc {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg-80);
}
.step p { max-width: 350px; margin: 8px auto 0; }

/* Services */
.services { padding: 100px var(--pad-wide); }
.services__title { margin-top: 23px; }
.service { margin-top: 60px; }
.service + .service { margin-top: 64px; }
.service__num {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg-80);
}
.service__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px)) 250px;
  column-gap: 60px;
  padding-left: clamp(0px, calc(100vw - 1230px), 210px);
  margin-top: 30px;
}
.service__body h3 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.service__art {
  width: 250px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.service__art img { width: 100%; height: 100%; object-fit: cover; }

/* Get started */
.start { padding: 174px var(--pad) 300px; }
.start__title { max-width: 700px; margin: 0 auto; text-align: center; }
.steps { max-width: 900px; margin: 60px auto 0; border: 1px solid var(--line); }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex;
  gap: 12px;
  padding: 40px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.steps li span { color: var(--fg-20); }

/* Contact */
.contact { padding: 151px var(--pad-wide) 255px; }
.contact__col { max-width: 576px; }
.contact__call { margin-top: 120px; }
.contact__sub {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.contact__desc { margin-top: 8px; }
.card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding-right: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: background-color 0.2s;
}
.card:hover { background: rgba(255, 255, 255, 0.08); }
.card img { width: 92px; height: 92px; object-fit: cover; }
.card__text { display: flex; flex-direction: column; gap: 1px; }
.card__name { font-size: 16px; line-height: 1.3; letter-spacing: -0.02em; }
.card__role { font-size: 14px; line-height: 1.5; letter-spacing: -0.02em; color: var(--fg-80); }
.card__icon { margin-left: auto; color: var(--fg-60); opacity: 0.63; }
.contact__rule { margin: 118px 0 0; border: 0; border-top: 1px solid var(--line); }

/* Footer */
.footer { padding: 0 var(--pad-wide); overflow: hidden; }
.footer__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-60);
}
.footer__meta div { display: flex; flex-direction: column; gap: 11px; }
.footer__credit { color: var(--fg-80); }
/* Sized so the word spans the full content width, like the Framer original. */
.footer__wordmark {
  margin-top: 62px;
  font-weight: 700;
  font-size: calc((100vw - 2 * var(--pad-wide)) * 0.1525);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Scroll-in motion (only when JavaScript runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal--x { transform: translateX(30px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .nav, .menu__panel, .menu__scrim { transition: none; }
}

/* Tablet */
@media (max-width: 1199px) {
  .display { font-size: 56px; }
  .h2 { font-size: 44px; }
  .hero__sub { font-size: 24px; }
  .hero__bottom .btn-solid { width: 380px; }
  .approach__grid { gap: 30px; }
  .step img { width: 200px; height: 200px; }
  .step h3, .service__body h3 { font-size: 26px; }
  .service__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px; column-gap: 40px; padding-left: 0; }
  .service__art { width: 200px; }
}

/* Phone */
@media (max-width: 809px) {
  :root { --pad: 24px; --pad-wide: 24px; --nav-h: 76px; }
  .hide-phone { display: none; }
  .show-phone { display: inline; }
  .display { font-size: 40px; }
  .h2 { font-size: 32px; }
  .label, .btn-outline, .btn-solid, .service__num { font-size: 14px; }
  .nav__logo { font-size: 20px; }
  .btn-outline { height: 44px; padding: 0 16px; }
  .nav__actions { gap: 8px; }
  .nav__menu { width: 44px; height: 44px; }
  .menu__head, .menu__item { font-size: 24px; }

  .hero { flex-direction: column; padding: 150px var(--pad) 0; text-align: center; }
  .hero__copy { gap: 76px; }
  .hero__bottom { gap: 24px; align-items: center; }
  .hero__sub { font-size: 19px; }
  .hero__bottom .btn-solid { width: 100%; }
  .hero__art { position: relative; width: auto; height: 291px; flex: 1 0 291px; margin: 32px calc(-1 * var(--pad)) 0; }

  .approach { padding: 60px var(--pad); }
  .approach__title { margin-top: 16px; }
  .approach__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .step img { width: 205px; height: 205px; }

  .services { padding: 60px var(--pad); }
  .services .label { justify-content: center; }
  .services__title { text-align: center; }
  .service + .service { margin-top: 48px; }
  .service__num { padding-bottom: 12px; }
  .service__body { grid-template-columns: 1fr; row-gap: 16px; margin-top: 12px; }
  .service__art { width: 100%; }

  .start { padding: 24px var(--pad) 84px; }
  .steps li { padding: 24px; font-size: 22px; }

  .contact { padding: 130px var(--pad) 120px; }
  .contact__call { margin-top: 64px; }
  .contact__rule { margin-top: 64px; }

  .footer__meta { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  .footer__meta div { gap: 8px; }
  .footer__wordmark { margin-top: 32px; }
}
