/* ===========================================================================
   Home v2: a constellation of clay figures.

   Three orbits around her. The inner one is who she is, the next is the
   featured work, the outer one is everything made outside the screen.
   Placement is polar, so a node only needs an angle, a radius and a scale.
   Draft only: nothing here is loaded by the live homepage.
   =========================================================================== */

.hv2 {
  --hv2-paper: #f7f4ef;
  /* Four grounds to look at. The shadows are the reason this matters: a
     surface lighter than the clay has nothing for them to fall on, so each
     paper carries its own shadow strength and its own capsule fill. */
  --hv2-cream: #fdfaf5;
  --hv2-cta-bg: 255, 255, 255;
  --hv2-shade: 62, 50, 38;
  --hv2-ink: #2b241e;
  --hv2-soft: #6d6258;
  --hv2-line: rgba(43, 36, 30, 0.14);
  --hv2-violet: #8b7fd4;
  --hv2-violet-deep: #5f539e;
  --hv2-violet-soft: rgba(139, 127, 212, 0.14);
  --hv2-ease: cubic-bezier(.22, 1, .36, 1);

  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  display: grid;
  /* header, field, footer. There used to be a draft bar in front of these,
     and with it gone a four-row grid handed the stretch row to the footer. */
  grid-template-rows: auto 1fr auto;
  /* A deeper cream than the rest of the site. The figures are objects lying
     on a surface here, and a surface has to be darker than the thing on it or
     the shadows have nothing to fall on. */
  background: var(--hv2-cream);
  color: var(--hv2-ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  overflow-x: clip;
}
html:has(> .hv2) { overflow-x: clip; background: var(--hv2-cream, #fff); }

.hv2[data-paper="white"]  { --hv2-cream: #ffffff; --hv2-cta-bg: 249, 246, 240; }
.hv2[data-paper="paper"]  { --hv2-cream: #fdfaf5; --hv2-cta-bg: 255, 255, 255; }
.hv2[data-paper="light"]  { --hv2-cream: #f8f4ec; --hv2-cta-bg: 255, 253, 249; }
.hv2[data-paper="cream"]  { --hv2-cream: #f3eee4; --hv2-cta-bg: 255, 253, 249; }
/* style.css paints the site's paper over everything; this page has its own. */
.hv2::before { content: none; }
body.hv2 { isolation: auto; }

/* ---------- the field ----------------------------------------------------- */

.hv2-sky {
  position: relative; z-index: 1;
  min-height: 0;
  padding: 0;
}
/* The field is the whole stage now, so the orbits are ellipses that reach the
   edges of the screen rather than a circle parked in the middle. */
.hv2-field {
  position: relative;
  container-type: inline-size;
  width: 100%;
  min-height: 300px;
}


/* ---------- a node -------------------------------------------------------- */


.hv2-node {
  position: absolute;
  left: calc(50% + var(--x) * 1%);
  top: calc(50% + var(--y) * 1%);
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -100%);
  /* While one figure is lit the rest make room, moving out from it. The
     push is its own property, so it never fights the positioning above. */
  translate: var(--push-x, 0px) var(--push-y, 0px);
  /* This is the way back: when the hover ends, the field comes up slowly
     and the figures drift home, rather than snapping. */
  transition: opacity 1.1s var(--hv2-ease), translate .9s var(--hv2-ease);
}
.hv2-node-inner {
  position: relative;
  display: block;
  width: auto;
  transform-origin: 50% 85%;
  transition: scale .45s var(--hv2-ease), filter .45s var(--hv2-ease);
}
.hv2-node img {
  /* Her box, exactly: both sides come from the Figma frame and the art is
     fitted inside without being stretched to it. */
  display: block;
  width: var(--figw, auto);
  height: var(--figh, 90px);
  object-fit: contain; object-position: bottom center;
  /* Two shadows, not one. A tight near shadow gives the figure its weight and
     a wide far one gives the room its light; a single blob reads as a sticker
     with a smudge under it. */
  filter:
    drop-shadow(0 5px 6px rgba(43, 36, 30, .17))
    drop-shadow(0 16px 26px rgba(43, 36, 30, .085));
  transition: filter .45s var(--hv2-ease);
  -webkit-user-drag: none; user-select: none;
}
.hv2-node-label {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  margin-top: .3rem;
  font-size: clamp(.58rem, calc(var(--figh, 90px) * .1), .8rem);
  font-weight: 600; letter-spacing: .02em; color: var(--hv2-soft);
  opacity: 0; translate: -50% -3px;
  transition: opacity .4s var(--hv2-ease), translate .4s var(--hv2-ease);
  white-space: nowrap;
}
.hv2-node:hover, .hv2-node:focus-visible { z-index: 900 !important; }
.hv2-node:hover .hv2-node-inner,
.hv2-node:focus-visible .hv2-node-inner { scale: 1.13; }

.hv2-node:hover img,
.hv2-node:focus-visible img {
  filter:
    drop-shadow(9px 11px 8px rgba(var(--hv2-shade), .16))
    drop-shadow(28px 34px 38px rgba(var(--hv2-shade), .13));
}
.hv2-node:hover .hv2-node-label,
.hv2-node:focus-visible .hv2-node-label { opacity: 1; translate: -50% 0; }
.hv2-node:focus-visible { outline: none; }
.hv2-node:focus-visible .hv2-node-inner::after {
  content: ""; position: absolute; inset: -12%;
  border: 2px solid var(--hv2-violet-deep); border-radius: 1rem;
}

/* The centre sits still, larger, and never floats away from the middle. */
/* Left over from the version with orbits: it put her chip in a serif and
   pinned its offset, which fought the tag system and the art-centring. */
.hv2-node-centre { --x: 0; --y: 0; }

/* One figure at a time: the one under the cursor stays lit and everything
   else steps back. It is the figure itself that dims, not its rank, so
   nothing lights up in sympathy with the one being read. */
.hv2-field.is-reading .hv2-node {
  opacity: .12;
  transition: opacity .4s var(--hv2-ease), translate .6s var(--hv2-ease);
}
.hv2-field.is-reading .hv2-node.is-active { opacity: 1; }

/* A node whose clay pose is still a stand-in. */
.hv2-field.show-todo .hv2-node[data-todo] .hv2-node-inner {
  outline: 1px dashed #c89a3c; outline-offset: 6px; border-radius: .8rem;
}

/* ---------- the hover card ------------------------------------------------ */

/* Landscape, roughly four to three, with the picture across the top at the
   ratio the old homepage used for the same images. Frosted rather than solid:
   it sits over the figures, so letting them through keeps it on the page
   instead of on top of it. */
/* The card is the picture. The words lie along its foot on a frosted strip,
   so the whole thing can be smaller and still show the work bigger. The
   shadow is tinted with the figure's own colour, which is what makes one
   land differently from the next. */
.hv2-card {
  position: fixed; z-index: 6;
  width: min(23rem, 84vw); aspect-ratio: 1.15 / 1;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  overflow: hidden; isolation: isolate;
  border-radius: .95rem;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow:
    0 26px 58px -20px color-mix(in srgb, var(--accent, #2b241e) 62%, transparent),
    0 6px 16px -6px rgba(43, 36, 30, .3);
  /* It can be clicked now, so it also has to stay open while the cursor is
     on it, which the close delay in the script handles. */
  pointer-events: auto;
  opacity: 0;
  transition: opacity .2s var(--hv2-ease);
}
.hv2-card:not(.is-open) { pointer-events: none; }
.hv2-card.has-link { cursor: pointer; }
.hv2-card.is-open { opacity: 1; }
/* 2.3 to 1, the ratio the live homepage shows these same pictures at. The
   frame holds every shot that figure has and shows one at a time. */
.hv2-card-stack {
  position: absolute; inset: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent, #8b7fd4) 9%, #f4f0e9);
}
.hv2-card-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .75s var(--hv2-ease);
}
.hv2-card-shot.is-on { opacity: 1; }
/* The ones with no project picture show their own clay figure instead, which
   has to sit in the frame rather than fill it. */
.hv2-card-stack.is-art .hv2-card-shot { object-fit: contain; padding: .45rem 0; }

/* The four case studies are landscape, because their pictures are. Everything
   else is a portrait frame, which suits a photograph of a person or a desk. */
.hv2-card.is-portrait { width: min(15rem, 62vw); aspect-ratio: 4 / 5; }
/* Nothing to click, so it asks for less room. */
.hv2-card.is-quiet { width: min(12rem, 50vw); }
/* A clay pose is wider than it is tall, so a 4 by 5 frame would leave it
   swimming. It gets a square. */
.hv2-card.is-portrait:has(.is-art) { aspect-ratio: 1 / 1; }

/* One cue, in one place, in one grey. It followed each figure before, which
   meant it moved every time the cursor did and coloured itself differently
   each time. It is an instruction, so it holds still and stays quiet, and it
   stands where the call to action used to, which the layout already keeps
   clear of the figures. */
.hv2-cue.hv2-cta {
  /* Over her portrait, on the page's own middle. Only the top comes from the
     script; the width is the line's own and the centring is here. */
  left: 50%; top: var(--cta-y, 18%);
  width: max-content; height: auto;
  background: none; box-shadow: none; backdrop-filter: none;
  border-radius: 0;
  margin: 0; padding: 0; pointer-events: none;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: var(--cta-fs, 1.1rem);
  font-weight: 600; letter-spacing: .005em; line-height: 1.2;
  color: rgba(var(--hv2-shade), .78);
  opacity: 0; translate: -50% 5px;
  transition: opacity .3s var(--hv2-ease), translate .3s var(--hv2-ease);
}
.hv2-cue.is-on { opacity: 1; translate: -50% 0; transition-delay: 80ms; }
/* Parked. Everything that places it is still here; take this line out to
   bring the line of type back over her portrait. */
.hv2-cue.hv2-cta { display: none; }

/* ---- it arrives rather than appears -------------------------------------
   The picture settles out of a slight push-in, the lines come up one after
   another, and a single pass of light crosses the glass. Everything inside
   the card is rebuilt on each hover, so each of these plays again. */

@keyframes hv2-rise {
  from { opacity: 0; translate: 0 9px; }
  to   { opacity: 1; translate: 0 0; }
}
/* The card lands from the direction of the figure it belongs to, with a
   little overshoot, so it reads as having come out of that figure. */
@keyframes hv2-land {
  0%   { opacity: 0; scale: .84; translate: var(--from, 0 14px); }
  62%  { opacity: 1; scale: 1.022; translate: 0 0; }
  100% { opacity: 1; scale: 1; translate: 0 0; }
}

.hv2-card.is-pop { animation: hv2-land 480ms cubic-bezier(.2, .9, .25, 1.06) both; }
.hv2-card-kicker { animation: hv2-rise 440ms var(--hv2-ease) both 70ms; }
.hv2-card-title  { animation: hv2-rise 440ms var(--hv2-ease) both 125ms; }
.hv2-card-text   { animation: hv2-rise 440ms var(--hv2-ease) both 180ms; }

.hv2-card-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; align-items: flex-end; gap: .6rem;
  padding: 2.2rem .9rem .85rem;
  color: #fff;
  background: linear-gradient(to top,
    rgba(24, 19, 15, .9) 0%, rgba(24, 19, 15, .66) 52%, transparent 100%);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  backdrop-filter: blur(7px) saturate(1.2);
  -webkit-mask-image: linear-gradient(to top, #000 62%, transparent 100%);
  mask-image: linear-gradient(to top, #000 62%, transparent 100%);
}
.hv2-card-copy { flex: 1 1 auto; min-width: 0; }
.hv2-card-kicker {
  margin: 0 0 .32rem; font-size: .6rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent, #fff) 55%, #fff);
}
.hv2-card-title {
  margin: 0 0 .18rem; font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem; font-weight: 600; line-height: 1.04; color: #fff;
}
.hv2-card-text {
  margin: 0; font-size: .82rem; line-height: 1.42;
  color: rgba(255, 255, 255, .86);
}
/* The small arrow the clickable ones used to carry. */
.hv2-card-go {
  flex: none; align-self: flex-end; margin-bottom: .1rem;
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #1c1710;
  font-size: .8rem; line-height: 1;
}

.hv2-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.hv2-card-tags span {
  border: 1px solid var(--hv2-line); border-radius: 999px; padding: .22rem .6rem;
  font-size: .72rem; color: var(--hv2-soft); background: rgba(139,127,212,.06);
}
.hv2-card-todo {
  margin: .7rem 0 0; padding-top: .6rem; border-top: 1px dashed #e0bd7c;
  font-size: .76rem; line-height: 1.45; color: #7a4a00;
}

/* ---------- footer and the draft bar -------------------------------------- */

.hv2-field.is-reading .hv2-cta { opacity: .38; transition: opacity .4s var(--hv2-ease); }

.hv2-foot { position: relative; z-index: 2; }
.hv2-draftbar {
  position: sticky; top: 0; z-index: 9;
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  padding: .5rem clamp(1rem, 3.5vw, 2.6rem);
  background: var(--hv2-violet-deep); color: #fff; font-size: .78rem;
}
.hv2-draftbar b { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.hv2-draftbar button {
  margin-left: auto; border: 1px solid rgba(255,255,255,.45); background: transparent;
  color: #fff; border-radius: 999px; padding: .2rem .7rem; cursor: pointer;
  font: inherit; font-size: .72rem; font-weight: 600;
}
.hv2-draftbar button:hover { background: #fff; color: var(--hv2-violet-deep); }

/* ---------- narrower screens ---------------------------------------------- */

/* ---------- a phone ------------------------------------------------------- */

@media (max-width: 760px) {
  /* The draft bar is three lines of diagnostics on a phone, and every line of
     it is height the figures do not get. */
  .hv2-draftbar { font-size: .62rem; padding: .35rem .8rem; gap: .5rem; }
  .hv2-draftbar button { font-size: .6rem; padding: .15rem .55rem; }
  .hv2 .site-header { padding-block: .35rem; }
  .hv2-foot { font-size: .7rem; padding-block: .5rem; }
  .hv2-card { width: min(20rem, 88vw); }
  /* Touch has no hover, so the card never opens; the tag is the only label a
     phone gets and it should be legible. */
  .hv2-node-label { letter-spacing: .01em; }
}

@media (prefers-reduced-motion: reduce) {
  .hv2-node-inner { animation: none; }
  .hv2-card, .hv2-node-inner { transition: none; }
  .hv2-card, .hv2-card-shot, .hv2-card-kicker, .hv2-card-title,
  .hv2-card-text { animation: none; }
}

/* ===========================================================================
   What a click will do, said before it is clicked.

   Eighteen of the nineteen figures open a page. The centre is the one that
   does not: it lights the inner ring instead. A figure that opens something
   lifts onto a soft plate on hover and its card ends with where it goes;
   the centre has neither, and its card says what it does instead.
   =========================================================================== */

/* The shadow the figure casts on the table: the same ellipse every time,
   sheared away from the light and run off to the lower right, blurred soft.
   It is what makes a cut-out sit on a surface instead of float above it. */
.hv2-node-plate {
  position: absolute; left: 50%; bottom: var(--footpad, 0px);
  width: 92%; aspect-ratio: 4.6 / 1;
  margin-left: var(--artmid, 0px);
  transform-origin: left center;
  transform: translate(-26%, 46%) skewX(-34deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 50%,
    rgba(var(--hv2-shade), .30), rgba(var(--hv2-shade), .11) 46%, transparent 74%);
  filter: blur(4px);
  transition: opacity .4s var(--hv2-ease), transform .4s var(--hv2-ease);
  pointer-events: none;
  z-index: -1;
}
.hv2-node[href]:hover .hv2-node-plate,
.hv2-node[href]:focus-visible .hv2-node-plate {
  transform: translate(-28%, 52%) skewX(-36deg) scale(1.1);
  opacity: .9;
}
.hv2-node[data-ring="3"] .hv2-node-plate { opacity: .72; filter: blur(3px); }

a.hv2-node { cursor: pointer; }
button.hv2-node { cursor: default; }

.hv2-card-open {
  display: flex; align-items: center; gap: .35rem;
  margin: .85rem 0 0; padding-top: .7rem; border-top: 1px solid var(--hv2-line);
  font-size: .82rem; font-weight: 600; color: var(--hv2-violet-deep);
}
.hv2-card-hint {
  margin: .85rem 0 0; padding-top: .7rem; border-top: 1px solid var(--hv2-line);
  font-size: .78rem; color: var(--merlin-muted, #8b8178); font-style: italic;
}

/* Held still while the layout is being solved. */
/* Nothing moves on its own here any more; the class is kept because the
   solver still wants the entrance animation finished before it measures. */
/* Until the opening starts. The script adds this, so without the script the
   figures simply show. */
.hv2-field.is-entering .hv2-node-inner { opacity: 0; }
/* While they fly in, nothing reacts to the cursor: no lift, no card. */
.hv2-field.is-opening .hv2-node { pointer-events: none; }
.hv2-field.is-measuring .hv2-node-inner,
.hv2-field.is-measuring .hv2-node img { animation: none; }

/* ===========================================================================
   Hierarchy, said three ways rather than one.

   Size is the first. The outer band also sits back a little, so it reads as
   texture around the work rather than as its equal. And the featured scenes
   keep their names on, which the rest only show when read.
   =========================================================================== */

.hv2-node[data-ring="3"] .hv2-node-inner { opacity: 1; }
.hv2-node[data-ring="3"] img {
  filter:
    drop-shadow(5px 6px 5px rgba(var(--hv2-shade), .11))
    drop-shadow(14px 17px 18px rgba(var(--hv2-shade), .07));
}
.hv2-node[data-ring="3"]:hover .hv2-node-inner,
.hv2-node[data-ring="3"]:focus-visible .hv2-node-inner,
.hv2-node[data-ring="3"].is-active .hv2-node-inner { opacity: 1; }



/* ===========================================================================
   The composition, after the reference layout.

   A name under every figure that belongs to the work, and nothing drawn
   behind them. The outer band keeps its names for hover, so the page reads
   as a few things with names and a lot of life around them.
   =========================================================================== */

/* ---------- the tag under every object ------------------------------------ */

/* A hairline capsule, the way a specimen is labelled. Every figure wears one,
   including the loose ones at the edge, so the page reads as a set of named
   things rather than a few names and some scenery. The face is the site's own
   body face; a monospace read well against the reference and belonged to
   someone else's page. */
.hv2-node-label {
  font-family: var(--font-body, "Instrument Sans", sans-serif);
  font-size: var(--tag, 11px);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1;
  color: rgba(var(--hv2-shade), .92);
  background: transparent;
  border: 1px solid rgba(var(--hv2-shade), .42);
  border-radius: 999px;
  padding: .42em .78em .46em;
  /* up past the picture's empty margin, and across onto the art's own middle */
  margin-top: max(5px, calc(.68rem - var(--footpad, 0px)));
  opacity: 1;
  translate: calc(-50% + var(--artmid, 0px)) 0;
}

/* Hers is the one filled tag, and the only one at a different size. */
.hv2-node-centre .hv2-node-label {
  font-size: calc(var(--tag, 11px) * 1.3);
  font-weight: 500; letter-spacing: .01em;
  color: #faf7f1;
  background: #241f1a;
  border-color: transparent;
  padding: .52em 1.05em .56em;
  margin-top: max(8px, calc(.86rem - var(--footpad, 0px)));
  box-shadow: 0 6px 18px rgba(var(--hv2-shade), .22);
}
/* ---------- the one action ------------------------------------------------ */

/* Her frame put this at a particular size in a particular place, and it used
   to be the one thing on the page in fixed pixels: every figure shrank with
   the window and it did not, so on a short window it walked into Skills.
   It is laid out with the figures now and scales with them. */
.hv2-cta {
  position: absolute; z-index: 500;
  left: var(--cta-x, 50%); top: var(--cta-y, 90%);
  width: var(--cta-w, 18rem); height: var(--cta-h, 3.6rem);
  display: grid; place-items: center;
  font-size: var(--cta-fs, .86rem);
  border-radius: 999px;
  background: rgba(var(--hv2-cta-bg, 255 253 249), .85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(var(--hv2-shade), .04), 0 14px 34px rgba(var(--hv2-shade), .09);
  font-family: var(--font-body, "Instrument Sans", sans-serif);
  letter-spacing: .015em;
  color: rgba(var(--hv2-shade), .82);
  text-decoration: none; white-space: nowrap;
  transition: background .4s var(--hv2-ease), box-shadow .4s var(--hv2-ease), color .4s var(--hv2-ease);
}
.hv2-cta:hover {
  background: #241f1a; color: #faf7f1;
  box-shadow: 0 6px 12px rgba(var(--hv2-shade), .1), 0 20px 44px rgba(var(--hv2-shade), .18);
}


/* ---------- reading one figure -------------------------------------------- */

/* The accent used to run across the top as a 3px bar. Against frosted glass
   it read as a hard seam, so the accent stays in the type and the arrow. */
.hv2-card-kicker { color: var(--accent, var(--hv2-violet-deep)); }
.hv2-card-open { color: var(--accent, var(--hv2-violet-deep)); }

@media (prefers-reduced-motion: reduce) {
  .hv2-node, .hv2-node img, .hv2-node-inner { transition: none; }
}

/* ---------- the header gets out of the way -------------------------------- */

/* The reference has no chrome at all: one surface, edge to edge, with the
   objects on it. The site's header stays for the links, but it stops being a
   lighter band across the top of the table. */
.hv2 .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}


/* ---- a plate, where the picture has to be seen whole ---------------------

   A project picture is a composed thing: cropping it to a frame cuts the
   screens off its edges. So those cards drop the fixed shape, take the
   picture's own proportions, and put the words in a strip of their own
   underneath rather than across the bottom of the image. The photographs
   keep the other treatment, because with a photograph the picture is the
   whole point and a crop costs it nothing.
   ------------------------------------------------------------------------- */

.hv2-card.is-plate { aspect-ratio: auto; }
/* One frame, near the shape these covers already are, so every wide card is
   the same size and each picture fills it rather than sitting inside it. */
.hv2-card.is-plate .hv2-card-stack {
  position: relative; inset: auto;
  width: 100%; aspect-ratio: 2.1 / 1;
}

.hv2-card.is-plate .hv2-card-body {
  position: static; inset: auto;
  padding: .8rem .9rem .85rem;
  color: var(--hv2-ink, #2b241e);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  -webkit-mask-image: none; mask-image: none;
  border-top: 1px solid rgba(43, 36, 30, .09);
}
/* The four case studies keep their own colour. Everything else says what it
   is quietly, in one neutral, so the colour means "this is a project". */
.hv2-card.is-plate .hv2-card-kicker { color: var(--hv2-soft); }
.hv2-card.is-plate.is-project .hv2-card-kicker {
  color: var(--accent, var(--hv2-violet-deep));
}
.hv2-card:not(.is-project) .hv2-card-kicker { color: rgba(255, 255, 255, .6); }
.hv2-card.is-plate:not(.is-project) .hv2-card-kicker { color: var(--hv2-soft); }
.hv2-card.is-plate:not(.is-project) .hv2-card-go { background: #2b241e; }
.hv2-card.is-plate .hv2-card-text { color: var(--hv2-soft); }
.hv2-card.is-plate .hv2-card-go {
  background: var(--accent, #2b241e); color: #fff;
}


/* ---- the About components themselves, shrunk ----------------------------

   Not a picture of the skill cloud and the timeline: the components, lifted
   out of about/index.html by tools/build-home-about.py and scaled down. The
   stylesheet is the same one, so they arrive looking like themselves, and
   they stay live at any size: the pills still answer the cursor.
   ------------------------------------------------------------------------- */

/* A window onto the section, not the whole of it: the timeline is eight
   roles long and the frame holds two, so the bottom fades out to say it
   carries on rather than ending there. */
.hv2-card-stack.is-live {
  background: var(--paper-soft, #fffefa);
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}

.hv2-card-live {
  --k: .40;
  position: absolute; top: 0; left: 0;
  width: calc(100% / var(--k));
  padding: 1.1rem 1.2rem;
  transform: scale(var(--k));
  transform-origin: top left;
}
/* The timeline is the taller of the two and wants to start at the top. */
.hv2-card-live .about-experience-timeline { margin: 0; }
.hv2-card-live .about-skill-cloud { margin: 0; }


/* ---- Experience: the places, nothing else --------------------------------

   The timeline's own logo tiles, lifted out of it and set in a small grid.
   They keep every per-logo rule the About page gives them; only the
   timeline's positioning is taken off, because there is no timeline here.
   ------------------------------------------------------------------------- */

.hv2-card-stack.is-logos {
  display: grid; place-items: center;
  padding-bottom: 3.6rem;            /* clear of the words along the foot */
  background: var(--paper-soft, #fffefa);
}
.hv2-card-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .7rem; width: calc(3 * 3.3rem + 2 * .7rem);
}
.hv2-card-logos .about-experience-logo {
  position: static; inset: auto;
  width: 3.3rem; height: 3.3rem;
}

/* The skill cloud in the upright card wraps narrower, so it is shown a touch
   larger than it was in the wide one. */
.hv2-card.is-portrait .hv2-card-live { --k: .42; }
