/* ===================================================================
   on porpoise — site styles
   Visual language consumed from /design-system (BRIEF.md, tokens.css,
   showcase.html). Copy + voice come from CLAUDE.md (solo, "I").
   Principles: edgework (corners anchored, centre breathes), single
   cool temperature, hairline rules, austere. No cards. No shadows.
   No gradient blobs.
   =================================================================== */

/* ---- tokens (from design-system/tokens.css) ---- */
:root {
  --ground: #f2f3f4;
  --ground-2: #120e13;
  --ink: #1a1820;
  --ink-2: #45434d;
  --ink-3: #8a8893;
  --line: #d8d9dc;
  --accent-lead: #0be2d0;       /* teal — lead */
  --accent-companion: #6025b3;  /* violet — companion */

  --font-display: "MuseoModerno", sans-serif;
  --font-text: "Cutive Mono", ui-monospace, monospace;  /* body — monospaced */
  --font-mono: "Cutive Mono", "Roboto Mono", monospace; /* labels — same mono */

  --pad-x: 6vw;
  --maxw: 1280px;
  --rule: 1px solid var(--line);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: oldstyle-nums;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: var(--rule); margin: 0; }
::selection { background: var(--accent-lead); color: var(--ground-2); }

/* ---- type primitives ---- */
.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
}
.mono-sm {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.disp {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.05;
}
em { font-style: italic; color: var(--ink-2); }
.disp em, .lead em { font-style: normal; color: var(--accent-companion); }

/* ---- skip link (a11y) ---- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--ground);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; padding: 12px 16px;
}
.skip:focus { left: 0; }

/* ===================================================================
   header
   =================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad-x);
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule);
}
.site-head .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent-companion);
  transition: right .28s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a.contact { color: var(--accent-companion); }

/* ===================================================================
   section frame + edgework
   =================================================================== */
section { padding: 84px var(--pad-x); position: relative; border-top: var(--rule); }
section:first-of-type { border-top: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }

/* mono index head, 3-column like the showcase section-head */
.shead {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 24px;
  padding-bottom: 22px; margin-bottom: 44px;
  border-bottom: var(--rule);
  position: relative;
}

/* ---- signature divider: teal "lead" bar + violet "companion" bar ----
   sits on a hairline, echoing the palette's lead/companion pairing.
   Distributes the accent across every section header + the hero rule. */
.shead::after, .hero-foot::after {
  content: ""; position: absolute; left: 0; width: 46px; height: 3px;
  background: var(--accent-lead);
}
.shead::before, .hero-foot::before {
  content: ""; position: absolute; left: 52px; width: 15px; height: 3px;
  background: var(--accent-companion);
}
.shead::after, .shead::before { bottom: -1px; }
.hero-foot { position: relative; }
.hero-foot::after, .hero-foot::before { top: -1px; }
/* same key on the contact section's top rule, aligned to content */
.contact::after {
  content: ""; position: absolute; top: -1px; left: var(--pad-x);
  width: 46px; height: 3px; background: var(--accent-lead);
}
.contact::before {
  content: ""; position: absolute; top: -1px; left: calc(var(--pad-x) + 52px);
  width: 15px; height: 3px; background: var(--accent-companion);
}
.shead .l { text-align: left; }
.shead .m {
  text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em; color: var(--ink);
}
.shead .r { text-align: right; }

/* corner marginalia — the studio's annotations (edgework) */
.edge {
  position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  pointer-events: none;
}
.edge.tl { top: 18px; left: var(--pad-x); }
.edge.tr { top: 18px; right: var(--pad-x); text-align: right; }
.edge.bl { bottom: 18px; left: var(--pad-x); }
.edge.br { bottom: 18px; right: var(--pad-x); text-align: right; }

/* ===================================================================
   hero
   =================================================================== */
.hero {
  display: flex; flex-direction: column;
  padding: 26px var(--pad-x) 40px;
  overflow: hidden;
}
.hero .wrap { display: flex; flex-direction: column; }
.hero-titles { display: flex; flex-direction: column; padding-top: 7vh; }
.wordmark-line { display: block; }
/* shrink-wraps the wordmark so "designs" can right-align to its edge */
.wm-wrap { display: inline-flex; flex-direction: column; }
/* the complementary serif "designs", framed under "...poise." */
.wm-sub {
  position: relative;
  align-self: flex-end;            /* right edge tracks the wordmark */
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(30px, 6.6vw, 66px);
  line-height: 1;
  letter-spacing: 0;
  margin-right: .7em;              /* ends with a gap before the asterisk */
  margin-top: -.08em;
  color: var(--ink-2);
}

.hero-titles { position: relative; z-index: 3; align-self: end; padding-bottom: 8px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 92px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
}
/* asterisk in place of the full stop — teal, a touch smaller, raised */
.wordmark .dot {
  color: var(--accent-lead);
  font-size: .52em;
  vertical-align: .26em;
  margin-left: .04em;
}

/* ---- per-letter pun morph ----
   Only the two letters that differ between "on porpoise" and "on purpose"
   move: the first o → u, and the i drops out. Each gets highlighted (so
   you see it's about to change), a short glitch flip, then settles — slow
   and staggered so the change is legible. site.js drives it. */
.wordmark span { display: inline-block; vertical-align: baseline; }
.wordmark .sp { width: .26em; }
.wordmark .ch { position: relative; will-change: transform; transition: color .14s; }
.wordmark .ch.lit { color: var(--accent-companion); }   /* about to change */
.wordmark .ch.flip { animation: chflip .3s steps(3, jump-none); }
@keyframes chflip {
  0%   { transform: translateY(0)    skewX(0);    opacity: 1;   }
  30%  { transform: translateY(-3px) skewX(-18deg); opacity: .2; color: var(--accent-lead); }
  60%  { transform: translateY(3px)  skewX(15deg);  opacity: .2; color: var(--accent-companion); }
  100% { transform: none;            skewX(0);    opacity: 1;   }
}
/* the i: collapses to nothing (width driven from JS so metrics are exact).
   overflow is toggled in JS — hidden only while collapsing, visible at rest
   so the glyph sits on the baseline (clipped inline-blocks align by their
   bottom edge, which would leave it floating). */
.wordmark .drop { overflow: visible; }
.hero-tag {
  font-family: var(--font-text);
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 23px);
  color: var(--ink-2);
  margin-top: 14px;
}
.hero-foot {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; flex-wrap: wrap;
  border-top: var(--rule); padding-top: 14px; margin-top: 9vh;
  position: relative; z-index: 3;
}
.hero-foot .mono { max-width: 46ch; }

