/* =========================================================
   arts.ventures · ArtsUp — dark, precise builder platform
   Layered on brand.css tokens.
   Founder Fit = gold · Venture Fit = teal · Life Fit = lens
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* ===== arts.ventures — aligned to the Founder Families brochure system:
     deep night-blue ground, brass + terra accents, Cormorant + Hanken.
     (Previously an earthen brown world; realigned to the Circle navy.) ===== */
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --acc-h:     80;        /* brass hue (Messing) — static fallback before/without the hue-tweak JS */
  --bg:        #0c1428;   /* brochure night-blue surface */
  --bg-deep:   #080e1e;   /* darkest — drawers, wells */
  --line:      rgba(241,233,214,.075);
  --line-hi:   rgba(241,233,214,.15);

  --life: oklch(0.62 0.11 40);       /* Life Fit lens — brochure terra #c1674a */
  --life-soft: oklch(0.70 0.10 42);
  --teal: oklch(0.62 0.055 150);     /* Venture Fit — brochure olive patina (not cyan) */
  --av-max: 760px;
  --grid: rgba(241,233,214,.022);
  --av-bg: #0c1428;                  /* night-blue base */
  --av-orange: oklch(0.66 0.14 45);       /* terra-orange tagline */
  --av-orange-soft: oklch(0.74 0.12 48);
}

body {
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 46px,
    radial-gradient(920px 540px at 50% -12%, oklch(0.745 0.084 80 / .09), transparent 62%),
    radial-gradient(1150px 660px at 84% -6%, oklch(0.55 0.10 40 / .10), transparent 60%),
    radial-gradient(900px 900px at 8% 108%, oklch(0.42 0.055 250 / .16), transparent 60%),
    var(--av-bg);
}

/* ============ shell ============ */
.av { min-height: 100vh; display: flex; flex-direction: column; }

