/* AIwithSpoorthi landing drafts, 6 Oct 2026: the locked brand at full range (dna.json). Cream ground; espresso,
   terracotta and sand as whole rounded fields; Apple's font, semibold and tight; the serif only in the wordmark and her
   signature; real artifacts as the imagery. Nothing moves except one entrance on load and pointer hovers. */
:root {
  color-scheme: light;
  --cream: #F8F3EE;
  --paper: #FFFDFC;
  --sand: #EADFD6;
  --peach: #DEA58D;
  --terra: #C85D3F;
  --terra-deep: #A64A30;
  --esp: #3E302B;
  --ink: #281E1A;
  --night: #2A1F1B;
  --muted: #6C5E56;
  --line: rgba(62, 48, 43, .12);
  --line-strong: rgba(62, 48, 43, .22);
  --on-dark: #FFFDFC;
  --on-dark-2: rgba(255, 253, 252, .74);
  --sans: -apple-system, BlinkMacSystemFont, Inter, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mark: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(16px, 4vw, 72px);
  --max: 1240px;
  --r-lg: 32px;
  --r-md: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(96px, 11vw, 160px);
}
* { box-sizing: border-box; }
html { background: var(--cream); scrollbar-color: rgba(62, 48, 43, .3) var(--cream); accent-color: var(--terra); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.6 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; caret-color: var(--terra); }
::selection { background: rgba(222, 165, 141, .5); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 10px; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }
.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; margin: 0; text-wrap: balance; }
h1 span, h2 span { display: block; color: var(--terra); }

/* the bar: the wordmark and three quiet links; the page's one filled button lives in the hero */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font: 400 28px/1 var(--mark); letter-spacing: -.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark em { font-style: italic; }
.bar nav { display: flex; align-items: center; gap: 28px; }
.bar nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; color: var(--muted); text-decoration: none; transition: color .2s; }
@media (hover: hover) { .bar nav a:hover { color: var(--ink); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 16px; border: 0; background: var(--terra); color: var(--paper); font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { background: var(--terra-deep); transform: scale(.98); }
@media (hover: hover) { .btn:hover { background: var(--terra-deep); } }
.btn .ico { width: 16px; height: 16px; }
.quiet { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--terra-deep); text-decoration: none; }
@media (hover: hover) { .quiet:hover { text-decoration: underline; } }
.ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 16px; border: 1px solid var(--terra); color: var(--terra-deep); font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
@media (hover: hover) { .ghost:hover { background: var(--terra); color: var(--paper); } }
.ghost:active { background: rgba(200, 92, 62, .1); }

/* the three doors (a hero in one draft, a section in the others) */
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.door { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; min-height: clamp(380px, 48svh, 470px); padding: clamp(22px, 2vw, 30px); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.door h2, .door h3 { font-size: clamp(21px, 1.75vw, 25px); line-height: 1.18; letter-spacing: -.018em; max-width: 17ch; }
.door .cap { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 500; max-width: 40ch; }
.door .cap b { font-weight: 600; }
.door figure { margin: 0; min-height: 0; position: relative; }
.door .go { position: absolute; top: clamp(20px, 2vw, 28px); right: clamp(20px, 2vw, 28px); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease), background .2s; }
.door .go .ico { width: 18px; height: 18px; }
@media (hover: hover) {
  .door:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(40, 30, 26, .2); }
  .door:hover .go { transform: translateX(3px); }
}
/* understand: the sketch printed onto sand */
.d-understand { background: var(--sand); color: var(--ink); }
.d-understand figure { overflow: hidden; border-radius: 14px; mix-blend-mode: multiply; }
.d-understand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.d-understand .go { background: rgba(62, 48, 43, .08); color: var(--ink); }
.d-understand .cap { color: var(--esp); }
/* build: the real test run on espresso */
.d-build { background: var(--night); color: var(--on-dark); }
.d-build figure { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 253, 252, .12); background: #1c1714; display: flex; align-items: flex-end; }
.d-build img { width: 100%; height: 100%; object-fit: cover; object-position: 0 100%; } /* the crop ends on tests 47, pass 47, fail 0 */
.d-build .go { background: rgba(255, 253, 252, .1); color: var(--on-dark); }
.d-build .cap { color: var(--on-dark-2); }
.d-build .cap b { color: var(--on-dark); }
/* ask: her cut-out on terracotta */
/* ask: her figure on the deep terracotta (cream text on it is 5.6:1; on #C85D3F, 4.1:1). She stands on the door's
   bottom edge and her head rises past its top (the door clips its sides and bottom only); the heading and caption sit
   on a solid band at the foot, so no text crosses her face. */
