:root {
  --font-geist-sans: Arial, sans-serif;
  --font-geist-mono: ui-monospace, Consolas, monospace;
  --ink: #f5f6ff;
  --muted: #aeb4ce;
  --blue: #6f7cff;
  --violet: #a58aff;
  --night: #070914;
  --panel: #0d1020;
  --line: rgba(209, 216, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(86, 76, 214, 0.18), transparent 24rem),
    var(--night);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.035;
  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='.65'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 5;
  width: min(100% - 56px, 1400px);
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 34px;
  color: var(--muted);
  font-size: 13px;
}

.site-header nav a,
.text-link,
.room-card-cta {
  transition: color 180ms ease;
}

.site-header nav a:hover,
.text-link:hover,
.room-card:hover .room-card-cta {
  color: var(--violet);
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--night);
}

.hero {
  position: relative;
  width: min(100% - 56px, 1400px);
  min-height: 715px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 72%);
  padding: 82px 0 92px;
}

.kicker {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2c7df;
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker span {
  width: 26px;
  height: 1px;
  background: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  font-weight: 440;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

h1 em {
  color: #929bff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.intro {
  width: min(610px, 92%);
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-button {
  display: inline-flex;
  min-width: 178px;
  padding: 15px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(151, 159, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(120deg, #7781ff, #915eff);
  box-shadow: 0 16px 50px rgba(110, 86, 255, 0.2);
  color: white;
  font-size: 13px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(110, 86, 255, 0.34);
}

.text-link {
  color: #d9dcf0;
  font-size: 13px;
}

.hero-orbit {
  position: absolute;
  right: -9%;
  top: 46%;
  width: 580px;
  height: 580px;
  transform: translateY(-50%);
}

.orbit,
.orbit-core {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  inset: 0;
  border: 1px solid rgba(140, 148, 255, 0.2);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c1c5ff;
  box-shadow: 0 0 20px #828aff;
}

.orbit::before {
  top: 18%;
  left: 14%;
}

.orbit::after {
  right: 10%;
  bottom: 26%;
}

.orbit-one {
  animation: spin 22s linear infinite;
}

.orbit-two {
  inset: 80px;
  border-color: rgba(184, 151, 255, 0.18);
  animation: spin 17s linear reverse infinite;
}

.orbit-core {
  inset: 155px;
  background:
    radial-gradient(circle at 35% 28%, rgba(218, 208, 255, 0.96), transparent 9%),
    radial-gradient(circle at 42% 38%, #737cf1 0, #353264 44%, #101222 73%);
  box-shadow:
    0 0 70px rgba(111, 124, 255, 0.36),
    inset -28px -32px 48px rgba(5, 6, 18, 0.72);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 20px;
  align-items: center;
  color: #767d99;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-index b {
  margin-left: 8px;
  color: #bfc4dc;
  font-weight: 400;
}

.house-section {
  padding: 112px max(28px, calc((100vw - 1400px) / 2));
  background: #f1f1f7;
  color: #111321;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px 80px;
  margin-bottom: 62px;
  align-items: end;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #666b83;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4vw, 5.1rem);
  font-weight: 470;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 490px;
  margin: 0;
  color: #686c7d;
  font-size: 15px;
  line-height: 1.75;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d4d5df;
  background: #d4d5df;
}

.room-card {
  min-height: 440px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f7f7fb;
  transition: background 220ms ease, transform 220ms ease;
}

.room-card:hover {
  position: relative;
  z-index: 1;
  background: white;
  transform: translateY(-4px);
}

.room-topline {
  display: flex;
  justify-content: space-between;
  color: #767b90;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-card h3 {
  margin-bottom: 18px;
  font-size: 31px;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.room-card p {
  color: #666a79;
  font-size: 14px;
  line-height: 1.7;
}

.room-card ul {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid #dedfe7;
  border-bottom: 1px solid #dedfe7;
  list-style: none;
  color: #494d60;
  font-size: 12px;
  line-height: 2;
}

.room-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--blue);
}

.room-card-cta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 580;
}

.work-section {
  padding: 116px max(28px, calc((100vw - 1400px) / 2)) 0;
  background: var(--night);
  color: var(--ink);
}

.work-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: start;
}

.work-intro h2 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.1vw, 6.2rem);
  font-weight: 440;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.work-intro > div > p {
  max-width: 580px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.venture-card {
  min-height: 530px;
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0c0f1c;
}

.venture-visual {
  position: relative;
  height: 285px;
  margin: -1px -9px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, transparent 15%, rgba(149, 125, 255, 0.18)),
    #121527;
}

.venture-visual span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.venture-visual i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%) rotate(24deg);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 40% 60% 52% 48%;
  box-shadow:
    0 0 0 24px rgba(126, 135, 255, 0.06),
    0 0 0 56px rgba(126, 135, 255, 0.035);
}

.venture-visual i::before,
.venture-visual i::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.venture-visual i::after {
  inset: 48px;
  background: rgba(178, 167, 255, 0.7);
  border: 0;
  box-shadow: 0 0 38px rgba(150, 137, 255, 0.75);
}

.cape .venture-visual {
  background:
    linear-gradient(140deg, transparent 10%, rgba(59, 155, 224, 0.16)),
    #0d1826;
}

.cape .venture-visual i {
  width: 184px;
  height: 112px;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.grolls .venture-visual {
  background:
    linear-gradient(140deg, transparent 10%, rgba(211, 132, 201, 0.16)),
    #1a1121;
}

.grolls .venture-visual i {
  width: 116px;
  height: 176px;
  border-radius: 3px 22px 22px 3px;
  transform: translate(-50%, -50%) rotate(9deg);
}

.venture-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
  color: #8188a4;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.venture-meta span:last-child {
  text-align: right;
}