/* ===================================================================
   blurb
   =================================================================== */
/* three services, each a short neutral line */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.svc h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.01em;
  color: var(--ink); margin-bottom: 12px;
}
.svc p { font-family: var(--font-text); font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; gap: 30px; } }
/* small lead/companion key ornament above the blurb */
.blurb .key { display: block; position: relative; width: 46px; height: 3px; background: var(--accent-lead); margin-bottom: 26px; }
.blurb .key::after { content: ""; position: absolute; left: 52px; top: 0; width: 15px; height: 3px; background: var(--accent-companion); }

/* ===================================================================
   work
   =================================================================== */
/* ---- the reel: a 3D coverflow carousel + in-page lightbox ---- */
.cv-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.cv-tabs button {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line); padding: 7px 14px; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.cv-tabs button:hover { color: var(--ink); border-color: var(--ink-3); }
.cv-tabs button.on { color: var(--ground); background: var(--ink); border-color: var(--ink); }

.cv { position: relative; height: 360px; perspective: 1600px; user-select: none; touch-action: pan-y; margin-top: 18px; }
.cv-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cv-card {
  position: absolute; left: 50%; top: 50%;
  width: 340px; height: 240px; margin: -120px 0 0 -170px;
  background: var(--ground); border: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .55s, border-color .3s;
  will-change: transform; cursor: pointer; backface-visibility: hidden;
}
.cv-card.active { border-color: var(--ink); cursor: zoom-in; }
.cv-card.active::after { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 5px; background: var(--accent-lead); }
.cv-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cv-card.is-logoset { flex-direction: column; gap: 12px; padding: 20px; }
.cv-card.is-logoset img { width: auto; height: auto; max-width: 80%; max-height: 28%; object-fit: contain; }
.cv-card.is-name { padding: 18px; text-align: center; }
.cv-card.is-name span { font-size: clamp(20px, 2.2vw, 32px); line-height: 1.06; color: var(--ink); letter-spacing: -.01em; }

.cv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink-2);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s;
}
.cv-nav:hover { color: var(--ink); border-color: var(--ink); }
.cv-nav.prev { left: 0; }
.cv-nav.next { right: 0; }

.cv-meta { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 18px; text-align: center; }
.cv-meta b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.cv-meta .mono { color: var(--ink-3); }
.cv-meta #cv-tag.desc { font-family: var(--font-text); text-transform: none; letter-spacing: 0; color: var(--ink-2); font-size: 14px; max-width: 56ch; }
.cv-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.cv-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.cv-dots i.on { background: var(--accent-companion); transform: scale(1.35); }