.d-ask { background: var(--terra-deep); color: var(--on-dark); overflow-x: clip; overflow-y: visible; grid-template-rows: minmax(0, 1fr) auto; clip-path: inset(-72px 0 0 0 round 0 0 var(--r-lg) var(--r-lg)); }
.d-ask figure { position: static; animation: none !important; }
.d-ask img { position: absolute; z-index: -1; left: 50%; bottom: 0; height: calc(100% + 40px); width: auto; max-width: none; translate: -50% 0; }
@media (prefers-reduced-motion: no-preference) { .d-ask img { animation: rise .9s var(--ease) .16s both; } }
.d-ask .band { display: grid; gap: 8px; margin: 0 calc(-1 * clamp(22px, 2vw, 30px)) calc(-1 * clamp(22px, 2vw, 30px)); padding: 20px clamp(22px, 2vw, 30px) clamp(22px, 2vw, 28px); background: var(--terra-deep); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.d-ask .go { z-index: 1; background: rgba(42, 31, 27, .3); color: var(--on-dark); }
.d-ask .cap { color: var(--on-dark-2); }
.d-ask .cap b { color: var(--on-dark); }
.d-ask h2, .d-ask h3 { max-width: 16ch; }
/* one entrance on load: the artifacts rise into place, in order, from where they already are */
@media (prefers-reduced-motion: no-preference) {
  .door figure { animation: rise .9s var(--ease) both; }
  .door:nth-child(2) figure { animation-delay: .08s; }
  .door:nth-child(3) figure { animation-delay: .16s; }
  @keyframes rise { from { transform: translateY(22px); } }
}

/* sections below the first screen */
.sec { padding-top: var(--sec); }
.sec h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.028em; max-width: 20ch; }
.lede { margin: 20px 0 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); max-width: 46ch; text-wrap: pretty; }

/* what it replaces: the noise, still, on espresso */
.instead { margin-top: var(--sec); background: var(--night); color: var(--on-dark); padding: clamp(80px, 9vw, 128px) 0; }
.instead h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.028em; max-width: 18ch; }
.instead h2 span { color: var(--peach); }
.noise-list { margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; max-width: 980px; }
.noise-list li { padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 253, 252, .18); font-size: clamp(16px, 1.4vw, 20px); color: var(--on-dark-2); text-decoration: line-through; text-decoration-color: var(--peach); text-decoration-thickness: 2px; }