.venture-card h3 {
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.venture-card > p:not(.venture-meta) {
  margin: 0;
  color: #a6acc3;
  font-size: 13px;
  line-height: 1.72;
}

.manifesto {
  padding: 160px 0;
  text-align: center;
}

.manifesto > p {
  margin-bottom: 16px;
  color: #7f849e;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto h2 {
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 5.8vw, 7rem);
  font-weight: 430;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.manifesto h2 em {
  color: #9099ff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.manifesto .manifesto-end {
  margin-bottom: 0;
  color: #c7cada;
}

.contact-panel {
  min-height: 455px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: end;
  border: 1px solid rgba(169, 157, 255, 0.2);
  background:
    radial-gradient(circle at 82% 18%, rgba(134, 106, 255, 0.33), transparent 26rem),
    linear-gradient(120deg, #11152c, #17112c);
}

.contact-panel h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
  font-weight: 440;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.contact-side {
  max-width: 390px;
  justify-self: end;
}

.contact-side p {
  color: #c0c4d8;
  font-size: 14px;
  line-height: 1.7;
}



footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  color: #737a95;
  font-size: 11px;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .orbit {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 36px, 1400px);
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-row: 2;
    grid-column: 1 / -1;
    gap: 20px;
    padding-bottom: 12px;
  }

  .site-header {
    height: auto;
    min-height: 90px;
    row-gap: 10px;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    width: min(100% - 36px, 1400px);
    min-height: 720px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    padding-top: 90px;
  }

  .hero-orbit {
    right: -260px;
    top: 47%;
    opacity: 0.62;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .room-card {
    min-height: 390px;
  }

  .work-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .venture-card {
    min-height: 500px;
  }

  .contact-panel {
    padding: 44px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-side {
    justify-self: start;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 560px) {

  .header-cta {
    padding: 10px 14px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    padding-top: 74px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .intro {
    font-size: 15px;
  }

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

  .hero-index {
    display: none;
  }

  .house-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .work-section {
    padding-top: 84px;
  }

  .venture-card {
    min-height: 460px;
  }

  .manifesto {
    padding: 112px 0;
  }

  .contact-panel {
    min-height: 490px;
    padding: 34px 26px;
  }

  footer {
    min-height: 110px;
  }
}


:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.service-intro { margin-top: -22px; }
.services-section { padding-top: 0; }
.service-card { min-height: 310px; gap: 18px; }
.service-card h3, .service-card p { margin-bottom: 0; }
.venture-card { min-height: auto; }
.card-link { align-self: flex-start; margin: auto 0 0; padding-top: 24px; text-decoration: underline; text-underline-offset: .24em; }
.product-mark { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); }
.about-panel { padding: 0 0 48px; max-width: 660px; }
.about-panel h2, .product-features h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.about-panel p { line-height: 1.75; color: var(--muted); }
.contact-panel { align-items: start; gap: 36px 70px; }
.contact-side { justify-self: start; }
.contact-side address { font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
.contact-side a, .contact-panel noscript a { text-decoration: underline; }
.contact-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group:has(textarea), .form-privacy-note, .form-status { grid-column: 1 / -1; }
.contact-form label { font-size: 14px; }
.contact-form input, .contact-form textarea { min-width: 0; padding: 12px; color: var(--ink); background: var(--night); border: 1px solid #707697; border-radius: 4px; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form .primary-button { justify-self: start; font-family: inherit; cursor: pointer; }
.contact-form .primary-button:disabled { opacity: .65; cursor: wait; }
.honeypot { position: absolute; left: -10000px; }
.form-privacy-note { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.form-status { margin: 0; }
.form-status:empty { position: absolute; }
.form-status.error { color: #ffc3c7; }
.form-status.success { color: #b5f4d3; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink); }
.social-links a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.social-links a:hover { border-color: var(--violet); }
.page-shell { width: min(100% - 56px, 1400px); margin-inline: auto; }
.page-shell .site-header { width: 100%; }
.inner-page { padding: clamp(54px, 8vw, 112px) 0 52px; }
.inner-page h1 { max-width: 1000px; font-size: clamp(3rem, 7vw, 6.4rem); }
.book-grid, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-card h2 { font-size: 1.55rem; }
.book-cover { width: 100%; height: 230px; object-fit: contain; margin: 0 0 18px; background: var(--night); }
.product-intro { display: grid; align-items: center; gap: 26px; grid-template-columns: 2fr 1fr; }
.product-art { display: grid; place-items: center; min-height: 250px; background: radial-gradient(circle, #363460, var(--night) 72%); }
.product-features { margin-top: 72px; }

@media (max-width: 900px) {
  .book-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding-block: 30px; }
  .site-footer p:last-child { justify-self: start; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 36px, 1400px); }
  .book-grid, .feature-grid, .product-intro, .contact-form { grid-template-columns: 1fr; }
  .wordmark { gap: 6px; font-size: 10px; }
  .product-art { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.project-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-screenshots img { display: block; max-width: 100%; height: auto; margin-inline: auto; border: 1px solid var(--line); }

.project-visual { display: grid; place-items: center; padding: clamp(16px, 3vw, 36px); }
.project-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 190px; object-fit: contain; }
.work-portfolio-action { margin-top: 24px; }
.project-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: auto; padding-top: 24px; }
.project-links .text-link { text-decoration: underline; text-underline-offset: .24em; }
.project-links .card-link { padding-top: 0; }
