:root{
  --bg:#f8f4ea;
  --fg:#141414;
  --muted:rgba(20,20,20,.52);
  
    /* Genesis Semantic Labels
     block = show labels
     none  = hide labels (recommended)
  */
  --show-semantic-labels:none;
  
  --line:rgba(20,20,20,.12);
  --gold:#a47728;
  --dark:#101010;
  --dark-fg:#f7f0e2;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-cn:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{height:100%;scroll-behavior:smooth;scroll-snap-type:y mandatory;overflow-y:scroll}
body{min-height:100%;font-family:var(--font);background:var(--bg);color:var(--fg);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body.lang-zh-my{font-family:var(--font-cn)}
a{color:inherit;text-decoration:none}

.asl-root{min-height:100svh}
.loading{min-height:100svh;display:grid;place-items:center;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px}

.scene{
  height:100svh;
  width:100%;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:72px 24px;
  position:relative;
  overflow:hidden;
  background:var(--bg);
  color:var(--fg);
}
.scene.dark{background:var(--dark);color:var(--dark-fg)}
.scene.gold{background:#a47728;color:#fff8eb}
.scene.soft{background:#fffaf0;color:#141414}
.scene::after{content:"";position:absolute;inset:auto 24px 18px;height:1px;background:var(--line);opacity:.2}
.scene.dark::after,.scene.gold::after{background:rgba(255,255,255,.18)}

.scene-inner{width:min(760px,100%);position:relative;z-index:1}
.kicker{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:26px}
.dark .kicker{color:#d8bd73}.gold .kicker{color:rgba(255,255,255,.72)}

h1,.headline{font-size:clamp(44px,10vw,104px);line-height:.96;letter-spacing:-.075em;font-weight:800;max-width:940px}
h2,.subhead{font-size:clamp(34px,8vw,78px);line-height:1.03;letter-spacing:-.065em;font-weight:800;max-width:860px}
p,.body-text{font-size:clamp(24px,5vw,46px);line-height:1.18;letter-spacing:-.045em;font-weight:520;max-width:760px}
.small{font-size:clamp(18px,3.2vw,28px);line-height:1.35;letter-spacing:-.03em;color:var(--muted);font-weight:500;max-width:680px}.dark .small{color:rgba(247,240,226,.66)}
.gold-text{color:var(--gold)}.dark .gold-text{color:#d8bd73}.gold .gold-text{color:#fff}
.stack{display:grid;gap:20px}.center{text-align:center;margin-inline:auto}.right{text-align:right;margin-left:auto}
.quote{border-left:4px solid var(--gold);padding-left:22px}.dark .quote{border-color:#d8bd73}.gold .quote{border-color:rgba(255,255,255,.85)}

.topbar{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(20,20,20,.46);pointer-events:none}.on-dark .topbar{color:rgba(247,240,226,.54)}
.progress{position:fixed;left:0;right:0;bottom:0;height:3px;background:rgba(0,0,0,.08);z-index:60}.progress-bar{height:100%;width:0;background:var(--gold);transition:width .2s ease}.on-dark .progress{background:rgba(255,255,255,.12)}
.nav-hint{position:fixed;right:18px;bottom:18px;z-index:70;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(20,20,20,.35);pointer-events:none}.on-dark .nav-hint{color:rgba(247,240,226,.35)}

.library-page{background:#f8f4ea;min-height:100svh}.library-shell{width:min(920px,100%);margin:0 auto;padding:72px 24px}.library-shell h1{margin-bottom:18px}.library-intro{font-size:clamp(22px,4vw,38px);line-height:1.15;color:rgba(20,20,20,.65);max-width:680px}.note-list{display:grid;gap:16px;margin-top:54px}.note-card{display:grid;gap:8px;padding:24px;border:1px solid rgba(20,20,20,.12);border-radius:24px;background:rgba(255,255,255,.38);transition:transform .2s ease,border-color .2s ease}.note-card:hover{transform:translateY(-3px);border-color:rgba(20,20,20,.28)}.note-card strong{font-size:26px;letter-spacing:-.04em}.note-card span:last-child{color:rgba(20,20,20,.58)}.note-id{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700}.library-footer{margin-top:72px;font-size:12px;color:rgba(20,20,20,.42)}

@media (min-width:900px){.scene{padding:96px 72px}.topbar{padding:22px 32px}.nav-hint{right:28px;bottom:24px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.progress-bar,.note-card{transition:none}}

/* Genesis B002 */
.topbar .library-link{pointer-events:auto;transition:opacity .2s ease}.topbar .library-link:hover{opacity:.62}
.continue-list{display:grid;gap:12px;margin-top:18px;width:min(520px,100%)}
.continue-card{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:18px 20px;font-size:clamp(18px,3.6vw,28px);letter-spacing:-.035em;color:var(--dark-fg);background:rgba(255,255,255,.04);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.continue-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.07)}
.library-end-link{width:max-content;margin-top:8px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:rgba(247,240,226,.62);border-bottom:1px solid rgba(247,240,226,.28);padding-bottom:4px}
.build-tag{position:fixed;left:18px;bottom:18px;z-index:65;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:rgba(20,20,20,.28);pointer-events:none}.on-dark .build-tag{color:rgba(247,240,226,.28)}
@media (max-width:640px){.build-tag{display:none}.continue-list{gap:10px}.continue-card{border-radius:18px;padding:16px 18px}}


/* Genesis B003 */
.library-grid-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.library-chip{font-size:11px;letter-spacing:.08em;text-transform:uppercase;border:1px solid rgba(20,20,20,.12);border-radius:999px;padding:5px 9px;color:rgba(20,20,20,.48)}
.note-card .note-desc{font-size:15px;line-height:1.45;letter-spacing:-.02em;color:rgba(20,20,20,.55);max-width:640px}
.continue-card small{display:block;font-size:13px;letter-spacing:.02em;color:rgba(247,240,226,.48);margin-top:4px}
.continue-card{align-items:center}


/* Genesis B004 - Library Experience */
.library-shell{padding-top:88px;padding-bottom:52px}
.library-shell .kicker{margin-bottom:18px}
.library-intro{margin-top:8px;max-width:620px}
.library-section{margin-top:58px}
.library-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px;border-bottom:1px solid rgba(20,20,20,.1);padding-bottom:16px}
.library-section-head h2{font-size:clamp(22px,4vw,34px);letter-spacing:-.045em;line-height:1.05}
.library-section-head span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:rgba(20,20,20,.42);white-space:nowrap}
.note-list{margin-top:0;gap:14px}
.note-card{border-radius:26px;padding:26px 28px;background:rgba(255,255,255,.28);box-shadow:0 0 0 rgba(0,0,0,0)}
.note-card strong{font-size:clamp(24px,3.6vw,34px);line-height:1.05;letter-spacing:-.055em}
.note-card span{font-size:clamp(16px,2.4vw,20px);line-height:1.35;color:rgba(20,20,20,.62)}
.note-card .note-desc{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:rgba(20,20,20,.42);margin-top:6px}
.note-card:hover{transform:translateY(-4px);border-color:rgba(20,20,20,.22);background:rgba(255,255,255,.48);box-shadow:0 18px 50px rgba(20,20,20,.06)}
.library-actions{border-top:1px solid rgba(20,20,20,.1);padding-top:26px;margin-top:48px}
.surprise-link{display:inline-flex;font-size:clamp(22px,4vw,34px);line-height:1;letter-spacing:-.045em;font-weight:750;color:var(--fg);transition:opacity .2s ease,transform .2s ease}
.surprise-link:hover{opacity:.68;transform:translateX(4px)}
.library-footer{margin-top:64px}
@media (max-width:640px){.library-shell{padding:64px 20px 44px}.library-section{margin-top:46px}.library-section-head{align-items:start;flex-direction:column;gap:8px}.note-card{padding:22px;border-radius:22px}}

/* Genesis B005 - Library Discovery + ASL Markup Intents */
.intent-emphasis p:first-child,
.intent-question p:first-child{color:var(--gold)}
.intent-release p{font-size:clamp(38px,8vw,88px);line-height:.98;letter-spacing:-.07em;font-weight:800}
.intent-question .scene-inner::before{content:"?";display:block;color:var(--gold);font-size:12px;letter-spacing:.2em;font-weight:800;margin-bottom:18px}
.intent-reflection .scene-inner{border-left:4px solid var(--gold);padding-left:22px}
.library-empty{font-size:18px;color:rgba(20,20,20,.48);letter-spacing:-.02em}


/* Genesis B006 - Make the Library Breathe */
h1,.headline{letter-spacing:-.03em}
h2,.subhead{letter-spacing:-.03em}
p,.body-text{letter-spacing:-.03em}
.intent-release p{letter-spacing:-.03em}

.library-shell{padding-top:64px;padding-bottom:48px}
.library-shell .kicker{margin-bottom:14px}
.library-shell h1{font-size:clamp(42px,8vw,86px);letter-spacing:-.03em;margin-bottom:16px}
.library-intro{font-size:clamp(20px,3vw,26px);line-height:1.18;letter-spacing:-.02em;max-width:620px;color:rgba(20,20,20,.58)}
.library-section{margin-top:44px}
.library-section-head{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid rgba(20,20,20,.09)}
.library-section-head-minimal{justify-content:flex-start}
.library-section-head-minimal span{font-size:14px;letter-spacing:0;text-transform:none;color:rgba(20,20,20,.48);font-weight:600}
.note-list{gap:20px;margin-top:0}
.note-card{gap:10px;padding:26px;border-color:rgba(20,20,20,.10);background:rgba(255,255,255,.34);box-shadow:none}
.note-card strong{letter-spacing:-.03em;font-weight:760}
.note-card span{letter-spacing:-.015em;color:rgba(20,20,20,.58)}
.note-card .note-desc{letter-spacing:.045em;color:rgba(20,20,20,.38)}
.note-card:hover{transform:translateY(-2px);border-color:rgba(20,20,20,.18);background:rgba(255,255,255,.44);box-shadow:0 12px 36px rgba(20,20,20,.045)}
.surprise-link{letter-spacing:-.03em}
.library-footer{margin-top:56px;color:rgba(20,20,20,.34)}
.continue-card{letter-spacing:-.03em}
.continue-card small{opacity:.85}

@media (max-width:640px){
  .library-shell{padding:54px 20px 42px}
  .library-section{margin-top:38px}
  .library-intro{font-size:20px}
  .library-collection-intro{font-size:20px}
  .note-list{gap:18px}
}


/* Genesis B006.1 locale selector */
.locale-switcher{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto}
.locale-switcher button{appearance:none;border:1px solid rgba(20,20,20,.14);background:rgba(255,255,255,.34);border-radius:999px;padding:8px 12px;font:inherit;font-size:12px;font-weight:700;letter-spacing:.04em;color:rgba(20,20,20,.54);cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}
.locale-switcher button:hover{transform:translateY(-1px);border-color:rgba(20,20,20,.28);color:rgba(20,20,20,.78)}
.locale-switcher button.is-active{background:rgba(20,20,20,.9);border-color:rgba(20,20,20,.9);color:#fff}

.collection-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 1rem 0 1.75rem;
}

.collection-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.48;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.collection-switcher button:hover {
  opacity: 0.8;
}

.collection-switcher button.is-active {
  opacity: 1;
  font-weight: 600;
}

.collection-switcher button:active {
  transform: translateY(1px);
}


.collection-switcher button.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.35rem;
  background: currentColor;
  opacity: 0.7;
}

.library-collection-intro {
  margin: 0.5rem 0 1.75rem;
  max-width: 38rem;

  font-size: 1.2rem;
  line-height: 1.65;

  color: rgba(20,20,20,.58);

  transition:
    opacity .18s ease,
    transform .18s ease;
}

@media (max-width: 640px) {
  .collection-switcher {
    gap: 0.65rem 1rem;
    margin: 1rem 0 1.5rem;
  }

  .collection-switcher button {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }
}


@media (max-width:640px){.locale-switcher{margin-left:0}.library-section-head-minimal{gap:12px}}

/* Genesis B007 - ASL-MD Scene Directives */

.scene.hero .scene-inner,
.scene.section .scene-inner{
  text-align:center;
}

.scene.hero h1,
.scene.section h1{
  margin-inline:auto;
}

.scene.hero p,
.scene.section p{
  margin-top:22px;
  margin-inline:auto;
  color:var(--muted);
}

.scene.intent-quote .scene-inner{
  border-left:4px solid var(--gold);
  padding-left:22px;
}

.scene.intent-quote p{
  font-size:clamp(34px,8vw,76px);
  line-height:1.05;
  font-weight:760;
}

.scene.intent-question{
  text-align:center;
}

.scene.intent-question .scene-inner{
  margin-inline:auto;
}

.scene.intent-question p{
  font-size:clamp(36px,9vw,84px);
  line-height:1.02;
  font-weight:800;
}

.scene.intent-pause .scene-inner{
  opacity:.42;
}

.scene.intent-soft{
  background:#fffaf0;
}

.scene.intent-dark{
  background:var(--dark);
  color:var(--dark-fg);
}

.scene.intent-gold{
  background:var(--gold);
  color:#fff8eb;
}

@media (max-width:640px){
  .scene.intent-quote .scene-inner{
    padding-left:18px;
  }

  .scene.hero p,
  .scene.section p{
    margin-top:18px;
  }
}

/* Genesis B010.4 - ASL Render Pipelines
   Markdown expresses intent. Renderer decides layout.

   Mood Pipeline:
   ? = reflection mood
   ! = revelation / impact mood
   > = wisdom / reflection mood

   Layout Pipeline:
   ... = breathing space
   ↓ = progression flow
   = = comparison layout
   + = build-up layout
*/

.intent-question .scene-inner::before{
  content:none;
  display:none;
}

.scene.template-question,
.scene.template-release,
.scene.template-reflection,
.scene.template-pause,
.scene.template-arrow,
.scene.template-equal,
.scene.template-plus{
  position:relative;
  overflow:hidden;
}

/* Mood Pipeline */
.scene.template-question{
  background:
    radial-gradient(
      circle at 18% 50%,
      rgba(164,119,40,.10) 0%,
      rgba(164,119,40,.05) 28%,
      rgba(164,119,40,0) 60%
    ),
    linear-gradient(
      180deg,
      #f8f3e8 0%,
      #f3ebdc 100%
    );
}

.scene.template-release{
  background:
    radial-gradient(
      circle at 82% 48%,
      rgba(164,119,40,.16) 0%,
      rgba(164,119,40,.08) 30%,
      rgba(164,119,40,0) 64%
    ),
    linear-gradient(
      180deg,
      #f8efd8 0%,
      #f1dfb4 100%
    );
}

.scene.template-reflection{
  background:
    linear-gradient(
      180deg,
      #faf6ee 0%,
      #f6efe4 100%
    );
}

.scene.template-question .scene-inner,
.scene.template-release .scene-inner,
.scene.template-reflection .scene-inner,
.scene.template-pause .scene-inner,
.scene.template-arrow .scene-inner,
.scene.template-equal .scene-inner,
.scene.template-plus .scene-inner{
  position:relative;
  z-index:2;
}

.scene-marker{
  position:absolute;
  z-index:0;
  color:var(--gold);
  font-weight:900;
  line-height:1;
  letter-spacing:-.08em;
  opacity:.055;
  user-select:none;
  pointer-events:none;
  will-change:transform;
}

.marker-question{
  font-size:clamp(500px,50vw,780px);
  left:50%;
  top:50%;
  transform:translate(-58%,-50%);
  opacity:.25;
  animation:aslMarkerFloatQuestion 22s ease-in-out infinite;
}

.marker-release{
  font-size:clamp(500px,50vw,780px);
  left:50%;
  top:50%;
  transform:translate(-58%,-50%);
  opacity:.25;
  filter:blur(.35px);
  animation:aslMarkerFloatRelease 18s ease-in-out infinite;
}

/* Wisdom marker uses mood through layout, not a visible watermark. */
.scene.template-reflection .scene-inner{
  border-left:4px solid var(--gold);
  padding-left:clamp(20px,4vw,36px);
}

/* Layout Pipeline */
.scene.template-pause{
  background:
    radial-gradient(
      circle at 50% 46%,
      rgba(164,119,40,.055) 0%,
      rgba(164,119,40,.025) 28%,
      rgba(164,119,40,0) 62%
    ),
    #f9f5ec;
}

.scene.template-pause .scene-inner{
  opacity:.88;
  text-align:center;
}

.scene.template-pause .scene-inner::before{
  content:"• • •";
  display:block;
  margin-bottom:clamp(34px,6vw,68px);
  color:var(--gold);
  font-size:clamp(18px,3vw,32px);
  font-weight:800;
  letter-spacing:.42em;
  opacity:.44;
}

.scene.template-pause p{
  margin-inline:auto;
  color:rgba(20,20,20,.70);
}

.scene.template-arrow{
  background:
    linear-gradient(
      180deg,
      #f8f3ea 0%,
      #f3ecdf 100%
    );
}

.scene.template-arrow .scene-inner{
  text-align:center;
}

.scene.template-arrow p{
  margin-inline:auto;
}

.flow-arrow{
  display:block;
  margin:clamp(14px,3vw,26px) auto;
  color:var(--gold);
  font-size:clamp(30px,6vw,58px);
  font-weight:800;
  line-height:1;
  opacity:.62;
}

.scene.template-equal{
  background:
    linear-gradient(
      180deg,
      #f9f5ec 0%,
      #f4eddf 100%
    );
}

.scene.template-equal .scene-inner{
  border-left:4px solid rgba(164,119,40,.42);
  padding-left:clamp(22px,4vw,40px);
}

.scene.template-equal .scene-inner::before{
  content:"comparison";
  display:var(--show-semantic-labels);
  margin-bottom:clamp(20px,4vw,34px);
  color:rgba(164,119,40,.78);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.compare-divider{
  display:block;
  width:min(160px,34%);
  height:2px;
  margin:clamp(14px,3vw,24px) 0;
  background:rgba(164,119,40,.42);
  font-size:0;
  line-height:0;
}

.scene.template-plus{
  background:
    linear-gradient(
      180deg,
      #f8f2e8 0%,
      #f2e8d6 100%
    );
}

.scene.template-plus .scene-inner{
  border-left:4px solid rgba(164,119,40,.38);
  padding-left:clamp(22px,4vw,40px);
}

.scene.template-plus .scene-inner::before{
  content:"build";
  display:var(--show-semantic-labels);
  margin-bottom:clamp(20px,4vw,34px);
  color:rgba(164,119,40,.78);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.build-plus{
  display:block;
  width:max-content;
  margin:clamp(10px,2vw,18px) 0;
  color:var(--gold);
  font-size:clamp(28px,5vw,52px);
  font-weight:800;
  line-height:1;
  opacity:.68;
}

@keyframes aslMarkerFloatQuestion{
  0%{
    transform:translate(-58%,-50%) translateX(0) scale(1);
  }

  50%{
    transform:translate(-58%,-50%) translateX(12px) scale(1.015);
  }

  100%{
    transform:translate(-58%,-50%) translateX(0) scale(1);
  }
}

@keyframes aslMarkerFloatRelease{
  0%{
    transform:translate(-58%,-50%) translateX(0) scale(1);
  }

  50%{
    transform:translate(-58%,-50%) translateX(-14px) scale(1.015);
  }

  100%{
    transform:translate(-58%,-50%) translateX(0) scale(1);
  }
}

@media (max-width:640px){
  .scene.template-question{
    background:
      radial-gradient(
        circle at 20% 42%,
        rgba(164,119,40,.12) 0%,
        rgba(164,119,40,.05) 30%,
        rgba(164,119,40,0) 62%
      ),
      linear-gradient(
        180deg,
        #f8f3e8 0%,
        #f3ebdc 100%
      );
  }

  .scene.template-release{
    background:
      radial-gradient(
        circle at 78% 44%,
        rgba(164,119,40,.18) 0%,
        rgba(164,119,40,.085) 32%,
        rgba(164,119,40,0) 64%
      ),
      linear-gradient(
        180deg,
        #f8efd8 0%,
        #f1dfb4 100%
      );
  }

  .marker-question{
    font-size:clamp(260px,86vw,420px);
    left:50%;
    top:46%;
    transform:translate(-55%,-50%);
    opacity:.25;
  }

  .marker-release{
    font-size:clamp(260px,88vw,420px);
    left:50%;
    top:46%;
    transform:translate(-55%,-50%);
    opacity:.25;
  }

  .scene.template-reflection .scene-inner,
  .scene.template-equal .scene-inner,
  .scene.template-plus .scene-inner{
    padding-left:20px;
    border-left-width:3px;
  }

  .scene.template-equal .scene-inner::before,
  .scene.template-plus .scene-inner::before{
    margin-bottom:20px;
    font-size:10px;
  }

  .flow-arrow{
    font-size:clamp(28px,12vw,48px);
    margin:18px auto;
  }

  .build-plus{
    font-size:clamp(26px,10vw,44px);
  }
}

@media (min-width:641px) and (max-width:1024px){
  .marker-question,
  .marker-release{
    font-size:clamp(320px,54vw,560px);
    left:50%;
    top:48%;
    transform:translate(-56%,-50%);
  }
}

@media (prefers-reduced-motion:reduce){
  .scene-marker{
    animation:none;
  }
}



/* Genesis B011 - Smart Layout Renderer
   Structural markers no longer behave like visual symbols.
   They become layout intelligence.
*/

.flow-list{
  display:grid;
  justify-items:center;
  gap:clamp(14px,3vw,28px);
  text-align:center;
}

.flow-item{
  font-size:clamp(30px,7vw,72px);
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
  max-width:760px;
}

.flow-connector{
  color:var(--gold);
  font-size:clamp(30px,6vw,56px);
  line-height:1;
  font-weight:800;
  opacity:.62;
}

.comparison-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,5vw,56px);
  width:min(920px,100%);
}

.comparison-side{
  font-size:clamp(30px,7vw,72px);
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
}

.comparison-left{
  text-align:right;
}

.comparison-right{
  text-align:left;
}

.comparison-rule{
  width:3px;
  height:clamp(80px,16vw,180px);
  background:rgba(164,119,40,.42);
  border-radius:999px;
}

.build-list{
  display:grid;
  gap:clamp(16px,3vw,28px);
}

.build-item{
  display:flex;
  align-items:baseline;
  gap:clamp(14px,3vw,24px);
  font-size:clamp(30px,7vw,72px);
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
}

.build-item.is-first{
  padding-left:clamp(40px,7vw,92px);
}

.build-connector{
  color:var(--gold);
  font-weight:900;
  opacity:.72;
  width:clamp(26px,4vw,52px);
  text-align:center;
  flex:0 0 auto;
}

@media (max-width:640px){
  .comparison-layout{
    grid-template-columns:1fr;
    gap:22px;
  }

  .comparison-left,
  .comparison-right{
    text-align:left;
  }

  .comparison-rule{
    width:80px;
    height:3px;
  }

  .build-item.is-first{
    padding-left:0;
  }
}



/* =========================================================
   Genesis B011.1 - Featured Image (Desktop + Mobile)
   Appended after existing CSS. Does not modify prior rules.
   ========================================================= */

.asl-featured{
  width:100%;
  margin:0;
  padding:0;
  background:#101010;
  overflow:hidden;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}

.asl-featured__image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
}

/* Desktop */
@media (min-width:900px){
  .asl-featured{
    height:100svh;
  }

  .asl-featured__image{
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
  }
}

/* Tablet */
@media (min-width:641px) and (max-width:899px){
  .asl-featured{
    aspect-ratio:16/9;
  }

  .asl-featured__image{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}

/* Mobile */
@media (max-width:640px){
  .asl-featured{
    height:auto;
    aspect-ratio:16/9;
  }

  .asl-featured__image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
}


/* Featured image loading state — reserve layout before image loads */
.asl-featured.is-loading{
  visibility:hidden;
}

/* =========================================================
   Genesis V4.1 - Questions / Adaptive Conversation Layout
   Applies only to notes whose ID begins with QUE-.
   #   = title
   ##  = full-screen section transition
   --- = next screen (handled by existing parser)
   ========================================================= */

body.que-note{
  --que-section-bg:#17263a;
  --que-section-fg:#f8f4ea;
  --que-section-accent:#d2ab5f;
}

body.que-note .que-scene{
  scroll-snap-stop:always;
}

body.que-note .que-scene:not(.que-section-scene) .scene-inner{
  width:min(720px,100%);
}

body.que-note .que-scene:not(.que-section-scene) p{
  line-height:1.3;
}

body.que-note .que-section-scene{
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(210,171,95,.14) 0%,
      rgba(210,171,95,.05) 34%,
      rgba(210,171,95,0) 68%
    ),
    var(--que-section-bg);
  color:var(--que-section-fg);
}

body.que-note .que-section-scene::after{
  background:rgba(255,255,255,.14);
}

body.que-note .que-section-scene .scene-inner{
  width:min(820px,100%);
  text-align:center;
  margin-inline:auto;
}

body.que-note .que-section-scene h2{
  margin-inline:auto;
  color:var(--que-section-fg);
  font-size:clamp(44px,10vw,104px);
  line-height:.98;
  letter-spacing:-.03em;
  font-weight:780;
}

body.que-note .que-section-scene h2::before{
  content:"Conversation";
  display:block;
  margin-bottom:clamp(22px,4vw,42px);
  color:var(--que-section-accent);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
}

body.que-note .que-section-scene h2::after{
  content:"";
  display:block;
  width:52px;
  height:2px;
  margin:clamp(24px,5vw,48px) auto 0;
  border-radius:999px;
  background:var(--que-section-accent);
  opacity:.82;
}

body.que-note .topbar{
  color:rgba(20,20,20,.46);
}

body.que-note.on-dark .topbar,
body.que-note .on-dark .topbar{
  color:rgba(247,240,226,.54);
}

body.que-note .nav-hint::before{
  content:"";
}

@media (max-width:640px){
  body.que-note .que-section-scene h2{
    font-size:clamp(40px,13vw,72px);
  }

  body.que-note .que-section-scene h2::before{
    margin-bottom:24px;
    font-size:10px;
  }
}

@media (prefers-reduced-motion:reduce){
  body.que-note .que-scene{
    scroll-snap-stop:normal;
  }
}
