:root {
  --purple: #9b5cff;
  --purple-light: #d6b8ff;
  --pink: #f17fd8;
  --progress: 0;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

.font-serif {
  font-family: "Cormorant Garamond", serif;
}

.ambient {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  transition: transform 2s var(--ease), opacity 1.5s ease;
}

.ambient-one {
  left: -30vw;
  top: -30vw;
  background: radial-gradient(circle, rgba(142,69,255,.18), transparent 68%);
  transform: translate(calc(var(--progress) * 25vw), calc(var(--progress) * 30vh));
}

.ambient-two {
  right: -30vw;
  bottom: -30vw;
  background: radial-gradient(circle, rgba(243,91,215,.14), transparent 68%);
  transform: translate(calc(var(--progress) * -30vw), calc(var(--progress) * -20vh));
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 8px white;
  opacity: .4;
  animation: starPulse var(--duration) infinite ease-in-out;
}

@keyframes starPulse {
  0%, 100% { opacity: .1; transform: scale(.5); }
  50% { opacity: .9; transform: scale(1.8); }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, white, var(--purple-light) 45%, transparent 70%);
  box-shadow: 0 0 15px var(--purple);
  opacity: .5;
  transition: transform 1.5s var(--ease), opacity 1s ease;
}

.progress {
  position: fixed;
  z-index: 100;
  right: 38px;
  top: 50%;
  width: 1px;
  height: 140px;
  background: rgba(255,255,255,.12);
  transform: translateY(-50%);
}

.progress::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 5px;
  height: calc(var(--progress) * 100%);
  background: linear-gradient(to bottom, var(--purple), var(--pink));
  box-shadow: 0 0 15px var(--purple), 0 0 35px var(--purple);
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 50px, 0) scale(.96);
  transition: opacity .8s ease, transform 1.3s var(--ease), visibility .8s;
}

.section.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.content {
  position: relative;
  width: min(1200px, 100%);
  z-index: 10;
}

