@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f3ef;
  --ink: #08090b;
  --cyan: #00cfe9;
  --cyan-deep: #009db2;
  --magenta: #ed00ad;
  --magenta-deep: #c0008c;
  --line: #161616;
  --muted: #41434a;
  --mono: "DM Mono", "Courier New", monospace;
  --display: "Archivo Black", Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #08090b;
  color: var(--ink);
  font-family: var(--body);
}

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

.site-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  background: var(--bg);
  overflow: clip;
  border-inline: 1px solid var(--line);
}

/* HEADER */

.topbar {
  height: 76px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-size: 23px;
  font-weight: 1000;
  letter-spacing: -1.5px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.logo span { font-weight: 500; }

.logo sup {
  font-size: 10px;
  align-self: flex-start;
  margin: 17px 0 0 2px;
}

.topbar-right,
.nav { display: flex; }

.nav a {
  padding: 0 17px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}

.nav a:hover {
  background: var(--ink);
  color: white;
}

.theme-toggle {
  width: 88px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--cyan);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
}

.theme-toggle:hover { background: var(--magenta); }

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-left {
  padding: 48px 38px 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
}

.eyebrow,
.section-label {
  font: 10px var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "●";
  color: var(--magenta);
  padding-right: 18px;
}

.impact-link {
  position: absolute;
  right: 20px;
  top: 15px;
  background: var(--magenta);
  color: var(--ink);
  padding: 14px 16px;
  font: 11px/1.5 var(--mono);
  transition: transform .2s, background .2s;
}

.impact-link:hover {
  transform: translateY(-3px);
  background: var(--cyan);
}

.hero h1 {
  font: clamp(66px, 9vw, 124px)/.77 var(--display);
  letter-spacing: -.085em;
  margin: auto 0 0;
  padding-top: 70px;
}

.hero h1 span {
  display: block;
  color: var(--ink);
}

.hero h1 .cyan-word { color: var(--cyan-deep); }
.hero h1 .magenta-word { color: var(--magenta-deep); }

.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.hero-right {
  padding: 145px 30px 28px;
  position: relative;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 145px 30px 28px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #aaa,
    #656565 45%,
    #111 45.3%,
    #080808 72%,
    #888 72.3%
  );
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 19.5%,
    #fff2 19.7% 20%,
    transparent 20.2% 40%
  );
  animation: art-lines 9s ease-in-out infinite alternate;
}