/* lightbox — enlarge in place, stays on the page */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 5vw; background: color-mix(in srgb, var(--ground-2) 82%, transparent);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.show { opacity: 1; }
.lb-inner { max-width: 1040px; width: 100%; max-height: 88vh; overflow: auto; background: var(--ground); border: 1px solid var(--line); padding: 26px 30px 32px; }
.lb-inner img { max-width: 100%; display: block; }
.lb-close { position: fixed; top: 22px; right: 26px; z-index: 101; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #5e5566; background: transparent; color: #dcd7e0; font-size: 15px; cursor: pointer; }
.lb-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.lb-title b { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.lb-title .mono { color: var(--ink-3); }
.lb-shot { border: 1px solid var(--line); }
.lb-logos .row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 28px 4px; }
.lb-logos .row.favs { border-top: 1px solid var(--line); }
.lb-logos .row img { height: 88px; width: auto; }
.lb-logos .row.favs img { height: 50px; }
.lb-name { font-size: clamp(40px, 8vw, 96px); line-height: 1; color: var(--ink); letter-spacing: -.02em; text-align: center; padding: 26px 0 14px; }
.lb-desc { font-family: var(--font-text); font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 14px; max-width: 62ch; }

.work-note { margin-top: 22px; font-family: var(--font-text); font-size: 14px; color: var(--ink-3); text-align: center; }

@media (max-width: 600px) {
  .cv { height: 300px; }
  .cv-card { width: 264px; height: 188px; margin: -94px 0 0 -132px; }
  .cv-nav.prev { left: -6px; } .cv-nav.next { right: -6px; }
}

/* ===================================================================
   contact
   =================================================================== */
.contact .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.contact .pitch {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 6vw, 62px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--ink);
}
.contact .email {
  display: inline-block; margin-top: 22px;
  font-family: var(--font-text); font-size: clamp(20px, 3vw, 28px);
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 2px; transition: border-color .25s, color .25s;
}
.contact .email:hover { color: var(--accent-companion); border-color: var(--accent-companion); }
.contact .aside {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); line-height: 2; text-align: right;
}

/* edgework button — label anchored right */
.btn {
  display: inline-flex; align-items: center; justify-content: flex-end;
  gap: 10px; height: 46px; padding: 0 18px; min-width: 200px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ground);
  transition: background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--accent-companion); border-color: var(--accent-companion); }
.btn::after { content: "→"; }

/* ===================================================================
   footer
   =================================================================== */
