:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: #070707;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f7f7;
  --heading-soft: #dce4e7;
  --accent: #70ffe0;
  --accent-soft: rgba(112, 255, 224, 0.76);
  --accent-muted: rgba(112, 255, 224, 0.58);
  --accent-faint: rgba(112, 255, 224, 0.14);
  --muted: #a4a4a4;
  --dim: #747474;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 74% 20%, rgba(220, 228, 231, 0.08), transparent 28rem),
    radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.032), transparent 22rem),
    linear-gradient(180deg, #030303 0%, #070707 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
}

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

.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 44px clamp(28px, 6%, 88px) 38px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022), transparent 36%),
    rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 210px;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 39px;
  height: 27px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.04) brightness(1.04);
}

.brand-name,
.nav-links a,
.section-kicker,
.hero-kicker,
.site-footer,
.direction-grid a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-name {
  color: #cfcfcf;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 6vw, 76px);
  width: 100%;
}

.nav-links a {
  color: var(--accent-soft);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.brand:focus-visible,
.nav-links a:focus-visible,
.primary-link:focus-visible,
.ghost-link:focus-visible,
.direction-grid a:focus-visible,
.site-footer a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 26%);
  gap: clamp(40px, 7%, 120px);
  min-height: 600px;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 920px;
}

.hero .hero-kicker {
  margin: 0 0 24px;
  color: var(--accent-soft);
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 68px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--heading-soft);
}

.hero p {
  margin: 38px 0 0;
  color: #b4b4b4;
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-link {
  padding: 0 30px;
  color: #070707;
  background: var(--accent);
  border: 1px solid var(--accent);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.ghost-link {
  color: #fff;
  transition: color 160ms ease;
}

.primary-link:hover {
  background: var(--heading-soft);
  border-color: var(--heading-soft);
}

.ghost-link:hover {
  color: var(--accent);
}

.primary-link span,
.ghost-link span,
.direction-grid a span {
  font-size: 15px;
  line-height: 1;
}

.hero-cross {
  --cross-color: 112, 255, 224;
  position: absolute;
  top: 214px;
  right: clamp(4px, 6%, 92px);
  width: clamp(116px, 14vw, 186px);
  aspect-ratio: 1;
  opacity: 0.78;
}

.hero-cross::after {
  position: absolute;
  inset: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: rgba(var(--cross-color), 0.82);
  border-radius: 50%;
  box-shadow:
    0 0 0 9px rgba(var(--cross-color), 0.035),
    0 0 34px rgba(var(--cross-color), 0.16);
  transform: translate(-50%, -50%);
}

.cross-line {
  position: absolute;
  display: block;
  background: rgba(var(--cross-color), 0.58);
}

.cross-line-x {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
}

.cross-line-y {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
}

.directions {
  padding: 44px 0 70px;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 28px;
  color: var(--accent-soft);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direction-grid article {
  min-height: 170px;
  padding: 0 clamp(28px, 4vw, 70px) 0 0;
}

.direction-grid article + article {
  padding-left: clamp(28px, 4vw, 70px);
  border-left: 1px solid var(--line-soft);
}

.direction-grid h2 {
  margin: 0 0 16px;
  color: var(--heading-soft);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.direction-grid p {
  max-width: 360px;
  min-height: 52px;
  margin: 0 0 24px;
  color: #a7a7a7;
  font-size: 14px;
  line-height: 1.45;
}

.direction-grid a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  letter-spacing: 0;
  text-transform: none;
  transition: color 160ms ease;
}

.direction-grid a:hover {
  color: var(--accent);
}

.work-audience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(52px, 9%, 140px);
  padding: 64px 0 66px;
  border-bottom: 1px solid var(--line);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.72fr);
  gap: clamp(42px, 8vw, 120px);
  min-height: 620px;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.contact-copy {
  max-width: 820px;
}

.contact-copy .hero-kicker {
  margin: 0 0 24px;
  color: var(--accent-soft);
}

.contact-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.contact-copy p {
  max-width: 580px;
  margin: 34px 0 0;
  color: #b4b4b4;
  font-size: 16px;
  line-height: 1.6;
}

.contact-copy .primary-link {
  margin-top: 44px;
}

.contact-form {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label span {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--dim);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-muted);
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.work-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.45;
}

.work-list li::marker {
  color: var(--accent-muted);
}

.audience-box {
  min-height: 244px;
  padding: 38px 40px;
  border: 1px solid rgba(220, 228, 231, 0.16);
  background: rgba(220, 228, 231, 0.012);
}

.audience-box p:last-child {
  margin: 0;
  color: #c7c7c7;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: start;
  gap: 34px;
  padding-top: 38px;
  color: var(--dim);
  font-style: normal;
}

.site-footer p,
.site-footer address,
.site-footer small {
  margin: 0;
}

.site-footer address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  font-style: normal;
}

.site-footer span {
  display: block;
  min-height: 58px;
  padding-left: 42px;
  border-left: 1px solid var(--line-soft);
  color: var(--dim);
  line-height: 1.8;
}

.site-footer p,
.site-footer span {
  color: var(--accent-soft);
}

.site-footer a {
  color: #a8a8a8;
  text-transform: none;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 880px) {
  .page-shell {
    padding: 30px 24px 28px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand {
    gap: 9px;
    min-width: auto;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 70px 0 56px;
  }

  .hero-cross {
    top: 54px;
    right: 0;
    width: 72px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .direction-grid,
  .work-audience,
  .contact-hero,
  .site-footer,
  .site-footer address {
    grid-template-columns: 1fr;
  }

  .direction-grid article,
  .direction-grid article + article {
    min-height: auto;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .direction-grid article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .work-audience {
    gap: 42px;
    padding: 52px 0;
  }

  .audience-box {
    min-height: auto;
  }

  .site-footer span {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
}

@media (max-width: 560px) {
  .page-shell {
    border-inline: 0;
  }

  .site-header,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-cross {
    opacity: 0.48;
  }

  .primary-link {
    width: 100%;
  }

  .contact-form button {
    width: 100%;
  }
}
