/* Home */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; padding-top: 110px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .d1 { margin-top: -4px; font-size: clamp(40px, 5.8vw, 92px); }
.hero-spot { max-width: 440px; justify-self: center; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 8px; align-content: start; }
  .hero-spot { order: -1; max-width: 170px; justify-self: start; margin-left: -12px; }

}

/* Manifesto: 3 screens of scroll, scrubbed by --p (0..1) from home.js */
.man { height: 300vh; --p: 0; }
.man-stick { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.man-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; position: relative; }
.man-spot { position: absolute; width: clamp(120px, 17vw, 240px); right: var(--gut); bottom: -10px; }
.man-h { max-width: 15ch; font-size: clamp(36px, 5.6vw, 88px); line-height: 1.04; }
.man-a { opacity: calc(1 - clamp(0, (var(--p) - 0.55) * 3, 0.62)); transition: none; }
.man-b { opacity: clamp(0, (var(--p) - 0.5) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--p) - 0.5) * 4, 1)) * 40px)); }
.man-avail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin: 0; font-size: clamp(16px, 2.3vw, 34px); }
.man-k { color: var(--dim); }
.man-old { position: relative; color: var(--mid); opacity: calc(1 - clamp(0, (var(--p) - 0.5) * 3, 0.55)); }
.man-old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--fg); transform-origin: left; transform: scaleX(clamp(0, (var(--p) - 0.22) * 4, 1)); }
.man-new { color: var(--fg); opacity: clamp(0, (var(--p) - 0.55) * 4, 1); filter: blur(calc((1 - clamp(0, (var(--p) - 0.55) * 4, 1)) * 8px)); }
@media (max-width: 760px) { .man-spot { bottom: auto; top: -150px; right: 12px; } }

/* Demo */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(100px, 16vh, 180px); padding-bottom: clamp(100px, 16vh, 180px); }
.demo-copy { display: flex; flex-direction: column; gap: 24px; }
.demo-spot { max-width: 180px; align-self: flex-end; margin-top: 12px; }
.demo-chat .chat-body { height: clamp(440px, 60vh, 560px); justify-content: flex-end; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .demo-spot { max-width: 110px; position: absolute; right: 16px; margin-top: -96px; }
  .demo-copy { position: relative; }
}

/* Meet Lumi */
/* "powered by Lumen" under the Meet Lumi heading, with the official wordmark at cap height. */
.meet-by { display: flex; align-items: center; gap: 0.3em; margin-top: 0.5em; font-size: 0.42em; letter-spacing: -0.02em; color: #8f8f8f; }
.meet-by .mark-lumen { --h: 0.74em; opacity: 0.6; }
.meet-head { display: flex; flex-direction: column; gap: 24px; max-width: 54rem; }
.meet-spot { position: absolute; right: var(--gut); top: 40px; width: clamp(100px, 12vw, 180px); }
.moods { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.mood { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.mood + .mood { padding-left: 24px; border-left: 1px solid var(--line); }
.mood button { width: 132px; height: 132px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px; }
.mood-lumi { display: block; width: 100%; height: 100%; }
.mood-lumi .lumi { width: 100%; height: 100%; overflow: visible; }
.mood-t { margin: 0; font-size: 19px; line-height: 1.35; }
@media (max-width: 900px) {
  .moods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mood:nth-child(3) { padding-left: 0; border-left: 0; }
  .meet-in .meet-spot { display: block; top: 64px; right: 12px; width: 76px; }
}

/* Doors */
.doors { position: relative; padding-top: 60px; padding-bottom: 40px; }
.door-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.door {
  --hx: 50%; --hy: 50%;
  position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 8px 20px; align-items: baseline;
  padding: clamp(28px, 4vw, 48px); border-radius: 14px; text-decoration: none; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow 300ms var(--ease);
}
.door::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 400ms var(--ease); background: radial-gradient(420px circle at var(--hx) var(--hy), rgb(255 189 94 / 0.13), transparent 70%); }
.door:hover::before, .door:focus-visible::before { opacity: 1; }
.door:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.door > * { position: relative; }
.door-t { font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.door-s { grid-column: 2; color: var(--mid); font-size: 15px; }
.door-arr { grid-column: 3; grid-row: 1; font-size: 28px; transition: transform 300ms var(--ease); }
.door:hover .door-arr { transform: translateX(6px); }
.doors-spot { position: absolute; width: 120px; right: var(--gut); top: -30px; }
@media (max-width: 760px) { .door-grid { grid-template-columns: 1fr; } .doors-spot { display: none; } }

/* Film */
.film { position: relative; padding-top: clamp(60px, 10vh, 120px); padding-bottom: clamp(40px, 6vh, 80px); }

/* What it does: one beat per feature, Lumi hops between them */
.does { padding-top: clamp(80px, 12vh, 140px); }
.does-head { position: relative; display: flex; flex-direction: column; gap: 20px; padding-bottom: 40px; }
.does-head-spot { position: absolute; right: var(--gut); bottom: 0; width: clamp(110px, 12vw, 180px); }
.feat {
  position: relative; min-height: 78vh; display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; border-top: 1px solid var(--line);
}
.feat-spot { width: 100%; max-width: 140px; }
.feat-n { margin: 0 0 14px; font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.feat-t { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.feat-copy > p:last-child { margin: 0; color: var(--mid); font-size: clamp(16px, 1.3vw, 18px); max-width: 32rem; }
.feat-vis { display: flex; flex-direction: column; gap: 10px; max-width: 440px; width: 100%; justify-self: end; }
.feat-vis .msg { max-width: 100%; animation: none; }
.feat-vis .msg--me { max-width: 85%; }
.feat-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; }
.feat-two > div { display: flex; flex-direction: column; gap: 8px; }
.feat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px; }
.feat:nth-of-type(even) .feat-spot { order: 3; }
.feat:nth-of-type(even) .feat-vis { order: -1; justify-self: start; }
.feat .feat-copy, .feat .feat-vis { opacity: 0.35; transition: opacity 600ms var(--ease), transform 700ms var(--ease); transform: translateY(16px); }
.feat.on .feat-copy, .feat.on .feat-vis { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .feat, .feat:nth-of-type(even) { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 48px; gap: 20px; }
  .feat-spot, .feat:nth-of-type(even) .feat-spot { order: -1; max-width: 84px; }
  .feat:nth-of-type(even) .feat-vis { order: 0; }
  .feat-vis { justify-self: start; }
  .feat-two { grid-template-columns: 1fr; }
  .does-head-spot { display: none; }
  .feat-t br { display: none; }
}

/* Share it */
.share { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(60px, 10vh, 120px); padding-bottom: clamp(60px, 10vh, 120px); }
.share-copy { display: flex; flex-direction: column; gap: 24px; }
.share-vis { position: relative; display: flex; flex-direction: column; gap: 16px; }
.share-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-node { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mid); }
.share-node.is-you { width: 84px; height: 84px; background: var(--fg); color: var(--bg); box-shadow: none; }
.share-spot { position: absolute; width: 120px; right: 0; top: -130px; }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; } .share-spot { position: static; align-self: flex-end; width: 90px; } }


