/* =====================================================================
   STYLE
   Colours, fonts and sizes live in :root below. Change them there.
   ===================================================================== */
:root {
  --bg: #fdfdfc;
  --ink: #111;
  --grey: #8d8d8a;
  --pale: #b9b8b4;                 /* the lists under the roles */
  --faint: #dcdbd7;                /* list lines filtered out */
  --soft: #f1f0ed;                 /* empty frames, loading images */
  --mark: rgba(0,0,0,.28);         /* the dot marks; set to transparent to hide */
  --ring: #c6c6c2;                 /* orbit rings on role hover */
  --ring-glow: rgba(205, 205, 200, .55);
  --serif: "EB Garamond", "Times New Roman", serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --pad: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 14px; line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:hover { font-style: italic; }
.mono { font-family: var(--mono); font-size: 11.5px; line-height: 1.38; }
.mini { font-family: var(--mono); font-size: 10px; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.amp { font-style: italic; color: var(--grey); }

/* dot marks: three quiet columns, like ruler ticks */
.marks {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle, var(--mark) 1px, transparent 1.6px) 6px 0 / 6px 84px repeat-y,
    radial-gradient(circle, var(--mark) 1px, transparent 1.6px) 50% 0 / 6px 84px repeat-y,
    radial-gradient(circle, var(--mark) 1px, transparent 1.6px) calc(100% - 6px) 0 / 6px 84px repeat-y;
}

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 14px var(--pad); font-size: 13px;
}
.mark { justify-self: start; }
.top-mid { color: var(--grey); white-space: nowrap; }
/* name with the live clock line under it */
.who { justify-self: start; display: grid; gap: 2px; }
.who-row { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
/* round split toggle: two half-circles that part when the split view is open */
.split-icon { display: inline-flex; padding: 2px; color: var(--grey); transition: color .2s; }
.split-icon svg { overflow: visible; fill: none; stroke: currentColor; stroke-width: 1; }
.split-icon path { transition: transform .45s cubic-bezier(.2,.7,.2,1), fill .3s; }
.split-icon:hover, .split-icon.on { color: var(--ink); }
.split-icon:hover .l, .split-icon.on .l { transform: translateX(-1.4px); }
.split-icon:hover .r, .split-icon.on .r { transform: translateX(1.4px); }
.split-icon.on .r { fill: currentColor; }
.top-clock { font-size: 11.5px; color: var(--grey); white-space: nowrap; }
.top-clock .clock { font-variant-numeric: tabular-nums; }
.top-tag { font-size: 11.5px; color: var(--grey); font-style: italic; }
.top-right { justify-self: end; display: flex; gap: 22px; }

/* ---------- home: two screens ---------- */
html:has(body.home) { scroll-behavior: smooth; scroll-snap-type: y proximity; }
.hero, .works { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start; }
.works { z-index: 1; }   /* the hero has no z-index on purpose, so its text can blend with the page */

/* screen 1: scattered pictures, info block, roles in the centre */
.hero { display: flex; justify-content: center; align-items: flex-start; padding: 40vh var(--pad) 80px; }
/* falling columns of pictures */
.field {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); column-gap: 20px; padding: 0 var(--pad);
  transition: opacity .5s ease;
  -webkit-mask-image: linear-gradient(transparent 4%, #000 20%, #000 82%, transparent 96%);
          mask-image: linear-gradient(transparent 4%, #000 20%, #000 82%, transparent 96%);
}
.col { position: relative; }
.track { position: absolute; left: 0; right: 0; top: 0; animation: fall var(--dur, 60s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes fall { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.float {
  width: calc(clamp(84px, 8vw, 124px) * var(--s, 1)); margin: 0 auto var(--gap, var(--gapY, 260px));
  transform: translateX(var(--x, 0));   /* size, drift and spacing vary a little per picture (js/main.js) */
}
.float:has(img.wide) { width: calc(clamp(84px, 8vw, 124px) * var(--s, 1) * 1.35); }   /* wide pictures a bit wider, so they don't look tiny */
.float .frame {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft);
  filter: grayscale(1); opacity: .7; transition: filter .6s ease, opacity .6s ease;
}
/* each falling picture keeps its own shape (no tall frame) */
.float .frame:not(.ph) { aspect-ratio: auto; background: none; }
.float img { width: 100%; height: auto; }
.float .frame.ph { background: none; border: 1px solid #dddcd8; }
.role li.soon { font-style: italic; cursor: default; color: var(--pale); }
.role li.plain { cursor: default; }   /* the Creative Director lines: text only, nothing to open */
.float .num { font-family: var(--mono); font-size: 10px; margin-top: 4px; height: 14px; }
/* a role is hovered: its pictures in colour, the rest fade */
.field.group .float:not(.lit) .frame { opacity: .15; }
.field .float.lit .frame { filter: none; opacity: 1; }
/* a title is hovered: the columns fade, its picture shows in the centre */
.field.solo { opacity: 0; }
.spot {
  position: absolute; left: 50%; top: 50%; z-index: 1; pointer-events: none;
  width: var(--w, 260px); aspect-ratio: 4 / 5;   /* placed by js/main.js beside the open list */
}
.spot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.spot img.show { opacity: 1; transform: none; }
/* wide pictures fit whole inside the tall frames (class set by js/main.js) */
.spot img.wide, .thumb img.wide { object-fit: contain; }

.meta {
  position: absolute; right: var(--pad); top: 60px; z-index: 2;
  display: grid; grid-template-columns: auto auto; gap: 2px 16px; font-size: 10.5px;
}
.meta dd { max-width: 300px; }
.meta, .role h2, .roles > .amp { text-shadow: 0 0 8px var(--bg), 0 0 3px var(--bg), 0 0 1px var(--bg); }

.roles {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto auto auto 1fr; column-gap: clamp(12px, 1.6vw, 24px); align-items: start;
  width: 100%; max-width: 1240px; pointer-events: none;
}
.role { pointer-events: auto; }
/* the small line above the three titles (data-kicker in index.html) */
.roles::before {
  content: attr(data-kicker); position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); white-space: nowrap;
  text-shadow: 0 0 8px var(--bg), 0 0 3px var(--bg);
}
.role h2 {
  font-weight: 400; font-size: clamp(22px, 2.5vw, 38px); line-height: 1; letter-spacing: 0;
  white-space: nowrap; cursor: pointer; width: fit-content; transition: opacity .4s;
}
.role:first-child { text-align: right; }
.role:first-child h2 { margin-left: auto; }
.role:nth-child(3), .role:nth-child(3) h2, .role:nth-child(3) li { text-align: center; margin-left: auto; margin-right: auto; }   /* the middle title */
/* the middle list hangs under its title without widening the column, so the other titles don't shift */
@media (min-width: 701px) {
  .role:nth-child(3) { position: relative; }
  .role:nth-child(3) ul { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; }
}
.role.open h2, .role h2:hover { font-style: italic; }
.roles.has-open .role:not(.open) h2 { opacity: .3; }
.roles > .amp { font-size: clamp(22px, 2.5vw, 38px); line-height: 1; color: var(--grey); }

/* glowing mind map around a hovered role */
.orbits {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .8s ease; overflow: visible;
}
.orbits.on { opacity: 1; }
.orbits .ring { fill: none; stroke: url(#iris); stroke-width: 1.2; }
.orbits .ring.grow { stroke: #fff; transition: stroke-dashoffset 1.1s cubic-bezier(.35,.5,.2,1); }
.orbits .ring-g { fill: none; stroke: #fff; stroke-width: 5; filter: url(#glowS); }
.orbits .ring-g.grow-f { opacity: 0; transition: opacity 1.2s ease; }
.orbits .ring-g.grow-f.in { opacity: .9; }
.orbits .core { fill: #fff; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px rgba(255,248,235,.9)); }
.orbits .join { fill: none; stroke: rgba(255,255,255,.9); stroke-width: .8; }
.orbits .join.faint { stroke: rgba(255,255,255,.55); stroke-dasharray: 2 4; }
.orbits .joins { opacity: 0; transition: opacity 1.4s ease 1.2s; }
.orbits .joins.in { opacity: 1; }
.orbits .spark { fill: #fff; filter: drop-shadow(0 0 2px #fff); }
.orbits .bloom { animation: breathe 5s ease-in-out infinite; }
.orbits .nodeg { opacity: 0; transition: opacity .8s ease; }
.orbits .nodeg.in { opacity: 1; }
.orbits .star { animation: twinkle 4s ease-in-out infinite; }
.orbits text {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  fill: #5c6168; paint-order: stroke; stroke: rgba(236,237,238,.9); stroke-width: 3px;
}
@keyframes breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* the about text in the top-right corner: same typewriter type as the rest of the site */
.meta { display: block; max-width: 330px; }
.about-note p + p { margin-top: .8em; }
.meta .hint { display: inline-block; margin-top: 10px; color: var(--grey); }
.meta .hint:hover { color: var(--ink); }

/* bottom menu */
.dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; transition: opacity .3s;
  display: flex; gap: 26px; padding: 12px var(--pad) 16px; font-size: 13px;
  background: linear-gradient(transparent, var(--bg) 45%);
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.dock::-webkit-scrollbar { display: none; }
.dock a::before { content: "( )"; font-family: var(--mono); font-size: 11px; margin-right: 6px; font-style: normal; display: inline-block; }
.dock a.on::before { content: "(•)"; }

/* the drop-down list under each role */
.role ul {
  list-style: none; display: grid; gap: 2px; margin-top: 18px;
  max-height: 0; overflow: hidden; scrollbar-width: none;
}
.role ul::-webkit-scrollbar { display: none; }
.role.open ul { max-height: 46vh; overflow-y: auto; }
.role li {
  font-size: clamp(14px, 1.15vw, 16px); color: var(--grey); cursor: pointer; width: fit-content; text-shadow: 0 0 6px var(--bg), 0 0 3px var(--bg), 0 0 1px var(--bg);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), color .25s;
}
.role.open li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 40ms), calc(var(--i) * 40ms), 0s; }
.role:first-child li { margin-left: auto; }
.role li:hover, .role li:focus-visible { color: var(--ink); font-style: italic; outline: none; }
.role li .yr { font-family: var(--mono); font-size: 10px; margin: 0 8px; opacity: 0; transition: opacity .3s; }
.role li:hover .yr, .role li:focus-visible .yr { opacity: .7; }


/* screen 2: the works */
.works { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.5vh, 40px); padding: 70px 0 70px; scroll-margin-top: 0; }
.works-head { position: absolute; top: 92px; left: var(--pad); font-size: 15px; }

/* screen 3: three circles, one per role, text in each centre */
.practice { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center; padding: 100px var(--pad) 70px; }
.venn { position: relative; width: min(1240px, 100%, calc((100vh - 190px) / .64)); aspect-ratio: 100 / 64; }
.venn svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* each circle is a ring of light: a soft grey shadow underneath (so white reads on the white page),
   a white line on top with a bloom, brightest on its right side */
.venn .vring, .venn .vshade { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .5s, stroke-width .5s; }
.venn .vring { stroke-width: .22; filter: url(#vbloom); }
.venn .vshade { stroke: rgba(60, 62, 72, .16); stroke-width: .9; filter: url(#vsoft); }
.venn.in .vring, .venn.in .vshade { animation: vdraw 2s cubic-bezier(.3,.6,.2,1) both; }
@keyframes vdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.venn .vglow { fill: none; stroke: #fff; stroke-width: 2.2; filter: url(#vglow); opacity: 0; transition: opacity .5s; }
.venn .vfill { opacity: 0; transition: opacity .6s; }
.venn .vc.lit .vglow, .venn .vc.lit .vfill { opacity: 1; }
/* hovered: the ring brightens and its light spreads; the others dim */
.venn .vc.lit .vring { stroke-width: .34; }
.venn .vc.lit .vshade { stroke: rgba(60, 62, 72, .22); stroke-width: 1.3; }
.venn.hovering .vc:not(.lit) .vring, .venn.hovering .vc:not(.lit) .vshade { opacity: .45; }
.vtext { position: absolute; width: 24%; }
.vtext.left { transform: translate(-100%, -50%); text-align: center; }
.vtext.right { transform: translate(0, -50%); text-align: center; }
.vtext.over { width: 27%; transform: translate(-50%, -50%); text-align: center; }
.vtext h3 { font-weight: 400; font-size: clamp(18px, 2.1vw, 28px); line-height: 1.05; white-space: nowrap; display: flex; justify-content: center; }
.vtext p { margin-top: 8px; color: #444; }
.vtext.lit h3 { font-style: italic; }
.venn .vcore { fill: var(--ink); }
.vcentre { position: absolute; color: var(--grey); }
.vname { transform: translate(-50%, calc(-100% - 8px)); font-style: italic; font-size: 13px; white-space: nowrap; }   /* above the dot */
/* the statement sits centred where the three circles meet, with a glowing point of light above it */
.venn .vcore { display: none; }
.vstate { transform: translate(-50%, -50%); width: 49ch; max-width: 92vw; text-align: center; font-size: clamp(11.5px, 1vw, 14px); line-height: 1.5; text-wrap: balance; }   /* about 49 characters a line = 4 lines */
.vstate::before {
  content: ""; display: block; width: 10px; height: 10px; margin: 0 auto 18px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 45%, #eef0f4 100%);
  box-shadow: 0 0 0 1px rgba(60, 62, 72, .16), 0 0 8px 3px #fff, 0 0 22px 8px rgba(255, 255, 255, .95), 0 0 18px 2px rgba(60, 62, 72, .3);
}
.venn .vtext, .venn .vcentre { opacity: 0; transition: opacity .8s ease 1.2s; }
.venn.in .vtext, .venn.in .vcentre { opacity: 1; }
.venn.in.hovering .vtext:not(.lit) { opacity: .3; transition-delay: 0s; }

/* the one row of pictures */
.strip {
  position: relative; flex: 0 0 auto; height: var(--h, 220px);
  overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.strip.dragging { cursor: grabbing; }
.thumb { position: absolute; top: 0; left: 0; background: var(--soft); overflow: hidden; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.thumb img { filter: grayscale(1); opacity: .55; transition: filter .6s ease, opacity .6s ease; }
.thumb.center img, .strip:hover .thumb img { filter: none; opacity: 1; }
.thumb video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.thumb.playing video { opacity: 1; }
.thumb.empty { background: none; border: 1px solid #dedcd7; }
.under { display: grid; gap: 8px; justify-items: center; padding: 0 var(--pad); text-align: center; }
.caption { min-height: 1.3em; font-size: 14px; }
.caption i { color: var(--grey); }
.note { color: var(--grey); max-width: 440px; min-height: 2.8em; }

/* ---------- about page ---------- */
.about { position: relative; z-index: 1; padding: 120px var(--pad) 100px; }
.about-title { font-weight: 400; font-size: clamp(28px, 4vw, 52px); line-height: 1.05; text-align: center; margin-bottom: 70px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.headshot { justify-self: end; width: clamp(160px, 18vw, 240px); aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { max-width: 440px; display: grid; gap: 2em; }
.about-text p + p { margin-top: 1em; }
.credits { list-style: none; color: #555; }
.links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about page: everything centred ---------- */
.about-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 110px var(--pad) 110px; }
.headshot-round { width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.rep { margin-top: 26px; display: grid; gap: 4px; }
.rep div { display: flex; justify-content: center; gap: 10px; }
.rep dt { color: var(--grey); }
.rep dt::after { content: ":"; }
.rep dd { color: var(--ink); }
.about-bio { max-width: 460px; margin-top: 14px; color: #333; }
.about-bio p + p { margin-top: 1em; }
.work-list { list-style: none; margin-top: 64px; display: grid; gap: .02em; align-self: stretch; text-align: left; }
.work-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px solid #eceae6; padding-bottom: .06em; }
.work-list .w-role { font-size: .26em; font-style: italic; color: var(--grey); margin-left: .5em; letter-spacing: 0; white-space: nowrap; }
.work-list .w-year { font-size: .58em; font-style: italic; font-weight: 500; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }   /* same look as the title, a bit smaller */
.work-list li {
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.015em;
  font-weight: 400;
}
/* names sit upright and turn italic on hover */
.work-list .w-name a, .work-list .w-name { font-style: normal; transition: font-style .2s; }
.work-list li:hover .w-name > a, .work-list li:hover .w-name { font-style: italic; }
.work-list a { text-decoration: none; transition: opacity .2s; }
.work-list sup { font-size: .2em; font-style: normal; letter-spacing: .02em; vertical-align: super; margin-left: .25em; color: var(--grey); position: relative; top: -.6em; }
/* a "coming soon" entry (soon: true in js/content.js): the whole line in pale grey */
.work-list li.soon, .work-list li.soon .w-year, .work-list li.soon .w-role, .work-list li.soon sup { color: var(--pale); }
.work-list li.soon:hover .w-name { font-style: normal; }
.work-legend { align-self: flex-start; text-align: left; margin-top: 26px; font-family: var(--mono); font-size: 10px; line-height: 1.5; color: var(--grey); }
.about-links { position: fixed; left: var(--pad); bottom: 14px; z-index: 31; margin: 0; font-size: 12px; }   /* bottom-left corner, opposite the credit */

/* ---------- open source page ---------- */
.os { position: relative; z-index: 1; padding: 120px var(--pad) 120px; max-width: 980px; margin: 0 auto; }
.os-title { font-weight: 400; font-size: clamp(28px, 4vw, 52px); line-height: 1.05; text-align: center; }
.os-intro { max-width: 460px; margin: 24px auto 70px; text-align: center; color: #555; }
.os-intro .u { text-decoration: underline; text-underline-offset: 3px; }
.os-row {
  display: grid; grid-template-columns: 28px 1fr 140px 110px 80px; gap: 14px; align-items: center;
  width: 100%; padding: 12px 0; border-bottom: 1px solid #e4e3df; text-align: left; font-size: 16px;
}
.os-head { color: var(--grey); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; }
button.os-row:hover .os-name, .os-item.open .os-name { font-style: italic; }
.os-empty { color: var(--pale); }
/* a small drawn folder */
.folder { position: relative; width: 20px; height: 14px; border: 1px solid #9a9a96; border-radius: 1px; margin-top: 3px; }
.folder::before { content: ""; position: absolute; left: -1px; top: -5px; width: 9px; height: 4px; border: 1px solid #9a9a96; border-bottom: 0; border-radius: 1px 2px 0 0; }
.os-empty .folder, .os-empty .folder::before { border-color: #d6d5d1; border-style: dashed; }
.os-item.open .folder { background: var(--soft); }
.os-inside { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 28px; padding: 20px 0 30px 42px; border-bottom: 1px solid #e4e3df; }
.os-inside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.os-inside p + p, .os-inside .links { margin-top: 1em; }
.os-lic { color: var(--grey); }

/* ---------- split view (layer on the home page) ---------- */
.split-layer {
  position: fixed; inset: 0; z-index: 25; background: var(--bg); overflow-y: auto;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.split-layer.open { opacity: 1; pointer-events: auto; transform: none; }
body.split-on { overflow: hidden; }
body.split-on .dock { opacity: 0; pointer-events: none; }
.split-layer .split-filters { top: 0; }
.split-cv { position: fixed; left: var(--pad); bottom: 14px; z-index: 31; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }   /* bottom-left corner, opposite the credit */
/* ---------- split page: filters left, image blocks right ---------- */
.split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 70px var(--pad) 80px; }
.split-filters {
  position: sticky; top: 0; align-self: start; display: flex; align-items: flex-start; gap: 170px;   /* wide enough that Links clears the tagline above */
  padding-top: 14px; font-size: 16px;
}
.filter-list { display: grid; justify-items: start; gap: 4px; }
.split-filters button { color: var(--grey); }
.split-filters button::before { content: "( )"; font-family: var(--mono); font-size: 11px; margin-right: 8px; font-style: normal; display: inline-block; }
.split-filters button.on { color: var(--ink); }
.split-filters button.on::before { content: "(•)"; }
.split-filters sup { font-family: var(--mono); font-size: 8px; margin-left: 3px; color: var(--grey); line-height: 0; }   /* line-height 0: the count doesn't push its row down */
.split-filters button { line-height: 1.3; }
/* "Links" drop-down in its own column beside the filters, level with "All" */
.split-links { display: grid; justify-items: start; }
/* a small triangle in place of the ( ): points right when closed, down when open */
.split-filters .links-toggle::before {
  content: ""; width: 0; height: 0; margin: 0 14px 0 6px; vertical-align: 1px;
  border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .3s ease;
}
.split-links.open .links-toggle::before { transform: rotate(90deg); }
.split-links.open .links-toggle { color: var(--ink); }
.split-links ul { list-style: none; display: grid; gap: 4px; padding-left: 38px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.split-links.open ul { max-height: 420px; opacity: 1; margin: 4px 0 6px; }
.split-links a { font-size: inherit; line-height: 1.3; color: var(--grey); }   /* same size as the filters (Dance, Web...) */
.split-links a:hover { color: var(--ink); }
.split-links li.links-group { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }
.split-links li.links-group:first-child { margin-top: 2px; }
.split-links li.soon { color: var(--pale); line-height: 1.3; cursor: default; }   /* a link with no address yet */
.band { border-top: 1px solid #e6e5e1; padding: 12px 0 44px; }
.band-label { font-size: 14px; color: var(--grey); margin-bottom: 12px; }
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.block {
  position: relative; aspect-ratio: 1; background: #f4f3f1; display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: zoom-in; transition: background .3s;
}
.block img { width: 58%; height: 58%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.block:hover { background: #eeedea; }
.block:hover img { transform: scale(1.05); }
.block.fill img { width: 100%; height: 100%; object-fit: cover; }
.block.inset img { width: 66%; height: 66%; margin-bottom: 8%; object-fit: cover; border-radius: 10px; }   /* Explorations: a square picture with a grey border */
.block .play { position: absolute; right: 8px; top: 6px; font-size: 9px; color: var(--grey); }
.block.empty { cursor: default; background: #f7f6f4; }
/* a Tools block shows the device's name along the bottom on hover (and always on touch screens) */
.block-name {
  position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 13px; text-align: left; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.block-name .mono { font-size: 9.5px; color: var(--grey); white-space: nowrap; }
.block:hover .block-name, .block:focus-visible .block-name { opacity: 1; transform: none; }
.block.empty.named:hover { background: #f1f0ed; }
@media (hover: none) { .block-name { opacity: 1; transform: none; } }
.band-soon { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--grey); font-style: italic; }

/* full screen image */
.full {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.full.open { opacity: 1; pointer-events: auto; }
.full-close { position: absolute; top: 14px; right: var(--pad); font-size: 13px; z-index: 2; }
.full-stage { position: absolute; inset: 52px var(--pad) 56px; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.full-stage img, .full-stage video { max-width: 100%; max-height: 100%; object-fit: contain; cursor: default; }
.full-bar {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #555;
}
.full-bar b { font-weight: 400; color: var(--ink); }
.full-bar a { text-decoration: underline; text-underline-offset: 3px; }
.full-nav { display: flex; gap: 16px; align-items: center; }
.full-nav button { font-family: var(--mono); font-size: 13px; }

/* ---------- detail page ---------- */
.detail {
  position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.detail.open { opacity: 1; pointer-events: auto; }
.back { position: fixed; top: 14px; right: var(--pad); z-index: 2; font-size: 13px; }
.d-strip {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); overflow-x: auto;
  padding: 90px 9vw 0; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.d-strip::-webkit-scrollbar { display: none; }
.d-strip > .wm { flex: 0 0 auto; position: relative; display: flex; }
.d-strip > img, .d-strip > video, .d-strip > .wm > img { flex: 0 0 auto; height: 46vh; width: auto; max-width: 80vw; object-fit: contain; }
.d-strip > iframe { flex: 0 0 auto; border: 0; width: min(82vw, 82vh); aspect-ratio: 16 / 9; }
.d-strip.centered { justify-content: center; }
.d-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 60px; padding: 0 var(--pad) 120px; }
.d-cat { color: var(--grey); }
.d-right { max-width: 440px; display: grid; gap: 14px; }
.d-right h2 { font-weight: 400; font-size: 26px; font-style: italic; line-height: 1.1; }
.d-meta { color: #555; }
.d-nav {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between;
  padding: 12px var(--pad) 16px; background: linear-gradient(transparent, var(--bg) 40%);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .venn.in .vring, .venn.in .vshade { animation: none; stroke-dashoffset: 0; }
  .track, .orbits .star, .orbits .bloom { animation: none; }
}

/* short screens: keep the info block clear of the centre titles */
@media (max-height: 780px) and (min-width: 701px) {
  .meta .about-note p + p { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  :root { --pad: 16px; }
  .top { grid-template-columns: 1fr auto; align-items: start; }
  .top-clock { white-space: normal; }
  .top-mid { display: none; }
  .hero { padding-top: 42vh; }
  .meta { display: none; }
  .float { width: 64px; }
  .float .num { display: none; }
  .spot { width: 52vw; }
  .roles { grid-template-columns: 1fr; row-gap: 26px; }
  .roles > .amp { display: none; }
  .role:first-child, .role:first-child li, .role:first-child h2,
  .role:nth-child(3), .role:nth-child(3) li, .role:nth-child(3) h2 { text-align: left; margin-left: 0; }
  .role h2 { font-size: 30px; white-space: normal; }
  .role li { font-size: 15px; }
  .role li .yr { display: none; }
  .about-grid, .d-body { grid-template-columns: 1fr; }
  .headshot { justify-self: start; }
  .d-strip { padding: 60px 16px 0; }
  .venn { aspect-ratio: auto; display: grid; gap: 28px; }
  .venn svg { position: relative; width: 100%; height: auto; aspect-ratio: 100 / 64; order: -1; }
  .vtext { position: static; width: auto; transform: none; text-align: left; }
  .vname { display: none; }
  .vstate { position: static; transform: none; width: auto; text-align: center; order: 9; color: #444; }
  .vstate::before { display: none; }
  .split { grid-template-columns: 1fr; padding-top: 60px; }
  .split-filters { position: sticky; top: 0; z-index: 5; background: var(--bg); display: flex; overflow-x: auto; white-space: nowrap; gap: 18px; padding: 10px 0; font-size: 14px; scrollbar-width: none; }
  .filter-list { display: flex; gap: 18px; }
  .blocks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .os-row { grid-template-columns: 24px 1fr 90px; }
  .os-row > :nth-child(4), .os-row > :nth-child(5) { display: none; }
  .os-inside { grid-template-columns: 1fr; padding-left: 0; }
  .d-strip > img, .d-strip > video { height: 52vh; max-width: 86vw; }
}

/* small grey credit, bottom-right corner (sits above the dock, under the full-screen views) */
.credit {
  position: fixed; right: var(--pad); bottom: 16px; z-index: 31; pointer-events: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--grey);
  background: var(--bg); padding-left: 10px;
}
.dock { padding-right: 230px; }
@media (max-width: 700px) {
  .credit { font-size: 9px; bottom: 6px; }
  .dock { padding-right: var(--pad); padding-bottom: 22px; }
}

/* the glass bubble inside the Creative Director circle (js/lens.js).
   Frosted-glass colours: --glass-top warm white, --glass-mid silver, --glass-low icy blue. */
.orb {
  --glass-top: 249, 244, 238; --glass-mid: 176, 178, 184; --glass-low: 200, 216, 226;
  position: absolute; pointer-events: none;
}
.orb > *, .orb-ball > * { position: absolute; border-radius: 50%; }
/* a soft pale halo around the bubble, no colour */
.orb-glow {
  inset: -10%;
  background: radial-gradient(circle closest-side, rgba(var(--glass-mid), .35) 40%, rgba(var(--glass-low), .25) 58%, rgba(255, 255, 255, 0) 72%);
  filter: blur(14px); opacity: 0; transition: opacity 1.2s ease;
}
/* the reel and its frost, fading out softly toward the rim instead of ending in a line */
.orb-ball {
  inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.1s ease;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 80%, rgba(0, 0, 0, .75) 91%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 80%, rgba(0, 0, 0, .75) 91%, transparent 100%);
}
/* the reel: almost colourless and milky, soft focus that sharpens */
.orb-media {
  inset: 0; overflow: hidden;
  filter: grayscale(.45) contrast(.86) brightness(1.15) blur(16px);
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.8s ease .4s, filter 2.2s ease .4s, transform 2.6s ease .4s;
}
.orb-media iframe, .orb-media video {
  position: absolute; left: 50%; top: 50%; width: 200%; height: 112.5%;   /* 16:9 covering the round, a little magnified */
  transform: translate(-50%, -50%); border: 0; object-fit: cover;
}
/* a still picture fills the round, framed a little above centre (where the figure is) */
.orb-media.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
/* frosted glass over the reel: warm white at the top, silver through the middle, icy blue at the bottom,
   clear in the centre and thickening toward the rim */
.orb-tint {
  inset: 0;
  background:
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .18) 80%, rgba(255, 255, 255, .5) 100%),
    linear-gradient(rgba(var(--glass-top), .35), rgba(var(--glass-mid), .18) 50%, rgba(var(--glass-low), .35));
}
/* the rim: the page and the reel's edge are blurred and frosted here, so the bubble has no hard line */
.orb-frost {
  inset: -4%;
  -webkit-backdrop-filter: blur(7px) saturate(.6); backdrop-filter: blur(7px) saturate(.6);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0) 55%, rgba(var(--glass-top), .35) 80%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 70%, #000 85%, #000 90%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, transparent 70%, #000 85%, #000 90%, transparent 100%);
  opacity: 0; transition: opacity 1.2s ease;
}
/* bubble highlights: a warm band across the top, a soft window reflection upper right,
   a bright warm crescent along the bottom, all blurred */
.orb-shine { inset: 0;
  background:
    radial-gradient(ellipse 46% 16% at 50% 10%, rgba(255, 251, 246, .7), rgba(255, 251, 246, 0) 70%),
    radial-gradient(ellipse 13% 17% at 72% 33%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 40% 9% at 52% 93%, rgba(255, 250, 244, .65), rgba(255, 250, 244, 0) 75%),
    radial-gradient(ellipse 10% 34% at 9% 55%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%);
  filter: blur(4px); opacity: 0; transition: opacity 1.4s ease .3s;
}
.orb.on .orb-glow, .orb.on .orb-ball, .orb.on .orb-frost, .orb.on .orb-shine { opacity: 1; }
.orb.on .orb-media { opacity: 1; filter: grayscale(.45) contrast(.86) brightness(1.15) blur(1.2px); transform: none; }
/* fading out: everything together, a little quicker, no delays */
.orb:not(.on) > *, .orb:not(.on) .orb-media { transition-duration: .7s; transition-delay: 0s; }
/* the circle's own line disappears behind the bubble */
/* the light ring stays around the bubble as its rim light */
.venn.lensing .vc.lit .vfill { opacity: 0; }

/* while the lens is open, its title lifts just clear of the ring; the sentence and centre name step aside */
.vtext h3 { transition: transform .4s ease; }
.vtext p { transition: opacity .3s; }
.venn.lensing .vtext.lit[data-i="2"] h3 { transform: translateY(-.55em); }                 /* top circle: up */
.venn.lensing .vtext.lit[data-i="0"] h3 { transform: translate(-2.2em, 1.2em); }               /* lower left: out to the left */
.venn.lensing .vtext.lit[data-i="1"] h3 { transform: translate(3em, 1.2em); }                /* lower right: out to the right */
.venn.lensing .vtext.lit p { opacity: 0; }
.venn.in.lensing .vcentre { opacity: 0; transition-delay: 0s; }
@media (max-width: 700px) { .vtext.over { transform: none; width: auto; } .venn.lensing .vtext.lit h3 { transform: none; } }

/* ---------- screen 4: the process, a stepped timeline (js/main.js → buildProcess) ----------
   One column per stage. Each box sits one row lower than the last, so the boxes
   step down left to right; the column's text sits at the bottom.             */
.process {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--pad) 110px;
}
.tl-title { font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: .95; letter-spacing: -.01em; }
.tl-axis { margin-top: clamp(24px, 4vh, 44px); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.tl {
  --row: clamp(30px, 4.2vh, 38px);                 /* height of one step */
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  height: calc(var(--row) * var(--n) + 190px); margin-top: 8px;
}
.tl-col { position: relative; display: flex; flex-direction: column; min-width: 0; outline: none; }
/* the light vertical lines, starting under the numbers */
.tl-col::before, .tl-col:last-child::after {
  content: ""; position: absolute; top: 26px; bottom: 0; left: 0; width: 1px; background: #e6e5e1;
}
.tl-col:last-child::after { left: auto; right: 0; }
.tl-num { height: 26px; font-size: 11px; color: var(--grey); transform: translateX(-.5ch); }
.tl-col:first-child .tl-num { transform: none; }
.tl-box {
  position: relative; z-index: 1; height: var(--row); width: calc(100% + 1px);
  margin-top: calc(var(--i) * (var(--row) - 1px));   /* one step down per stage; edges shared with the box before */
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 6px;
  border: 1px solid rgba(17, 17, 17, .55); background: var(--bg);
  font-size: clamp(9px, .72vw, 11px); line-height: 1.15; letter-spacing: .04em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .6s ease calc(var(--i) * 90ms), transform .6s ease calc(var(--i) * 90ms), background .3s, color .3s;
}
.tl.in .tl-box { opacity: 1; transform: none; }
.tl-text {
  margin-top: auto; padding: 0 clamp(6px, .9vw, 14px); font-size: clamp(9.5px, .74vw, 11px); line-height: 1.45; color: #555;
  opacity: 0; transition: opacity .8s ease calc(.5s + var(--i) * 90ms);
}
.tl.in .tl-text { opacity: 1; }
/* hover a stage: its box fills in, the others step back */
.tl-col.lit .tl-box { background: var(--ink); color: var(--bg); }
.tl.hovering .tl-col:not(.lit) .tl-text, .tl.hovering .tl-col:not(.lit) .tl-box { opacity: .32; transition-delay: 0s; }
.tl.hovering .tl-col.lit .tl-text { color: var(--ink); }

/* phones: a plain list, number · stage · text */
@media (max-width: 700px) {
  .tl { display: block; height: auto; margin-top: 14px; }
  .tl-col { display: grid; grid-template-columns: 26px 1fr; gap: 6px 10px; padding: 14px 0; border-top: 1px solid #e6e5e1; }
  .tl-col:last-child { border-bottom: 1px solid #e6e5e1; }
  .tl-col::before, .tl-col:last-child::after { display: none; }
  .tl-num { height: auto; transform: none; grid-row: span 2; }
  .tl-box { margin-top: 0; width: fit-content; height: auto; padding: 6px 10px; font-size: 11px; }
  .tl-text { margin-top: 0; padding: 0; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tl-box, .tl-text { opacity: 1; transform: none; } }

/* the silver glowing words over the bubble (LENS.words in js/content.js).
   A silver gradient fills the letters and slowly drifts across them; a white glow sits behind. */
.orb .orb-words {
  border-radius: 0; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(6px);
  white-space: nowrap; font-style: italic; font-size: clamp(17px, 1.9vw, 27px); letter-spacing: .02em;
  background: linear-gradient(100deg, #8c9099 0%, #f7f8fa 22%, #b4b8c0 40%, #ffffff 55%, #979ba4 72%, #eef0f3 90%, #8c9099 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .85)) drop-shadow(0 1px 1px rgba(40, 42, 52, .55)) drop-shadow(0 0 12px rgba(70, 74, 88, .45));
  opacity: 0; transition: opacity 1.4s ease .9s, transform 1.8s ease .9s;
  animation: orbShimmer 6s linear infinite;
}
.orb.on .orb-words { opacity: 1; transform: translate(-50%, -50%); }
.orb:not(.on) .orb-words { transition-duration: .5s; transition-delay: 0s; }
@keyframes orbShimmer { from { background-position: 0% 0; } to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .orb .orb-words { animation: none; } }

/* ---------- the glass flower in the Creative Technologist bubble (js/flower.js) ---------- */
.orb-media.flower canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* this bubble is dark glass: keep its picture clear, colour-free and unbrightened */
.orb.on .orb-media.flower, .orb-media.flower { filter: none; }
.orb-media.flower { transition: opacity 1.4s ease .2s, transform 2.6s ease .2s; }
/* the webcam button, in the centre of the bubble once the flower has opened; the hint hangs below it */
.orb .orb-ui {
  border-radius: 0; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 6px)); text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .8s ease, transform .8s ease;
}
.orb.on.bloomed .orb-ui { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.orb-hint { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); }
.orb-btn {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(14, 16, 22, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.orb-btn:hover { font-style: normal; background: rgba(14, 16, 22, .7); }
.orb-hint { margin-top: 10px; font-size: 10px; line-height: 1.5; color: rgba(255, 255, 255, .8); white-space: nowrap; text-shadow: 0 0 6px rgba(0, 0, 0, .6); }
.orb-hint b { font-weight: 400; color: #fff; text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 0 8px rgba(255, 255, 255, .8); }
/* a flash of light when a snap is caught */
.orb.snapped .orb-glow { animation: orbSnap .7s ease; }
@keyframes orbSnap { 0% { filter: blur(14px) brightness(1); } 30% { filter: blur(20px) brightness(2.2); } 100% { filter: blur(14px) brightness(1); } }

/* ---------- black mode: a finger snap at the webcam switches the site (html[data-theme="dark"]) ---------- */
body { transition: background-color .8s ease, color .8s ease; }
:root[data-theme="dark"] {
  --bg: #050506;
  --ink: #f2f2f0;
  --grey: #8b8b88;
  --pale: #6d6d6a;
  --faint: #2c2c2b;
  --soft: #151516;
  --mark: rgba(255, 255, 255, .28);
  --ring: #5a5a58;
  --ring-glow: rgba(120, 120, 118, .45);
}
:root[data-theme="dark"] .vtext p, :root[data-theme="dark"] .d-meta,
:root[data-theme="dark"] .credits, :root[data-theme="dark"] .tl-text { color: #b5b5b2; }
:root[data-theme="dark"] .about-bio { color: #d0d0cd; }
:root[data-theme="dark"] .work-list li, :root[data-theme="dark"] .band { border-color: #222; }
/* on black, the light rings drop their grey shadow and glow on their own */
:root[data-theme="dark"] .venn .vshade { stroke: rgba(255, 255, 255, .06); }
/* on black, the bubbles' white haze and frost are toned down so they glow instead of glare */
:root[data-theme="dark"] .orb-glow { background: radial-gradient(circle closest-side, rgba(200, 205, 215, .16) 40%, rgba(180, 196, 210, .1) 58%, rgba(0, 0, 0, 0) 72%); }
:root[data-theme="dark"] .orb-tint { opacity: .35; }
:root[data-theme="dark"] .orb-frost { opacity: .5; }
:root[data-theme="dark"] .orb:not(.on) .orb-frost { opacity: 0; }

/* camera on: the button becomes a small round "camera off" icon near the bottom of the bubble,
   with the hint just above it, so the flower's centre is clear */
.orb .orb-ui.cam { top: 84%; }
.orb-ui.cam .orb-btn { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; }
.orb-ui.cam .orb-btn svg { display: block; }
.orb-ui.cam .orb-hint { top: auto; bottom: 100%; margin: 0 0 10px; }

/* "Spreadsheet" in the About page's corner: shown as a link-to-be, not clickable yet */
.about-links .soon-link { text-decoration: underline; text-underline-offset: 3px; cursor: default; }

/* ---------- web design page: one square per project (js/webdesign.js) ---------- */
:root { --tile: #ecebe8; --tile-hover: #e4e3df; }
:root[data-theme="dark"] { --tile: #141415; --tile-hover: #1c1c1d; }
.wd { position: relative; z-index: 1; padding: 110px var(--pad) 120px; max-width: 1180px; margin: 0 auto; }
/* pill filters, top right */
.wd-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 40px; }
.wd-filters button {
  font-size: 12px; padding: 5px 13px; border-radius: 999px; background: var(--tile); transition: background .2s;
}
.wd-filters button:hover { font-style: normal; background: var(--tile-hover); }
.wd-filters button.on { background: var(--ink); color: var(--bg); }
/* the squares */
.wd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wd-tile {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px;
  background: var(--tile); display: grid; place-items: center; text-align: center;
  transition: background .25s;
}
.wd-tile:hover { font-style: normal; background: var(--tile-hover); }
.wd-tile:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.wd-face { position: relative; z-index: 1; padding: 0 12%; transition: opacity .35s ease; }
.wd-logo { max-width: 46%; max-height: 22%; width: auto; height: auto; margin: 0 auto; object-fit: contain; }
.wd-face .wd-logo { max-width: 100%; max-height: 64px; }
.wd-word { font-size: clamp(18px, 2.2vw, 28px); line-height: 1.1; }
/* screenshot fades in on hover; the caption slides up */
.wd-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .4s ease, transform .6s ease; }
.wd-tile:hover .wd-shot, .wd-tile:focus-visible .wd-shot { opacity: 1; transform: none; }
.wd-tile:has(.wd-shot):hover .wd-face, .wd-tile:has(.wd-shot):focus-visible .wd-face { opacity: 0; }
.wd-cap {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; color: var(--grey); text-align: left;
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
}
.wd-tile:has(.wd-shot) .wd-cap { color: #fff; text-shadow: 0 0 8px rgba(0, 0, 0, .45); }
.wd-tile:hover .wd-cap, .wd-tile:focus-visible .wd-cap { opacity: 1; transform: none; }
.wd-empty { color: var(--pale); background: transparent; border: 1px dashed var(--faint); }
/* detail view */
body.wd-locked { overflow: hidden; }
.wd-detail {
  position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto;
  display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 34px; padding: 70px var(--pad) 40px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.wd-detail.on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.wd-close { position: fixed; top: 14px; right: var(--pad); font-size: 13px; z-index: 1; }
.wd-shots { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wd-shots::-webkit-scrollbar { display: none; }
.wd-shots > img { height: 62vh; width: auto; max-width: 100%; border-radius: 6px; object-fit: cover; scroll-snap-align: start; flex: none; background: var(--tile); }
.wd-shot-empty { width: min(62vh, 100%); aspect-ratio: 1 / 1; border-radius: 6px; background: var(--tile); display: grid; place-items: center; text-align: center; padding: 0 10%; }
.wd-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px 40px; max-width: 980px; }
.wd-info h2 { font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; grid-row: span 3; }
.wd-meta { display: grid; grid-template-columns: 70px 1fr; gap: 4px 12px; }
.wd-meta dt { color: var(--grey); }
.wd-info .links a { text-decoration: underline; text-underline-offset: 3px; }
.wd-nav { display: flex; justify-content: space-between; align-items: center; color: var(--grey); max-width: 980px; width: 100%; }
.wd-nav button:hover { color: var(--ink); }
@media (max-width: 900px) { .wd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .wd { padding-top: 90px; }
  .wd-filters { justify-content: flex-start; margin-bottom: 24px; }
  .wd-grid { gap: 6px; }
  .wd-cap { left: 8px; right: 8px; bottom: 6px; font-size: 10px; }
  .wd-tile .wd-cap { opacity: 1; transform: none; }       /* no hover on phones: always show the name */
  .wd-tile:has(.wd-shot) .wd-cap { color: var(--grey); text-shadow: none; }
  .wd-tile.is-word .wd-cap > span:first-child { visibility: hidden; }   /* the name is already in the middle */
  .wd-shots > img { height: 46vh; }
  .wd-info { grid-template-columns: 1fr; }
  .wd-info h2 { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .wd-shot, .wd-cap, .wd-face, .wd-detail { transition: none; } }

/* ---------- tool pages (tool.html, js/tool.js) ---------- */
/* the picture that grows from a Tools block to fill the screen (js/tool-link.js) */
.tp-grow {
  position: fixed; z-index: 90; background: #f4f3f1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: left .6s cubic-bezier(.7,0,.2,1), top .6s cubic-bezier(.7,0,.2,1),
              width .6s cubic-bezier(.7,0,.2,1), height .6s cubic-bezier(.7,0,.2,1);
}
.tp-grow img { object-fit: contain; transition: width .6s cubic-bezier(.7,0,.2,1), height .6s cubic-bezier(.7,0,.2,1); }
.tp-veil { position: fixed; inset: 0; z-index: 89; background: var(--bg); opacity: 0; transition: opacity .45s ease .1s; }
.tp-veil.on { opacity: 1; }

/* the page: big picture on top (same place the growing picture lands), then the text */
.tp { position: relative; z-index: 1; padding-bottom: 120px; }
.tp-hero {
  margin: 56px var(--pad) 0; height: min(72vh, 760px); background: #f4f3f1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
/* js sets the frame's height and the picture's size from the picture's shape (TOOL_PAGE.heroLayout) */
.tp-hero img, .tp-hero video { max-width: 88%; max-height: 88%; object-fit: contain; }
.tp-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px 60px;
  max-width: 1100px; margin: 56px auto 0; padding: 0 var(--pad);
}
.tp-head { align-self: start; position: sticky; top: 70px; display: grid; gap: 16px; justify-items: start; }
.tp-title { font-weight: 400; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.02; }
.tp-tagline { font-size: 19px; font-style: italic; color: #555; max-width: 30ch; }
.tp-facts { display: grid; grid-template-columns: 84px 1fr; gap: 4px 12px; margin-top: 6px; }
.tp-facts dt { color: var(--grey); }
.tp-get { align-items: center; margin-top: 6px; }
.tp-soon { color: var(--grey); font-style: italic; margin-top: 6px; }
.tp-get a { text-decoration: underline; text-underline-offset: 3px; }
.tp-get a.tp-btn {
  text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 7px 18px;
  transition: background .25s, color .25s;
}
.tp-get a.tp-btn:hover { background: var(--ink); color: var(--bg); font-style: normal; }
.tp-main { display: grid; gap: 40px; max-width: 560px; }
.tp-sec .mono { font-size: 12.5px; line-height: 1.55; color: #333; }
.tp-sec p + p { margin-top: 1em; }
.tp-sec ul, .tp-sec ol { padding-left: 1.4em; display: grid; gap: 6px; }
.tp-sec ol { list-style: decimal-leading-zero; }
.tp-sec li::marker { color: var(--grey); }
.tp-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin: 90px var(--pad) 0; }
.tp-media img, .tp-media video { width: 100%; height: auto; background: #f4f3f1; }
.tp-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.tp-nav { display: flex; justify-content: space-between; gap: 20px; margin: 90px var(--pad) 0; padding-top: 14px; border-top: 1px solid #e6e5e1; }
.tp-missing { min-height: 80vh; display: grid; place-content: center; gap: 18px; text-align: center; }
.tp-missing .u { text-decoration: underline; text-underline-offset: 3px; }

/* arriving: the text rises in; the picture only fades in if it did not grow into place */
.tp-hero, .tp-body, .tp-media, .tp-nav { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.tp-body { transition-delay: .08s; }
.tp-media, .tp-nav { transition-delay: .16s; }
.tp-grew .tp-hero { transform: none; transition: none; opacity: 1; }
.tp-in .tp-hero, .tp-in .tp-body, .tp-in .tp-media, .tp-in .tp-nav { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .tp-hero { height: min(56vh, 520px); }
  .tp-body { grid-template-columns: 1fr; margin-top: 36px; }
  .tp-head { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-hero, .tp-body, .tp-media, .tp-nav { transition: none; transform: none; }
}
:root[data-theme="dark"] .tp-grow, :root[data-theme="dark"] .tp-hero, :root[data-theme="dark"] .tp-media img { background: var(--soft); }
:root[data-theme="dark"] .tp-sec .mono, :root[data-theme="dark"] .tp-tagline { color: #b5b5b2; }

/* ---------- CV page (cv.html): a clean artist CV ----------
   One font (Garamond) at about 11 pt, years in one crisp column, bold ALL CAPS section headers,
   a full blank line between sections, italics only for titles (work: true), 1-inch margins.   */
.cv {
  position: relative; z-index: 1; max-width: calc(8.5in); margin: 0 auto; padding: 120px 1in 140px;
  font-family: var(--serif); font-size: 15px; line-height: 1.45; color: var(--ink);   /* 15px ≈ 11 pt */
}
.cv .mono { font-family: inherit; font-size: inherit; }   /* one font throughout */
.cv-head { margin-bottom: 1.45em; }
.cv-name { font-weight: 600; font-size: 26px; line-height: 1.2; }
.cv-contact { margin-top: 4px; }
.cv-contact a, .cv-pdf a { text-decoration: none; }
.cv-contact a:hover, .cv-pdf a:hover { text-decoration: underline; text-underline-offset: 3px; font-style: normal; }
.cv-dot { margin: 0 .6em; color: var(--grey); }
.cv-pdf { margin-top: 4px; }
.cv-sec { margin-top: 1.45em; }   /* a full blank line between sections */
.cv-sec-title { font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: .2em; }
.cv-list { list-style: none; }
.cv-list li { display: grid; grid-template-columns: 9.5em 1fr; column-gap: 1em; align-items: baseline; }   /* the tab stop after the year */
.cv-year { white-space: nowrap; }
.cv-note { color: inherit; }
@media (max-width: 700px) {
  .cv { padding: 100px var(--pad) 120px; }
  .cv-list li { grid-template-columns: 6.5em 1fr; }
}
/* Location / Venue drop-downs, in the empty space left of the CV */
.cv-menus { position: fixed; left: var(--pad); top: 120px; z-index: 2; width: calc((100vw - 8.5in) / 2 - var(--pad) - 20px); max-height: calc(100vh - 170px); overflow-y: auto; display: grid; gap: 14px; align-content: start; font-size: 15px; scrollbar-width: none; }
.cv-menu-toggle { color: var(--grey); text-align: left; }
.cv-menu-toggle::before {
  content: ""; display: inline-block; width: 0; height: 0; margin: 0 10px 0 2px; vertical-align: 1px;
  border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .3s ease;
}
.cv-menu.open .cv-menu-toggle, .cv-menu-toggle:has(.cv-menu-on) { color: var(--ink); }
.cv-menu.open .cv-menu-toggle::before { transform: rotate(90deg); }
.cv-menu-on { font-style: italic; }
.cv-menu ul { list-style: none; display: grid; gap: 2px; padding-left: 20px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.cv-menu.open ul { max-height: 2000px; opacity: 1; margin-top: 6px; }
.cv-menu li button { color: var(--grey); text-align: left; font-size: 14px; line-height: 1.35; }
.cv-menu li button:hover, .cv-menu li button.on { color: var(--ink); }
.cv-menu li button.on { font-style: italic; }
.cv-menu sup { font-size: 8px; margin-left: 3px; color: var(--grey); line-height: 0; }
.cv-menu-toggle .cv-menu-n { font-family: var(--mono); font-size: 8px; margin-left: 4px; color: var(--grey); line-height: 0; font-style: normal; }   /* how many choices are inside */
.cv-filtered { margin-bottom: .5em; color: var(--grey); }
.cv-filtered b { font-weight: 400; color: var(--ink); font-style: italic; }
.cv-filtered button { margin-left: .6em; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
/* the map, in the empty space right of the CV */
.cv-mapbox { position: fixed; right: var(--pad); top: 120px; z-index: 2; width: calc((100vw - 8.5in) / 2 - var(--pad) - 20px); }
.cv-map-label { font-size: 12px; font-style: italic; color: var(--grey); margin-bottom: 8px; }
.cv-map-wrap { position: relative; }
.cv-map { width: 100%; height: auto; overflow: visible; display: block; }
.cv-map .lines line { stroke: var(--faint); stroke-width: .25; }
.cv-map .grid { fill: var(--pale); opacity: .7; }
.cv-map .region { font-family: var(--serif); font-style: italic; font-size: 4.6px; fill: var(--pale); text-anchor: middle; letter-spacing: .02em; }
.cv-map .arc { fill: none; stroke: var(--grey); stroke-width: .3; opacity: .45; }
.cv-map .arc.on { stroke: var(--ink); stroke-width: .5; opacity: 1; }
.cv-map .pin { cursor: pointer; outline: none; }
.cv-map .pin .halo { fill: var(--grey); opacity: .16; transition: opacity .25s, fill .25s; }
.cv-map .pin .core { fill: var(--grey); transition: fill .25s; }
.cv-map .pin .label { font-family: var(--serif); font-size: 5.4px; fill: var(--grey); }
.cv-map .pin:hover .halo, .cv-map .pin:focus .halo, .cv-map .pin.on .halo { fill: var(--ink); opacity: .22; }
.cv-map .pin:hover .core, .cv-map .pin:focus .core, .cv-map .pin.on .core { fill: var(--ink); }
.cv-map .pin.on .label { fill: var(--ink); font-style: italic; }
.cv-map-tip {
  position: absolute; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--faint); padding: 3px 8px; font-size: 13px; color: var(--grey);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.cv-map-tip b { font-weight: 400; color: var(--ink); }
.cv-map-tip[hidden] { display: none; }
/* narrower screens: the menus sit above the CV instead of beside it */
@media (max-width: 1200px) {
  .cv { padding-top: 40px; }
  .cv-menus { position: static; width: auto; max-height: none; overflow: visible; max-width: calc(8.5in); margin: 100px auto 0; padding: 0 1in; grid-auto-flow: column; justify-content: start; gap: 40px; }
  .cv-mapbox { position: static; width: auto; max-width: calc(8.5in); margin: 26px auto 0; padding: 0 1in; }
  .cv-map { max-width: 560px; }
}
@media (max-width: 700px) { .cv-menus { padding: 0 var(--pad); margin-top: 80px; } }

/* printing / saving as PDF: just the CV, 1-inch margins, 11 pt */
@media print {
  @page { margin: 1in; }
  body.cv-page .top, body.cv-page .marks, body.cv-page .credit, .cv-menus, .cv-mapbox, .cv-filtered button { display: none; }
  .cv { padding: 0; max-width: none; font-size: 11pt; }
  .cv-name { font-size: 18pt; }
  .cv-sec-title { font-size: 11pt; }
  .cv-sec { break-inside: avoid-page; }
}
:root[data-theme="dark"] .cv-contact { color: #b5b5b2; }

/* ---------- text size (− / + beside the split icon, js/textsize.js) ---------- */
.ts { display: inline-flex; align-items: center; gap: 2px; margin-left: -4px; }
.ts-btn { width: 18px; height: 18px; line-height: 16px; text-align: center; font-size: 15px; color: var(--grey); border-radius: 50%; transition: color .2s, background .2s; }
.ts-btn:hover { color: var(--ink); background: var(--soft); font-style: normal; }
.ts-btn:disabled { opacity: .3; cursor: default; background: none; }
/* everything except the top bar scales with the chosen size */
html.ts-on body > :not(.top):not(.marks):not(script) { zoom: var(--ts, 1); }

/* ---------- image protection (with js/protect.js) ----------
   Pictures can't be dragged out or long-press saved on phones, and the large views
   carry a faint "©︎ Audrey Chou" so any screenshot is signed. */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tp-hero { position: relative; }
.full-stage::after, .tp-hero::after, .d-strip > .wm::after,
.block:not(.empty)::after, .thumb:not(.empty)::after, .spot:has(img.show)::after, .float .frame:not(.ph)::after {
  content: "©︎ Audrey Chou"; position: absolute; right: 14px; bottom: 10px; pointer-events: none; z-index: 2;
  font-family: "Courier Prime", monospace; font-size: 11px; letter-spacing: .04em;
  color: #fff; opacity: .55; mix-blend-mode: difference;
}
/* small pictures get a smaller mark; split blocks keep it top-right, clear of the hover name */
.block:not(.empty)::after, .thumb:not(.empty)::after, .spot:has(img.show)::after { font-size: 9px; right: 8px; bottom: 6px; }
.block:not(.empty)::after { top: 8px; bottom: auto; }
.float .frame { position: relative; }
.float .frame:not(.ph)::after { font-size: 7px; right: 5px; bottom: 4px; }

/* Web blocks for now: a grey layer, and "details coming soon" on hover (js/split.js adds .soon) */
.block.soon { cursor: default; }
.block.soon::before { content: ""; position: absolute; inset: 0; background: rgba(120,118,114,.38); z-index: 1; transition: background .3s; }
.block.soon:hover::before { background: rgba(120,118,114,.55); }
.block.soon:hover img { transform: none; }
.block-soon { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .06em; white-space: nowrap; color: #fff; opacity: 0; transition: opacity .3s; pointer-events: none; }
.block.soon:hover .block-soon { opacity: 1; }
.block.soon .block-name { z-index: 2; }

/* =====================================================================
   PHONE VERSION (iPhone and other phones, up to 700px wide)
   Last in the file so it wins over the desktop rules above.
   ===================================================================== */
@media (max-width: 700px) {
  /* header: name, split icon and text size on the left; About / Instagram / Email on the right */
  .top { padding: 12px var(--pad); background: linear-gradient(var(--bg) 70%, transparent); }
  .top-tag { display: none; }                     /* the tagline wraps into the pictures on a phone */
  .top-right { gap: 14px; }

  /* home: the falling pictures stay quiet behind the three titles */
  .hero { padding-top: 34vh; }
  .field { opacity: .45; --gapY: 180px; }
  .float .frame:not(.ph)::after { display: none; }   /* too small to sign legibly */
  /* the three titles centred and a little smaller */
  .roles { justify-items: center; text-align: center; }
  .role, .role h2, .role li,
  .role:first-child, .role:first-child li, .role:first-child h2,
  .role:nth-child(3), .role:nth-child(3) li, .role:nth-child(3) h2 { text-align: center; margin-left: auto; margin-right: auto; }
  .role h2 { font-size: 26px; line-height: 1.15; }

  /* bottom menu scrolls sideways; a soft fade at the right edge says there is more */
  .dock { gap: 20px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }

  /* the credit sits at the very end of each page instead of floating over the text */
  .credit { position: static; display: block; text-align: center; background: none; padding: 28px var(--pad) 90px; font-size: 9px; }
  body.split-on .credit { display: none; }

  /* split view: filters in one sideways row, Links on its own line under them */
  .split { padding: 56px var(--pad) 90px; gap: 14px; }
  .split-filters { display: block; padding: 8px 0 10px; }
  .filter-list { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list button { flex: 0 0 auto; }
  .split-links { margin-top: 6px; }
  .split-cv { bottom: 12px; background: var(--bg); padding: 2px 6px 2px 0; }
  .blocks { gap: 8px; }
  .block-name { font-size: 11px; }
  .block-soon { font-size: 10px; }

  /* full-screen picture: leave room for the bar */
  .full-stage { inset: 56px 10px 70px; }

  /* CV: phone margins, a narrow year column, long addresses wrap */
  .cv { padding: 36px var(--pad) 40px; font-size: 14.5px; }
  .cv-name { font-size: 24px; }
  .cv-bit { white-space: nowrap; }
  .cv-list li { grid-template-columns: 3.2em 1fr; column-gap: .9em; }
  .cv-menus { grid-auto-flow: row; gap: 10px; margin: 84px 0 0; padding: 0 var(--pad); }
  .cv-mapbox { padding: 0 var(--pad); margin: 22px 0 0; }

  /* tool / project pages */
  .work-list li { font-size: 30px; column-gap: 12px; flex-wrap: wrap; }
  .work-list .w-year { flex-basis: 100%; font-size: .42em; color: var(--grey); margin-top: -.2em; padding-bottom: .3em; }
  .work-list { margin-right: 0; }
  .tp-hero { margin-top: 50px; height: auto; min-height: 42vh; }
}

/* phone note (js/protect.js): shown once per visit on phones */
.phone-note { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 28px;
  background: rgba(250, 249, 246, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease; }
.phone-note.open { opacity: 1; }
.phone-note-card { max-width: 300px; background: var(--bg); border: 1px solid #e2e0dc; padding: 26px 24px 20px; text-align: center;
  font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.phone-note-card p + p { margin-top: .6em; font-style: italic; color: var(--grey); font-size: 15px; }
.phone-note-card button { margin-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.phone-note-card button:focus { outline: none; } .phone-note-card button:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* phone: the Practice circles, then their three names in a row of equal columns right under them
   (each name wraps inside its own column, so they can never run into each other; no description
   text), then the statement */
@media (max-width: 700px) {
  .venn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; row-gap: 0;
    aspect-ratio: auto; width: 100%; padding-top: 64%; margin: 30px 0 40px; }
  .venn svg { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 100 / 64; order: 0; }
  .venn .vtext, .venn .vtext.over { position: static; width: auto; transform: none !important; text-align: center; margin-top: 14px; }
  .venn .vtext[data-i="0"] { order: 1; }   /* Dance Artist, under the left circle */
  .venn .vtext[data-i="2"] { order: 2; }   /* Creative Director, the top circle, in the middle */
  .venn .vtext[data-i="1"] { order: 3; }   /* Creative Technologist, under the right circle */
  .venn .vtext h3, .venn .vtext.lit h3 { font-size: 13px; line-height: 1.2; white-space: normal; transform: none !important; display: block; }
  .venn .vtext p { display: none; }
  .venn .vstate { order: 4; grid-column: 1 / -1; position: static; width: auto; transform: none; margin-top: 44px; font-size: 12px; }
}

/* phone: agency representation stacked and centred (label on one line, agency under it) */
@media (max-width: 700px) {
  .rep div { flex-direction: column; align-items: center; gap: 2px; text-align: center; }
}
/* the note's button: plain light-grey text in the card's bottom-right corner, like the site's other small links */
.phone-note-card { position: relative; padding-bottom: 46px; }
.phone-note-card button { position: absolute; right: 14px; bottom: 12px; margin: 0; padding: 4px 2px; border: 0; border-radius: 0;
  font-size: 10.5px; color: var(--grey); opacity: .8; transition: color .2s, opacity .2s; }
.phone-note-card button:hover, .phone-note-card button:active { color: var(--ink); opacity: 1; }
.phone-note-card button:focus, .phone-note-card button:focus-visible { outline: none; }
/* the greeting at the top of the note */
.phone-note-card .phone-note-hi { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0; color: var(--grey); font-style: normal; margin: 0 0 14px; white-space: nowrap; }
.phone-note-card .phone-note-hi + p { margin-top: 0; font-style: normal; color: var(--ink); font-size: 17px; }
/* split blocks: the watermark sits in the grey border above the picture, never on it */
.block:not(.empty)::after { top: 3%; right: 5%; font-size: 9px; line-height: 1; }
.block.inset img { margin-top: 2%; }   /* a touch more room above the rounded picture for the mark */
@media (max-width: 700px) { .block:not(.empty)::after { font-size: 7.5px; top: 3.5%; } }
/* phone: block names stack (name, then tool) and wrap instead of being cut off */
@media (max-width: 700px) {
  .block-name { left: 8px; right: 8px; bottom: 6px; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 12px; line-height: 1.2; }
  .block-name > span { max-width: 100%; overflow-wrap: anywhere; }
  .block-name .mono { white-space: normal; font-size: 9px; }
}
body { font-variant-emoji: text; }   /* arrows like ↗ stay thin text arrows on iPhone, not blue emoji boxes */