.hero {
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  width: 620px;
  height: 620px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(calc(var(--progress) * 100deg));
  border: 1px solid rgba(185,137,255,.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.hero-orbit::after {
  inset: 145px;
  border-color: rgba(241,127,216,.08);
}

.hero-star {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px white, 0 0 30px var(--purple);
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-title {
  position: relative;
  font-size: clamp(90px, 15vw, 220px);
  line-height: .72;
  text-shadow: 0 0 15px rgba(255,255,255,.5), 0 0 40px rgba(155,92,255,.8), 0 0 90px rgba(155,92,255,.5), 0 0 150px rgba(155,92,255,.25);
  animation: titleFloat 7s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-copy strong,
.big-copy strong {
  color: #e7dded;
  font-weight: 500;
}

.magic-arrow {
  position: absolute;
  bottom: -90px;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  animation: arrowFloat 2.5s ease-in-out infinite;
}

.magic-arrow::after {
  content: "↓";
  font-size: 20px;
}

@keyframes arrowFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

.section-label {
  margin-bottom: 22px;
  color: #988da7;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.big-title {
  font-size: clamp(58px, 7vw, 100px);
  line-height: .85;
  margin-bottom: 35px;
}

.gradient {
  background: linear-gradient(100deg, #ffffff 0%, #d9baff 42%, #f08bd9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.big-copy {
  color: #ded5e8;
  font-size: 17px;
  line-height: 1.9;
  max-width: 650px;
}

.quote {
  position: relative;
  padding: 55px 45px;
  border-radius: 35px;
  background: linear-gradient(145deg, rgba(155,92,255,.12), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 100px rgba(0,0,0,.3);
  transform: rotate(calc(-2deg + var(--progress) * 2deg));
}

.quote::before {
  content: "“";
  position: absolute;
  left: 20px;
  top: -10px;
  font-family: "Cormorant Garamond";
  font-size: 160px;
  line-height: 1;
  color: rgba(155,92,255,.25);
}

.quote p {
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1.15;
  color: #f8f2fb;
}

.quote cite {
  display: block;
  margin-top: 30px;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.quote-orbit {
  position: absolute;
  width: 450px;
  height: 450px;
  right: -160px;
  top: 50%;
  border: 1px solid rgba(155,92,255,.12);
  border-radius: 50%;
  transform: translateY(-50%) rotate(calc(var(--progress) * 100deg));
  pointer-events: none;
}

.values-title {
  font-size: clamp(55px, 7vw, 100px);
  line-height: .82;
  margin-bottom: 55px;
}

.value {
  position: relative;
  min-height: 290px;
  padding: 35px;
  text-align: left;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .5s var(--ease), background .5s ease, border-color .5s ease;
}

.value:hover {
  transform: translateY(-15px) rotate(-1deg);
  background: rgba(155,92,255,.08);
  border-color: rgba(155,92,255,.4);
}

.value::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,92,255,.25), transparent 70%);
  transition: transform .8s var(--ease);
}

.value:hover::after {
  transform: scale(2);
}

.value-symbol {
  width: 52px;
  height: 52px;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: radial-gradient(circle, rgba(155,92,255,.5), rgba(155,92,255,.08));
  border: 1px solid rgba(214,184,255,.3);
  box-shadow: 0 0 30px rgba(155,92,255,.25);
  font-family: "Cormorant Garamond";
  font-size: 27px;
}

.value h4 {
  font-family: "Cormorant Garamond";
  font-size: 34px;
  margin-bottom: 12px;
}

.value p {
  color: #988da7;
  font-size: 13px;
  line-height: 1.75;
}

.projects-title {
  font-size: clamp(50px, 6vw, 82px);
  line-height: .85;
}

.projects-intro {
  max-width: 580px;
  margin: 20px auto 0;
  color: #988da7;
  font-size: 14px;
  line-height: 1.7;
}

.constellation {
  position: relative;
  height: 400px;
  margin-top: 25px;
}

.constellation-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: white;
  background: radial-gradient(circle, #b57aff, #6e35c8 35%, #24103f 70%);
  box-shadow: 0 0 30px rgba(155,92,255,.8), 0 0 100px rgba(155,92,255,.35);
  animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.constellation::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%) rotate(calc(var(--progress) * 90deg));
  border: 1px dashed rgba(181,133,255,.22);
  border-radius: 50%;
  animation: constellationSpin 40s linear infinite;
}

@keyframes constellationSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.project-node {
  position: absolute;
  width: 190px;
  padding: 18px;
  text-align: left;
  border-radius: 20px;
  background: rgba(14,8,25,.85);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(15px);
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: transform .5s var(--ease), border-color .5s ease, background .5s ease;
  animation: nodeFloat var(--float) ease-in-out infinite;
}

.project-node:hover {
  border-color: rgba(155,92,255,.6);
  background: rgba(155,92,255,.10);
  transform: translateY(-12px) scale(1.04);
}

@keyframes nodeFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -14px; }
}

.project-node:nth-child(2) { left: 5%; top: 10%; }
.project-node:nth-child(3) { right: 5%; top: 5%; }
.project-node:nth-child(4) { left: 10%; bottom: 5%; }
.project-node:nth-child(5) { right: 10%; bottom: 0; }

.project-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(155,92,255,.4), rgba(241,127,216,.12));
  border: 1px solid rgba(214,184,255,.25);
  color: var(--purple-light);
  font-size: 17px;
}

.project-node h4 {
  font-family: "Cormorant Garamond";
  font-size: 24px;
  margin-bottom: 5px;
}

.project-node p {
  color: #988da7;
  font-size: 11px;
  line-height: 1.55;
}

.contact-title {
  font-size: clamp(70px, 9vw, 125px);
  line-height: .78;
}

.contact-copy {
  margin-top: 30px;
  max-width: 520px;
  color: #988da7;
  font-size: 15px;
  line-height: 1.8;
}

.social-card {
  position: relative;
  padding: 45px;
  border-radius: 35px;
  background: linear-gradient(145deg, rgba(155,92,255,.13), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -150px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,92,255,.3), transparent 70%);
  animation: socialOrb 8s ease-in-out infinite;
}

@keyframes socialOrb {
  50% { transform: translate(-80px, 80px) scale(1.4); }
}

.social-title {
  position: relative;
  font-family: "Cormorant Garamond";
  font-size: 42px;
  margin-bottom: 25px;
}

