/* Shared dark theme and layouts. home.css adds the homepage presentation. */
.inner-page {
  --bg: #090c19;
  --bg-alt: #0d1022;
  --surface: #111629;
  --surface-warm: #161b2f;
  --ink: #f7f2e9;
  --ink-soft: #c8c8d5;
  --ink-dim: #a6aac1;
  --ink-dimmer: #8e95af;
  --line: rgba(200, 197, 240, .12);
  --line-strong: rgba(200, 197, 240, .24);
  --violet: #b8afff;
  --pink: #ff9aba;
  --mint-deep: #7eecd0;
  --amber-deep: #ffc857;
  color-scheme: dark;
  background: var(--bg);
  font-size: 16px;
}
.inner-page ::selection { background: #6753ba; color: #fff; }
.inner-page a { transition: color .2s, background .2s, border-color .2s; }
.inner-page a:hover { color: var(--amber); }
.inner-page :focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.inner-page [id] { scroll-margin-top: 110px; }
.inner-page .nav { background: rgba(9, 12, 25, .9); padding: 17px clamp(24px, 5vw, 80px); }
.inner-page .nav__brand:hover .brand-word { color: var(--amber); }
.inner-page .nav__links a { padding: 8px 14px; }
.inner-page .nav__links a.is-active { color: var(--amber); background: rgba(255, 200, 87, .08); }
.inner-page .brand-mark { color: var(--violet); }
.skip-link { position: fixed; top: -80px; left: 24px; z-index: 100; padding: 12px 20px; color: #090c19; background: var(--amber); border-radius: 8px; }
.skip-link:focus { top: 12px; color: #090c19; }
.inner-page main { overflow: clip; }
.inner-wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.inner-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 35%, #26205380, transparent 55%), linear-gradient(125deg, #09141a, #111127 70%, #141332); }
.inner-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), transparent 30%); }
.inner-hero__art { position: absolute; z-index: -1; width: 730px; height: 630px; right: max(-100px, calc((100vw - 1350px) / 2)); top: 25px; opacity: .85; pointer-events: none; }
.inner-hero__content { padding-block: 154px 78px; position: relative; }
.section-label { display: block; font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: .19em; text-transform: uppercase; color: var(--violet); }
.inner-hero .section-label { margin-bottom: 28px; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.inner-hero .section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px #10d4a370; }
.inner-hero h1 { font-size: clamp(48px, 6.2vw, 80px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; max-width: 820px; }
.inner-hero h1 em { color: var(--amber); }
.inner-hero__lede { max-width: 570px; margin: 25px 0 0; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.hero-caption { position: absolute; right: 0; bottom: 84px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); }
.hero-caption::before { content: ''; width: 28px; height: 1px; background: var(--violet); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.inner-page .btn { padding: 12px 21px; min-height: 46px; }
.inner-page .btn--primary { color: #17112c; background: var(--amber); box-shadow: none; }
.inner-page .btn--primary:hover { background: #ffdb8a; transform: translateY(-2px); color: #17112c; }
.inner-page .btn--ghost { background: transparent; color: var(--ink); }
.inner-page .btn--ghost:hover { background: var(--violet-bg); border-color: var(--violet); }
.link-arrow { display: inline-flex; gap: 16px; align-items: center; color: var(--ink); font-size: 14px; }
.link-arrow span { color: var(--amber); }
.section-jump { display: flex; gap: 36px; padding-block: 21px; font-size: 12px; color: var(--ink-dim); }
.section-jump a { color: var(--ink-soft); display: inline-flex; gap: 10px; align-items: center; }
.section-jump a span { color: var(--violet); font-size: 10px; }
.section-jump a:hover { color: var(--amber); }
.content-section { padding-block: 84px; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2, .story-copy h2 { font-size: clamp(32px, 3.5vw, 45px); line-height: 1.16; font-weight: 400; margin-top: 15px; }
.section-heading > p { color: var(--ink-dim); font-size: 14px; max-width: 350px; margin: 0; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.story-copy p { color: var(--ink-soft); line-height: 1.85; margin: 0 0 20px; }
.story-copy .link-arrow { margin-top: 10px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.focus-item { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.focus-item__num { color: var(--amber); font-size: 12px; letter-spacing: .12em; }
.focus-item h3 { margin-block: 21px 14px; font-size: 26px; }
.focus-item p { color: var(--ink-dim); font-size: 14px; line-height: 1.8; margin: 0; }
.focus-item .link-arrow { margin-top: 26px; }
.roadmap { margin: 0; padding: 0; list-style: none; }
.roadmap li { display: grid; grid-template-columns: 80px 1fr 1.25fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.roadmap__num { color: var(--violet); font-family: var(--serif); font-size: 28px; }
.roadmap h3 { font-size: 26px; margin-bottom: 7px; }
.roadmap .section-label { color: var(--ink-dim); font-size: 9px; }
.roadmap p { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.8; }
.vision-band { background: radial-gradient(ellipse at 100% 100%, #39306565, transparent 70%), #111629; border: 1px solid var(--line); border-radius: 3px; padding: 46px; margin-top: 30px; }
.vision-band h3 { font-size: 32px; line-height: 1.2; margin: 14px 0 18px; }
.vision-band p { margin: 0; color: var(--ink-soft); max-width: 760px; font-size: 15px; line-height: 1.8; }
.closing { border-top: 1px solid var(--line); padding-block: 58px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.closing h2 { font-size: clamp(29px, 3.5vw, 40px); line-height: 1.2; }
.closing p { margin: 12px 0 0; font-size: 14px; color: var(--ink-dim); }
.closing .btn { flex-shrink: 0; }
.project-entry { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; padding-block: 68px; border-top: 1px solid var(--line); }
.project-entry:first-child { border-top: 0; }
.project-entry--reverse .project-copy { order: 2; }
.project-entry h2 { font-size: clamp(38px, 4vw, 52px); font-weight: 400; margin: 19px 0 6px; line-height: 1.12; }
.project-entry__subtitle { color: var(--violet); font-size: 14px; margin: 0 0 24px; }
.project-entry__description { color: var(--ink-soft); font-size: 15px; line-height: 1.85; margin: 0 0 24px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.project-meta .section-label { font-size: 10px; }
.status-tag { font-size: 10px; color: var(--mint-soft); border: 1px solid #7eecd028; background: #7eecd008; padding: 3px 9px; border-radius: 20px; }
.project-points { padding: 0; margin: 0 0 28px; list-style: none; display: grid; gap: 10px; }
.project-points li { color: var(--ink-dim); font-size: 13px; display: flex; align-items: baseline; gap: 11px; }
.project-points li::before { content: ''; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.project-art { min-width: 0; min-height: 380px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: radial-gradient(ellipse at 50% 35%, #47358344, transparent 70%), #101322; }
.project-art__top { position: absolute; top: 24px; left: 26px; right: 26px; display: flex; justify-content: space-between; color: var(--ink-dim); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.project-art img { width: 100%; height: 255px; object-fit: contain; margin: 34px 0 6px; }
.project-art__caption { margin: 0 20px 26px; font-family: var(--serif); font-size: 23px; color: var(--ink-soft); text-align: center; }
.project-art--museum { background: radial-gradient(ellipse at 50% 40%, #1d75632b, transparent 70%), #0d191f; }
.project-art--photo { display: block; min-height: 0; margin: 0; }
.project-art--photo img { display: block; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.project-photo-caption { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.project-photo-caption > span { color: var(--ink-dim); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.project-photo-caption p { font-family: var(--serif); color: var(--ink-soft); font-size: 23px; line-height: 1.3; margin: 8px 0 0; }
.project-art--dynasty { background: radial-gradient(ellipse at 50% 35%, #7761312b, transparent 70%), #181723; }
.roster { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0; }
.roster span { font-size: 10px; color: var(--ink-dim); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; }
.future-strip { margin-block: 18px 72px; padding: 35px 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); background: linear-gradient(100deg, #201b3a, #101322); }
.future-strip h2 { font-size: 30px; margin: 9px 0; }
.future-strip p { margin: 0; color: var(--ink-dim); font-size: 14px; }
.future-strip .link-arrow { flex-shrink: 0; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 75px; }
.faq-aside { align-self: start; position: sticky; top: 110px; }
.faq-aside p { color: var(--ink-dim); font-size: 14px; margin: 18px 0 25px; }
.inner-page .faq { display: block; border-top: 0; }
.inner-page .faq__item { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 0; box-shadow: none; }
.inner-page .faq__item:first-child { border-top: 1px solid var(--line); }
.inner-page .faq__item summary { font-family: var(--sans); font-size: 15px; font-weight: 400; padding: 25px 38px 25px 0; line-height: 1.6; position: relative; color: var(--ink); }
.inner-page .faq__item summary::after { position: absolute; right: 2px; top: 23px; font-size: 23px; color: var(--violet); font-weight: 300; }
.inner-page .faq__item[open] { background: transparent; }
.inner-page .faq__item[open] summary { color: var(--amber); }
.inner-page .faq__body { margin: 0; padding: 0 35px 25px 0; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.inner-page .faq__body p { margin: 0; }
.faq-group-title { font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .19em; color: var(--violet); margin: 40px 0 18px; }
.faq-group-title:first-child { margin-top: 0; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: start; }
.contact-intro h2 { font-size: 34px; margin: 16px 0 20px; line-height: 1.2; }
.contact-intro > p { color: var(--ink-dim); font-size: 14px; }
.contact-topic { border-top: 1px solid var(--line); padding: 22px 0; }
.contact-topic h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.contact-topic p { font-size: 13px; color: var(--ink-dim); margin: 7px 0 0; line-height: 1.8; }
.contact-topics { margin-top: 30px; }
.inner-page .collect-card { margin: 0; padding: 34px; border-radius: 4px; background: linear-gradient(145deg, #1a1b32, #111525); box-shadow: none; width: 100%; }
.inner-page .collect__title { font-size: 30px; margin-bottom: 8px; }
.inner-page .collect__lede { font-size: 13px; margin-bottom: 28px; }
.inner-page .field input, .inner-page .field select, .inner-page .field textarea { border-radius: 6px; background: #0c1120; font-size: 14px; min-height: 48px; }
.inner-page .field label { font-size: 12px; font-weight: 400; }
.inner-page .field__opt { color: var(--ink-dim); }
.inner-page .collect-form__note { font-size: 11px; line-height: 1.7; }
.inner-page .field [aria-invalid='true'] { border-color: var(--pink); }
.inner-page .footer { background: #080b16; }
.inner-page .footer__inner { padding: 32px 0; width: min(1120px, calc(100% - 96px)); font-size: 11px; }
.inner-page .footer__brand { flex-direction: column; gap: 5px; }
.inner-page .footer__tag { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--ink-dim); }
.inner-page .footer__meta { flex-wrap: wrap; }
.inner-page .footer .brand-word { font-size: 19px; }
.demo-page .inner-hero__content { padding-bottom: 58px; }
.demo-page .inner-hero h1 { font-size: clamp(45px, 5.5vw, 68px); }
.demo-layout { display: grid; grid-template-columns: 240px 1fr; gap: 65px; padding-block: 48px 80px; }
.demo-context { padding-top: 10px; }
.demo-context h2 { font-size: 38px; margin: 22px 0 8px; }
.demo-context p { color: var(--ink-dim); font-size: 13px; line-height: 1.85; }
.demo-context .link-arrow { margin-top: 16px; font-size: 12px; }
.demo-context__rule { width: 38px; height: 1px; background: var(--amber); margin: 25px 0; }
.inner-page .demo__chat { border-radius: 6px; box-shadow: none; }
.chat-heading { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-heading strong { font-size: 13px; font-weight: 500; }
.chat-heading span { color: var(--mint-soft); font-size: 10px; }
.inner-page .chat__log { min-height: 240px; }
.inner-page .msg__body { font-size: 14px; border-radius: 8px; }
.inner-page .msg--user .msg__body { background: #514293; border-color: #6b5ba8; color: #fff; }
.inner-page .msg--user em { color: #fff; }
.inner-page .msg--echo .msg__body { border-left-color: var(--violet); }
.inner-page .chat__form { background: #0d1222; }
.inner-page .chat__input { border-radius: 6px; font-size: 14px; min-width: 0; }
.inner-page .suggest__chip { border-radius: 6px; font-size: 11px; padding: 9px 12px; }
.inner-page .demo__note { font-size: 11px; line-height: 1.8; }
@media (min-width: 1500px) { .inner-hero__content { padding-block: 174px 94px; } }
@media (max-width: 1000px) {
  .story-grid, .contact-layout { gap: 40px; }
  .project-entry { gap: 35px; }
  .faq-layout, .demo-layout { grid-template-columns: 190px 1fr; gap: 35px; }
  .hero-caption { display: none; }
  .inner-hero__art { right: -240px; opacity: .55; }
}
@media (max-width: 720px) {
  .inner-wrap, .inner-page .footer__inner { width: calc(100% - 40px); }
  .inner-page .nav { position: absolute; padding: 17px 20px 10px; flex-wrap: wrap; gap: 14px; }
  .inner-page .nav__brand { margin-inline: auto; }
  .inner-page .nav__links { justify-content: center; width: 100%; gap: 10px; font-size: 12px; }
  .inner-page .nav__links a { padding: 7px 12px; }
  .inner-hero__content { padding-block: 163px 55px; }
  .inner-hero .section-label { margin-bottom: 23px; font-size: 9px; }
  .inner-hero h1 { font-size: clamp(42px, 9.4vw, 66px); }
  .inner-hero__lede { font-size: 15px; max-width: 530px; }
  .inner-hero__art { right: -390px; top: 70px; opacity: .32; }
  .section-jump { flex-wrap: wrap; gap: 16px 25px; padding-block: 21px; font-size: 11px; }
  .content-section { padding-block: 55px; }
  .story-grid, .contact-layout, .faq-layout, .demo-layout { grid-template-columns: 1fr; gap: 30px; }
  .focus-grid { grid-template-columns: 1fr; gap: 30px; }
  .focus-item h3 { margin-top: 10px; }
  .focus-item .link-arrow { margin-top: 15px; }
  .section-heading { flex-direction: column; align-items: start; gap: 15px; }
  .section-heading > p { max-width: none; }
  .roadmap li { grid-template-columns: 32px 1fr; gap: 10px 18px; }
  .roadmap p { grid-column: 2; }
  .vision-band { padding: 28px 24px; }
  .vision-band h3 { font-size: 28px; }
  .closing { align-items: start; flex-direction: column; padding-block: 40px; }
  .project-entry { grid-template-columns: 1fr; gap: 30px; padding-block: 45px; }
  .project-entry--reverse .project-copy { order: 0; }
  .project-art { min-height: 320px; }
  .project-art img { height: 215px; }
  .project-art--photo { min-height: 0; }
  .project-art--photo img { height: auto; }
  .future-strip { flex-direction: column; align-items: start; padding: 28px 24px; }
  .faq-aside { position: static; }
  .faq-aside p { margin: 10px 0 15px; }
  .contact-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .inner-page .collect-card { padding: 27px 22px; }
  .inner-page .footer__inner { flex-direction: column; align-items: start; gap: 24px; }
  .demo-layout { padding-block: 30px 55px; }
  .demo-context { display: none; }
  .inner-page .chat__log { padding: 20px 16px; }
  .inner-page .chat__suggest { padding-inline: 16px; }
  .inner-page .chat__form { padding: 16px; gap: 8px; }
}
@media (max-width: 380px) {
  .inner-page .nav__links { gap: 0; }
  .inner-page .nav__links a { padding-inline: 11px; }
  .contact-topics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .inner-page *, .inner-page *::before, .inner-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
