@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Manrope:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #f1f0ec;
  --muted: #8e8d88;
  --accent: #ff4d00;
  --background: #080808;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 77, 0, .12), transparent 28rem),
    var(--background);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.025) 50%, transparent 58%);
  animation: drift 12s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 5rem);
}

.wordmark {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-decoration: none;
}

.wordmark span, h1 em { color: var(--accent); }

.status, .eyebrow, footer {
  font-family: "DM Mono", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status { color: var(--muted); text-decoration: none; }
.status i {
  width: .45rem;
  height: .45rem;
  margin-right: .55rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 .25rem rgba(255, 77, 0, .12);
  animation: pulse 2.5s ease-out infinite;
}

main {
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
}

.content {
  width: min(100%, 92rem);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .65fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 2rem;
  color: var(--muted);
  animation: rise .7s .1s both;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  margin: 0 .9rem .22rem 0;
  display: inline-block;
  background: var(--accent);
}

h1 {
  grid-column: 1;
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 9.5vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .89;
  animation: rise .8s .2s both;
}

h1 em { font-style: normal; }

.intro {
  grid-column: 2;
  max-width: 37rem;
  margin: 0 0 .75rem;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid #242422;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  animation: rise .8s .35s both;
}

.intro p { margin: 0; }

.cta {
  width: fit-content;
  margin-top: 1.6rem;
  padding-bottom: .3rem;
  display: block;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.cta span { color: var(--accent); }

.services {
  margin-top: clamp(5rem, 11vw, 10rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #242422;
}

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

  .eyebrow, h1, .intro { grid-column: 1; }

  .intro {
    max-width: 38rem;
    margin: clamp(2.5rem, 7vw, 4rem) 0 0 auto;
  }
}

.services article {
  padding: 1.6rem clamp(1rem, 2.5vw, 2.5rem) 1rem 0;
}

.services article + article {
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid #242422;
}

.services span {
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: .65rem;
}

.services h2 {
  margin: 1.5rem 0 .75rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 500;
}

.services p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

footer { color: #5e5d59; }
footer a { color: inherit; text-decoration: none; transition: color .2s; }
footer a:hover, footer a:focus-visible { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  70%, 100% { box-shadow: 0 0 0 .65rem transparent; }
}

@keyframes drift {
  to { transform: translate3d(5%, -3%, 0); }
}

@media (max-width: 600px) {
  .site-header, footer { padding: 1.4rem; }
  main { padding: 3rem 1.4rem; }
  .status { font-size: .58rem; }
  .intro {
    max-width: 28rem;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .services { grid-template-columns: 1fr; }
  .services article { padding: 1.5rem 0; }
  .services article + article { padding-left: 0; border-top: 1px solid #242422; border-left: 0; }
  footer { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
