@font-face { font-family: "PP Mori"; src: url("./assets/fonts/PPMori-Book.woff2") format("woff2"); font-weight: 350; font-display: swap; }
@font-face { font-family: "PP Mori"; src: url("./assets/fonts/PPMori-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PP Mori"; src: url("./assets/fonts/PPMori-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
body { font-family: "PP Mori", Arial, Helvetica, sans-serif; font-weight: 350; }
h1 { font-weight: 400; font-size: clamp(40px, 4.8vw, 78px); letter-spacing: -.03em; line-height: 1.02; }
.label { font-weight: 400; letter-spacing: .1em; }
.studio-note { font-size: 21px; line-height: 1.45; max-width: 720px; margin-top: 28px; }
@media (max-width: 700px) { .studio-note { font-size: 17px; } }
.cta { font-weight: 600; font-size: 15px; }
:root { --accent: hsl(11 100% 60%); --ink: #0f0f0f; --edge-rest: 6px; }
.cta { background: var(--accent); }
.masthead, footer { display: none; }
.page { padding-bottom: 40px; }
.page main { padding-top: 0; justify-content: flex-start; }
.page .art { margin-top: auto; }
@property --cycle { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes hue-cycle { to { --cycle: 360; } }
.wordmark { aspect-ratio: 669 / 109.2; background: var(--accent); mask: url("./assets/hueset-wordmark.svg") center / 100% 100% no-repeat; -webkit-mask: url("./assets/hueset-wordmark.svg") center / 100% 100% no-repeat; filter: none; mix-blend-mode: normal; transition: background-color 90ms linear; }
.wordmark img { display: none; }
.hue-picked .wordmark { background: var(--accent); animation: none; }
.hue-edge { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; height: var(--edge-rest); background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); transition: height 180ms cubic-bezier(.22, 1, .36, 1); }
.hue-edge input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; opacity: 0; cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%22-14%20-14%20284%20284%22%3E%3Cpath%20d%3D%22M224%2C67.3a35.79%2C35.79%2C0%2C0%2C0-11.26-25.66c-14-13.28-36.72-12.78-50.62%2C1.13L142.8%2C62.2a24%2C24%2C0%2C0%2C0-33.14.77l-9%2C9a16%2C16%2C0%2C0%2C0%2C0%2C22.64l2%2C2.06-51%2C51a39.75%2C39.75%2C0%2C0%2C0-10.53%2C38l-8%2C18.41A13.68%2C13.68%2C0%2C0%2C0%2C36%2C219.3a15.92%2C15.92%2C0%2C0%2C0%2C17.71%2C3.35L71.23%2C215a39.89%2C39.89%2C0%2C0%2C0%2C37.06-10.75l51-51%2C2.06%2C2.06a16%2C16%2C0%2C0%2C0%2C22.62%2C0l9-9a24%2C24%2C0%2C0%2C0%2C.74-33.18l19.75-19.87A35.75%2C35.75%2C0%2C0%2C0%2C224%2C67.3Z%22%20fill%3D%22%23171815%22%20stroke%3D%22%23fff%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22round%22%20paint-order%3D%22stroke%22%2F%3E%3Cpath%20d%3D%22M138%2C152H66l48-44%2C34%2C34Z%22%20fill%3D%22hsl%28280%2C100%25%2C75%25%29%22%2F%3E%3C%2Fsvg%3E") 5 26, crosshair; }
.hue-edge:focus-within { height: 9px; outline: 2px solid var(--paper); outline-offset: -2px; }
/* No growth on approach; hover takes the border to 150% of its resting 6px. */
@media (hover: hover) and (pointer: fine) { .hue-edge:hover { height: 9px; } }
@media (max-width: 700px) { .page { padding-bottom: 36px; } }
@media (pointer: coarse) { .hue-edge { height: 12px; } .hue-edge input { inset: auto 0 0; height: 44px; } .hue-edge:focus-within { height: 12px; } }
@media (prefers-reduced-motion: reduce) { .hue-edge, .wordmark { transition: none; } .wordmark { background: var(--accent); animation: none; } }

.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; }
.art canvas.ready { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .art canvas { cursor: pointer; } }
body, .page { background: var(--ink); } /* hue-border.js eases it, no CSS transition */
.glass-on .wordmark { opacity: 0; }
h1 .line { display: inline-block; }
.pending .works, .pending .intro, .pending .art, .reveal .works, .reveal .intro { animation: none; opacity: 1; }
.pending .works-set > *, .pending .eyebrow, .pending h1 .line, .pending .studio-note, .pending .cta, .pending .hue-edge { opacity: 0; }
.pending .art { border-color: transparent; }
.reveal .art { animation: intro-border 600ms ease both; }
.reveal .works-set > * { animation: intro-rise 700ms cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.reveal .eyebrow, .reveal h1 .line, .reveal .studio-note, .reveal .cta { animation: intro-rise 700ms cubic-bezier(.22, 1, .36, 1) both; }
.reveal .eyebrow { animation-delay: 200ms; }
.reveal h1 .line { animation-delay: 350ms; }
.reveal h1 .line.dim { animation-delay: 500ms; }
.reveal .studio-note { animation-delay: 650ms; }
.reveal .cta { animation-delay: 800ms; }
.reveal .hue-edge { animation: intro-fade 800ms 900ms ease both; }
@keyframes intro-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-border { from { border-color: transparent; } }
.pending .wordmark { opacity: 0; }
/* The flat wordmark stays hidden while the glass logo loads; it only shows if that fails. */
.reveal:not(.glass-on) .wordmark { opacity: 0; }
.glass-failed:not(.glass-on) .wordmark { opacity: 1; animation: intro-fade 600ms ease both; }
.intro { grid-template-columns: 1.5fr 1fr; align-items: end; align-content: end; flex: 1; }
h1 { max-width: none; }
/* Hover: the button fills with ink from the bottom, the text takes the accent, and the
   arrow leaves to the right and comes back in from the left. */
.cta { position: relative; isolation: isolate; overflow: hidden; transition: color 260ms ease; }
.cta::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ink); transform: translateY(102%); transition: transform 340ms cubic-bezier(.65, 0, .35, 1); }
.cta:hover { color: var(--accent); transform: none; }
.cta:hover::before { transform: translateY(0); }
.cta:hover svg { animation: cta-arrow 480ms cubic-bezier(.65, 0, .35, 1); }
@keyframes cta-arrow { 0% { transform: translateX(0); } 45% { transform: translateX(220%); opacity: 0; } 50% { transform: translateX(-220%); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cta::before { transition: none; } .cta:hover svg { animation: none; } }
.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--accent); opacity: 0; transition: opacity 260ms ease; pointer-events: none; }
.cta:hover::after { opacity: 1; }
.works { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.works.dragging { cursor: grabbing; }
/* Filmstrip lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9; display: flex; flex-direction: column; gap: 18px; padding: 32px 40px 28px; background: color-mix(in srgb, var(--ink) 70%, transparent); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); opacity: 0; transition: opacity 260ms ease; }
.lightbox[hidden] { display: none; }
.lightbox.shown { opacity: 1; }
.lightbox:focus { outline: none; }
h1 .line { display: inline; }
.lightbox-open { overflow: hidden; }
.lb-top { display: flex; justify-content: space-between; align-items: center; flex: none; }
.lb-caption { display: flex; align-items: baseline; gap: 14px; }
.lb-title { font-size: 16px; font-weight: 500; color: var(--paper); }
.lb-meta { font-size: 14px; color: var(--muted); }
.lb-close { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.lb-close svg { width: 12px; height: 12px; color: var(--paper); }
.lb-close:hover { color: var(--paper); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #0f0f0a; }
.lb-strip { flex: none; height: 76px; margin: 0 -40px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb-strip.dragging { cursor: grabbing; }
.lb-track { display: flex; width: max-content; }
.lb-set { display: flex; flex: none; gap: 8px; padding-right: 8px; }
.lb-thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .45; transition: opacity 180ms ease; outline-offset: -2px; }
.lb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .8; }
.lb-thumb.active { opacity: 1; outline: 2px solid var(--accent); }
.lb-thumb:focus-visible { outline: 2px solid var(--paper); }
.lightbox-open .hue-edge { opacity: 0; pointer-events: none; }
.hue-edge { transition: height 180ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease; }
@media (max-width: 700px) {
  .lightbox { padding: 20px 12px 20px; gap: 12px; }
  .lb-strip { height: 56px; margin: 0 -12px; }
  .lb-thumb { width: 56px; height: 56px; }
}
.reveal h1 .line:nth-child(3) { animation-delay: 450ms; }
.reveal h1 .line:nth-child(5) { animation-delay: 550ms; }
/* Riff 008: copy left, big call to action right */
.intro-copy { max-width: 680px; }
.intro-action { display: flex; justify-content: flex-end; }
.cta { margin-top: 0; padding: 20px 32px; font-size: 20px; gap: 14px; }
.cta svg { width: 18px; height: 18px; }
.reveal .intro-action .cta { animation-delay: 500ms; }
@media (max-width: 700px) {
  .intro { grid-template-columns: 1fr; align-items: start; }
  .intro-action { justify-content: flex-start; }
  .cta { padding: 20px 30px; font-size: 20px; }
}
h1 { font-size: clamp(40px, 4.8vw, 72px); }
.intro-copy { max-width: 630px; }
/* Fit the whole page in one screen: half the top padding, and type that shrinks
   with the viewport height as well as its width. */
.page { padding-top: 17px; }
h1 { font-size: clamp(32px, min(4.8vw, 6.6vh), 72px); }
.studio-note { font-size: clamp(15px, min(1.3vw, 2vh), 21px); margin-top: clamp(14px, 2.4vh, 28px); }
.intro-copy { max-width: 8.75em; font-size: clamp(32px, min(4.8vw, 6.6vh), 72px); }
.intro-copy .studio-note { max-width: 32em; }
.page { padding-bottom: clamp(20px, 4vh, 40px); }
.works { margin-bottom: clamp(20px, 4.4vh, 40px); }
.works img, .works video { height: clamp(130px, 22vh, 300px); }
.intro { padding-bottom: clamp(20px, 4.4vh, 40px); }
.art { padding-block: clamp(12px, 3vh, 28px); }
h1, .intro-copy { font-size: clamp(32px, min(4.8vw, 6.2vh), 72px); }
@media (max-width: 700px) { .works img, .works video { height: clamp(130px, 19vh, 190px); } }
@media (min-width: 701px) and (max-height: 760px) { .works img, .works video { height: 19vh; } .art { padding-block: 10px; } }
/* Ghost button next to Book a call: copies the email */
.intro-action { gap: 12px; align-items: center; flex-wrap: wrap; }
.cta-ghost { display: inline-flex; align-items: center; gap: 12px; padding: 20px 28px; border: 1.5px solid color-mix(in srgb, var(--paper) 35%, transparent); border-radius: 999px; background: transparent; color: var(--paper); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: border-color 200ms ease, color 200ms ease; }
.cta-ghost svg { width: 18px; height: 18px; flex: none; }
.cta-ghost:hover { border-color: var(--cta); color: var(--cta); } /* same colour as Book a call (16 Nov) */
.cta-ghost.copied { border-color: var(--cta); color: var(--cta); }
.cta-ghost:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.reveal .intro-action .cta-ghost { animation: intro-rise 700ms 450ms cubic-bezier(.22, 1, .36, 1) both; }
.pending .cta-ghost { opacity: 0; }
@media (max-width: 700px) { .cta-ghost { padding: 18px 24px; font-size: 17px; } }
.intro { grid-template-columns: 1fr auto; column-gap: 40px; }
.intro-action { flex-wrap: nowrap; }
.cta-ghost { padding: 18.5px 28px; }
@media (max-width: 700px) { .intro { grid-template-columns: 1fr; } .intro-action { flex-wrap: wrap; } .cta-ghost { padding: 16.5px 24px; } }
@media (max-width: 700px) { .cta-ghost { min-height: 60px; } }
/* Ghost button hover: a yellow border draws itself around the pill */
.cta-ghost { position: relative; }
.cta-ghost:hover, .cta-ghost.copied { border-color: color-mix(in srgb, var(--paper) 35%, transparent); }
.cta-ghost-draw { position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); overflow: visible; pointer-events: none; }
.cta-ghost-draw rect { fill: none; stroke: var(--cta); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 650ms cubic-bezier(.65, 0, .35, 1); }
.cta-ghost:hover .cta-ghost-draw rect, .cta-ghost.copied .cta-ghost-draw rect, .cta-ghost:focus-visible .cta-ghost-draw rect { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .cta-ghost-draw rect { transition: none; } }
/* Copy and buttons sit closer together instead of at opposite edges */
.intro { grid-template-columns: max-content max-content; justify-content: start; column-gap: clamp(48px, 7vw, 140px); }
.intro-copy { width: 8.75em; }
@media (max-width: 700px) { .intro { grid-template-columns: 1fr; } .intro-copy { width: auto; } }
.intro { justify-content: center; }
@media (max-width: 700px) { .intro { justify-content: stretch; } }
/* Riff 008 fixes: group centered between the strip and the logo line; ghost button
   keeps its width when the label changes; border drawn by real perimeter. */
.works { margin-bottom: 0; }
.intro { align-content: center; padding-bottom: 0; }
.cta-ghost-label { display: grid; }
.cta-ghost-label > span { grid-area: 1 / 1; text-align: center; transition: opacity 160ms ease; }
.cta-ghost-done { opacity: 0; }
.cta-ghost.copied .cta-ghost-email { opacity: 0; }
.cta-ghost.copied .cta-ghost-done { opacity: 1; }
.cta-ghost-draw { inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); display: block; }
.cta-ghost-draw rect { stroke-dasharray: var(--perimeter, 400) var(--perimeter, 400); stroke-dashoffset: var(--perimeter, 400); }
.cta-ghost:hover .cta-ghost-draw rect, .cta-ghost.copied .cta-ghost-draw rect, .cta-ghost:focus-visible .cta-ghost-draw rect { stroke-dashoffset: 0; }
.cta-ghost .cta-ghost-draw { width: calc(100% + 3px); height: calc(100% + 3px); }
.works img, .works video { height: clamp(130px, 26vh, 300px); }
@media (min-width: 701px) and (max-height: 760px) { .works img, .works video { height: 26vh; } }
/* Headline rises in line by line (lines are built by the script in index.html) */
.hl-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hl-inner { display: block; }
.pending .hl-inner { transform: translateY(110%); }
.reveal h1 .hl-inner { animation: hl-rise 900ms cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(300ms + var(--line, 0) * 130ms); }
.reveal h1.hl-done .hl-inner { animation: none; }
@keyframes hl-rise { from { transform: translateY(110%); } }
/* Phones: regular-size buttons, side by side when they fit */
@media (max-width: 700px) {
  .intro-action { gap: 8px; flex-wrap: wrap; }
  .cta { padding: 14px 20px; font-size: 15px; gap: 8px; min-height: 48px; }
  .cta svg { width: 14px; height: 14px; }
  .cta-ghost { padding: 0 18px; font-size: 15px; gap: 8px; min-height: 48px; }
  .cta-ghost > svg:not(.cta-ghost-draw) { width: 14px; height: 14px; }
}
/* Phones: content first, then the works strip, then the logo */
@media (max-width: 700px) {
  .page main { display: flex; flex-direction: column; }
  .intro { order: 0; flex: none; padding: clamp(16px, 3vh, 32px) 0 clamp(24px, 4vh, 40px); }
  .works { order: 1; margin-bottom: clamp(20px, 3vh, 32px); }
  .art { order: 2; }
}
@media (max-width: 700px) {
  .intro { padding-top: clamp(20px, 5vh, 48px); }
  .works img, .works video { height: clamp(150px, 30vh, 300px); }
}
@media (max-width: 700px) {
  .works img, .works video { height: clamp(130px, 28vh, 300px); }
}
@media (max-width: 700px) and (max-height: 700px) {
  .works img, .works video { height: 23vh; }
  .intro { padding-top: 12px; }
}
/* Phones: Book a call first, then the email */
@media (max-width: 700px) { .intro-action .cta { order: -1; } }
/* One Hueset H mark pinned to the gallery's top-right corner, soft light over the works */
.works { position: relative; }
.works-mark { position: absolute; z-index: 1; top: 20px; right: 20px; height: 14%; aspect-ratio: 252 / 200; width: auto; fill: #000; mix-blend-mode: soft-light; pointer-events: none; }
@media (max-width: 700px) { .works-mark { top: 14px; right: 14px; } }
.works-mark { fill: #fff; mix-blend-mode: difference; }
.works-mark { left: 20px; right: auto; }
@media (max-width: 700px) { .works-mark { left: 14px; right: auto; } }
.works-mark { height: 10%; }
/* The corner logo is a link home */
.works-mark { display: block; pointer-events: auto; cursor: pointer; }
.works-mark svg { display: block; width: 100%; height: 100%; fill: #fff; }
.works-mark:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
/* Phones: no logo over the gallery */
@media (max-width: 700px) { .works-mark { display: none; } }
/* Lightbox close: just the X in a white-bordered circle */
.lb-close { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1.5px solid #fff; border-radius: 50%; color: #fff; transition: background-color 180ms ease, color 180ms ease; }
.lb-close svg { width: 14px; height: 14px; color: currentColor; }
.lb-close:hover { background: #fff; color: var(--ink); }
.lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Lightbox close: same border and border-drawing hover as the email ghost button */
.lb-close { position: relative; border: 1.5px solid color-mix(in srgb, var(--paper) 35%, transparent); color: var(--paper); transition: color 200ms ease; }
.lb-close:hover { background: none; color: var(--accent); }
.lb-close > svg:not(.lb-close-draw) { width: 14px; height: 14px; }
.lb-close .lb-close-draw { position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.lb-close-draw circle { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 133.6 133.6; stroke-dashoffset: 133.6; transition: stroke-dashoffset 650ms cubic-bezier(.65, 0, .35, 1); }
.lb-close:hover .lb-close-draw circle, .lb-close:focus-visible .lb-close-draw circle { stroke-dashoffset: 0; }
.lb-close:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .lb-close-draw circle { transition: none; } }
/* Close: the drawn circle is white and the X stays white */
.lb-close, .lb-close:hover { color: #fff; }
.lb-close-draw circle { stroke: #fff; }
/* Works: a pointer by default (each work opens), the grab cursor only while dragging */
.works { cursor: pointer; }
.works.dragging, .works.dragging * { cursor: grabbing; }
/* Lightbox: every work fills the stage as far as its shape allows, so the 720px videos
   are as tall as the images. */
.lb-stage { container-type: size; }
.lb-stage img, .lb-stage video { width: min(100cqw, 100cqh * var(--ratio, 1)); height: auto; aspect-ratio: var(--ratio); }
/* Lightbox thumbnails are 16:10 cards with the same 47px above and below the strip;
   the work keeps its size. On phones the work stays centered between the top of the
   screen and the thumbnails. */
.lightbox { padding-bottom: 47px; }
.lb-strip { height: 104px; }
.lb-thumb { width: 166px; height: 104px; }
/* The work's row runs edge to edge and keeps 88px at each side free for the arrows. */
.lb-main { position: relative; flex: 1; min-height: 0; margin: 0 -40px 29px; container-type: size; }
.lb-main .lb-stage { position: absolute; inset: 0 88px; }
/* Lightbox arrows: the close button's look, a little bigger. Beside the work, the arrow
   for that side appears under the mouse and follows it in place of the cursor
   (lightbox.js sets left and top), the other one hides, and the ring draws itself as
   it appears. A click anywhere beside the work moves that way. For keyboard focus an
   arrow rests in the middle of the space between the screen edge and the work, which
   is min(row width - 176px, row height × ratio) wide and centered. */
.lb-nav { position: absolute; z-index: 1; top: 50%; translate: -50% -50%; --mid: calc((100cqw - min(100cqw - 176px, 100cqh * var(--ratio, 1))) / 4); opacity: 0; scale: .6; pointer-events: none; transition: opacity 180ms ease, scale 260ms cubic-bezier(.22, 1, .36, 1); }
.lb-prev { left: var(--mid); }
.lb-next { left: calc(100cqw - var(--mid)); }
.lb-main.nav-prev .lb-prev, .lb-main.nav-next .lb-next, .lb-nav:focus-visible { opacity: 1; scale: 1; }
.lb-main.nav-prev, .lb-main.nav-next { cursor: none; }
.lb-nav { width: 56px; height: 56px; padding: 0; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--paper) 35%, transparent); border-radius: 50%; background: none; color: #fff; }
.lb-nav > svg:not(.lb-nav-draw) { width: 18px; height: 18px; }
.lb-nav-draw { position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.lb-nav-draw circle { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: stroke-dashoffset 650ms cubic-bezier(.65, 0, .35, 1); }
.lb-main.nav-prev .lb-prev .lb-nav-draw circle, .lb-main.nav-next .lb-next .lb-nav-draw circle, .lb-nav:focus-visible .lb-nav-draw circle { stroke-dashoffset: 0; }
.lb-nav:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .lb-nav-draw circle { transition: none; } }
/* Phones: no arrows (the thumbnails move between works), the work keeps the full width */
@media (max-width: 700px) {
  .lightbox { padding-bottom: 20px; }
  .lb-main { margin: 0 -12px 64px; }
  .lb-main .lb-stage { inset: 0 12px; }
  .lb-nav { display: none; }
  .lb-strip { height: 56px; }
  .lb-thumb { width: 90px; height: 56px; }
}
/* Riff 009: case studies. A click on a work opens it as a short case study in a sheet
   that scrolls: one centered column for the words, a wider one for the images. */
.lightbox.case { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 clamp(48px, 10vh, 120px); gap: 0; background: color-mix(in srgb, var(--ink) 94%, transparent); --text: 620px; --wide: 1120px; }
.lightbox.case[hidden] { display: none; }
.case.cs-swap .cs { opacity: 0; transform: translateY(8px); }
.case .cs { transition: opacity 220ms ease, transform 220ms ease; }
.case .lb-top { position: sticky; top: 0; z-index: 2; padding: 20px 40px; background: linear-gradient(var(--ink) 40%, transparent); }
.case .lb-caption { gap: 8px; font-size: 14px; }
.case .lb-meta, .case .cs-crumb { color: var(--muted); }
.case .lb-title { font-size: 14px; font-weight: 400; }
.case .lb-close { color: var(--muted); }
.cs { padding: 0 40px; }
.cs-head { max-width: var(--text); margin: clamp(8px, 4vh, 48px) auto 0; text-align: center; }
.cs-title { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; font-weight: 400; letter-spacing: -.045em; }
.cs-lede { margin: 16px auto 0; max-width: 30em; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.cs-hero { margin: clamp(24px, 4vh, 40px) auto 0; width: min(100%, var(--wide), calc(64svh * var(--ratio))); aspect-ratio: var(--ratio); }
.cs-hero img, .cs-hero video { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; background: #0f0f0a; }
.cs-body { max-width: var(--wide); margin: 0 auto; }
.cs-facts { max-width: var(--text); margin: clamp(32px, 6vh, 56px) auto 0; padding: 18px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-facts div { min-width: 0; }
.cs-facts dt { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cs-facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.4; }
.cs-text { max-width: var(--text); margin: 0 auto; }
.cs-text section { margin-top: clamp(32px, 6vh, 56px); }
.cs-text h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cs-text p { margin: 0 0 12px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); font-size: 16px; line-height: 1.6; }
.cs-gallery { margin-top: clamp(48px, 9vh, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-shot { margin: 0; aspect-ratio: var(--ratio); background: #0f0f0a; overflow: hidden; }
.cs-shot.wide { grid-column: 1 / -1; }
.cs-shot.half { aspect-ratio: 1; }
.cs-shot img, .cs-shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-next { margin: clamp(56px, 10vh, 112px) auto 0; max-width: var(--text); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: end; padding-top: 18px; border-top: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.cs-next-label { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cs-next-title { grid-row: 2; margin-top: 8px; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.04em; transition: color 200ms ease; }
.cs-next-thumb { grid-column: 2; grid-row: 1 / 3; width: 120px; aspect-ratio: 4 / 3; overflow: hidden; background: #0f0f0a; }
.cs-next-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.cs-next:hover .cs-next-title { color: var(--accent); }
.cs-next:hover .cs-next-thumb img { transform: scale(1.06); }
.cs-next:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
.cs-cta { max-width: var(--text); margin: clamp(48px, 8vh, 80px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cs-cta p { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.cs-cta .cta { padding: 16px 24px; font-size: 16px; }
@media (max-width: 700px) {
  .case .lb-top { padding: 14px 12px; }
  .cs { padding: 0 12px; }
  .cs-hero { width: min(100%, calc(56svh * var(--ratio))); }
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-facts div:last-child { grid-column: 1 / -1; }
  .cs-gallery { gap: 8px; grid-template-columns: 1fr; }
  .cs-shot.half { aspect-ratio: var(--ratio); }
  .cs-next-thumb { width: 88px; }
}
body.light .cs-hero img, body.light .cs-hero video, body.light .cs-shot, body.light .cs-next-thumb { background: #dcdcd2; }
/* Riff 009 feedback: About sits in the strip's top-right corner, opposite the H, in
   the same white with a difference blend so it reads over any work. */
.works { position: relative; }
.works-about { position: absolute; z-index: 1; top: 20px; right: 20px; padding: 4px 0; border: 0; background: none; color: #fff; mix-blend-mode: difference; font: inherit; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: -.01em; cursor: pointer; }
.works-about::after { content: ""; display: block; height: 1.5px; margin-top: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms cubic-bezier(.65, 0, .35, 1); }
.works-about:hover::after { transform: scaleX(1); transform-origin: left; }
.works-about:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 700px) { .works-about { top: 14px; right: 14px; font-size: 15px; } }
.pending .works-about { opacity: 0; }
.reveal .works-about { animation: intro-rise 700ms 300ms cubic-bezier(.22, 1, .36, 1) both; }
/* Without its icons the buttons only carry their labels. */
.cta-ghost { gap: 0; }
.about .cs-text section:first-child { margin-top: clamp(28px, 5vh, 48px); }
.about .cs-text p { font-size: 18px; }
.about .cs-facts dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lightbox .cta { animation: none !important; opacity: 1 !important; }
/* About lines up with the H: same top and height as the mark, label centered in it. */
.works-about { top: 20px; height: 10%; padding: 0; display: flex; align-items: center; line-height: 1; }
.works-about::after { position: absolute; left: 0; right: 0; top: calc(50% + .7em); margin: 0; }
@media (max-width: 700px) { .works-about { top: 14px; } }
/* Real case studies: gallery shots keep their own shape, and sections can hold lists. */
.cs-shot.half { aspect-ratio: var(--ratio); align-self: start; }
.cs-gallery[hidden] { display: none; }
.cs-text ul { margin: 4px 0 14px; padding: 0; list-style: none; }
.cs-text li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); color: color-mix(in srgb, var(--paper) 72%, var(--ink)); font-size: 16px; line-height: 1.5; }
.cs-text li:last-child { border-bottom: 1px solid var(--line); }
.cs-text li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* About: client logos in a grid; a logo with a note swaps to it on hover, tap or focus. */
.ab-clients { max-width: var(--wide); margin: clamp(40px, 7vh, 72px) auto 0; }
.ab-clients h3 { max-width: var(--text); margin: 0 auto 16px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.ab-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ab-logos li { position: relative; display: grid; place-items: center; min-height: 128px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--paper) 3%, transparent); overflow: hidden; transition: border-color 250ms ease, background-color 250ms ease; }
.ab-logos img { display: block; height: 22px; width: auto; max-width: 70%; object-fit: contain; opacity: .82; transition: opacity 300ms ease, transform 450ms cubic-bezier(.22, 1, .36, 1); }
.ab-logos p { position: absolute; inset: 0; display: flex; align-items: center; margin: 0; padding: 16px 18px; color: var(--paper); font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity 300ms ease, transform 450ms cubic-bezier(.22, 1, .36, 1); }
.ab-logos li.has-note { cursor: default; }
.ab-logos li.has-note:hover, .ab-logos li.has-note:focus { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, transparent); outline: none; }
.ab-logos li.has-note:hover img, .ab-logos li.has-note:focus img { opacity: 0; transform: translateY(-14px) scale(.96); }
.ab-logos li.has-note:hover p, .ab-logos li.has-note:focus p { opacity: 1; transform: none; }
.ab-logos li:not(.has-note):hover img { opacity: 1; }
.ab-more span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .ab-logos { grid-template-columns: repeat(2, 1fr); } .ab-logos li { min-height: 120px; } .ab-logos p { font-size: 12.5px; padding: 12px 14px; } }
body.light .ab-logos img { filter: invert(1); }
/* Standard, larger thumbnails: every shot in the strip is the same 4:3 size. */
/* Strip thumbnails at the live page's (008) height; images keep the standard 4:3, the
   Teramind video keeps its own 16:9 (its width comes from its own ratio). */
.works img { aspect-ratio: 4 / 3; width: auto; object-fit: cover; }
.works video { aspect-ratio: auto; width: auto; object-fit: cover; }
@media (min-width: 701px) and (max-height: 760px) { .works img, .works video { height: 27vh; } }
/* The hero keeps the thumbnail's 4:3 shape, so the shot that flies in lands whole. */
.cs-hero.from-top img { object-position: top; }
/* Quotes in a case study. */
.cs-text blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); }
.cs-text blockquote p { color: var(--paper); font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.cs-text blockquote cite { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; font-style: normal; }
/* A whole web page in the gallery: a window that glides down the page and back. */
.cs-shot.page img { height: auto; object-fit: initial; animation: page-glide 22s ease-in-out infinite alternate; }
@keyframes page-glide { from { transform: translateY(0); } to { transform: translateY(calc(-1 * var(--travel))); } }
.cs-shot.page:hover img { animation-play-state: paused; }
/* The strip's speed effect while the case study scrolls: images lean and stretch. */
.cs { --v: 0; }
.cs-shot, .cs-hero { transform: skewY(calc(var(--v) * -2.4deg)) scaleY(calc(1 + max(var(--v), -1 * var(--v)) * 0.05)); transform-origin: center; will-change: transform; }
.cs-shot img, .cs-shot video { scale: calc(1 + max(var(--v), -1 * var(--v)) * 0.06); }
.cs-shot.page img { scale: 1; }
@media (prefers-reduced-motion: reduce) { .cs-shot.page img { animation: none; } .cs-shot, .cs-hero { transform: none; } }
.art canvas.fluid-logo { cursor: default; }

/* Round 4 (16 Nov): case studies lay out like designme.agency. The text stays in its narrow
   column; every image runs the full width of the sheet with a small gutter, square, in its
   own shape, one after each text section and the rest stacked after the text. */
.lightbox.case { --gutter: clamp(12px, 1.6vw, 40px); }
.lightbox.case .cs { padding-inline: 0; }
.lightbox.case .cs-head { padding-inline: var(--gutter); }
.cs-hero { width: calc(100% - 2 * var(--gutter)); max-width: none; aspect-ratio: auto; height: min(calc((100vw - 2 * var(--gutter)) / var(--ratio)), 86svh); }
.cs-body { max-width: none; padding-inline: var(--gutter); }
.cs-flow > .cs-shot, .cs-gallery > .cs-shot { margin: clamp(48px, 9vh, 104px) 0 0; }
.cs-gallery { display: block; margin-top: 0; }
.cs-gallery > .cs-shot + .cs-shot { margin-top: var(--gutter); }
.cs-shot { aspect-ratio: var(--ratio); }

/* About: the client logos sit in the text column, like the copy above them. */
.ab-clients { max-width: var(--text); }
.ab-logos { grid-template-columns: repeat(3, 1fr); }
.ab-logos li { min-height: 104px; padding: 14px 16px; }
.ab-logos img { height: 20px; max-width: 78%; }
.ab-logos p { font-size: 12.5px; padding: 12px 14px; }
@media (max-width: 900px) { .ab-logos { grid-template-columns: repeat(2, 1fr); } }

/* About: the H mark in the corner, as on the home page strip, instead of the word About. */
.about-mark { display: block; height: var(--mark, 40px); aspect-ratio: 252 / 200; }
.about-mark svg { display: block; width: 100%; height: 100%; fill: var(--paper); }
.about .lb-top { padding-left: 20px; }
@media (max-width: 700px) { .about .lb-top { padding-left: 12px; } .about-mark { height: var(--mark, 26px); } }

/* Case study images: about 35% narrower than the full sheet, centred. */
.cs-hero { width: calc((100% - 2 * var(--gutter)) * .65); height: min(calc((100vw - 2 * var(--gutter)) * .65 / var(--ratio)), 86svh); }
.cs-flow > .cs-shot, .cs-gallery > .cs-shot { width: 65%; margin-inline: auto; }
@media (max-width: 900px) { .cs-hero { width: calc(100% - 2 * var(--gutter)); height: min(calc((100vw - 2 * var(--gutter)) / var(--ratio)), 86svh); } .cs-flow > .cs-shot, .cs-gallery > .cs-shot { width: 100%; } }

/* 16 Nov, later: type weights and button widths are back to the live page's (008):
   Book body text, Regular headlines, and each button at its own width. (The heavier
   weights and the equal-width buttons were removed here.) */

/* Paper Shaders logo (?look=metal / heat): its holder covers the logo band like the canvases. */
.art .paper-logo { position: absolute; inset: 0; pointer-events: none; }
.art .paper-logo canvas { cursor: default; }

/* About: the H sits exactly where the strip's H is on the page (left/top from case.js). */
.about .lb-top { position: sticky; }
.about .about-mark { position: absolute; left: var(--mark-x, 20px); top: var(--mark-y, 20px); }

/* The default accent in Display P3 where supported (hue-border.js does the same for picks). */
@supports (color: color(display-p3 1 0 0)) { :root { --accent: color(display-p3 1 0.3467 0.2); } }

/* Light / dark switch: a sun (in dark, to go light) or moon (in light) next to About, in
   the strip's corner, white with a difference blend like About. */
.works-corner { position: absolute; z-index: 1; top: 20px; right: 20px; display: flex; align-items: center; gap: 16px; mix-blend-mode: difference; }
.works-corner .works-about { position: static; mix-blend-mode: normal; }
.theme-switch { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.theme-switch svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity 300ms ease, transform 500ms cubic-bezier(.22, 1, .36, 1); }
.theme-switch .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
body.light .theme-switch .icon-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
body.light .theme-switch .icon-moon { opacity: 1; transform: none; }
.theme-switch:hover { transform: rotate(20deg); }
.theme-switch:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 700px) { .works-corner { top: 14px; right: 14px; gap: 12px; } }

/* The light theme's page colour comes from hue-border.js (so the picker can tint it). */
body.light { --ink: inherit; }

/* The switch animation: the new theme grows as a circle from the switch. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-switching::view-transition-new(root) { animation: theme-reveal 360ms cubic-bezier(.3, 0, .2, 1); }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--switch-x, 100%) var(--switch-y, 0)); }
  to { clip-path: circle(150vmax at var(--switch-x, 100%) var(--switch-y, 0)); }
}

/* About: the page behind is blurred harder and shows through a little more. */
.lightbox.case.about { background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(60px) saturate(1.2); -webkit-backdrop-filter: blur(60px) saturate(1.2); }

/* About: Liquid Metal inside the H (mark-shader.js); the flat H shows until it is ready. */
.about-mark { position: absolute; }
.about-mark .mark-shader { position: absolute; inset: 0; }
.about-mark .mark-shader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-mark svg { transition: opacity 300ms ease; }
.about-mark.shaded svg { opacity: 0; }

/* No lines above and below the logo. */
.art, .reveal .art, .pending .art { border-block: 0; }

/* About: no fading gradient behind the H and the close button while scrolling. */
.about .lb-top { background: none; }

/* Phones: a top bar. The H sits top-left and the theme switch and About top-right, fixed
   to the screen (white with a difference blend, so they read on dark and light), instead
   of riding on the strip in the middle of the page. */
@media (max-width: 700px) {
  .page { padding-top: 54px; }
  .works-mark { display: block; position: fixed; z-index: 5; top: 14px; left: 14px; height: 26px; }
  .works-corner { position: fixed; z-index: 5; top: 12px; right: 14px; }
  .lightbox-open .works-mark, .lightbox-open .works-corner { visibility: hidden; }
}

/* Feedback round (16 Nov, Supercut "Website Design Feedback") */

/* Book a call stays the red-orange whatever hue is picked (the picker still tints the
   rest of the accents). */
:root { --cta: hsl(11 100% 60%); }
@supports (color: color(display-p3 1 0 0)) { :root { --cta: color(display-p3 1 0.3467 0.2); } }
.cta { background: var(--cta); }
.cta:hover { color: var(--cta); }
.cta::after { border-color: var(--cta); }

/* Case facts: Client, Services and Year on one line, Year at the right. */
.cs-facts { display: flex; justify-content: space-between; gap: 32px; }
.cs-facts div:nth-child(2) { flex: 1; }
.cs-facts div:last-child { text-align: right; }
.cs-facts dd { white-space: nowrap; }
@media (max-width: 700px) { .cs-facts { flex-wrap: wrap; gap: 16px 24px; } .cs-facts dd { white-space: normal; } }

/* Case images 20% smaller than before (65% -> 52% of the sheet), so more of the page fits. */
.cs-hero { width: calc((100% - 2 * var(--gutter)) * .52); height: min(calc((100vw - 2 * var(--gutter)) * .52 / var(--ratio)), 86svh); }
.cs-flow > .cs-shot, .cs-gallery > .cs-shot { width: 52%; }
@media (max-width: 900px) { .cs-hero { width: calc(100% - 2 * var(--gutter)); height: min(calc((100vw - 2 * var(--gutter)) / var(--ratio)), 86svh); } .cs-flow > .cs-shot, .cs-gallery > .cs-shot { width: 100%; } }
/* Tall comparisons (phone-shaped crops) are capped so they don't run for screens. */
.cs-shot:has(.cs-compare) { width: min(52%, calc(80svh * var(--ratio))) !important; }
@media (max-width: 900px) { .cs-shot:has(.cs-compare) { width: min(100%, calc(80svh * var(--ratio))) !important; } }

/* The vertical wave while scrolling: images tilt around their horizontal axis by where they
   sit on screen (--o) and how fast the sheet moves (--v). Flat at rest. */
.cs-shot, .cs-hero { transform: perspective(1400px) rotateX(calc(var(--o, 0) * var(--v, 0) * -22deg)) skewY(calc(var(--v, 0) * -1.5deg)) scaleY(calc(1 + max(var(--v, 0), -1 * var(--v, 0)) * 0.04)); }
@media (prefers-reduced-motion: reduce) { .cs-shot, .cs-hero { transform: none; } }

/* Before/after slider. */
.cs-compare { position: relative; width: 100%; height: 100%; overflow: hidden; --pos: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cs-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cs-compare-old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cs-compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); pointer-events: none; }
.cs-compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.cs-compare-label { position: absolute; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(15, 15, 15, .72); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cs-compare-label.old { left: 14px; }
.cs-compare-label.new { right: 14px; }
.cs-compare { cursor: ew-resize; }
.cs-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; } /* keyboard only */
.cs-compare:has(.cs-compare-range:focus-visible) .cs-compare-handle::after { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Quote with the person's photo beside their name. */
.cs-text blockquote cite.has-face { display: flex; align-items: center; gap: 12px; }
.cs-quote-face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: color-mix(in srgb, var(--paper) 8%, transparent); flex: none; }

/* Two shots side by side in one row (e.g. Nextiva chart + Customer conversations). */
.cs-shot.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); aspect-ratio: auto; background: none; overflow: visible; }
.cs-pair > .cs-shot { width: 100% !important; margin: 0 !important; }
@media (max-width: 700px) { .cs-shot.cs-pair { grid-template-columns: 1fr; } }

/* About logo cards: the note shares the logo's grid cell, so the card grows to fit it and the
   padding is the same on all four sides; hover is a white outline and a faint white tint. */
.ab-logos li { display: grid; place-items: center; padding: 18px; }
.ab-logos li > img, .ab-logos li > p { grid-area: 1 / 1; }
.ab-logos p { position: static; inset: auto; padding: 0; width: 100%; align-self: center; }
.ab-logos li.has-note:hover, .ab-logos li.has-note:focus { border-color: var(--paper); background: color-mix(in srgb, var(--paper) 7%, transparent); }
@media (max-width: 900px) { .ab-logos li { padding: 16px; } .ab-logos p { padding: 0; } }

/* About as a letter (16 Nov, from exploration 09 in /explore/): large text in one column,
   a softer second paragraph, project names as underlined links that open their case study
   with a thumbnail next to the cursor, Book a call as an accent link. */
.ab-letter { --letter: 760px; max-width: var(--letter); margin: clamp(56px, 12vh, 140px) auto 0; padding-inline: var(--gutter, 20px); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.4; letter-spacing: -.015em; color: var(--paper); }
.ab-letter p { margin: 0; }
.ab-letter p + p { margin-top: 1.1em; }
.ab-letter .soft { color: color-mix(in srgb, var(--paper) 48%, var(--ink)); }
.ab-letter a { color: inherit; text-decoration: none; }
.ab-letter .ab-work { border-bottom: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); transition: border-color 200ms ease; }
.ab-letter .ab-work:hover, .ab-letter .ab-work:focus-visible { border-color: var(--cta); outline: none; }
.ab-letter .ab-call { color: var(--cta); }
.ab-letter .ab-call:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.about .ab-clients { max-width: 760px; padding-inline: var(--gutter, 20px); margin-top: clamp(64px, 12vh, 120px); }
.about .ab-clients h3 { max-width: none; }
.ab-peek { position: fixed; z-index: 20; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; translate: 18px 18px; scale: .92; transition: opacity 200ms ease, scale 300ms cubic-bezier(.22, 1, .36, 1); }
.ab-peek.on { opacity: 1; scale: 1; }
.ab-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: none) { .ab-peek { display: none; } }

/* Hue picker hover (16 Nov): only Book a call changes colour, fast while the pointer moves
   along the picker, then eases back to the red-orange over a second and a half. */
.cta { transition: background-color 1.5s cubic-bezier(.22, 1, .36, 1), color 1.5s cubic-bezier(.22, 1, .36, 1), transform 180ms ease; }
.hue-live .cta { transition-duration: 160ms, 160ms, 180ms; }

/* About open and close (16 Nov): instead of a flat fade, the blur eases in and out more
   slowly and the letter, logos and H drift in from (and back down to) a few pixels lower,
   one after another. Keyed on .shown, so closing plays the opening in reverse. */
.lightbox.case.about { transition: opacity 520ms cubic-bezier(.22, 1, .36, 1); }
.about .ab-letter > p, .about .ab-clients, .about .about-mark, .about .lb-close { transition: opacity 420ms ease, transform 560ms cubic-bezier(.22, 1, .36, 1); }
.about:not(.shown) .ab-letter > p, .about:not(.shown) .ab-clients { opacity: 0; transform: translateY(22px); }
.about:not(.shown) .about-mark, .about:not(.shown) .lb-close { opacity: 0; transform: scale(.92); }
.about.shown .ab-letter > p:nth-child(2) { transition-delay: 40ms; }
.about.shown .ab-letter > p:nth-child(3) { transition-delay: 80ms; }
.about.shown .ab-letter > p:nth-child(4) { transition-delay: 120ms; }
.about.shown .ab-letter > p:nth-child(5) { transition-delay: 160ms; }
.about.shown .ab-clients { transition-delay: 200ms; }
@media (prefers-reduced-motion: reduce) { .about .ab-letter > p, .about .ab-clients, .about .about-mark, .about .lb-close { transition: opacity 200ms ease; transform: none !important; } }

/* About (16 Nov): the client logos sit right under the first two lines of the letter. */
.about .ab-clients { margin-top: clamp(36px, 6vh, 64px); }
.ab-letter.ab-more-text { margin-top: clamp(48px, 8vh, 88px); }
