/* ARVO360 launch page. Tokens from the ARVO Glass system; follows the visitor's light or dark setting. */
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #f5f5f7; --surface: #fff; --fill: rgba(120,120,128,.12); --separator: rgba(60,60,67,.16);
  --ink: #1d1d1f; --ink-muted: #5e5e63; --tint: #5856d6; --link: #4f4dc9; --focus: #5856d6; --on-tint: #fff;
  --verified: #1e7b34; --attention: #b02f00;
  --lavender: #9698e5; --coral: #edab96; --mint: #91c6ae;
  --glass: rgba(250,250,252,.72); --glass-hairline: rgba(0,0,0,.06);
  --card-shadow: 0 0 0 .5px rgb(24 24 45 / .08), 0 8px 32px rgb(24 24 45 / .08);
  --sans: "Inter", "Segoe UI", system-ui, sans-serif; --serif: "Newsreader", Georgia, serif;
  --ease-out: cubic-bezier(.22,1,.36,1);
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #000; --surface: #1c1c1e; --fill: rgba(120,120,128,.24); --separator: rgba(84,84,88,.6);
  --ink: #f5f5f7; --ink-muted: #aeaeb2; --tint: #5e5ce6; --link: #9b99ff; --focus: #9b99ff;
  --verified: #30d158; --attention: #ff9f0a;
  --glass: rgba(30,30,32,.7); --glass-hairline: rgba(255,255,255,.08);
  --card-shadow: 0 0 0 .5px rgba(255,255,255,.08), 0 8px 32px rgb(0 0 0 / .4);
} }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/24px var(--sans); letter-spacing: -.006em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 8px 16px; background: var(--surface); border-radius: 8px; }
.skip:focus { top: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow { font: 600 20px/26px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); }
.display { font: 400 80px/80px var(--serif); letter-spacing: -.024em; margin: 16px 0 24px; }
.display em { font-style: italic; background: linear-gradient(90deg, var(--lavender), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.title { font: 400 48px/54px var(--serif); letter-spacing: -.018em; max-width: 16em; margin: 12px 0 20px; }
.lede { font-size: 26px; line-height: 38px; color: var(--ink-muted); max-width: 30em; }

/* bar
   Same approach as the AXXIA site header:
   - fixed, not sticky, so shrinking it never moves the page underneath (the body keeps the full height as padding);
   - solid background, because a blurred see-through bar makes Safari redraw when scrolling stops and flicker;
   - two scroll thresholds in launch.js so it cannot flip back and forth around one point. */
:root { --bar-h: 92px; --bar-h-small: 56px; }
body { padding-top: var(--bar-h); }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: var(--bg); border-bottom: .5px solid transparent; transition: border-color .3s; }
.bar.compact { border-bottom-color: var(--separator); }
.bar .wrap { display: flex; align-items: center; gap: 16px; height: var(--bar-h); transition: height .3s var(--ease-out); }
.bar.compact .wrap { height: var(--bar-h-small); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: .05em; color: var(--ink); text-decoration: none; transition: font-size .35s var(--ease-out); }
.bar.compact .brand { font-size: 16px; }
.brand img { width: 44px; height: 44px; transition: width .35s var(--ease-out), height .35s var(--ease-out); }
.bar.compact .brand img { width: 28px; height: 28px; }
.b360 { font-weight: 400; color: var(--ink-muted); letter-spacing: .02em; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/20px var(--sans); color: var(--ink-muted); padding: 3px 10px; border-radius: 980px; background: var(--fill); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(145 198 174 / .7); } 70%,100% { box-shadow: 0 0 0 7px rgb(145 198 174 / 0); } }
.bar .btn { margin-left: auto; }
.bar .btn.small { min-height: 46px; padding: 0 24px; font-size: 17px; transition: min-height .3s var(--ease-out), font-size .3s var(--ease-out), padding .3s var(--ease-out); }
.bar.compact .btn.small { min-height: 38px; padding: 0 18px; font-size: 15px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 980px; border: 0; font: 500 18px/24px var(--sans); background: var(--tint); color: var(--on-tint); text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: scale(.98); }
.btn.small { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 8px; }
.aura { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(150 152 229 / .28), transparent), radial-gradient(closest-side at 70% 60%, rgb(237 171 150 / .22), transparent); filter: blur(40px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* form */
.join { margin-top: 36px; max-width: 600px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 980px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--card-shadow); }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 19px/28px var(--sans); padding: 0 18px; outline: none; }
.field:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 45%, transparent), var(--card-shadow); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 19px; line-height: 27px; color: var(--ink-muted); cursor: pointer; }
.consent input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--tint); flex: none; }
.missing { background: color-mix(in srgb, var(--coral) 40%, transparent); border-radius: 4px; padding: 0 3px; color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.status { min-height: 0; margin-top: 10px; font-size: 18px; font-weight: 500; }
.status.ok { color: var(--verified); }
.status.err { color: var(--attention); }
.fine { font-size: 13px; color: var(--ink-muted); }
.join.done .field, .join.done .consent { display: none; }
.join.done .status { font: 400 22px/30px var(--serif); color: var(--ink); }

/* ring */
.ring-wrap { justify-self: center; width: 100%; max-width: 640px; }
.ring { width: 100%; height: auto; overflow: visible; }
.track { fill: none; stroke: var(--separator); stroke-width: 1.5; }
.sweep { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 260px 260px; animation: sweep 2.4s var(--ease-out) .3s forwards; }
@keyframes sweep { to { stroke-dashoffset: 0; } }
.stops .stop { opacity: 0; animation: fade .6s var(--ease-out) forwards; }
.stops circle { fill: var(--surface); stroke-width: 3; }
.stops text { font: 600 30px/1 var(--sans); fill: var(--ink); letter-spacing: -.015em; }
.stops text.num { font: 600 22px/1 var(--sans); fill: var(--ink-muted); letter-spacing: .06em; }
@keyframes fade { to { opacity: 1; } }

/* bands */
/* sections run into each other with no divider lines and modest spacing */
.band { padding: 64px 0; }
.hero + .band { padding-top: 48px; }
.band.cta { padding: 72px 0 88px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.pillar { background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--card-shadow); }
.pillar .n { font: 600 16px/20px var(--sans); letter-spacing: .08em; color: var(--ink-muted); }
.pillar h3 { font: 400 26px/32px var(--serif); letter-spacing: -.012em; margin: 20px 0 10px; white-space: nowrap; }
.pillar p { font-size: 19px; line-height: 29px; color: var(--ink-muted); }
.cta { text-align: center; }
.cta .title, .cta .lede { margin-left: auto; margin-right: auto; }
.join-bottom { margin: 28px auto 0; text-align: left; }
.join-bottom .consent { justify-content: center; }

.foot { border-top: .5px solid var(--separator); padding: 32px 0 44px; font-size: 17px; color: var(--ink-muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--ink-muted); }

/* the flower: five petals */
.petals-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.flower-wrap { justify-self: center; width: 100%; max-width: 440px; }
.flower { width: 100%; height: auto; overflow: visible; }
.flower path { transform-box: fill-box; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); cursor: pointer; }
.flower path:nth-of-type(1) { transform-origin: 100% 100%; }
.flower path:nth-of-type(2) { transform-origin: 0% 100%; }
.flower path:nth-of-type(3) { transform-origin: 0% 0%; }
.flower path:nth-of-type(4) { transform-origin: 50% 0%; }
.flower path:nth-of-type(5) { transform-origin: 100% 50%; }
.flower.has-active path { opacity: .28; }
.flower .fc { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.flower.has-active .fc { opacity: .28; }
.flower.has-active .fc.on { opacity: 1; transform: scale(1.18); }
.centre-note:hover, .centre-note:focus-visible, .centre-note.on { background: var(--surface); box-shadow: var(--card-shadow); }
.flower.has-active path.on { opacity: 1; transform: scale(1.08); }
.title em { font-style: italic; color: var(--ink-muted); }
.petal-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.petal-list li { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; cursor: default; transition: background .2s; }
.petal-list li:hover, .petal-list li:focus-visible, .petal-list li.on { background: var(--surface); box-shadow: var(--card-shadow); }
.petal-list h3 { font: 600 21px/28px var(--sans); }
.petal-list p { font-size: 19px; line-height: 28px; color: var(--ink-muted); margin-top: 2px; }
.pdot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; margin-top: 8px; }
.centre-note { display: flex; gap: 14px; margin-top: 4px; padding: 14px 16px; border-radius: 16px; transition: background .2s; font-size: 19px; line-height: 28px; color: var(--ink-muted); }
.centre-note strong { color: var(--ink); font-weight: 600; }
.cdot { width: 14px; height: 14px; border-radius: 50%; background: #f4cf87; box-shadow: 0 0 0 3px #161c28; flex: none; margin-top: 8px; }
@media (prefers-color-scheme: dark) { .cdot { box-shadow: 0 0 0 3px #3a3f4c; } }

.trust { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 16px; padding: 16px 24px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); font-size: 19px; line-height: 28px; color: var(--ink-muted); text-align: left; }

/* splash: full-screen logo on arrival, click or tap anywhere to enter */
.splash { display: none; }
.js:not(.entered) body { overflow: hidden; }
.js:not(.entered) .splash, .splash.leaving { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); cursor: pointer; overflow: hidden;
}
.splash:focus-visible { outline: none; }
.splash-aura { position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(closest-side at 40% 40%, rgb(150 152 229 / .30), transparent), radial-gradient(closest-side at 62% 60%, rgb(237 171 150 / .24), transparent), radial-gradient(closest-side at 50% 70%, rgb(145 198 174 / .16), transparent); filter: blur(30px); }
.splash-inner { position: relative; display: grid; justify-items: center; text-align: center; padding: 24px; }
.splash-flower { width: min(52vmin, 460px); height: auto; overflow: visible; animation: splash-in 1.2s var(--ease-out) both; }
.splash-spin { transform-box: view-box; transform-origin: 129px 132px; animation: splash-spin 24s linear infinite; }
.splash-mark { margin-top: 28px; font: 600 clamp(28px, 4.4vmin, 40px)/1 var(--sans); letter-spacing: .06em; color: var(--ink); animation: rise .9s var(--ease-out) .35s both; }
.splash-line { margin-top: 18px; font: 400 clamp(40px, 7.2vmin, 76px)/1.05 var(--serif); letter-spacing: -.022em; color: var(--ink); animation: rise .9s var(--ease-out) .55s both; }
.splash-line em { font-style: italic; background: linear-gradient(90deg, var(--lavender), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.splash-hint { position: absolute; bottom: max(36px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font: 500 17px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); animation: rise .9s var(--ease-out) 1.1s both, breathe 2.6s ease-in-out 2s infinite; }
.splash-hint .touch { display: none; }
@media (hover: none) { .splash-hint .mouse { display: none; } .splash-hint .touch { display: inline; } }
@keyframes splash-in { from { opacity: 0; transform: scale(.82) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { opacity: .45; } }
/* leaving: the welcome dissolves. Petals drift apart, the words blur away, the page shows through. */
.js:not(.entered) .splash, .splash.leaving { transition: opacity 1.8s var(--ease-out) .5s, visibility 0s 2.3s; }
.splash .sp, .splash .spc { transition: transform 2s var(--ease-out), opacity 1.6s var(--ease-out); transform-box: view-box; transform-origin: 129px 132px; }
.splash.leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.splash.leaving .sp { opacity: 0; }
.splash.leaving .sp1 { transform: translate(-140px, -170px) rotate(-35deg); }
.splash.leaving .sp2 { transform: translate(160px, -150px) rotate(30deg); }
.splash.leaving .sp3 { transform: translate(190px, 40px) rotate(40deg); }
.splash.leaving .sp4 { transform: translate(10px, 200px) rotate(-25deg); }
.splash.leaving .sp5 { transform: translate(-190px, 30px) rotate(-40deg); }
.splash.leaving .spc { transform: scale(0); opacity: 0; }
.splash-words, .splash-hint span { display: grid; justify-items: center; transition: filter 1.6s var(--ease-out), opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
.splash-hint span { display: inline-block; }
.splash.leaving .splash-words, .splash.leaving .splash-hint span { filter: blur(14px); opacity: 0; transform: scale(1.06); }
.splash.leaving .splash-aura { transition: opacity 1.8s var(--ease-out); opacity: 0; }

/* hold the hero's ring animation until the visitor enters */
.js:not(.entered) .sweep, .js:not(.entered) .stops .stop { animation-play-state: paused; }

/* the flower assembles as you scroll: each petal arrives with its line */
.assemble .flower path { opacity: 0; transition: opacity .7s var(--ease-out), transform 1s var(--ease-out); }
.assemble .flower path[data-p="0"] { transform: translate(-70px, -90px) rotate(-30deg); }
.assemble .flower path[data-p="1"] { transform: translate(80px, -80px) rotate(28deg); }
.assemble .flower path[data-p="2"] { transform: translate(100px, 20px) rotate(35deg); }
.assemble .flower path[data-p="3"] { transform: translate(0, 100px) rotate(-22deg); }
.assemble .flower path[data-p="4"] { transform: translate(-100px, 10px) rotate(-35deg); }
.assemble .flower path.in { opacity: 1; transform: none; }
.assemble .flower.has-active path.in { opacity: .28; }
.assemble .flower.has-active path.in.on { opacity: 1; transform: scale(1.08); }
.assemble .flower.has-active path:not(.in) { opacity: 0; }
.assemble .flower .fc { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.assemble .flower .fc.in { opacity: 1; transform: none; }
.assemble .flower.has-active .fc.in { opacity: .28; }
.assemble .flower.has-active .fc.in.on { opacity: 1; transform: scale(1.18); }
.assemble .flower.has-active .fc:not(.in) { opacity: 0; }
.assemble .petal-list li, .assemble .centre-note { opacity: .22; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .2s; }
.assemble .petal-list li.in, .assemble .centre-note.in { opacity: 1; transform: none; }

/* the four cards and the files line slide in from the right each time they come into view */
.slide-in { overflow-x: clip; }
.slide-in .pillar, .slide-in .trust { opacity: 0; transform: translateX(90px); transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out); }
.slide-in .pillar.in, .slide-in .trust.in { opacity: 1; transform: none; }

/* section headings ease up into place as they arrive, so one section flows into the next */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* simple text page */
.page { max-width: 680px; margin: 0 auto; padding: 80px 24px 96px; }
.page h1 { font: 400 48px/54px var(--serif); letter-spacing: -.018em; margin-bottom: 24px; }
.page h2 { font: 600 21px/28px var(--sans); margin: 32px 0 8px; }
.page p, .page li { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.page p + p { margin-top: 12px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ring-wrap { max-width: 640px; order: -1; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .petals-grid { grid-template-columns: 1fr; gap: 32px; }
  .flower-wrap { max-width: 320px; }
  .display { font-size: 60px; line-height: 62px; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 0 8px; }
  .ring-wrap { width: calc(100% + 40px); margin: 0 -20px; }
  .display { font-size: 46px; line-height: 50px; }
  .title { font-size: 36px; line-height: 42px; }
  .lede { font-size: 20px; line-height: 30px; }
  .pillars { grid-template-columns: 1fr; }
  .band { padding: 44px 0; }
  .band.cta { padding: 52px 0 64px; }
  .bar .tag { display: none; }
  :root { --bar-h: 72px; }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
  .field { flex-direction: column; border-radius: 22px; }
  .field input { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
