:root {
  color-scheme: dark;
  --black: #000;
  --white: #f4f4f2;
  --soft: #9b9b9b;
  --muted: #6d6d6d;
  --line: #242424;
  --line-bright: #606060;
  --shell: 1310px;
  --pad: clamp(1.35rem, 6.35vw, 5.75rem);
  --tracking: .34em;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Lucida Console", "Courier New", ui-monospace, monospace;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.hero {
  position: relative;
  min-height: clamp(46rem, 81.25vw, 61rem);
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000 url("./assets/hero-background.webp") center top / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.32) 34%, transparent 59%),
              linear-gradient(0deg, #000 0%, transparent 15%);
}

.hero__inner { position: relative; min-height: inherit; }

.hero__inner::after {
  content: "";
  position: absolute;
  top: 79.5%;
  right: clamp(10%, 19vw, 24%);
  width: clamp(2.2rem, 4.6vw, 3.55rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 58% 64%, #010101 0 58%, #080808 73%, #242424 92%, #d8d8d8 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.55), 0 -1px 7px rgba(255,255,255,.1);
  pointer-events: none;
}

.brand {
  position: absolute;
  top: clamp(4rem, 10.1vw, 7.8rem);
  left: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  width: max-content;
}

.brand__mark {
  width: clamp(3.4rem, 5.8vw, 4.65rem);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(255,255,255,.38));
}

.brand__orbit { stroke-width: 2.7; }
.brand__beam { stroke-width: 2; }

.brand__name {
  font-size: clamp(.76rem, 1.42vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .47em;
  text-shadow: 0 0 7px rgba(255,255,255,.45);
}

.hero__copy {
  position: absolute;
  top: clamp(19.2rem, 30.5vw, 23.8rem);
  left: var(--pad);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.78rem, 3.13vw, 2.75rem);
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: .25em;
  text-shadow: 0 0 10px rgba(255,255,255,.35);
}

.hero__copy p,
.about__copy p {
  margin: clamp(1.45rem, 2.7vw, 2.35rem) 0 0;
  color: var(--soft);
  font-size: clamp(.78rem, 1.36vw, .98rem);
  line-height: 1.75;
  letter-spacing: .035em;
}

.services,
.about {
  position: relative;
  border-top: 1px solid var(--line);
}

.services {
  min-height: 23.75rem;
  padding-block: 1.65rem 3.1rem;
}

.section-flare {
  position: absolute;
  top: -1px;
  left: 14.4%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px 2px #fff, 0 0 13px 5px rgba(255,255,255,.45);
}

h2 {
  margin: 0 0 1.6rem .8rem;
  font-size: clamp(.74rem, 1.22vw, .9rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .47em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2.1vw, 1.65rem);
}

.service-card {
  min-width: 0;
  height: 16.35rem;
  display: flex;
  flex-direction: column;
  padding: 1.55rem clamp(1rem, 2.55vw, 1.85rem) 1.35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  background: rgba(0,0,0,.18);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.service-card__icon {
  width: 4.3rem;
  height: 4.3rem;
  margin: 0 auto 1rem;
  overflow: visible;
  fill: none;
  stroke: #d8d8d8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.62));
  transition: filter 180ms ease;
}

.service-card h3 {
  margin: 0 0 .75rem;
  white-space: nowrap;
  font-size: clamp(.66rem, 1.04vw, .76rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .22em;
}

.service-card p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(.67rem, 1.03vw, .76rem);
  line-height: 1.62;
  letter-spacing: .01em;
}

.service-card__link,
.about__story {
  margin-top: auto;
  font-size: clamp(.66rem, 1.04vw, .76rem);
  line-height: 1.4;
  letter-spacing: .18em;
}

.service-card__link span,
.about__story span { margin-left: 1rem; color: var(--soft); }

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: rgba(255,255,255,.018);
}

.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon {
  filter: drop-shadow(0 0 5px rgba(255,255,255,.95)) drop-shadow(0 0 12px rgba(255,255,255,.3));
}

.service-card:active { transform: translateY(-1px); }

:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 5px;
}

.about {
  min-height: 13.3rem;
  padding-block: 1.55rem 2rem;
}

.about h2 { margin-left: .8rem; margin-bottom: 1rem; }
.about__copy { max-width: 40rem; }
.about__copy p {
  margin: 0 0 1.65rem .8rem;
  font-size: clamp(.72rem, 1.2vw, .84rem);
  line-height: 1.6;
}
.about__story { display: inline-block; margin-left: .8rem; color: #d6d6d6; }

.site-footer { min-height: 6.95rem; }

.site-footer__inner {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: .55rem;
  padding-bottom: 2.4rem;
}

.site-footer .brand {
  position: static;
  align-self: start;
  gap: .82rem;
}

.brand--small .brand__mark { width: 2.85rem; }
.brand--small .brand__name { font-size: .63rem; letter-spacing: .46em; line-height: 1.45; }

.socials {
  display: flex;
  gap: 1.55rem;
  padding-top: .45rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  color: #8b8b8b;
  transition: color 160ms ease, filter 160ms ease;
}

.socials svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials .fill { fill: currentColor; stroke: none; }
.socials a:hover, .socials a:focus-visible { color: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.65)); }

.copyright {
  justify-self: end;
  margin: .45rem 0 0;
  color: #777;
  font-size: .65rem;
  line-height: 1.65;
  letter-spacing: .11em;
  text-align: right;
}

/* Shared department and 404 pages */
.holding-page { min-height: 100svh; }