.av-top {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 16px;
  padding: 13px 24px; height: 62px;
  background: linear-gradient(180deg, rgba(8,12,26,.93), rgba(8,12,26,.6));
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.av-back {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.av-back:hover:not(:disabled) { color: var(--cream); border-color: var(--line-hi); }
.av-back:disabled { opacity: .32; cursor: default; }
.av-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.av-brand img { height: 25px; width: auto; object-fit: contain; flex: none; }
.av-brand .bid { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.av-brand .bname { font-size: 15.5px; color: var(--cream); letter-spacing: .01em; }
.av-brand .bname b { color: var(--gold-soft); font-weight: 500; }
.av-brand .btag { font-size: 9px; letter-spacing: .22em; color: var(--faint); text-transform: uppercase; }
.av-top-right { display: flex; align-items: center; gap: 10px; }
.av-stepcount { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.av-stepcount b { color: var(--ink); }
.av-icbtn {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px;
  cursor: pointer; font-family: var(--font-body); transition: all .18s;
}
.av-icbtn:hover { color: var(--cream); border-color: var(--line-hi); }
.av-icbtn.ghost { padding: 8px; }
.av-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--line); }
.av-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .4s ease; }

.av-main { flex: 1; overflow-y: auto; padding: 46px 24px 120px; }
.av-screen { animation: avFade .4s ease both; }
@keyframes avFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
[data-anim="off"] .av-screen { animation: none; }

.av-inner { width: 100%; max-width: var(--av-max); margin: 0 auto; }
.av-inner.narrow { max-width: 540px; }
.av-inner.wide { max-width: 940px; }

/* ============ type atoms ============ */
.av-eye {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); display: inline-flex; align-items: center; gap: 8px;
}
.av-eye.gold { color: var(--gold-soft); }
.av-eye.teal { color: var(--teal); }
.av-eye.life { color: var(--life-soft); }
.av-eye::before { content: ''; width: 16px; height: 1px; background: currentColor; opacity: .6; }
.av-h { font-family: var(--font-display); font-weight: 500; color: var(--cream); font-size: clamp(34px, 5vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin: 16px 0 0; }
.av-h.sm { font-size: clamp(28px, 3.6vw, 40px); }
.av-q { font-family: var(--font-display); font-weight: 500; color: var(--cream); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; margin: 14px 0 0; }
.av-lede { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 52ch; margin: 16px 0 0; text-wrap: pretty; }
.av-lede b { color: var(--ink); font-weight: 500; }
.av-fineprint { color: var(--faint); font-size: 13px; line-height: 1.55; margin: 18px 0 0; }

/* ============ buttons ============ */
.av-btn {
  font-family: var(--font-body); font-size: 15px; cursor: pointer; border: 1px solid transparent;
  border-radius: 11px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 9px;
  transition: all .2s ease; text-decoration: none; white-space: nowrap;
}
.av-btn.lg { padding: 15px 26px; font-size: 15.5px; }
.av-btn:disabled { opacity: .34; cursor: default; }
.av-btn.primary { background: var(--panel-hi); border-color: var(--gold-deep); color: var(--gold); font-weight: 600; box-shadow: inset 0 0 0 1px oklch(0.745 0.084 var(--acc-h) / .1); }
.av-btn.primary:not(:disabled):hover { background: var(--gold-glow); border-color: var(--gold); transform: translateY(-1px); }
.av-btn.teal { background: oklch(0.70 0.045 172 / .1); border-color: oklch(0.70 0.045 172 / .5); color: var(--teal); font-weight: 600; }
.av-btn.teal:not(:disabled):hover { background: oklch(0.70 0.045 172 / .16); border-color: var(--teal); transform: translateY(-1px); }
.av-btn.life { background: oklch(0.69 0.05 46 / .1); border-color: oklch(0.69 0.05 46 / .48); color: var(--life-soft); font-weight: 600; }
.av-btn.life:not(:disabled):hover { background: oklch(0.69 0.05 46 / .16); border-color: var(--life); }
.av-btn.ghost { background: transparent; border-color: var(--line-hi); color: var(--ink); }
.av-btn.ghost:hover { background: var(--panel-2); border-color: var(--faint); }

.av-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.av-actions.center { justify-content: center; }

/* ============ location bar ============ */
.av-domain {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 99px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 22px;
  border: 1px solid var(--line); background: var(--panel);
}
.av-domain .u { color: var(--ink); }
.av-domain .tag { color: var(--faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding-left: 9px; border-left: 1px solid var(--line-hi); }
.av-domain.viv { border-color: oklch(0.69 0.05 46 / .3); }
.av-domain.viv .tag { color: var(--life-soft); }

/* ============ cards / choices ============ */
.av-cards { display: grid; gap: 12px; margin-top: 26px; }
.av-cards.cols-1 { grid-template-columns: 1fr; }
.av-cards.cols-2 { grid-template-columns: 1fr 1fr; }
.av-card {
  position: relative; text-align: left; cursor: pointer; font-family: var(--font-body);
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px; transition: all .18s ease; color: var(--ink);
}
.av-card:hover { border-color: var(--line-hi); background: var(--panel-2); transform: translateY(-1px); }
.av-card.sel { border-color: var(--gold-deep); background: var(--gold-glow); }
.av-card.sel::after { content: ''; position: absolute; top: 16px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow); }
.av-card-t { font-size: 16px; color: var(--cream); line-height: 1.3; }
.av-card-sub { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.av-hot { position: absolute; top: 14px; right: 14px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border: 1px solid oklch(0.70 0.045 172 / .4); border-radius: 99px; padding: 3px 8px; }

/* ============ chips ============ */
.av-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.av-chip {
  font-family: var(--font-body); font-size: 13.5px; color: var(--muted); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px;
  transition: all .16s ease;
}
.av-chip:hover { border-color: var(--line-hi); color: var(--ink); }
.av-chip.on { background: var(--gold-glow); border-color: var(--gold-deep); color: var(--gold); }
.av-chip.on.teal { background: oklch(0.70 0.045 172 / .12); border-color: oklch(0.70 0.045 172 / .5); color: var(--teal); }

/* ============ inputs ============ */
.av-field { margin-top: 18px; }
.av-label { display: block; font-size: 13.5px; color: var(--faint); margin-bottom: 8px; letter-spacing: .01em; }
.av-label b { color: var(--ink); font-weight: 500; }
.av-input, .av-textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-hi); border-radius: 11px;
  padding: 13px 16px; outline: none; transition: border-color .18s; resize: vertical;
}
.av-input:focus, .av-textarea:focus { border-color: var(--gold-deep); background: var(--panel-2); }
.av-textarea { min-height: 108px; line-height: 1.5; }
.av-textarea.tall { min-height: 168px; }
.av-input::placeholder, .av-textarea::placeholder { color: var(--faint); }
.av-helpers { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 14px; }
.av-helpers .lbl { font-size: 12.5px; color: var(--faint); }
.av-help-pill { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line-hi); border-radius: 99px; padding: 5px 12px; }

