@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@300;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --paper: #060e10;
  --ink: #e6eeec;
  --ember: #e4873c;
  --teal: #2fc4b4;
  --sun: #e6c27a;
  --stone: #152329;
  --mist: rgba(6, 14, 16, 0.82);
  --shadow: rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 196, 180, 0.14), transparent 55%),
    radial-gradient(circle at 85% 18%, rgba(228, 135, 60, 0.16), transparent 58%),
    radial-gradient(circle at 70% 85%, rgba(230, 194, 122, 0.08), transparent 50%),
    linear-gradient(135deg, #050c0f 0%, #0b161b 45%, #081319 100%);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(47, 196, 180, 0.1) 0 18%, transparent 19%),
    radial-gradient(circle at 80% 70%, rgba(228, 135, 60, 0.08) 0 16%, transparent 17%);
  opacity: 0.55;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(6, 14, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 238, 236, 0.08);
}

.logo {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.site-nav a:hover {
  border-color: var(--sun);
}

.cta {
  border: 1px solid rgba(238, 245, 243, 0.6);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: rgba(238, 245, 243, 0.08);
}

main {
  padding: 0 6vw 80px;
  position: relative;
  z-index: 1;
}

.hero-float {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: clamp(420px, 60vh, 720px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  --hero-offset: clamp(76px, 12vh, 140px);
}

.hero-float .hero-art {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  place-items: start center;
  padding-top: var(--hero-offset);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: clamp(360px, 48vh, 560px) 0 70px;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--sun);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary {
  background: linear-gradient(120deg, #e4873c, #e6c27a);
  color: #101514;
  box-shadow: 0 18px 40px -28px rgba(228, 135, 60, 0.6);
}

.secondary {
  border: 1px solid rgba(238, 245, 243, 0.6);
  background: transparent;
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--teal);
  font-size: 0.95rem;
  color: rgba(238, 245, 243, 0.8);
}

.hero-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(6, 14, 16, 0.82);
  border: 1px solid rgba(47, 196, 180, 0.18);
  box-shadow: 0 30px 80px -60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.ampersand {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(10rem, 26vw, 18rem);
  font-weight: 700;
  line-height: 0.8;
  margin-top: 0;
  background: linear-gradient(130deg, #e6c27a, #2fc4b4);
  -webkit-background-clip: text;
  color: transparent;
}

.spark-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: calc(var(--hero-offset) + clamp(24px, 5vh, 90px));
}

.spark {
  --orbit: clamp(130px, 16vw, 190px);
  --speed: 10s;
  --size: 12px;
  opacity: 0.9;
  width: var(--size);
  height: var(--size);
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(230, 194, 122, 0.6);
  position: absolute;
  animation: orbit var(--speed) linear infinite;
}

.spark:nth-child(2) {
  background: var(--ember);
  --orbit: clamp(90px, 12vw, 150px);
  --speed: 8s;
  --size: 10px;
  animation-delay: -2s;
}

.spark:nth-child(3) {
  background: var(--teal);
  --orbit: clamp(160px, 20vw, 230px);
  --speed: 12s;
  --size: 14px;
  animation-delay: -4s;
}

.spark:nth-child(4) {
  background: var(--sun);
  --orbit: clamp(200px, 24vw, 270px);
  --speed: 14s;
  --size: 9px;
  animation-delay: -6s;
}

.spark:nth-child(5) {
  background: var(--teal);
  --orbit: clamp(110px, 14vw, 170px);
  --speed: 9s;
  --size: 11px;
  animation-delay: -3s;
}

.spark:nth-child(6) {
  background: var(--ember);
  --orbit: clamp(230px, 28vw, 310px);
  --speed: 16s;
  --size: 8px;
  animation-delay: -8s;
  animation-direction: reverse;
}

.spark:nth-child(7) {
  background: var(--sun);
  --orbit: clamp(140px, 18vw, 210px);
  --speed: 11s;
  --size: 13px;
  animation-delay: -5s;
}

.spark:nth-child(8) {
  background: var(--teal);
  --orbit: clamp(260px, 30vw, 340px);
  --speed: 18s;
  --size: 7px;
  animation-delay: -9s;
  opacity: 0.75;
}

.spark:nth-child(9) {
  background: var(--ember);
  --orbit: clamp(180px, 22vw, 260px);
  --speed: 13s;
  --size: 9px;
  animation-delay: -7s;
  animation-direction: reverse;
}

.spark:nth-child(10) {
  background: var(--sun);
  --orbit: clamp(300px, 34vw, 380px);
  --speed: 20s;
  --size: 6px;
  animation-delay: -10s;
  opacity: 0.7;
}

.spark:nth-child(11) {
  background: var(--teal);
  --orbit: clamp(120px, 15vw, 180px);
  --speed: 9s;
  --size: 8px;
  animation-delay: -1s;
}

.spark:nth-child(12) {
  background: var(--ember);
  --orbit: clamp(280px, 32vw, 360px);
  --speed: 22s;
  --size: 7px;
  animation-delay: -12s;
  opacity: 0.65;
  animation-direction: reverse;
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(var(--orbit)) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(var(--orbit)) rotate(-360deg);
  }
}

.hero-art-label {
  position: absolute;
  bottom: 18px;
  text-align: center;
  font-size: 0.85rem;
  padding: 0 24px;
  color: rgba(238, 245, 243, 0.7);
}

.section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: rgba(238, 245, 243, 0.6);
  margin-bottom: 10px;
}

.section h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(6, 14, 16, 0.86);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(230, 238, 236, 0.08);
  box-shadow: 0 20px 50px -40px var(--shadow);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card.emphasis {
  background: rgba(47, 196, 180, 0.14);
}

.ampersand-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  font-weight: 500;
}

.ampersand-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(6, 14, 16, 0.8);
  border: 1px solid rgba(230, 238, 236, 0.08);
}

.amp {
  font-family: 'Fraunces', 'Times New Roman', serif;
  color: var(--sun);
  font-size: 1.4rem;
}

.purpose-note {
  margin-top: 32px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(240, 126, 47, 0.12);
  border: 1px solid rgba(240, 126, 47, 0.3);
  font-weight: 500;
}

.quote {
  margin-top: 30px;
  padding: 26px;
  border-left: 4px solid var(--teal);
  background: rgba(9, 21, 24, 0.7);
  border-radius: 12px;
  font-style: italic;
}

.app {
  position: relative;
}

.tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(238, 245, 243, 0.1);
}

.connect {
  display: grid;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(238, 245, 243, 0.15);
}

.connect-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 6vw 40px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(238, 245, 243, 0.15);
}

.hero-copy > * {
  animation: rise 0.8s ease forwards;
  opacity: 0;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.3s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.4s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: clamp(200px, 28vh, 300px);
  }

  .hero-art {
    min-height: 240px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}
