@font-face { font-family: "Chicago"; src: url("../fonts/ChicagoFLF.ttf") format("truetype"); font-display: swap; }
/* Caveat (OFL), self-hosted so no request goes to Google; only downloaded where the polaroid backs use it */
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("../fonts/caveat-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("../fonts/caveat-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --platinum: #dddddd;
  --platinum-2: #eeeeee;
  --ink: #111;
  --hi: #fff;
  --lo: #888;
  --paper: #fffef8;
  --accent: #1d2d6c;      /* brand Delft Blue */
  --accent-soft: #d3f3f8; /* light Non Photo Blue */
  --postit: #ffeba1;
  --tbd: #fff27a;
  --ui: "Chicago", "Charcoal", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; /* longer text; Chicago (--ui) is the interface */
  --menubar-h: 26px;
  --shelf-h: 72px;
}

* { box-sizing: border-box; }
/* pixel cursors in Delft Blue (img/cursors, drawn at 16px with a 2x copy) */
html { cursor: url("../img/cursors/arrow.png") 1 1, default; cursor: image-set(url("../img/cursors/arrow.png") 1x, url("../img/cursors/arrow@2x.png") 2x) 1 1, default; }
a[href], summary, label:has(input[type=radio]), label:has(input[type=checkbox]) { cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; }
input, textarea, [contenteditable] { cursor: text; }
/* touch screens: 16px form text, or iOS zooms the page in when a field is tapped */
@media (max-width: 760px), (pointer: coarse) { input, textarea, select { font-size: 16px !important; } }
html, body { margin: 0; height: 100%; }
body {
  font: 14px/1.5 var(--text);
  color: var(--ink);
  background: #cfdbe8 url("../img/walls/chrome.png") 0 0 / 154px 80px;
  image-rendering: pixelated;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
/* "change mood": 1-bit bitmap patterns, tiles drawn at 4x and shown at 2x so they stay crisp */
body[data-mood="2"] { background: #1e4f5e url("../img/walls/petrol.png") 0 0 / 128px 128px; }
body[data-mood="3"] { background: #bfeef5 url("../img/walls/ice.png") 0 0 / 16px 16px; }
body[data-mood="4"] { background: #ffc4b4 url("../img/walls/peach.png") 0 0 / 96px 96px; }
body[data-mood="5"] { background: #ffeba1 url("../img/walls/postit.png") 0 0 / 12px 12px; }
body[data-mood="6"] { background: #1d2d6c url("../img/walls/delft.png") 0 0 / 178px 108px; }
body img, body canvas, body video { image-rendering: auto; }
.icon img, .dock__item img, .au-card__head img, .finder a img, .menu img { image-rendering: pixelated; }

/* the wordmark: inline SVG, coloured by currentColor, sized by height */
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 1em; width: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: normal; }

/* ---------- boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 9999;
  display: none; place-items: center;
  background: #111; color: #fff; font-family: var(--ui);
  cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; transition: opacity .4s;
}
.booting .boot { display: grid; }
.boot.is-off { opacity: 0; pointer-events: none; }
.boot__box { width: min(320px, 80vw); }
.boot__logo { font-size: 40px; margin-bottom: 20px; }
.boot__log { list-style: none; margin: 0 0 16px; padding: 0; font-size: 12px; }
.boot__log li { opacity: 0; animation: bootline .01s forwards; }
.boot__log li:nth-child(1) { animation-delay: .1s; }
.boot__log li:nth-child(2) { animation-delay: .4s; }
.boot__log li:nth-child(3) { animation-delay: .7s; }
.boot__log li:nth-child(4) { animation-delay: 1s; }
@keyframes bootline { to { opacity: 1; } }
.boot__bar { height: 12px; border: 1px solid #fff; padding: 1px; }
.boot__bar span { display: block; height: 100%; width: 0; background: #fff; animation: bootbar 1.4s steps(14) forwards; }
@keyframes bootbar { to { width: 100%; } }

/* ---------- menu bar ---------- */
.menubar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--menubar-h);
  display: flex; align-items: stretch; gap: 2px;
  padding: 0 8px;
  background: var(--platinum-2);
  border-bottom: 1px solid var(--ink);
  font: 13px/var(--menubar-h) var(--ui);
}
.menu { position: relative; }
.menu--more { display: none; }
.menu__title { display: block; height: 100%; padding: 0 10px; white-space: nowrap; text-decoration: none; }
.menu__title--logo { font-size: 15px; display: flex; align-items: center; }
.menu__title--logo .logo svg { height: 14px; }
.menu__title:hover, .menu.is-open .menu__title { background: var(--ink); color: var(--hi); }
.menu__drop {
  display: none; position: absolute; top: var(--menubar-h); left: 0; min-width: 240px;
  background: var(--platinum-2); border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(0,0,0,.6); padding: 4px 0;
}
.menu.is-open .menu__drop { display: block; }
.menu__drop > button, .menu__drop > a {
  display: block; width: 100%; text-align: left; padding: 0 16px;
  line-height: 22px; text-decoration: none; white-space: nowrap;
}
.menu__drop > button:hover, .menu__drop > a:hover { background: var(--accent); color: var(--hi); }
.menu__drop hr { border: 0; border-top: 1px dotted var(--lo); margin: 4px 0; }
.menu__drop--moods > button { position: relative; padding-left: 22px; display: flex; align-items: center; gap: 8px; }
.menu__drop--moods > button[aria-checked="true"]::before { content: "✓"; position: absolute; left: 7px; }
.swatch { width: 28px; height: 14px; border: 1px solid var(--ink); flex: none; image-rendering: pixelated; }
.swatch--1 { background: #cfdbe8 url("../img/walls/chrome.png") 0 0 / 154px 80px; }
.swatch--2 { background: #1e4f5e url("../img/walls/petrol.png") 0 0 / 128px 128px; }
.swatch--3 { background: #bfeef5 url("../img/walls/ice.png") 0 0 / 16px 16px; }
.swatch--4 { background: #ffc4b4 url("../img/walls/peach.png") 0 0 / 96px 96px; }
.swatch--5 { background: #ffeba1 url("../img/walls/postit.png") 0 0 / 12px 12px; }
.swatch--6 { background: #1d2d6c url("../img/walls/delft.png") -20px -10px / 178px 108px; }
.menubar__right { margin-left: auto; display: flex; gap: 16px; padding-right: 4px; }
.clock b { font-weight: normal; color: var(--lo); }

/* ---------- desktop ---------- */
.desktop {
  position: fixed; top: var(--menubar-h); left: 0; right: 0; bottom: 0;
}
.icons {
  position: absolute; top: 16px; right: 16px; bottom: calc(var(--shelf-h) + 16px);
  display: flex; flex-direction: column; flex-wrap: wrap-reverse; align-content: flex-start; gap: 10px;
}
.icon {
  width: 92px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; font: 12px/1.2 var(--ui); color: var(--hi);
}
.icon img { width: 32px; height: 32px; image-rendering: pixelated; }
.icon span { padding: 1px 4px; background: rgba(0,0,0,.55); text-align: center; }
.icon:hover span, .icon:focus-visible span { background: var(--accent); }
button.icon { color: var(--hi); }

/* ---------- windows ---------- */
.win {
  position: absolute;
  left: var(--x, 15vw); top: var(--y, 60px);
  width: min(var(--w, 500px), calc(100vw - 24px));
  max-height: calc(100% - var(--y, 60px) - var(--shelf-h) - 12px);
  display: flex; flex-direction: column;
  background: var(--platinum);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.win.is-closed { display: none; }
.desk-only .win--page { display: none; } /* set before first paint; computer.js then closes it properly */
.win.is-front { z-index: 10; }
.win__bar {
  position: relative; flex: none;
  height: 22px; margin: 2px 2px 0;
  display: flex; align-items: center; justify-content: center;
  /* pinstripes, Poolsuite / System 7 style */
  background: repeating-linear-gradient(var(--platinum) 0 2px, var(--lo) 2px 3px) 0 4px / 100% 13px no-repeat;
  cursor: grab; user-select: none; touch-action: none;
}
.win__bar:active { cursor: grabbing; }
.win:not(.is-front) .win__bar { background: none; }
.win:not(.is-front) .win__title { color: var(--lo); }
.win__title {
  font: 13px/22px var(--ui); padding: 0 8px; background: var(--platinum);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 60px);
}
.win__close {
  position: absolute; left: 8px; top: 5px; width: 13px; height: 13px;
  background: var(--platinum); border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--lo);
}
.win__close::before, .win__close::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1px; margin-top: -.5px; background: var(--ink);
}
.win__close::before { transform: rotate(45deg); }
.win__close::after { transform: rotate(-45deg); }
.win__close:hover { background: var(--hi); }
.win__close:active { background: var(--lo); }
.win:not(.is-front) .win__close { visibility: hidden; }
.win__body {
  margin: 2px; padding: 18px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: auto;
}
.win__body > * + * { margin-top: 12px; }

.win__body .hello { font: 52px/1 var(--ui); margin: 6px 0 4px; }
.win__body .hello .logo svg { height: 52px; }
.lede { font-size: 17px; line-height: 1.4; }
.kicker { font: 12px var(--ui); color: var(--accent); text-transform: lowercase; }
.win__body h1, .win__body h2 { font: 22px/1.2 var(--ui); letter-spacing: -.01em; margin-top: 4px; }
.win__body h3 {
  font: 12px var(--ui); color: var(--lo); margin-top: 20px;
  border-bottom: 1px dotted var(--lo); padding-bottom: 2px;
}
.small { font-size: 12px; color: #555; }

.list, .proof, .people, .arms { list-style: none; padding: 0; margin-bottom: 0; }
.list li { padding: 3px 0 3px 18px; position: relative; }
.list li b { font-weight: 600; }
.list li span { color: #555; }
.list li::before { content: "◆"; position: absolute; left: 0; font-size: 9px; top: 7px; color: var(--accent); }
.proof li a { display: flex; gap: 10px; text-decoration: none; width: 100%; }
.proof li a:hover span { text-decoration: underline; }
.proof li, .people li { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px dotted #ccc; }
.proof b, .people b { font-weight: 600; min-width: 90px; }

.arms li + li { margin-top: 6px; }
.arms a {
  text-decoration: none;
  width: 100%; display: flex; gap: 6px; align-items: baseline; text-align: left;
  padding: 10px 12px; background: var(--hi); border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink); transition: transform .06s, box-shadow .06s;
}
.arms a b { font: 14px var(--ui); font-weight: normal; }
.arms a span { margin-left: auto; font-family: var(--ui); }
.arms a:hover { background: var(--accent-soft); }
.arms a:active { transform: translate(2px,2px); box-shadow: none; }

.principles { padding-left: 28px; }
.principles li { padding: 4px 0; }

/* buttons: classic Mac push buttons */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px !important; }
.btn {
  display: inline-block; padding: 4px 16px; min-width: 80px; text-align: center;
  font: 13px/18px var(--ui); text-decoration: none;
  background: var(--platinum-2); border: 1px solid var(--ink); border-radius: 5px;
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 var(--hi);
}
.btn:active { background: var(--ink); color: var(--hi); }
.btn--default { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 5px; }

/* table, finder style */
.finder { width: 100%; border-collapse: collapse; font-size: 13px; }
.finder th { font: 12px var(--ui); text-align: left; border-bottom: 1px solid var(--ink); padding: 4px 6px; }
.finder td { padding: 6px; border-bottom: 1px dotted #ccc; }
.finder tbody tr:hover { background: var(--accent-soft); }

.snaps { position: relative; margin: 4px 0 18px; }
.snap { position: relative; z-index: 1; width: min(250px, 100%); margin: 4px auto 0; transform: rotate(-1.5deg); perspective: 900px; outline: none; }
.snap__card { position: relative; transition: transform .5s; transform-style: preserve-3d; }
.snap:hover .snap__card, .snap:focus-visible .snap__card, .snap.is-flipped .snap__card { transform: rotateY(180deg); }
.snap__front, .snap__back { backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.snap__front { padding: 10px 10px 0; }
.snap__front figcaption { display: flex; justify-content: space-between; gap: 6px; padding: 8px 2px 10px; font: 12px var(--ui); }
.snap__front figcaption span { color: var(--lo); }
/* the back: plain white card, with a faint shadow where the photo sits on the other side */
.snap__back {
  position: absolute; inset: 0; transform: rotateY(180deg); padding: 18px 20px; overflow: hidden;
  font: 500 21px/25px "Caveat", "Comic Sans MS", cursive; color: #26304f;
}
.snap__back::before { content: ""; position: absolute; inset: 10px 10px 36px; background: linear-gradient(160deg, rgba(0,0,0,.07), rgba(0,0,0,.04)); box-shadow: inset 0 0 12px rgba(0,0,0,.05); }
.snap__back p { position: relative; margin: 0; }
.snap--side { position: absolute; z-index: 2; width: min(140px, 30%); top: 34%; margin: 0; }
.snap:hover, .snap:focus-visible, .snap.is-flipped { z-index: 4; }
.snap--side .snap__front { padding: 7px 7px 0; }
.snap--side figcaption { font-size: 11px; padding: 6px 2px 8px; }
.snap--side .snap__back { padding: 12px 13px; font-size: 16px; line-height: 18px; }
.snap--side .snap__back::before { inset: 7px 7px 30px; }
.snap--left { left: 2%; transform: rotate(-7deg); }
.snap--right { right: 2%; top: 46%; transform: rotate(5deg); }
@media (max-width: 760px) {
  .snap--side { width: 24%; top: 47%; } .snap--left { left: 0; } .snap--right { right: 0; top: 51%; }
  .snap--side figcaption { font-size: 10px; flex-direction: column; gap: 0; }
  .snap--side .snap__back { font-size: 12px; line-height: 13px; padding: 8px; }
  .snap--side .snap__back::before { inset: 5px 5px 34px; }
}
.snap img { display: block; width: 100%; height: auto; image-rendering: auto; }

/* form */
.form fieldset { border: 1px solid var(--lo); padding: 8px 12px 10px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.form legend { font: 12px var(--ui); padding: 0 4px; }
.form fieldset label { display: flex; gap: 6px; align-items: center; }
.field { display: grid; gap: 2px; font: 12px var(--ui); margin-top: 10px; }
.field input, .field select, .field textarea {
  font: 14px var(--text); padding: 5px 6px; background: var(--hi);
  border: 1px solid var(--ink); box-shadow: inset 1px 1px 0 var(--lo); border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus, .form input[type=radio]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form input[type=radio] { accent-color: var(--ink); }
.form__status { font: 12px var(--ui); }
.form.is-sent > :not(.btns) { opacity: .4; pointer-events: none; }

/* mood fm */
.win--player .win__body { padding: 12px; }
.player__screen {
  background: #1d2a1a; color: #a6ff7a; font: 12px/28px var(--ui);
  border: 1px solid var(--ink); box-shadow: inset 2px 2px 0 #000;
  overflow: hidden; white-space: nowrap;
}
.player__marquee span { display: inline-block; padding-left: 100%; animation: marquee 14s linear -6s infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.player__controls { display: flex; gap: 10px; align-items: center; }
.player__controls { gap: 6px; }
.player__controls .btn { min-width: 34px; padding: 2px 6px; }
.player__progress { flex: 1; height: 10px; border: 1px solid var(--ink); background: var(--hi); }
.player__progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* case studies, testimonials, faq */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.stat { background: var(--hi); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); padding: 10px 12px; }
.stat b { display: block; font: 24px/1.1 var(--ui); letter-spacing: -.02em; }
.stat span { display: block; font-size: 12px; color: #555; margin-top: 4px; }
.md h2 { font: 12px var(--ui) !important; color: var(--lo); margin-top: 20px !important; border-bottom: 1px dotted var(--lo); padding-bottom: 2px; }
.md > * + * { margin-top: 10px; }
.md ul { padding-left: 20px; }
.quote { margin: 16px 0 0; padding: 14px 16px; background: var(--hi); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.quote p { font-size: 16px; line-height: 1.45; margin: 0; }
.quote p::before { content: "“"; } .quote p::after { content: "”"; }
.quote footer { margin-top: 10px; font-size: 13px; color: #555; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.quote footer b { flex-basis: 100%; color: var(--ink); }
.quote .tags { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; margin-top: 2px; }
.quote--note p { font-style: italic; }
.quote--note p::before, .quote--note p::after { content: none; }
.quote audio { width: 100%; margin-top: 10px; height: 32px; }
.tag { font: 11px var(--ui); background: var(--accent-soft); padding: 0 6px; border: 1px solid var(--ink); }
.faq details { border-bottom: 1px dotted #ccc; padding: 7px 0; }
.faq summary { cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--ui); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 6px 0 2px; color: #333; }
.finder a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.finder a img { width: 16px; height: 16px; image-rendering: pixelated; }
.finder a:hover { text-decoration: underline; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offices h3 time { float: right; }
.player__link { display: block; font: 11px var(--ui); text-align: right; text-decoration: none; color: var(--lo); margin: 8px 0 0; }
.player__link:hover { color: var(--ink); }
.dialog { display: flex; gap: 14px; align-items: flex-start; }
.dialog img { width: 32px; image-rendering: pixelated; }

/* placeholder copy, delete the class as real copy lands */
.tbd { background: var(--tbd); box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* cookie notice: a small window, bottom-right above the dock */
.cookies {
  position: fixed; right: 20px; bottom: calc(var(--shelf-h) + 16px); z-index: 950; width: 330px;
  background: var(--platinum); border: 1px solid var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.cookies[hidden] { display: none; }
.cookies .win__bar { cursor: url("../img/cursors/arrow.png") 1 1, default; cursor: image-set(url("../img/cursors/arrow.png") 1x, url("../img/cursors/arrow@2x.png") 2x) 1 1, default; }
.cookies__body { display: flex; gap: 12px; margin: 2px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--ink); font-size: 13px; line-height: 1.4; }
.cookies__body p { margin: 0; }
.cookies__icon { width: 32px; height: 32px; flex: none; }
.cookies__btns { display: flex; gap: 8px; margin-top: 10px; }
.cookies__btns .btn { min-width: 0; padding: 3px 10px; font-size: 12px; }
.cookies__link { display: inline-block; margin-top: 8px; font: 11px var(--ui); color: var(--lo); }
.linklike { font: inherit; text-decoration: underline; color: inherit; cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; }
.plain .cookies { box-shadow: 4px 4px 0 var(--accent); }

/* the paperclip helper (definitely not anyone else's paperclip) */
.clip { position: absolute; left: 24px; bottom: 20px; display: flex; align-items: flex-end; gap: 6px; z-index: 890; pointer-events: none; } /* above windows, below the dock */
/* only the paperclip and an open bubble take clicks; the empty box around them must not block windows underneath */
.clip__guy, .clip.is-open .clip__bubble { pointer-events: auto; }
.clip__guy { width: 64px; height: 110px; flex: none; animation: clip-bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.clip__guy svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.25)); }
.clip__wire path { stroke: #7d838e; stroke-width: 6; }
.clip__guy:hover .clip__brows { transform: translateY(-3px); }
.clip__brows { transition: transform .15s; }
.clip__eyes { animation: clip-blink 5s infinite; transform-origin: 50% 34px; }
@keyframes clip-bob { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
@keyframes clip-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.clip__bubble {
  position: relative; order: 2; width: 230px; margin-bottom: 70px; padding: 14px 16px 12px;
  background: #fffbd6; border: 1px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 rgba(0,0,0,.35);
  font-size: 13px; line-height: 1.4;
  transform-origin: 0 100%; transform: scale(.6); opacity: 0; visibility: hidden;
  transition: transform .18s cubic-bezier(.3,1.6,.6,1), opacity .12s, visibility 0s .18s;
}
.clip.is-open .clip__bubble { transform: none; opacity: 1; visibility: visible; transition: transform .25s cubic-bezier(.3,1.6,.6,1), opacity .12s; }
/* the little tail pointing at the paperclip */
.clip__bubble::before, .clip__bubble::after { content: ""; position: absolute; left: -12px; bottom: 18px; border: 6px solid transparent; border-right: 12px solid var(--ink); border-left: 0; }
.clip__bubble::after { left: -10px; border-right-color: #fffbd6; }
.clip__bubble p { margin: 0; }
.clip__bubble p + p { margin-top: 4px; }
.clip__x { position: absolute; top: 4px; right: 8px; font: 16px/1 var(--ui); color: var(--lo); }
.clip__x:hover { color: var(--ink); }
.clip__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.clip__btns .btn { min-width: 0; padding: 3px 10px; font-size: 12px; }
.clip__draft { margin-top: 10px !important; padding-top: 8px; border-top: 1px dashed rgba(0,0,0,.25); font-size: 11px; color: #555; }
@media (prefers-reduced-motion: reduce) { .clip__guy, .clip__eyes { animation: none; } }

/* about-us.pdf: Mollie's purple one-pager as a window */
.win__body:has(> .aboutus) { padding: 0; background: var(--accent); }
.aboutus { --au: var(--accent); --au-yellow: var(--postit); padding: 28px 30px 22px; background: var(--au); color: var(--ink); }
.aboutus > * + * { margin-top: 18px; }
.aboutus__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.7); color: #fff; }
.aboutus__top .logo svg { height: 40px; }
.aboutus__top p { margin: 0; font: 12px/1.5 var(--ui); text-align: right; }
.aboutus h1 { font: 54px/1 var(--ui) !important; letter-spacing: -.02em; color: #fff; margin: 28px 0 24px !important; }
.au-card { background: var(--paper); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.au-card__head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--ink); font: 13px var(--ui) !important; color: var(--ink) !important; }
.au-card__head img { width: 20px; height: 20px; image-rendering: pixelated; }
.au-card__head span { margin-left: auto; color: var(--lo); font-size: 11px; }
.au-card__body { padding: 16px 18px; font-size: 14px; line-height: 1.6; }
.au-card__body p { margin: 0; }
.au-card__body p + p { margin-top: 10px; }
.au-big { font: 17px/1.4 var(--ui); }
.au-card mark { background: var(--au-yellow); padding: 0 3px; }
.au-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.au-card--yellow { background: var(--au-yellow); }
.au-card--yellow .au-card__head { background: var(--au-yellow); }
.au-card--ice, .au-card--ice .au-card__head { background: #a7e7f1; }
.au-emails { font: 12px var(--ui); color: var(--lo); }
.au-emails a { color: var(--ink); }
.aboutus__foot { display: flex; justify-content: space-between; font: 12px var(--ui); color: #fff; padding-top: 6px; }
.aboutus__foot a { color: #fff; }
.plain .aboutus { padding: 32px clamp(16px, 4vw, 40px); margin-top: 40px; }
.plain .win__body:has(> .aboutus) { background: none; }
@media (max-width: 760px) {
  .aboutus { padding: 20px 16px; }
  .aboutus h1 { font-size: 40px !important; }
  .au-pair { grid-template-columns: 1fr; }
}

/* photobooth */
.booth > * + * { margin-top: 12px; }
.booth__stage {
  position: relative; margin: 0 auto; aspect-ratio: 4 / 5; width: min(100%, calc(58vh * 4 / 5));
  background: #1d1d1d; border: 1px solid var(--ink); overflow: hidden;
}
.booth__stage[data-ratio="9:16"] { aspect-ratio: 9 / 16; width: min(100%, calc(58vh * 9 / 16)); }
.booth__stage video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.booth__view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.booth__start {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 20%, #ffb6a3 0, transparent 45%), radial-gradient(circle at 75% 80%, #a7e7f1 0, transparent 50%), #1d2d6c;
}
.booth__start .small { color: rgba(255,255,255,.8); margin: 0; }
.booth__start .btn { color: var(--ink); background: var(--hi); outline-color: var(--hi); }
.booth__hello { font: 26px var(--ui); margin: 0; }
.booth__error:empty { display: none; }
.booth.is-live .booth__start { display: none; }
.booth__count { position: absolute; inset: 0; display: grid; place-items: center; font: 120px var(--ui); color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.4); pointer-events: none; }
.booth__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.booth__stage.is-flash .booth__flash { animation: flash .5s ease-out; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.booth__filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.booth__filters button, .booth__ratio button {
  font: 12px var(--ui); padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; background: var(--hi);
}
.booth__filters button[aria-checked="true"], .booth__ratio button[aria-checked="true"] { background: var(--ink); color: var(--hi); }
.booth__filters button:hover { background: var(--accent-soft); }
.booth__filters button[aria-checked="true"]:hover { background: var(--ink); }
.booth__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.booth__ratio { display: flex; gap: 4px; }
.booth__snap { min-width: 120px; }
.booth__snap:disabled { opacity: .45; cursor: not-allowed; }
.booth__result img { display: block; max-width: 100%; max-height: 52vh; margin: 0 auto; border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.booth__result .btns { justify-content: center; }
.booth__result .small { text-align: center; }
.booth.has-result .booth__stage, .booth.has-result .booth__filters, .booth.has-result .booth__bar { display: none; }
@media (max-width: 760px) {
  .booth__stage, .booth__stage[data-ratio="9:16"] { width: 100%; }
}

/* mood co. chat */
.win--msn .win__body { padding: 0; }
.msn { display: flex; flex-direction: column; min-height: 0; }
.msn__head { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: linear-gradient(180deg, #d3f3f8, #a7e7f1); border-bottom: 1px solid var(--ink); }
.msn__head img { width: 32px; height: 32px; image-rendering: pixelated; background: #fff; border: 1px solid var(--ink); padding: 2px; }
.msn__head b { font: 13px var(--ui); }
.msn__head small { display: block; font-size: 12px; color: #355; }
.msn__status { font: 11px var(--ui); color: #1e7a5a; }
.msn__status::before { content: "●"; margin-right: 3px; }
.msn__status.is-away { color: #c98a3e; }
.msn__signin { padding: 12px 14px 14px; }
.msn__signin > p:first-child { margin: 0 0 4px; font-size: 13px; }
.msn__signin .field small { color: var(--lo); }
.msn__error { min-height: 1em; margin: 8px 0 0; font: 12px var(--ui); color: #ec594f; }
.msn__chat { display: flex; flex-direction: column; min-height: 0; }
.msn__chat[hidden], .msn__signin[hidden] { display: none; }
.msn__to { margin: 0; padding: 6px 12px; font: 11px var(--ui); color: var(--lo); border-bottom: 1px dotted var(--lo); }
.msn__log { height: 260px; max-height: 40vh; overflow-y: auto; padding: 10px 12px; background: var(--hi); font-size: 14px; }
.msn__msg + .msn__msg, .msn__sys + .msn__msg, .msn__msg + .msn__sys { margin-top: 8px; }
.msn__msg b { display: block; font: 12px var(--ui); color: var(--lo); }
.msn__msg--team b { color: var(--accent); }
.msn__msg p { margin: 1px 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msn__gif { display: block; max-width: min(220px, 80%); max-height: 180px; margin: 4px 0 0 12px; border: 1px solid var(--ink); }
.msn__sys { font: 11px var(--ui); color: var(--lo); text-align: center; margin: 8px 0; }
.msn__compose { padding: 8px 10px 10px; border-top: 1px solid var(--ink); background: var(--platinum); }
.msn__compose textarea { width: 100%; resize: none; font: 14px var(--text); padding: 5px 6px; border: 1px solid var(--ink); box-shadow: inset 1px 1px 0 var(--lo); background: var(--hi); }
.msn__tools { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.msn__tools .linklike { font: 11px var(--ui); color: var(--lo); margin-right: auto; }
.msn__tools .btn:first-child { order: 0; }
.msn-nudge { animation: msnnudge .5s steps(8); }
@keyframes msnnudge { 0%, 100% { translate: 0; } 20% { translate: -8px 3px; } 40% { translate: 7px -3px; } 60% { translate: -6px 2px; } 80% { translate: 4px -1px; } }
.plain #messenger { display: none !important; }
.msn-toast {
  position: fixed; right: 16px; bottom: calc(var(--shelf-h) + 16px); z-index: 960; width: 260px;
  background: linear-gradient(180deg, #d3f3f8, #a7e7f1); border: 1px solid var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.45);
  animation: msnin .35s ease-out;
}
.msn-toast.is-leaving { animation: msnout .3s ease-in forwards; }
.msn-toast__body { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 12px 26px 12px 12px; text-align: left; }
.msn-toast__body img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.msn-toast__body b { display: block; font: 12px var(--ui); color: var(--accent); }
.msn-toast__body span span { font-size: 13px; line-height: 1.4; }
.msn-toast__x { position: absolute; top: 2px; right: 6px; font: 14px var(--ui); }
@keyframes msnin { from { transform: translateY(120%); opacity: 0; } }
@keyframes msnout { to { transform: translateY(120%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .msn-toast, .msn-toast.is-leaving { animation: none; } }
@media (max-width: 760px) { .msn-toast { left: 8px; right: 8px; width: auto; bottom: calc(var(--shelf-h) + 8px); } }

/* search */
.menu__title--search { display: grid; place-items: center; padding: 0 8px; }
.win--search .win__body { padding: 0; }
.search__form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--ink); background: var(--platinum-2); }
.search__form input { flex: 1; min-width: 0; font: 15px var(--text); padding: 6px 8px; border: 1px solid var(--ink); box-shadow: inset 1px 1px 0 var(--lo); background: var(--hi); border-radius: 0; }
.search__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.search__status { margin: 0; padding: 8px 12px; font: 11px var(--ui); color: var(--lo); }
.search__results { list-style: none; margin: 0; padding: 0 0 6px; max-height: min(420px, 55vh); overflow-y: auto; }
.search__results a { display: block; padding: 8px 12px; text-decoration: none; color: inherit; border-top: 1px dotted #ccc; }
.search__results a:hover, .search__results a:focus-visible, .search__results a.is-active { background: var(--accent); color: var(--hi); outline: none; }
.search__results b { display: block; font: 13px var(--ui); }
.search__results small { display: block; font: 11px var(--ui); color: var(--lo); }
.search__results a:hover small, .search__results a.is-active small, .search__results a:focus-visible small { color: #cfe; }
.search__results p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; }
.search__results mark { background: var(--postit); color: var(--ink); padding: 0 1px; }
.plain #search, .plain .menu__title--search { display: none !important; }

/* moodsweeper */
.sweep { user-select: none; -webkit-user-select: none; display: grid; gap: 8px; }
.sweep > * + * { margin-top: 0; }
.sweep__menu { display: flex; gap: 2px; flex-wrap: wrap; }
.sweep__menu button, .sweep__flagmode { font: 12px var(--ui); padding: 2px 8px; border: 1px solid transparent; }
.sweep__menu button:hover, .sweep__flagmode:hover { border-color: var(--ink); }
.sweep__menu button[aria-pressed="true"], .sweep__flagmode[aria-pressed="true"] { background: var(--ink); color: var(--hi); }
.sweep__top { display: flex; justify-content: space-between; align-items: center; padding: 6px; background: var(--platinum); border: 2px inset var(--hi); }
.sweep__led { font: 20px/1 var(--ui); letter-spacing: 1px; padding: 3px 5px; background: var(--accent); color: #ffb6a3; border: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.sweep__face { font: 15px/1 var(--ui); width: 34px; height: 30px; background: var(--postit); border: 2px outset var(--hi); }
.sweep__face:active { border-style: inset; }
.sweep__board {
  --cell: min(22px, calc((100vw - 72px) / var(--cols)));
  display: grid; grid-template-columns: repeat(var(--cols), var(--cell)); justify-self: center;
  border: 2px inset var(--hi); background: var(--lo); gap: 0; touch-action: manipulation;
}
.sweep__cell {
  width: var(--cell); height: var(--cell); padding: 0; font: calc(var(--cell) * .62)/1 var(--ui);
  background: var(--platinum); border: 2px outset var(--hi); display: grid; place-items: center; cursor: url("../img/cursors/arrow.png") 1 1, default; cursor: image-set(url("../img/cursors/arrow.png") 1x, url("../img/cursors/arrow@2x.png") 2x) 1 1, default;
}
.sweep__cell.is-open { background: var(--platinum-2); border: 1px solid #b8b8b8; }
.sweep__cell.is-flag:not(.is-open)::after { content: ""; width: 55%; height: 55%; background: var(--postit); box-shadow: 1px 1px 0 rgba(0,0,0,.45); transform: rotate(-6deg); }
.sweep__cell.is-boom { background: #ec594f; color: #fff; }
.sweep__cell.is-wrong::after { content: "×"; color: #ec594f; font-size: calc(var(--cell) * .8); background: none; box-shadow: none; transform: none; }
.sweep__cell[data-n="1"] { color: #1d2d6c; } .sweep__cell[data-n="2"] { color: #1e7a5a; } .sweep__cell[data-n="3"] { color: #ec594f; }
.sweep__cell[data-n="4"] { color: #5a2d8c; } .sweep__cell[data-n="5"] { color: #8c2d2d; } .sweep__cell[data-n="6"] { color: #1e4f5e; }
.sweep__cell[data-n="7"] { color: #111; } .sweep__cell[data-n="8"] { color: #666; }
.sweep__foot { display: flex; justify-content: space-between; align-items: center; font: 11px var(--ui); color: var(--lo); }
.sweep__help { font-size: 13px; }
.sweep__help summary { font: 12px var(--ui); cursor: url("../img/cursors/hand.png") 5 0, pointer; cursor: image-set(url("../img/cursors/hand.png") 1x, url("../img/cursors/hand@2x.png") 2x) 5 0, pointer; }
.sweep__help p { margin: 6px 0 0; }
.sweep-shard { position: fixed; z-index: 2000; overflow: hidden; pointer-events: none; will-change: transform; }
.sweep-confetti { position: fixed; z-index: 2000; width: 7px; height: 4px; pointer-events: none; }
.sweep-shake { animation: sweepshake .4s steps(6); }
@keyframes sweepshake { 0%, 100% { translate: 0; } 25% { translate: -6px 2px; } 50% { translate: 5px -2px; } 75% { translate: -3px 1px; } }
.sweep-dialog {
  position: fixed; z-index: 2100; left: 50%; top: 40%; transform: translate(-50%, -50%); width: min(320px, calc(100vw - 32px));
  background: var(--platinum); border: 1px solid var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.sweep-dialog__body { padding: 14px 16px; background: var(--paper); border-top: 1px solid var(--ink); }
.sweep-dialog__body p { margin: 0 0 12px; }

/* mood paint */
.paint { user-select: none; -webkit-user-select: none; }
.win__body:has(> .paint) { padding: 0; }
.paint > * + * { margin-top: 0; }
.paint__menu { display: flex; gap: 2px; padding: 3px 6px; border-bottom: 1px solid var(--ink); background: var(--platinum-2); }
.paint__menu button { font: 12px var(--ui); padding: 2px 8px; }
.paint__menu button:hover { background: var(--ink); color: var(--hi); }
.paint__main { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px; background: var(--platinum); }
.paint__tools { display: grid; grid-template-columns: repeat(2, 28px); grid-auto-rows: 28px; gap: 3px; align-content: start; }
.paint__tools > button, .paint__sizes button {
  display: grid; place-items: center; background: var(--platinum-2); border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--lo);
}
.paint__tools > button[aria-checked="true"], .paint__sizes button[aria-checked="true"] {
  background: var(--ink); color: var(--hi); box-shadow: none;
}
.paint__sizes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 28px); gap: 3px; margin-top: 8px; }
.paint__sizes button { height: 22px; }
.paint__sizes span { display: block; background: currentColor; border-radius: 50%; }
.paint__canvas { justify-self: center; width: min(100%, calc((100dvh - 370px) * 1.5)); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); background: #fff; }
.paint__canvas canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; image-rendering: pixelated; touch-action: none; cursor: crosshair; }
.paint[data-tool="logo"] canvas, .paint[data-tool="heart"] canvas, .paint[data-tool="star"] canvas { cursor: copy; }
.paint[data-tool="fill"] canvas { cursor: cell; }
.paint__palette { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 8px 10px 10px; background: var(--platinum); border-top: 1px solid var(--lo); }
.paint__current { width: 30px; height: 30px; margin-right: 8px; border: 1px solid var(--ink); box-shadow: 0 0 0 2px var(--platinum), 0 0 0 3px var(--ink); }
.paint__palette button { width: 22px; height: 22px; border: 1px solid var(--ink); }
.paint__palette button[aria-checked="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
@media (max-width: 760px) {
  .paint__main { grid-template-columns: 1fr; }
  .paint__tools { grid-template-columns: repeat(auto-fill, 34px); grid-auto-rows: 34px; justify-content: center; }
  .paint__sizes { grid-column: auto; grid-template-columns: repeat(4, 34px); margin-top: 0; }
  .paint__canvas { width: 100%; }
}

/* headless */
.hl-diagram { margin: 18px 0 6px; display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 6px; }
.hl-box { padding: 10px; background: var(--hi); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); text-align: center; }
.hl-box b { display: block; font: 13px var(--ui); font-weight: normal; }
.hl-box span { display: block; font-size: 11px; color: #555; margin-top: 2px; }
.hl-box--main { background: var(--accent-soft); }
.hl-arrow { font: 18px var(--ui); }
.hl-console { grid-column: 3; padding: 6px 8px; border: 1px dashed var(--ink); font-size: 11px; text-align: center; background: var(--paper); }
.hl-console b { font: 12px var(--ui); font-weight: normal; display: block; }
.hl-steps { list-style: none; padding: 0; counter-reset: s; }
.hl-steps li { counter-increment: s; position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dotted #ccc; }
.hl-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 9px; font: 12px var(--ui); color: var(--accent); }
.hl-steps b { display: block; font: 13px var(--ui); font-weight: normal; }
.hl-steps span { font-size: 13px; color: #444; }
@media (max-width: 760px) {
  .hl-diagram { grid-template-columns: 1fr; }
  .hl-arrow { transform: rotate(90deg); justify-self: center; }
  .hl-console { grid-column: 1; }
}

/* clients */
/* 6, 4 or 3 across: keep the number of logos a multiple of 12 so every row is full */
.logos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(4, 1fr); } .logos li { height: 56px; padding: 8px; } }
@media (max-width: 420px) { .logos { grid-template-columns: repeat(3, 1fr); } }
.logos li { display: grid; place-items: center; height: 68px; padding: 12px 14px; background: var(--hi); border: 1px solid #ddd; }
.logos img { max-width: 100%; max-height: 44px; object-fit: contain; }
.logos li.logos__you { padding: 0; border: 1px dashed var(--lo); background: none; }
.logos__you a { display: grid; place-items: center; width: 100%; height: 100%; font: 12px var(--ui); color: var(--lo); text-decoration: none; text-align: center; }
.logos__you a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 20px; }
.sectors h4 { font: 12px var(--ui); margin: 10px 0 4px; font-weight: normal; }
.sectors ul { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.6; }

/* only one of these shows, depending on the view */
.only-plain { display: none !important; }

/* ---------- dock: Poolsuite-style strip of cells, centred on the bottom edge ---------- */
.dock {
  position: fixed; left: 50%; bottom: 0; z-index: 900; transform: translateX(-50%);
  display: flex; background: var(--platinum-2);
  border: 1px solid var(--ink); border-bottom: 0;
  box-shadow: 0 -2px 0 rgba(0,0,0,.08);
}
.dock__item {
  width: 86px; height: var(--shelf-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; color: var(--ink); font: 11px/1.1 var(--ui); text-align: center;
}
.dock__item + .dock__item { border-left: 1px solid var(--ink); }
.dock__item img { width: 32px; height: 32px; image-rendering: pixelated; transition: transform .12s; }
.dock__item:hover { background: var(--hi); }
.dock__item:hover img { transform: translateY(-3px); }
.dock__item:active { background: var(--ink); color: var(--hi); }
.dock__item--cta { width: 96px; background: var(--ink); color: var(--hi); }
.dock__item--cta:hover { background: var(--accent); }

/* ---------- small screens: the desktop becomes a scrolling stack ---------- */
@media (max-width: 760px) {
  body { overflow: auto; }
  .menubar__right, .menu--desk { display: none; }
  .menu--more { display: block; }
  .menubar { overflow: visible; }
  .menu__drop { position: fixed; left: 8px; right: 8px; top: var(--menubar-h); min-width: 0; }
  .menu__drop > button, .menu__drop > a { line-height: 34px; }
  .cookies { left: 8px; right: 8px; width: auto; bottom: calc(var(--shelf-h) + 8px); }
  .desktop { position: static; padding: calc(var(--menubar-h) + 16px) 16px 16px; display: flex; flex-direction: column; gap: 20px; }
  .win { position: static; width: 100%; max-height: none; }
  .win__bar, .win:not(.is-front) .win__bar { cursor: default; background: repeating-linear-gradient(var(--platinum) 0 2px, var(--lo) 2px 3px) 0 4px / 100% 13px no-repeat; }
  .win:not(.is-front) .win__title { color: var(--ink); }
  .win:not(.is-front) .win__close { visibility: visible; }
  #player:not(.is-opened) { display: none; } /* phones: only when opened from its icon */
  .icons { position: static; order: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 4px; }
  .icon { width: auto; }
  /* a small paperclip in the corner above the dock; its bubble opens beside it */
  .clip { position: fixed; left: 6px; bottom: calc(var(--shelf-h) + 6px); }
  .clip__guy { width: 34px; height: 58px; }
  .clip__bubble { width: calc(100vw - 70px); max-width: 300px; margin-bottom: 26px; }
  .desktop { padding-bottom: calc(var(--shelf-h) + 72px); } /* room to scroll past the corner paperclip */
  .dock { left: 0; right: 0; transform: none; border-left: 0; border-right: 0; }
  .dock__item { flex: 1; width: auto; min-width: 0; font-size: 9px; padding: 0 2px; }
  .dock__item--cta { width: auto; }
  .form fieldset { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
}

/* ==========================================================
   the normal version: same HTML, 37signals-style plain page
   ========================================================== */
.plain .only-plain { display: block !important; }
.plain .plainbar.only-plain { display: grid !important; }
.plain .only-desk, .plain .menubar, .plain .icons, .plain #player, .plain .boot, .plain .dock, .plain .clip, .plain .win__bar { display: none !important; }
.plain body {
  overflow: auto; background: #fbfaf6; color: #111;
  font: 17px/1.6 var(--text);
}
.plain body::before { content: none; }
.plain .desktop { position: static; padding: 0 clamp(16px, 4vw, 40px); }
.plain .win { position: static; width: auto; max-width: 820px; max-height: none; margin: 0 auto; background: none; border: 0; box-shadow: none; }
.plain .win__body { margin: 0; padding: clamp(40px, 7vw, 88px) 0 0; background: none; border: 0; overflow: visible; }
.plain .win__body > * + * { margin-top: 18px; }
.plain .win__body .hello { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plain .win__body h1, .plain .win__body .hello { font: clamp(34px, 5.4vw, 58px)/1.05 var(--ui); letter-spacing: -.035em; }
.plain .win__body h3 { font: 14px var(--ui); color: #6b6b6b; margin-top: 48px; padding-bottom: 8px; border-bottom: 1px solid #111; }
.plain .lede { font-size: clamp(19px, 2.2vw, 22px); color: #333; max-width: 40ch; }
.plain .kicker { font-size: 14px; }
.plain .btns { margin-top: 32px !important; }
.plain .btn {
  border-radius: 0; padding: 12px 20px; font-size: 14px; background: #fff; box-shadow: none;
}
.plain .btn--default { outline: 0; background: #111; color: #fbfaf6; box-shadow: 4px 4px 0 var(--accent); }

.plain .index { list-style: none; padding: 0; margin-top: 40px !important; border-top: 1px solid #111; }
.plain .index a { display: grid; grid-template-columns: 3.4rem 1fr; gap: 2px 12px; padding: 20px 0; border-bottom: 1px solid #e2dfd6; text-decoration: none; }
.plain .index .n { font: 14px var(--ui); color: #6b6b6b; padding-top: 8px; }
.plain .index .t { font: clamp(21px, 2.8vw, 28px)/1.2 var(--ui); letter-spacing: -.025em; }
.plain .index .t small { font: inherit; color: #6b6b6b; }
.plain .index .d { grid-column: 2; color: #6b6b6b; font-size: 16px; }
.plain .index a:hover .t { text-decoration: underline; text-underline-offset: 6px; }

.plain .list li { padding: 8px 0 8px 22px; border-bottom: 1px solid #eee; }
.plain .list li::before { top: 13px; }
.plain .proof li, .plain .people li, .plain .faq details { padding: 12px 0; border-bottom: 1px solid #e2dfd6; }
.plain .faq summary { font: 17px var(--ui); letter-spacing: -.01em; font-weight: normal; }
.plain .finder td, .plain .finder th { padding: 10px 6px; }
.plain .stat, .plain .quote, .plain .arms a { box-shadow: none; }
.plain .principles { padding-left: 0; list-style: none; counter-reset: p; }
.plain .principles li { counter-increment: p; position: relative; padding: 16px 0 16px 3rem; border-bottom: 1px solid #e2dfd6; }
.plain .principles li::before { content: counter(p, decimal-leading-zero) "."; position: absolute; left: 0; top: 18px; font: 14px var(--ui); color: #6b6b6b; }
.plain .form fieldset { padding: 14px 16px; }
.plain .field input, .plain .field select, .plain .field textarea { padding: 10px; font-size: 16px; box-shadow: none; }
.plain .logos li { border-color: #e2dfd6; }

/* logo left, nav centred, computer button right; no rule underneath */
.plainbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 64px; padding: 0 clamp(16px, 4vw, 40px); }
.plainbar__computer { justify-self: end; }
.plainbar__logo { display: flex; color: #111; }
.plainbar__logo .logo svg { height: 22px; }
.plainbar nav { display: flex; gap: 22px; justify-content: center; font: 14px var(--ui); }
.plainbar nav a { text-decoration: none; }
.plainbar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.plainbar__computer { display: inline-flex; align-items: center; gap: 6px; font: 12px var(--ui); padding: 4px 10px; border: 1px solid #111; border-radius: 4px; }
.plainbar__computer img { width: 16px; height: 16px; image-rendering: pixelated; }
.plainbar__computer:hover { background: #111; color: #fbfaf6; }

.plainfoot { margin-top: clamp(72px, 11vw, 128px); padding: 40px clamp(16px, 4vw, 40px) 32px; border-top: 1px solid #111; }
.plainfoot__arms { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; max-width: 1080px; margin: 0 auto; }
.plainfoot__arms a { display: grid; padding: 16px 18px; border: 1px solid #111; background: #fff; text-decoration: none; font-size: 14px; color: #6b6b6b; }
.plainfoot__arms b { font: 16px var(--ui); color: #111; font-weight: normal; }
.plainfoot__arms a:hover { box-shadow: 4px 4px 0 var(--accent); }
.plainfoot__arms .plainfoot__cta { background: #111; color: #ccc; }
.plainfoot__arms .plainfoot__cta b { color: #fff; }
.plainfoot__small { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 1080px; margin: 24px auto 0; font-size: 14px; color: #6b6b6b; }
.plainfoot__small a { text-decoration: none; }
.plainfoot__small a:hover { color: #111; }

@media (max-width: 820px) {
  .plainbar { grid-template-columns: 1fr auto; }
  .plainbar nav { display: none; }
  .plainfoot__arms { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .player__marquee span { animation: none; padding-left: 0; }
  .boot__log li, .boot__bar span { animation-duration: .01s; animation-delay: 0s; }
}
