:root {
  --bg: #101114;
  --bg-soft: #15171c;
  --card: #1a1c22;
  --card-hover: #20232a;
  --white: #f4f2ed;
  --text: #dedbd5;
  --muted: #8d919b;
  --dark-muted: #5f636b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.17);
  --purple: #a855f7;
  --blue: #3b82f6;
  --gradient: linear-gradient(110deg,#a855f7,#3b82f6);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 52px),var(--max));
  margin: 0 auto;
}

header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 52px),var(--max));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-desktop {
  height: 40px;
  width: auto;
}

.logo-mobile {
  display: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 38px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: .9rem;
  transition: color .2s;
}

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

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width .2s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-contact {
  padding: 9px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--white);
  font-family: "IBM Plex Mono",monospace;
  font-size: .72rem;
  transition: .25s;
}

.header-contact:hover {
  border-color: var(--purple);
  background: rgba(168,85,247,.1);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 5px;
  background: var(--white);
  transition: .25s;
}

.menu-button span:first-child {
  top: 16px;
}

.menu-button span:last-child {
  top: 23px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 70% 35%,rgba(168,85,247,.09),transparent 30%),var(--bg);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom,#000,transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-one {
  width: 700px;
  height: 700px;
  top: -280px;
  right: -250px;
  background: radial-gradient(circle,rgba(168,85,247,.22),transparent 68%);
}

.glow-two {
  width: 500px;
  height: 500px;
  left: -280px;
  bottom: -320px;
  background: radial-gradient(circle,rgba(59,130,246,.12),transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: var(--muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .68rem;
  letter-spacing: .1em;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 15px rgba(59,130,246,.8);
}

.hero h1 {
  font-family: Sora,sans-serif;
  font-size: clamp(4.5rem,11vw,9.5rem);
  line-height: .88;
  letter-spacing: -.08em;
  font-weight: 800;
  color: var(--white);
}

.hero h1 strong {
  display: block;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content > p {
  max-width: 570px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-family: "IBM Plex Mono",monospace;
  font-size: .74rem;
  transition: .25s;
}

.button b {
  font-size: 1rem;
}

.button.primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 35px rgba(168,85,247,.18);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(168,85,247,.28);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.button.secondary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.06);
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--line);
}

.hero-bottom {
  padding: 17px 0;
  color: var(--dark-muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .61rem;
  letter-spacing: .08em;
}

.hero-bottom {
  display: flex;
  justify-content: center;
}

.hero-bottom::before {
  content: "";
}

.hero-bottom > * {
  position: absolute;
}

.hero-bottom > span:first-child {
  left: max(26px,calc((100% - var(--max)) / 2));
}

.hero-bottom .scroll {
  right: max(26px,calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 14px;
}

.scroll i {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--dark-muted);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 50px;
  color: var(--muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .67rem;
  letter-spacing: .1em;
}

.section-label span {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(168,85,247,.7);
}

.section-label.light span {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(59,130,246,.7);
}

.section-label.light {
  color: rgba(255,255,255,.48);
}

.about,
.work,
.news,
.contact {
  padding: 125px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 100px;
}

.about h2,
.work-heading h2,
.news-heading h2,
.contact h2 {
  font-family: Sora,sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.about h2 {
  font-size: clamp(3rem,6vw,5.5rem);
}

.about h2 strong,
.work-heading h2 strong,
.news-heading h2 strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-text {
  max-width: 540px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 22px;
}

.about-text .large {
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.55;
}

.mystery {
  padding-bottom: 125px;
}

.mystery-box {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #131419;
}

.mystery-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%,rgba(168,85,247,.25),transparent 30%),
    radial-gradient(circle at 20% 80%,rgba(59,130,246,.13),transparent 28%);
}

.mystery-bg::after {
  content: "";
  position: absolute;
  inset: -50%;
  opacity: .3;
  background: repeating-linear-gradient(45deg,transparent 0,transparent 28px,rgba(255,255,255,.04) 29px,transparent 30px);
  transform: rotate(-10deg);
}

.mystery-content {
  position: relative;
  z-index: 2;
  min-height: 550px;
  padding: 52px;
  display: flex;
  flex-direction: column;
}

.mystery-main {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  margin: auto 0;
}

.classified {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "IBM Plex Mono",monospace;
  font-size: .65rem;
  letter-spacing: .1em;
}

.mystery-main h2 {
  font-family: Sora,sans-serif;
  font-size: clamp(3rem,6vw,6rem);
  line-height: .95;
  letter-spacing: -.065em;
  color: var(--white);
}

.mystery-main h2 strong {
  display: block;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mystery-text {
  max-width: 320px;
  color: var(--muted);
}

.mystery-text p {
  margin-bottom: 18px;
}

.mystery-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dark-muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .62rem;
}

.work {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-heading,
.news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.work-heading h2,
.news-heading h2 {
  font-size: clamp(3rem,6vw,5.5rem);
}

.work-heading p {
  max-width: 340px;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: .3s;
}

.work-card.tall {
  min-height: 676px;
  grid-row: span 2;
}

.work-card:last-child {
  grid-column: 1 / -1;
}

.work-card:hover {
  transform: translateY(-7px);
  background: var(--card-hover);
  border-color: rgba(168,85,247,.35);
}

.work-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -130px;
  bottom: -130px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(168,85,247,.13),transparent 70%);
  transition: transform .4s;
}

