:root {
  --bg: #090a0f;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(18, 20, 30, 0.8);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f1ea;
  --muted: #b7b0a5;
  --gold: #c7a66a;
  --gold-strong: #ebc07b;
  --accent: #7d6bff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --max: 1200px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 107, 255, 0.16), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(199, 166, 106, 0.14), transparent 25%),
    linear-gradient(180deg, #0a0a0f 0%, #0d1018 52%, #090a0f 100%);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(235, 192, 123, 0.22), rgba(125, 107, 255, 0.24));
  border: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.pill-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pill-link {
  padding: 0.8rem 1.1rem;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.24rem auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  min-height: calc(100svh - 5.5rem);
  align-items: center;
  padding-top: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold-strong);
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  max-width: 11ch;
}

.hero h1 span {
  color: var(--gold-strong);
}

.hero-lede,
.section-heading p,
.about-copy p,
.contact-copy p,
.demo-card p,
.value-card p,
.studio-card strong,
.faq-item p,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  font-size: 1.05rem;
  max-width: 58ch;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.4rem;
}

.btn {
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn:hover,
.btn:focus-visible,
.pill-link:hover,
.pill-link:focus-visible {
  transform: translateY(-1px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #17120d;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card,
.demo-card,
.value-card,
.studio-card,
.about-panel,
.contact-form,
.faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  padding: 1.4rem;
}

.hero-quote {
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-quote .label,
.studio-card span,
.about-stack span {
  color: var(--gold-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-quote p:last-child {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-stats strong,
.about-stack strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
}

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ticker {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  animation: ticker 36s linear infinite;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

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

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-bottom: 1rem;
}

.demo-grid,
.value-grid,
.studio-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

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

.demo-card,
.value-card,
.studio-card {
  padding: 1.4rem;
}

.demo-card h3,
.value-card h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.2rem;
}

.demo-number {
  color: var(--gold-strong);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.demo-card-accent {
  background: linear-gradient(180deg, rgba(125, 107, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}

.split-section .value-grid,
.studio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--text);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.25rem;
  align-items: start;
}

.about-panel {
  padding: 1.5rem;
  min-height: 100%;
}

.about-stack {
  display: grid;
  gap: 1.5rem;
}

.faq-list {
  max-width: 52rem;
}

.faq-item {
  padding: 1.1rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-strong);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.85rem 0 0;
}

.contact-form {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(6, 8, 13, 0.84);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8d867d;
}

.contact-points {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.3rem;
}

.contact-points a {
  color: var(--gold-strong);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.footer-title {
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

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

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

.reveal-delay {
  transition-delay: 100ms;
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 960px) {
  .hero,
  .about-section,
  .contact-section,
  .demo-grid,
  .split-section .value-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 5rem 1rem auto 1rem;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(8, 10, 16, 0.96);
    border: 1px solid var(--line);
    border-radius: 26px;
    transform: translateY(-0.8rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
  }
}

@media (max-width: 720px) {
  .section {
    width: min(calc(100% - 1.15rem), var(--max));
    padding: 4.25rem 0;
  }

  .topbar {
    width: min(calc(100% - 1.15rem), var(--max));
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(2.85rem, 12vw, 4.5rem);
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .site-footer,
  .footer-links {
    align-items: stretch;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn,
  .pill-link {
    width: 100%;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .hero-meta li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-quote p:last-child {
    font-size: 1.1rem;
  }
}

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

  .ticker,
  .reveal,
  .reveal-delay,
  .reveal-delay-1,
  .reveal-delay-2 {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
