/* REACH ME live pitch: warm paper, plum ink, pink → magenta → violet for outgoing
   communication, a soft rainbow only when a response comes back. System fonts only (offline). */
* { box-sizing: border-box }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans) }
body::-webkit-scrollbar { display: none }
.deck { position: relative; height: 100%; user-select: none; -webkit-user-select: none }
body.is-idle, body.is-idle * { cursor: none !important }

/* Scenes */
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2.4vh, 30px);
  padding: clamp(72px, 10vh, 108px) clamp(28px, 6vw, 110px) clamp(64px, 9vh, 96px);
  background: radial-gradient(1200px 600px at 85% -10%, var(--blush) 0, transparent 60%), radial-gradient(900px 500px at -10% 110%, #efe6ff 0, transparent 55%), var(--paper);
  opacity: 0; visibility: hidden; transform: translateX(1.5%); transition: opacity 420ms var(--ease), transform 420ms var(--ease), visibility 0s linear 420ms }
.scene.is-current { opacity: 1; visibility: visible; transform: none; transition-delay: 0s }
.top { position: absolute; top: clamp(18px, 3vh, 34px); left: clamp(28px, 6vw, 110px); right: clamp(28px, 6vw, 110px); display: flex; justify-content: space-between; align-items: baseline }
.brand { margin: 0; font-weight: 800; letter-spacing: .08em; font-size: clamp(14px, 1vw, 18px); color: var(--mag) }
.brand span { font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 10px }
.num { margin: 0; font: 600 clamp(13px, .9vw, 16px) var(--sans); letter-spacing: .14em; color: var(--muted) }

/* Type — presentation scale */
h1, h2 { margin: 0; letter-spacing: -.035em; line-height: 1.02; font-weight: 800; text-wrap: balance }
h1 { font-size: clamp(44px, 5.4vw, 96px) } h2 { font-size: clamp(38px, 4.4vw, 80px) }
h1 em, h2 em, .statement em { font-style: normal; background: var(--flow); -webkit-background-clip: text; background-clip: text; color: transparent }
.eyebrow { margin: 0; font-size: clamp(16px, 1.3vw, 22px); font-weight: 600; letter-spacing: .02em; color: var(--muted) }
.lead { margin: 0; max-width: 46ch; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.4; color: var(--muted) }
.statement { margin: 0; font-size: clamp(26px, 2.5vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15 }
.statement small { display: block; margin-top: 8px; font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--muted) }
.question { margin: 0; font-size: clamp(22px, 1.9vw, 34px); font-weight: 700; color: var(--mag) }
.copy { display: flex; flex-direction: column; gap: clamp(12px, 2vh, 22px) }
.center { text-align: center; align-items: center } .center .lead { margin-inline: auto }
.narrow { max-width: 1100px; margin-inline: auto }
.big-eq { margin: 0; font-size: clamp(40px, 4.6vw, 84px); font-weight: 900; letter-spacing: -.02em } .big-eq b { background: var(--flow); -webkit-background-clip: text; background-clip: text; color: transparent }

/* Photos: people first, the image is the hero, text never sits on faces */
.photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(42, 15, 37, .16) }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover }
.photo.wide { max-height: 42vh } .photo.wide img { max-height: 42vh }
.photo.soft { opacity: .9 }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 70px); align-items: center }
.split .photo img { aspect-ratio: 905 / 326; height: auto }

/* Access needs — function, not diagnosis */
.needs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px }
.needs li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: clamp(16px, 1.15vw, 20px); font-weight: 600 }

/* One meaning → many forms */
.message { margin: 0; padding: 16px 28px; border-radius: 999px; background: #fff; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--flow); background-origin: border-box; background-clip: padding-box, border-box; font-size: clamp(22px, 2vw, 36px); font-weight: 700 }
.forms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px) }
.form-card { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 20px; padding: clamp(14px, 1.4vw, 24px); display: flex; flex-direction: column; gap: 10px; min-height: 150px }
.form-card span { font-size: clamp(13px, .9vw, 16px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vio) }
.form-card b { font-size: clamp(18px, 1.5vw, 26px); line-height: 1.35 } .form-card .xl { font-size: clamp(26px, 2.4vw, 42px); line-height: 1.1 }

/* Layers — paths around the person, not a ladder */
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px) }
.layers article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 1.8vw, 30px) }
.layers span { font-weight: 800; color: var(--mag) } .layers h3 { margin: 8px 0; font-size: clamp(22px, 1.8vw, 32px) } .layers p { margin: 0; font-size: clamp(16px, 1.15vw, 21px); color: var(--muted); line-height: 1.45 }

