/* Two chairs. Elefo is a pair, so the page is a pair: one seam runs down everything below the scene.
   Left of it is ONE DESK in daylight (paper, ink). Right of it is EVERY OFFICE at dusk (the scene's own evening, light words).
   Both grounds and every accent are taken from the scene's stills and p/page.css. Nothing here touches p/ or shared/. */
.chairs {
  --dusk: #434552;                 /* the ground of the scene's dusk frames (p/seq/twelve, cleared, end) */
  --d-ink: #FDF8F0; --d-ink-2: rgba(253,248,240,.78); --d-rule: rgba(253,248,240,.24);
  --fig: #F4A47C; --seam: #F4A47C; --card: #FBF7EF; --note: #FBF1D3;
  --bp: clamp(56px, 6.5vw, 96px);       /* air above and below a band */
  --hgap: clamp(18px, 2.5vw, 38px);     /* a headline's distance from the seam */
  --lap: 9svh;                          /* how far the first band reaches up over the scene's last frame */
  --ph: min(25vw, 50svh);               /* a half-screen picture */
  --stack: 236px;                       /* the steppers that sit on the seam */
  --lift-2: 0 0 0 1px rgba(29,29,27,.07), 0 22px 36px -24px rgba(20,18,30,.6);
}
.chairs svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chairs input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.chairs input[type="number"]::-webkit-outer-spin-button, .chairs input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chairs button { font: inherit; }
.chairs img { max-width: 100%; }

/* ---------- header: it sits over both halves, so it is a pair too ---------- */
.chairs .nav::before, .chairs .nav::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
.chairs .nav::before { top: 0; bottom: 0; z-index: -1; }
.chairs .nav::after { bottom: -1px; height: 1px; z-index: -1; }
.chairs .nav[data-g]::before, .chairs .nav[data-g]::after { opacity: 1; }
.chairs .nav[data-g="split"]::before { background: linear-gradient(90deg, var(--paper) calc(50% - 1px), var(--seam) calc(50% - 1px), var(--seam) calc(50% + 1px), var(--dusk) calc(50% + 1px)); }
.chairs .nav[data-g="split"]::after { background: linear-gradient(90deg, rgba(29,29,27,.12) 50%, rgba(253,248,240,.16) 50%); }
.chairs .nav[data-g="day"]::before { background: var(--paper); } .chairs .nav[data-g="day"]::after { background: rgba(29,29,27,.12); }
.chairs .nav[data-g="dusk"]::before { background: var(--dusk); } .chairs .nav[data-g="dusk"]::after { background: rgba(253,248,240,.16); }
.chairs .nav[data-g="split"], .chairs .nav[data-g="day"] { color: var(--ink); }
.chairs .nav[data-g="dusk"] { color: var(--d-ink); }
.chairs .nav[data-g] .nav__links { opacity: 1; pointer-events: auto; }
.chairs .nav[data-g="split"] .nav__links { position: absolute; left: calc(50% + var(--hgap)); margin: 0; color: var(--d-ink); }
.chairs .nav__links a { font-weight: 500; }
/* one Book a demo at a time: the header's steps back while another one is on screen */
.chairs .nav .cta { transition: background .2s, opacity .25s, visibility 0s; }
.chairs .nav.cta-off .cta { opacity: 0; visibility: hidden; pointer-events: none; transition: background .2s, opacity .14s, visibility 0s .14s; }

/* ---------- the pair ---------- */
.duo { position: relative; z-index: 1; }
.duo > .band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding: var(--bp) 0; isolation: isolate;
  background: linear-gradient(90deg, var(--paper) 50%, var(--dusk) 50%); }