/* one proof from a real run: the log itself, at its own size, on the cream ground (the noise band above is espresso) */
.proof { padding-top: var(--sec); }
.proof .wrap { display: grid; gap: clamp(24px, 3vw, 36px); }
.proof h2 { font-size: clamp(30px, 3.2vw, 44px); max-width: 22ch; }
.proof figure { margin: 0; justify-self: start; max-width: 100%; border-radius: var(--r-md); overflow: hidden; background: #261B1A; box-shadow: 0 18px 50px rgba(62, 48, 43, .18); }
.proof .wrap > * { min-width: 0; }
.proof picture { display: block; }
.proof figure img { width: auto; max-width: 100%; }
/* on a phone the log keeps its own size (its text about 13px) and scrolls sideways inside its box */
@media (max-width: 700px) { .proof figure { overflow-x: auto; justify-self: stretch; } .proof figure img { max-width: none; width: 520px; } }
.proof p { margin: 0; color: var(--muted); max-width: 56ch; }


/* her */
.her { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.her .field { position: relative; aspect-ratio: 4 / 5; max-width: 420px; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--sand); overflow: hidden; }
.her .field img { position: absolute; left: 50%; bottom: 0; width: 100%; translate: -50% 0; }
.her .quote { margin: 26px 0 0; font: 500 clamp(22px, 2vw, 27px)/1.4 var(--sans); letter-spacing: -.012em; max-width: 26ch; }
.her .note { margin: 18px 0 0; color: var(--muted); max-width: 44ch; }
.social { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--paper); text-decoration: none; font-size: 16px; font-weight: 500; transition: border-color .2s; }
.social .ico { color: var(--terra-deep); }
@media (hover: hover) { .social a:hover { border-color: var(--terra); } }

/* her letter: a whole sand band, her words large, signed */
.letterband { margin-top: var(--sec); background: var(--sand); padding: clamp(72px, 8vw, 120px) 0; }
.letterband .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.letterband h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.032em; max-width: 12ch; }
.letterband p { margin: 0 0 18px; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--esp); max-width: 46ch; }
.letterband p b { color: var(--ink); font-weight: 600; }
.letterband .sig { margin: 26px 0 0; font: 400 clamp(44px, 4vw, 58px)/1 var(--mark); color: var(--terra-deep); }
.letterband .ria { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line-strong); color: var(--esp); font-size: 17px; }

/* work with me */
.work { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(36px, 6vw, 96px); align-items: end; padding: clamp(32px, 4.4vw, 64px); border-radius: var(--r-lg); background: var(--sand); }
.work p { color: var(--esp) !important; }
.work .ghost { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) { .work .ghost:hover { background: var(--ink); color: var(--paper); } }
.work h2 { font-size: clamp(30px, 3.2vw, 44px); max-width: 20ch; }
.work p { margin: 0; color: var(--muted); max-width: 40ch; }
.work .act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.work .quiet { color: var(--ink); }
.work .quiet .ico { color: var(--terra-deep); width: 16px; height: 16px; }

