:root {
  --bg: #101211;
  --surface: #171a18;
  --surface2: #1d211f;
  --border: #2b302d;
  --white: #f2f4f3;
  --muted: #aeb8b3;
  --faint: #69716d;
  --teal: #2ec4b0;
  --gold: #d8b856;
  --mono: "Montserrat", sans-serif;
  --body: "Rubik", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.site-header {
  height: 68px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(16, 18, 17, 0.94);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.brand {
  text-decoration: none;
  font: 800 23px var(--mono);
  letter-spacing: -0.06em;
}
.brand span {
  color: var(--gold);
}
.brand small {
  color: var(--teal);
  font-size: 12px;
  margin-left: 4px;
}
.site-header nav {
  display: flex;
  gap: 28px;
}
.site-header nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font: 600 10px var(--mono);
  color: var(--muted);
}
.site-header nav a:hover {
  color: var(--white);
}
main > section,
footer {
  max-width: 1220px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.hero {
  min-height: 650px;
  padding-top: 120px;
  padding-bottom: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 10px var(--mono);
  color: var(--teal);
  margin: 0 0 24px;
}
.hero h1 {
  font: 700 clamp(42px, 6vw, 78px)/1.02 var(--mono);
  letter-spacing: -0.055em;
  max-width: 980px;
  margin: 0;
}
.hero-copy {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 720px;
  margin: 30px 0 0;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}
.button {
  display: inline-block;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 14px;
}
.primary {
  background: var(--teal);
  color: #0b1512;
  font-weight: 600;
}
.secondary {
  border: 1px solid var(--faint);
  color: var(--muted);
}
.work,
.services,
.contact {
  padding-top: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--border);
}
.section-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  margin-bottom: 65px;
}
.section-heading h2,
.contact h2 {
  font: 700 clamp(32px, 4vw, 54px)/1.08 var(--mono);
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 850px;
}
.project {
  padding: 0 0 100px;
  margin-bottom: 100px;
  border-bottom: 1px solid var(--border);
}
.project:last-child {
  margin-bottom: 0;
}
.project-intro {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 38px;
}
.project-number {
  font: 700 10px var(--mono);
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 0 0 10px;
}
.project-intro h3 {
  font: 700 clamp(34px, 5vw, 58px)/1 var(--mono);
  letter-spacing: -0.05em;
  margin: 0;
}
.project-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}
.screen {
  margin: 0;
  background: #0b0d0c;
  border: 1px solid var(--border);
  overflow: hidden;
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
}
.screen figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.screen-main {
  margin-bottom: 18px;
}
.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.project-gallery .screen img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
}
.project-gallery .screen:nth-child(2) img,
.project-gallery .screen:nth-child(3) img {
  aspect-ratio: 3/4;
}
.project-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 55px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}
.project-footer p {
  margin: 0;
}
.stack {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.project-compact {
  padding-bottom: 70px;
  margin-bottom: 70px;
}
.empty-proof {
  min-height: 280px;
  border: 1px dashed #3a403d;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
}
.empty-proof p {
  font: 600 18px var(--mono);
  margin: 0 0 8px;
}
.empty-proof span {
  font-size: 13px;
  color: var(--faint);
}

.empty-proof img {
  width: 100%;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-grid div {
  background: var(--bg);
  padding: 38px;
}
.service-grid h3 {
  font: 700 20px var(--mono);
  margin: 0 0 12px;
}
.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.contact h2 {
  margin-bottom: 35px;
}
.contact .button {
  margin-top: 5px;
}
footer {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
}
footer a {
  text-decoration: none;
}
@media (max-width: 850px) {
  .site-header nav {
    gap: 15px;
  }
  .section-heading,
  .project-intro,
  .project-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .project-gallery .screen:first-child {
    grid-column: 1/-1;
  }
  .hero {
    min-height: auto;
    padding-top: 90px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
  }
  .site-header nav a:nth-child(2) {
    display: none;
  }
  main > section,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .actions {
    flex-direction: column;
  }
  .button {
    text-align: center;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .project-gallery .screen:first-child {
    grid-column: auto;
  }
  .project-gallery .screen img,
  .project-gallery .screen:nth-child(2) img,
  .project-gallery .screen:nth-child(3) img {
    aspect-ratio: auto;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
.project-gallery-two {
  grid-template-columns: 2fr 1fr;
}

.project-gallery-two .screen img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.project-gallery-two .screen:last-child img {
  aspect-ratio: 3 / 4;
}

@media (max-width: 850px) {
  .project-gallery-two {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .project-gallery-two {
    grid-template-columns: 1fr;
  }

  .project-gallery-two .screen img,
  .project-gallery-two .screen:last-child img {
    aspect-ratio: auto;
  }
}