/* the seam */
.duo > .band::after { content: ""; position: absolute; z-index: 0; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: var(--seam); pointer-events: none; }
.side { display: contents; }
.hx { margin: 0; font: 500 clamp(40px, 4.7vw, 72px)/1.02 var(--display); letter-spacing: -.022em; }
.s-day > .hx { grid-area: 2 / 1; justify-self: end; text-align: right; padding: 0 var(--hgap) 0 var(--edge); }
.s-eve > .hx { grid-area: 2 / 2; justify-self: start; padding: 0 var(--edge) 0 var(--hgap); color: var(--d-ink); }
.s-day > .pic { grid-area: 1 / 1; } .s-eve > .pic { grid-area: 1 / 2; }
.s-day > .obj { grid-area: 3 / 1; } .s-eve > .obj { grid-area: 3 / 2; color: var(--d-ink); }
.obj, .mid { margin-top: clamp(36px, 4.2vw, 60px); }
.mid { grid-area: 3 / 1 / 4 / 3; justify-self: center; position: relative; z-index: 2; }
.seamrow { grid-area: 4 / 1 / 5 / 3; justify-self: center; position: relative; z-index: 2; margin-top: clamp(44px, 5vw, 72px); }
.pic { margin: 0; overflow: hidden; } .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* a crossing: a dot that travels over the seam when the visitor acts */
.xdot { position: fixed; left: -7px; top: -7px; z-index: 60; width: 14px; height: 14px; border-radius: 50%; background: var(--cta); pointer-events: none; will-change: transform; }
.is-ring { border-radius: 12px; }

/* ---------- 1. the estimate: small at one desk, big across twelve ---------- */
/* Hand-off: the scene ends on dusk, full width. The band reaches up over the frame's last edge, the dusk stays on the right,
   and daylight rises on the left through the picture of one desk. */
.duo > .b-worth { margin-top: calc(-1 * var(--lap)); padding-top: var(--lap);
  background:
    linear-gradient(rgba(67,69,82,0), var(--dusk)) 0 0 / 100% var(--lap) no-repeat,
    linear-gradient(var(--dusk), var(--dusk)) 0 var(--lap) / 50% calc(var(--ph) * .5) no-repeat,
    linear-gradient(90deg, var(--paper) 50%, var(--dusk) 50%) 0 var(--lap) / 100% calc(100% - var(--lap)) no-repeat; }
.duo > .b-worth::after { top: var(--lap); transform: scaleY(var(--draw, 1)); transform-origin: 50% 0; }
html.still .duo > .b-worth { margin-top: 0; padding-top: 0; background: linear-gradient(90deg, var(--paper) 50%, var(--dusk) 50%); }
html.still .duo > .b-worth::after { top: 0; }
.b-worth .pic { height: var(--ph); }
.b-worth .pic img { -webkit-mask-image: linear-gradient(transparent, #000 26%, #000 64%, transparent 94%); mask-image: linear-gradient(transparent, #000 26%, #000 64%, transparent 94%); }
.b-worth .s-day .pic img { object-position: 62% 50%; }
.b-worth .hx { margin-top: calc(var(--ph) * -.03); position: relative; }

.facts { justify-self: end; margin-right: calc(var(--stack) / 2 + clamp(20px, 3.2vw, 52px)); margin-left: var(--edge); }
.fx { display: grid; gap: clamp(16px, 1.9vw, 26px); }
.fx li { display: grid; grid-template-columns: 38px auto; align-items: center; gap: 14px; font: 500 clamp(20px, 1.9vw, 28px)/1.15 var(--body); letter-spacing: -.012em; white-space: nowrap; }
.chairs .fx .i { width: 34px; height: 34px; stroke-width: 1.6; }
/* an assumption you can change in place: a number in a soft rounded field */
.chairs input.n { box-sizing: content-box; width: 2ch; min-width: 1.2ch; margin: 0 3px; padding: 3px 5px 2px; border: 0; border-bottom: 2px dotted rgba(29,29,27,.45); border-radius: 8px 8px 0 0; background: none; color: var(--ink); font: 600 1.16em/1 var(--body); letter-spacing: -.015em; text-align: center; font-variant-numeric: tabular-nums; cursor: text; transition: background .2s, border-color .2s; }
.chairs input.n:hover { background: rgba(29,29,27,.06); border-bottom-color: var(--ink); }
.chairs input.n:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; background: var(--card); border-bottom-color: transparent; border-radius: 8px; }
.as { margin-top: clamp(22px, 2.4vw, 32px); }
.as summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px 0 16px; border-radius: 23px; box-shadow: inset 0 0 0 1px rgba(29,29,27,.22); font: 600 16px/1 var(--body); cursor: pointer; user-select: none; transition: background .2s; }
.as summary::-webkit-details-marker { display: none; }
.as summary:hover { background: rgba(29,29,27,.05); }
.chairs .as summary .i { width: 19px; height: 19px; } .chairs .as summary .chev { transition: transform .25s; } .as[open] summary .chev { transform: rotate(180deg); }
.as__in { margin-top: 22px; width: min(100%, 400px); }
.as__in h3 { font: 500 clamp(24px, 2vw, 30px)/1.1 var(--display); letter-spacing: -.015em; margin-bottom: 8px; }
.as__g label { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--rule); font: 500 16.5px/1.2 var(--body); }
.as__g label:first-child { border-top: 0; }
.chairs .as__g .i { width: 20px; height: 20px; color: var(--ink-2); }
.as__g em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 16px; }
.chairs .as__g input.n { font-size: 18px; min-width: 2.4ch; }

