/* Hypha · JV partner · page 02 · #example "Somebody else's signature" (WORLD.md 5.2). The release and your equipment
   sheet edge to edge at reading size; a proposal put together on top of them (a teal cover, its contents and its
   equipment page opening out from under it; square, never lit); a national supply agreement slid over its right side
   and signed in ink with the scroll (its scope line is the page's one light); the sales team's week along the foot of
   the table going flat grey; then the purchase order picked up, field by field under the three maybes, the visitor's
   yellow highlighter on the empty authorisation line. Ground: the daylight table, flat at both seams. */

/* the table's flat colour over the window light: covers the stage at both seams (#announce ends flat; #film starts
   on the table), cleared by the scroll after the pin */
#example .gnd .x-flat { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 1; background: var(--table, #e6e9e6); }

/* every sheet is posed by its centre (the script writes transform, opacity, visibility) */
#example .desk > .ex-sh { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; opacity: 0; visibility: hidden; }
#example .stage.is-near .ex-sh { will-change: transform, opacity; }
#example .ex-sh > .doc { box-sizing: border-box; margin: 0; overflow: hidden; background: #fff; color: #1b1f24; }

/* the press release: a newswire's navy band, the date, the one line; its blank foot runs off the table's edge */
#example .ex-rel { width: 700px; height: 990px; padding: 0; font-family: var(--f-app, var(--f-sheet)); }
#example .rl-band { display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 48px; background: #13294b; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
#example .rl-band span + span { font-weight: 500; color: rgb(255 255 255 / 0.84); }
#example .rl-top { display: flex; justify-content: space-between; align-items: center; margin: 40px 48px 0; padding-bottom: 22px; border-bottom: 1px solid #d5dbe3; }
#example .rl-logo { width: 150px; height: 52px; border-radius: 3px; background: var(--field); }
#example .rl-date { font-size: 18px; color: #3d4b5c; }
#example .rl-h { margin: 44px 48px 0; font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; color: #0f1b2d; }

/* your equipment product sheet: its title, the grey product image box, its labels */
#example .ex-spec { width: 700px; height: 990px; padding: 44px 48px; font-family: var(--f-app, var(--f-sheet)); }
#example .sp-top { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 3px solid #1f2933; }
#example .sp-logo { flex: none; width: 110px; height: 44px; border-radius: 3px; background: var(--field); }
#example .sp-t { display: block; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: #1f2933; }
#example .sp-k { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #616e7c; }
#example .sp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 34px; }
#example .sp-img { width: 100%; aspect-ratio: 1; border-radius: 4px; background: var(--field); }
#example .sp-rows, #example .pg-rows { margin: 0; }
#example .sp-rows > div, #example .pg-rows > div { padding: 14px 0 16px; border-bottom: 1px solid #e1e5ea; }
#example .sp-rows dt, #example .pg-rows dt { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #52606d; }
#example .sp-rows dd, #example .pg-rows dd { margin: 10px 0 0; }
#example .sp-rows .fld, #example .pg-rows .fld { display: block; width: 70%; height: 14px; }