.holding {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.holding::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(58vw, 38rem);
  aspect-ratio: 1;
  border: 1px solid #373737;
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(255,255,255,.06), inset 0 0 45px rgba(255,255,255,.035);
}

.holding::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(36vw, 23rem);
  height: 1px;
  background: #aaa;
  box-shadow: 0 0 8px #fff;
  transform: rotate(-31deg);
  opacity: .55;
}

.holding .brand {
  position: fixed;
  top: clamp(1.6rem, 5vw, 3.5rem);
  left: clamp(1.35rem, 5vw, 4rem);
}

.holding__content { padding: 7rem 1.25rem 5rem; text-align: center; }

.holding__eyebrow {
  margin: 0 0 1.25rem;
  color: var(--soft);
  font-size: clamp(.65rem, 1.2vw, .78rem);
  letter-spacing: .4em;
}

.holding h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .2em;
  text-shadow: 0 0 14px rgba(255,255,255,.24);
}

.holding__soon {
  margin: clamp(2.5rem, 7vw, 5rem) 0 0;
  font-size: clamp(.8rem, 1.5vw, 1rem);
  letter-spacing: .75em;
}

.holding__return {
  display: inline-block;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-block: .5rem;
  color: #bcbcbc;
  font-size: .7rem;
  letter-spacing: .2em;
  text-decoration: none;
}

.holding__return:hover, .holding__return:focus-visible { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.55); }

@media (min-width: 1025px) {
  .hero__art {
    background-size: 75vw auto;
    background-size: min(75vw, 1440px) auto;
    background-position: 55% top;
  }
}

@media (max-width: 900px) {
  .hero { min-height: 47rem; }
  .hero__art { background-position: 54% top; }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.26) 54%, transparent 78%), linear-gradient(0deg, #000, transparent 18%); }
  .hero__copy { top: 18.6rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .service-card { height: 16rem; }
  .services { padding-bottom: 2.2rem; }
}

@media (max-width: 580px) {
  :root { --tracking: .24em; }
  .desktop-break { display: none; }
  .hero { min-height: 43rem; }
  .hero__art { opacity: .82; background-position: 58% top; }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.18)), linear-gradient(0deg, #000, transparent 24%); }
  .brand { top: 2.6rem; gap: .8rem; }
  .brand__mark { width: 3.2rem; }
  .brand__name { font-size: .7rem; }
  .hero__copy { top: 15.7rem; right: var(--pad); }
  .hero__inner::after { display: none; }
  .hero h1 { font-size: clamp(1.38rem, 7vw, 1.85rem); line-height: 1.86; letter-spacing: .17em; }
  .hero__copy p { max-width: 31rem; font-size: .78rem; line-height: 1.7; }
  .services { padding-block: 1.6rem 2rem; }
  h2 { margin-left: 0; letter-spacing: .34em; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { height: 15.3rem; padding-inline: 1.5rem; }
  .service-card h3 { font-size: .75rem; }
  .service-card p, .service-card__link { font-size: .72rem; }
  .about { min-height: 16rem; padding-block: 2rem 2.5rem; }
  .about h2, .about__copy p, .about__story { margin-left: 0; }
  .about__copy p { font-size: .78rem; }
  .site-footer__inner { grid-template-columns: 1fr auto; row-gap: 2rem; padding-block: 1.5rem 2rem; }
  .socials { justify-self: end; }
  .copyright { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .holding::before { width: 85vw; }
  .holding h1 { font-size: clamp(1.65rem, 9vw, 2.5rem); letter-spacing: .13em; }
}

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

/* Shared black-hole destination for landing-page links */
.soon-body { min-height: 100svh; }

.soon-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.soon-page__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000 url("./assets/hero-background.webp") 55% top / min(75vw, 1440px) auto no-repeat;
}

.soon-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.3);
  pointer-events: none;
}

.soon-page__brand {
  position: absolute;
  top: clamp(2rem, 6vw, 5rem);
  left: clamp(1.35rem, 6vw, 5rem);
}

.soon-page h1 {
  margin: 0;
  padding-left: .22em;
  font-size: clamp(2.8rem, 9.8vw, 8.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .22em;
  text-shadow: 0 0 12px rgba(255,255,255,.55), 0 0 32px rgba(255,255,255,.18);
}

.soon-page__return {
  position: absolute;
  bottom: clamp(2rem, 6vw, 5rem);
  padding: .5rem;
  color: #aaa;
  font-size: .7rem;
  letter-spacing: .2em;
  text-decoration: none;
}

.soon-page__return:hover,
.soon-page__return:focus-visible { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.55); }

@media (max-width: 580px) {
  .soon-page__art { background-size: cover; background-position: 58% top; }
}
/* Production accessibility and compatibility refinements */
img,
svg { max-width: 100%; }

.skip-link {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 100;
  padding: .75rem 1rem;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  font-size: .7rem;
  letter-spacing: .16em;
  text-decoration: none;
  transform: translateY(calc(-100% - 2rem));
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

.hero .brand {
  left: max(var(--pad), env(safe-area-inset-left, 0px));
}

.holding-page,
.holding,
.soon-body,
.soon-page {
  min-height: 100vh;
  min-height: 100svh;
}

.socials { gap: .45rem; }

.socials a {
  width: 2.75rem;
  height: 2.75rem;
}

.holding__return,
.soon-page__return { padding: .8rem 1rem; }

@media (hover: none) {
  .service-card:hover { transform: none; }
}
main:focus { outline: none; }