.art-beam {
  position: absolute;
  left: 15%;
  top: 28%;
  width: 120%;
  height: 34%;
  background: linear-gradient(100deg, #aaa, #444 65%, #888);
  transform: rotate(-25deg);
  animation: art-beam 5s ease-in-out infinite alternate;
  box-shadow: 0 16px 35px #0008;
}

.art-beam::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.art-caption {
  position: absolute;
  bottom: 14px;
  left: 15px;
  color: white;
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #050505;
  color: white;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 25px;
  z-index: 2;
  transition: background .2s, transform .2s;
}

.scroll-down:hover {
  background: var(--magenta);
  transform: translateX(-50%) translateY(4px);
}

/* ANIMATIONS */

@keyframes art-lines {
  from { transform: translateX(-3%) skewX(-8deg); }
  to { transform: translateX(3%) skewX(8deg); }
}

@keyframes art-beam {
  from { translate: -3% -5%; }
  to { translate: 3% 5%; }
}

/* CONTINUOUS TICKER */


/* CONTINUOUS TICKER */

.ticker {
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.ticker-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: ticker-scroll 22s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

.ticker-group span {
  display: block;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding-right: 28px;
}

.ticker-track b {
  color: var(--cyan);
  padding: 0 18px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */

.section {
  padding: 68px 38px;
  border-bottom: 1px solid var(--line);
}

.work-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 35px;
}

h2 {
  font: clamp(42px, 6vw, 74px)/.9 var(--display);
  letter-spacing: -.07em;
  margin: 20px 0;
  color: var(--ink);
}

.work-intro h2 span { color: var(--magenta-deep); }

.work-intro > p,
.ecosystem-copy {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 420px;
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.capability {
  padding: 19px 12px 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding .2s;
}

.capability:hover {
  background: #00cfe914;
  padding-left: 10px;
}

.capability small {
  font: 10px var(--mono);
  color: #4a4b50;
}

.capability h3 {
  font: 23px var(--display);
  letter-spacing: -.7px;
  margin: 13px 0 6px;
  color: #08090b;
}

.capability p {
  font-size: 12px;
  line-height: 1.6;
  color: #45464c;
  margin: 0;
}

/* ECOSYSTEM */

.ecosystem-section {
  background: #090a0e;
  color: white;
}

.ecosystem-section h2 { color: white; }

.ecosystem-section h2 em {
  font-style: normal;
  color: var(--cyan);
}

.ecosystem-copy { color: #d0d0d5; }

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.product-card {
  border: 1px solid #ffffff70;
  padding: 23px;
  min-height: 190px;
  transition: transform .25s, background .25s, color .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  background: var(--cyan);
  color: #08090b;
}

.product-card:nth-child(2):hover { background: var(--magenta); }

.product-card h3 {
  font: 38px var(--display);
  letter-spacing: -2px;
  margin: 22px 0 8px;
}

.product-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #d0d0d5;
}

.product-card:hover p { color: #171717; }

.product-card a,
.product-link-label {
  display: inline-block;
  margin-top: 8px;
  font: 10px var(--mono);
  letter-spacing: .4px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* CONTACT */

.contact-section {
  background: var(--cyan);
  padding: 55px 38px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.contact-section h2 { margin-bottom: 0; }

.contact-section > a {
  font: 11px var(--mono);
  border-bottom: 1px solid;
  padding-bottom: 6px;
}

/* FOOTER */

.footer {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font: 10px var(--mono);
}

/* NIGHT THEME */

body[data-theme="night"] {
  --bg: #08090b;
  --ink: #f4f3ef;
  --line: #e7e7e7;
  --muted: #c5c5ca;
  color-scheme: dark;
}

body[data-theme="night"] .site-shell {
  background: var(--bg);
  color: var(--ink);
}

body[data-theme="night"] .topbar,
body[data-theme="night"] .hero,
body[data-theme="night"] .section,
body[data-theme="night"] .footer {
  border-color: var(--line);
}

body[data-theme="night"] .logo,
body[data-theme="night"] .nav a {
  border-color: var(--line);
}

body[data-theme="night"] .nav a:hover {
  background: white;
  color: #08090b;
}

body[data-theme="night"] .hero h1 span { color: white; }
body[data-theme="night"] .hero h1 .cyan-word { color: var(--cyan); }
body[data-theme="night"] .hero h1 .magenta-word { color: var(--magenta); }

body[data-theme="night"] .work-intro > p { color: #c5c5ca; }

body[data-theme="night"] .capability {
  border-color: #ffffff50;
}

body[data-theme="night"] .capability small,
body[data-theme="night"] .capability p {
  color: #c5c5ca;
}

body[data-theme="night"] .capability h3 { color: white; }

body[data-theme="night"] .ecosystem-section {
  background: #f4f3ef;
  color: #08090b;
}

body[data-theme="night"] .ecosystem-section h2 { color: #08090b; }
body[data-theme="night"] .ecosystem-section h2 em { color: var(--magenta-deep); }
body[data-theme="night"] .ecosystem-copy { color: #41434a; }

body[data-theme="night"] .product-card {
  border-color: #08090b70;
}

body[data-theme="night"] .product-card p { color: #41434a; }

body[data-theme="night"] .product-card:hover p { color: #171717; }

body[data-theme="night"] .contact-section {
  background: var(--magenta);
  color: #08090b;
}

body[data-theme="night"] .contact-section h2 { color: #08090b; }

body[data-theme="night"] .theme-toggle {
  background: var(--magenta);
  color: #08090b;
}

body[data-theme="night"] .theme-toggle:hover { background: var(--cyan); }

/* RESPONSIVE */

@media (max-width: 900px) {
  .topbar { height: auto; min-height: 68px; }
  .logo { padding: 0 14px; font-size: 20px; }
  .nav a { padding: 0 10px; font-size: 9px; }
  .theme-toggle { width: 65px; }

  .hero { min-height: 470px; }
  .hero-left { padding: 38px 25px 25px; }
  .hero h1 { font-size: clamp(58px, 9vw, 90px); }
  .hero-right { padding: 125px 22px 25px; }
  .hero-art { inset: 125px 22px 25px; }

  .section { padding: 55px 25px; }
  .work-section { gap: 25px; }
  .contact-section { padding: 45px 25px; }
}

@media (max-width: 650px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
  }

  .logo {
    min-height: 62px;
    border-right: 0;
  }

  .topbar-right {
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .nav {
    flex: 1;
    justify-content: space-around;
  }

  .nav a {
    flex: 1;
    justify-content: center;
    padding: 15px 5px;
    font-size: 8px;
  }

  .theme-toggle {
    width: 65px;
    min-height: 46px;
  }

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

  .hero-left {
    min-height: 410px;
    padding: 35px 22px 25px;
    border-right: 0;
  }

  .hero h1 {
    font-size: clamp(65px, 16vw, 105px);
    padding-top: 85px;
  }

  .hero-meta {
    font-size: 8px;
    margin-top: 25px;
  }

  .hero-right {
    height: 310px;
    padding: 0;
    border-top: 1px solid var(--line);
  }

  .hero-art { inset: 0; }

  .scroll-down {
    left: auto;
    right: 20px;
    bottom: 330px;
    transform: none;
  }

  .scroll-down:hover { transform: translateY(4px); }

  .section { padding: 48px 22px; }

  .work-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .work-intro h2 { font-size: clamp(48px, 13vw, 70px); }

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

  .capability { padding: 17px 10px 18px 0; }

  .capability h3 { font-size: 18px; }

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

  .contact-section {
    padding: 42px 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section h2 { font-size: clamp(40px, 11vw, 60px); }

  .footer {
    padding: 20px 22px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .nav a { font-size: 7px; }
  .hero-left { min-height: 370px; }
  .hero h1 { font-size: 15vw; }
  .hero-meta { font-size: 7px; }
  .capability h3 { font-size: 16px; }
}

/* ACCESSIBILITY */

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

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