/* ============ Art presence ============ */
.av-art-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.av-art-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1.5px solid oklch(0.745 0.084 var(--acc-h) / .5); flex: none; }
.av-art-id { display: flex; flex-direction: column; line-height: 1.2; }
.av-art-name { font-family: var(--font-display); font-size: 18px; color: var(--cream); font-weight: 600; }
.av-art-role { font-size: 11px; color: var(--gold-soft); letter-spacing: .02em; }

.av-synth {
  background: radial-gradient(120% 130% at 0 0, var(--gold-glow), transparent 56%), var(--panel-2);
  border: 1px solid var(--line-hi); border-left: 2px solid var(--gold-deep); border-radius: 14px;
  padding: 20px 22px; margin-top: 22px;
}
.av-synth.teal { background: radial-gradient(120% 130% at 0 0, oklch(0.70 0.045 172 / .08), transparent 56%), var(--panel-2); border-left-color: oklch(0.70 0.045 172 / .5); }
.av-synth-text { color: var(--ink); font-size: 16px; line-height: 1.62; margin: 0; text-wrap: pretty; }
.av-synth-text + .av-synth-text { margin-top: 10px; }

.av-mini-synth { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; animation: avFade .4s ease both; }
.av-mini-synth img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 1px; }
.av-mini-synth p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }

/* effect line — Wirkungssprache, engine names hidden */
.av-effect { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.av-effect .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex: none; animation: avPulse 2.4s ease-in-out infinite; }
@keyframes avPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.av-effect .tx { flex: 1; min-width: 200px; }
.av-effect-info { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body); font-size: 12px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0; }
.av-effect-info:hover { color: var(--teal); }

/* notes */
.av-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 14px; line-height: 1.55; }
.av-note svg { flex: none; margin-top: 1px; color: var(--faint); }
.av-note b { color: var(--ink); font-weight: 500; }
.av-note.teal { border-color: oklch(0.70 0.045 172 / .3); } .av-note.teal svg { color: var(--teal); }
.av-note.life { border-color: oklch(0.69 0.05 46 / .3); } .av-note.life svg { color: var(--life-soft); }

/* ============ Life Fit rail (cross-cutting lens) ============ */
.av-lifefit {
  margin-top: 22px; border: 1px solid oklch(0.69 0.05 46 / .26); border-radius: 13px;
  background: radial-gradient(120% 120% at 100% 0, oklch(0.69 0.05 46 / .06), transparent 60%), var(--panel);
  padding: 15px 18px;
}
.av-lifefit .lf-top { display: flex; align-items: center; gap: 9px; }
.av-lifefit .lf-eye { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--life-soft); }
.av-lifefit .lf-lens { margin-left: auto; font-size: 11px; color: var(--faint); font-style: italic; }
.av-lifefit .lf-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.av-lifefit .lf-chips span { font-size: 12px; color: var(--life-soft); border: 1px solid oklch(0.69 0.05 46 / .28); border-radius: 99px; padding: 4px 11px; }