.social-links {
  position: relative;
  display: grid;
  gap: 10px;
}

.social {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.08);
  color: white;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  transition: transform .4s var(--ease), background .4s ease;
}

.social:hover {
  transform: translateX(10px);
  background: rgba(155,92,255,.1);
}

.social small {
  color: #988da7;
}

.social-arrow {
  color: var(--purple-light);
  font-size: 18px;
}

/* Compare */

.compare-col {
  position: relative;
  padding: 32px;
  text-align: left;
  border-radius: 26px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
}

.compare-col.good {
  background: rgba(155,92,255,.08);
  border-color: rgba(155,92,255,.35);
  box-shadow: 0 20px 70px rgba(155,92,255,.12);
}

.compare-label {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #988da7;
}

.compare-col.good .compare-label {
  color: var(--purple-light);
}

.compare-col ul {
  display: grid;
  gap: 14px;
}

.compare-col li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.65;
  color: #988da7;
}

.compare-col.good li {
  color: #ded5e8;
}

.compare-mark {
  flex: none;
  width: 18px;
  padding-top: 1px;
  font-family: "Cormorant Garamond";
  font-size: 16px;
  color: #5a5163;
}

.compare-col.good .compare-mark {
  color: var(--purple-light);
}

/* Scope tiles */

.scope-tile {
  position: relative;
  padding: 30px 26px;
  text-align: left;
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .5s var(--ease), border-color .5s ease, background .5s ease;
}

.scope-tile:hover {
  transform: translateY(-8px);
  background: rgba(155,92,255,.07);
  border-color: rgba(155,92,255,.35);
}

.scope-tier {
  margin-bottom: 16px;
  font-family: "Cormorant Garamond";
  font-size: 38px;
  color: var(--purple-light);
}

.scope-tile h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.scope-tile p {
  color: #988da7;
  font-size: 13px;
  line-height: 1.65;
}

/* Before / after mock */

.mock-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.mock-arrow {
  font-family: "Cormorant Garamond";
  font-size: 30px;
  color: var(--purple-light);
}

.mock-panel {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
}

.mock-panel-label {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #988da7;
}

.mock-panel-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #746a80;
}

.mock-tweet {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.mock-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a5568, #2d3748);
}

.mock-tweet-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 12px;
  color: #988da7;
}

.mock-tweet-head strong {
  color: #ded5e8;
  font-weight: 600;
}

.mock-tweet-body p {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #ded5e8;
}

.mock-tweet-actions {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #746a80;
}

.mock-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mock-filters span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--purple-light);
  border: 1px solid rgba(155,92,255,.35);
  background: rgba(155,92,255,.08);
}

.mock-post {
  padding: 18px;
  border-radius: 16px;
  background: rgba(155,92,255,.08);
  border: 1px solid rgba(155,92,255,.3);
}

.mock-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mock-post-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #9b5cff, #6e35c8);
}

.mock-post-handle {
  font-size: 12px;
  font-weight: 600;
  color: #ded5e8;
}

.mock-post-link {
  margin-left: auto;
  font-size: 11px;
  color: var(--purple-light);
}

.mock-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.mock-role {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #ded5e8;
}

.mock-role-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.mock-role-icon.ctrl { background: linear-gradient(135deg, #9b5cff, #6e35c8); }
.mock-role-icon.sent { background: linear-gradient(135deg, #6ce0ff, #3a9fc4); }
.mock-role-icon.init { background: linear-gradient(135deg, #f17fd8, #c14fa8); }

.mock-post p {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #f8f2fb;
}

.mock-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #ded5e8;
}

.mock-post-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 850px) {
  .progress { right: 15px; }
  .quote-orbit { display: none; }
  .value { min-height: auto; }
  .constellation { transform: scale(.75); }
  .project-node:nth-child(2) { left: 0; }
  .project-node:nth-child(3) { right: 0; }
  .project-node:nth-child(4) { left: 0; }
  .project-node:nth-child(5) { right: 0; }
  .mock-compare { grid-template-columns: 1fr; }
  .mock-arrow { justify-self: center; transform: rotate(90deg); }
}
