/* Case study page (/projects/mama-ds-scheduler), on top of style.css + projects.css.
   From Mockups/freelance/projects/case-study-v2.html layout C "Sideways" (chosen 2026-11-17).
   Without JS (or below 900x560, or with reduced motion) the five panels simply stack and everything shows;
   js/case-study.js adds .pin to .c-scene to pin the story and slide the panels past sideways. */

:root { --nav: 72px; --hand: 'Caveat', cursive; --box: color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.nowrap { white-space: nowrap; }

/* ===== Header: title, summary, client card ===== */
.cs-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
/* Client card: the same rounded box as the story panels. Logo = Drew's file, trimmed (img/projects/mamads-logo.png) */
.client { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: clamp(28px, 3.5vw, 44px); padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; background: var(--box); border: 1px solid var(--line); }
.client-who { display: flex; align-items: center; gap: 16px; }
.client-logo { display: grid; place-items: center; width: 108px; height: 80px; flex: none; padding: 8px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.client-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.client-who b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.client-who small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--body); }
.client-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid var(--line); }
.client-facts dt { font-size: 13px; color: var(--muted); }
.client-facts dd { margin: 3px 0 0; font-size: 15.5px; font-weight: 600; }

/* ===== The story: five panels, each a head row over one equal-size box ===== */
section.c-scene { padding: 0; } /* style.css pads every section; the story sets its own spacing */
.c-stage > .prog { display: none; }
.c-track { display: grid; gap: clamp(56px, 8vw, 96px); padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto; }
.c-panel { display: grid; gap: clamp(18px, 2.4vh, 28px); align-content: start; }
.c-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: end; }
.c-head h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: .82; text-transform: uppercase; }
.c-head p { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; color: var(--body); }
.c-box { --pad: clamp(18px, 2.4vw, 28px); display: grid; place-items: center; padding: var(--pad); border-radius: 20px; background: var(--box); border: 1px solid var(--line); }
.c-fit { width: 100%; }
.c-fit .paper { max-width: 600px; margin: 0 auto; }
.c-fit .phone { margin: 0 auto; }
.c-box--phone { align-items: start; height: calc(560px + var(--pad)); padding-bottom: 0; overflow: hidden; }
.c-box--phone .phone { --ph: 560px; --cut: 90px; } /* the phone carries on past the box edge */
.c-box--result { grid-template-rows: 1fr auto; gap: clamp(36px, 4vw, 56px); place-items: stretch; padding: clamp(28px, 4vw, 52px); background: var(--accent); border-color: var(--accent); color: #fff; }

/* Progress bar over the pinned story */
.prog { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.prog > div { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.prog > div.on { color: var(--ink); }
.prog i { position: relative; display: block; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prog i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; scale: var(--f, 0) 1; }

/* ----- Listen: the paper schedule, redrawn from the real Mama D's sheet ----- */
.paper { position: relative; container-type: inline-size; width: 100%; padding: 2.4cqi 2.6cqi 1.6cqi; background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 4px; color: var(--ink); }
.paper table { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--sans); }
.paper col.c-name { width: 14%; }
.paper thead th { height: 10.5cqi; padding: 0 0 .8cqi; vertical-align: bottom; text-align: left; font-weight: 600; white-space: nowrap; }
.paper .slant { display: inline-block; transform-origin: 0 100%; rotate: -34deg; translate: 1.4cqi 0; font-size: max(8px, 2.2cqi); color: var(--error); }
.paper .slant--emp { color: var(--accent); translate: .4cqi 0; }
.paper .slant i { margin-left: .8cqi; font-family: var(--hand); font-size: max(9px, 2.7cqi); font-style: normal; font-weight: 500; color: var(--ink); }
.paper .sub th { height: auto; padding: .5cqi .4cqi; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); font-size: max(6px, 1.45cqi); font-weight: 600; color: var(--body); }
.paper .sub th:first-child { color: var(--error); }
.paper .sub th span { display: flex; justify-content: space-around; }
.paper tbody td { height: max(18px, 4.8cqi); padding: 0 .3cqi; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); text-align: center; font-family: var(--hand); font-size: max(11px, 3.7cqi); font-weight: 500; line-height: 1; white-space: nowrap; }
.paper tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--error) 11%, #fff); }
.paper tbody td.n { padding-left: .6cqi; text-align: left; font-family: var(--sans); font-size: max(8px, 1.95cqi); font-weight: 700; color: var(--accent); }
.paper tbody td.mon { background: color-mix(in srgb, var(--accent-light) 75%, #fff) !important; }
.paper sup { font-size: .55em; }
.paper .strike { display: block; height: 1.5px; margin: 0 1cqi; background: var(--ink); opacity: .65; rotate: -.3deg; }
.paper tfoot td { padding: 0; border: 0; }
.paper tfoot .fry { padding: 1cqi .6cqi 1.6cqi; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); font-family: var(--hand); font-size: max(10px, 2.9cqi); line-height: 1.05; }

/* ----- Plan: text only, three columns ----- */
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); width: 100%; align-self: center; }
/* Each column is a <details>: open columns on desktop (case-study.js keeps them open), dropdowns on phones */
.plan summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 10px; border-top: 2px solid var(--accent); list-style: none; cursor: default; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary .arr { display: none; }
.plan h3 { margin: 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.01em; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 11px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.4; color: var(--body); }
.plan li b { font-weight: 600; color: var(--ink); }
.plan li small { display: block; margin-top: 2px; font-size: clamp(13.5px, 1.1vw, 15px); color: var(--muted); }