/* the close: terracotta, edge to edge */
.close { margin-top: var(--sec); background: var(--terra-deep); color: var(--on-dark); padding: clamp(88px, 10vw, 144px) 0; }
.close h2 { font-size: clamp(40px, 5.3vw, 78px); line-height: 1.02; letter-spacing: -.032em; max-width: 14ch; }
.close h2 span { color: var(--sand); } /* sand on the deep terracotta: 4.4:1 (espresso was 2.8:1) */
.close .act { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.close .btn { background: var(--paper); color: var(--terra-deep); }
@media (hover: hover) { .close .btn:hover { background: var(--night); color: var(--paper); } }
.close .quiet { color: var(--paper); }

/* footer */
.foot { background: var(--night); color: rgba(255, 253, 252, .72); padding: 40px 0 max(40px, calc(env(safe-area-inset-bottom) + 24px)); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
@media (hover: hover) { .foot a:hover { color: var(--paper); } }

@media (max-width: 900px) {
  .bar { min-height: 64px; border-bottom: 1px solid var(--line); }
  .wordmark { font-size: 22px; }
  .bar nav { gap: 18px; }
  .bar nav .hide-m { display: none; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 400px; }
  .her, .work, .letterband .wrap { grid-template-columns: 1fr; }
  .d-ask img { height: calc(100% + 28px); }
  .her .field { max-width: 260px; }
  .foot nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; width: 100%; }
  .foot .wrap > span { order: 2; } /* the year under the links, as on the other public pages */
}
@media (max-width: 340px) { .foot nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== the mix's sections on what others don't show (6 Oct, her ask: "tell about ria, tell about community, tell about
   workflows and skills that other people don't tell ... the circle thing, that's nowhere") ===== */

.demo { position: relative; display: grid; }
.page-card { position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-md); background: var(--paper); box-shadow: 0 18px 50px rgba(62, 48, 43, .12); max-width: 560px; }
.page-card .crumb { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.page-card p { margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--esp); }
.page-card .circled { position: relative; display: inline-block; font-weight: 600; color: var(--ink); }
.page-card .loop { position: absolute; left: -22px; top: -20px; width: calc(100% + 44px); height: calc(100% + 40px); overflow: visible; pointer-events: none; }
.page-card .loop path { fill: none; stroke: var(--terra); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* the loop draws itself once the demo scrolls into view, then Ria's answer slides up; without JS, or with reduced
   motion, both simply show */
@media (prefers-reduced-motion: no-preference) {
  .demo.pending .loop path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) .2s; }
  .demo.pending.seen .loop path { stroke-dashoffset: 0; }
  .demo.pending .ria-panel { transition: transform .7s var(--ease) 1.1s, opacity .7s var(--ease) 1.1s; }
  .demo.pending:not(.seen) .ria-panel { transform: translateY(14px); opacity: .001; }
}
.ria-panel { position: relative; justify-self: end; margin-top: -44px; width: min(400px, 86%); padding: 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(40, 30, 26, .2); display: grid; gap: 12px; }
.ria-panel .who { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ria-panel .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: var(--paper); font: 600 14px/1 var(--sans); }
.ria-panel .q { justify-self: end; max-width: 90%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--paper); font-size: 16px; line-height: 1.4; }
.ria-panel .a { margin: 0; font-size: 16px; line-height: 1.5; color: var(--esp); }
.ria-panel .date { font-size: 14px; color: var(--muted); }

