/* Self-hosted (SIL Open Font License). Variable fonts: one file per subset. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --space: #05040d;
  --ink: #f5f3ff;
  --muted: #a8a3c2;
  --violet: #a78bfa;
  --teal: #5eead4;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(196, 181, 253, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--space); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; }
h1, h2, h3, .wordmark { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -0.02em; }

.wrap { max-width: 960px; margin: 0 auto; padding-inline: 10px; width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 700px) { .wrap { padding-inline: 20px; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Header ─────────────────────────────────────────────────── */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 20; padding: 16px 0;
            background: linear-gradient(rgba(5,4,13,0.88), transparent); }
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px;
                  max-width: 960px; margin: 0 auto; padding-inline: 10px; width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 700px) { .site-nav-inner { padding-inline: 20px; } }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; text-decoration: none; }
.orbit { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--violet); position: relative; box-shadow: 0 0 16px rgba(167,139,250,0.6); flex-shrink: 0; }
.orbit::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); top: -3px; left: 7px; box-shadow: 0 0 8px var(--teal); }
.site-nav-links { display: flex; gap: clamp(14px, 3vw, 28px); list-style: none; font-size: 15px; color: var(--muted); }
.site-nav-links a { text-decoration: none; transition: color .2s; }
.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; cursor: pointer; }

/* ── Hero (home film) ───────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 120px 16px 80px; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,4,13,0.15) 0%, rgba(5,4,13,0.25) 60%, var(--space) 100%); }
.hero > div { width: 100%; max-width: 900px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; font-weight: 600; max-width: 14ch; margin: 0 auto;
           background: linear-gradient(180deg, #ffffff 30%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent;
           text-shadow: 0 0 60px rgba(167,139,250,0.25); }
.hero p { margin: 24px auto 0; max-width: 34em; color: #d4cfe8; font-size: clamp(17px, 1.6vw, 20px); }
.actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s; }
.button.primary { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 8px 30px rgba(124,58,237,0.45); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 40px rgba(124,58,237,0.6); }
.button.ghost { border: 1px solid var(--line); background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.button.ghost:hover { background: rgba(255,255,255,0.07); }

/* ── Page sections ──────────────────────────────────────────── */
main { flex: 1; }
section { padding: clamp(72px, 10vw, 130px) clamp(16px, 5vw, 48px); max-width: 1120px; margin: 0 auto; }
.label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 600; max-width: 20ch; }
.lead { color: var(--muted); max-width: 40em; margin-top: 16px; font-size: 18px; }

.page-head { padding: 140px clamp(16px, 5vw, 48px) 40px; max-width: 800px; margin: 0 auto; }
.page-head h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 600; }
.page-head .lead { margin-top: 18px; }

.product { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
           background: radial-gradient(120% 120% at 0% 0%, rgba(124,58,237,0.22), transparent 60%), var(--card); }