/* the three inputs sit on the seam: they are what turns the left into the right */
.stack { display: grid; width: var(--stack); padding: 6px 12px; border-radius: 28px; background: var(--card); box-shadow: var(--lift-2); color: var(--ink); }
.stp { display: grid; gap: 8px; padding: 14px 0 13px; border-top: 1px solid rgba(29,29,27,.1); } .stp:first-child { border-top: 0; }
.stp label { display: flex; align-items: center; gap: 9px; padding-left: 5px; font: 600 15px/1.2 var(--body); white-space: nowrap; }
.chairs .stp label .i { width: 19px; height: 19px; }
.stp__c { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; }
.stp button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: #F0E8DA; cursor: pointer; transition: background .2s; }
.stp button:hover { background: #E7DCCA; } .stp button:disabled { opacity: .35; cursor: default; }
.chairs .stp button .i { width: 18px; height: 18px; stroke-width: 2; }
.stp input { width: 100%; min-width: 0; height: 42px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); font: 600 27px/1 var(--body); letter-spacing: -.02em; text-align: center; font-variant-numeric: tabular-nums; }
.stp input:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* the group's figure, in the scene's own light terracotta and size */
.wbox { justify-self: start; margin-left: calc(var(--stack) / 2 + clamp(20px, 3.2vw, 52px)); margin-right: var(--edge); width: min(440px, calc(100% - var(--stack) / 2 - clamp(20px, 3.2vw, 52px) - var(--edge))); }
.fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.fig output { font: 600 calc(clamp(56px, 5.6vw, 84px) * .72)/1.04 var(--body); letter-spacing: -.02em; color: var(--fig); font-variant-numeric: tabular-nums; }
.fig span { font: 400 clamp(20px, 1.5vw, 22px)/1.3 var(--body); color: var(--d-ink-2); }
.per { margin-top: 6px; font: 400 clamp(18px, 1.4vw, 20px)/1.3 var(--body); color: var(--d-ink-2); } .per b { font-weight: 600; color: var(--d-ink); font-variant-numeric: tabular-nums; }
.parts { margin-top: clamp(22px, 2.2vw, 30px); display: grid; gap: 16px; }
.parts li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; font: 500 17px/1.2 var(--body); }
.parts li > b { font-weight: 600; font-variant-numeric: tabular-nums; }
.chairs .parts .i { width: 22px; height: 22px; border-radius: 50%; }
/* bars that add up: each part starts where the last one ended */
.bar { grid-column: 2 / -1; position: relative; height: 6px; border-radius: 3px; background: rgba(253,248,240,.13); overflow: hidden; }
.bar i { position: absolute; top: 0; bottom: 0; left: var(--a, 0%); width: var(--w, 0%); border-radius: 3px; background: var(--fig); transition: left .5s cubic-bezier(.3,.7,.2,1), width .5s cubic-bezier(.3,.7,.2,1); }
.parts .is-kept { color: var(--d-ink-2); } .parts .is-kept > b { font-weight: 500; }
.is-kept .bar { height: 0; background: none; border-top: 2px dotted rgba(253,248,240,.4); border-radius: 0; }
.wbox .cta, .door .cta { min-height: 52px; padding: 0 28px; border-radius: 26px; font-size: 18px; }
.wbox .cta { margin-top: clamp(26px, 2.6vw, 36px); }