.work-card:hover::after {
  transform: scale(1.5);
}

.number {
  color: var(--dark-muted);
  font-size: .68rem;
}

.work-icon {
  margin-top: 60px;
  color: var(--purple);
  font-family: Sora,sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.work-card > div:last-of-type {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.work-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-family: Sora,sans-serif;
  font-size: 1.65rem;
  letter-spacing: -.03em;
}

.work-card p {
  max-width: 420px;
  color: var(--muted);
}

.arrow {
  position: absolute;
  top: 31px;
  right: 34px;
  color: var(--muted);
  font-size: 1.3rem;
  transition: .25s;
}

.work-card:hover .arrow {
  color: var(--white);
  transform: translate(3px,-3px);
}

.news {
  background: var(--bg);
}

.news-heading h2 {
  font-size: clamp(3rem,6vw,5.5rem);
}

.text-link {
  color: var(--muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .7rem;
  transition: color .2s;
}

.text-link:hover {
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  align-items: start;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.news-visual {
  position: relative;
  height: 380px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%,rgba(59,130,246,.5),transparent 30%),
    radial-gradient(circle at 75% 65%,rgba(168,85,247,.45),transparent 35%),
    #17151c;
}

.news-visual::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(45deg,transparent 0,transparent 28px,rgba(255,255,255,.025) 29px,transparent 30px);
  transform: rotate(-10deg);
}

.news-visual span {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 25px;
  color: rgba(255,255,255,.55);
  font-family: "IBM Plex Mono",monospace;
  font-size: .6rem;
}

.news-visual strong {
  position: absolute;
  right: 7%;
  bottom: -25px;
  color: rgba(255,255,255,.06);
  font-family: Sora,sans-serif;
  font-size: 18rem;
  line-height: .75;
}

.news-placeholder {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .65rem;
  letter-spacing: .1em;
  background: repeating-linear-gradient(135deg,#17191e,#17191e 20px,#1a1c22 20px,#1a1c22 40px);
}

.news-info {
  padding: 30px;
}

.meta {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--dark-muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .62rem;
  letter-spacing: .08em;
}

.news-info h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: Sora,sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.news-info p {
  color: var(--muted);
}

.read {
  display: inline-block;
  margin-top: 25px;
  color: var(--white);
  font-family: "IBM Plex Mono",monospace;
  font-size: .7rem;
}

.media {
  padding-bottom: 125px;
}

.media-box {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111217;
}

.media-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 60px;
}

.media-content h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-family: Sora,sans-serif;
  font-size: clamp(3rem,5vw,5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.media-content h2 strong {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.media-content p {
  max-width: 500px;
  color: var(--muted);
}

.media-content .button {
  margin-top: 30px;
}

.media-mark {
  position: absolute;
  z-index: 2;
  right: 70px;
  color: rgba(255,255,255,.05);
  font-family: Sora,sans-serif;
  font-size: 20rem;
  font-weight: 800;
  line-height: 1;
}

.orbit {
  position: absolute;
  right: 30px;
  border: 1px solid rgba(168,85,247,.2);
  border-radius: 50%;
}

.orbit-a {
  width: 430px;
  height: 430px;
}

.orbit-b {
  width: 620px;
  height: 620px;
  right: -70px;
}

.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.contact h2 {
  margin-bottom: 25px;
  font-size: clamp(3rem,6vw,5.5rem);
}

.contact-grid > div:first-child p {
  max-width: 480px;
  color: var(--muted);
}

.contact-details {
  padding-bottom: 8px;
}

.email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: "IBM Plex Mono",monospace;
  transition: color .2s;
}

.email:hover {
  color: var(--blue);
}

.email span {
  font-size: 1.3rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding-top: 22px;
}

.socials a {
  color: var(--muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .7rem;
  transition: color .2s;
}

.socials a:hover {
  color: var(--white);
}

footer {
  padding: 55px 0 30px;
  background: #08090b;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 45px;
}

.footer-top img {
  height: 42px;
  width: auto;
}

.footer-top span {
  color: var(--dark-muted);
  font-size: .8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--dark-muted);
  font-family: "IBM Plex Mono",monospace;
  font-size: .62rem;
}

.footer-bottom div {
  display: flex;
  gap: 25px;
}

.footer-bottom a {
  transition: color .2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .desktop-nav {
    gap: 20px;
    margin-right: 25px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .mystery-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .work-card.tall {
    min-height: 450px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .media-mark {
    right: -80px;
    opacity: .5;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 34px);
  }

  .header-inner {
    width: calc(100% - 34px);
    height: 68px;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100svh - 68px);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    background: rgba(10,11,14,.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease,visibility .3s ease;
  }

  .mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav > a:not(.mobile-contact) {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: Sora,sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
  }

  .mobile-contact {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 999px;
    text-align: center;
    color: #fff;
    font-family: "IBM Plex Mono",monospace;
    font-size: .72rem;
    background: var(--gradient);
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .eyebrow {
    font-size: .58rem;
  }

  .hero h1 {
    font-size: clamp(4rem,18vw,6rem);
  }

  .hero-content > p {
    margin-top: 28px;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-bottom {
    font-size: .55rem;
  }

  .hero-bottom > span:first-child {
    left: 17px;
  }

  .hero-bottom .scroll {
    display: none;
  }

  .about,
  .work,
  .news,
  .contact {
    padding: 85px 0;
  }

  .section-label {
    margin-bottom: 35px;
  }

  .about h2,
  .work-heading h2,
  .news-heading h2,
  .contact h2 {
    font-size: clamp(2.8rem,13vw,4.4rem);
  }

  .about-text .large {
    font-size: 1.15rem;
  }

  .mystery {
    padding-bottom: 85px;
  }

  .mystery-box {
    min-height: 590px;
  }

  .mystery-content {
    min-height: 590px;
    padding: 30px 25px;
  }

  .mystery-main {
    margin: auto 0;
  }

  .mystery-main h2 {
    font-size: clamp(2.7rem,13vw,4.5rem);
  }

  .mystery-footer {
    flex-direction: column;
    gap: 10px;
  }

  .work-heading,
  .news-heading {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

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

  .work-card,
  .work-card.tall {
    min-height: 350px;
    grid-row: auto;
  }

  .work-card:last-child {
    grid-column: auto;
  }

  .work-icon {
    margin-top: 45px;
  }

  .news-visual {
    height: 270px;
  }

  .news-visual strong {
    font-size: 11rem;
  }

  .news-placeholder {
    height: 190px;
  }

  .media {
    padding-bottom: 85px;
  }

  .media-box {
    min-height: 560px;
    align-items: flex-start;
  }

  .media-content {
    padding: 35px 25px;
  }

  .media-content h2 {
    font-size: clamp(2.8rem,13vw,4.5rem);
  }

  .media-mark {
    right: -80px;
    bottom: -20px;
    font-size: 12rem;
  }

  .orbit-a {
    width: 280px;
    height: 280px;
  }

  .orbit-b {
    width: 400px;
    height: 400px;
    right: -80px;
  }

  .contact-grid {
    gap: 50px;
  }

  .email {
    font-size: .8rem;
    word-break: break-word;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 15px 22px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 3.7rem;
  }

  .mystery-main h2 {
    font-size: 2.6rem;
  }

  .work-heading h2,
  .news-heading h2,
  .media-content h2,
  .contact h2 {
    font-size: 2.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}