/* ============ wheel ============ */
.av-wheel-stage { position: relative; max-width: 560px; margin: 28px auto 0; }
.aw-svg { width: 100%; height: auto; display: block; overflow: visible; }
.aw-div { stroke: rgba(255,255,255,.4); stroke-width: 1.1; pointer-events: none; }
.aw-labels text, .aw-phase, .aw-rays, .aw-flow-g { pointer-events: none; }
.aw-lab { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: .1em; }
.aw-lab-c { fill: #efe7d4; }
.aw-lab-f { fill: #4a3c1c; }
.aw-phase { font-family: var(--font-body); font-weight: 600; font-size: 25px; letter-spacing: .4em; }
.aw-phase-c { fill: var(--teal); }
.aw-phase-f { fill: #cda85f; }
.aw-flow, .aw-flow-head { fill: none; stroke: #cda85f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.aw-ray { stroke: rgba(120,100,60,.5); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.aw-seg { cursor: pointer; outline: none; transition: opacity .25s, filter .2s; }
.aw-seg:hover { filter: brightness(1.09); }
/* dim resting fields */
.aw-svg.av-dim .aw-seg { opacity: .28; }
.aw-svg.av-dim .aw-seg.av-on { opacity: 1; }
.aw-svg.av-dim .aw-lab { opacity: .34; }
.aw-svg.av-dim .aw-lab.av-on { opacity: 1; }
.aw-seg.av-sel { filter: brightness(1.14) drop-shadow(0 0 10px oklch(0.745 0.084 var(--acc-h) / .5)); }

/* Life Fit ring drawn around the wheel */
.av-lens-ring { position: absolute; inset: -3% ; pointer-events: none; }
.av-lens-ring svg { width: 100%; height: 100%; overflow: visible; }
.av-lens-ring circle { fill: none; stroke: oklch(0.69 0.05 46 / .4); stroke-width: 1.4; stroke-dasharray: 3 9; animation: lensSpin 120s linear infinite; transform-origin: center; }
@keyframes lensSpin { to { transform: rotate(360deg); } }
.av-lens-tag { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--life-soft); background: var(--bg-deep); padding: 2px 10px; border-radius: 99px; border: 1px solid oklch(0.69 0.05 46 / .3); }
@media (prefers-reduced-motion: reduce) { .av-lens-ring circle { animation: none; } }

.av-wheel-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.av-wheel-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-sw { width: 13px; height: 13px; border-radius: 4px; }
.lg-sw.founder { background: linear-gradient(135deg, #f7e6ad, #e29a18); }
.lg-sw.venture { background: linear-gradient(135deg, #5d5047, #c5bcb1); }
.lg-sw.life { background: transparent; border: 1.5px dashed var(--life); border-radius: 50%; }

/* ============ four ArtsUp phases · remembering layer ============ */
.av-phaseband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 6px; text-align: left; }
.av-phase {
  position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); text-align: left;
  border: 1px solid var(--line); border-top: 2px solid var(--gold-deep); border-radius: 13px;
  background: linear-gradient(180deg, var(--gold-glow), transparent 62%), var(--panel);
  padding: 16px 17px 15px; transition: border-color .2s, background .2s, transform .2s;
}
.av-phase:hover { border-color: var(--line-hi); border-top-color: var(--gold); transform: translateY(-2px); }
.av-phase.open { border-top-color: var(--gold); background: linear-gradient(180deg, var(--gold-glow), transparent 74%), var(--panel-2); }
.av-phase .ph-no { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--faint); }
.av-phase .ph-word { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: var(--cream); letter-spacing: -.01em; }
.av-phase .ph-word b { color: var(--gold); font-weight: 500; }
.av-phase .ph-lead { font-size: 14px; color: var(--muted); letter-spacing: .01em; }
.av-phase .ph-qs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s ease, opacity .24s ease, margin-top .28s ease; }
.av-phase .ph-qs > li { min-height: 0; overflow: hidden; }
.av-phase.open .ph-qs { grid-template-rows: 1fr; opacity: 1; margin-top: 4px; }
.av-phase .ph-qs li { font-size: 12.5px; color: var(--faint); line-height: 1.45; padding: 5px 0 0 12px; position: relative; }
.av-phase .ph-qs li::before { content: ''; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-deep); }
.av-phaseband-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--faint); margin: 4px auto 26px; max-width: 62ch; line-height: 1.6; }