/* ---------- 2. the product: Grace does, Olivia sees ---------- */
#play { --sim-h: clamp(520px, calc(100svh - 236px), 600px); }
.esim__goalrow { grid-area: 3 / 1 / 4 / 3; justify-self: center; margin-top: clamp(30px, 3.2vw, 44px); position: relative; z-index: 3; scroll-margin-top: 84px; }
.esim__pane { margin-top: 20px; }
.esim__pane.desk { grid-area: 4 / 1; padding: 0 clamp(14px, 1.7vw, 24px) 0 var(--edge); }
.esim__pane.ops { grid-area: 4 / 2; padding: 0 var(--edge) 0 clamp(14px, 1.7vw, 24px); --sim-label: var(--d-ink-2); --sim-label-strong: var(--d-ink); }

/* ---------- 3. inside: tasks, tickets ---------- */
.io { display: grid; gap: 22px; }
.s-day > .io { justify-self: end; justify-items: end; padding: 0 var(--hgap) 0 var(--edge); }
.s-eve > .io { justify-self: start; justify-items: start; padding: 0 var(--edge) 0 var(--hgap); }
.b-inside .obj { margin-top: 18px; }
.ln { display: flex; align-items: center; gap: 12px; font: 500 clamp(18px, 1.5vw, 21px)/1.25 var(--body); }
.s-day .ln { color: #34302A; } .s-eve .ln { color: var(--d-ink-2); }
.esim.frag { display: flex; flex-direction: column; gap: 14px; width: min(100%, 400px); margin-top: 14px; padding: 22px 20px 20px; border-radius: 24px; background: var(--s-card); box-shadow: var(--lift-2); color: var(--s-ink); }
.esim.frag .h-serif { font-size: 26px; line-height: 30px; }
.esim.frag .meta { margin: -6px 0 0; }
.esim.frag .acts { margin-top: 6px; }
#ftask, #ftix { min-height: 336px; } #ftask .acts { margin-top: auto; }
#ftix { gap: 0; } #ftix .tix { border: 0; padding: 0; } #ftix .tix__t { font-size: 17px; line-height: 23px; } #ftix .tix__m { font-size: 13px; }
/* the ticket's way across: who raised it, who saw it, who has it */
.trail { display: grid; margin-top: 16px; border-top: 1px dashed var(--s-rule-strong); }
.trail li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 46px; border-top: 1px solid var(--s-rule); font: 500 14.5px/1.2 var(--s-ui); color: var(--s-ink); } .trail li:first-child { border-top: 0; }
.trail small { font: 400 13px/1 var(--s-ui); color: var(--s-ink-2); font-variant-numeric: tabular-nums; }
.trail li.is-wait { color: var(--s-ink-2); }
#ftix .acts { margin-top: auto; padding-top: 14px; align-items: center; } #ftix .acts > span { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--s-ink-2); } #ftix .acts b { color: var(--s-ink); }
/* the footnote: five more things, on the seam */
.also { display: flex; gap: 2px; padding: 6px; border-radius: 28px; background: var(--card); box-shadow: var(--lift-2); }
.also li { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px 0 13px; font: 500 16px/1 var(--body); color: #3d3933; white-space: nowrap; }
.chairs .also .i { width: 19px; height: 19px; }

/* ---------- 4. start and trust: you send a photo, we build the rest ---------- */
.photo { justify-self: end; display: grid; justify-items: center; gap: 4px; margin-right: clamp(40px, 6vw, 96px); margin-left: var(--edge); }
.shot { position: relative; display: grid; place-items: center; width: 318px; height: 322px; }
.shot__c { position: absolute; width: 34px; height: 34px; border: 2px solid var(--ink); opacity: .8; }
.shot__c:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-radius: 12px 0 0 0; } .shot__c:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-radius: 0 12px 0 0; }
.shot__c:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-radius: 0 0 0 12px; } .shot__c:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-radius: 0 0 12px 0; }
/* a warm sticky note stands for the paper checklist */
.stick { width: 232px; padding: 20px 22px 24px; border-radius: 3px 3px 22px 3px; background: var(--note); transform: rotate(-3.5deg); box-shadow: 0 1px 0 rgba(29,29,27,.06), 0 22px 26px -20px rgba(29,29,27,.5); color: #2b2620; font: italic 500 20px/1.2 var(--display); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.stick b { display: block; margin-bottom: 8px; font: italic 500 27px/1.1 var(--display); letter-spacing: -.01em; }
.stick li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(29,29,27,.1); }
.stick li::before { content: ""; flex: none; width: 15px; height: 15px; border: 1.5px solid #2b2620; border-radius: 4px; }
.photo.is-sent .stick { transform: rotate(-1deg) scale(.97); }
.chairs .shutter { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 14px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--ink); transition: transform .15s; }
.shutter:active { transform: scale(.94); }
.rest { justify-self: start; display: grid; margin-left: clamp(40px, 6vw, 96px); margin-right: var(--edge); }
.rest li { position: relative; display: grid; grid-template-columns: 60px auto; align-items: center; gap: 20px; min-height: 104px; font: 500 clamp(22px, 2vw, 29px)/1.15 var(--body); letter-spacing: -.015em; }
.rest li i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--d-rule); color: var(--d-ink); transition: background .35s, color .35s, box-shadow .35s; }
.chairs .rest .i { width: 26px; height: 26px; stroke-width: 1.6; }
.rest li + li::before { content: ""; position: absolute; left: 29px; top: -22px; width: 2px; height: 44px; border-radius: 1px; background: var(--d-rule); }
.rest li.is-on i { background: var(--fig); color: #2E2A2C; box-shadow: none; }
.tru { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(48px, 5.4vw, 80px); }
.s-day > .tru { grid-area: 4 / 1; justify-self: end; align-items: flex-end; padding: 0 var(--hgap) 0 var(--edge); }
.s-eve > .tru { grid-area: 4 / 2; justify-self: start; align-items: flex-start; padding: 0 var(--edge) 0 var(--hgap); color: var(--d-ink); }
.tru li { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 23px; background: rgba(29,29,27,.055); font: 500 16.5px/1.2 var(--body); white-space: nowrap; }
.s-eve > .tru li { background: rgba(253,248,240,.1); }
.chairs .tru .i { width: 21px; height: 21px; }
.brd { grid-area: 5 / 1 / 6 / 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(28px, 3vw, 44px); font: 500 clamp(18px, 1.5vw, 21px)/1.25 var(--body); }
.brd span:first-child { text-align: right; padding: 0 var(--hgap) 0 var(--edge); color: #34302A; }
.brd span:last-child { padding: 0 var(--edge) 0 var(--hgap); color: var(--d-ink-2); }

/* ---------- 5. close: the seam ends in two doors ---------- */
.duo > .b-doors { padding-bottom: 0; }
.door { position: relative; display: grid; justify-items: center; align-content: start; gap: 16px; width: min(380px, calc(100% - var(--edge) - var(--hgap) * 2)); min-height: clamp(400px, 30vw, 436px); padding: clamp(84px, 7.4vw, 106px) 30px 48px; border-radius: 190px 190px 0 0; text-align: center; scroll-margin-top: 150px; }
.s-day > .door { justify-self: end; margin-right: calc(var(--hgap) * 2); background: var(--dusk); color: var(--d-ink); }
.s-eve > .door { justify-self: start; margin-left: calc(var(--hgap) * 2); background: var(--paper); color: var(--ink); }
.chairs .door > .i { width: 34px; height: 34px; stroke-width: 1.5; }
.door__ln { font: 400 clamp(25px, 2.25vw, 32px)/1.22 var(--display); letter-spacing: -.015em; } .door__ln span { display: block; white-space: nowrap; }
.door__k { font: 600 17px/1 var(--body); }
.door__big { font: 500 clamp(40px, 3.9vw, 56px)/1 var(--display); letter-spacing: -.022em; }
.door .cta, .door .cta2 { margin-top: 12px; }
.cta2 { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px 0 22px; border-radius: 26px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 18px/1 var(--body); white-space: nowrap; transition: background .2s; }
.cta2:hover { background: #3a3733; } .chairs .cta2 .i { width: 20px; height: 20px; }

/* the page ends on the doors: they stand on one dusk floor, and the footer is that floor */
.chairs .one { padding: clamp(56px, 6vw, 96px) 0 0; background: var(--dusk); color: var(--d-ink); overflow: hidden; }
.chairs .one .ft { position: relative; margin-top: 0; border-top: 1px solid var(--d-rule); color: var(--d-ink-2); font-size: 15px; gap: 28px; padding: 22px var(--edge) 28px; }
.chairs .one .ft .wm { color: var(--d-ink); } .chairs .one .ft a:not(.wm) { text-underline-offset: 4px; }

/* ---------- a narrower split ---------- */
@media (max-width: 1239px) and (min-width: 1000px) {
  .chairs { --stack: 204px; }
  .stp label { font-size: 13.5px; gap: 7px; }
  .rest li { min-height: 92px; }
}

/* ---------- stacked: each band is a day block over a dusk block; the seam turns horizontal between them ---------- */
@media (max-width: 999px) {
  .chairs { --bp: 60px; --lap: 5svh; --ph: 56.25vw; }
  .duo > .band { display: flex; flex-direction: column; align-items: stretch; padding: 0; background: var(--paper); }
  .duo > .band::after { display: none; }
  .side { display: flex; flex-direction: column; padding: var(--bp) var(--gut); }
  .side.s-day { position: relative; z-index: 1; background: var(--paper); }
  .side.s-eve { position: relative; background: var(--dusk); color: var(--d-ink); }
  /* the seam, turned */
  .side.s-eve::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--seam); }
  /* each band rises over the last one's evening as a rounded sheet */
  .duo > .band + .band > .side.s-day { margin-top: -30px; border-radius: 30px 30px 0 0; overflow: hidden; }
  .duo > .band + .band > .side.s-eve { padding-top: var(--bp); }
  .s-day > .hx, .s-eve > .hx { justify-self: auto; text-align: left; padding: 0; }
  .hx { font-size: clamp(40px, 10.8vw, 60px); }
  .obj { margin-top: 30px; }
  .mid { height: 0; margin: 0; align-self: center; z-index: 3; display: grid; align-content: center; }
  .seamrow { align-self: stretch; margin: 0; }
  .pic { margin: 0 calc(-1 * var(--gut)); }

  .duo > .b-worth { margin-top: calc(-1 * var(--lap)); padding-top: var(--lap); background: linear-gradient(rgba(67,69,82,0), var(--dusk)) 0 0 / 100% var(--lap) no-repeat, linear-gradient(var(--paper), var(--paper)) 0 var(--lap) / 100% calc(100% - var(--lap)) no-repeat; }
  .b-worth .side.s-day { padding-top: 0; padding-bottom: 132px; background: linear-gradient(var(--dusk), var(--dusk)) 0 0 / 100% calc(var(--ph) * .5) no-repeat, var(--paper); }
  .b-worth .side.s-eve { padding-top: 136px; padding-bottom: 0; }
  html.still .duo > .b-worth { background: var(--paper); }
  html.still .b-worth .side.s-day { background: var(--paper); }
  .b-worth .s-eve .pic { order: 9; margin-top: 34px; height: var(--ph); }
  .b-worth .hx { margin-top: -10px; }
  .facts { justify-self: auto; margin: 30px 0 0; }
  .fx li { font-size: clamp(20px, 5.6vw, 26px); grid-template-columns: 34px auto; gap: 12px; white-space: normal; } .chairs .fx .i { width: 30px; height: 30px; }
  .as__in { width: 100%; }
  /* the three inputs lie across the turned seam, one row each */
  .stack { width: min(420px, calc(100vw - 2 * var(--gut))); border-radius: 26px; padding: 4px 8px 4px 16px; }
  .stp { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 60px; padding: 0; }
  .stp label { padding: 0; font-size: 15.5px; white-space: normal; }
  .stp__c { grid-template-columns: 40px 52px 40px; } .stp button { width: 40px; height: 40px; } .stp input { font-size: 23px; height: 40px; }
  .wbox { justify-self: auto; width: auto; margin: 26px 0 0; }
  .fig output { font-size: clamp(46px, 13vw, 58px); }
  .parts li { font-size: 16.5px; }

  .b-try .side.s-day { padding-bottom: 0; } .b-try .side.s-eve { padding-bottom: 0; }
  .b-try .side.s-day { order: 1; } .esim__goalrow { order: 2; } .esim__pane.desk { order: 3; } .b-try .side.s-eve { order: 4; } .esim__pane.ops { order: 5; }
  #play { --sim-h: min(580px, calc(100svh - 190px)); }
  .esim__goalrow { position: sticky; top: 68px; z-index: 6; align-self: stretch; margin: 18px 0 0; padding: 0 var(--gut); display: grid; justify-items: center; }
  .esim__pane { margin: 0; }
  .esim__pane.desk { padding: 16px var(--gut) var(--bp); background: var(--paper); position: relative; z-index: 1; }
  .esim__pane.ops { padding: 22px var(--gut) var(--bp); background: var(--dusk); }
  .esim__pane .esim__win, .esim__pane .esim__cap { width: 100%; max-width: 460px; justify-self: center; }
  .esim__pane.ops .esim__win { height: auto; min-height: 420px; } .esim__pane.ops .web__main { overflow: visible; }

  .s-day > .io, .s-eve > .io { justify-self: auto; justify-items: start; padding: 0; }
  .b-inside .obj { margin-top: 14px; }
  .esim.frag { width: 100%; max-width: 460px; }
  .b-inside .side.s-eve { padding-bottom: 28px; }
  .also { align-self: stretch; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0 calc(var(--gut) - 6px) var(--bp); border-radius: 0; background: var(--dusk); box-shadow: none; }
  .also li { flex-direction: column; justify-content: center; gap: 8px; min-height: 60px; padding: 0; color: var(--d-ink); font-size: 14px; }
  .chairs .also .i { width: 22px; height: 22px; }

  .photo { justify-self: auto; justify-items: start; margin: 26px 0 0; grid-template-columns: auto auto; align-items: center; gap: 0 22px; justify-content: start; }
  .shot { width: 250px; height: 292px; } .stick { width: 204px; padding: 16px 18px 20px; font-size: 18px; } .stick b { font-size: 24px; }
  .chairs .shutter { margin: 0; }
  .rest { justify-self: auto; margin: 22px 0 0; } .rest li { min-height: 88px; grid-template-columns: 54px auto; gap: 16px; font-size: clamp(21px, 5.8vw, 26px); } .rest li i { width: 54px; height: 54px; }
  .rest li + li::before { left: 26px; top: -17px; height: 34px; }
  .tru { margin-top: 34px; } .s-day > .tru, .s-eve > .tru { justify-self: auto; align-items: flex-start; padding: 0; }
  .tru li { white-space: normal; min-height: 46px; padding: 8px 16px 8px 13px; font-size: 16px; }
  .b-start .side.s-eve { padding-bottom: 26px; }
  .brd { display: block; margin: 0; padding: 0 var(--gut) var(--bp); background: var(--dusk); font-size: 18px; }
  .brd span:first-child, .brd span:last-child { padding: 0; text-align: left; color: var(--d-ink-2); }

  .b-doors .side.s-day { padding-bottom: 0; } .b-doors .side.s-eve { padding-bottom: 0; }
  .door { width: min(100%, 340px); min-height: 0; margin: 28px 0 0 !important; justify-self: auto; align-self: center; padding: 78px 22px 52px; border-radius: 170px 170px 0 0; }
  .chairs .one { padding-top: 48px; }
  .chairs .one .ft { flex-wrap: wrap; gap: 12px 22px; padding: 20px var(--gut) 64px; margin-top: 0; }
}
@media (max-width: 899px) { .esim__goalrow { top: 60px; } }

/* the goals bar on a narrow screen: three icons, the current goal in words */
@media (max-width: 760px) {
  .esim__goals { width: 100%; max-width: 460px; gap: 2px; }
  .esim .esim__goal { flex: none; padding: 0 4px; } .esim .esim__goal span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .esim .esim__goal.is-next { flex: 1 1 auto; min-width: 0; padding: 0 12px 0 6px; white-space: normal; line-height: 1.12; text-align: left; } .esim .esim__goal.is-next span { position: static; width: auto; height: auto; clip-path: none; }
  .esim__dash { display: none; }
  .esim .esim__reset { margin-left: auto; width: 40px; height: 40px; }
  .esim__won { flex: 1; gap: 8px; padding: 0 0 0 10px; justify-content: space-between; } .esim__won b { font-size: 19px; white-space: normal; line-height: 1.05; } .esim__won .cta { padding: 0 16px; font-size: 15px; }
  .esim.is-done .esim__goal { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chairs *, .chairs *::before, .chairs *::after { transition: none !important; }
  .duo > .b-worth::after { transform: none; }
  .chairs .is-ring, .chairs .esim .is-ring { animation: chairs-ring 2.2s ease-out !important; }
}