.product .copy { padding: clamp(28px, 4vw, 48px); }
.product h3 { font-size: 30px; font-weight: 600; }
.product h3 small { display: block; font: 500 14px Inter, sans-serif; color: var(--teal); letter-spacing: 0.04em; margin-top: 6px; }
.product p { color: var(--muted); margin: 16px 0 26px; }
.product .art { position: relative; min-height: 260px; background: radial-gradient(circle at 50% 50%, rgba(94,234,212,0.28), transparent 55%), radial-gradient(circle at 30% 70%, rgba(167,139,250,0.35), transparent 50%); display: grid; place-items: center; }
.product .art.preview { padding: 18px; background: #0b0916; }
.product.bondi { background: radial-gradient(120% 120% at 100% 0%, rgba(94,234,212,0.16), transparent 55%), var(--card); }
.product.bondi .art.preview { padding: 16px 14px; overflow: hidden; min-height: 0;
  background: radial-gradient(circle at 50% 42%, rgba(94,234,212,0.16), transparent 58%), #0b0f14; }
.product.bondi .art.preview img { position: relative; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; border-radius: 10px; display: block; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.product.wiggle .art.preview { background: #1a1224; }
.product .art.preview img { width: 100%; height: 100%; max-height: 320px; object-fit: contain; object-position: center; border-radius: 12px; display: block; }
.ring { position: absolute; border: 1px solid rgba(233,213,255,0.35); border-radius: 50%; }
.ring.a { width: 180px; height: 180px; } .ring.b { width: 260px; height: 260px; opacity: .6; } .ring.c { width: 340px; height: 340px; opacity: .35; }
.core { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, #fff, #c4b5fd 40%, rgba(124,58,237,0.2) 70%, transparent); box-shadow: 0 0 60px rgba(196,181,253,0.8); }

.principles { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--card); backdrop-filter: blur(6px); }
.card .glyph { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
               background: linear-gradient(135deg, rgba(167,139,250,0.3), rgba(94,234,212,0.18)); border: 1px solid var(--line); font-size: 18px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.product.wiggle { margin-top: 22px; background: radial-gradient(120% 120% at 100% 0%, rgba(227,97,148,0.18), transparent 60%), var(--card); }
.product.wiggle h3 small { color: #f0abfc; }
.wiggle .art { background: radial-gradient(circle at 50% 50%, rgba(148,107,219,0.3), transparent 60%); }
.spectrum { width: 170px; height: 170px; border-radius: 50%; padding: 4px;
            background: conic-gradient(from var(--spin), #4285F5, #946BDB, #E36194, #ED4D3D, #FABD1A, #38B366, #4285F5);
            animation: spin 6s linear infinite; filter: drop-shadow(0 0 24px rgba(227,97,148,0.45)); display: grid; place-items: center; }
.spectrum > span { width: 100%; height: 100%; border-radius: 50%; background: var(--space); display: grid; place-items: center; }
.spectrum svg { width: 64px; height: 64px; }
@keyframes spin { to { --spin: 360deg; } }
.product.soon { margin-top: 40px; border-style: dashed; background: radial-gradient(120% 120% at 0% 100%, rgba(167,139,250,0.1), transparent 60%), var(--card); }
.product.soon + .product { margin-top: 22px; }
.product.soon h3 small { color: var(--muted); }
.soon .art { background: radial-gradient(circle at 50% 50%, rgba(167,139,250,0.14), transparent 55%); }
.soon .ghost { width: 140px; height: 140px; border-radius: 50%; border: 1.5px dashed rgba(196,181,253,0.55); display: grid; place-items: center;
               font: 600 18px "Space Grotesk", Inter, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(196,181,253,0.7); }

.contact { text-align: center; }
.page-head.contact { max-width: 640px; }
.contact h1, .contact h2 { margin-left: auto; margin-right: auto; }
.contact .lead { margin-left: auto; margin-right: auto; }
.contact .actions { margin-top: 30px; justify-content: center; }

/* ── Notes / blog ───────────────────────────────────────────── */
.notes-list { list-style: none; margin: 36px 0 0; display: flex; flex-direction: column; gap: 14px; }
.notes-list a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; background: var(--card); }
.notes-list a:hover { border-color: rgba(167,139,250,0.45); }
.notes-list time { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.notes-list h3 { font-size: 22px; margin: 6px 0 8px; }
.notes-list p { color: var(--muted); font-size: 16px; }

.post { max-width: 720px; margin: 0 auto; padding: 140px clamp(16px, 5vw, 48px) 80px; }
.post time { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.post h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 12px 0 28px; }
.post .prose p, .post .prose li { color: var(--muted); }
.post .prose p + p { margin-top: 16px; }
.post .prose h2 { font-size: 22px; max-width: none; margin: 32px 0 10px; }
.post .prose ul { margin: 12px 0 0 1.2em; }
.post .prose li { margin: 6px 0; }
.post .prose a { color: var(--teal); }
.post-back { display: inline-block; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 15px; }
.post-back:hover { color: var(--ink); }

.prose a.in, a.in { color: var(--teal); }
.legal { max-width: 720px; margin: 0 auto; padding: 140px clamp(16px, 5vw, 48px) 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.legal h2 { font-size: 22px; max-width: none; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0 1.2em; }
.legal li { margin: 6px 0; }

/* ── Footer (960 frame, five columns — product-footer skill) ─── */
.site-footer { border-top: 1px solid var(--line); margin-top: auto; color: var(--muted); font-size: 13px; }
.site-footer .wrap { padding-block: 28px 44px; display: grid; gap: 22px; }
.site-footer .wrap > * { width: 100%; min-width: 0; max-width: 100%; }
.askai-col { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.askai-col h2 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; max-width: none; }
.askai-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.askai-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.askai-col a:hover { color: var(--ink); }
.askai-col .ai-logo { width: 14px; height: 14px; flex: none; color: var(--ink); opacity: .75; }
.askai-col a:hover .ai-logo { opacity: 1; }
.askai-note { display: none; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 22px; align-items: start; }
.foot-cols > div { min-width: 0; }
.foot-cols h2 { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; max-width: none; }
.foot-mark { margin-bottom: 12px; }
.foot-mark .wordmark { color: var(--ink); font-size: 20px; }
.foot-of { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.foot-of a { color: var(--muted); text-decoration: none; }
.foot-of a:hover { color: var(--ink); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-cols li { color: var(--muted); }
.foot-more { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--teal); font: inherit; cursor: pointer; }
.foot-more:hover { text-decoration: underline; }
.foot-more-rest { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-more-rest[hidden] { display: none; }
.foot-flat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 28px; }
.foot-flat p { margin: 0; max-width: none; }
.foot-flat p:first-of-type { margin-right: auto; min-width: 0; }
.foot-flat .made-line { margin-top: 0; flex: none; }
.made { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.made .heart { color: var(--violet); }
.foot-line { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: space-between; gap: 8px 22px; }
.foot-line span { flex: 1; min-width: 0; }
.foot-line span:last-child { text-align: right; }

@media (max-width: 1000px) {
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 64px; z-index: 21; flex-direction: column; gap: 0;
                    background: #0b0916; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
  .site-nav-links.open { display: flex; }
  .site-nav-links a { padding: 12px 14px; border-radius: 10px; }
  .product { grid-template-columns: 1fr; }
  .product .art { min-height: 200px; order: -1; }
  .product.bondi .art.preview { min-height: 220px; padding: 16px; }
  .product.bondi .art.preview img { max-height: 240px; }
  .product.wiggle .art { order: -1; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-flat, .foot-line { flex-wrap: wrap; }
  .foot-line span { text-align: left; }
  .askai-col { align-items: flex-start; }
  .askai-note { display: block; flex-basis: 100%; max-width: none; margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
  .spectrum { animation: none; }
}
