:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-soft: #0d0d10;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f5f2;
  --muted: #c3bdb7;
  --soft: #918b85;
  --accent: #f0efe8;
  --pink: #ff4f8b;
  --violet: #7c5cff;
  --green: #95d866;
  --cyan: #1cd6c9;
  --warm: #ffb86b;
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.09), transparent 27rem),
    radial-gradient(circle at 92% 12%, rgba(255, 79, 139, 0.18), transparent 26rem),
    radial-gradient(circle at 78% 72%, rgba(149, 216, 102, 0.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(255, 79, 139, 0.95), rgba(124, 92, 255, 0.8) 54%, rgba(28, 214, 201, 0.75));
  color: white;
  font-size: 12px;
  letter-spacing: 0;
  box-shadow: 0 12px 32px rgba(255, 79, 139, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.section-pad {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 150px;
}

.hero-bg {
  position: absolute;
  inset: 110px -16px 56px;
  z-index: -1;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 18% 52%, rgba(255, 255, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 82% 42%, rgba(255, 79, 139, 0.14), transparent 18rem),
    linear-gradient(140deg, #09090a 0%, #050506 48%, #111015 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, 0.06), transparent 38%),
    repeating-linear-gradient(120deg, transparent 0 42px, rgba(255, 255, 255, 0.025) 43px 44px);
  transform: rotate(-8deg);
  opacity: 0.45;
}

.hero-grid,
.split-section,
.case-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 48px;
  align-items: end;
}

.eyebrow,
.case-kicker,
.project-type {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(58px, 11vw, 150px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy,
.case-lede {
  max-width: 680px;
  color: #ded9d3;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 38px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 28px;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #070707;
  background: var(--accent);
  border-color: var(--accent);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.status-panel,
.service-card,
.step-card,
.contact-panel,
.breakdown-card,
.lab-card,
.fact-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.status-panel {
  padding: 24px;
}

.hero-feature {
  position: relative;
  min-height: 560px;
  align-self: stretch;
}

.feature-orbit {
  position: absolute;
  inset: 46px 34px 92px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.11), transparent 34%),
    radial-gradient(circle at 60% 55%, rgba(255, 79, 139, 0.24), transparent 42%);
  filter: blur(0.2px);
}

.hero-phone {
  position: absolute;
  width: 46%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.hero-phone.one {
  top: 34px;
  left: 14%;
  transform: rotate(-6deg);
}

.hero-phone.two {
  right: 0;
  bottom: 126px;
  width: 58%;
  max-height: 300px;
  object-position: top;
  transform: rotate(4deg);
}

.hero-feature .status-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 360px);
  background: rgba(15, 15, 18, 0.72);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #66dc7e;
  box-shadow: 0 0 18px rgba(102, 220, 126, 0.7);
}

.status-panel p {
  margin: 12px 0 8px;
}

.status-panel strong {
  display: block;
  line-height: 1.4;
}

.mini-tags,
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mini-tags span,
.skill-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

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

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.ticker div {
  width: min(calc(100% - 32px), var(--max));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
}

.ticker span {
  white-space: nowrap;
}

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

.project-card {
  display: grid;
  gap: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card div {
  padding: 0 10px 12px;
}

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

.lab-card {
  min-height: 250px;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 79, 139, 0.12), transparent 12rem),
    var(--panel);
}

.lab-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.about-copy {
  align-self: center;
}

.about-copy p {
  font-size: 18px;
}

.steps,
.service-grid,
.insight-grid,
.planto-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid,
.insight-grid,
.planto-breakdown {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-card,
.service-card,
.breakdown-card,
.lab-card {
  min-height: 220px;
  padding: 24px;
}

.step-card span,
.breakdown-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--soft);
  font-size: 38px;
  font-weight: 600;
}

.contact-panel {
  padding: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 18rem),
    var(--panel);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.case-hero {
  padding-top: 170px;
}

.case-hero h1 {
  margin-bottom: 16px;
}

.case-visual {
  width: 100%;
  max-height: 760px;
  margin-top: 48px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.case-visual-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}

.case-visual-grid .case-visual {
  height: 100%;
  max-height: none;
  margin-top: 0;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.case-visual-grid .tall {
  aspect-ratio: 0.55;
  object-fit: cover;
}

.case-visual-grid .wide {
  aspect-ratio: 1.5;
  object-fit: cover;
}

.planto-hero .case-visual {
  max-height: 980px;
  object-position: top center;
}

.fact-grid {
  display: grid;
  gap: 14px;
}

.fact-grid > div {
  padding: 18px;
}

.fact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-grid strong {
  line-height: 1.4;
}

.case-copy {
  align-self: start;
}

.case-copy p {
  font-size: 18px;
}

.vyybee-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-panel {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 79, 139, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.26);
}

.gallery-panel.large {
  grid-row: span 2;
}

.gallery-panel img {
  width: 100%;
  height: calc(100% - 48px);
  min-height: 280px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-panel figcaption {
  min-height: 36px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.phone-frame {
  min-height: 570px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 48px;
  background: #17121d;
}

.phone-screen {
  height: 100%;
  min-height: 538px;
  padding: 28px;
  border-radius: 34px;
  background: #0d0b10;
  overflow: hidden;
}

.screen-label {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-gradient,
.match-orbit {
  height: 230px;
  margin-bottom: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

.match-orbit {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 8%, var(--pink) 9% 34%, var(--violet) 35% 100%);
}

.bubble {
  width: 76%;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: var(--panel-strong);
}

.bubble.right {
  margin-left: auto;
  background: var(--pink);
}

.bubble.short {
  width: 54%;
}

.vyybee-theme {
  position: relative;
}

.vyybee-theme::before {
  content: "";
  position: absolute;
  inset: 70px -24px;
  z-index: -1;
  border-radius: 8px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 79, 139, 0.22), transparent 24rem), radial-gradient(circle at 90% 65%, rgba(124, 92, 255, 0.2), transparent 26rem);
}

.planto-breakdown .breakdown-card {
  background:
    radial-gradient(circle at 80% 0%, rgba(149, 216, 102, 0.13), transparent 12rem),
    var(--panel);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    top: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 5, 6, 0.95);
  }

  .nav-open .site-nav {
    display: flex;
  }

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

  .hero-grid,
  .split-section,
  .case-overview,
  .project-grid,
  .case-showcase,
  .case-visual-grid,
  .vyybee-gallery {
    grid-template-columns: 1fr;
  }

  .steps,
  .service-grid,
  .insight-grid,
  .planto-breakdown,
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-feature {
    min-height: 640px;
  }

  .ticker div {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
}

@media (max-width: 620px) {
  .section-pad {
    width: min(calc(100% - 24px), var(--max));
    padding: 76px 0;
  }

  .hero {
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .hero-copy,
  .case-lede,
  .case-copy p,
  .about-copy p {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .steps,
  .service-grid,
  .insight-grid,
  .planto-breakdown,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    min-height: 520px;
  }

  .hero-phone.one {
    left: 2%;
    width: 50%;
  }

  .hero-phone.two {
    width: 64%;
    bottom: 118px;
  }

  .case-visual-grid .wide {
    order: -1;
  }

  .case-visual-grid .tall {
    max-height: 620px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .phone-frame {
    min-height: 520px;
  }

  .phone-screen {
    min-height: 488px;
  }
}