/* Meet Lumi: pinned. The four moods wait as grey ghosts; our Lumi visits each,
   lands on it and acts it out, and the mood lights up only while Lumi is there. */
.meet { position: relative; height: 420vh; padding: 0; }
.meet-stick { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.meet-in { padding-top: 84px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
.meet-in .meet-head { grid-column: 1; grid-row: 1; }
.meet-in .moods { grid-column: 1 / -1; grid-row: 2; }
/* Lumi waits big in the open space beside the heading, then shrinks into each mood slot. */
.meet-in .meet-spot { position: static; grid-column: 2; grid-row: 1; justify-self: center; margin-right: clamp(0px, 4vw, 80px); width: clamp(200px, 22vw, 320px); }
.mood .mood-lumi { transition: opacity 300ms var(--ease), filter 300ms var(--ease); filter: grayscale(1) brightness(0.7) contrast(0.8); opacity: 0.22; }
.mood.on .mood-lumi { opacity: 0; }
.mood .eyebrow, .mood .mood-t { transition: color 300ms var(--ease); }
.mood .mood-t { color: var(--dim); }
.mood.on .mood-t { color: var(--fg); }
.mood.on .eyebrow { color: var(--lumi-body); }
.mood { position: relative; }
.mood::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease); background: radial-gradient(70% 60% at 30% 30%, rgb(255 189 94 / 0.09), transparent 70%); }
.mood.on::before { opacity: 1; }
@media (max-width: 900px) {
  .moods { margin-top: 32px; }
  .mood button { width: 96px; height: 96px; }
  .mood { padding-top: 16px; gap: 8px; }
  .mood-t { font-size: 16px; }
  .meet-head .lede { font-size: 15px; }
}

/* Feature illustrations: larger, centred in their column */
.feat-vis { justify-self: center !important; max-width: 520px; font-size: 17px; }
.feat-vis .msg { font-size: 17px; padding: 14px 18px; border-radius: 16px; }
.feat-vis .card { padding: 16px; gap: 8px; }
.feat-vis .card li { font-size: 16px; }
.feat-vis .card li span:last-child { font-size: 15px; }
.feat-vis .ib { min-height: 46px; font-size: 15.5px; padding: 0 18px; }
.feat-vis .kv { font-size: 16px; grid-template-columns: 90px minmax(0, 1fr); }
.feat-two { max-width: 600px; }
.feat-vis .msg--lumi { align-self: stretch; max-width: none; }
.feat-vis { width: 100%; }
@media (max-width: 900px) { .meet-in { grid-template-columns: minmax(0, 1fr); } .meet-in .meet-spot { position: absolute; top: 64px; right: 12px; width: 76px; margin: 0; } .meet-head .d2 { padding-right: 84px; } }