/* field detail popover under the wheel */
.av-fielddetail { margin-top: 20px; border: 1px solid var(--line-hi); border-radius: 14px; background: var(--panel-2); padding: 18px 20px; min-height: 96px; transition: border-color .25s; }
.av-fielddetail.founder { border-left: 2px solid var(--gold-deep); }
.av-fielddetail.venture { border-left: 2px solid oklch(0.70 0.045 172 / .5); }
.av-fielddetail .fd-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.av-fielddetail .fd-name { font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--cream); }
.av-fielddetail .fd-canon { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold-soft); }
.av-fielddetail.venture .fd-canon { color: var(--teal); }
.av-fielddetail .fd-group { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.av-fielddetail .fd-mean { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 10px 0 0; }

/* ============ founder check / checkout ============ */
.av-checkpanel {
  margin-top: 8px; border: 1px solid var(--gold-deep); border-radius: 18px;
  background: radial-gradient(140% 120% at 0 0, var(--gold-glow), transparent 58%), var(--panel-2);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.av-checkpanel .cp-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.av-checkpanel .cp-name { font-family: var(--font-display); font-size: 30px; color: var(--cream); line-height: 1; }
.av-checkpanel .cp-eye { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.av-checkpanel .cp-tag { font-family: var(--font-mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line-hi); border-radius: 99px; padding: 6px 12px; }
.av-checkpanel .cp-lede { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 14px 0 0; }
.av-included { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.av-included li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.av-included .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-glow); border: 1px solid var(--gold-deep); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.av-checkout-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.av-price-note { color: var(--faint); font-size: 13px; max-width: 40ch; line-height: 1.5; }

/* ============ snapshot ============ */
.av-snapshot { margin-top: 8px; border: 1px solid var(--line-hi); border-radius: 18px; background: var(--panel-2); padding: 26px 28px; }
.av-snap-arc { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.av-snap-seg { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.av-snap-seg:first-child { border-top: 0; }
.av-snap-seg .n { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold); font-family: var(--font-mono); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.av-snap-seg .q { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.av-snap-seg .a { color: var(--ink); font-size: 15.5px; line-height: 1.5; margin: 0; }
.av-snap-seg .a b { color: var(--cream); font-weight: 600; }

/* ============ envision preview / validate plan ============ */
.av-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.av-prev { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 15px 16px; display: flex; flex-direction: column; gap: 5px; }
.av-prev .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.av-prev .v { color: var(--cream); font-size: 15px; font-weight: 500; line-height: 1.25; }
.av-prev .d { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.av-plan { margin-top: 20px; border: 1px solid var(--line-hi); border-radius: 16px; overflow: hidden; }
.av-plan-row { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); align-items: start; }
.av-plan-row:first-child { border-top: 0; }
.av-plan-row .k { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.av-plan-row .k svg { color: var(--teal); flex: none; }
.av-plan-row .v { color: var(--ink); font-size: 15px; line-height: 1.5; }
.av-plan-row .v.big { color: var(--cream); font-size: 17px; font-weight: 500; }

/* spec pills */
.av-spec { margin-top: 20px; border: 1px dashed var(--line-hi); border-radius: 13px; padding: 16px 18px; }
.av-spec .lbl { font-size: 13px; color: var(--faint); line-height: 1.5; }
.av-spec-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.av-spec-pills span { font-family: var(--font-mono); font-size: 12px; color: var(--teal); border: 1px solid oklch(0.70 0.045 172 / .35); border-radius: 99px; padding: 5px 12px; }

/* ============ saved / next ============ */
.av-saved { display: flex; gap: 15px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border: 1px solid oklch(0.70 0.045 172 / .3); border-radius: 14px; background: radial-gradient(120% 120% at 0 0, oklch(0.70 0.045 172 / .06), transparent 60%), var(--panel); }
.av-saved .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: oklch(0.70 0.045 172 / .12); border: 1px solid oklch(0.70 0.045 172 / .4); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.av-saved b { color: var(--cream); font-size: 16px; display: block; }
.av-saved p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 6px 0 0; }
.av-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.av-next { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px 18px; }
.av-next .when { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.av-next .what { display: block; color: var(--cream); font-size: 15.5px; margin: 8px 0 4px; }
.av-next .why { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ============ personal art threshold ============ */
.av-threshold { text-align: center; border: 1px solid oklch(0.69 0.05 46 / .35); border-radius: 20px; background: radial-gradient(130% 120% at 50% 0, oklch(0.69 0.05 46 / .08), transparent 60%), var(--panel-2); padding: 34px 30px; }
.av-threshold .orb { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; background: oklch(0.69 0.05 46 / .12); border: 1px solid oklch(0.69 0.05 46 / .4); color: var(--life-soft); display: flex; align-items: center; justify-content: center; }
.av-membership-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--life-soft); border: 1px solid oklch(0.69 0.05 46 / .3); border-radius: 99px; padding: 6px 13px; }

/* inbox (magic link) reuse for account */
.av-inbox { text-align: center; border: 1px solid var(--line-hi); border-radius: 20px; background: var(--panel-2); padding: 34px 30px; }
.av-inbox .orb { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px; background: var(--gold-glow); border: 1px solid var(--gold-deep); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.av-mail-to { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 14px; color: var(--cream); border: 1px solid var(--line-hi); border-radius: 10px; padding: 9px 16px; }

/* carry-over block */
.av-carry { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px 20px; }
.av-carry .ck { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.av-quote { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink); margin: 12px 0 0; padding-left: 14px; border-left: 2px solid var(--gold-deep); }
.av-carry .cart { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.av-carry .cart img { width: 24px; height: 24px; border-radius: 50%; flex: none; }

/* ============ roadmap ============ */
.av-roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.av-rm { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); padding: 18px 20px; }
.av-rm.full { grid-column: 1 / -1; border-style: dashed; }
.av-rm .rtop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.av-rm .rname { font-family: var(--font-display); font-size: 21px; color: var(--cream); }
.av-rm .rph { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.av-rm .rdesc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 10px 0 0; }

/* ============ landing (00) ============ */
.avl { min-height: 100vh; display: flex; flex-direction: column; }
.avl-nav { display: flex; align-items: center; gap: 20px; padding: 20px 34px; border-bottom: 1px solid var(--line); }
.avl-brand { display: flex; align-items: center; gap: 11px; }
.avl-brand img { height: 30px; width: auto; object-fit: contain; }
.avl-brand .n { font-size: 19px; color: var(--cream); }
.avl-brand .n b { color: var(--gold-soft); font-weight: 500; }
.avl-links { display: flex; gap: 26px; margin-left: auto; }
.avl-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.avl-links a:hover { color: var(--cream); }
.avl-login { color: var(--gold-soft) !important; border: 1px solid var(--gold-deep); border-radius: 9px; padding: 6px 15px; }
.avl-login:hover { color: var(--gold) !important; border-color: var(--gold); background: var(--gold-glow); }
.avl-stance { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 46ch; }
.avl-stance span { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-soft); margin-right: 6px; }
.avl-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 80vh; max-width: none; margin: 0; padding: 60px clamp(34px, 8vw, 120px); width: 100%; }
.avl-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 42%; z-index: -2; }
.avl-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,12,26,.93) 0%, rgba(8,12,26,.84) 40%, rgba(8,12,26,.5) 72%, rgba(8,12,26,.34) 100%), linear-gradient(0deg, rgba(8,12,26,.72), transparent 46%); }
.avl-hero-copy { max-width: 680px; }
.avl-triadstrip { max-width: 1180px; margin: 0 auto; padding: 30px 34px 0; }
.avl-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.avl-eye { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--av-orange-soft); }
.avl-tagline { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--av-orange); margin: 16px 0 0; }
.avl-title { font-family: var(--font-display); font-weight: 500; color: var(--cream); font-size: clamp(44px, 5.4vw, 74px); line-height: 1.05; letter-spacing: -.015em; margin: 20px 0 0; }
.avl-title .g { color: var(--gold); }
.avl-sub { color: var(--muted); font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 24px 0 0; }
.avl-micro { font-family: var(--font-mono); font-size: 13px; color: var(--faint); margin: 18px 0 0; }
.avl-cta { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.avl-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.avl-tri { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 22px 24px; }
.avl-tri.founder { border-left: 3px solid var(--gold-deep); }
.avl-tri.venture { border-left: 3px solid oklch(0.70 0.045 172 / .55); }
.avl-tri.life { border-left: 3px solid oklch(0.69 0.05 46 / .5); }
.avl-tri .te { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.avl-tri.founder .te { color: var(--gold-soft); }
.avl-tri.venture .te { color: var(--teal); }
.avl-tri.life .te { color: var(--life-soft); }
.avl-tri .tt { color: var(--cream); font-size: 17px; margin: 8px 0 0; }
.avl-tri .td { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 6px 0 0; }
.avl-thesis { max-width: 1180px; margin: 0 auto; padding: 0 34px 60px; width: 100%; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: stretch; }
.avl-thesis-img { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-hi); box-shadow: var(--shadow); }
.avl-thesis-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
.avl-thesis .box { border: 1px solid var(--line-hi); border-radius: 18px; background: var(--panel); padding: 30px 34px; display: flex; align-items: center; }
.avl-thesis p { font-family: var(--font-display); font-style: italic; color: var(--ink); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.45; margin: 0; text-wrap: pretty; }
.avl-thesis p b { color: var(--gold-soft); font-style: normal; font-weight: 500; }

/* ---- full-bleed editorial image band ---- */
.avl-band-img { position: relative; margin: 8px 0 0; width: 100%; height: clamp(320px, 42vw, 520px); overflow: hidden; }
.avl-band-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avl-band-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 34px 34px; background: linear-gradient(0deg, rgba(8,12,26,.86), rgba(8,12,26,.36) 55%, transparent); }
.avl-band-img figcaption p { max-width: 1180px; margin: 8px auto 0; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 32px); line-height: 1.28; color: var(--cream); text-wrap: pretty; }
.avl-band-img figcaption .avl-eye { max-width: 1180px; margin: 0 auto; }