/* the community, one whole field (6 Oct night: the Workflows box beside it is out, her "It's actually too much") */
.field { border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 18px; align-content: start; }
.field h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -.026em; max-width: 16ch; }
.field > p { margin: 0; font-size: 18px; max-width: 46ch; }
.f-people { background: var(--terra-deep); color: var(--on-dark); }
.f-people h2 span { color: var(--sand); }
.f-people > p { color: var(--on-dark-2); }
.handoff { margin-top: 6px; padding: 18px; border-radius: var(--r-md); background: var(--paper); color: var(--esp); display: grid; gap: 10px; }
.handoff .tag { font-size: 14px; color: var(--muted); }
.handoff .b { font-size: 16px; line-height: 1.45; }
.handoff .you { justify-self: end; max-width: 88%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--paper); }
.handoff .sp { display: flex; align-items: flex-end; gap: 8px; max-width: 94%; }
.handoff .sp > span:last-child { padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--sand); }
.handoff .av { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--terra); color: var(--paper); font: 600 13px/1 var(--sans); }
.handoff .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(1.5); transform-origin: 50% 12%; }
.handoff .join { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; }
.handoff .join .av { width: 22px; height: 22px; }
/* alone on a computer: the heading and its line on the left, the example chat beside them */
@media (min-width: 901px) {
  .f-people { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: center; }
  .f-people h2 { align-self: end; }
  .f-people > p { align-self: start; }
  .f-people .handoff { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

@media (max-width: 900px) {
  .ria-panel { width: auto; margin: -32px 0 0 18px; }
  .page-card p { font-size: 17px; }
}

/* ===== the circle first screen (6 Oct, after "I still do not like the door"): the one thing only this product does,
   shown on the first screen. Ria's own violet, exactly as members see it (ask.css: the loop 3.5px over an 11px wash). ===== */
:root { --ria: #5B4A8B; --ria-soft: rgba(91, 74, 139, .1); --ria-wash: rgba(91, 74, 139, .18); }
.page-card .loop path.u { stroke: var(--ria-wash); stroke-width: 11; }
.page-card .loop path.l { stroke: var(--ria); stroke-width: 3.5; }
.ria-panel .av { background: var(--ria-soft); color: var(--ria); }
.chero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; min-height: calc(100svh - 76px); padding-top: clamp(12px, 3vh, 40px); padding-bottom: clamp(24px, 4vh, 48px); }
.chero h1 { font-size: clamp(42px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.chero .what { margin: 22px 0 0; font: 600 clamp(20px, 1.7vw, 24px)/1.3 var(--sans); letter-spacing: -.015em; }
.chero .outcomes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.chero .outcomes li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 1.4; color: var(--esp); }
.chero .outcomes .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--terra-deep); }
.chero .act { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.chero .who { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 48ch; }
.chero .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: var(--sand); flex-shrink: 0; }
.chero .who b { color: var(--ink); font-weight: 600; }
/* the letter with her portrait (from The letter, which she liked) */
.letterband.with-her .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.letterband .her-arch { position: relative; aspect-ratio: 4 / 5; max-width: 440px; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--terra-deep); overflow: hidden; }
.letterband .her-arch img { position: absolute; left: 50%; bottom: 0; width: 100%; translate: -50% 0; }
.letterband.with-her h2 { margin-bottom: 22px; }
@media (max-width: 900px) {
  .chero { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .chero h1 { font-size: 40px; }
  .chero .outcomes li { font-size: 16px; }
  .letterband.with-her .wrap { grid-template-columns: 1fr; }
  .letterband .her-arch { max-width: 220px; }
}
@media (max-width: 340px) { .chero h1 { font-size: 34px; } }

/* ===== four doors (6 Oct evening, her: "I love the first three doors, but it's not delivering the value ... email me
   instead of that. We have Ria ... and then we have workflows"): Understand, Build, Workflows, Ask Ria ===== */
.h4 { padding-top: clamp(14px, 3vh, 44px); padding-bottom: 8px; }
.h4 h1 { font-size: clamp(40px, 5.3vw, 78px); line-height: 1.02; letter-spacing: -.036em; }
/* the headline's key words, circled once in Ria's violet, as a member circles a line to ask her */
.h4 h1 .circ { display: inline-block; position: relative; margin-left: .1em; color: inherit; }
.h4 h1 .loop { position: absolute; left: -.24em; top: -.15em; width: calc(100% + .48em); height: calc(100% + .32em); overflow: visible; pointer-events: none; }
.h4 h1 .loop path, .d-ria .loop path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.h4 h1 .loop .u { stroke: var(--ria-wash); stroke-width: 15; }
.h4 h1 .loop .l { stroke: var(--ria); stroke-width: 4.5; }
.h4 .pain { margin: clamp(14px, 2vh, 22px) 0 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--esp); max-width: 100ch; text-wrap: balance; } /* her pick, 5 Oct: "A: what you get" */
.h4 .offer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: clamp(14px, 2vh, 22px) 0 clamp(18px, 2.6vh, 32px); }
.h4 .offer > p:first-child { margin: 0; font: 600 clamp(20px, 1.6vw, 23px)/1.3 var(--sans); letter-spacing: -.015em; }
.h4 .offer .who { margin: 0 0 0 auto; display: flex; align-items: center; gap: 12px; max-width: 46ch; font-size: 16px; line-height: 1.45; color: var(--muted); }
.h4 .offer .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: var(--sand); flex-shrink: 0; }
.h4 .offer .who b { color: var(--ink); font-weight: 600; }
/* the founding price beside the button on a computer (between it and her line, so the doors don't move), right under it on a phone (7 Oct) */
.h4 .offer .deal { order: 1; flex: 0 1 auto; margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 40ch; text-wrap: balance; }
.h4 .offer .who { order: 2; }
.h4 .offer .deal b { color: var(--ink); font-weight: 600; }
.h4 .offer .deal[hidden] { display: none; }
.doors4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1.06fr) minmax(0, 1.06fr); }
.doors4 .door { gap: 12px; padding: clamp(20px, 1.8vw, 26px); }
.doors4 .door h2, .doors4 .door h3 { font-size: clamp(20px, 1.6vw, 23px); max-width: none; padding-right: 48px; }
.doors4 .door .go { top: clamp(18px, 1.7vw, 24px); right: clamp(18px, 1.7vw, 24px); }
@media (min-width: 901px) { .h4 .doors4 .door { min-height: 0; height: clamp(350px, calc(100svh - 76px - 410px), 500px); } }
/* workflows: the workflow's real files, each with Copy, on the deep terracotta */
.d-flows { background: var(--terra-deep); color: var(--on-dark); }
.d-flows .go { background: rgba(42, 31, 27, .28); color: var(--on-dark); }
.d-flows .cap { color: var(--on-dark-2); }
.d-flows .cap b { color: var(--on-dark); }
.d-flows figure { display: flex; }
.files { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--esp); box-shadow: 0 16px 36px rgba(42, 31, 27, .28); overflow: hidden; }
.files .crumb { margin: 0 0 6px; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.files ul { list-style: none; margin: 0; padding: 0; }
.files li { display: flex; align-items: center; gap: 9px; min-height: 36px; border-top: 1px solid var(--line); font: 500 14px/1.2 var(--mono); color: var(--esp); }
.files li .fi { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.files li span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .cp { margin-left: auto; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line-strong); font: 500 14px/1.3 var(--sans); color: var(--terra-deep); }
.files .more { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.files .ran { margin: auto 0 0; padding-top: 10px; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.files .ran .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--terra-deep); }
/* ask Ria: a circled line and her answer, on her own violet (cream text on it is 7.4:1) */
.d-ria { background: var(--ria); color: var(--on-dark); }
.d-ria .go { background: rgba(255, 253, 252, .14); color: var(--on-dark); }
.d-ria figure { display: grid; align-content: center; }
.d-ria .mini { padding: 14px 16px 18px; border-radius: 14px; background: var(--paper); color: var(--esp); }
.d-ria .mini .crumb { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.d-ria .mini p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.d-ria .mini p:last-child { margin: 12px 0 0; }
.d-ria .circled { position: relative; display: inline-block; font-size: 16px; font-weight: 600; color: var(--ink); }
.d-ria .loop { position: absolute; left: -14px; top: -11px; width: calc(100% + 26px); height: calc(100% + 22px); overflow: visible; pointer-events: none; }
.d-ria .loop .u { stroke: var(--ria-wash); stroke-width: 10; }
.d-ria .loop .l { stroke: var(--ria); stroke-width: 3.2; }
.d-ria .bub { position: relative; justify-self: end; width: 92%; margin-top: -6px; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 18px 40px rgba(24, 16, 36, .38); display: grid; gap: 6px; }
.d-ria .who2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ria); }
.d-ria .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ria-soft); color: var(--ria); font: 600 14px/1 var(--sans); }
.d-ria .bub p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--esp); }
.d-ria .rfoot { display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-size: 16px; }
.d-ria .rfoot b { color: var(--on-dark); }
.d-ria .rfoot img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: var(--sand); flex-shrink: 0; }
/* everything else inside, in one quiet line (links here read as more asks: Jev's one_ask fell from 0.9 to 0.4) */
.also { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.also b { color: var(--ink); font-weight: 600; }
/* one entrance: the headline's circle draws, then the door's circle, then Ria answers; then the page rests */
@media (prefers-reduced-motion: no-preference) {
  .h4 h1 .loop.fit path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: c-draw 1s var(--ease) .45s forwards; }
  .d-ria .loop.fit path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: c-draw .9s var(--ease) 1.2s forwards; }
  .d-ria .bub { animation: c-rise .8s var(--ease) 1.9s both; }
  .doors4 .door:nth-child(4) figure { animation-delay: .24s; }
  @keyframes c-draw { to { stroke-dashoffset: 0; } }
  @keyframes c-rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (max-width: 900px) {
  .h4 h1 { font-size: 40px; }
  .h4 .offer .who { margin-left: 0; flex-basis: 100%; }
  .doors4 { grid-template-columns: 1fr; }
  .doors4 .door { min-height: 0; }
  .doors4 .d-understand figure { height: 210px; }
  .doors4 .d-build figure { height: 230px; }
}
@media (max-width: 900px) { .h4 h1 .loop { top: -.07em; height: calc(100% + .2em); } }
@media (max-width: 340px) { .h4 h1 { font-size: 34px; } }