/* ----- Build: Feature list beside the MacBook. The bar fills while it plays by itself (6s a step); when it
   fills, the next step opens. A click restarts it from there; hovering (or tabbing through) pauses it. ----- */
.tour { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; width: 100%; }
.tour-tabs { --play: 6s; display: grid; gap: 4px; }
.tour-tabs button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px; border-radius: 14px; cursor: pointer; transition: background .25s; }
.f-thumb { grid-row: 1 / span 2; width: 76px; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #fff; opacity: .55; transition: opacity .25s, border-color .25s; }
.f-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tour-tabs b { font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; color: var(--muted); transition: color .25s; }
.f-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.f-more > span { display: block; min-height: 0; overflow: hidden; }
.f-text { display: block; padding-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--body); }
.f-more i { position: relative; display: block; height: 3px; margin: 10px 0 2px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; opacity: 0; transition: opacity .3s; }
.f-more i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; scale: 0 1; }
.playing .f-more i { opacity: 1; }
.playing .tour-tabs [aria-selected="true"] .f-more i::after { animation: cs-fill var(--play) linear forwards; }
.tour:hover .f-more i::after, .tour:has(:focus-visible) .f-more i::after { animation-play-state: paused; }
@keyframes cs-fill { from { scale: 0 1; } to { scale: 1 1; } }
.tour-tabs [aria-selected="true"] { background: #fff; }
.tour-tabs [aria-selected="true"] b { color: var(--ink); }
.tour-tabs [aria-selected="true"] .f-thumb { opacity: 1; border-color: var(--accent); }
.tour-tabs [aria-selected="true"] .f-more { grid-template-rows: 1fr; }
.tour-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .tour-tabs button:hover b { color: var(--ink); } .tour-tabs button:hover .f-thumb { opacity: 1; } }
/* MacBook = Drew's image (img/projects/macbook.png, 1062x700, see-through screen at x 109-953, y 77-623);
   the screen sits behind it. Screenshots are Drew's Mac captures, whole and uncropped. */
