/* ---------- v0109 (25 Nov, your calls): PHONE ONLY. Codex's flow prototype = the base look, Claude's words where you
   picked them (specs/PHONE-STRUCTURE.md). Sizes from Codex's mobile CSS (Documents/Codex/2026-11-21/y/outputs/
   uninkd-flow), on the door's black so it blends after the hands. Scroll reveal = next step. v0108 = phone.css.bak-v0108 */
.ph { display: none; }
@media all {   /* v0115 (26 Nov): every width; the desktop layout is the block at the end of this file */
  html:not(.phone-old) .ph { display: block; background: #000; color: var(--ink); position: relative; z-index: 3;
    font: 15px/1.6 var(--font-body); }
  html:not(.phone-old) .read.has-mark.has-hands:not(.mark-off) { height: 482vh; height: 482svh; }   /* the hands part only */
  html:not(.phone-old) .has-hands .mark-intro, html:not(.phone-old) .has-hands .mark-opts,
  html:not(.phone-old) .has-hands .mark-answer { display: none; }
  html:not(.phone-old) #join { display: none; }   /* the email is asked once, inside the flow */
  .ph::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #000); }
  .ph .container { width: auto; margin: 0; padding-inline: 22px; }
  .ph h2, .ph h3, .ph p { margin: 0; }
  .ph-micro { font-size: 11px; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

  /* 1 top: Codex headline, Claude's subheading */
  .ph-intro { padding-top: 55px; padding-bottom: 24px; }
  .ph-h1 { font-family: var(--font-display); font-weight: 500; font-size: 43px; line-height: 1.02; letter-spacing: -0.055em; margin: 22px 0 !important; }
  .ph-h1 span { display: block; color: #8c8c8c; }
  .ph-lede { font-size: 15px; line-height: 1.6; color: #b4b4b4; max-width: 30em; }

  /* 2 how it works: Codex labels, Claude's points */
  .ph-how { list-style: none; margin: 0; padding-top: 24px; padding-bottom: 40px; display: grid; gap: 26px; }
  .ph-how .ph-micro { margin-bottom: 6px !important; }
  .ph-how h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
  .ph-how p:not(.ph-micro) { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 4px !important; }

  /* 3 the flow (Codex) */
  .ph-work { border-top: 1px solid #626262; border-bottom: 1px solid #303030; padding-top: 28px; padding-bottom: 38px; scroll-margin-top: 22px; }
  .ph-profile { list-style: none; margin: 0 0 18px; padding: 0; }
  .ph-profile:empty { display: none; }
  .ph-profile li { border-top: 1px solid #303030; padding: 10px 0; display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
  .ph-profile li:last-child { border-bottom: 1px solid #303030; }
  .ph-profile span { color: var(--muted); }
  .ph-profile button { border: 0; background: none; color: #ddd; text-align: right; padding: 0; font: inherit;
    text-decoration: underline; text-underline-offset: 4px; }
  .ph-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
  .ph-rail { display: flex; gap: 5px; margin-bottom: 24px; }
  .ph-rail i { height: 2px; background: #303030; flex: 1; transition: background .3s; }
  .ph-rail i.on { background: #ddd; }
  .ph-question { font-family: var(--font-display); font-weight: 500; font-size: 33px; line-height: 1.12; letter-spacing: -0.035em; outline: none; }
  .ph-question .ph-gap { color: var(--violet-hi); }
  .ph-hint { color: var(--muted); font-size: 13px; margin: 12px 0 20px !important; min-height: 21px; }
  .ph-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ph-choice { min-height: 58px; border: 1px solid #3a3a3a; border-radius: 0; background: #0b0b0b; color: #ddd; padding: 13px;
    text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 13px/1.3 var(--font-body);
    -webkit-tap-highlight-color: transparent; }
  .ph-choice::after { content: ""; width: 12px; height: 12px; border: 1px solid #777; border-radius: 50%; flex-shrink: 0; }
  .ph-choice[aria-pressed="true"] { background: #e9e7e5; color: #101010; border-color: #e9e7e5; }
  .ph-choice[aria-pressed="true"]::after { background: #111; border: 3px solid #e9e7e5; box-shadow: 0 0 0 1px #111; }
  .ph-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }
  .ph-back { background: none; border: 0; color: #aaa; padding: 12px 0; font: inherit; }
  .ph-back[hidden] { display: block; visibility: hidden; }
  .ph-primary { background: #eee; color: #090909; border: 1px solid #eee; border-radius: 0; padding: 13px 25px; min-height: 48px; font: 500 15px var(--font-body); }
  .ph-primary:disabled { background: #222; color: #777; border-color: #333; }
  .ph-reassure { font-size: 12px; color: var(--muted); margin-top: 25px !important; }
  .ph-flow label { font-size: 13px; color: var(--muted); }
  .ph-email { display: block; width: 100%; border: 0; border-bottom: 1px solid #777; border-radius: 0; background: transparent;
    color: #eee; padding: 15px 0; margin: 8px 0 20px; font: 19px var(--font-body); }
  .ph-email:focus { outline: none; border-bottom-color: var(--violet-hi); }
  .ph-error { color: #efb4b4; font-size: 13px; margin-bottom: 15px !important; }
  .ph-error:empty { display: none; }
  .ph-flow button:focus-visible, .ph-profile button:focus-visible, .ph-faq summary:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 4px; }

  /* 4-6 the lower parts: Codex frame (micro label + heading), Claude's content */
  .ph-low { padding-top: 38px; padding-bottom: 38px; border-bottom: 1px solid #303030; }
  .ph-h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; margin: 10px 0 22px !important; }
  .ph-big { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
  .ph-src { color: #929292; font-size: 12px; line-height: 1.5; margin: 10px 0 24px !important; }
  .ph-rows { list-style: none; margin: 0 0 24px; padding: 0; }
  .ph-rows li { padding: 14px 0; border-top: 1px solid #303030; color: #b0b0b0; font-size: 15px; line-height: 1.5; }
  .ph-rows li:last-child { border-bottom: 1px solid #303030; }
  .ph-link { color: var(--ink); font-size: 14px; text-underline-offset: 5px; }
  .ph-get { list-style: none; margin: 0; padding: 0; }
  .ph-get li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid #303030; }
  .ph-get li:last-child { border-bottom: 1px solid #303030; }
  .ph-idx { font-size: 11px; letter-spacing: .13em; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 5px; width: 22px; flex: none; }
  .ph-get h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.25; margin-bottom: 6px !important; }
  .ph-get p { color: #b0b0b0; font-size: 14px; line-height: 1.55; }
  .ph-faq details { border-bottom: 1px solid #303030; }
  .ph-faq details:first-of-type { border-top: 1px solid #303030; }
  .ph-faq summary { cursor: pointer; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
  .ph-faq summary::-webkit-details-marker { display: none; }
  .ph-faq summary::after { content: "+"; color: #aaa; }
  .ph-faq details[open] summary::after { content: "\2212"; }
  .ph-faq details p { font-size: 14px; color: #b0b0b0; padding-bottom: 16px; }

  /* v0110 scroll reveal (phone-reveal.js): each block on a sticky screen, its parts revealed by scroll */
  .ph-pinwrap { position: relative; }
  .ph-pinner { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .ph-overlap { margin-top: -100vh; margin-top: -100svh; }   /* takes over the screen the last block faded out on */
  .ph-pinner, .ph-pinner > * { pointer-events: none; }   /* overlapping screens: only visible parts take taps */
  .ph-pinner > * > * { pointer-events: auto; }
  .ph-pinwrap:not(.ph-nopin) .ph-work { border-color: transparent; }   /* A: no stray lines over the other screens */
  .ph-nopin > .ph-pinner { position: static; min-height: 0; }
  .ph-pinner > .ph-low { border-bottom: 0; }

  /* v0111 (26 Nov): the end = a final invitation back into the signup (phone.js endUpdate) */
  .ph-end { border-bottom: 0; padding-top: 64px; padding-bottom: 72px; }
  .ph-end .ph-h1 { margin: 0 0 18px !important; }
  .ph-end-act { margin-top: 30px; }
  .ph-end-act .ph-primary { width: 100%; }
  .ph-end-act .ph-hint { margin-top: 12px !important; }
  .ph-consent { font-size: 13px; color: var(--muted); margin-top: 14px !important; }
  .ph-consent a { color: #cfcfcf; text-decoration: underline; text-underline-offset: 3px; }
  .ph-flow .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .ph-low .ph-big + .ph-trust { margin-top: 14px !important; }
  .ph-trust { color: #b4b4b4; font-size: 15px; line-height: 1.6; margin: 0 0 22px !important; max-width: 30em; }
  .ph-end-note { font-size: 17px; line-height: 1.45; color: var(--ink); margin-top: 8px !important; }
}

/* ---------- v0115 (26 Nov, your call "build the desktop version like we built mobile"): the same structure, desktop
   layout. Codex's desktop frame (micro label + heading left, content right). The hands section is cut the same way as
   on the phone: 1665vh -> the hands + the claim only (PHF .4249 x 1565 + 100 = 765). ?desk=old = before. */
@media (min-width: 700px) {
  html:not(.phone-old) .read.has-mark.has-hands:not(.mark-off) { height: 765vh; height: 765svh; }
  .ph { font-size: 16px; }
  .ph .container { width: 100%; box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding-inline: clamp(32px, 5vw, 72px); }
  .ph-pinner > .ph-work { width: 100%; }
  .ph-micro { font-size: 12px; }
  .ph-intro { padding-top: 90px; }
  .ph-h1 { font-size: clamp(56px, 6.4vw, 92px); line-height: .98; max-width: 11em; }
  .ph-lede { font-size: 18px; max-width: 34em; }
  .ph-how { grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 72px; }
  .ph-how h3 { font-size: 26px; }
  .ph-how p:not(.ph-micro) { font-size: 15px; }
  .ph-work { max-width: 760px; padding-top: 44px; padding-bottom: 56px; }
  .ph-question { font-size: 44px; }
  .ph-choices { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ph-choice { font-size: 14px; min-height: 62px; cursor: pointer; }
  .ph-choice:hover:not([aria-pressed="true"]) { border-color: #777; }
  .ph-primary { cursor: pointer; } .ph-primary:hover:not(:disabled) { background: #fff; }
  .ph-back { cursor: pointer; } .ph-back:hover { color: var(--ink); }
  .ph-email { font-size: 22px; }
  .ph-low { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); column-gap: clamp(40px, 6vw, 96px);
    grid-auto-flow: dense; align-items: start; padding-top: 64px; padding-bottom: 64px; }
  .ph-low > .ph-lowhead { grid-column: 1; grid-row: 1 / span 9; }
  .ph-low .ph-h2 { font-size: 40px; }
  .ph-low > :not(.ph-lowhead) { grid-column: 2; }
  .ph-big { font-size: 34px; }
  .ph-trust { font-size: 17px; }
  .ph-get h3 { font-size: 23px; } .ph-get p { font-size: 15px; }
  .ph-faq summary { font-size: 17px; }
  .ph-faq details p { font-size: 15px; }
  .ph-link:hover, .ph-consent a:hover { color: var(--violet-hi); }
  .ph-end { display: block; text-align: center; padding-top: 96px; padding-bottom: 110px; }
  .ph-end .ph-h1 { margin-inline: auto !important; }
  .ph-end .ph-lede { margin-inline: auto; }
  .ph-end-act { display: flex; flex-direction: column; align-items: center; }
  .ph-end-act .ph-primary { width: auto; min-width: 280px; }
}

/* ---------- v0116 (26 Nov, desktop visual QA, your go on all 6): UNINKD comes back after the hands. DESKTOP ONLY.
   1 the cursor smoke fades over the question box · 2 no section numbers · 3 violet as structure (rail, picked answer,
   rules, hover; < 5% of the surface) · 4 hand-made form parts: answers as a word line (the door's grain-sentence
   answers), buttons in the hero's "Enter" style, no arrows, a hairline FAQ marker · 5 off-centre: a stepped "how it
   works", the end screen left with its object bleeding off the right like the hero · 6 desktop type sizes up ·
   + one chrome object per section (brand/timeline). v0115 = phone.css.bak-v0115 */
.ph-obj { display: none; }
@media (min-width: 700px) {
  html:not(.phone-old) body:has(.ph-work:hover) .fluid-cursor { opacity: 0; }
  .fluid-cursor { transition: opacity .5s ease; }

  /* 2 no numbers */
  .ph-how .ph-micro, .ph-lowhead .ph-micro, .ph-idx { display: none; }
  .ph-get li { gap: 0; }

  /* + the objects: the hero's world, edges fading into the black */
  .ph-intro, .ph-low { position: relative; }
  .ph-obj { display: block; position: absolute; z-index: 0; pointer-events: none; user-select: none;
    width: min(46vw, 640px); aspect-ratio: 1; object-fit: cover; opacity: .92;
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
  .ph-obj-r { right: calc(-1 * min(9vw, 140px)); top: 50%; translate: 0 -50%; }
  .ph-obj-l { left: calc(-1 * min(12vw, 180px)); bottom: -6%; width: min(36vw, 500px); opacity: .7; }
  .ph-intro > :not(.ph-obj), .ph-low > :not(.ph-obj) { position: relative; z-index: 1; }

  /* 6 type up, 5 the intro gets more air */
  .ph-intro { padding-top: 120px; padding-bottom: 120px; }
  .ph-lede { font-size: 19px; }
  .ph-hint { font-size: 15px; }
  .ph-reassure, .ph-consent { font-size: 14px; }
  .ph-trust, .ph-get p, .ph-faq details p { font-size: 17px; line-height: 1.6; }
  .ph-get h3 { font-size: 26px; }
  .ph-faq summary { font-size: 19px; padding: 24px 0; }

  /* 5 how it works: stepped, not three equal columns */
  .ph-how { display: block; padding-top: 40px; padding-bottom: 120px; }
  .ph-how li { max-width: 30em; padding: 22px 0; }
  .ph-how li:nth-child(2) { margin-left: 22%; }
  .ph-how li:nth-child(3) { margin-left: 44%; }
  .ph-how h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
  .ph-how p:not(.ph-micro) { font-size: 17px; margin-top: 8px !important; }
  .ph-how li::before { content: ""; display: block; width: 56px; height: 1px; margin-bottom: 18px;
    background: linear-gradient(90deg, var(--violet), transparent); }

  /* 3 + 4 the question box */
  .ph-rail i.on { background: var(--violet); }
  .ph-choices { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 6px; }
  .ph-choice { min-height: 0; border: 0; background: none; padding: 8px 0; color: #6f6f6f; cursor: pointer;
    font: 500 24px/1.25 var(--font-display); letter-spacing: -0.02em; transition: color .2s; }
  .ph-choice::after { content: "·"; width: auto; height: auto; border: 0; border-radius: 0; margin: 0 16px; color: #333; }
  .ph-choice:last-child::after { content: none; }
  .ph-choice:hover:not([aria-pressed="true"]), .ph-choice:focus-visible { color: var(--ink); }
  .ph-choice[aria-pressed="true"] { background: none; color: var(--violet-hi); }
  .ph-choice[aria-pressed="true"]::after { background: none; border: 0; box-shadow: none; }
  .ph-primary { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0; background: none;
    border: 0; color: var(--ink); font: 500 13px var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
  .ph-primary::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--violet), transparent);
    transition: width .3s ease; }
  .ph-primary:hover:not(:disabled) { background: none; color: var(--violet-hi); }
  .ph-primary:hover:not(:disabled)::after { width: 84px; }
  .ph-primary:disabled { background: none; color: #4a4a4a; border: 0; }
  .ph-primary:disabled::after { background: #2a2a2a; }
  .ph-back { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
  .ph-email:focus { border-bottom-color: var(--violet); }
  .ph-profile button:hover { color: var(--violet-hi); }

  /* 3 links + FAQ marker: hairlines, not a stock "+" */
  .ph-link { text-decoration: none; display: inline-flex; align-items: center; gap: 14px; letter-spacing: .18em;
    text-transform: uppercase; font-size: 13px; }
  .ph-link span { display: none; }
  .ph-link::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
  .ph-faq summary::after { content: ""; width: 14px; height: 1px; align-self: center; background: var(--violet); transition: width .3s ease; }
  .ph-faq details[open] summary::after { content: ""; width: 40px; }
  .ph-faq summary:hover { color: var(--violet-hi); }

  /* 5 the end: left, its object off the right edge (the hero's composition, mirrored in time) */
  .ph-end { text-align: left; padding-top: 140px; padding-bottom: 160px; }
  .ph-end .ph-h1, .ph-end .ph-lede { margin-inline: 0 !important; }
  .ph-end-act { align-items: flex-start; }
  .ph-end-act .ph-primary { width: auto; min-width: 0; }
  .ph-end .ph-obj-r { width: min(50vw, 700px); right: calc(-1 * min(12vw, 180px)); }
}
@media (min-width: 700px) {   /* v0116 fix: an absolute grid child takes its grid column as its frame; the objects use the whole block */
  .ph-low > .ph-obj.ph-obj { grid-column: auto; grid-row: auto; }
}
@media (min-width: 700px) {   /* v0116 fix: the objects bleed off the edge without sideways scroll (clip keeps the sticky screens working) */
  html:not(.phone-old) .ph { overflow-x: clip; }
}

/* v0117 (26 Nov, your call): section 3 on desktop = the white grain field (grains-intro.js) instead of the drop */
.ph-grains { display: none; }
@media (min-width: 700px) {
  html:not(.phone-old) .ph-grains { display: block; position: absolute; z-index: 0; pointer-events: none;
    top: 50%; left: 50%; width: 100vw; height: 100vh; height: 100svh; translate: -50% -50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
}

/* v0118 (26 Nov): desktop, the intro lies over the hands' tail: no black behind the .ph start, so the grains show */
@media (min-width: 700px) {
  html:not(.phone-old) .ph { background: transparent; }
  html:not(.phone-old) .ph::before { display: none; }
  html:not(.phone-old) .ph-intro .ph-h1, html:not(.phone-old) .ph-intro .ph-lede { text-shadow: 0 0 18px #000, 0 0 4px #000; }
}

/* v0123 (26 Nov, your call "both"): one visual language. Desktop: the hands' canvas is held fixed once its section is
   reached, so the same grains stay alive (faint) behind every section down to the footer; the rose + the curl are out. */
@media (min-width: 700px) {
  html:not(.phone-old) .has-hands:not(.mark-off) .mark-gl.is-fixed { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
  html:not(.phone-old) .door-foot { position: relative; z-index: 3; }
  html:not(.phone-old) .ph-low p, html:not(.phone-old) .ph-low h2, html:not(.phone-old) .ph-low h3,
  html:not(.phone-old) .ph-how h3, html:not(.phone-old) .ph-how p, html:not(.phone-old) .ph-flow { text-shadow: 0 0 14px #000, 0 0 3px #000; }
}
