@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap");

:root {
  --ink: #0b0b0b;
  --paper: #f2f0e9;
  --acid: #dfff45;
  --orange: #ff5a23;
  --muted: #817f78;
  --line: rgba(11, 11, 11, 0.17);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(22px, 4vw, 64px);
  color: #fff;
  transition: height 180ms ease, color 180ms ease, background 180ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto clamp(22px, 4vw, 64px) 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(242, 240, 233, 0.92);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.wordmark {
  width: max-content;
  font-family: "Unbounded", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.08em;
  transition: opacity 160ms ease;
}

.wordmark:hover,
.nav a:hover,
.header-link:hover {
  opacity: 0.58;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a,
.header-link {
  transition: opacity 160ms ease;
}

.header-link {
  justify-self: end;
  display: flex;
  gap: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 64% 16%, rgba(223, 255, 69, 0.12), transparent 26%),
    radial-gradient(circle at 22% 83%, rgba(255, 90, 35, 0.12), transparent 24%),
    var(--ink);
  color: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 6.25vw 6.25vw;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 26px var(--acid);
}

.hero-orbit-one {
  top: -25vw;
  right: -9vw;
  width: 72vw;
  height: 72vw;
  animation: orbit 24s linear infinite;
}

.hero-orbit-two {
  right: 12vw;
  bottom: -36vw;
  width: 56vw;
  height: 56vw;
  animation: orbit 18s linear reverse infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px clamp(22px, 4vw, 64px) clamp(36px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 72px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.hero h1 {
  max-width: 1250px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(48px, 8.3vw, 124px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.hero h1 > span {
  color: #757575;
}

.hero h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13em;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-foot {
  margin-top: clamp(42px, 6vw, 84px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.hero-foot p {
  max-width: 560px;
  color: #b8b7b2;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
}

.hero-foot a {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-size: 22px;
  transition: background 180ms ease, color 180ms ease;
}

.hero-foot a:hover {
  background: var(--acid);
  color: var(--ink);
}

.hero-side {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 22px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.directions,
.about-inner,
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(92px, 10vw, 160px) clamp(22px, 4vw, 64px);
}

.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.5fr 0.55fr;
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(58px, 7vw, 110px);
}

.section-intro h2,
.about h2,
.contact h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(36px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.section-intro > p:last-child,
.about-note {
  color: #686660;
  font-size: 14px;
  line-height: 1.7;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.direction {
  position: relative;
  min-height: min(720px, 72vw);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 44px);
  color: #fff;
  background: #171717;
}

.direction > img,
.direction-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.direction > img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.direction:hover > img {
  transform: scale(1.045);
}

.direction-tech > img {
  object-position: center;
}

.direction-production > img {
  object-position: 56% center;
}

.direction-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.78));
}

.direction-top,
.direction-copy {
  position: relative;
  z-index: 2;
}

.direction-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.direction-top b {
  font-weight: 800;
}

.direction-copy > p {
  margin-bottom: 8px;
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.direction-copy h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.direction-copy ul {
  margin-top: 28px;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.direction-copy li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about {
  background: var(--acid);
}

.about-inner {
  min-height: 700px;
  display: grid;
  grid-template-columns: 0.45fr 2fr;
  gap: 70px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about h2 span {
  color: rgba(11, 11, 11, 0.36);
}

.about-note {
  max-width: 680px;
  margin: 80px 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  color: rgba(11, 11, 11, 0.68);
}

.contact {
  background: var(--orange);
}

.contact h2 {
  margin-top: 58px;
  font-size: clamp(48px, 7.4vw, 108px);
}

.contact h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14em;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.contact-links {
  margin-top: clamp(60px, 9vw, 126px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 16px;
  border-bottom: 2px solid var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(17px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.contact-links a:first-child {
  margin-right: 28px;
}

.contact-links a:last-child {
  margin-left: 28px;
}

.contact-links span {
  transition: transform 160ms ease;
}

.contact-links a:hover span {
  transform: translate(5px, -5px);
}

.footer {
  min-height: 140px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px clamp(22px, 4vw, 64px);
  background: var(--ink);
  color: #fff;
}

.footer p {
  color: #989791;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-link {
    display: none;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    max-width: 460px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction {
    min-height: 680px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 68px;
  }

  .nav {
    gap: 16px;
    font-size: 9px;
  }

  .nav a:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 68px);
  }

  .hero-foot {
    align-items: center;
  }

  .hero-foot a {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
  }

  .hero-side {
    display: none;
  }

  .direction {
    min-height: 590px;
  }

  .direction-top b {
    display: none;
  }

  .about-note,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .about-note {
    margin-top: 52px;
  }

  .contact-links a:first-child,
  .contact-links a:last-child {
    margin-right: 0;
    margin-left: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
