/* joinaura.co — the Collectives landing page (from Doug's Instinct draft of 2026-11-03, with motion).
   Palette and type are the draft's: Newsreader display, Hanken Grotesk text, cream page, moss ink. */
:root {
  --cream: #f4f1ea;
  --band: #e9ebdf;
  --pale: #dfe5d5;
  --ink: #23301c;
  --deep: #0e0d0b;
  --moss: #4c5e41;
  --sage: #6b8060;
  --sage-deep: #46543b;
  --muted: #707568;
  --hair: rgba(76, 94, 65, 0.16);
  --rule: #99a58e;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-over: cubic-bezier(0.2, 0.9, 0.3, 1.25);
  --reveal: 900ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
h1, h2, h3 { font-family: Newsreader, Georgia, serif; font-weight: 400; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { color: var(--deep); font-weight: 540; }

/* the scroll progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--moss); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* nav */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 16px 30px; border-bottom: 1px solid var(--hair);
  background: var(--cream);
  transition: box-shadow 400ms var(--ease-out), background-color 400ms var(--ease-out);
}
.site-nav.is-scrolled { background: rgba(244, 241, 234, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hair), 0 10px 30px rgba(35, 48, 28, 0.06); }
/* the logo is AURA's own wordmark file (the one connectingaura.net's header shows), never set in type */
.site-brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; line-height: 0; text-decoration: none; }
.site-brand img { display: block; height: 26px; width: auto; }
.nav-demo {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 15px;
  border: 1px solid var(--sage); border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--sage-deep); text-decoration: none;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.nav-demo .arrow { display: inline-block; transition: transform 300ms var(--ease-over); }
.nav-demo:hover { background: var(--moss); color: #fff; border-color: var(--moss); }
.nav-demo:hover .arrow { transform: translateX(5px); }

/* the page */
.website { max-width: 1240px; margin: 0 auto; background: var(--cream); color: var(--ink); }
.chapter { position: relative; padding: 65px 55px; border-top: 1px solid var(--hair); }
.chapter h2 { font-size: 44px; line-height: 1.08; max-width: 800px; margin: 0 0 16px; }
.chapter p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; max-width: 690px; }
.chapter p:last-child { margin-bottom: 0; }
.soft { background: var(--band); }
/* the band sweeps in from its top edge when it enters */
.soft::before { content: ""; position: absolute; inset: 0; background: var(--band); transform-origin: 50% 0; transform: scaleY(1); z-index: 0; }
.soft > * { position: relative; z-index: 1; }
.subhero { padding: 80px 55px 75px; border-top: 0; }
.hero-title { font-size: 59px; line-height: 1.04; margin: 0 0 20px; }
.hero-title .line { display: block; }
.hero-sub { font-size: 22px; line-height: 1.45; color: var(--moss); font-weight: 600; max-width: 600px; margin: 20px 0 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split > div { min-width: 0; }
.split svg { width: 100%; height: auto; }

/* the accent: italic moss on a highlighter that wipes in */
.acc {
  font-style: italic; color: var(--moss);
  background-image: linear-gradient(transparent 64%, rgba(107, 128, 96, 0.3) 64%, rgba(107, 128, 96, 0.3) 94%, transparent 94%);
  background-repeat: no-repeat; background-size: 100% 100%;
  transition: background-size 1100ms var(--ease-out) 350ms;
}

/* buttons */
.proposal-cta, .cta {
  display: inline-flex; align-items: center; min-height: 48px; background: var(--moss); color: #fff; text-decoration: none;
  border-radius: 5px; padding: 12px 24px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(35, 48, 28, 0.12);
  transition: transform 350ms var(--ease-over), box-shadow 350ms var(--ease-out), background-color 300ms var(--ease-out);
  will-change: transform;
}
.cta:hover { background: var(--sage-deep); box-shadow: 0 10px 24px rgba(35, 48, 28, 0.18); transform: translate(var(--mx, 0), calc(var(--my, 0) - 2px)); }
.cta:active { transform: translateY(0) scale(0.98); }
.cta-pulse.in-view { animation: cta-pulse 1600ms var(--ease-out) 700ms 1; }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 94, 65, 0.45); } 100% { box-shadow: 0 0 0 22px rgba(76, 94, 65, 0); } }