/* the proposal: a deep teal cover, and its pages (contents, the equipment) opening out from under it */
#example .ex-cover { --f-app: var(--f-sys); position: relative; width: 480px; height: 680px; padding: 0; font-family: var(--f-app, var(--f-sheet)); }
#example .cv-band { position: absolute; left: 0; right: 0; top: 0; height: 64%;
  background: radial-gradient(circle at 104% -4%, rgb(255 255 255 / 0.1) 0 36%, rgb(255 255 255 / 0) 36.2%), linear-gradient(158deg, #082f45 0%, #0b4a62 56%, #0b6b7d 100%); }
#example .cv-k { position: absolute; left: 44px; bottom: 124px; font-size: 15px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }
#example .cv-h { position: absolute; left: 40px; bottom: 36px; margin: 0; font-size: 80px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: #fff; }
#example .cv-d { position: absolute; left: 44px; top: calc(100% + 108px); font-size: 17px; letter-spacing: 0.02em; color: #334e68; white-space: nowrap; }
#example .cv-logo { position: absolute; left: 44px; top: calc(64% + 40px); width: 124px; height: 44px; border-radius: 3px; background: var(--field); }
#example .ex-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: #0b6b7d; opacity: var(--ft, 1); }
#example .ex-page { --f-app: var(--f-sys); position: relative; width: 480px; height: 680px; padding: 52px 46px; font-family: var(--f-app, var(--f-sheet)); color: #102a43; }
#example .pg-h { margin: 0; padding-bottom: 16px; border-bottom: 2px solid #0b3954; font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #0b4f63; }
#example .pg-h b { color: #0b6b7d; }
#example .pg-list { margin: 8px 0 0; padding: 0; list-style: none; }
#example .pg-list li { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid #e3e9ef; font-size: 23px; color: #243b53; }
#example .pg-list b { width: 1.2em; color: #0b6b7d; font-weight: 700; }
#example .pg-img { height: 250px; margin-top: 26px; border-radius: 3px; background: var(--field); }
#example .pg-rows { margin-top: 12px; }
#example .pg-rows > div { padding: 12px 0 13px; }

/* the national supply agreement: somebody else's, on a legal page in a serif, signed */
#example .ex-agr { width: 860px; height: 1100px; padding: 72px 78px; font-family: Georgia, "Times New Roman", serif; color: #151515; }
#example .ag-h { margin: 0 0 8px; padding-bottom: 28px; border-bottom: 2px solid #151515; text-align: center; font-size: 31px; line-height: 1.2; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
#example .ag-cl { display: grid; grid-template-columns: 42px 150px 1fr; align-items: start; gap: 0 10px; padding: 26px 0; border-bottom: 1px solid #d6d6d6; font-size: 27px; line-height: 1.4; }
#example .ag-n { font-weight: 700; }
#example .ag-cl > b { padding-top: 9px; font-family: var(--f-app, var(--f-sheet)); font-size: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #5a5a5a; }
#example .ag-pt { display: grid; gap: 16px; padding-top: 10px; }
#example .ag-pt .fld { display: block; width: 78%; height: 15px; }
#example .ag-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; }
#example .ag-sig .sig-ink { display: block; width: 100%; height: 92px; margin-bottom: 12px; border-bottom: 1.5px solid #3a3a3a; }
#example .ag-sig > span { font-family: var(--f-app, var(--f-sheet)); font-size: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #5a5a5a; }

/* the sales team's week: every slot a block of work on this proposal, until they go flat grey */
#example .ex-week { --f-app: var(--f-google); display: grid; grid-template-columns: repeat(5, 1fr); width: 1360px; height: 540px; padding: 0; border-radius: 0; font-family: var(--f-app, var(--f-sheet)); }
#example .wk-d { display: flex; flex-direction: column; gap: 14px; padding: 20px 16px 22px; border-left: 1px solid #c9cfd6; }
#example .wk-d:first-child { border-left: 0; }
#example .wk-d > b { padding-bottom: 14px; border-bottom: 1px solid #c9cfd6; font-size: 18px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #3c4043; }
/* the week's busy slots: flat grey by law, dark enough with an event's edge to read as a week, not a loading skeleton */
#example .wk-b { position: relative; display: block; flex: 1; border-radius: 6px; background: #c3cad2; box-shadow: inset 5px 0 0 #5f6b78; }
#example .wk-c { position: absolute; inset: 0; padding: 14px 16px; border-left: 5px solid #3b6ea5; border-radius: 6px; background: #dce8f5; font-size: 22px; font-weight: 600; font-style: normal; line-height: 1.2; color: #1d3a5c; }
#example .wk-c.r { border-left-color: #b07d1a; background: #f6ead0; color: #5c4210; }
#example .wk-c.f { border-left-color: #b4513f; background: #f6dcd6; color: #5e2419; }

/* the purchase order from #announce, picked up to reading distance */
#example .ex-po .po { display: flex; flex-direction: column; width: 900px; height: 1120px; padding: 56px 64px; font-size: 17px; }
#example .ex-po .po-logo { width: 140px; height: 50px; }
#example .ex-po .po-tt h3 { font-size: 30px; }
#example .ex-po .po-meta { grid-template-columns: auto 11em; gap: 12px 14px; margin-top: 16px; }
#example .ex-po .po-meta dt { font-size: 15px; }
#example .ex-po .fld { height: 15px; }
#example .ex-po .po-parties { gap: 28px; margin-top: 44px; }
#example .ex-po .po-p h4, #example .ex-po .po-ak { margin-bottom: 10px; padding: 8px 12px; font-size: 16px; }
#example .ex-po .po-p .fld--block { height: 150px; }
#example .ex-po .po-items { margin-top: 44px; }
#example .ex-po .po-items th { padding: 12px; font-size: 15px; }
#example .ex-po .po-items td { height: 58px; padding: 0 12px; }
#example .ex-po .po-sum { margin-top: 26px; font-size: 18px; }
#example .ex-po .po-auth { margin-top: auto; }
#example .ex-po .po-line { position: relative; display: block; height: 52px; }
#example .ex-po .po-line .fld--sig { position: absolute; left: 0; right: 0; bottom: 6px; width: auto; height: 3px; }
#example .ex-po .is-q { outline: 3px solid #3c4043; outline-offset: 4px; border-radius: 2px; }

/* Hypha's voice on the table, placed shot by shot */
#example .caps .cap { position: absolute; margin: 0; right: auto; bottom: auto; }
#example .cap[data-k="title"] { left: 6vw; top: calc(16 * var(--sv)); width: 86vw; }
#example .cap[data-k="fict"] { left: 6vw; top: calc(66 * var(--sv)); width: 60vw; }
#example .cap[data-k="fict"] .vo { font-size: clamp(22px, 2.3vw, 44px); }
#example .cap[data-k="third"] { left: 2.4vw; top: auto; bottom: calc(72.5 * var(--sv)); width: 44vw; }
#example .cap[data-k="equip"] { left: 51.6vw; top: auto; bottom: calc(72.5 * var(--sv)); width: 44vw; }
#example .cap[data-k="third"] .vo, #example .cap[data-k="equip"] .vo { font-size: clamp(22px, 2.25vw, 42px); line-height: 1.2; }
#example .cap[data-k="prop"] { left: 5vw; top: calc(6 * var(--sv)); width: 90vw; }
#example .cap[data-k="prop"] .vo { font-size: clamp(34px, 4.5vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
#example .cap[data-k="signed"] { left: 4vw; top: calc(6 * var(--sv)); width: 28vw; }
#example .cap[data-k="signed"] .vo { font-size: clamp(20px, 2.05vw, 38px); line-height: 1.2; }
#example .cap[data-k="nothing"] { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
#example .cap[data-k="nothing"] .vo { font-size: clamp(30px, 3.6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
#example .cap[data-k="nothing"] [data-line] { position: absolute; display: block; padding: 0.1em 0.18em; border-radius: 4px; background: var(--table, #e6e9e6); box-shadow: 0 0 14px 8px var(--table, #e6e9e6); }
#example .cap[data-k="worth"] { left: 6vw; top: calc(8 * var(--sv)); width: 86vw; }
#example .cap[data-k="worth"] .vo { font-size: clamp(24px, 3vw, 56px); line-height: 1.14; }
#example .cap[data-k^="may"] { left: 0; top: 0; }
#example .cap[data-k^="may"] .vo { font-size: clamp(20px, 2.1vw, 38px); line-height: 1.22; }

@media (max-width: 899px) {
  #example .ex-rel { width: 400px; height: 640px; }
  #example .rl-band { height: 48px; padding: 0 20px; font-size: 12.5px; letter-spacing: 0.1em; }
  #example .rl-top { margin: 22px 20px 0; padding-bottom: 14px; }
  #example .rl-logo { width: 96px; height: 34px; }
  #example .rl-date { font-size: 15px; }
  #example .rl-h { margin: 22px 20px 0; font-size: 36px; }
  #example .ex-spec { width: 400px; height: 640px; padding: 22px 20px; }
  #example .sp-top { gap: 14px; padding-bottom: 14px; border-bottom-width: 2px; }
  #example .sp-logo { width: 92px; height: 30px; }
  #example .sp-t { font-size: 30px; }
  #example .sp-k { margin-top: 5px; font-size: 12.5px; }
  #example .sp-body { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  #example .sp-img { aspect-ratio: auto; height: min(170px, calc(18 * var(--sv))); }
  #example .sp-rows > div { padding: 9px 0 11px; }
  #example .sp-rows dt { font-size: 12.5px; }
  #example .sp-rows dd { margin-top: 7px; }
  #example .sp-rows .fld { height: 11px; }
  #example .ex-page { width: 400px; height: 560px; }
  #example .ex-page > * { visibility: hidden; }        /* on the phone the pages only show their edges under the cover */
  #example .ex-cover { width: 400px; height: 560px; }
  #example .cv-band { height: 192px; }
  #example .cv-k { left: 22px; top: 24px; bottom: auto; font-size: 12.5px; }
  #example .cv-h { left: 19px; top: 50px; bottom: auto; font-size: 56px; }
  #example .cv-d { left: 22px; top: 134px; font-size: 15px; color: rgb(255 255 255 / 0.9); }
  #example .cv-logo { left: 22px; top: 222px; width: 96px; height: 34px; }
  #example .ex-agr { width: 400px; height: auto; padding: 26px 22px 30px; }
  #example .ag-h { padding-bottom: 14px; font-size: 18px; letter-spacing: 0.1em; }
  #example .ag-cl { grid-template-columns: 22px 1fr; padding: 14px 0; font-size: 18px; }
  #example .ag-n { grid-row: 1 / span 2; }
  #example .ag-cl > b { grid-column: 2; padding-top: 0; font-size: 14.5px; }
  #example .ag-pt, #example .ag-sc { grid-column: 2; padding-top: 8px; }
  #example .ag-pt { gap: 10px; }
  #example .ag-pt .fld { height: 11px; }
  #example .ag-sigs { gap: 26px; margin-top: 18px; }
  #example .ag-sig .sig-ink { height: 52px; margin-bottom: 7px; }
  #example .ag-sig > span { font-size: 14.5px; }
  #example .ex-week { width: 386px; height: 470px; border-radius: 0; }
  #example .wk-d { gap: 8px; padding: 10px 4px 12px; }
  #example .wk-d > b { padding-bottom: 8px; font-size: 13px; letter-spacing: 0.06em; text-align: center; }
  #example .wk-c { padding: 8px 3px 8px 6px; border-left-width: 3px; font-size: 13.5px; }
  #example .ex-po .po { width: 400px; height: auto; padding: 22px 18px 26px; font-size: 15px; }
  #example .ex-po .po-logo { width: 84px; height: 32px; }
  #example .ex-po .po-tt h3 { font-size: 19px; }
  #example .ex-po .po-meta { grid-template-columns: auto 6.5em; gap: 8px 10px; margin-top: 10px; }
  #example .ex-po .po-meta dt { font-size: 12px; }
  #example .ex-po .fld { height: 11px; }
  #example .ex-po .po-parties { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
  #example .ex-po .po-p h4, #example .ex-po .po-ak { margin-bottom: 7px; padding: 5px 9px; font-size: 12.5px; }
  #example .ex-po .po-p .fld--block { height: 124px; }
  #example .ex-po .po-p + .po-p .fld--block { height: 56px; }
  #example .ex-po .po-items { margin-top: 22px; }
  #example .ex-po .po-items th { padding: 8px 9px; font-size: 12.5px; }
  #example .ex-po .po-items td { height: 44px; padding: 0 9px; }
  #example .ex-po .po-items .n { display: none; }
  #example .ex-po .po-sum { margin-top: 14px; font-size: 15px; }
  #example .ex-po .po-auth { margin-top: 26px; }
  #example .ex-po .po-line { height: 40px; }
  #example .ex-po .po-line .fld--sig { height: 3px; }
  #example .cap[data-k="title"] { left: 6vw; top: calc(12 * var(--sv)); width: 88vw; }
  #example .cap[data-k="fict"] { left: 6vw; top: calc(64 * var(--sv)); width: 88vw; }
  #example .cap[data-k="fict"] .vo { font-size: 23px; }
  #example .cap[data-k="third"], #example .cap[data-k="equip"] { left: 6vw; top: auto; bottom: calc(77 * var(--sv)); width: 88vw; }
  #example .cap[data-k="third"] .vo, #example .cap[data-k="equip"] .vo { font-size: 21px; }
  #example .cap[data-k="prop"] { left: 6vw; top: calc(4 * var(--sv)); width: 88vw; }
  #example .cap[data-k="prop"] .vo { font-size: clamp(26px, 7.6vw, 34px); }
  #example .cap[data-k="signed"] { left: 6vw; top: calc(3 * var(--sv)); width: 88vw; }
  #example .cap[data-k="signed"] .vo { font-size: 19px; }
  #example .cap[data-k="nothing"] .vo { font-size: clamp(24px, 7.2vw, 30px); }
  #example .cap[data-k="nothing"] [data-line] { left: 5vw; width: 90vw; }   /* top from the script */
  #example .cap[data-k="worth"] { left: 6vw; top: calc(5 * var(--sv)); width: 88vw; }
  #example .cap[data-k="worth"] .vo { font-size: 21px; }
  #example .cap[data-k^="may"] .vo { font-size: 18px; }
}