/* ---- landing scroll sections ---- */
html { scroll-behavior: smooth; }
.avl-sec { max-width: 1180px; margin: 0 auto; padding: 68px 34px; width: 100%; scroll-margin-top: 24px; }
.avl-sec.dark { max-width: none; width: 100%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.28) 12%, rgba(0,0,0,.28) 88%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avl-sec.dark .avl-sec-head, .avl-wrap { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 34px; padding-right: 34px; }
.avl-sec-head { max-width: 720px; }
.avl-sec.dark .avl-sec-head { margin-bottom: 8px; }
.avl-sec-h { font-family: var(--font-display); font-weight: 500; color: var(--cream); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.01em; margin: 14px 0 0; text-wrap: balance; }
.avl-sec-h .g { color: var(--gold); }
.avl-sec-sub { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 56ch; margin: 16px 0 0; text-wrap: pretty; }

/* three fits (deep) */
.avl-fitgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.avl-fit { border: 1px solid var(--line); border-top: 3px solid var(--gold-deep); border-radius: 16px; background: var(--panel); padding: 24px 24px 22px; display: flex; flex-direction: column; }
.avl-fit.venture { border-top-color: oklch(0.70 0.045 172 / .6); }
.avl-fit.life { border-top-color: oklch(0.69 0.05 46 / .55); }
.avl-fit .fit-eye { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.avl-fit.venture .fit-eye { color: var(--teal); }
.avl-fit.life .fit-eye { color: var(--life-soft); }
.avl-fit .fit-q { font-family: var(--font-display); font-size: 22px; color: var(--cream); line-height: 1.15; margin: 10px 0 0; }
.avl-fit .fit-d { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 12px 0 0; }
.avl-fit .fit-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.avl-fit .fit-chips span { font-size: 12.5px; color: var(--ink); border: 1px solid var(--line-hi); border-radius: 99px; padding: 5px 12px; }
.avl-fit.life .fit-chips span { color: var(--life-soft); border-color: oklch(0.69 0.05 46 / .3); }
.avl-fit .fit-lens { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--faint); }
.avl-wrap { margin-top: 8px; }

