:root {
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --ink: #0d0d0b;
  --ink-soft: #171715;
  --charcoal: #242521;
  --paper: #f4efe0;
  --paper-soft: #e7dec8;
  --muted: #a7a193;
  --line: rgba(244, 239, 224, 0.16);
  --dark-line: rgba(13, 13, 11, 0.16);
  --acid: #c8f06a;
  --teal: #62dec6;
  --red: #ff5f57;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--acid);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(var(--max), calc(100% - 32px));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 13, 11, 0.84);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 13, 11, 0.94);
  border-color: rgba(244, 239, 224, 0.26);
  transform: translateX(-50%) translateY(-4px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 239, 224, 0.18);
  border-radius: 6px;
  object-fit: cover;
}

.brand-mark span {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 11px 13px;
  border-radius: 6px;
  color: rgba(244, 239, 224, 0.76);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(244, 239, 224, 0.1);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 239, 224, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 84svh;
  padding: 140px 0 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 224, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.12;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--teal), transparent);
}

.hero-eye {
  position: absolute;
  top: 50%;
  right: -110px;
  width: min(720px, 54vw);
  opacity: 0.36;
  transform: translate3d(var(--eye-x, 0), calc(-50% + var(--eye-y, 0)), 0);
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.65));
  transition: transform 220ms ease-out;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 320px);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.metric strong,
.founder-stats strong {
  font-family: var(--font-display);
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: 96px;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(244, 239, 224, 0.78);
  font-size: 21px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--paper);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--acid);
}

.button-secondary {
  border-color: rgba(244, 239, 224, 0.28);
  color: var(--paper);
  background: rgba(244, 239, 224, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.button-secondary.light {
  border-color: rgba(13, 13, 11, 0.25);
  color: var(--ink);
  background: rgba(13, 13, 11, 0.04);
}

.button-secondary.light:hover,
.button-secondary.light:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(13, 13, 11, 0.08);
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 23, 21, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.05;
}

.hero-panel span {
  color: rgba(244, 239, 224, 0.68);
}

.stats-strip {
  position: relative;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--dark-line);
}

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

.metric {
  min-height: 154px;
  padding: 28px 22px;
  border-left: 1px solid var(--dark-line);
}

.metric:last-child {
  border-right: 1px solid var(--dark-line);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 45px;
  line-height: 1;
  letter-spacing: 0;
}

.metric span {
  color: rgba(13, 13, 11, 0.66);
  font-weight: 800;
}

.section {
  padding: 102px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(244, 239, 224, 0.68);
  font-size: 18px;
}

.release-section {
  background: var(--ink-soft);
}

.release-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.mystery-card {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 224, 0.18);
  border-radius: 8px;
  background: #030303;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, border-color 180ms ease;
}

.mystery-card:hover {
  border-color: rgba(200, 240, 106, 0.42);
}

.mystery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.mystery-card .release-icon {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

.release-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 224, 0.06);
}

.tag {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 10px;
  border: 1px solid rgba(200, 240, 106, 0.34);
  border-radius: 6px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.release-copy p:not(.tag) {
  color: rgba(244, 239, 224, 0.7);
}

.release-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.release-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.release-list dt {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.release-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.studio-section {
  background: var(--paper);
  color: var(--ink);
}

.studio-section .eyebrow {
  color: #496a00;
}

.studio-section .section-heading p:not(.eyebrow) {
  color: rgba(13, 13, 11, 0.68);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principle-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
}

.principle-card span {
  display: inline-block;
  margin-bottom: 70px;
  color: #537300;
  font-weight: 950;
}

.principle-card h3 {
  font-size: 24px;
}

.principle-card p {
  margin-bottom: 0;
  color: rgba(13, 13, 11, 0.66);
}

.team-section {
  background: #10100f;
}

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

.founder-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 26px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.founder-card-dark {
  border-color: rgba(244, 239, 224, 0.18);
  background: #171715;
  color: var(--paper);
}

.founder-top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.founder-top p {
  margin-bottom: 8px;
  color: #5d624e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-card-dark .founder-top p {
  color: var(--muted);
}

.founder-top h3 {
  margin-bottom: 0;
  font-size: 50px;
  text-transform: uppercase;
}

.founder-top img {
  width: 98px;
  height: 98px;
  border: 1px solid currentColor;
  border-radius: 8px;
  object-fit: cover;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: currentColor;
}

.founder-stats div {
  min-height: 132px;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
}

.founder-card-dark .founder-stats div {
  background: #171715;
  color: var(--paper);
}

.founder-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
}

.founder-stats span {
  color: rgba(13, 13, 11, 0.62);
  font-weight: 800;
}

.founder-card-dark .founder-stats span {
  color: rgba(244, 239, 224, 0.62);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-2px);
  background: rgba(13, 13, 11, 0.08);
}

.founder-card-dark .social-row a:hover,
.founder-card-dark .social-row a:focus-visible {
  background: rgba(244, 239, 224, 0.1);
}

.social-row span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
}

.founder-card-dark .social-row span {
  background: var(--paper);
  color: var(--ink);
}

.timeline-section {
  background: var(--ink-soft);
}

.timeline-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.timeline-item p {
  margin-bottom: 0;
  color: rgba(244, 239, 224, 0.66);
}

.contact-section {
  padding: 96px 0;
  background: var(--paper);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}

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

.contact-copy .eyebrow {
  color: #496a00;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(13, 13, 11, 0.66);
  font-size: 18px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #080807;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: rgba(244, 239, 224, 0.58);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-eye {
    right: -180px;
    width: 680px;
    opacity: 0.26;
  }

  .hero-grid,
  .release-showcase,
  .studio-grid,
  .timeline-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 46px;
  }

  .stats-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-mark span {
    font-size: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 10px;
    right: 10px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 13, 11, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    padding: 118px 0 54px;
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 24px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-grid,
  .principles,
  .founder-stats {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
    border-right: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .mystery-card {
    min-height: 0;
  }

  .release-copy,
  .founder-card,
  .principle-card {
    padding: 20px;
  }

  .founder-card {
    min-height: auto;
  }

  .founder-top h3 {
    font-size: 40px;
  }

  .founder-top img {
    width: 74px;
    height: 74px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-panel strong {
    font-size: 26px;
  }

  .metric strong {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