.site-foot {
  background: var(--ground-2); color: #8c8195;
  padding: 40px var(--pad-x) 52px;
  border-top: 1px solid #2a232f;
}
.site-foot .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.site-foot .mark { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #dcd7e0; letter-spacing: -.01em; }
.site-foot .line {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: #5e5566; line-height: 2; text-align: right;
}
.site-foot .line .t { color: var(--accent-lead); }

/* ===================================================================
   load reveal (staggered) — disabled under reduced-motion
   =================================================================== */
.reveal { opacity: 0; transform: translateY(14px); }
.is-ready .reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.is-ready .reveal[data-d="1"] { animation-delay: .12s; }
.is-ready .reveal[data-d="2"] { animation-delay: .24s; }
.is-ready .reveal[data-d="3"] { animation-delay: .36s; }
.is-ready .reveal[data-d="4"] { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll-in for sections below the fold */
.inview { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.inview.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .inview { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wordmark .ch.flip { animation: none !important; }
}

/* ===================================================================
   responsive
   =================================================================== */
@media (max-width: 860px) {
  :root { --pad-x: 22px; }
  body { font-size: 17px; }
  section { padding: 56px var(--pad-x); }
  /* secondary corner annotations collide on narrow screens — keep the left one */
  .edge.tr, .edge.br { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 9.5px; letter-spacing: .12em; }
  .shead { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .shead .m, .shead .r { text-align: left; }
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .entry .num { padding-top: 0; }
  .entry .spec { height: 96px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .contact .aside { text-align: left; }
  .site-foot .wrap { gap: 18px; }
  .site-foot .line { text-align: left; }
}

@media (max-width: 420px) {
  .site-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-nav { flex-wrap: wrap; }
}

/* Project refresh: original palette, type and wordmark interaction retained. */
.dictionary{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.dictionary h2{font-family:var(--font-display);font-weight:700;font-size:clamp(48px,7vw,84px);line-height:1.05;letter-spacing:-.035em;color:var(--accent-companion)}
.dictionary h2>span{color:var(--accent-lead);font-size:.65em;vertical-align:top}
.pronunciation{font-size:18px;margin-top:20px}.pronunciation span{font-size:14px;color:var(--ink-2);margin-left:20px;font-style:italic}
.dictionary-copy>p{font-size:22px;line-height:1.6;max-width:40ch}.dictionary-copy .dictionary-note{margin-top:24px;font-size:17px;color:var(--ink-2)}
.dictionary-source{display:inline-block;margin-top:25px;font-size:12px;color:var(--accent-companion);text-decoration:underline;text-underline-offset:4px}
.dictionary-foot{font-size:16px;margin-top:35px;color:var(--ink-2)}.dictionary-foot em{font-family:'Caveat',cursive;font-size:29px;color:var(--accent-companion)}
.cv-meta .desc{max-width:65ch;margin-inline:auto;line-height:1.6}
.cv-dots button{width:8px;height:8px;border-radius:50%;padding:0;background:var(--line);border:0;cursor:pointer;position:relative}
.cv-dots button:before{content:'';position:absolute;inset:-8px}.cv-dots button.on{background:var(--accent-companion)}
.cv-card:focus-visible{outline:2px solid var(--accent-companion);outline-offset:8px}
.lightbox:not([open]){display:none}.lightbox[open]{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;color:var(--ink);overflow-y:auto}
.lightbox::backdrop{background:var(--ground)}body.lightbox-open{overflow:hidden}
.lb-inner .lb-desc{max-width:65ch;margin:24px auto 0}.lb-close:focus-visible{outline:2px solid var(--accent-companion);outline-offset:4px}
@media(max-width:700px){.dictionary{grid-template-columns:1fr;gap:30px}.dictionary-copy>p{font-size:19px}.dictionary-copy .dictionary-note{font-size:16px}.definition .shead .r{display:none}.site-nav{gap:15px}.site-nav a{font-size:10px}.cv-meta .desc{font-size:14px}.lb-inner .lb-desc{font-size:16px}}
@media(prefers-reduced-motion:reduce){.cv-card,.lightbox{transition:none!important}}

/* Work-first layout, using the original studio's visual language. */
.hero{padding-top:58px;padding-bottom:24px}.hero .wrap{width:100%;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:20px 50px;align-items:center}
.hero-titles{padding-top:0;align-self:center;justify-self:start}.wordmark{font-size:clamp(42px,6.3vw,82px);white-space:nowrap}.wm-sub{font-size:clamp(30px,4vw,54px)}
.hero-intro{padding:15px 0 0 26px;border-left:1px solid var(--line)}.hero-intro .hero-pitch{font-family:var(--font-display);font-size:clamp(23px,2.5vw,34px);font-weight:700;line-height:1.2;letter-spacing:-.025em}.hero-pitch span{color:var(--accent-companion)}
.hero-intro>p+p{font-size:16px;color:var(--ink-2);max-width:35ch;line-height:1.5;margin-top:18px}.hero-intro>a{display:inline-block;font-size:14px;color:var(--accent-companion);margin-top:16px;border-bottom:1px solid var(--accent-companion)}
.hero-foot{grid-column:1/-1;margin-top:20px;width:100%}.work{padding-top:32px;padding-bottom:50px;overflow:clip}.work .shead{margin-bottom:24px}.work .shead .m{font-size:24px}.cv{height:clamp(290px,38vw,490px);margin-top:10px}.cv-card{--piece-width:min(68vw,780px);width:var(--piece-width);height:calc(var(--piece-width)*.59);margin:calc(var(--piece-width)*-.295) 0 0 calc(var(--piece-width)*-.5)}
.cv-meta{margin-top:10px}.cv-meta b{font-size:27px}.cv-meta #cv-tag.desc{font-size:17px;max-width:68ch;min-height:3em}.cv-card.is-name span{font-size:clamp(32px,5vw,65px)}
.cv-dots{gap:9px 24px;flex-wrap:wrap;margin-top:24px}.cv-dots button{width:auto;height:auto;min-height:36px;border-radius:0;background:none;font-family:var(--font-mono);font-size:12px;line-height:1.5;color:var(--ink-2);border-bottom:2px solid transparent;padding:7px 0}
.cv-dots button:before{content:none}.cv-dots button.on{background:none;border-color:var(--accent-lead);color:var(--accent-companion)}.work-note{font-size:12px;margin-top:20px}
.blurb{padding-block:42px}.blurb .key{margin-bottom:20px}.svc h3{font-size:23px}.definition{padding-block:50px}.definition .shead{margin-bottom:32px}.dictionary-copy>p{font-size:20px}.dictionary-copy .dictionary-note{font-size:16px}
.site-head{background:var(--ground);backdrop-filter:none}.lightbox{backdrop-filter:none}.site-nav a{font-size:12px;letter-spacing:.08em}.mono-sm,.edge{color:var(--ink-2)}
html{scroll-padding-top:85px}.reveal,.inview{opacity:1;transform:none}
@media(max-width:1050px){.hero .wrap{grid-template-columns:1fr 1fr;gap:20px 25px}.wordmark{font-size:5.9vw}.hero-intro{padding-left:20px}.hero-intro .hero-pitch{font-size:25px}.hero-intro>p+p{font-size:15px}}
@media(max-width:700px){.hero{padding-top:42px}.hero .wrap{display:block}.hero-titles{display:block}.wordmark{font-size:clamp(36px,9vw,60px)}.wm-sub{font-size:40px}.hero-intro{border-left:0;padding:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px}.hero-intro .hero-pitch{font-size:22px}.hero-intro>p+p{margin:0;font-size:14px}.hero-intro>a{grid-column:2;margin:0;font-size:12px;width:max-content}.hero-foot{margin-top:25px}.cv{height:clamp(235px,51vw,370px)}.cv-card{--piece-width:76vw}.cv-nav{width:34px;height:34px}.cv-meta b{font-size:23px}.cv-meta #cv-tag.desc{font-size:15px;min-height:5em}.cv-dots{gap:8px 18px}.cv-dots button{font-size:11px}.work .shead{grid-template-columns:1fr auto;gap:8px}.work .shead .l{grid-column:1/-1}.work .shead .r{font-size:9px}.work .shead .m{font-size:21px}.services{gap:24px}.svc h3{margin-bottom:6px;font-size:21px}.dictionary h2{font-size:57px}.dictionary-copy>p{font-size:19px}.dictionary-foot{margin-top:22px}.lb-title{display:block}.lb-title .mono{display:block;margin-top:8px}.lb-inner{padding:20px}.lb-close{top:10px;right:10px;background:var(--ground-2)}}
@media(max-width:420px){.site-head{flex-direction:row;align-items:center;gap:10px;padding-block:14px}.site-head .brand{font-size:15px}.site-nav{gap:12px}.site-nav a{font-size:10px;letter-spacing:0}.hero-intro{grid-template-columns:1fr}.hero-intro>a{grid-column:1}.hero-intro>p+p{max-width:36ch}.hero-foot{gap:12px}.dictionary-source{font-size:11px}}
/* A digital museum: generous exhibits, small labels, discoverable provenance. */
[hidden]{display:none!important}.detail-work{padding:28px var(--pad-x) 52px;border-top:0}.detail-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.detail-heading h2{font-family:var(--font-display);font-weight:700;font-size:clamp(28px,3.2vw,42px);letter-spacing:-.035em;line-height:1.2;margin-top:9px}.detail-heading h2>span{color:var(--accent-lead);margin-left:2px}.detail-heading>p{font-size:15px;color:var(--ink-2);line-height:1.6}.detail-tool{display:grid;grid-template-columns:205px minmax(0,1fr);gap:30px}.specimen-list{padding-top:48px;display:flex;flex-direction:column;gap:5px;align-self:start}.specimen-choice{display:grid;grid-template-columns:23px minmax(0,1fr) 12px;gap:7px;padding:15px 0;text-align:left;font:15px/1.4 var(--font-text);color:var(--ink-2);border:0;border-bottom:1px solid var(--line);background:none;cursor:pointer}.choice-num{font-size:11px;color:var(--ink-3);padding-top:3px}.specimen-choice small{display:block;font:10px/1.6 var(--font-mono);color:var(--ink-2);margin-top:4px}.choice-dot{font-size:14px;opacity:0}.specimen-choice[aria-pressed=true]{color:var(--accent-companion)}.specimen-choice[aria-pressed=true] .choice-dot{opacity:1;color:var(--accent-companion)}.specimen-choice[aria-pressed=true] .choice-num{color:var(--accent-companion)}.specimen-choice:hover{color:var(--accent-companion)}.specimen-main{min-width:0}.specimen-toolbar{height:47px;display:flex;align-items:center;justify-content:space-between;gap:15px;font:11px var(--font-mono);color:var(--ink-2);border-top:1px solid var(--line)}.specimen-toolbar>div{display:flex;gap:12px}.specimen-toolbar button{border:0;background:none;font:22px var(--font-text);color:var(--accent-companion);cursor:pointer;width:32px;min-height:40px}.specimen-stage{height:clamp(420px,43vw,660px);position:relative;overflow:hidden;isolation:isolate;touch-action:pan-y;cursor:grab}.specimen-stage.is-dragging{cursor:grabbing}.specimen-stage.is-live{cursor:auto;touch-action:auto}.specimen-stage>img{width:100%;height:100%;object-fit:contain;will-change:transform;user-select:none}.specimen-stage>iframe{display:block;width:100%;height:100%;border:0;background:var(--ground)}.specimen-stage[data-exhibit=repair]{background:#e6dbce}.image-controls{display:flex;align-items:center;gap:22px;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.image-controls label{display:flex;align-items:center;gap:10px}.image-controls input{width:110px;accent-color:var(--accent-companion)}.image-controls output{min-width:32px}.image-controls>span{font-size:10px;color:var(--ink-2)}.image-controls button,.detail-caption>button{font:12px var(--font-text);color:var(--accent-companion);border:0;border-bottom:1px solid var(--accent-companion);padding:7px 0;background:none;cursor:pointer;white-space:nowrap}.detail-caption{display:flex;justify-content:space-between;gap:30px;align-items:start;padding-top:23px}.detail-caption h3{font:700 24px/1.2 var(--font-display);letter-spacing:-.02em}.detail-caption p{font:16px/1.65 var(--font-text);max-width:65ch;color:var(--ink-2);margin-top:12px}.detail-caption>button{margin-top:3px}.detail-caption>button span{margin-left:10px}.detail-origin{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.detail-origin h4{font:700 22px var(--font-display);margin:8px 0 15px;color:var(--accent-companion)}.detail-origin p{font-size:15px;line-height:1.6}.origin-credit{font:10px var(--font-mono);display:block;margin-top:17px;color:var(--ink-2)}.detail-origin>img{width:100%;max-height:280px;object-fit:contain;object-position:top}.explorer-foot{font:20px 'Caveat',cursive;color:var(--ink-2);margin:25px 0 0 235px}#image-error{position:absolute;inset:40% 10%;text-align:center;background:var(--ground);padding:20px;font-size:15px}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--accent-companion);outline-offset:5px}
@media(max-width:1050px){.detail-tool{grid-template-columns:165px minmax(0,1fr);gap:22px}.specimen-choice{font-size:14px;grid-template-columns:19px minmax(0,1fr) 10px;gap:5px}.detail-caption{display:block}.detail-caption>button{margin-top:16px}.explorer-foot{margin-left:187px}.specimen-stage{height:510px}.image-controls{gap:12px}.image-controls>span{display:none}}
@media(max-width:700px){.detail-work{padding-top:20px}.detail-heading{display:block;margin-bottom:17px}.detail-heading>p{font-size:13px;margin-top:12px}.detail-heading>p br{display:none}.detail-heading h2{font-size:31px}.detail-tool{display:block}.specimen-list{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding-top:0;margin-bottom:20px}.specimen-choice{font-size:13px;padding:12px 0}.specimen-choice small{font-size:9px}.specimen-toolbar{font-size:10px}.specimen-stage{height:510px}.specimen-stage:not(.is-live){height:380px}.detail-caption h3{font-size:23px}.detail-caption p{font-size:15px}.detail-origin{grid-template-columns:1fr}.detail-origin>img{max-height:310px}.explorer-foot{margin-left:0}.image-controls{font-size:11px;gap:10px}.image-controls input{width:80px}.image-controls button{font-size:11px}}

.site-nav a.contact::before{display:none}.site-nav a.contact::after{top:auto;left:0;width:auto;height:1px}
.specimen-toolbar #give-room{font:11px var(--font-text);width:auto;white-space:nowrap}.detail-tool.expanded{grid-template-columns:minmax(0,1fr)}.detail-tool.expanded .specimen-list{display:none}.detail-tool.expanded .specimen-stage{height:75vh;min-height:500px}.detail-tool.expanded .specimen-caption{max-width:90ch}@media(max-width:700px){.specimen-toolbar #specimen-kind{display:none}.detail-tool.expanded .specimen-stage{height:65vh;min-height:460px}}

/* A dictionary leaf, with two natural-history plates. */
.definition{padding-block:65px 55px}.dictionary-masthead{display:flex;justify-content:space-between;gap:20px;border-block:1px solid var(--ink);padding:12px 0;font:10px/1.6 var(--font-mono);letter-spacing:.08em;text-transform:uppercase}.psa-title{font:italic 25px/1.4 Georgia,serif;margin:28px 0 34px}.dictionary{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:65px}.dictionary h2{font:700 clamp(48px,6vw,76px)/1 Georgia,serif;color:var(--ink);letter-spacing:-.05em}.dictionary .pronunciation{font:18px/1.7 Georgia,serif;margin-top:15px}.pronunciation i{margin-left:12px}.dictionary .pronunciation span{display:block;margin:2px 0 0;font-size:15px;font-style:normal}.lexical-definition,.usage-note,.etymology p{font:19px/1.6 Georgia,serif}.lexical-definition{margin-top:29px}.lexical-definition>b{padding-right:10px}.usage-note{font-size:17px;color:var(--ink-2);margin-top:22px}.etymology{border-top:1px solid var(--line);padding-top:20px;margin-top:30px}.etymology h3{font:small-caps 700 15px Georgia,serif;letter-spacing:.07em;margin-bottom:10px}.etymology p{font-size:17px}.etymology .etymology-aside{font-style:italic;font-size:15px;margin-top:9px;color:var(--ink-2)}.animal-plates{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-content:start}.animal-plates figure{margin:0}.animal-plates img{display:block;width:100%;height:185px;object-fit:cover}.animal-plates figure:first-child img{object-position:57% center}.animal-plates figure:nth-child(2) img{object-position:50% center}.animal-plates figcaption{font:14px/1.5 Georgia,serif;margin-top:13px}.animal-plates figcaption>*{display:block}.animal-plates figcaption strong{font-size:21px;margin:5px 0}.animal-plates figcaption em{font-size:12px;color:var(--ink-2);margin-bottom:12px}.plate-number{font:10px var(--font-mono);color:var(--accent-companion)}.plate-note{grid-column:1/-1;font:11px/1.5 Georgia,serif;color:var(--ink-2);font-style:italic}.dictionary-colophon{border-top:1px solid var(--ink);margin-top:38px;padding-top:18px;display:flex;justify-content:space-between;gap:20px}.dictionary-colophon>p:first-child{font:italic 17px/1.5 Georgia,serif}.dictionary-colophon>p:last-child{font:10px/1.9 var(--font-mono);max-width:52ch}.dictionary-colophon a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1050px){.dictionary{gap:35px;grid-template-columns:1fr 1fr}.animal-plates{grid-template-columns:1fr}.animal-plates figure{display:grid;grid-template-columns:1fr 1fr;gap:14px}.animal-plates img{height:140px}.animal-plates figcaption{margin-top:0}.animal-plates figcaption strong{font-size:20px}.dictionary-colophon{display:block}.dictionary-colophon>p+p{margin-top:12px}}
@media(max-width:700px){.dictionary{grid-template-columns:1fr;gap:32px}.dictionary-masthead{font-size:9px}.dictionary h2{font-size:62px}.psa-title{margin:22px 0 30px}.animal-plates img{height:150px}.dictionary-colophon{margin-top:27px}.definition{padding-top:40px}}
.animal-plates{grid-template-columns:1fr}.animal-plates figure{display:block}.animal-plates img{height:auto;max-height:200px;object-fit:contain;object-position:left center!important}.animal-plates figcaption{margin-top:10px}.animal-plates figcaption .plate-number{display:inline;margin-right:10px}.animal-plates figcaption strong{display:inline;font-size:20px}.animal-plates figcaption em{margin:5px 0}.animal-plates figcaption>span:last-child{font-size:13px}.animal-plates{gap:24px}

/* A compact dictionary note belongs to the landing page. */
.landing-definition{padding:23px var(--pad-x) 30px;border-top:0}.landing-definition>.wrap{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.5fr);gap:45px;border-top:1px solid var(--line);padding-top:22px}.definition-kicker{font:9px var(--font-mono);color:var(--ink-2);letter-spacing:.09em}.headword-line{display:flex;align-items:baseline;gap:15px;margin:12px 0}.headword-line h2{font:700 40px/1 Georgia,serif;letter-spacing:-.035em}.headword-line>span{font:13px Georgia,serif;white-space:nowrap}.landing-meaning,.name-explainer{font:16px/1.5 Georgia,serif;max-width:44ch}.landing-meaning b{margin-right:5px}.name-explainer{margin-top:10px}.landing-etymology{font:12px/1.5 Georgia,serif;color:var(--ink-2);margin-top:15px;max-width:53ch}.scientific-comparison{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;align-content:center}.specimen-plate{margin:0;min-width:0}.plate-image{position:relative;aspect-ratio:2/1;overflow:hidden}.plate-image img{position:absolute;width:200%;height:100%;max-width:none;object-fit:fill;left:0;top:0}.dolphin-plate .plate-image img{left:-100%}.plate-image svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:var(--ink-2)}.plate-image svg path{fill:none;stroke:#847e8b;stroke-width:.6}.plate-image svg text{font:10px Georgia,serif;font-style:italic}.specimen-plate figcaption{font:11px/1.6 Georgia,serif;border-top:1px solid var(--line);padding-top:9px}.specimen-plate figcaption strong{font-weight:400}.specimen-plate figcaption em{display:block;font-size:10px;color:var(--ink-2)}.comparison-source{grid-column:1/-1;font:9px/1.6 Georgia,serif;color:var(--ink-2);margin-top:14px}.comparison-source a{text-decoration:underline;text-underline-offset:3px}.hero{padding-top:40px}.hero-foot{margin-top:7px}.hero-foot:before{display:none}
@media(max-width:1050px){.landing-definition>.wrap{grid-template-columns:minmax(225px,.8fr) minmax(0,1.2fr);gap:28px}.scientific-comparison{gap:0 12px}.headword-line{flex-wrap:wrap;gap:7px}.headword-line h2{font-size:36px}.landing-meaning,.name-explainer{font-size:15px}.plate-image svg text{font-size:12px}}
@media(max-width:700px){.landing-definition>.wrap{grid-template-columns:1fr;gap:16px}.landing-definition{padding-block:15px 28px}.headword-line{flex-wrap:nowrap}.headword-line h2{font-size:35px}.landing-meaning,.name-explainer{max-width:65ch}.landing-etymology{max-width:65ch;margin-top:10px}.scientific-comparison{gap:0 15px}.comparison-source{font-size:9px}.plate-image svg text{font-size:12px}.hero{padding-top:30px}}

.plate-image img{mix-blend-mode:multiply}.plate-image svg{fill:#6025b3}.plate-image svg path{stroke:#6025b3;stroke-width:.85;stroke-linecap:round;stroke-linejoin:round;opacity:.8}.plate-image svg circle{fill:#0be2d0}.plate-image svg .ink-pool{fill:#0be2d0;stroke:none;opacity:.8}.plate-image svg .ink-wash{fill:#0be2d0;opacity:.14}.plate-image svg text{font-family:'Caveat',cursive;font-size:15px;font-style:normal}.plate-image{aspect-ratio:1.5/1}.plate-image img{object-fit:contain}@media(max-width:1050px){.plate-image svg text{font-size:17px}}
.plate-image svg text{font-size:22px}.plate-image svg .ink-wash{opacity:.2}

.curators-note{display:grid;grid-template-columns:205px minmax(0,1fr);gap:30px;margin:0 0 30px;padding:0 0 23px;border-bottom:1px solid var(--line)}.curators-note h3{font:italic 19px/1.4 Georgia,serif;color:var(--accent-companion);font-weight:400}.curators-note p{font:16px/1.65 Georgia,serif;max-width:82ch;color:var(--ink-2)}@media(max-width:1050px){.curators-note{grid-template-columns:165px minmax(0,1fr);gap:22px}}@media(max-width:700px){.curators-note{grid-template-columns:1fr;gap:9px;margin-bottom:16px;padding-bottom:19px}.curators-note p{font-size:15px}}

/* A marginal correction, using the same pen colours as the specimen notes. */
.porpoise-correction{height:47px;margin-top:-9px;position:relative}.porpoise-correction svg{height:60px;width:100%;overflow:visible}.correction-arrow,.correction-x{fill:none;stroke:var(--accent-companion);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.correction-x{stroke-width:2.7}.correction-wash{fill:none;stroke:var(--accent-lead);stroke-width:7;stroke-linecap:round;opacity:.25}.porpoise-correction text{font:27px 'Caveat',cursive;fill:var(--accent-companion)}.scientific-comparison .dolphin-plate figcaption{margin-top:48px}.site-nav a[aria-current=page]{color:var(--accent-companion)}
.other-hero{padding-top:68px;padding-bottom:45px}.other-hero>.wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:12px 70px;align-items:end}.other-hero .mono{grid-column:1/-1}.other-hero h1{font:700 clamp(45px,6.8vw,86px)/1.04 var(--font-display);letter-spacing:-.04em}.other-hero h1>span{color:var(--accent-lead)}.other-intro{padding-bottom:9px}.other-intro>p{font:18px/1.7 var(--font-text);max-width:35ch}.other-intro .other-handwritten{font:27px/1.5 'Caveat',cursive;color:var(--accent-companion);margin-top:16px}.other-selection{padding-block:20px 35px}.other-selection>.wrap{display:grid;grid-template-columns:1.08fr 1fr;gap:58px 65px;align-items:start}.other-picture{display:block;position:relative}.other-picture>img{width:100%;height:auto}.other-caption{padding-top:19px}.other-caption h2{font:700 31px/1.15 var(--font-display);letter-spacing:-.025em;margin-top:10px}.other-caption p{font:16px/1.7 var(--font-text);margin-top:10px;color:var(--ink-2)}.other-caption>a{display:inline-block;font-size:13px;color:var(--accent-companion);border-bottom:1px solid var(--accent-companion);margin-top:18px;padding-bottom:3px}.science-selection{padding-top:30px;border-top:1px solid var(--line);margin-top:50px}.science-selection .other-caption{padding:0}.science-selection h2{font-size:clamp(33px,4vw,52px)}.research-example{display:block;border-block:1px solid var(--line);padding:24px 0;margin-top:30px}.research-example h3{font:25px/1.3 Georgia,serif;margin:13px 0 10px}.research-example>p{font:17px/1.5 Georgia,serif}.research-citation{display:block;font:12px/1.7 var(--font-text);margin-top:17px;color:var(--ink-2)}.film-selection{grid-column:1/-1;display:grid;grid-template-columns:1.08fr 1fr;gap:65px;align-items:center}.film-play{position:absolute;bottom:14px;right:16px;font-size:25px;color:white}.other-index{padding-block:40px 65px}.other-index>.wrap{border-top:1px solid var(--line);padding-top:32px;display:grid;grid-template-columns:1.08fr 1fr;gap:65px}.other-index h2{font:700 24px/1.3 var(--font-display)}.other-index p{font:17px/1.7 Georgia,serif;color:var(--ink-2);margin-top:16px;max-width:53ch}.other-index nav{display:flex;flex-direction:column}.other-index nav>a{font-size:14px;border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:12px}.other-index nav>a span{color:var(--accent-companion)}.other-things-page .site-foot a{font-size:12px}
@media(max-width:700px){.other-hero{padding-top:40px;padding-bottom:28px}.other-hero>.wrap{grid-template-columns:1fr;gap:18px}.other-hero h1{font-size:54px}.other-intro>p{font-size:16px}.other-intro .other-handwritten{margin-top:8px;font-size:25px}.other-selection>.wrap,.film-selection,.other-index>.wrap{grid-template-columns:1fr;gap:35px}.science-selection{margin-top:0;padding-top:25px}.film-selection{gap:0}.other-caption h2{font-size:29px}.other-index{padding-top:10px}.other-index>.wrap{gap:22px}.other-things-page .site-head{align-items:flex-start}.other-things-page .site-nav{flex-wrap:wrap;justify-content:flex-end;row-gap:4px}.other-things-page .brand{flex-shrink:0}.site-nav{column-gap:12px}.site-nav a{letter-spacing:0}}

.other-selection.no-art .science-selection{grid-column:1/-1;display:grid;grid-template-columns:1.08fr 1fr;gap:65px;margin-top:0;padding-top:25px}.other-selection.no-art .research-example{margin-top:0;border-top:0;padding-top:0}@media(max-width:700px){.other-selection.no-art .science-selection{grid-template-columns:1fr;gap:25px}}