/* a loop fitted to its box in pixels (the FIT script) draws with a plain stroke */
svg.loop.fit path { vector-effect: none; }

/* ===== the four doors on a phone (6 Oct, her "optimize for mobile as well"): the doors become a row you swipe, the
   next one peeking in, with dots; the sections below say the same in less height (the page was 9,689px at 390) ===== */
.dots { display: none; }
@media (max-width: 900px) {
  .landing .doors4 { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .landing .doors4::-webkit-scrollbar { display: none; }
  .landing .doors4 .door { flex: 0 0 min(84%, 420px); scroll-snap-align: start; height: 452px; min-height: 0; }
  .landing .doors4 .d-understand figure, .landing .doors4 .d-build figure { height: auto; }
  .landing .dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line-strong); transition: background .3s; }
  .dots i.on { width: 22px; background: var(--terra); }
}
@media (max-width: 700px) {
  .landing { --sec: 72px; }
  .landing .instead { padding: 64px 0; }
  .landing .noise-list { gap: 8px; margin-top: 28px; }
  .landing .noise-list li { padding: 8px 14px; font-size: 16px; }
  .landing .letterband { padding: 56px 0; }
  .landing .letterband .her-arch { max-width: 160px; }
  .landing .close { padding: 72px 0; }
}

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== the phone's own first screen (6 Oct night, her: "It looks great on the website, but on the phone, it looks like AI
   slop ... too much"): the headline without the circle, one short line about her, the four doors as four quiet rows, and
   the doors themselves below, one under another, never cut off. A computer and a tablet are unchanged. ===== */