.mac { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1062 / 700; justify-self: center; }
.mac-frame { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.mac-screen { position: absolute; left: 10.1%; top: 10.8%; width: 79.8%; height: 78.4%; overflow: hidden; background: #fff; container-type: inline-size; }
.mac-bar { height: 2.2cqi; background: #000; }
.mac-media { position: relative; overflow: hidden; }
.mac-media img { display: block; width: 100%; height: auto; transition: opacity .2s; }
.cs-wipe { position: absolute; inset: 0; background: #fff; transform-origin: bottom; scale: 1 0; }

/* ----- Launch: iPhone with the staff group text. Apple's own colours, the one exception to the tokens -----
   iPhone = Drew's frame image (img/projects/iphone-frame.png, 316x636, see-through screen at x 17-300, y 14-622,
   Dynamic Island drawn in); the Messages screen sits behind it. Sized from its height (--ph visible + --cut that
   runs past the box edge), never wider than its box. */
.phone { --ph: 600px; --cut: 0px; position: relative; width: min(100%, calc((var(--ph) + var(--cut)) * 316 / 636)); aspect-ratio: 316 / 636; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; }
.ph-frame { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.ph-screen { position: absolute; left: 5.38%; top: 2.2%; width: 89.56%; height: 95.6%; display: flex; flex-direction: column; border-radius: 10.95% / 5.1%; overflow: hidden; background: #fff; color: #000; }
.ph-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 22px 0 28px; background: #f6f6f6; font-size: 15px; font-weight: 600; flex: none; }
.ph-icons { display: flex; align-items: center; gap: 4px; }
.ph-icons svg { display: block; fill: #000; }
.ph-head { position: relative; display: grid; justify-items: center; gap: 4px; padding: 4px 12px 10px; background: #f6f6f6; border-bottom: 1px solid #d1d1d6; flex: none; }
.ph-back { position: absolute; left: 10px; top: 20px; width: 22px; height: 22px; fill: none; stroke: #007aff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; rotate: 180deg; }
.ph-av { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #9a9aa2; color: #fff; font-size: 19px; font-weight: 500; }
.ph-name { display: flex; align-items: center; gap: 2px; font-size: 12px; }
.ph-name svg { width: 9px; height: 9px; fill: none; stroke: #8e8e93; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-msgs { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: 1; min-height: 0; padding: 10px 12px; overflow: hidden; }
.ph-when { align-self: center; margin: 2px 0 8px; font-size: 11px; line-height: 1.35; text-align: center; color: #8e8e93; }
.ph-when b { font-weight: 600; }
.bubble { max-width: 78%; padding: 8px 13px; border-radius: 18px; background: #34c759; color: #fff; font-size: 15px; line-height: 1.3; }
.bubble--tail { position: relative; }
.bubble--tail::before, .bubble--tail::after { content: ''; position: absolute; bottom: 0; height: 20px; }
.bubble--tail::before { right: -7px; width: 20px; background: #34c759; border-bottom-left-radius: 16px 14px; }
.bubble--tail::after { right: -26px; width: 26px; background: #fff; border-bottom-left-radius: 10px; }
.bubble--img { width: 74%; padding: 0; overflow: hidden; border: 1px solid #e5e5ea; border-radius: 16px; background: #fff; }
.bubble--img img { display: block; width: 100%; height: auto; }
.ph-meta { margin-right: 4px; font-size: 11px; color: #8e8e93; }
.ph-input { display: flex; align-items: center; gap: 8px; margin: 6px 10px max(12px, calc(var(--cut) - 3px)); flex: none; } /* sits just above the box edge */
.ph-cursor { width: 1.5px; height: 18px; margin-right: 1px; background: #007aff; }
.ph-field > span { display: flex; align-items: center; }
.ph-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e9e9eb; flex: none; }
.ph-plus svg { width: 14px; height: 14px; stroke: #7c7c80; stroke-width: 2; stroke-linecap: round; }
.ph-field { display: flex; align-items: center; justify-content: space-between; flex: 1; height: 34px; padding: 0 12px; border: 1px solid #d1d1d6; border-radius: 18px; color: #c7c7cc; font-size: 15px; }
.ph-field svg { width: 12px; height: 16px; fill: none; stroke: #8e8e93; stroke-width: 1.6; stroke-linecap: round; }

/* ----- Result (Mockups/freelance/projects/result-v1.html, B Headline + facts): one bold line on green,
   the three results in a row along the bottom between thin lines ----- */
.r-head { align-self: center; max-width: 15ch; margin: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.r-head em { font-style: normal; white-space: nowrap; color: var(--accent-light); }
.r-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid color-mix(in srgb, #fff 24%, transparent); }
.r-facts div { padding: 22px 20px 0; }
.r-facts div:first-child { padding-left: 0; }
.r-facts div + div { border-left: 1px solid color-mix(in srgb, #fff 24%, transparent); }
.r-facts b { display: block; font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--accent-light); }
.r-facts span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: #fff; }

/* ----- One-shot reveals inside the story, switched on by .lit (JS adds it; without JS nothing is hidden) ----- */
.js .fx .paper .hw { opacity: 0; transition: opacity .3s; transition-delay: calc(.2s + var(--d) * 30ms); }
.js .fx .plan-col { opacity: 0; translate: 0 20px; transition: opacity .5s, translate .7s var(--ease); transition-delay: calc(var(--i) * 160ms); }
.js .fx .cs-wipe { scale: 1 1; transition: scale 1.3s var(--ease) .3s; }
.js .fx .bubble, .js .fx .ph-meta { opacity: 0; translate: 0 24px; transition: opacity .4s, translate .6s var(--ease); transition-delay: calc(.35s + var(--i, 0) * .45s); }
.js .fx .lit .paper .hw { opacity: 1; }
.js .fx .lit .plan-col { opacity: 1; translate: 0; }
.js .fx .lit .cs-wipe { scale: 1 0; }
.js .fx .lit .bubble, .js .fx .lit .ph-meta { opacity: 1; translate: 0; }

/* ----- Pinned (JS, >= 900x560, no reduced motion): the stage sticks under the nav, the track slides sideways ----- */
.c-scene.pin .c-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr);
  --H: min(620px, calc(100vh - var(--nav) - 240px)); }
.c-scene.pin .c-stage > .prog { display: grid; padding: 22px var(--gutter) 0; max-width: 1280px; margin: 0 auto; width: 100%; }
.c-scene.pin .c-track { display: flex; gap: 0; max-width: none; margin: 0; padding: 0 0 0 calc((100% - min(66vw, 900px)) / 2); align-items: center; will-change: transform; } /* the panel in focus sits in the middle of the screen */
.c-scene.pin .c-track::after { content: ''; flex: 0 0 var(--gutter); }
.c-scene.pin .c-panel { flex: 0 0 min(66vw, 900px); margin-right: clamp(32px, 4vw, 64px); padding: clamp(24px, 4vh, 40px) 0; }
.c-scene.pin .c-panel:last-child { margin-right: 0; }
.c-scene.pin .c-box { height: var(--H); --in: calc(var(--H) - var(--pad) * 2); }
.c-scene.pin .c-fit .paper { width: min(620px, calc(var(--in) * 1.32)); }
.c-scene.pin .mac { max-width: min(640px, calc(var(--in) / .66)); }
.c-scene.pin .c-box--phone .phone { --ph: calc(var(--H) - var(--pad)); }
.c-scene.pin .c-panel > * { opacity: .3; transition: opacity .6s; }
.c-scene.pin .c-panel.lit > * { opacity: 1; }

/* Quote after the story */
section.cs-quote { padding: clamp(72px, 9vw, 128px) 0 clamp(72px, 9vw, 120px); }
.c-scene.pin + .cs-quote { padding-top: clamp(48px, 5vw, 72px); }
@media (max-width: 899px) { section.cs-quote { padding: 72px 0; } }

@media (max-width: 899px) {
  :root { --nav: 60px; }
  .client { grid-template-columns: 1fr; }
  .client-facts { grid-template-columns: 1fr 1fr; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .c-head { grid-template-columns: 1fr; gap: 10px; }
  /* Plan: three dropdowns, closed to start. One plain list: thin dividers between rows only, even spacing to the
     box edges, 56px rows; the chevron points down, up when open. Open lists are plain lines, no inner rules. */
  .c-box:has(> .plan) { padding-block: 4px; }
  .plan { grid-template-columns: 1fr; gap: 0; }
  .plan details + details { border-top: 1px solid var(--line); }
  .plan summary { min-height: 56px; padding: 14px 0; border-top: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .plan h3 { font-size: 17px; }
  .plan summary .arr { display: block; width: 16px; height: 16px; color: var(--accent); rotate: 90deg; }
  .plan.tapped summary .arr { transition: rotate .25s var(--ease); } /* turns only after a tap, not when the page closes them on load */
  .plan details[open] summary .arr { rotate: -90deg; }
  .plan summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
  .plan ul { display: grid; gap: 10px; padding: 0 0 18px; }
  .plan li { position: relative; padding: 0 0 0 18px; border-top: 0; font-size: 15.5px; }
  .plan li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } /* bullet */
  .tour { grid-template-columns: 1fr; } .tour .mac { order: -1; }
  .r-facts { grid-template-columns: 1fr; }
  .r-facts div, .r-facts div:first-child { padding: 18px 0; }
  .r-facts div + div { border-left: 0; border-top: 1px solid color-mix(in srgb, #fff 24%, transparent); }
}

/* ---- GrimHawk Website page (projects/grimhawk-website.html) ---- */
/* Launch: Drew's iPhone screenshot of the site (Mobile SS.PNG, status bar included). */
.c-head p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ph-site img { display: block; width: 100%; height: auto; }
/* Listen: word of mouth, then nothing online. Two chat bubbles pop up ("You know any good landscapers?" /
   "Try GrimHawkPS! Look them up."), grimhawkps.com types itself into a light browser, a loading line runs, and
   "This site can't be reached" appears. Plays once when the panel lights up (.lit); reduced motion and no JS
   show the finished scene. Browser = Chrome's light error page; Mac window buttons in the real Mac colours. */
.ns-wrap { position: relative; width: 100%; max-width: 680px; margin: 0 auto; padding: 46px 0 52px; }
.nosite { container-type: inline-size; width: 78%; margin: 0 auto; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 12px; overflow: hidden; background: #fff; color: #5f6368; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ns-bar { position: relative; display: flex; align-items: center; gap: 3cqi; padding: 2.2cqi 3cqi; background: #dee1e6; }
.ns-lights { display: flex; gap: 1.3cqi; }
.ns-lights i { width: 2.1cqi; height: 2.1cqi; min-width: 8px; min-height: 8px; border-radius: 50%; background: #ff5f57; }
.ns-lights i:nth-child(2) { background: #febc2e; } .ns-lights i:nth-child(3) { background: #28c840; }
.ns-url { flex: 1; display: flex; align-items: center; padding: 1.3cqi 2.8cqi; border-radius: 99px; background: #fff; color: #202124; font-size: max(11px, 2.6cqi); white-space: nowrap; }
.ns-type i { font-style: normal; }
.ns-caret { display: none; width: 1.5px; height: 1.2em; margin-left: 1px; background: #1a73e8; }
.ns-load { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #1a73e8; transform-origin: left; scale: 0 1; }
.ns-page { padding: 7cqi 9cqi 8cqi; }
.ns-icon { display: block; width: 7.5cqi; height: auto; margin-bottom: 4.5cqi; }
.ns-h { margin: 0 0 2.6cqi; color: #202124; font-size: max(15px, 4.6cqi); font-weight: 500; }
.ns-page p { margin: 0 0 2.2cqi; font-size: max(11px, 2.6cqi); line-height: 1.5; }
.ns-page b { color: #202124; font-weight: 600; }
.ns-code { font-size: max(9px, 1.9cqi) !important; letter-spacing: .02em; }
.ns-btn { display: inline-block; margin-top: 3cqi; padding: 1.5cqi 3.4cqi; border-radius: 99px; background: #1a73e8; color: #fff; font-size: max(11px, 2.5cqi); font-weight: 500; }
.ns-say { position: absolute; z-index: 1; max-width: 15em; margin: 0; padding: 11px 16px; border-radius: 18px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ns-say--a { left: 0; top: 0; border-bottom-left-radius: 5px; background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink); }
.ns-say--b { right: 0; bottom: 0; border-bottom-right-radius: 5px; background: var(--accent); color: #fff; }
.c-scene.pin .ns-wrap { max-width: min(680px, calc(var(--in) * 1.38)); }
@media (max-width: 899px) {
  .ns-wrap { display: flex; flex-direction: column; gap: 12px; padding: 0; }
  .ns-say { position: static; font-size: 14px; }
  .ns-say--a { align-self: flex-start; } .ns-say--b { align-self: flex-end; order: 2; }
  .nosite { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .fx .ns-say { opacity: 0; translate: 0 12px; scale: .92; transition: opacity .35s, translate .5s var(--ease), scale .5s var(--ease); }
  .js .fx .ns-say--a { transition-delay: .2s; } .js .fx .ns-say--b { transition-delay: .9s; }
  .js .fx .lit .ns-say { opacity: 1; translate: 0; scale: 1; }
  /* Typing: each letter is collapsed to 0 width, then pops open in turn, so the cursor always sits right after the
     last typed letter (it starts at the left edge, blinks, and goes once the page starts loading) */
  .js .fx .ns-type i { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; }
  .js .fx .lit .ns-type i { animation: ns-char 0s linear calc(1.6s + var(--k) * 70ms) forwards; }
  .js .fx .ns-caret { display: block; }
  .js .fx .lit .ns-caret { animation: ns-blink .5s steps(1) 0s 5, ns-gone 0s linear 2.7s forwards; }
  .js .fx .lit .ns-load { animation: ns-load .8s ease-in 2.7s forwards; }
  .js .fx .ns-page > * { opacity: 0; translate: 0 6px; }
  .js .fx .lit .ns-page > * { opacity: 1; translate: 0; transition: opacity .4s 3.5s, translate .5s var(--ease) 3.5s; }
  @keyframes ns-char { to { max-width: 1em; } }
  @keyframes ns-gone { to { opacity: 0; } }
  @keyframes ns-blink { 50% { opacity: 0; } }
  @keyframes ns-load { 0% { scale: 0 1; opacity: 1; } 85% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
}
