:root {
  --ink: #0A0A0A;
  --ink-soft: #3E3E3C;
  --ink-mute: #6B6B68;
  --mint: #5EE5C5;
  --mint-wash: #D7F8F0;
  --mint-deep: #0E6B57;
  --paper: #FFFFFF;
  --line: rgba(10,10,10,.08);

  --glass-strong: rgba(255,255,255,.88);
  --glass-edge: rgba(255,255,255,.7);
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 80px -20px rgba(10,30,25,.35), 0 8px 24px -8px rgba(10,30,25,.2);

  --sans: "Switzer", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  background: #E9FBF6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--mint-deep); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 1rem; top: 2.5rem; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(94,229,197,.3); flex: none; display: inline-block; }

/* ---------- Wallpapers ---------- */
.js body { overflow: hidden; height: 100vh; height: 100dvh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; }
body[data-wallpaper="mint"]::before {
  background:
    radial-gradient(60% 70% at 15% 20%, #BFF5E6 0%, transparent 60%),
    radial-gradient(50% 60% at 85% 15%, #FFE3EC 0%, transparent 60%),
    radial-gradient(70% 70% at 70% 90%, #9EEBD6 0%, transparent 60%),
    radial-gradient(60% 60% at 10% 95%, #FFF1D6 0%, transparent 60%),
    #EAFBF6;
}
body[data-wallpaper="sunset"]::before {
  background:
    radial-gradient(70% 60% at 50% 110%, #FF9A6B 0%, transparent 60%),
    radial-gradient(60% 60% at 15% 60%, #FF8FB1 0%, transparent 60%),
    radial-gradient(60% 60% at 85% 40%, #FFC27A 0%, transparent 60%),
    linear-gradient(#7FD9E8, #FFD1C2 70%);
}
body[data-wallpaper="night"]::before {
  background:
    radial-gradient(50% 50% at 75% 30%, rgba(94,229,197,.35) 0%, transparent 60%),
    radial-gradient(40% 50% at 20% 80%, rgba(120,90,255,.3) 0%, transparent 60%),
    #0B1412;
}
/* Isometric grid, the same angles as the block logo */
body[data-wallpaper="blocks"]::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='30'%3E%3Cpath d='M0 0L52 30M0 30L52 0M0 0V30M26 0V30' stroke='%230E6B57' stroke-opacity='.13' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    radial-gradient(60% 60% at 80% 80%, #C8F5E8 0%, transparent 70%),
    #F6FFFC;
}
body[data-wallpaper="night"] .icon-label { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
body[data-wallpaper="night"] .wallpaper-btn { color: #fff; }

/* ---------- Menu bar ---------- */
.menubar {
  position: fixed; inset: 0 0 auto 0; height: 30px; z-index: 900;
  display: flex; justify-content: space-between; align-items: center; padding: 0 14px;
  font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
}
body[data-wallpaper="night"] .menubar { background: rgba(20,30,28,.45); color: #fff; }
.menubar-left, .menubar-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.menubar-logo { height: 18px; width: auto; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.menubar-name { font-weight: 700; white-space: nowrap; }
.menubar-nav { display: flex; gap: 16px; }
.menubar-nav a { text-decoration: none; padding: 2px 6px; margin: 0 -6px; border-radius: 5px; }
.menubar-nav a:hover { background: rgba(10,10,10,.08); color: inherit; }
.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.menubar-btn { background: none; border: 0; padding: 2px 4px; border-radius: 5px; cursor: pointer; display: grid; place-items: center; }
.menubar-btn:hover { background: rgba(10,10,10,.08); }
.menubar-btn[aria-pressed="false"] .wave { opacity: 0; }
.clock { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Desktop ---------- */
.desktop { position: relative; }
.js .desktop { position: fixed; inset: 30px 0 0 0; }

.icons { list-style: none; margin: 0; padding: 0; }
/* Icons scatter across the desktop to the right of where the readme opens. */
.js .icons { position: absolute; inset: 0; pointer-events: none; --free-l: 680px; }
.js .spot {
  position: absolute; pointer-events: auto;
  left: calc(var(--free-l) + (100% - var(--free-l) - 150px) * var(--x));
  top: calc((100% - 260px) * var(--y) + 16px);
}
.js .spot.is-dragging { z-index: 5; }
.icon {
  display: grid; justify-items: center; gap: 6px; width: 104px; padding: 6px 4px;
  background: none; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; color: inherit;
  touch-action: none;
}
.icon:hover .icon-img, .icon:focus-visible .icon-img { transform: translateY(-2px) scale(1.04); }
.icon:active .icon-img { transform: scale(.96); }
.icon-img { width: 64px; height: 64px; transition: transform .25s var(--spring); display: grid; place-items: center; }
.icon-label {
  font-size: 12px; font-weight: 500; line-height: 1.2; padding: 2px 6px; border-radius: 5px;
  max-width: 100%; overflow-wrap: anywhere; text-align: center;
}
.icon.is-selected .icon-label { background: #0A84FF; color: #fff; text-shadow: none; }
.icon.is-selected .icon-img { filter: brightness(.92); }
.icon-txt {
  width: 52px; height: 64px; background: #fff; border-radius: 3px 12px 3px 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); padding: 6px 5px; place-items: start; overflow: hidden;
}
.icon-txt span { font-family: var(--mono); font-size: 6px; line-height: 1.35; color: #555; }
.icon-folder { position: relative; width: 72px; height: 56px; margin: 4px 0; }
.icon-folder::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 10px; border-radius: 4px 4px 0 0; background: #3CC7A6; }
.icon-folder::after { content: ""; position: absolute; inset: 6px 0 0 0; border-radius: 3px 6px 6px 6px; background: linear-gradient(#7FF0D4, #4FD9B8); box-shadow: 0 2px 6px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.6); }
.icon-pdf { width: 52px; height: 64px; background: #fff; border-radius: 3px 12px 3px 3px; box-shadow: 0 2px 6px rgba(0,0,0,.15); place-items: end center; padding-bottom: 8px; }
.icon-pdf b { font-size: 10px; background: #E5484D; color: #fff; padding: 1px 5px; border-radius: 3px; }

/* The photo pile: loosely gathered, slightly wonky */
.js .pile { width: 310px; height: 250px; }
.js .icon.photo .icon-label { white-space: nowrap; }
.js .icon.photo { position: absolute; left: 0; top: 0; width: 140px; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); }
.js .icon.photo:hover, .js .icon.photo:focus-visible, .js .icon.photo.is-selected { z-index: 2; }
.icon-photo { width: 112px; height: 84px; object-fit: cover; border: 4px solid #fff; border-radius: 3px; box-shadow: 0 3px 10px rgba(0,0,0,.2); background: #eee; }

.wallpaper-btn {
  position: absolute; right: 18px; bottom: 18px; z-index: 5;
  font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.4); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.wallpaper-btn:hover { background: rgba(255,255,255,.65); }
html:not(.js) .wallpaper-btn { display: none; }

/* ---------- Windows ---------- */
.win {
  background: var(--glass-strong); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
  backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  margin: 1rem auto; max-width: 44rem;
}
.js .win {
  position: absolute; margin: 0; max-width: none; display: flex; flex-direction: column;
  max-height: calc(100% - 96px);
  transform-origin: var(--ox, 50%) var(--oy, 100%);
}
.js .win[hidden] { display: none; }
.js .win.is-max { left: 12px !important; top: 8px !important; width: calc(100% - 24px) !important; height: calc(100% - 96px); max-height: none; }
.js .win.is-max .win-body { max-width: 980px; width: 100%; margin: 0 auto; }
.js .win.is-opening { animation: open .32s var(--spring); }
.js .win.is-closing { animation: close .18s var(--ease) forwards; }
@keyframes open { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes close { to { opacity: 0; transform: scale(.9) translateY(10px); } }
.win:focus { outline: none; }
.win.is-front { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 100px -20px rgba(10,30,25,.45), 0 10px 30px -8px rgba(10,30,25,.25); }
.js .win:not(.is-front) .lights .light { background: #D5D5D3; border-color: transparent; }

.win-bar {
  position: relative; display: flex; align-items: center; height: 44px; padding: 0 16px; flex: none;
  user-select: none; -webkit-user-select: none;
}
.js .win-bar { cursor: grab; }
.js .win.is-dragging .win-bar { cursor: grabbing; }
.win-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: rgba(10,10,10,.75); white-space: nowrap; }
.lights { display: flex; gap: 8px; position: relative; z-index: 1; }
.light { width: 12px; height: 12px; border-radius: 50%; border: .5px solid rgba(0,0,0,.12); padding: 0; display: block; }
.light.close { background: #FF5F57; cursor: pointer; }
.light.min { background: #FEBC2E; }
.light.max { background: #28C840; cursor: pointer; }
.light.max:hover { background: #28C840 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 8.5V5l3.5 3.5zM8.5 3.5V7L5 3.5z' fill='%23004d00'/%3E%3C/svg%3E") center/12px no-repeat; }
.win-tools { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 1; }
.tool-btn { font-size: 12px; font-weight: 600; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.tool-btn:hover { color: #fff; background: #333; }
html:not(.js) .light.close { visibility: hidden; }
.light.close:hover { background: #FF5F57 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 4l4 4M8 4l-4 4' stroke='%234d0000' stroke-width='1.2'/%3E%3C/svg%3E") center/12px no-repeat; }
.win-body { padding: 4px 24px 24px; overflow: auto; overscroll-behavior: contain; }

/* readme */
.js .win-readme { width: min(580px, calc(100vw - 32px)); }
.js .win-about { width: min(700px, calc(100vw - 32px)); }
.readme-body h1 { font-size: 30px; line-height: 1.12; letter-spacing: -0.025em; margin: 6px 0 14px; }
.availability { margin-bottom: 18px; font-size: 13px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; background: rgba(94,229,197,.2); border-radius: 999px; }
.lede { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.lede + .lede { margin-top: 10px; }
.readme-h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-mute); margin: 26px 0 10px; text-transform: uppercase; }
.how-item { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.how-item + .how-item { margin-top: 8px; }
.how-item h3 { font-size: 15px; margin-bottom: 4px; }
.how-item p { font-size: 14px; color: var(--ink-soft); }
.features { display: grid; gap: 16px; }
.feature-hero { display: grid; grid-template-columns: 170px minmax(0,1fr); border-radius: 16px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; transition: transform .3s var(--spring); }
.feature-hero:hover { color: #fff; transform: translateY(-2px) rotate(-.4deg); }
.hero-img { position: relative; display: block; min-height: 210px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-text { display: grid; align-content: center; gap: 6px; padding: 18px 20px; }
.hero-k { font-size: 12px; font-weight: 600; color: var(--mint); }
.hero-t { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.hero-s { font-size: 13px; color: rgba(255,255,255,.72); }
.hero-cta { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--mint); }
.feature-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.feature { display: grid; align-content: start; gap: 2px; text-decoration: none; color: inherit; }
.feature:hover { color: inherit; }
.feature:hover .feature-t { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.feature-thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: #222; transition: transform .3s var(--spring); }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature:hover .feature-thumb { transform: translateY(-2px) rotate(-.6deg); }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.play::after { content: ""; position: absolute; left: 15px; top: 11px; border: 8px solid transparent; border-left: 12px solid var(--ink); border-right: 0; }
.feature-k { font-size: 12px; font-weight: 600; color: var(--mint-deep); }
.feature-t { font-size: 15px; font-weight: 600; line-height: 1.25; }
.poke { margin-top: 24px; font-size: 15px; padding: 12px 14px; border-radius: 14px; background: rgba(94,229,197,.14); }
.inline-open { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: .2em; cursor: pointer; }
.inline-open:hover { color: var(--mint-deep); }
.readme-foot { margin-top: 14px; font-size: 12px; color: var(--ink-mute); }

/* Work: opaque and roomy, because people actually read it */
.js .win-work { width: min(920px, calc(100vw - 32px)); }
.win-work { background: rgba(255,255,255,.97); }
.finder { padding: 8px 28px 28px; }
.finder-h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: uppercase; color: var(--ink-mute); margin: 10px 0 14px; }
.cards { display: grid; gap: 14px; margin-bottom: 30px; }
.card {
  display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 22px; align-items: center;
  text-decoration: none; color: inherit; border-radius: 18px; padding: 12px; border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .3s var(--spring);
}
.card:hover { background: #F2FDF9; border-color: rgba(94,229,197,.6); color: inherit; transform: translateY(-2px); }
.card-media { aspect-ratio: 4/3; border-radius: 12px; display: grid; place-items: end start; padding: 10px; font-size: 11px; font-weight: 600; color: rgba(10,10,10,.45); }
.card-media-a { background: linear-gradient(135deg, #D7F8F0, #9EEBD6); }
.card-media-b { background: linear-gradient(135deg, #FFE3EC, #FFC9A8); }
.card-body { display: grid; gap: 6px; }
.card-meta { font-size: 13px; color: var(--ink-mute); }
.card-title { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.card-text { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.card-cta { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--mint-deep); }
.rows { list-style: none; margin: 0; padding: 0; font-size: 15px; border-top: 1px solid var(--line); }
.rows .row { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.row-name { font-weight: 600; }
.row-desc { color: var(--ink-soft); }
.row-year { color: var(--ink-mute); font-size: 13px; font-variant-numeric: tabular-nums; }

/* messages */
.js .win-contact { width: min(380px, calc(100vw - 32px)); }
.chat { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; }
.chat-to { font-size: 12px; font-weight: 400; color: var(--ink-mute); text-align: center; letter-spacing: 0; }
.bubbles { display: grid; gap: 4px; justify-items: start; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.35; background: #E9E9EB; }
.bubble a { font-weight: 600; }
.js .bubbles .bubble { animation: pop .35s var(--spring) backwards; }
.js .bubbles .bubble:nth-child(2) { animation-delay: .35s; }
.js .bubbles .bubble:nth-child(3) { animation-delay: .7s; }
.js .bubbles .bubble:nth-child(4) { animation-delay: 1.05s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.9); } }
.compose { display: flex; gap: 6px; align-items: center; border: 1px solid rgba(10,10,10,.12); border-radius: 999px; padding: 4px 4px 4px 14px; background: #fff; margin-top: 6px; }
.compose input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14px; background: none; min-width: 0; }
.compose button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #0A84FF; color: #fff; font-weight: 700; cursor: pointer; }

/* otis viewer */
.js .win-otis { width: min(460px, calc(100vw - 32px)); }
.otis-body { padding: 0 0 16px; }
.viewer { position: relative; background: #111; }
.viewer img { width: 100%; height: min(56vh, 520px); object-fit: contain; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; font-size: 22px; line-height: 1; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); }
.nav:hover { background: #fff; }
.prev { left: 10px; } .next { right: 10px; }
html:not(.js) .nav { display: none; }
.caption { padding: 12px 18px 0; font-size: 14px; color: var(--ink-soft); }
.count { color: var(--ink-mute); font-size: 12px; margin-left: 4px; white-space: nowrap; }

/* audiobooks */
.js .win-music { width: min(400px, calc(100vw - 32px)); }
.now { display: flex; gap: 14px; align-items: center; padding: 12px; margin: 4px 0 18px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.now[hidden] { display: none; }
.now-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.now-k { font-size: 11px; font-weight: 600; color: var(--mint-deep); text-transform: uppercase; letter-spacing: .04em; }
.now-t { font-size: 18px; font-weight: 600; line-height: 1.2; }
.now-a { font-size: 13px; color: var(--ink-mute); }
.scrub { display: block; height: 4px; border-radius: 4px; background: rgba(10,10,10,.1); margin-top: 8px; overflow: hidden; }
.scrub i { display: block; height: 100%; width: 42%; background: var(--ink); border-radius: 4px; }
.shelf-h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 8px; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: n; }
.shelf li { display: flex; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; }
.shelf .t { display: grid; font-size: 14px; font-weight: 600; line-height: 1.25; }
.shelf .a { font-weight: 400; font-size: 12px; color: var(--ink-mute); }
.cover { flex: none; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: rgba(255,255,255,.95); box-shadow: 0 3px 8px -2px rgba(0,0,0,.3); }
.cover-lg { width: 72px; height: 72px; border-radius: 10px; font-size: 32px; }

/* improv */
.js .win-improv { width: min(760px, calc(100vw - 32px)); height: calc(100% - 96px); }
.improv-body { padding: 0 28px 32px; }
.improv-photos { display: grid; grid-template-columns: 1.15fr 1fr .62fr; grid-template-rows: 210px; gap: 10px; margin: 4px 0 22px; flex: none; }
.ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 14px; background: #222; }
.ph-a { object-position: 70% 30%; }
.ph-c { object-position: 40% 40%; }
.pill-pink { display: inline-block; font-size: 12px; font-weight: 600; color: #B4235A; background: #FFE3EC; padding: 4px 11px; border-radius: 999px; }
.improv-body h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.03em; margin: 10px 0 10px; }
.improv-lede { font-size: 17px; line-height: 1.5; color: var(--ink-soft); max-width: 36em; }
.offer { margin-top: 22px; padding: 22px; border-radius: 18px; background: linear-gradient(140deg, #FF8FB1, #FFB38A); color: var(--ink); }
.offer h3 { font-size: 22px; margin-bottom: 8px; }
.offer p { font-size: 15px; max-width: 34em; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.offer-cta { display: inline-block; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--spring); }
.offer-cta:hover { color: #fff; transform: translateY(-2px) rotate(-1.5deg); }
.offer-alt { font-size: 14px; font-weight: 500; color: var(--ink); }
.offer-alt:hover { color: var(--ink); text-decoration-thickness: 2px; }
.gains { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.gains li { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.gains b { font-size: 15px; }
.gains span { font-size: 13px; color: var(--ink-soft); }
.no-acting { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }
.why-me { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.why-me h3 { font-size: 17px; margin-bottom: 8px; }
.why-me p { font-size: 15px; color: var(--ink-soft); max-width: 38em; }
.why-me p + p { margin-top: 10px; }

/* cv */
.js .win-cv { width: min(640px, calc(100vw - 32px)); height: calc(100% - 96px); }
.cv-body { padding: 16px; background: #E9E9E7; }
.cv-body img { margin: 0 auto; max-width: 600px; width: 100%; height: auto; box-shadow: 0 4px 18px rgba(0,0,0,.15); background: #fff; }

/* ---------- Dock ---------- */
.dock { display: none; }
.js .dock {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 800;
  display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px; border-radius: 26px;
  background: rgba(255,255,255,.35); border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 50px -15px rgba(10,30,25,.35);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.dock-sep { width: 1px; align-self: stretch; margin: 6px 2px; background: rgba(10,10,10,.15); }
.dock-app { position: relative; background: none; border: 0; padding: 0; cursor: pointer; display: grid; justify-items: center; }
.app {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 10px -2px rgba(0,0,0,.25);
  transition: transform .3s var(--spring);
}
.app svg { width: 60%; height: 60%; }
.dock-app:hover .app, .dock-app:focus-visible .app { transform: translateY(-10px) scale(1.15); }
.dock-app.is-bouncing .app { animation: bounce .7s var(--ease); }
@keyframes bounce { 30% { transform: translateY(-18px); } 60% { transform: translateY(0); } 80% { transform: translateY(-6px); } }
.dock-app::after { content: ""; position: absolute; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: rgba(10,10,10,.6); opacity: 0; transition: opacity .2s; }
.dock-app.is-open::after { opacity: 1; }
.tip {
  position: absolute; bottom: calc(100% + 18px); white-space: nowrap; font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(0,0,0,.15);
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none;
}
.dock-app:hover .tip, .dock-app:focus-visible .tip { opacity: 1; transform: none; }
.app-work { background: linear-gradient(160deg, #fff, #EEF5FF); }
.dock-folder { position: relative; width: 44px; height: 34px; margin-top: 4px; display: grid; place-items: center; }
.dock-folder::before { content: ""; position: absolute; left: 0; top: -4px; width: 18px; height: 8px; border-radius: 3px 3px 0 0; background: #2F8CF0; }
.dock-folder::after { content: ""; position: absolute; inset: 0; border-radius: 3px 5px 5px 5px; background: linear-gradient(#6DB6FF, #3A93F2); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.dock-folder img { position: relative; z-index: 1; height: 24px; width: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.app-improv { background: linear-gradient(160deg, #fff, #FFF0F5); }
.dock-folder.pink::before { background: #F25C8E; }
.dock-folder.pink::after { background: linear-gradient(#FFA3C2, #F7709C); }
.dock-folder .emoji { position: relative; z-index: 1; font-size: 20px; line-height: 1; margin-top: 3px; }
.app-music { background: linear-gradient(160deg, #FFB86B, #FF7A45); }
.app-messages { background: linear-gradient(160deg, #6DF08F, #23C552); }

.widget { display: none; }

/* ---------- No-JS: plain readable page ---------- */
html:not(.js) .desktop { padding: 50px 16px 40px; }
html:not(.js) .icons { display: none; }

/* ---------- Narrower laptops: icons use the whole desktop ---------- */

/* ---------- Phone: iOS-style home screen ---------- */
@media (max-width: 760px) {
  .menubar { height: 44px; padding: 0 22px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menubar-nav, .menubar-name, .status-text, #sound-toggle { display: none; }
  .menubar-left { order: 2; }
  .menubar-right { order: 1; }
  .clock { font-size: 15px; font-weight: 600; }
  .js .desktop { inset: 44px 0 0 0; }
  .js .icons {
    position: absolute; inset: 16px 0 auto 0; padding: 0 22px; pointer-events: auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; justify-items: center;
  }
  .js .spot { position: static; left: auto; top: auto; }
  .icon { width: auto; }
  .icon-label { font-size: 11px; }
  .js .pile { position: relative; width: 72px; height: 64px; margin-top: 6px; }
  .js .pile::after { content: "Otis"; position: absolute; left: 0; right: 0; top: 74px; text-align: center; font-size: 11px; font-weight: 500; }
  .js .icon.photo { width: 72px; padding: 0; transform: translate(calc(var(--dx) / 14), calc(var(--dy) / 14)) rotate(var(--r)); }
  .js .icon.photo .icon-label { display: none; }
  .icon-photo { width: 58px; height: 46px; border-width: 2px; }
  .wallpaper-btn { right: auto; left: 50%; transform: translateX(-50%); bottom: 112px; }
  .js .dock { bottom: 14px; gap: 16px; padding: 12px 18px; border-radius: 32px; }
  .dock-sep, .tip { display: none; }
  .dock-app:hover .app { transform: none; }

  .js .widget {
    display: grid; gap: 6px; text-align: left; position: absolute; left: 22px; right: 22px; top: 150px;
    padding: 18px; border-radius: 24px; cursor: pointer; border: 1px solid var(--glass-edge);
    background: rgba(255,255,255,.55); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 20px 50px -20px rgba(10,30,25,.3);
  }
  .widget-k { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); text-transform: uppercase; }
  .widget-t { font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
  .widget-s { font-size: 13px; display: flex; gap: 8px; align-items: center; }

  .js .win {
    left: 0 !important; top: 0 !important; width: 100% !important; height: 100%; max-height: none;
    border-radius: 28px 28px 0 0; z-index: 850 !important;
  }
  .js .win.is-max { left: 12px !important; top: 8px !important; width: calc(100% - 24px) !important; height: calc(100% - 96px); max-height: none; }
.js .win.is-max .win-body { max-width: 980px; width: 100%; margin: 0 auto; }
.js .win.is-opening { animation: sheet .38s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .win-bar { cursor: default !important; justify-content: flex-end; }
  .lights .min, .lights .max { display: none; }
  .light.close { width: auto; height: auto; border: 0; background: none !important; color: #0A84FF; font-weight: 600; font-size: 16px; }
  .light.close::after { content: "Done"; }
  .readme-body h1 { font-size: 27px; }
  .feature-hero { grid-template-columns: 120px minmax(0,1fr); }
  .improv-photos { grid-template-rows: 150px; grid-template-columns: 1fr 1fr; }
  .ph-c { display: none; }
  .gains { grid-template-columns: 1fr; }
  .improv-body { padding: 0 20px 28px; }
  .light.max { display: none; }
  .win-tools { right: 80px; }
  .feature-tall { grid-column: 1 / -1; grid-row: auto; }
  .feature-tall .feature-thumb { height: auto; aspect-ratio: 16/9; }
  .feature-tall .feature-thumb img { object-position: center 20%; }
  .finder { padding: 4px 18px 24px; }
  .card { grid-template-columns: 1fr; gap: 12px; }
  .rows .row { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .row-desc { grid-column: 1 / -1; grid-row: 2; }
  .viewer img { height: 60vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Round 4 ---------- */
.me-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 8px 0 14px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mint); }

/* dock: about folder with face */
.app-about { background: linear-gradient(160deg, #fff, #EEFBF7); }
.dock-folder.mint::before { background: #2FBF9C; }
.dock-folder.mint::after { background: linear-gradient(#7FF0D4, #43D3B0); }
.dock-folder .face { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin-top: 3px; border: 2px solid #fff; }

/* work: cards with a quiet arrow instead of a CTA line */
.card { position: relative; }
.card-body { padding-right: 40px; }

.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.projects li { display: grid; grid-template-columns: 150px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 20px; row-gap: 3px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.p-client { grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--ink-mute); padding-top: 2px; }
.p-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.p-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* messages: chat form */
.js .win-contact { width: min(420px, calc(100vw - 32px)); height: min(620px, calc(100% - 96px)); }
.chat { flex: 1; min-height: 0; }
.bubbles { align-content: start; }
.bubble.me { justify-self: end; background: #0A84FF; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chips:empty { display: none; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid #0A84FF; color: #0A84FF; background: #fff; cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: #0A84FF; color: #fff; }
.compose { margin-top: auto; }
.compose input:disabled { opacity: .5; }
.chat-alt { font-size: 12px; color: var(--ink-mute); text-align: center; }
.chat-alt a { color: var(--ink-soft); }

/* improv offer */
.offer-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 16px 0 10px; }
.offer-facts div { background: rgba(255,255,255,.55); border-radius: 12px; padding: 10px 12px; }
.offer-facts dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(10,10,10,.6); }
.offer-facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.offer-small { font-size: 14px !important; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.why-list li { font-size: 15px; color: var(--ink-soft); padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.why-list b { color: var(--ink); }
.origin { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }

@media (max-width: 760px) {
  .projects li { grid-template-columns: 1fr; }
  .p-client { grid-row: auto; }
  .offer-facts dd { font-size: 18px; }
  .js .win-contact { height: 100%; }
}

/* ---------- Round 5 ---------- */
.readme-h-first { margin-top: 22px; }
.card-media { position: relative; overflow: hidden; }
.card-pill { position: absolute; left: 50%; top: 50%; translate: -50% -40%; opacity: 0; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); box-shadow: 0 6px 20px -6px rgba(0,0,0,.25); transition: opacity .25s, translate .35s var(--spring); white-space: nowrap; }
.card:hover .card-pill, .card:focus-visible .card-pill { opacity: 1; translate: -50% -50%; }
.card:hover .card-title, .card:focus-visible .card-title { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: .18em; }
@media (hover: none) { .card-pill { opacity: 1; translate: -50% -50%; } }
.card-body { padding-right: 0; }
.fact-note { display: block; font-size: 11px; font-weight: 500; color: rgba(10,10,10,.6); margin-top: 2px; }
.why-me + .why-me { border-top: 0; padding-top: 0; }
.why-me h3 { font-size: 20px; letter-spacing: -0.015em; }

/* theatre */
.js .win-theatre { width: min(460px, calc(100vw - 32px)); }
.app-theatre { background: linear-gradient(160deg, #E0405B, #9E1B3A); }
.app-theatre .emoji { font-size: 30px; line-height: 1; }
.theatre-head h2 { font-size: 22px; margin: 4px 0 2px; }
.theatre-stats { font-size: 13px; color: var(--ink-mute); margin-bottom: 14px; }
.shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shows li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.stars { color: #E8A21A; letter-spacing: 2px; font-size: 14px; }
.stars .off { color: rgba(10,10,10,.15); }
.show-t { font-size: 15px; font-weight: 600; }
.show-y { font-size: 12px; font-weight: 500; color: var(--ink-mute); margin-left: 8px; }
.show-r { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .js .dock { gap: 10px; padding: 10px 12px; } .app { width: 50px; height: 50px; } }
.features + .lede { margin-top: 26px; }
.app-theatre { background: linear-gradient(160deg, #3A2350, #160F22); }

/* ---------- Round 6 ---------- */
.ph-badge { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #7A4B00; background: #FFE9B8; padding: 2px 8px; border-radius: 999px; margin-right: 6px; }
.shows .skel { gap: 8px; }
.sk { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(10,10,10,.06), rgba(10,10,10,.11), rgba(10,10,10,.06)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.sk-stars { width: 70px; height: 12px; }
.sk-t { width: 45%; height: 14px; }
.sk-r { width: 92%; }
.sk-r2 { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 1000px) { .js .icons { --free-l: 0px; } }
.theatre-stats { margin-bottom: 20px; }
.theatre-head h2 { margin-bottom: 8px; }
.shows .skel .show-t { color: var(--ink-mute); }
.shows .skel .stars { color: rgba(10,10,10,.2); }

/* ---------- Round 7: accessibility, Quick Look, resizing ---------- */
.js .win-improv { width: min(840px, calc(100vw - 32px)); }
.js .win-contact { width: min(460px, calc(100vw - 32px)); }
.js .win-music { width: min(480px, calc(100vw - 32px)); }
.js .win-theatre { width: min(540px, calc(100vw - 32px)); }
.js .win-cv { width: min(700px, calc(100vw - 32px)); }
.js .win-otis { width: min(540px, calc(100vw - 32px)); }

/* menu bar accessibility toggles */
.a11y-bar { display: flex; gap: 4px; }
.a11y-toggle { font: inherit; font-size: 13px; font-weight: 500; background: none; border: 0; padding: 2px 8px; border-radius: 6px; cursor: pointer; color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.a11y-toggle::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .55; flex: none; }
.a11y-toggle[aria-pressed="true"]::before { opacity: 1; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ink); }
.a11y-toggle:hover { background: rgba(10,10,10,.08); }

/* high contrast */
.a11y-contrast { --ink-soft: #000; --ink-mute: #1A1A1A; --mint-deep: #00503F; --line: #000; }
.a11y-contrast body::before { background: #FFFFFF !important; }
.a11y-contrast .menubar { background: #fff; border-bottom: 2px solid #000; color: #000; }
.a11y-contrast .win, .a11y-contrast .dock, .a11y-contrast .ql { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 2px solid #000 !important; box-shadow: none !important; }
.a11y-contrast .finder-main, .a11y-contrast .win-work, .a11y-contrast .how-item, .a11y-contrast .card, .a11y-contrast .gains li, .a11y-contrast .why-list li, .a11y-contrast .shows li, .a11y-contrast .now, .a11y-contrast .howto li { background: #fff; border: 2px solid #000; }
.a11y-contrast .offer { background: #fff; border: 2px solid #000; }
.a11y-contrast .offer-facts div { background: #fff; border: 1.5px solid #000; }
.a11y-contrast .availability, .a11y-contrast .pill-pink, .a11y-contrast .poke { background: #fff; border: 1.5px solid #000; color: #000; }
.a11y-contrast .bubble { background: #fff; border: 2px solid #000; color: #000; }
.a11y-contrast .bubble.me { background: #003A8C; color: #fff; border-color: #003A8C; }
.a11y-contrast .icon-label { background: #fff; color: #000 !important; text-shadow: none !important; border: 1.5px solid #000; }
.a11y-contrast .icon.is-selected .icon-label { background: #000; color: #fff !important; }
.a11y-contrast a, .a11y-contrast .inline-open { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-decoration-color: currentColor !important; }
.a11y-contrast .card-media, .a11y-contrast .ph-media { border: 2px solid #000; }
.a11y-contrast :focus-visible { outline: 3px solid #000; outline-offset: 3px; box-shadow: 0 0 0 6px #FFE600; }
.a11y-contrast .wallpaper-btn, .a11y-contrast .chip { background: #fff; border: 2px solid #000; color: #000; }
.a11y-contrast .sk { background: #BDBDBD; animation: none; }

/* larger text */

/* reduce motion */
.a11y-calm *, .a11y-calm *::before, .a11y-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* desktop: pink improv folder, dock CV */
.icon-folder.pink::before { background: #F25C8E; }
.icon-folder.pink::after { background: linear-gradient(#FFA3C2, #F7709C); }
.icon-folder .emoji { position: absolute; inset: 6px 0 0; z-index: 1; display: grid; place-items: center; font-size: 24px; }
.js .pile { width: 440px; height: 290px; }
.app-cv { background: linear-gradient(160deg, #fff, #F1F1EF); }
.doc-mini { width: 30px; height: 38px; background: #fff; border-radius: 2px 8px 2px 2px; box-shadow: 0 1px 4px rgba(0,0,0,.25); display: grid; place-items: end center; padding-bottom: 6px; }
.doc-mini b { font-size: 8px; background: #E5484D; color: #fff; padding: 1px 3px; border-radius: 2px; }

/* readme as onboarding */
.welcome-body { padding: 8px 28px 28px; }
.welcome-body h2 { font-size: 26px; letter-spacing: -0.02em; margin: 4px 0 8px; }
.welcome-lede { font-size: 16px; color: var(--ink-soft); margin-bottom: 16px; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.howto li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.howto b { color: var(--ink); }
.howto-i { font-size: 20px; line-height: 1.2; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-primary { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.btn-primary:hover { background: #333; }
.btn-ghost { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(10,10,10,.2); background: #fff; color: var(--ink); cursor: pointer; }
.btn-ghost:hover { border-color: var(--ink); }

/* About.md: a hint of markdown */
.md-body h1::before { content: "# "; color: var(--mint-deep); opacity: .55; font-family: var(--mono); font-weight: 500; }
.md-body .readme-h::before { content: "## "; color: var(--mint-deep); }

/* Quick Look */
.ql { position: absolute; left: 50%; top: 46%; translate: -50% -50%; z-index: 860; width: min(560px, calc(100vw - 40px)); max-height: calc(100% - 140px); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.9); border: 1px solid var(--glass-edge); box-shadow: 0 40px 100px -20px rgba(10,30,25,.5); backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%); }
.ql[hidden] { display: none; }
.ql.is-opening { animation: ql .22s var(--spring); }
@keyframes ql { from { opacity: 0; scale: .9; } }
.ql-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.ql-open { font: inherit; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(10,10,10,.2); background: #fff; cursor: pointer; }
.ql-body { overflow: auto; }
.ql-body > img { width: 100%; max-height: 60vh; object-fit: contain; background: #111; }
.ql-text { padding: 16px 20px 20px; font-size: 14px; }
.ql-text h2, .ql-text h3 { margin-bottom: 6px; }
.ql-text .welcome-actions { display: none; }
.hint { position: absolute; left: 50%; bottom: 104px; translate: -50% 0; z-index: 870; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(10,10,10,.82); color: #fff; font-size: 13px; font-weight: 500; pointer-events: none; }
.hint[hidden] { display: none; }

/* resize handles */
.rz { position: absolute; z-index: 4; }
.rz-n { top: 0; left: 10px; right: 10px; height: 6px; cursor: ns-resize; }
.rz-s { bottom: 0; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rz-e { right: 0; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-w { left: 0; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-ne { top: 0; right: 0; width: 14px; height: 14px; cursor: nesw-resize; }
.rz-sw { bottom: 0; left: 0; width: 14px; height: 14px; cursor: nesw-resize; }
.rz-nw { top: 0; left: 0; width: 14px; height: 14px; cursor: nwse-resize; }
.rz-se { bottom: 0; right: 0; width: 16px; height: 16px; cursor: nwse-resize; }
.win.is-max .rz { display: none; }
.win.is-resizing { user-select: none; -webkit-user-select: none; }

/* phone note */
.mobile-note { display: none; }
.show-mobile-note .mobile-note { position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 32px; background: linear-gradient(160deg, #EAFBF6, #FFE9F0); }
.mobile-note h2 { font-size: 28px; letter-spacing: -0.02em; }
.mobile-note p { font-size: 16px; color: var(--ink-soft); max-width: 22em; }
.mobile-note a { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .a11y-bar { display: none; }
  .js .pile { width: 72px; height: 64px; }
}

/* ---------- Round 8: Luis's feedback ---------- */
:root { --ink-soft: #2C2C2A; --ink-mute: #5A5A57; --serif: var(--sans); }
/* sentence-case labels, no monospace caps */
.readme-h, .finder-h, .shelf-h { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.now-k, .offer-facts dt, .ph-badge, .widget-k { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.now-k, .offer-facts dt { font-size: 12.5px; }
/* readable body text */
.how-item p, .why-list li, .card-text, .improv-lede, .offer p, .why-me p { font-size: 16px; line-height: 1.55; }
.how-item h3 { font-size: 17px; }
.p-desc { font-size: 15px; }
.gains span, .show-r, .howto li { font-size: 15px; }
.card-meta, .feature-s, .chat-alt, .theatre-stats, .shelf .a { font-size: 14px; }
.hero-s { font-size: 14px; color: rgba(255,255,255,.82); }
.bubble { font-size: 15px; }
/* no tilting on hover */
.feature-hero:hover, .feature:hover .feature-thumb { transform: translateY(-2px); }
.offer-cta:hover { transform: translateY(-1px); }
/* Figma, unmistakably */
.brand-chip { display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start; padding: 5px 12px 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; }
.brand-chip b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.brand-chip span { color: var(--ink-mute); }
.hero-k { color: var(--mint); font-size: 13px; }
/* tidy work grid */
.card { align-items: start; grid-template-columns: 220px minmax(0,1fr); }
.card-media { aspect-ratio: 4/3; }
.card-body { gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tags i { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); background: rgba(10,10,10,.05); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.projects li { grid-template-columns: 140px minmax(0,1fr); grid-template-rows: auto auto auto; row-gap: 6px; padding: 16px 4px; }
.p-client { grid-row: span 3; }
.projects li .tags { grid-column: 2; }
.projects li:last-child { border-bottom: 0; }
/* tools */
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
/* markdown hint stays, without shouting */
.md-body .readme-h::before { content: "## "; color: var(--mint-deep); opacity: .6; font-family: var(--mono); font-weight: 500; }
/* minimise */
.js .win.is-minimising { animation: none; transition: transform .32s cubic-bezier(.5,0,.75,0), opacity .32s; transform: translate(var(--mx), var(--my)) scale(.06); opacity: 0; }
.light.min { cursor: pointer; }
.light.min:hover { background: #FEBC2E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 6h5' stroke='%23704400' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
/* About this Mac */
.menubar-logo-btn { background: none; border: 0; padding: 2px 6px; margin: 0 -6px; border-radius: 5px; cursor: pointer; display: grid; place-items: center; }
.menubar-logo-btn:hover { background: rgba(10,10,10,.08); }
.about-mac { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 320px; padding: 14px 24px 24px; text-align: center; border-radius: 18px; background: rgba(255,255,255,.94); border: 1px solid var(--glass-edge); box-shadow: 0 40px 100px -20px rgba(10,30,25,.5); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.about-mac[hidden] { display: none; }
.am-bar { display: flex; margin-bottom: 6px; }
.am-logo { margin: 0 auto 12px; height: 78px; width: auto; }
.about-mac h2 { font-size: 22px; letter-spacing: -0.02em; }
.am-ver { font-size: 13px; color: var(--ink-mute); margin: 2px 0 14px; }
.am-specs { margin: 0 0 16px; display: grid; gap: 6px; text-align: left; font-size: 13px; }
.am-specs div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.am-specs dt { text-align: right; font-weight: 600; }
.am-specs dd { margin: 0; color: var(--ink-soft); }
/* CV zoom */
.zoom { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; background: rgba(10,10,10,.06); border-radius: 999px; padding: 2px; }
.zb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; font-size: 16px; font-weight: 600; cursor: pointer; }
.zb:hover { background: #fff; }
.zv { min-width: 44px; text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.win-tools { display: flex; align-items: center; }
.cv-body { overflow: auto; }
/* case study window */
.js .win-case { width: min(1040px, calc(100vw - 32px)); height: calc(100% - 96px); }
.case-frame { flex: 1; width: 100%; border: 0; background: #fff; }
.win-case.is-dragging .case-frame, .win-case.is-resizing .case-frame { pointer-events: none; }

/* ---------- Round 9 ---------- */
/* menu bar: logo + name is one button */
.menubar-logo-btn { gap: 8px; display: inline-flex; align-items: center; padding: 2px 8px; margin: 0 -8px; font: inherit; color: inherit; }
.menubar-logo-btn .menubar-name { font-weight: 700; }
.a11y-bar { display: none; }
.cc-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 2px 8px; }
.cc-btn[aria-expanded="true"] { background: rgba(10,10,10,.1); }

/* Control Centre */
.cc { position: fixed; top: 36px; right: 10px; z-index: 950; width: 360px; max-height: calc(100vh - 50px); overflow: auto; padding: 14px; border-radius: 20px; background: rgba(246,246,244,.86); border: 1px solid var(--glass-edge); box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%); }
.cc[hidden] { display: none; }
.cc-h { font-size: 13px; font-weight: 600; color: var(--ink-mute); margin: 2px 4px 10px; letter-spacing: 0; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-tile { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 14px; border: 0; background: rgba(255,255,255,.75); font: inherit; color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cc-tile b { display: block; font-size: 13.5px; }
.cc-tile small { display: block; font-size: 11.5px; color: var(--ink-mute); line-height: 1.3; margin-top: 2px; }
.cc-wide { grid-column: 1 / -1; }
.cc-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,10,.08); font-size: 14px; font-weight: 700; }
.cc-tile[aria-checked="true"] .cc-ico { background: #0A84FF; color: #fff; }
.cc-tile[aria-checked="true"] { background: #fff; }
.cc-tile:hover { background: #fff; }
div.cc-tile { cursor: default; flex-direction: column; gap: 8px; }
.cc-label { font-size: 13.5px; font-weight: 600; }
.cc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; background: rgba(10,10,10,.06); border-radius: 10px; padding: 3px; }
.cc-seg button { border: 0; background: none; border-radius: 8px; padding: 6px 0; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
.cc-seg button[aria-checked="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.cc-foot { font-size: 12px; color: var(--ink-mute); margin: 10px 4px 2px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.cc-reset { font: inherit; font-size: 12px; font-weight: 600; border: 0; background: none; color: #0A84FF; cursor: pointer; white-space: nowrap; }

/* text sizes */
/* reduce transparency */
.a11y-solid .win, .a11y-solid .dock, .a11y-solid .menubar, .a11y-solid .cc, .a11y-solid .ql, .a11y-solid .about-mac { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.a11y-solid .win { background: #fff; }
.a11y-solid .dock { background: #ECECEA; }
.a11y-solid .menubar { background: #F4F4F2; }
.a11y-solid .cc { background: #F4F4F2; }
/* readable font */
.a11y-readable body, .a11y-readable button, .a11y-readable input { font-family: "Atkinson Hyperlegible", var(--sans); }
.a11y-readable .win-body { letter-spacing: .02em; word-spacing: .06em; line-height: 1.65; }
/* underline links */
.a11y-links a, .a11y-links .inline-open { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em; }

/* simple page view */
.simple-bar { display: none; }
.simple .simple-bar { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 44px auto 0; padding: 12px; }
.simple body { overflow: auto; height: auto; background: #fff; }
.simple body::before { background: #fff !important; }
.simple .scene, .simple .dock, .simple .icons, .simple .wallpaper-btn, .simple .widget, .simple .ql, .simple .hint, .simple .about-mac, .simple .mobile-note, .simple .lights, .simple .win-case, .simple .win-finder, .simple .win-readme { display: none !important; }
.simple .win { max-width: 760px; box-shadow: none; border: 1px solid #ddd; margin: 24px auto; backdrop-filter: none; background: #fff; }
.simple .win-bar { cursor: default; border-bottom: 1px solid #eee; }
.simple .cv-body { height: 80vh; }
.simple .desktop { padding-top: 10px; }

/* the desk wallpaper */
body[data-wallpaper="desk"]::before { background: #F2ECE2; }
.scene { display: none; }
body[data-wallpaper="desk"] .scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene .hit { pointer-events: auto; cursor: pointer; }
.scene .lamp-glow { opacity: 0; transition: opacity .6s; mix-blend-mode: multiply; }
.lamp-on .scene .lamp-glow { opacity: 1; }
.scene .lamp-globe { transition: fill .4s; }
.lamp-on .scene .lamp-globe { fill: #FFA24C; }
.lamp-on .scene .lamp { filter: drop-shadow(0 0 30px rgba(255,150,60,.9)); }
body.lamp-on[data-wallpaper="desk"]::before { background: #F6E3CC; transition: background .6s; }
.scene .plant { transform-box: view-box; }
.scene .plant.rustle { animation: rustle .9s ease-in-out; }
@keyframes rustle { 20% { transform: rotate(-1.6deg); } 45% { transform: rotate(1.3deg); } 70% { transform: rotate(-.7deg); } 100% { transform: none; } }
.scene #pothos.rustle { animation-name: sway; }
@keyframes sway { 25% { transform: skewX(2deg); } 55% { transform: skewX(-1.6deg); } 80% { transform: skewX(.6deg); } }
.scene .plant.happy { animation: happy 1.2s var(--spring); }
@keyframes happy { 30% { transform: scale(1.03, .97); } 55% { transform: scale(.98, 1.04); } 100% { transform: none; } }
.scene .can { transform-box: view-box; transition: transform .3s; }
.scene .can:hover { transform: translateY(-4px); }
.scene .can.pouring { animation: pour 1.4s ease-in-out; }
@keyframes pour { 20%, 75% { transform: rotate(-24deg) translateY(-30px); } 100% { transform: none; } }
.scene .drops { opacity: 0; }
.scene .can.pouring .drops { animation: drops 1.4s linear; }
@keyframes drops { 0%, 20% { opacity: 0; transform: none; } 35% { opacity: 1; } 75% { opacity: 1; transform: translateY(30px); } 100% { opacity: 0; transform: translateY(40px); } }
.scene .timer { transform-box: view-box; }
.scene .timer.wiggle { animation: wiggle .7s; }
@keyframes wiggle { 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
.scene .steam { animation: steam 3.2s ease-in-out infinite; opacity: .7; }
.scene .steam.s2 { animation-delay: 1.4s; }
@keyframes steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .7; } 100% { transform: translateY(-14px); opacity: 0; } }
.scene .dust circle { fill: #fff; opacity: .7; pointer-events: auto; transition: opacity .6s, transform .6s; transform-box: fill-box; transform-origin: center; }
.scene .dust circle.wiped { opacity: 0; transform: translate(14px, 8px) scale(.4); }
.scene .dust circle { r: 7px; fill: rgba(255,255,255,.75); stroke: rgba(255,255,255,.0); }
@media (prefers-reduced-motion: reduce) { .scene .steam { animation: none; } }
.a11y-calm .scene * { animation: none !important; }
/* labels stay legible over the illustration */
body[data-wallpaper="desk"] .icon-label { background: rgba(255,255,255,.8); }
body[data-wallpaper="desk"] .icon.is-selected .icon-label { background: #0A84FF; }
body[data-wallpaper="desk"] .wallpaper-btn { background: rgba(255,255,255,.75); }

/* desktop: icons scattered everywhere */
.js .icons { --free-l: 0px !important; }
.js .spot { left: calc(16px + (100% - 150px) * var(--x)); top: calc((100% - 300px) * var(--y) + 16px); }
.js .spot > .icon.photo { position: relative; width: 140px; transform: rotate(var(--r)); }
.icon img { -webkit-user-drag: none; user-select: none; }
.icon-folder.blue::before { background: #2F8CF0; }
.icon-folder.blue::after { background: linear-gradient(#6DB6FF, #3A93F2); }
.icon-folder .folder-mark { position: absolute; z-index: 1; left: 50%; top: 58%; translate: -50% -50%; height: 26px; width: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.icon-md span { color: #0E6B57; }

/* dock */
.app-finder { background: linear-gradient(160deg, #2A2A2A, #0A0A0A); }
.app-finder svg { width: 72%; height: 72%; }
.dock-min { display: flex; gap: 8px; align-items: flex-end; }
.dock-min:empty { display: none; }
.dock-sep[hidden] { display: none; }
.dock-mini .mini-frame { position: relative; display: block; overflow: hidden; border-radius: 6px; box-shadow: 0 4px 10px -2px rgba(0,0,0,.3); transition: transform .3s var(--spring); }
.dock-mini { height: 58px; align-items: end; }
.dock-mini:hover .mini-frame, .dock-mini:focus-visible .mini-frame { transform: translateY(-8px) scale(1.12); }
.mini-doc { flex: 1; background: #fff; }
.js .win.is-restoring { animation: restore .36s cubic-bezier(.2,.8,.2,1); }
@keyframes restore { from { transform: translate(var(--mx), var(--my)) scale(.06); opacity: 0; } }
.dock-app.is-open::after { opacity: 1; }

/* big windows: keep text at a readable measure */
.js .win-body { padding-left: max(28px, calc((100% - 980px) / 2)); padding-right: max(28px, calc((100% - 980px) / 2)); }
.js .chat { padding-left: max(24px, calc((100% - 720px) / 2)); padding-right: max(24px, calc((100% - 720px) / 2)); }
.js .otis-body { padding: 0 0 16px; }
.otis-body .viewer img { height: calc(100% - 0px); max-height: 70vh; }
.js .win.is-max .win-body { max-width: none; }

/* CV: the real PDF, full width */
.win-cv { display: flex; flex-direction: column; }
.cv-body { flex: 1; min-height: 0; background: #525659; padding: 0; overflow: hidden; }
.pdf-frame { display: block; width: 100%; height: 100%; border: 0; background: #525659; }
.win.is-dragging iframe, .win.is-resizing iframe { pointer-events: none; }

/* Finder */
.finder2 { flex: 1; min-height: 0; display: grid; grid-template-columns: 210px minmax(0,1fr); }
.f-side { padding: 6px 12px 16px; display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--line); overflow: auto; }
.f-h { font-size: 12px; font-weight: 600; color: var(--ink-mute); margin: 12px 8px 4px; }
.f-link { display: flex; gap: 10px; align-items: center; font: inherit; font-size: 14.5px; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.f-link:hover { background: rgba(10,10,10,.06); }
.f-main { background: rgba(255,255,255,.85); padding: 22px 26px; overflow: auto; display: flex; flex-direction: column; }
.f-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px 10px; }
.f-item { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 10px 6px; background: none; border: 0; border-radius: 10px; cursor: default; font: inherit; color: var(--ink); }
.f-item .icon-img { width: 64px; height: 64px; }
.f-item .icon-txt, .f-item .icon-pdf { width: 52px; }
.f-item .icon-folder { width: 72px; height: 56px; }
.f-item .icon-photo { width: 80px; height: 60px; }
.f-name { font-size: 13px; font-weight: 500; padding: 2px 6px; border-radius: 5px; text-align: center; overflow-wrap: anywhere; }
.f-item.is-selected { background: rgba(10,10,10,.06); }
.f-item.is-selected .f-name { background: #0A84FF; color: #fff; }
.f-status { margin-top: auto; padding-top: 20px; font-size: 12.5px; color: var(--ink-mute); text-align: center; }

/* About: off stage */
.offstage .improv-photos { margin: 0 0 16px; }
.offstage p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 44em; }
.offstage p + p { margin-top: 10px; }
.offstage-cta { font-weight: 500; color: var(--ink) !important; }
.improv-hero { margin: 4px 0 20px; border-radius: 14px; overflow: hidden; height: 220px; }
.improv-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mail-fallback { display: inline-block; background: #0A84FF !important; color: #fff !important; font-weight: 600; text-decoration: none; }

/* no markdown hashes */
.md-body h1::before, .md-body .readme-h::before { content: none !important; }

@media (max-width: 760px) {
  .cc { left: 10px; right: 10px; width: auto; }
  .cc-btn-label { display: none; }
  body[data-wallpaper="desk"] .scene { display: none; }
  .finder2 { grid-template-columns: 1fr; }
  .f-side { display: none; }
  .js .spot > .icon.photo { width: 72px; }
}

/* ---------- Round 10 ---------- */
/* dock ~20% smaller */
.js .dock { gap: 6px; padding: 6px 8px; border-radius: 21px; }
.app { width: 46px; height: 46px; border-radius: 12px; }
.app svg, .app img { max-width: 70%; max-height: 70%; }
.dock-folder { width: 36px; height: 28px; }
.dock-folder img, .dock-folder .face { height: 20px; width: auto; }
.dock-folder .face { width: 20px; }
.dock-folder .emoji, .app-theatre .emoji { font-size: 22px; }
.dock-mini { height: 46px; }
.dock-app:hover .app, .dock-app:focus-visible .app { transform: translateY(-8px) scale(1.12); }

/* grabbing hand */
.js .spot > .icon { cursor: grab; }
.js .win-bar { cursor: grab; }
body.is-grabbing, body.is-grabbing * { cursor: grabbing !important; user-select: none; }

/* About: narrower text column, more air */
.js .readme-body { padding-left: max(32px, calc((100% - 820px) / 2)); padding-right: max(32px, calc((100% - 820px) / 2)); padding-top: 16px; padding-bottom: 56px; }
.readme-body .readme-h { margin-top: 48px; margin-bottom: 16px; }
.readme-body .readme-h-first { margin-top: 40px; }
.readme-body .how-item + .how-item { margin-top: 12px; }
.readme-body .how-item { padding: 16px 18px; }

/* Featured: a row of three, Figma first; stacks when narrow */
.features { container-type: inline-size; display: block; }
.features-in { display: grid; gap: 16px; }
.features > .feature-hero, .features > .feature-pair { margin: 0; }
@supports (container-type: inline-size) {
  .features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .feature-pair { display: contents; }
  .feature-hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .feature-hero .hero-img { min-height: 0; aspect-ratio: 16/9; }
  .feature-hero .hero-text { align-content: start; padding: 14px 16px 16px; }
  .feature-hero .hero-t { font-size: 16px; }
  .feature-hero .hero-s { display: none; }
  @container (max-width: 640px) {
    .features { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .feature-hero { grid-column: 1 / -1; grid-template-columns: 170px minmax(0,1fr); grid-template-rows: auto; }
    .feature-hero .hero-img { aspect-ratio: auto; min-height: 210px; }
    .feature-hero .hero-text { align-content: center; padding: 18px 20px; }
    .feature-hero .hero-t { font-size: 20px; }
    .feature-hero .hero-s { display: block; }
  }
  @container (max-width: 420px) {
    .feature-hero { grid-template-columns: 1fr; }
    .feature-hero .hero-img { aspect-ratio: 16/9; min-height: 0; }
    .features { grid-template-columns: 1fr; }
  }
}

/* CTA band (work half ends here) */
.cta-band { margin: 40px 0 0; padding: 24px 26px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 4px; }
.cta-band p { font-size: 14.5px; color: rgba(255,255,255,.72); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cta-band .btn-primary { background: var(--mint); color: var(--ink); font-size: 15px; padding: 11px 20px; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band a { color: #fff; font-size: 14px; text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: .2em; }

/* Off screen: clearly a second half */
.offstage-sec { margin: 64px 0 0; padding: 36px 0 0; border-top: 2px dashed rgba(10,10,10,.14); position: relative; }
.offstage-sec::before { content: "🎭 Part two"; position: absolute; top: -13px; left: 50%; translate: -50% 0; background: #fff; padding: 2px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-mute); border: 1px solid var(--line); }
.readme-body .offstage-h { margin-top: 8px; font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.offstage p { font-size: 16px; }

/* Work: two case studies side by side */
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cards-2 .card { grid-template-columns: 1fr; align-items: start; gap: 14px; padding: 12px 12px 18px; }
.cards-2 .card-body { padding: 0 6px; gap: 8px; }
.cards-2 .card-media { aspect-ratio: 16/10; }
.card-img { padding: 0; background: #EEE; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cards-2 .card-meta { font-size: 13px; font-weight: 600; color: var(--mint-deep); letter-spacing: 0; }
.cards-2 .card-title { font-size: 20px; }

/* Work: other projects as an image grid */
.projects2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 18px; }
.projects2 li { display: grid; align-content: start; gap: 6px; }
.p-img { display: grid; place-items: center; aspect-ratio: 16/11; border-radius: 12px; overflow: hidden; margin-bottom: 6px; background: #EEE; border: 1px solid var(--line); }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-none { background: linear-gradient(135deg, #E8F7F2, #C9EFE2); }
.p-none-2 { background: linear-gradient(135deg, #FFF1E2, #FFD7B3); }
.p-none-3 { background: linear-gradient(135deg, #EAF0FF, #C9D7FB); }
.p-none b { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: rgba(10,10,10,.55); }
.projects2 .p-client, .projects2 .p-title { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.projects2 .p-client { margin-bottom: -4px; }

.projects2 .tags { margin: 2px 0 2px; }
.projects2 .p-desc { font-size: 14.5px; line-height: 1.5; }

/* Otis caption */
.otis-body .caption { text-align: center; }

/* Control Centre: unmistakable on state */
.cc-tile { position: relative; }
.cc-tile[role="switch"]::after { content: "Off"; position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.cc-tile[role="switch"][aria-checked="true"] { background: #0A84FF; color: #fff; box-shadow: 0 2px 8px -2px rgba(10,132,255,.6); }
.cc-tile[role="switch"][aria-checked="true"]::after { content: "On"; color: #fff; }
.cc-tile[role="switch"][aria-checked="true"] small { color: rgba(255,255,255,.85); }
.cc-tile[role="switch"][aria-checked="true"] .cc-ico { background: #fff; color: #0A84FF; }
.cc-tile[role="switch"][aria-checked="true"]:hover { background: #0077EE; }
.cc-tile[role="switch"] > span:last-child { padding-right: 22px; }

/* About Laura Block panel */
.about-mac { padding-top: 14px; }
.am-bar { position: absolute; top: 12px; left: 12px; margin: 0; }
.am-logo { margin-top: 18px; }

/* Finder sidebar current item */
.f-link.is-current { background: rgba(10,10,10,.08); font-weight: 600; }

/* Simple page view */
.simple-only { display: none !important; }
.simple .simple-only { display: block !important; }
.simple .win-contact { display: flex !important; }
.simple .win-body { overflow: visible !important; overscroll-behavior: auto !important; max-height: none !important; height: auto !important; }
.simple .win { height: auto !important; max-height: none !important; overflow: visible !important; }
.simple .simple-bar { position: sticky; top: 0; z-index: 900; margin: 0; padding: 12px 16px; background: #0A0A0A; color: #fff; justify-content: center; }
.simple .simple-bar p { font-size: 14px; font-weight: 500; }
.simple .simple-bar .btn-primary { background: var(--mint); color: var(--ink); }
.simple .cv-body { height: 85vh !important; overflow: hidden !important; }
.simple .cv-body .pdf-frame { width: 100%; height: 100%; }
.simple-case-body { padding: 24px 28px 32px; }
.simple-case-body img { max-width: 100%; height: auto; border-radius: 10px; }
.simple-case-body h1 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 10px; }
.simple-case-body h2 { font-size: 20px; margin: 26px 0 8px; }
.simple-case-body p, .simple-case-body li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.simple-case-body p + p { margin-top: 10px; }
.card-img img { object-position: center top; }
.simple .cv-body { flex: none !important; }
.simple .cv-body .pdf-frame { height: 85vh; }
.cc { width: 380px; }
.cc-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.cc-tile { min-width: 0; }
.cc-tile > span:last-child { min-width: 0; padding-right: 26px; }
.cc-wide > span:last-child { padding-right: 30px; }

/* ---------- Round 11 ---------- */
/* Text size: three clear steps, applied to every bit of text */
:root { --tz: 1; }
.a11y-large { --tz: 1.25; }
.a11y-xlarge { --tz: 1.5; }
.win-body, .ql-body, .finder2, .cc, .about-mac, .widget, .hint, .simple-bar, .mobile-note { zoom: var(--tz); }
.win-title, .ql-title { font-size: calc(13px * var(--tz)); }
.menubar { font-size: calc(13px * var(--tz)); height: calc(30px * var(--tz)); }
.menubar-logo { height: calc(20px * var(--tz)); width: auto; }
.cc-btn svg { width: calc(16px * var(--tz)); height: calc(16px * var(--tz)); }
.js .desktop { top: calc(30px * var(--tz)); }
.cc { top: calc(36px * var(--tz)); }
.icon-label { font-size: calc(12px * var(--tz)); }
.tip { font-size: calc(12px * var(--tz)); }
.cc { max-height: calc((100vh - 60px) / var(--tz)); }

/* Simple page view keeps the menu bar, so the controls are always reachable */
.simple .menubar { display: flex !important; position: fixed; }
.simple body { padding-top: calc(30px * var(--tz)); }
.simple .simple-bar { top: calc(30px * var(--tz)); }

/* Finder: the familiar two-tone face */
.app-finder { background: none; overflow: hidden; }
.app-finder svg { width: 100%; height: 100%; display: block; }

/* Theatre: a brighter colour of its own */
.app-theatre { background: linear-gradient(160deg, #B98CFF, #6A35D9); }

/* Icons sitting on the shelf */
.js .spot.on-shelf > .icon.photo { width: 112px; }
.js .spot.on-shelf > .icon { padding-bottom: 0; }
.js .spot.on-shelf { transition: left .35s var(--ease), top .35s var(--ease); }
.js .spot.on-shelf.is-dragging { transition: none; }
body[data-wallpaper="desk"] .on-shelf .icon-label { background: rgba(255,255,255,.92); box-shadow: 0 1px 2px rgba(60,35,15,.25); }

/* the mug: cosier steam on hover */
.scene .mug { transform-box: view-box; }
.scene .mug.cosy .steam { animation-duration: 1.6s; opacity: 1; stroke-width: 5; }
.cc-btn { font-size: inherit; }
.cc { top: 36px; right: 10px; max-height: calc((100vh - 36px * var(--tz) - 14px) / var(--tz)); }
.icon { width: calc(104px * (var(--tz) + 1) / 2); }

/* ---------- Round 12 ---------- */
/* text size: gentler steps */
.a11y-large { --tz: 1.1; }
.a11y-xlarge { --tz: 1.2; }

/* dock: icons fill their tiles; Finder blue to the edge */
.app svg, .app img { max-width: none; max-height: none; width: 80%; height: 80%; }
.app-finder svg { width: 100%; height: 100%; border-radius: inherit; }
.app-theatre .emoji { font-size: 32px; }
.app-theatre { background: linear-gradient(160deg, #FFE07A, #F5A623); }
.dock-folder .emoji { font-size: 24px; }

/* Improv.md icon */
.icon-md-pink span { color: #B8336A; }

/* Otis photos on the desk: a bit smaller */
.js .spot.on-desk > .icon.photo { width: 92px; }
.js .spot.on-desk { transition: left .35s var(--ease), top .35s var(--ease); }
.js .spot.on-desk.is-dragging { transition: none; }
body[data-wallpaper="desk"] .on-desk .icon-label { background: rgba(255,255,255,.92); }

/* lamp pull cord */
.scene .lamp .cord { transform-box: view-box; transition: transform .2s; }
.scene .lamp.pull .cord { animation: pullcord .4s ease-out; }
@keyframes pullcord { 35% { transform: translateY(14px); } 100% { transform: none; } }

/* inactive windows look a little duller, like macOS */
.js:not(.simple) .win:not(.is-front) .light { background: #D4D4D2 !important; box-shadow: none; }
.js:not(.simple) .win:not(.is-front) .win-title { color: rgba(10,10,10,.38); }
.js:not(.simple) .win:not(.is-front) { box-shadow: 0 12px 34px -14px rgba(10,30,25,.28); }
.js:not(.simple) .win:not(.is-front) .win-body, .js:not(.simple) .win:not(.is-front) .finder2 { filter: saturate(.8) brightness(.985); }
.win .win-body, .win .finder2 { transition: filter .2s; }

/* Work: other projects are a plain overview, not links */
.p-note { font-size: 14px; color: var(--ink-mute); margin: -6px 0 16px; }
.projects2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.projects2 li { padding: 16px 18px 18px; border-radius: 14px; background: rgba(10,10,10,.035); cursor: default; }
.projects2 .p-client { font-size: 13px; font-weight: 600; color: var(--ink-mute); margin: 0; letter-spacing: 0; }
.projects2 .p-title { font-size: 16.5px; }
.projects2 .tags i { background: rgba(255,255,255,.7); border-color: transparent; }

/* Improv window: the three photos */
.improv-body .improv-photos { margin: 4px 0 22px; }

/* ---------- Simple page view: a plain website with a sidebar ---------- */
.simple-nav { display: none; }
.simple .simple-bar { display: none !important; }
.simple .simple-nav { display: flex; flex-direction: column; position: fixed; left: 0; top: calc(30px * var(--tz)); bottom: 0; width: 240px; padding: 24px 14px; border-right: 1px solid #E6E6E3; background: #FAFAF8; overflow: auto; z-index: 800; zoom: var(--tz); }
.sn-name { font-size: 17px; font-weight: 700; padding: 0 12px 14px; }
.simple-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.simple-nav a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.simple-nav a:hover { background: rgba(10,10,10,.05); }
.simple-nav a[aria-current] { background: var(--ink); color: #fff; }
.simple-nav .sn-sub a { padding-left: 26px; font-size: 14px; }
.sn-exit { margin-top: auto; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-mute); background: none; border: 0; padding: 18px 12px 4px; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.sn-exit:hover { color: var(--ink); }
.simple .desktop { margin-left: 240px; padding: 28px 32px 60px !important; }
.simple .win { max-width: 860px; margin: 0 auto !important; border: 0 !important; background: transparent !important; }
.simple .win[hidden] { display: none !important; }
.simple .win-bar { display: none !important; }
.simple .win-body { padding-left: 0 !important; padding-right: 0 !important; }
.simple-frame { width: 100%; height: calc(100vh - 120px); border: 0; display: block; }
@media (max-width: 760px) {
  .simple .simple-nav { position: sticky; top: calc(30px * var(--tz)); width: auto; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 8px 10px; border-right: 0; border-bottom: 1px solid #E6E6E3; overflow-x: auto; }
  .simple-nav ul { display: flex; gap: 4px; }
  .simple-nav a { white-space: nowrap; padding: 7px 10px; font-size: 14px; }
  .simple-nav .sn-sub a { padding-left: 10px; }
  .sn-name { display: none; }
  .sn-exit { margin: 0; padding: 7px 10px; white-space: nowrap; }
  .simple .desktop { margin-left: 0; padding: 16px !important; }
}

/* ---------- Round 13 ---------- */
/* Featured: the Figma interview leads, the two YouTube videos stack beside it */
@supports (container-type: inline-size) {
  .features { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
  .feature-hero { grid-row: 1 / span 2; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .feature-hero .hero-img { aspect-ratio: 16/9; min-height: 0; }
  .feature-hero .hero-text { align-content: start; padding: 18px 22px 22px; gap: 8px; }
  .feature-hero .hero-t { font-size: 22px; }
  .feature-hero .hero-s { display: block; }
  .feature-pair .feature-thumb { aspect-ratio: 16/9; }
  @container (max-width: 640px) {
    .features { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .feature-hero { grid-column: 1 / -1; grid-row: auto; }
  }
  @container (max-width: 420px) { .features { grid-template-columns: 1fr; } }
}
.brand-chip { display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { height: 18px; width: auto; display: block; }

/* Other projects: brand logos, and colour-coded filter pills */
.p-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pf { --bg: #F1F1EF; --fg: #3E3E3C; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s; }
.pf:hover { transform: translateY(-1px); }
.pf[aria-pressed="true"] { border-color: var(--fg); box-shadow: 0 2px 8px -3px rgba(0,0,0,.25); }
.pf[data-tag=""][aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pf-research { --bg: #E4F1FC; --fg: #1F5F99; }
.pf-web { --bg: #E6F6EC; --fg: #1E6B3A; }
.pf-mobile-app { --bg: #F0E9FF; --fg: #5B35A8; }
.pf-service-design { --bg: #FFEEDD; --fg: #96500F; }
.pf-ai { --bg: #FFE6F1; --fg: #A3245B; }
.pf-content-design { --bg: #FFF5CC; --fg: #765800; }
.pf-design-system { --bg: #DFF5F3; --fg: #0E6B66; }
.pf-research-ops { --bg: #E9ECFF; --fg: #3343A3; }
.pf-workshop-facilitation { --bg: #FCE7E3; --fg: #A33A26; }
.projects2 li[hidden] { display: none; }
.p-brand { display: flex; align-items: center; gap: 10px; min-height: 30px; margin-bottom: 8px; }
.p-logo { height: 24px; width: auto; max-width: 110px; object-fit: contain; display: block; }
.projects2 .p-brand .p-client { font-size: 12.5px; font-weight: 600; color: var(--ink-mute); }
.projects2 li { background: #fff; border: 1px solid var(--line); }

/* CV viewer */
.cv-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; border-bottom: 1px solid var(--line); background: rgba(250,250,248,.95); }
.cv-pages { font-size: 13px; font-weight: 600; color: var(--ink-soft); min-width: 92px; font-variant-numeric: tabular-nums; }
.cv-tools .zoom { margin-right: 0; }
.cv-tools #cv-dl { margin-left: auto; }
.tool-btn.ghost { background: rgba(10,10,10,.06); color: var(--ink); border: 0; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.tool-btn.ghost:hover { background: rgba(10,10,10,.1); }
.cv-tools .tool-btn { font-size: 13px; padding: 7px 14px; }
.cv-body { overflow: auto !important; background: #E6E5E1 !important; }
.cv-pages-wrap { display: grid; justify-items: center; gap: 18px; padding: 28px 0 40px; min-width: min-content; }
.cv-page { position: relative; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 14px 40px -12px rgba(0,0,0,.25); flex: none; }
.cv-page canvas { display: block; width: 100%; height: 100%; }
.cv-link { position: absolute; display: block; border-radius: 3px; }
.cv-link:hover { background: rgba(10,132,255,.12); }
.cv-loading { padding: 40px; color: var(--ink-mute); }
.simple .cv-body { height: auto !important; max-height: 85vh; }

/* pencils jiggle */
.scene .pens { transform-box: view-box; }
.scene .pens.jiggle { animation: jiggle .6s ease-in-out; }
@keyframes jiggle { 15% { transform: rotate(-3deg); } 35% { transform: rotate(2.5deg); } 55% { transform: rotate(-1.5deg); } 75% { transform: rotate(1deg); } }

/* simple view: the Otis arrows are always visible */
.simple .viewer .nav { display: grid !important; place-items: center; opacity: 1 !important; z-index: 2; }

/* ---------- Round 14 ---------- */
/* accessible turquoise replaces the dark green (5.1:1 on white) */
:root { --mint-deep: #007A80; }
.cards-2 .card-meta, .feature-k, .p-note a { color: var(--mint-deep); }

/* Theatre: teal, so the ticket stands out */
.app-theatre { background: linear-gradient(160deg, #2FD3C0, #0E8C84); }

/* Featured: Figma line without a pill */
.hero-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.hero-k .brand-logo { height: 18px; width: auto; }

/* Other projects: turquoise filter pills that flip when on */
.pf { background: #E8FAF6; color: #005F63; border: 1.5px solid #BFEDE3; box-shadow: none; }
.pf:hover { border-color: #007A80; }
.pf[aria-pressed="true"] { background: #007A80; color: #fff; border-color: #007A80; box-shadow: 0 2px 8px -3px rgba(0,90,95,.45); }
.pf[aria-pressed="true"]::before { content: "✓ "; }
.pf-clear { font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 6px 4px; }
.pf-clear[hidden] { display: none; }
.p-brand { min-height: 44px; margin-bottom: 10px; }
.p-logo { max-width: none; object-fit: contain; object-position: left center; }
.p-logo-eon-next { height: 30px; }
.p-logo-trabu { height: 20px; }
.p-logo-wtw { height: 22px; }
.p-logo-natwest { height: 26px; }
.p-logo-kitt { height: 27px; }
.p-logo-bp { height: 40px; }

/* Otis: a normal window, photo zoomed out so the caption sits on one line */
.js .win-otis .otis-body { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 0 0 12px; }
.js .win-otis .viewer { flex: 1; min-height: 0; }
.js .win-otis .viewer img { height: 100% !important; max-height: none !important; }
.js .win-otis .caption { padding: 12px 20px 0; font-size: 15px; }

/* poster easter egg: the logo cube leaps and spins, the other cubes ripple */
.scene .poster-logo { transform-box: view-box; cursor: pointer; }
.scene .poster .cube { transform-box: fill-box; transform-origin: center; }
.scene .poster.egg .poster-logo { animation: logoleap 1.2s cubic-bezier(.3,1.4,.5,1); }
.scene .poster.egg .cube { animation: cubepop .7s ease-out both; animation-delay: var(--d); }
@keyframes logoleap { 0% { transform: none; } 35% { transform: translateY(-26px) rotate(180deg) scale(1.25); } 70% { transform: translateY(0) rotate(360deg) scale(.95); } 100% { transform: none; } }
@keyframes cubepop { 0% { transform: none; filter: none; } 40% { transform: scale(.82); filter: brightness(1.35); } 100% { transform: none; filter: none; } }
.a11y-calm .scene .poster * { animation: none !important; }
/* PDF badges: darker red so the white text passes contrast */
.icon-pdf b, .doc-mini b { background: #C4262E; }

/* ---------- Round 15 ---------- */
/* poster: the logo sits on a cube face; hovering it sends a ripple through the cubes */
.scene .poster.egg .poster-logo { animation: none; }
.scene .poster-hit { cursor: pointer; }

/* Theatre: Wicked green, so the pink ticket pops */
.app-theatre { background: linear-gradient(160deg, #34C86A, #0B7A3B); }

/* menu bar availability prompt */
.status-wrap { position: relative; display: inline-flex; }
.status.menubar-btn { font: inherit; color: inherit; background: none; border: 0; padding: 2px 8px; border-radius: 5px; cursor: pointer; }
.status.menubar-btn:hover, .status.menubar-btn[aria-expanded="true"] { background: rgba(10,10,10,.08); }
.status-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.96); border: 1px solid var(--glass-edge); box-shadow: 0 20px 50px -14px rgba(0,0,0,.3); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); z-index: 960; white-space: normal; }
.status-pop[hidden] { display: none; }
.status-pop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.status-pop b { font-size: 14px; }
.status-pop small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.sp-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.sp-actions .btn-primary { font-size: 13px; padding: 8px 14px; }
.sp-actions a { font-size: 13px; font-weight: 600; color: var(--mint-deep); }

/* improv photos: clickable, open full screen */
.ph-btn { display: block; padding: 0; border: 0; background: none; border-radius: 14px; overflow: hidden; cursor: zoom-in; min-height: 0; height: 100%; width: 100%; }
.ph-btn .ph { transition: transform .35s var(--ease); }
.ph-btn:hover .ph { transform: scale(1.03); }
.ph-btn:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,8,8,.92); display: grid; place-items: center; padding: 56px 72px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbin .25s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }
.lb-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.26); }
.status.menubar-btn { display: inline-flex; align-items: center; gap: 7px; height: auto; line-height: 1.2; }

/* availability prompt: email with copy button */
.sp-email { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.sp-addr { font-size: 13.5px; font-weight: 600; user-select: all; }
.copy-btn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; border: 0; background: rgba(10,10,10,.06); color: var(--ink-soft); cursor: pointer; }
.copy-btn:hover { background: rgba(10,10,10,.1); color: var(--ink); }
.copy-btn.done { background: var(--mint-deep); color: #fff; }
.sp-copied { position: absolute; right: 0; bottom: calc(100% - 4px); font-size: 12px; font-weight: 600; color: #fff; background: var(--ink); padding: 4px 8px; border-radius: 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.sp-copied.on { opacity: 1; transform: none; }

/* ---------- Round 21 ---------- */
/* Featured case studies: their own tinted band, fewer words, bigger pictures */
.feat-band { margin: 6px 0 40px; padding: 26px 26px 30px; border-radius: 24px; background: linear-gradient(180deg, #E6F8F3, #F3FBF8); }
.feat-h { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 18px; }
.feat-band .cards-2 { gap: 22px; margin: 0; }
.feat-band .card { background: #fff; border: 0; padding: 0; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(10,40,30,.06), 0 14px 34px -18px rgba(10,60,45,.35); display: flex; flex-direction: column; }
.feat-band .card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10,40,30,.06), 0 22px 44px -18px rgba(10,60,45,.45); }
.feat-band .card-media { border-radius: 0; aspect-ratio: 16/10; }
.feat-band .card-body { padding: 18px 22px 0; gap: 8px; }
.feat-band .card .tags { display: none; }
.feat-band .card-title { font-size: 21px; line-height: 1.25; }
.feat-band .card-text { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-go { display: block; padding: 14px 22px 20px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--mint-deep); }
.card-go span { display: inline-block; transition: transform .25s var(--spring); }
.card:hover .card-go span { transform: translateX(4px); }
.feat-band .card-pill { display: none; }
.feat-band .card:hover .card-title { text-decoration: none; }

/* desk: shelf labels on one line */
.on-shelf .icon-label { white-space: nowrap; max-width: none; overflow-wrap: normal; }

/* lamp on: the room dims for a moody glow */
.scene .room-dim { opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.scene .lamp-glow2 { opacity: 0; transition: opacity .7s ease; pointer-events: none; mix-blend-mode: screen; }
.lamp-on .scene .room-dim { opacity: .42; }
.lamp-on .scene .lamp-glow2 { opacity: 1; }
body.lamp-on[data-wallpaper="desk"]::before { background: #8E8478; }
body.lamp-on[data-wallpaper="desk"] .icon-label { background: rgba(255,248,238,.95); }

/* Messages: email with copy button */
.copy-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.chat-alt .copy-btn { width: 24px; height: 24px; border-radius: 6px; }
.chat-alt .sp-copied { right: auto; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; white-space: nowrap; }

/* simple view: the CV scrolls */
.simple .cv-body { overflow: auto !important; height: 80vh !important; max-height: none; }
.feat-band .card { align-items: stretch; } .feat-band .card-media { width: 100%; flex: none; }
/* featured band bleeds to the window edges */
.feat-band { border-radius: 0; background: #E9F8F4; box-shadow: 0 0 0 100vmax #E9F8F4; clip-path: inset(-8px -100vmax 0 -100vmax); margin-top: 0; padding: 30px 0 40px; }

/* ---------- Round 24: narrow screens get the simple site ---------- */
.narrow-note[hidden] { display: none; }
.narrow-note { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(10,10,10,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: nnfade .25s ease; }
.nn-card { width: min(420px, 100%); display: grid; justify-items: center; gap: 12px; text-align: center; padding: 30px 26px 26px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); animation: nnpop .3s var(--spring); }
.nn-card h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.nn-card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.nn-card .btn-primary { margin-top: 6px; font-size: 15px; padding: 12px 22px; }
@keyframes nnfade { from { opacity: 0; } }
@keyframes nnpop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.mobile-note { display: none !important; }

/* burger menu (simple site, smaller screens) */
.sn-burger { display: none; }
.sn-scrim { display: none; }
@media (max-width: 899px), (max-height: 539px) {
  .simple .sn-burger { display: inline-grid; align-content: center; gap: 4px; width: 34px; height: 28px; padding: 0 7px; margin: 0 4px 0 -6px; border: 0; border-radius: 6px; background: none; cursor: pointer; }
  .simple .sn-burger:hover { background: rgba(10,10,10,.07); }
  .simple .sn-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
  .nav-open .sn-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .sn-burger span:nth-child(2) { opacity: 0; }
  .nav-open .sn-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .simple .simple-nav { position: fixed !important; top: calc(30px * var(--tz)) !important; left: 0; bottom: 0; width: min(290px, 84vw) !important; height: auto !important; flex-direction: column !important; align-items: stretch !important; padding: 20px 14px !important; border-right: 1px solid #E6E6E3 !important; border-bottom: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; transform: translateX(-102%); transition: transform .3s var(--ease); z-index: 1200; box-shadow: none; }
  .nav-open .simple .simple-nav, .simple.nav-open .simple-nav { transform: none; box-shadow: 20px 0 50px -20px rgba(0,0,0,.35); }
  .simple .simple-nav ul { display: grid !important; gap: 2px; }
  .simple .simple-nav a { white-space: normal; padding: 11px 12px; font-size: 16px; }
  .simple .simple-nav .sn-sub a { padding-left: 26px; font-size: 15px; }
  .simple .sn-scrim { display: block; position: fixed; inset: 0; z-index: 1100; background: rgba(10,10,10,.35); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .simple.nav-open .sn-scrim { opacity: 1; pointer-events: auto; }
  .simple .desktop { margin-left: 0 !important; padding: 18px 16px 48px !important; }
}
/* simple site on a phone: normal menu bar order, name visible, solid bar */
@media (max-width: 760px) {
  .simple .menubar { height: 44px; padding: 0 14px; background: rgba(250,250,248,.96); border-bottom: 1px solid #E6E6E3; }
  .simple .menubar-left { order: 1; display: flex; align-items: center; }
  .simple .menubar-right { order: 2; }
  .simple .menubar-name { display: inline; }
  .simple .simple-nav { top: 44px !important; }
  .simple body { padding-top: 44px; }
}

/* ---------- Round 26: small-screen polish ---------- */
@media (max-width: 899px) {
  /* featured case studies: image left, words right, so both fit on screen */
  .feat-band .cards-2 { grid-template-columns: 1fr; gap: 14px; }
  .feat-band .card { flex-direction: row; align-items: stretch; }
  .feat-band .card-media { width: 38% !important; aspect-ratio: auto; min-height: 150px; }
  .feat-band .card-body { flex: 1; padding: 14px 16px 0; gap: 5px; }
  .feat-band .card-title { font-size: 17px; }
  .feat-band .card-text { display: none; }
  .feat-band .card-go { position: absolute; left: 38%; bottom: 0; padding: 0 16px 14px; font-size: 13.5px; }
  .feat-band .card { position: relative; min-height: 150px; }
  .feat-band .card-body { padding-bottom: 40px; }
  .feat-band { padding: 22px 0 28px; }
  .feat-h { font-size: 19px; margin-bottom: 14px; }
  /* improv photos: a swipeable strip */
  .improv-photos { display: flex !important; grid-template-columns: none !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .improv-photos::-webkit-scrollbar { display: none; }
  .improv-photos .ph-btn { flex: 0 0 82%; height: 220px; scroll-snap-align: center; }
}
@media (max-width: 760px) {
  /* control centre opens under its button on the right */
  .cc { left: auto !important; right: 8px !important; width: min(380px, calc(100vw - 16px)) !important; top: 50px !important; }
}

/* ---------- Round 27: featured cards are logo-led, with a card action footer ---------- */
.feat-band .card { flex-direction: column !important; min-height: 0 !important; }
.card-logo { display: flex; align-items: center; height: 72px; padding: 24px 24px 0; }
.card-logo img { height: 34px; width: auto; display: block; }
.card-logo img[alt="Flylane"] { height: 30px; }
.feat-band .card-body { padding: 18px 24px 22px !important; gap: 8px; flex: 1; }
.feat-band .card-meta, .cards-2 .card-meta { color: var(--ink-mute) !important; font-weight: 500; }
.feat-band .card-text { display: -webkit-box !important; }
.card-go { position: static !important; display: flex !important; justify-content: flex-end; align-items: center; gap: 6px; margin: 0 !important; padding: 14px 24px !important; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 899px) {
  .card-logo { height: 56px; padding: 18px 18px 0; }
  .card-logo img { height: 26px; } .card-logo img[alt="Flylane"] { height: 23px; }
  .feat-band .card-body { padding: 12px 18px 16px !important; }
  .feat-band .card-text { display: none !important; }
  .card-go { padding: 11px 18px !important; font-size: 13.5px; }
}
/* project tiles: one quiet chip, top right */
.p-brand { justify-content: space-between; }
.p-kind { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-soft); background: rgba(10,10,10,.05); padding: 4px 10px; border-radius: 999px; }
.feat-band .card-body { padding-top: 14px !important; }
/* featured cards: full description, no truncation (all sizes) */
.feat-band .card-text { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
.feat-band .card-body { align-content: start; }

/* ---------- First-visit hint ---------- */
.welcome[hidden] { display: none; }
.welcome { position: fixed; inset: 0; z-index: 2500; animation: nnfade .35s ease; }
.wl-ring { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(10,10,10,.6), 0 0 0 3px var(--mint); pointer-events: none; animation: wlpulse 1.8s ease-in-out infinite; }
@keyframes wlpulse { 50% { box-shadow: 0 0 0 9999px rgba(10,10,10,.6), 0 0 0 6px var(--mint); } }
.wl-card { position: fixed; width: min(380px, calc(100vw - 24px)); padding: 22px 22px 20px; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: nnpop .35s var(--spring); }
.wl-card::before { content: ""; position: absolute; top: -8px; right: 48px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.wl-card h2 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.wl-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.wl-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.wl-simple { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 6px 2px; }
.a11y-calm .wl-ring { animation: none; }
.wl-simple { text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); line-height: 1.2; }
.wl-simple:hover { background: rgba(10,10,10,.06); }
.wl-actions { gap: 10px; }
.wl-card { width: min(420px, calc(100vw - 24px)); } .wl-actions { flex-wrap: nowrap; }

/* ---------- Round 32: theatre reviews with votes and curtain-call photos ---------- */
.shows { gap: 10px; }
.shows li.show { display: grid; grid-template-columns: 40px 132px minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 14px 16px 16px 10px; }
.vote { display: grid; justify-items: center; gap: 2px; padding-top: 2px; }
.vote-btn { width: 32px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: rgba(10,10,10,.38); cursor: pointer; transition: color .15s, background .15s, transform .2s var(--spring); }
.vote-btn svg { width: 18px; height: 18px; fill: currentColor; }
.vote-btn:hover { background: rgba(10,10,10,.06); color: rgba(10,10,10,.7); }
.vote-btn:focus-visible { outline: 2px solid #0A84FF; outline-offset: 1px; }
.vote-up[aria-pressed="true"] { color: #D9480F; }
.vote-down[aria-pressed="true"] { color: #4C5BD4; }
.vote-n { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.2; }
.show[data-vote="1"] .vote-n { color: #D9480F; }
.show[data-vote="-1"] .vote-n { color: #4C5BD4; }
.vote-btn.is-pop { animation: votepop .35s var(--spring); }
@keyframes votepop { 40% { transform: scale(1.35); } }
.show-ph { display: block; width: 132px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #EFE9F4; }
.show-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-ph.is-empty { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 10px; text-align: center; color: #6E6478; font-size: 11.5px; line-height: 1.3; border: 1.5px dashed rgba(110,100,120,.35); background: repeating-linear-gradient(135deg, #F6F2F9 0 10px, #F1EBF6 10px 20px); }
.show-ph.is-empty svg { width: 26px; height: 26px; }
.show-main { display: grid; gap: 4px; min-width: 0; }
.show-main .stars { font-size: 15px; }
.show-main .show-t { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin: 0; }
.show-m { font-size: 13px; color: var(--ink-mute); margin: 0; }
.show-main .show-r { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 4px 0 0; }
.show-r.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.show-more { justify-self: start; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.show-again { font-size: 13px; color: var(--ink-mute); margin: 4px 0 0; }
.show-again::before { content: "↻ "; }
@media (max-width: 620px) {
  .shows li.show { grid-template-columns: 40px minmax(0, 1fr); }
  .show-ph { grid-column: 2; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 12px; }
  .show-main { grid-column: 2; }
  .vote { grid-row: 1 / span 2; }
}
.a11y-contrast .vote-btn { color: #000; border: 1.5px solid #000; }

/* the mug: tea drains below the lip, then refills */
.scene .mug .tea { transform-box: view-box; transition: transform 2.4s cubic-bezier(.45,.05,.55,.95); }
.scene .mug.empty .tea { transform: translateY(9.5px); }
.scene .mug:not(.empty) .tea { transition-duration: 1.7s; transition-timing-function: cubic-bezier(.3,.6,.4,1); }
.scene .mug .steam { transition: opacity 1.2s; }
.scene .mug.empty .steam { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .scene .mug .tea { transition-duration: .01s !important; } }

/* bigger files on the shelf (About.md, Work, Laura Block CV) */
.js .spot.on-shelf > .icon:not(.photo) { width: 128px; gap: 8px; }
.on-shelf .icon-txt, .on-shelf .icon-pdf { width: 72px; height: 90px; border-radius: 4px 16px 4px 4px; padding: 8px 7px; }
.on-shelf .icon-txt span { font-size: 8.5px; }
.on-shelf .icon-pdf { padding: 0 0 11px; }
.on-shelf .icon-pdf b { font-size: 13px; padding: 2px 7px; }
.on-shelf .icon-img.icon-folder { width: 100px; height: 78px; margin: 6px 0; }
.on-shelf .icon-folder::before { width: 38px; height: 13px; }
.on-shelf .icon-folder::after { inset: 8px 0 0 0; }
.on-shelf .icon-folder .folder-mark { height: 36px; }
.on-shelf .icon-label { font-size: 13px; }

/* larger screens (bigger than a 13-inch laptop): a bigger dock */
@media (min-width: 1500px) and (min-height: 880px) { .js .dock { zoom: 1.2; } }
@media (min-width: 1900px) and (min-height: 1000px) { .js .dock { zoom: 1.35; } }
.improv-body.improv-in-about { padding: 0; margin-top: 44px; }

/* ---------- Round 37: one website window (About, Work, Improv) ---------- */
.js .site-win { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-win .win-bar { background: #fff; }
.site-tabs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--mint-wash); box-shadow: inset 0 0 0 1px rgba(14,107,87,.14); }
.site-tab { font: inherit; font-size: calc(13px * var(--tz)); font-weight: 600; padding: 5px 16px; border: 0; border-radius: 999px; background: none; color: var(--mint-deep); cursor: pointer; }
.site-tab:hover { background: rgba(94,229,197,.35); }
.site-tab[aria-current="page"] { background: var(--mint); color: #0A3D31; box-shadow: 0 1px 4px -1px rgba(14,107,87,.45); }
.site-tab:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.js:not(.simple) .win:not(.is-front) .site-tab[aria-current="page"] { background: #C9F2E7; box-shadow: none; }
.simple .site-tabs { display: none; }

/* page layout: content in one column, bands run edge to edge */
.js .readme-body.about-v2 { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.about-v2 > :not(.bleed) { width: min(820px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.about-v2 h1 { margin-top: 28px; font-size: calc(34px * var(--tz)); letter-spacing: -0.03em; line-height: 1.12; }
.about-v2 h1::before { content: none !important; }
.about-v2 > .lede { margin-top: 14px; max-width: none; }
.about-v2 > .availability { margin-top: 16px; }
.about-v2 .readme-h { font-family: var(--sans); font-size: calc(24px * var(--tz)); font-weight: 650; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.about-v2 .readme-h::before { content: none !important; }
.about-v2 .eyebrow { margin: 56px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-deep); }
.about-v2 .skills .readme-h { margin-top: 0; }
.skill-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.skill-grid li { display: grid; grid-template-columns: 38px 1fr; gap: 6px 14px; align-items: center; }
.skill-grid h3 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.skill-grid p { grid-column: 2; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.skill-ic svg { width: 38px; height: 38px; display: block; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skill-ic .hex { fill: var(--mint-wash); stroke: var(--mint); stroke-width: 1.8; }
.tools-h { margin: 44px auto 12px; font-size: 15px; font-weight: 650; }
.about-v2 .tools li { background: #fff; }

.about-v2 .cta-band { margin-top: 56px; border-radius: 0; background: #E3F9F2; color: var(--ink); display: block; padding: 44px max(32px, calc((100% - 820px) / 2)); }
.about-v2 .cta-in { display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.about-v2 .cta-band h3 { font-size: calc(21px * var(--tz)); margin-bottom: 8px; }
.about-v2 .cta-band p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.about-v2 .cta-actions { align-items: center; gap: 12px; }
.about-v2 .cta-band .btn-primary { background: var(--ink); color: #fff; padding: 12px 34px; }
.about-v2 .cta-band .btn-primary:hover { background: #333; }
.about-v2 .cta-band a { color: var(--ink); text-decoration-color: var(--mint-deep); }
.about-v2 .cta-band .copy-btn { background: rgba(10,10,10,.07); }
.about-v2 .cta-stack { display: block; }
.about-v2 .cta-stack p + p { margin-top: 12px; }
.about-v2 .cta-stack ul { margin: 14px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.cta-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.about-v2 .cta-band .price { color: var(--ink); font-size: 15px; }
.cta-foot .price b { font-size: 28px; letter-spacing: -0.02em; margin-right: 4px; }

/* improv page */
.about-v2 .offstage-h { font-size: calc(34px * var(--tz)); margin-top: 28px; }
.offstage-v2 { margin-top: 10px; }
.offstage-v2 p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.offstage-v2 p + p { margin-top: 14px; }
.offstage-kicker { font-weight: 600; color: var(--ink) !important; margin-bottom: 18px; }
.readme-h3 { margin: 40px auto 14px; font-size: calc(20px * var(--tz)); font-weight: 650; letter-spacing: -0.015em; }
.stage-photos { display: grid !important; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.stage-ph { margin: 0; display: grid; gap: 8px; }
.stage-ph .ph-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #eee; aspect-ratio: 3 / 4; }
.stage-ph.stage-wide .ph-btn { aspect-ratio: auto; height: 100%; }
.stage-ph .ph-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.stage-ph .ph-btn:hover img { transform: scale(1.03); }
.stage-ph figcaption { font-size: 13px; color: var(--ink-mute); text-align: center; }
.improv-v2 { margin-top: 56px; }
.improv-v2 > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.gain-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gain-grid li { display: grid; align-content: start; gap: 6px; padding: 18px 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(10,40,30,.04); }
.gain-grid b { font-size: 15px; }
.gain-grid span { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* work page: other projects slide sideways, edge to edge */
.work-v2 > .lede { margin-bottom: 28px; }
.pcar { margin-top: 8px; }
.pcar-track { display: flex !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(32px, calc((100% - 820px) / 2)); padding: 6px max(32px, calc((100% - 820px) / 2)) 14px !important; scrollbar-width: none; }
.pcar-track::-webkit-scrollbar { display: none; }
.pcar-track > li { flex: 0 0 min(250px, 72%); scroll-snap-align: start; }
.pcar-track > li[hidden] { display: none; }
.pcar-track:focus-visible { outline: 3px solid var(--mint); outline-offset: -3px; }
.pcar-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.pcar-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(10,10,10,.2); background: #fff; color: var(--ink); cursor: pointer; }
.pcar-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcar-btn:hover:not(:disabled) { border-color: var(--ink); }
.pcar-btn:disabled { opacity: .35; cursor: default; }
.pcar-dots { display: flex; gap: 6px; align-items: center; }
.pcar-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(10,10,10,.18); transition: width .25s var(--ease), background .25s; }
.pcar-dots i.on { width: 26px; background: var(--ink); }
.work-v2 .feat-v2 { background: none !important; box-shadow: none !important; clip-path: none !important; padding: 0 !important; margin-top: 56px !important; border-radius: 0; }
.work-v2 .feat-v2 > p { margin: 6px 0 20px; font-size: 16px; color: var(--ink-soft); }
.work-v2 .feat-v2 .card { border: 1px solid var(--line); }

@media (max-width: 640px) {
  .skill-grid, .gain-grid { grid-template-columns: 1fr; }
  .stage-photos { grid-template-columns: 1fr 1fr; }
  .stage-ph.stage-wide { grid-column: span 2; }
  .stage-ph.stage-wide .ph-btn { aspect-ratio: 4 / 3; height: auto; }
}

/* shelf icons: a real preview on each document, and labels resting on the shelf */
.icon-doc { position: relative; display: block; width: 52px; height: 64px; background: #fff; border-radius: 3px 12px 3px 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(10,10,10,.06), 0 3px 8px -2px rgba(0,0,0,.28); }
.icon-doc::after { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: linear-gradient(225deg, transparent 50%, #E4E4DF 50%); border-bottom-left-radius: 3px; z-index: 2; }
.icon-doc b { position: absolute; z-index: 2; left: 50%; bottom: 6px; translate: -50% 0; font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; padding: 1px 5px; border-radius: 3px; }
.icon-doc-md b { background: var(--mint-deep); }
.icon-doc-pdf b { background: #C4262E; }
.icon-doc-md::before { content: ""; position: absolute; left: 26px; right: 12px; top: 11px; height: 3px; border-radius: 2px; background: var(--ink); box-shadow: 0 5px 0 #A6A6A1; }
.doc-face { position: absolute; left: 7px; top: 8px; width: 15px; height: 15px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--mint); }
.doc-lines { position: absolute; left: 7px; right: 7px; top: 30px; height: 15px; background: repeating-linear-gradient(#D4D4CF 0 2px, transparent 2px 5px); border-radius: 1px; }
.doc-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.icon-doc-pdf .doc-thumb + b { box-shadow: 0 0 0 2px #fff; }
.on-shelf .icon-doc { width: 72px; height: 90px; border-radius: 4px 16px 4px 4px; }
.on-shelf .icon-doc::after { width: 16px; height: 16px; }
.on-shelf .icon-doc b { font-size: 12px; padding: 2px 7px; bottom: 9px; }
.on-shelf .icon-doc-md::before { left: 36px; right: 16px; top: 15px; height: 4px; box-shadow: 0 7px 0 #A6A6A1; }
.on-shelf .doc-face { left: 10px; top: 11px; width: 21px; height: 21px; }
.on-shelf .doc-lines { left: 10px; right: 10px; top: 42px; height: 20px; }
/* the folder now has the same footprint as the documents, so every label sits the same distance below its icon */
.on-shelf .icon-img.icon-folder { margin: 12px 0 0; }
.on-shelf .icon:hover .icon-doc, .on-shelf .icon:focus-visible .icon-doc { box-shadow: 0 0 0 1px rgba(10,10,10,.06), 0 8px 16px -4px rgba(0,0,0,.3); }
.about-v2 .offstage-sec { border: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }
.about-v2 .offstage-sec::before { content: none; }
.about-v2 > .availability { display: flex; padding: 0; background: none; border-radius: 0; font-size: 14px; color: var(--ink); }
.about-v2 .offstage-v2 p { max-width: none; }

/* ---------- Round 38 ---------- */
/* About: a gap above What I do now the eyebrow's gone */
.about-v2 .skills { margin-top: 64px; }
.about-v2 .eyebrow { margin-top: 0; }

/* case studies open inside the website window */
.site-case { position: absolute; left: 0; right: 0; top: 44px; bottom: 0; z-index: 3; display: flex; flex-direction: column; background: #fff; }
.site-case[hidden] { display: none; }
.sc-bar { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.sc-back { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(10,10,10,.16); background: #fff; color: var(--ink); cursor: pointer; }
.sc-back:hover { border-color: var(--ink); }
.sc-title { font-size: 13px; color: var(--ink-mute); }
.sc-frame { flex: 1; width: 100%; border: 0; display: block; }
.win-work.has-case .win-body { visibility: hidden; }

/* work: featured case studies stack, one per row */
.work-v2 .feat-v2 .cards-2 { grid-template-columns: 1fr !important; gap: 18px !important; }
.work-v2 .feat-v2 .card { display: grid !important; grid-template-columns: 220px 1fr; grid-template-rows: 1fr auto; flex-direction: initial !important; }
.work-v2 .feat-v2 .card-logo { grid-row: 1 / span 2; display: grid; place-items: center; padding: 24px; background: var(--mint-wash); border-right: 1px solid var(--line); }
.work-v2 .feat-v2 .card-logo img { max-width: 140px; height: auto; max-height: 44px; }
.work-v2 .feat-v2 .card-body { padding: 22px 26px 6px !important; }
.work-v2 .feat-v2 .card-go { justify-self: end; padding: 10px 26px 20px; border-top: 0 !important; }
.pcar-track { scroll-snap-type: none !important; }
.pcar-track > li.is-clone { pointer-events: none; }
@media (max-width: 640px) {
  .work-v2 .feat-v2 .card { grid-template-columns: 1fr; }
  .work-v2 .feat-v2 .card-logo { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; justify-items: start; }
}

/* improv: the booking band is a ticket */
.about-v2 .workshop-band { background: radial-gradient(circle at 12% 20%, rgba(94,229,197,.35), transparent 40%), radial-gradient(circle at 90% 85%, rgba(247,112,156,.18), transparent 45%), #E3F9F2; padding-top: 56px; padding-bottom: 64px; }
.ticket { display: grid; grid-template-columns: 1fr 260px; border-radius: 22px; overflow: hidden; box-shadow: 0 2px 4px rgba(10,40,30,.06), 0 30px 60px -28px rgba(10,60,45,.45); transform: rotate(-.6deg); transition: transform .4s var(--spring); }
.ticket:hover { transform: rotate(0); }
.ticket-main { background: #fff; padding: 34px 34px 30px; position: relative; }
.ticket-main::after { content: ""; position: absolute; right: -1px; top: 14px; bottom: 14px; border-right: 2px dashed rgba(10,10,10,.18); }
.ticket-k { font-size: 12px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-deep) !important; margin-bottom: 10px; }
.ticket-main h3 { font-size: calc(26px * var(--tz)) !important; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px !important; }
.ticket-main > p { max-width: none !important; }
.ticket-main > p + p { margin-top: 10px; }
.ticket-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticket-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.ticket-facts svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint); fill: none; stroke: #0A3D31; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ticket-stub { background: var(--ink); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left / 100% 51% no-repeat; }
.stub-k { font-size: 12px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint) !important; }
.stub-price { display: grid; gap: 2px; color: #fff !important; }
.stub-price b { font-size: 48px; line-height: 1; letter-spacing: -0.03em; }
.stub-price span { font-size: 13px; color: rgba(255,255,255,.7); }
.about-v2 .ticket-stub .btn-primary { background: var(--mint); color: #0A3D31; width: 100%; padding: 13px 16px; }
.about-v2 .ticket-stub .btn-primary:hover { background: #fff; }
.ticket-stub .copy-wrap { justify-content: center; }
.about-v2 .ticket-stub a { color: #fff; font-size: 13.5px; text-decoration-color: var(--mint); }
.about-v2 .ticket-stub .copy-btn { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; transform: none; }
  .ticket-main::after { top: auto; left: 14px; right: 14px; bottom: -1px; border-right: 0; border-bottom: 2px dashed rgba(10,10,10,.18); }
  .ticket-stub { -webkit-mask: none; mask: none; }
  .ticket-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ticket, .ticket:hover { transform: none; } }

/* shelf: About is a mint folder with my face on it */
.icon-folder .folder-face { position: absolute; z-index: 1; left: 50%; top: 58%; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,.2); }
.on-shelf .icon-folder .folder-face { width: 40px; height: 40px; box-shadow: 0 0 0 2.5px #fff, 0 2px 5px rgba(0,0,0,.22); }
.on-shelf .icon-folder .emoji { font-size: 34px; }
.f-item .icon-folder .folder-face { width: 26px; height: 26px; }
.work-v2 .feat-v2 .card-logo { align-self: stretch; height: auto !important; min-height: 100%; margin: 0 !important; }

/* ---------- Round 39 ---------- */
/* photo strips at the top of Work and Improv: captions only in the full-screen view */
.photo-strip { display: flex; gap: 10px; padding: 14px 10px 0; margin: 0 0 8px; }
.strip-ph { flex: var(--w, 1) 1 0; min-width: 0; height: clamp(180px, 24vw, 290px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #eee; }
.strip-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.strip-ph:hover img { transform: scale(1.03); }
.strip-ph:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.work-v2 > .photo-strip + h1, .about-v2 > .photo-strip + .offstage-sec .offstage-h { margin-top: 40px; }
@media (max-width: 640px) { .photo-strip { overflow-x: auto; scrollbar-width: none; } .strip-ph { flex: 0 0 78%; height: 200px; } }

/* improv page */
.page-lede { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.improv-v2 .gain-grid { margin-top: 18px; }
.booking-intro { margin-top: 64px; }
.booking-intro > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.about-v2 .workshop-band { margin-top: 36px; }

/* featured case studies: a photo, then the logo above the title, with a platform chip */
.work-v2 .feat-v2 .case-card { grid-template-columns: 260px 1fr !important; grid-template-rows: 1fr auto; min-height: 236px; }
.case-card .card-media { grid-row: 1 / span 2; position: relative; overflow: hidden; background: var(--mint-wash); aspect-ratio: auto !important; width: auto !important; }
.case-card .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .5s var(--ease); }
.case-card:hover .card-media img { transform: scale(1.04); }
.case-card .card-body { display: grid; align-content: start; gap: 8px !important; padding: 20px 24px 6px !important; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.card-logo-img { height: 26px; width: auto; display: block; }
.card-logo-img[alt="Flylane"] { height: 22px; }
.case-card .card-title { font-size: 19px !important; }
.case-card .card-text { display: block !important; -webkit-line-clamp: unset !important; }
@media (max-width: 640px) {
  .work-v2 .feat-v2 .case-card { grid-template-columns: 1fr !important; }
  .case-card .card-media { grid-row: auto; height: 160px; }
}

/* ---------- Round 40: calmer pages ---------- */
/* About: What I do as one column of four rows, lined up with everything else */
.skill-grid { grid-template-columns: 1fr !important; gap: 26px !important; max-width: 640px; }
.skill-grid li { grid-template-columns: 38px 1fr; }

/* Work: more air between sections */
.work-v2 .photo-strip .strip-ph { height: clamp(170px, 20vw, 250px); }
.work-v2 > h1 { margin-top: 56px !important; }
.work-v2 > .lede { margin-bottom: 40px !important; }
.work-v2 .pcar-nav { margin-top: 14px; }
.work-v2 .feat-v2 { margin-top: 88px !important; }
.work-v2 .feat-v2 .cards-2 { gap: 24px !important; }
.work-v2 .feat-v2 + .cta-band { margin-top: 88px; }
.case-card .card-media img { object-position: left top; }

/* theatre: no votes for now */
.shows.no-votes li.show { grid-template-columns: 132px minmax(0, 1fr); padding-left: 16px; }
@media (max-width: 620px) { .shows.no-votes li.show { grid-template-columns: minmax(0, 1fr); } .shows.no-votes .show-ph, .shows.no-votes .show-main { grid-column: 1; } }

/* ---------- Round 41 ---------- */
/* Work: the three photos sit inside the page margins, at equal widths */
.work-v2 > .photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin-top: 36px; }
.work-v2 > .photo-strip .strip-ph { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .work-v2 > .photo-strip { grid-template-columns: 1fr; overflow: visible; } .work-v2 > .photo-strip .strip-ph { aspect-ratio: 16 / 10; } }

/* Theatre: the photo fills the full height of its tile and opens full screen; the review previews
   three lines so "Read more" ends level with the bottom of the photo */
.shows li.show { align-items: stretch; }
.shows .show-ph { align-self: stretch; aspect-ratio: auto; height: auto; min-height: 176px; padding: 0; border: 0; cursor: zoom-in; font: inherit; }
.shows button.show-ph:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.shows .show-ph img { transition: transform .5s var(--ease); }
.shows button.show-ph:hover img { transform: scale(1.03); }
.show-main { align-content: start; }
.show-r.is-clamped { -webkit-line-clamp: 3; }
@media (max-width: 620px) { .shows .show-ph { aspect-ratio: 4 / 3; min-height: 0; } }

/* Improv: photos sit under the intro, inside the margins, on the same 3-column grid as the skill tiles */
.about-v2 > .improv-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin-top: 32px; margin-bottom: 0; }
.about-v2 > .improv-strip .strip-ph { height: auto; aspect-ratio: 4 / 3; border-radius: 14px; }
.about-v2 > .improv-strip + .improv-v2 { margin-top: 64px; }
.about-v2 > .offstage-sec:first-child .offstage-h { margin-top: 48px; }

/* Messages: several texts, sent together when the visitor is ready */
.chat-note { justify-self: end; margin: 2px 6px 0; font-size: 11.5px; color: var(--ink-mute); }
.send-all { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 2px; padding: 10px 18px; border-radius: 12px; border: 0; background: var(--ink, #111); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); transition: transform .15s, background .15s; }
.send-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.send-all:hover { background: #2A2A2A; transform: translateY(-1px); }
.send-all:focus-visible { outline: 3px solid var(--mint-deep, #0A84FF); outline-offset: 2px; }
.chips:has(.send-all) { justify-content: center; }
.a11y-contrast .send-all { background: #000; color: #fff; }