.door-list { display: none; }
@media (max-width: 700px) {
  .h4 h1 { font-size: 36px; }
  .h4 h1 .loop { display: none; }
  .h4 h1 .circ { margin-left: 0; }
  .h4 .offer { margin-bottom: 20px; }
  .h4 .offer .who { gap: 10px; font-size: 16px; }
  .h4 .offer .who img { width: 32px; height: 32px; }
  .h4 .offer .who .more { display: none; }
  .h4 .offer .deal { flex-basis: 100%; margin: -6px 0 0; font-size: 14px; }
  .landing .sec h2, .landing .letterband h2 { font-size: 30px; } /* one step under the 36px headline (type-scale T4: no two heading sizes within 10%) */
  .h4 .pain { display: none; } /* her "still looks like a lot of words": the four rows say what you get on a phone */
  .h4 .offer { margin-top: 22px; }
  .door-list { display: block; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
  .door-list a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .door-list a:first-child { border-top: 0; }
  .door-list a:active { background: rgba(200, 92, 62, .08); }
  .door-list .ico { width: 20px; height: 20px; color: var(--terra-deep); }
  .door-list .go { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
  .landing .doors4 { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; margin: 40px 0 0; padding: 0; scroll-snap-type: none; }
  .landing .doors4 .door { flex: none; height: auto; min-height: 0; scroll-margin-top: 16px; }
  .landing .doors4 .d-understand figure { height: 210px; }
  .landing .doors4 .d-build figure { height: 230px; }
  .landing .dots { display: none; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 340px) { .h4 h1 { font-size: 30px; } }