/* The closed loop */
.loop { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center }
.loop li { padding: 14px 26px; border-radius: 999px; background: var(--flow); color: #fff; font-size: clamp(20px, 1.8vw, 32px); font-weight: 800; letter-spacing: .04em; text-transform: uppercase }
.loop li:not(:last-child)::after { content: "→"; margin-left: 18px; opacity: .8 }
.loop li.confirm { background: var(--rainbow); color: var(--ink) }
.cta { align-self: center; display: inline-flex; align-items: center; min-height: 64px; padding: 0 34px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: clamp(18px, 1.3vw, 22px); font-weight: 800 }
.cta:hover, .cta:focus-visible { background: var(--mag); outline: none }

/* Evidence trail */
.trail { list-style: none; margin: 0 auto; padding: 0; width: min(980px, 100%); display: grid; gap: 10px }
.trail li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 14px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: clamp(16px, 1.25vw, 22px); letter-spacing: .03em }
.trail time { font-weight: 600; color: var(--muted) } .trail span { font-weight: 600; color: var(--muted); letter-spacing: 0 }
.trail li.ok { border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--rainbow); background-origin: border-box; background-clip: padding-box, border-box }

/* Front stage / back stage */
.stage2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 30px) }
.stage2 section { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2vw, 32px) }
.stage2 h3 { margin: 0 0 14px; font-size: clamp(20px, 1.6vw, 28px) }
.stage2 .back { background: #f4eefc } .stage2 .back p { margin: 0; font-size: clamp(17px, 1.3vw, 23px); line-height: 1.5; color: var(--muted) }
.buttons-th { margin: 0; display: flex; flex-wrap: wrap; gap: 10px }
.buttons-th span { padding: 12px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: clamp(18px, 1.4vw, 24px); font-weight: 700 }

/* Validation path */
.path { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px }
.path li { counter-increment: p; padding: 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; font-weight: 700; font-size: clamp(14px, 1.05vw, 19px) }
.path li::before { content: "0" counter(p); display: block; color: var(--mag); font-weight: 800; margin-bottom: 4px }
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.outcomes .tag { grid-column: 1 / -1; margin: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vio); font-size: clamp(13px, .95vw, 16px); text-align: center }
.outcomes div { padding: 16px 20px; border-radius: 18px; border: 1px dashed #cdb4c4; display: flex; flex-direction: column; gap: 6px }
.outcomes b { font-size: clamp(20px, 1.6vw, 28px) } .outcomes span { color: var(--muted); font-size: clamp(15px, 1.1vw, 19px) }

/* Closing conversation: speech bubbles only for people talking */
.chat { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap }
.chat .b { position: relative; margin: 0; padding: 14px 24px; border-radius: 26px 26px 26px 8px; background: #fff; box-shadow: 0 10px 26px rgba(42, 15, 37, .12); font-size: clamp(20px, 1.7vw, 30px); font-weight: 700 }
.chat .b.her { border-radius: 26px 26px 8px 26px; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--rainbow); background-origin: border-box; background-clip: padding-box, border-box }
.brand-lockup { margin: 0; font-size: clamp(34px, 3.2vw, 60px); font-weight: 900; letter-spacing: .04em; color: var(--mag) }
.brand-lockup span { display: block; margin-top: 6px; font-size: .38em; font-weight: 600; letter-spacing: 0; color: var(--muted) }

/* Progressive disclosure */
[data-step] { transition: opacity 480ms var(--ease), transform 480ms var(--ease) }
.scene [data-step]:not(.is-shown) { opacity: 0; transform: translateY(10px) }
.scene [data-step="0"] { opacity: 1 !important; transform: none !important }

/* Controls */
.deck-nav { position: fixed; z-index: 20; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px 8px; border-radius: 999px; background: rgba(42, 15, 37, .82); opacity: .5; transition: opacity 160ms ease }
.deck-nav:hover, .deck-nav:focus-within { opacity: 1 } body.is-idle .deck-nav { opacity: 0 }
.deck-nav button { border: 0; background: transparent; color: #fff; font: 700 12px/1 var(--sans); min-width: 32px; height: 32px; border-radius: 999px; cursor: pointer }
.deck-nav button[aria-current] { background: var(--pink) }
.deck-nav button:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px }
.overview { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; background: rgba(42, 15, 37, .94) }
.overview[hidden] { display: none }
.overview ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 220px); gap: 12px }
.overview button { width: 100%; min-height: 100px; padding: 14px; text-align: left; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: var(--plum); color: #fff; font: 700 16px/1.25 var(--sans); cursor: pointer }
.overview button span { display: block; color: var(--focus); font-size: 12px; margin-bottom: 6px }
.overview button[aria-current], .overview button:focus-visible { outline: 2px solid var(--pink) }
.deck.is-leaving { opacity: 0; transition: opacity 400ms ease }

/* Smaller presentation screens and laptops */
@media (max-height: 820px) { .photo.wide, .photo.wide img { max-height: 34vh } .form-card { min-height: 0 } }
@media (max-width: 1000px) {
  html, body { overflow: auto } .scene { position: relative; min-height: 100vh; display: none } .scene.is-current { display: flex }
  .split, .stage2 { grid-template-columns: 1fr } .forms, .layers, .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)) } .path { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .deck-nav .dot { display: none } .overview ol { grid-template-columns: repeat(2, 160px) }
}
@media (prefers-reduced-motion: reduce) { .scene, [data-step], .deck { transition: none !important; transform: none !important } }

/* Scene 09: feature tiles (reuses .layers); second row sits under the first. */
.features + .features { margin-top: clamp(10px, 1.2vw, 20px) }
.features span { font-size: clamp(15px, 1.1vw, 19px) }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