/* the collective art: the table breathes, the people arrive, the conversations keep moving */
.collective-art { overflow: visible; }
.collective-art .table { transform-origin: 250px 176px; }
.collective-art .person { transform-origin: center; transform-box: fill-box; }
.collective-art .links { transform-origin: 250px 176px; }
.is-ready .collective-art .table { animation: breathe 7s ease-in-out infinite; }
.is-ready .in .collective-art .person { animation: arrive 700ms var(--ease-over) both, float 6s ease-in-out calc(900ms + var(--n) * 400ms) infinite; animation-delay: calc(250ms + var(--n) * 110ms), calc(1200ms + var(--n) * 350ms); }
.is-ready .in .collective-art .links { animation: links-in 1100ms var(--ease-out) 650ms both; }
.is-ready .collective-art .link { animation: flow 2.6s linear infinite; }
.collective-art .person:hover { animation-play-state: paused; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes arrive { 0% { opacity: 0; transform: scale(0.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: var(--dx) var(--dy); } }
@keyframes links-in { 0% { opacity: 0; clip-path: circle(0 at 250px 176px); } 100% { opacity: 1; clip-path: circle(260px at 250px 176px); } }
@keyframes flow { to { stroke-dashoffset: -18; } }

/* the top bar: insurance people start at connectingaura.net (Shane 2026-11-13: "For insurance automations -
   start here"). This page IS AURA, so the bar never asks whether you are here for AURA. */
.top-bar { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; background: var(--moss); color: var(--cream); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; text-align: center; text-decoration: none; text-underline-offset: 4px; transition: background-color 300ms var(--ease-out); }
.top-bar:hover { background: var(--sage-deep); text-decoration: underline; }
.top-bar:focus-visible { outline: 2px solid var(--cream); outline-offset: -5px; }
.top-bar .arrow { display: inline-block; transition: transform 300ms var(--ease-over); }
.top-bar:hover .arrow { transform: translateX(4px); }
.is-ready .top-bar { animation: door-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes door-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* the reciprocity cycle: Give → Work → Thank → Meet. ONE clock drives it (app.js): the point travels the
   ring, the arc it has covered since the last word fills in behind it, and the word it has just reached is
   the lit one — the light and the point can never disagree. The words sit OUTSIDE the ring, the centre line
   stays inside it, so nothing ever crosses (Shane 2026-11-04 from his phone: "This animation is off"). */
.collective-cycle { --r: 125px; --gap: 30px; position: relative; height: calc(var(--r) * 2 + var(--gap) * 2 + 56px); display: grid; place-items: center; }
.cycle-ring { position: absolute; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border: 1px dashed #86977a; border-radius: 50%; }
.is-ready .cycle-ring { animation: turn 60s linear infinite; }
.collective-cycle .cycle-arc { position: absolute; width: calc(var(--r) * 2); height: calc(var(--r) * 2); max-width: none; margin: 0; overflow: visible; }
.cycle-arc path { fill: none; stroke: var(--moss); stroke-width: 2.5; stroke-linecap: round; }
.cycle-orbit { position: absolute; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; will-change: transform; }
.cycle-orbit i { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 6px rgba(76, 94, 65, 0.15); opacity: 0; transition: opacity 600ms 800ms; }
.is-ready .in .cycle-orbit i { opacity: 1; }
.cycle-center { font: 22px / 1.15 Newsreader, serif; text-align: center; z-index: 1; color: var(--ink); max-width: calc(var(--r) * 2 - 76px); }
.is-ready .in .cycle-center { animation: breathe-text 5.6s ease-in-out infinite; }
.cycle-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 17px / 1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0.01em; color: #707568; padding: 6px 11px; border-radius: 999px; white-space: nowrap; transition: color 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.2, 0.9, 0.3, 1.25), background-color 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.cycle-word.c0 { top: calc(50% - var(--r) - var(--gap)); }
.cycle-word.c1 { left: calc(50% + var(--r) + var(--gap) + 12px); }
.cycle-word.c2 { top: calc(50% + var(--r) + var(--gap)); }
.cycle-word.c3 { left: calc(50% - var(--r) - var(--gap) - 12px); }
.cycle-word.lit { color: var(--moss); background: rgba(107, 128, 96, 0.14); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 4px rgba(107, 128, 96, 0.08); }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe-text { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* the structure list */
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-list li { position: relative; padding: 14px 0; font-size: 16px; border-top: 1px solid transparent; }
.setup-list li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rule); transform-origin: 0 50%; transform: scaleX(1); }
.setup-list li:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }

/* closing + footer */
.closing { text-align: center; padding: 80px 55px; }
.closing h2 { font-size: 46px; max-width: 780px; margin: 0 auto 28px; }
.closing-title .w { display: inline-block; }
.site-footer { padding: 35px 45px; border-top: 1px solid var(--hair); font-size: 13px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.site-footer .site-brand img { height: 22px; }
.footer-top p { margin: 0; font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0; }
.site-footer a { color: var(--sage-deep); font-size: 12px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color 300ms; }
.site-footer nav a:hover { text-decoration-color: var(--sage); }
.draft-status { color: var(--muted); font-size: 11px; margin: 8px 0 0; }

/* REVEALS. Nothing hides until the script says the page is ready (`.is-ready`), so
   without JavaScript every word is simply there. With it, a section enters as it
   scrolls in: words rise out of a soft blur, staggered by their --i, the accent
   wipes across, the band sweeps down. */
.is-ready [data-reveal] > *, .is-ready [data-reveal] .split > div > *, .is-ready [data-reveal] .setup-list > li, .is-ready [data-reveal] .footer-top > *, .is-ready [data-reveal] .hero-title > .line {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity var(--reveal) var(--ease-out), transform var(--reveal) var(--ease-out), filter var(--reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.is-ready [data-reveal] .hero-title { opacity: 1; transform: none; filter: none; }
.is-ready [data-reveal] .split { opacity: 1; transform: none; filter: none; }
.is-ready [data-reveal].in > *, .is-ready [data-reveal].in .split > div > *, .is-ready [data-reveal].in .setup-list > li, .is-ready [data-reveal].in .footer-top > *, .is-ready [data-reveal].in .hero-title > .line {
  opacity: 1; transform: none; filter: none;
}
.is-ready [data-reveal] .acc { background-size: 0% 100%; }
.is-ready [data-reveal].in .acc { background-size: 100% 100%; }
.is-ready .soft::before { transform: scaleY(0); transition: transform 1100ms var(--ease-out); }
.is-ready .soft.in::before { transform: scaleY(1); }
.is-ready .setup-list li::before { transform: scaleX(0); transition: transform 900ms var(--ease-out) calc(var(--i, 0) * 110ms + 200ms); }
.is-ready .in .setup-list li::before { transform: scaleX(1); }
.is-ready .closing-title .w { opacity: 0; transform: translateY(0.6em) rotate(1.5deg); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-over); transition-delay: calc(var(--k, 0) * 45ms); }
.is-ready .in .closing-title .w { opacity: 1; transform: none; }

/* small screens */
@media (max-width: 1000px) {
  .site-nav { padding: 12px 24px; }
  .chapter { padding: 50px 35px; }
  .subhero { padding: 55px 35px; }
  .hero-title { font-size: 48px; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .subhero .art { max-width: 420px; margin: 0 auto; }
  .chapter h2 { font-size: 34px; }
  .closing h2 { font-size: 33px; }
}
@media (max-width: 650px) {
  .top-bar { font-size: 13px; padding: 9px 16px; }
  .site-nav { padding: 12px 20px; gap: 12px; }
  .site-nav .site-brand img { height: 24px; }
  .nav-demo { padding: 0 10px; font-size: 11px; gap: 6px; }
  .hero-title { font-size: 43px; }
  .hero-sub { font-size: 19px; }
  .chapter { padding: 40px 20px; }
  .subhero { padding: 40px 20px; }
  .closing { padding: 55px 20px; }
  .site-footer { padding: 28px 20px; }
  .collective-cycle { --r: 86px; --gap: 20px; }
  .cycle-center { font-size: 18px; }
  .cycle-word { font-size: 14px; padding: 5px 9px; }
}
@media (max-width: 359px) {
  .site-nav { padding: 10px 14px; gap: 8px; }
  .site-nav .site-brand img { height: 22px; }
  .hero-title { font-size: 38px; }
  .chapter { padding-left: 16px; padding-right: 16px; }
}

/* the motion is optional */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-ready [data-reveal] > *, .is-ready [data-reveal] .split > div > *, .is-ready [data-reveal] .setup-list > li, .is-ready [data-reveal] .footer-top > *, .is-ready [data-reveal] .hero-title > .line, .is-ready .closing-title .w { opacity: 1; transform: none; filter: none; transition: none; }
  .is-ready [data-reveal] .acc { background-size: 100% 100%; transition: none; }
  .is-ready .soft::before, .is-ready .setup-list li::before { transform: none; transition: none; }
  .is-ready .collective-art .table, .is-ready .in .collective-art .person, .is-ready .in .collective-art .links, .is-ready .collective-art .link,
  .is-ready .cycle-ring, .is-ready .in .cycle-orbit, .is-ready .in .cycle-center, .cta-pulse.in-view { animation: none; }
  .is-ready .in .cycle-orbit i { opacity: 0; }
  .cycle-arc { display: none; }
  .is-ready .top-bar { animation: none; }
  .top-bar, .top-bar .arrow { transition: none; }
  .cta, .nav-demo, .nav-demo .arrow, .cycle-word { transition: none; }
}
