:root {
  --ink: #111111;
  --paper: #f2f1ed;
  --muted: #898989;
  --rule: #303030;
  --accent: #ff4f12;
  --display: "Special Gothic Condensed One", sans-serif;
  --body: "Space Grotesk", sans-serif;
  --mono: "Space Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap,
.site-header {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 32px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-header nav { display: flex; gap: 26px; font: 400 11px/1 var(--mono); color: var(--muted); }
.site-header nav a { transition: color 160ms ease; }
.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--paper); }

.hero { padding-top: 50px; }
.eyebrow { margin: 0; color: var(--muted); font: 400 11px/1.4 var(--mono); letter-spacing: 0; }
.hero h1 { max-width: 790px; margin: 30px 0 26px; font: 400 72px/.83 var(--display); letter-spacing: 0; }
.hero-copy { max-width: 1140px; margin: 0 0 28px; color: var(--muted); font: 400 12px/1.7 var(--mono); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 175px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font: 700 11px/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.button:hover,
.button:focus-visible { background: transparent; color: var(--accent); }

.feature-frame { width: 100%; margin: 36px 0 0; border: 1px solid var(--rule); }
.feature-frame figcaption { display: flex; justify-content: space-between; padding: 14px 12px; border-bottom: 1px solid var(--rule); color: var(--muted); font: 400 10px/1 var(--mono); }
.feature-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); aspect-ratio: 3 / 1; overflow: hidden; background: #080808; }
.feature-image { min-width: 0; overflow: hidden; background: #080808; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.ruled-section { border-top: 1px solid var(--rule); }
.evolution { margin-top: 76px; padding: 28px 0 76px; }
.section-title { margin: 0 0 56px; font: 400 47px/1 var(--display); }
.section-intro { max-width: 760px; margin: -28px 0 56px; color: var(--paper); font: 400 16px/1.45 var(--mono); }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.phase-grid article { padding: 26px 30px 0 0; }
.phase-grid article + article { padding-left: 30px; border-left: 1px solid var(--rule); }
.phase-grid h3 { margin: 18px 0 14px; font: 400 56px/1 var(--display); }
.phase-grid article > p:last-child { max-width: 480px; margin: 0; color: var(--muted); font: 400 12px/1.65 var(--mono); }

.works { padding: 28px 0 64px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.work-card { display: block; padding: 12px; border: 1px solid var(--rule); }
.work-card + .work-card { border-left: 0; }
.work-image { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--rule); background: #080808; }
.work-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 250ms ease, transform 250ms ease; }
.work-card:hover img { filter: grayscale(0); transform: scale(1.025); }
.work-image span { position: absolute; left: 10px; bottom: 5px; font: 400 48px/1 var(--display); }
.work-card h3 { margin: 14px 0 10px; font: 400 28px/1 var(--display); }
.work-card > p { margin: 0 0 2px; color: var(--accent); font: 400 11px/1 var(--mono); }

.project-page { min-height: 100vh; }
.project { display: flex; flex-direction: column; min-height: 100vh; padding-block: 56px 72px; }
.back-link { width: fit-content; color: var(--muted); font: 400 11px/1.4 var(--mono); transition: color 160ms ease; }
.back-link:hover,
.back-link:focus-visible { color: var(--paper); }
.project-heading { margin-top: 24px; }
.project-heading h1 { margin: 25px 0 20px; font: 400 74px/.84 var(--display); }
.project-description { max-width: 720px; margin: 0; color: var(--muted); font: 400 12px/1.7 var(--mono); }
.project-gallery { display: grid; grid-template-columns: repeat(3, 300px); align-items: start; gap: 16px; margin: 46px 0 24px; }
.project-image { width: 300px; height: 300px; margin: 0; overflow: hidden; border: 1px solid var(--rule); background: #080808; }
.project-image-lead { grid-column: auto; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }

.ticker { overflow: hidden; border-block: 1px solid var(--rule); white-space: nowrap; }
.ticker div { width: max-content; padding: 15px 0; font: 700 12px/1 var(--mono); animation: ticker 28s linear infinite; }
@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.services { display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px; align-items: start; padding: 56px 0; }
.services-list { max-width: 760px; margin: -5px 0 0; font: 400 35px/.95 var(--display); }

.contact { padding: 62px 0 30px; border-top: 1px solid var(--rule); }
.contact-intro h2 { max-width: 760px; margin: 26px 0 20px; font: 400 48px/.95 var(--display); }
.contact-intro > p:last-child { color: var(--muted); font: 400 12px/1.6 var(--mono); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
label { position: relative; }
label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input,
select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font: 400 11px/1 var(--mono);
  text-transform: uppercase;
}
input:focus,
select:focus { border-color: var(--paper); }
select { appearance: auto; }
select option { background: var(--ink); }
form .button { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; min-height: 16px; margin: 0; color: var(--muted); font: 400 10px/1.5 var(--mono); }
.footer-line { display: flex; justify-content: space-between; margin-top: 68px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font: 400 10px/1.4 var(--mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
}

@media (max-width: 700px) {
  .wrap,
  .site-header { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 88px; align-items: center; }
  .brand { gap: 7px; font-size: 21px; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { gap: 10px; font-size: 8px; }
  .site-header nav a:nth-child(2),
  .site-header nav a:nth-child(3) { display: none; }
  .hero { padding-top: 36px; }
  .hero h1 { margin-top: 24px; font-size: 54px; }
  .hero-copy { font-size: 10px; }
  .feature-frame { margin-top: 30px; }
  .feature-gallery { display: block; position: relative; aspect-ratio: 1; }
  .feature-image { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease; }
  .feature-image.is-active { opacity: 1; }
  .evolution { margin-top: 54px; padding-bottom: 54px; }
  .section-title { margin-bottom: 34px; font-size: 40px; }
  .section-intro { margin: -14px 0 34px; font-size: 12px; line-height: 1.6; }
  .phase-grid { grid-template-columns: 1fr; }
  .phase-grid article { padding: 24px 0 28px; }
  .phase-grid article + article { padding-left: 0; border-top: 1px solid var(--rule); border-left: 0; }
  .phase-grid h3 { font-size: 48px; }
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card + .work-card { border-left: 1px solid var(--rule); }
  .works { padding-bottom: 48px; }
  .services { grid-template-columns: 1fr; padding: 44px 0; }
  .services-list { font-size: 31px; }
  .contact { padding-top: 48px; }
  .project { padding-block: 36px 48px; }
  .project-heading h1 { font-size: 54px; }
  .project-gallery { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; }
  .project-image,
  .project-image-lead { width: min(100%, 300px); height: 300px; }
  .contact-intro h2 { font-size: 42px; }
  form { grid-template-columns: 1fr; }
  form .button,
  .form-note { grid-column: auto; }
  .footer-line { margin-top: 48px; }
}