:root {
  --paper: #f4efe6;
  --ink: #15281f;
  --muted: #6d746e;
  --line: rgba(21, 40, 31, 0.18);
  --lime: #d8ff72;
  --coral: #ff765f;
  --blue: #89a6ff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  transition: background .35s ease, color .35s ease;
}
body.dark { --paper: #12231b; --ink: #f4efe6; --muted: #b8c1bb; --line: rgba(244, 239, 230, .18); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .045; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.site-header { height: 82px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.04em; font-size: 20px; width: max-content; }
.brand-orbit { width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; transform: rotate(-28deg); }
.brand-orbit::after { content: ""; position: absolute; width: 28px; height: 8px; border: 1.5px solid currentColor; border-top-color: transparent; border-radius: 50%; left: -4px; top: 6px; }
nav { display: flex; gap: 36px; font-size: 13px; font-weight: 500; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -6px; background: currentColor; transition: right .25s ease; }
nav a:hover::after { right: 0; }
.theme-toggle { justify-self: end; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 18px; }
.hero { min-height: calc(100svh - 82px); padding: 8vh 7vw 5vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3vw; position: relative; overflow: hidden; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1 { font-size: clamp(58px, 7vw, 114px); line-height: .94; letter-spacing: -.075em; font-weight: 500; margin: 28px 0 30px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.04em; }
.hero-intro { max-width: 550px; font-size: clamp(16px, 1.4vw, 20px); color: var(--muted); line-height: 1.9; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 32px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; border-radius: 2px; font-size: 13px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(21, 40, 31, .14); }
.button-primary { background: var(--ink); color: var(--paper); }
.text-link { font-size: 13px; font-weight: 600; display: flex; gap: 14px; }
.orbit-stage { width: min(42vw, 600px); aspect-ratio: 1; justify-self: center; position: relative; display: grid; place-items: center; }
.planet { width: 48%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; box-shadow: inset -28px -18px 50px rgba(87, 22, 16, .18), 0 35px 70px rgba(82, 35, 25, .15); color: #17261f; z-index: 2; }
.planet strong { font-family: var(--serif); font-style: italic; font-size: clamp(74px, 9vw, 132px); line-height: .75; }
.planet small { font-size: 8px; letter-spacing: .25em; margin-top: 18px; }
.planet-shine { position: absolute; width: 23%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.3); filter: blur(8px); top: 17%; left: 23%; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { inset: 10%; transform: rotate(-25deg) scaleY(.55); }
.orbit-two { inset: 0; transform: rotate(30deg) scaleY(.72); }
.orbit i { position: absolute; width: 13px; height: 13px; background: var(--lime); border-radius: 50%; top: 50%; left: -6px; box-shadow: 0 0 0 6px rgba(216,255,114,.18); }
.orbit-two i { width: 8px; height: 8px; top: 10%; left: 77%; background: var(--blue); }
.orbit-note { position: absolute; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.note-one { left: 0; top: 23%; transform: rotate(-7deg); }
.note-two { right: -2%; bottom: 18%; transform: rotate(7deg); }
.scroll-cue { position: absolute; left: 2.6vw; bottom: 5vh; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { height: 42px; width: 1px; background: var(--line); }
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.marquee div { width: max-content; display: flex; align-items: center; gap: 28px; animation: drift 24s linear infinite; font-size: 12px; letter-spacing: .15em; }
.marquee b { color: var(--coral); font-size: 18px; }
@keyframes drift { to { transform: translateX(-50%); } }
.section { padding: 120px 7vw; }
.section-number { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.about { border-bottom: 1px solid var(--line); }
.about-grid { margin-top: 65px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; }
.about h2, .section-heading h2, .contact h2 { font-size: clamp(42px, 5.2vw, 82px); letter-spacing: -.06em; line-height: 1.05; font-weight: 500; margin: 0; }
.about-copy { font-size: 16px; line-height: 1.95; color: var(--muted); }
.about-copy p:first-child { margin-top: 0; }
.facts { grid-column: 1 / -1; margin: 55px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.facts div:not(:last-child) { margin-right: 36px; }
.facts dt { font-size: 11px; color: var(--muted); }
.facts dd { margin: 0; font-size: 12px; font-weight: 600; }
.section-heading { display: grid; grid-template-columns: .7fr 2fr 1fr; align-items: end; margin-bottom: 60px; }
.section-heading h2 span { display: block; }
.section-heading p { color: var(--muted); line-height: 1.8; margin: 0 0 7px; font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.signal-card { min-height: 580px; padding: 24px; color: #17261f; display: flex; flex-direction: column; transition: transform .3s ease; }
.signal-card:hover { transform: translateY(-7px); }
.card-coral { background: var(--coral); }
.card-blue { background: var(--blue); }
.card-lime { background: var(--lime); }
.card-top { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.card-art { flex: 1; display: grid; place-items: center; position: relative; }
.art-sun i { width: 42%; aspect-ratio: 1; border-radius: 50%; background: #ffd8c8; box-shadow: 0 0 0 20px rgba(255,216,200,.18); }
.art-moon i { width: 42%; aspect-ratio: 1; border-radius: 50%; background: #15281f; box-shadow: inset 18px -9px 0 #dfe7ff; transform: rotate(-22deg); }
.art-moon b { position: absolute; width: 65%; height: 34%; border: 1px solid rgba(21,40,31,.55); border-radius: 50%; transform: rotate(-18deg); }
.art-orbit i { width: 50%; aspect-ratio: 1; border: 1px solid #15281f; border-radius: 50%; }
.art-orbit b { position: absolute; width: 18%; aspect-ratio: 1; background: #15281f; border-radius: 50%; transform: translate(125%, -105%); box-shadow: -100px 80px 0 -16px #15281f; }
.card-copy { border-top: 1px solid rgba(21,40,31,.35); display: grid; grid-template-columns: 34px 1fr; padding-top: 20px; }
.card-copy p { margin: 3px 0 0; font-size: 10px; }
.card-copy h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; font-weight: 500; }
.card-copy span { grid-column: 2; margin-top: 14px; font-size: 12px; line-height: 1.7; opacity: .7; }
.contact { background: #16271f; color: #f4efe6; text-align: center; min-height: 680px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.contact .eyebrow { margin-bottom: 35px; }
.contact .button { margin-top: 48px; position: relative; z-index: 2; }
.button-light { background: var(--lime); color: #15281f; }
.contact-orbit { position: absolute; width: 70vw; height: 35vw; border: 1px solid rgba(244,239,230,.15); border-radius: 50%; transform: rotate(-8deg); }
.contact-orbit i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--coral); left: 16%; top: 11%; }
footer { min-height: 95px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 10px; letter-spacing: .12em; }
footer p:last-child { justify-self: end; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 11vh; }
  .orbit-stage { width: min(90vw, 510px); margin: -4vh auto 0; }
  .scroll-cue { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .facts { grid-column: auto; grid-template-columns: 1fr; }
  .facts div:not(:last-child) { margin-right: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: 520px; }
}

@media (max-width: 560px) {
  .site-header { height: 70px; }
  .hero { min-height: auto; padding: 72px 6vw 55px; }
  h1 { font-size: clamp(50px, 17vw, 76px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .orbit-stage { margin-top: 20px; }
  .orbit-note { display: none; }
  .section { padding: 82px 6vw; }
  .about-grid { margin-top: 42px; }
  .contact { min-height: 580px; }
  footer { grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 22px; }
  footer > p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
