:root {
  --night: #04060D;
  --deep: #0A0F1E;
  --line: rgba(232, 228, 218, .12);
  --text: #F2F0EA;
  --muted: rgba(242, 240, 234, .64);
  --gold: #E2B866;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 300 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 40px;
}
.site-header.solid { position: static; border-bottom: 1px solid var(--line); }
.brand { display: block; line-height: 0; }
.brand img { height: 58px; width: auto; }
.site-header nav a { margin-left: 32px; font-size: 13px; letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--text); }

/* hero */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-sky {
  position: absolute; inset: 0;
  background: url("assets/hero.jpg") center bottom / cover no-repeat;
  transform-origin: 50% 90%;
  animation: drift 60s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
#twinkle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; top: 34%; text-align: center; }
.hero-copy h1 { margin: 0 0 36px; font-weight: 300; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -.02em; }
.hero-copy p { margin: 0 0 30px; color: var(--muted); font-size: 16px; }
.pill {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  background: var(--text); color: var(--night); text-decoration: none;
  font-weight: 600; font-size: 11px; letter-spacing: .24em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-sky { animation: none; }
  html { scroll-behavior: auto; }
}

/* sections */
section { padding: 120px 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
section h2 { margin: 0 0 20px; font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.015em; max-width: 720px; }
section .lead { margin: 0; color: var(--muted); font-size: 17px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.card h3 { margin: 0 0 8px; font-weight: 500; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border: 1px solid rgba(226, 184, 102, .4); border-radius: 999px; color: var(--gold); font-size: 11px; letter-spacing: .08em; }

.vision { background: linear-gradient(180deg, var(--night), var(--deep)); }
.vision .statement { max-width: 1000px; margin-bottom: 18px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
.vision .statement span { display: block; margin-top: 10px; color: var(--muted); font-size: .55em; line-height: 1.25; letter-spacing: -.01em; }
.sanskrit { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--muted); }

/* the four steps, joined by a thin line that fades out toward the horizon */
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 72px 0 0; padding: 0; list-style: none; }
.path::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(226, 184, 102, .25) 70%, transparent); }
.path li { position: relative; padding-top: 32px; }
.path li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); background: var(--deep); }
.path li.now::before { background: var(--gold); box-shadow: 0 0 14px rgba(226, 184, 102, .7); }
.path .when { color: var(--gold); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.path h3 { margin: 8px 0 6px; font-weight: 500; font-size: 18px; }
.path p { margin: 0; color: var(--muted); font-size: 15px; }
.kardashev { margin: 72px 0 0; color: var(--muted); font-style: italic; font-size: 15px; }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 40px 0 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { margin-left: 20px; text-decoration: none; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--text); }

/* legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { margin: 0 0 8px; font-weight: 300; font-size: 40px; }
.legal .updated { margin: 0 0 40px; color: var(--muted); }
.legal h2 { margin: 40px 0 10px; font-weight: 500; font-size: 20px; }
.legal p, .legal li { max-width: 720px; color: rgba(242, 240, 234, .82); }
.legal a { color: var(--gold); }

@media (max-width: 640px) {
  .site-header { padding: 20px 16px; }
  .site-header nav a { margin-left: 18px; font-size: 12px; }
  .brand img { height: 46px; }
  .wrap { padding: 0 16px; }
  .hero-copy { left: 16px; right: 16px; top: 30%; }
  section { padding: 80px 0; }
  .path { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .path::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(226, 184, 102, .25) 70%, transparent); }
  .path li { padding: 0 0 0 32px; }
  dl.contact { grid-template-columns: 1fr; gap: 2px; }
  dl.contact dd { margin-bottom: 14px; }
}