/* founder check */
.avl-checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.avl-included { list-style: none; padding: 26px 28px; margin: 0; display: grid; gap: 13px; border: 1px solid var(--gold-deep); border-radius: 18px; background: radial-gradient(140% 120% at 0 0, var(--gold-glow), transparent 58%), var(--panel-2); box-shadow: var(--shadow); }
.avl-included li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 1.45; }
.avl-included .ck { flex: none; width: 21px; height: 21px; border-radius: 50%; background: var(--gold-glow); border: 1px solid var(--gold-deep); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* closing CTA */
.avl-final { position: relative; text-align: center; padding: 96px 34px 104px; overflow: hidden; isolation: isolate; }
.avl-final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.avl-final::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,12,26,.72), rgba(8,12,26,.58) 45%, rgba(8,12,26,.9)); }
.avl-final-inner { max-width: 900px; margin: 0 auto; }
.avl-final-sub { color: rgba(239,231,212,.86); font-size: 17px; line-height: 1.6; max-width: 52ch; margin: 16px auto 0; text-wrap: pretty; }
.avl-final-h { font-family: var(--font-display); font-weight: 500; color: #fbf6ea; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.015em; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.avl-final-h .g { color: var(--gold); }
.av-btn.ghost.light { color: #fbf6ea; border-color: rgba(255,255,255,.4); }
.av-btn.ghost.light:hover { border-color: #fbf6ea; background: rgba(255,255,255,.08); }

/* footer */
.avl-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 30px 34px 44px; width: 100%; border-top: 1px solid var(--line); }
.avl-foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.avl-foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.avl-foot-links a:hover { color: var(--cream); }
.avl-foot-note { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--faint); display: flex; align-items: center; gap: 14px; }
.avl-foot-note span { color: var(--gold-soft); }
.avl-foot-note a { color: var(--muted); text-decoration: none; border-left: 1px solid var(--line-hi); padding-left: 14px; }
.avl-foot-note a:hover { color: var(--cream); }

/* ============ drawers (info + map) ============ */
.av-backdrop { position: fixed; inset: 0; background: rgba(6,10,22,.66); backdrop-filter: blur(2px); z-index: 60; animation: avFade .2s ease; }
.av-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 90vw; z-index: 61; background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border-left: 1px solid var(--line-hi); display: flex; flex-direction: column; box-shadow: -30px 0 70px -30px rgba(0,0,0,.8); animation: avSlide .26s ease; }
@keyframes avSlide { from { transform: translateX(30px); opacity: .5; } to { transform: none; opacity: 1; } }
.av-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.av-drawer-top .t { font-family: var(--font-display); font-size: 21px; color: var(--cream); display: flex; flex-direction: column; }
.av-drawer-top .t span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--faint); margin-top: 3px; }
.av-drawer-x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 4px; }
.av-drawer-x:hover { color: var(--cream); }
.av-drawer-body { padding: 20px 22px; overflow-y: auto; }
.av-info-intro { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.av-info-row { padding: 13px 0; border-top: 1px solid var(--line); }
.av-info-row:first-child { border-top: 0; }
.av-info-row .nm { display: block; color: var(--cream); font-size: 14.5px; font-weight: 500; }
.av-info-row .ds { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }

.av-map-sec { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 18px 0 8px; }
.av-map-item { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-family: var(--font-body); font-size: 14px; transition: all .15s; }
.av-map-item:hover { background: var(--panel-2); color: var(--cream); }
.av-map-item.on { background: var(--gold-glow); color: var(--gold); }
.av-map-item.done { color: var(--ink); }
.av-map-item.future { opacity: .5; }
.av-map-no { font-family: var(--font-mono); font-size: 11px; color: var(--faint); width: 22px; flex: none; }
.av-map-item.on .av-map-no { color: var(--gold); }

/* tweak swatches */
.av-tw-sw-row { display: flex; gap: 8px; }
.av-tw-sw { width: 30px; height: 30px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: transform .15s; }
.av-tw-sw:hover { transform: scale(1.08); }
.av-tw-sw.on { border-color: var(--cream); }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .avl-hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 48px 24px; }
  .avl-triad { grid-template-columns: 1fr; }
  .av-cards.cols-2 { grid-template-columns: 1fr; }
  .av-preview-grid { grid-template-columns: 1fr; }
  .av-next-grid, .av-roadmap { grid-template-columns: 1fr; }
  .av-plan-row { grid-template-columns: 1fr; gap: 6px; }
  .av-phaseband { grid-template-columns: 1fr 1fr; }
  .avl-fitgrid { grid-template-columns: 1fr; }
  .avl-thesis { grid-template-columns: 1fr; }
  .avl-checkgrid { grid-template-columns: 1fr; gap: 30px; }
  .avl-foot-note { margin-left: 0; }
}
@media (max-width: 560px) {
  .av-phaseband { grid-template-columns: 1fr; }
  .avl-links { gap: 16px; flex-wrap: wrap; }
}
