:root {
  --navy: #070b1c;
  --indigo: #1a1448;
  --plum: #4a1d4a;
  --rose: #c9899b;
  --rose-soft: #e7b7c4;
  --ink: #f4f0f7;
  --muted: rgba(244, 240, 247, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --max: 1120px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(201, 137, 155, 0.28), transparent 55%),
    radial-gradient(780px 480px at 88% 12%, rgba(88, 70, 180, 0.35), transparent 50%),
    radial-gradient(700px 540px at 50% 85%, rgba(122, 42, 110, 0.28), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--indigo) 42%, var(--plum) 78%, #2a1430 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(231, 183, 196, 0.18);
  box-shadow:
    0 0 60px rgba(201, 137, 155, 0.12),
    inset 0 0 40px rgba(120, 90, 200, 0.08);
}

body::before {
  width: min(70vw, 540px);
  height: min(70vw, 540px);
  top: -12%;
  right: -8%;
}

body::after {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  bottom: 8%;
  left: -10%;
  opacity: 0.7;
}

a {
  color: var(--rose-soft);
  text-underline-offset: 0.16em;
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 28, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  overflow: hidden;
  border-radius: 0.65rem;
  box-shadow: 0 0 20px rgba(192, 121, 178, 0.2);
}

.brand-mark img {
  display: block;
  width: 153%;
  height: 153%;
  max-width: none;
  object-fit: cover;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-panel {
  display: none;
  position: absolute;
  inset: calc(100% + 0.5rem) 1rem auto;
  padding: 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(12, 14, 36, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.nav-panel.is-open {
  display: grid;
  gap: 0.35rem;
}

.nav-panel a,
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-panel a {
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
}

.nav-panel a:hover,
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-soft);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, #e7b7c4 0%, #c9899b 45%, #9b6fd4 100%);
  color: #160f24;
}

.button-primary:hover {
  transform: translateY(-1px);
  color: #100a1c;
}

.button-ghost {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink);
}

.button-ghost:hover {
  border-color: rgba(231, 183, 196, 0.45);
  color: #fff;
}

.hero-stage {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.luminous-ring {
  position: absolute;
  width: min(78%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(231, 183, 196, 0.28);
  box-shadow:
    0 0 80px rgba(155, 111, 212, 0.22),
    inset 0 0 50px rgba(201, 137, 155, 0.12);
  animation: drift 12s ease-in-out infinite;
}

.luminous-ring--soft {
  width: min(96%, 420px);
  opacity: 0.55;
  animation-delay: -4s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.phone-cluster {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transform: translateY(0.5rem);
}

.phone {
  width: min(42vw, 170px);
}

.phone:nth-child(2) {
  transform: translateY(1.4rem) scale(0.94);
  opacity: 0.92;
}

.phone-bezel {
  position: relative;
  border-radius: 1.55rem;
  padding: 0.45rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone-notch {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 38%;
  height: 0.55rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.phone-screen,
.phone-screen--empty {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 1.2rem;
  object-fit: contain;
  object-position: center top;
  background: #05070f;
}

.work-card .phone {
  width: min(46%, 190px);
}

.work-card .phone-row {
  justify-content: center;
}

.section {
  padding: 4rem 0;
}

.section-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.section-body {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.glass {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.vision-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.work-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.work-card,
.work-empty {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.work-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.work-heading h3,
.work-empty h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.work-summary,
.work-empty p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.work-platforms {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(231, 183, 196, 0.9);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 183, 196, 0.35);
  background: rgba(201, 137, 155, 0.12);
  color: var(--rose-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.store-btn:hover {
  border-color: rgba(231, 183, 196, 0.5);
  color: #fff;
}

.connect-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.connect-card {
  padding: 1.35rem 1.4rem;
}

.connect-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.connect-card p {
  margin: 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.social-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, var(--rose-soft), #9b6fd4);
  display: inline-block;
}

.social-icon[data-icon='x'] {
  border-radius: 999px;
}

.social-icon[data-icon='in'] {
  border-radius: 0.2rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  color: var(--rose-soft);
  text-decoration: none;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #fff;
}

.page {
  padding: 3rem 0 4rem;
}

.page h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
}

.page .updated,
.page p,
.page li {
  color: var(--muted);
}

.page h2 {
  margin: 1.7rem 0 0.55rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--rose-soft);
  text-decoration: none;
  font-weight: 700;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: 6rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .work-card,
  .work-empty {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .work-card .phone {
    width: 180px;
  }

  .work-card:nth-child(even) .work-copy {
    order: 2;
  }

  .work-card:nth-child(even) .phone-row {
    order: 1;
  }

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

  .phone {
    width: 180px;
  }
}
