/* Empire: a light, high-end retail feel. White and bone paper, ink black, one accent taken from her Canon.
   Bodoni Moda for display, Jost for everything else. Hairlines instead of shadows, square edges. */
:root {
  --paper: #ffffff; --bone: #f7f4f0; --sand: #efe9e2; --line: #e6dfd7; --ink: #161413; --muted: #7b726b; --faint: #a69d95;
  --accent: #8a3a45; --accent-ink: #ffffff; --accent-wash: #f6eced;
  --ok: #4f6b55; --warn: #9a6a1f; --danger: #a2352b;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --side: 232px; --edge: 2px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1 { font: 400 clamp(1.9rem, 3.2vw, 2.6rem)/1.08 var(--display); margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font: 400 1.35rem/1.2 var(--display); margin: 0 0 12px; }
h3, .label { font: 500 .7rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 10px; }
.small { font-size: .85rem; } .muted { color: var(--muted); } .mono { font-family: var(--mono); }
.hidden { display: none !important; }
.err { color: var(--danger); min-height: 1.2em; margin: 0; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.stack { display: grid; gap: 14px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent-wash); }

/* Controls: ink buttons with tracked caps, ghost buttons with hairlines */
button, .btn { font: 500 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; padding: 12px 18px; border-radius: var(--edge);
  border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
button:hover, .btn:hover { background: var(--bone); }
button.primary, .btn.primary { background: var(--ink); color: var(--paper); }
button.primary:hover, .btn.primary:hover { background: #2d2926; }
button.danger { color: var(--danger); border-color: var(--danger); }
button.link { border: 0; background: none; padding: 0; color: var(--muted); letter-spacing: .1em; }
button.link:hover { color: var(--ink); background: none; }
button:disabled { opacity: .35; cursor: not-allowed; }
input, textarea, select { font: 400 .95rem/1.4 var(--sans); width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: var(--ink); }
input[type=checkbox] { width: auto; accent-color: var(--ink); }
input[type=file] { border: 1px dashed var(--line); padding: 14px; font-size: .85rem; }
textarea { resize: vertical; min-height: 72px; }
label { display: grid; gap: 2px; font: 500 .68rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
label input, label textarea, label select { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: .95rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--edge); border: 1px solid var(--line); font: 500 .68rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; background: var(--paper); color: var(--ink); }
button.chip:hover { border-color: var(--ink); background: var(--paper); }
button.chip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.status { font: 500 .66rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.in_review { color: var(--accent); }
.status.changes_requested { color: var(--warn); }
.status.approved { color: var(--ok); }

/* Shell */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100%; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; padding: 28px 18px 22px; gap: 30px; }
.brand { font: italic 400 1.6rem/1 var(--display); padding: 0 10px; }
#nav { display: grid; gap: 2px; }
#nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px; color: var(--muted); text-decoration: none; font: 500 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; border-left: 1px solid transparent; }
#nav a:hover { color: var(--ink); }
#nav a[aria-current=page] { color: var(--ink); border-left-color: var(--ink); }
#nav .n { font: 500 .7rem/1 var(--sans); letter-spacing: 0; color: var(--accent); }
.me { margin-top: auto; display: grid; gap: 6px; padding: 0 10px; overflow-wrap: anywhere; font-size: .8rem; }
.view { padding: 40px max(24px, env(safe-area-inset-right, 0px)) 120px max(40px, env(safe-area-inset-left, 0px)); min-width: 0; max-width: 1360px; }
.page-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 500 .68rem/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin: 0 0 12px; }
.section { margin: 44px 0 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--edge); padding: 20px; }
.card.bone { background: var(--bone); border-color: transparent; }
.empty { color: var(--muted); padding: 32px 0; font: italic 400 1.15rem/1.4 var(--display); }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 20; inset: auto 0 0 0; height: auto; flex-direction: row; padding: 4px max(6px, env(safe-area-inset-left, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)); border-right: 0; border-top: 1px solid var(--line); }
  .brand, .me { display: none; }
  #nav { grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  #nav a { flex-direction: column; gap: 4px; font-size: .6rem; letter-spacing: .1em; padding: 10px 2px; justify-content: center; border-left: 0; border-top: 1px solid transparent; }
  #nav a[aria-current=page] { border-top-color: var(--ink); }
  .view { padding: 24px max(16px, env(safe-area-inset-right, 0px)) 120px max(16px, env(safe-area-inset-left, 0px)); }
  .page-head { margin-bottom: 20px; }
}

/* Venture colours: every card can wear its venture's palette (--v accent, --v-ink, --v-wash). */
[style*="--v:"] { --accent: var(--v); }
.list { display: grid; border-top: 1px solid var(--line); }
.list > * { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; flex-wrap: wrap; }
.list > a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Her desk on Today: each card like a product tile */
.plates { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; }
.platecard { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.platecard .cover { position: relative; aspect-ratio: 16 / 10; background: var(--v-wash, var(--bone)); overflow: hidden; display: grid; place-items: center; border-bottom: 2px solid var(--v, var(--ink)); margin-bottom: 6px; }
.platecard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .8s ease; }
.platecard .cover .t { font: italic 400 1.4rem/1.2 var(--display); color: var(--v-ink, var(--ink)); padding: 20px; text-align: center; }
.platecard:hover .cover img { transform: scale(1.02); }
.platecard .title { font: 400 1.25rem/1.2 var(--display); }
.status.ready { color: var(--accent); }
.status.seen { color: var(--muted); }
.status.signed, .status.done { color: var(--ok); }
.status.in_review { color: var(--accent); }

/* In motion: one tile per initiative, washed in its venture's colour */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile { display: grid; gap: 12px; align-content: start; padding: 22px; background: var(--v-wash, var(--bone)); color: var(--v-ink, var(--ink)); text-decoration: none; border-top: 2px solid var(--v, var(--ink)); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.tile:hover { transform: translateY(-2px); }
.tile .eyebrow { margin: 0; color: var(--v, var(--muted)); }
.tile .t { font: 400 1.45rem/1.15 var(--display); }
.segs { display: flex; gap: 4px; }
.segs i { flex: 1; height: 4px; background: color-mix(in srgb, var(--v, var(--ink)) 14%, transparent); }
.segs i.s1 { background: color-mix(in srgb, var(--v, var(--ink)) 45%, transparent); }
.segs i.s2 { background: color-mix(in srgb, var(--v, var(--ink)) 75%, transparent); }
.segs i.s3 { background: var(--v, var(--ink)); }

/* Initiatives: a card per initiative. Title left, actions always top right; below 760px, actions sit under the title. */
.inits { display: grid; gap: 28px; }
.icard { border: 1px solid var(--line); background: var(--paper); }
.ihead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: start; padding: 26px 28px 24px; background: var(--v-wash, var(--bone)); border-top: 3px solid var(--v, var(--ink)); }
.ihead .eyebrow { color: var(--v, var(--muted)); }
.ihead h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; color: var(--v-ink, var(--ink)); }
.ihead .aim { font: italic 400 1.1rem/1.45 var(--display); color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
.iact { display: flex; gap: 8px; }
.ihead button.primary { background: var(--v, var(--ink)); border-color: var(--v, var(--ink)); }
@media (max-width: 760px) { .ihead { grid-template-columns: 1fr; padding: 22px 18px; } }
.ibody { display: grid; gap: 18px; padding: 22px 28px 28px; }
@media (max-width: 760px) { .ibody { padding: 18px; } }
.streams { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.stream { border: 1px solid var(--line); padding: 16px 16px 18px; display: grid; gap: 8px; align-content: start; min-width: 0; border-left: 3px solid var(--line); }
.stream.s-in_progress { border-left-color: color-mix(in srgb, var(--v, var(--ink)) 50%, white); }
.stream.s-in_review { border-left-color: var(--v, var(--accent)); }
.stream.s-done { border-left-color: var(--ok); }
.stream .label { margin: 0; }
.stream .name { font: 400 1.2rem/1.2 var(--display); }
.stream select, .stream input { font-size: .85rem; padding: 6px 0; }
/* Her initiatives: picture-led cards, each opening onto its page */
.ilist { display: grid; gap: 36px 26px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ilink { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.ilink .cover { position: relative; aspect-ratio: 4 / 3; background: var(--v-wash, var(--bone)); overflow: hidden; display: grid; place-items: center; border-bottom: 3px solid var(--v, var(--ink)); }
.ilink .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s cubic-bezier(.22, .61, .36, 1); }
.ilink:hover .cover img { transform: scale(1.025); }
.ilink .cover .t { font: italic 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--display); color: var(--v-ink, var(--ink)); padding: 28px; text-align: center; }
.ilink .body { display: grid; gap: 10px; }
.ilink .eyebrow { margin: 0; color: var(--v, var(--muted)); }
.ilink h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0; }

/* One initiative, as she sees it */
.iview { display: grid; gap: 28px; }
.ihero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: stretch; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .ihero { grid-template-columns: minmax(0, 1fr); } .ihero-pic { order: -1; } }
.ihero-text { display: grid; gap: 20px; align-content: center; }
.ihero-text .eyebrow { margin: 0; color: var(--v, var(--muted)); }
.ihero-text .eyebrow a { text-decoration: none; }
.ihero-text h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.ihero-text .aim { font: italic 400 1.2rem/1.5 var(--display); color: var(--muted); margin: 0; max-width: 46ch; }
.ihero-text .btn.primary { background: var(--v, var(--ink)); border-color: var(--v, var(--ink)); }
/* Her work, framed whole on the venture's wash, never cropped */
.ihero-pic { margin: 0; width: 100%; aspect-ratio: 4 / 3; background: var(--v-wash, var(--bone)); display: grid; place-items: center; overflow: hidden; padding: clamp(14px, 2.4vw, 28px); }
.ihero-pic img { max-width: 100%; max-height: 100%; display: block; box-shadow: 0 10px 30px rgba(22, 20, 19, .10); animation: rise 900ms cubic-bezier(.22, .61, .36, 1) both; }
.ihero-pic .t { font: italic 400 2rem/1.2 var(--display); color: var(--v-ink, var(--ink)); padding: 32px; text-align: center; }
.gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery button { padding: 0; border: 1px solid var(--line); flex: none; width: 132px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.gallery button:hover { border-color: var(--v, var(--ink)); background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.icols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
@media (max-width: 900px) { .icols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.works { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.works li { border-bottom: 1px solid var(--line); }
.works .wrow { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; flex-wrap: wrap; border: 0; background: none; text-transform: none; letter-spacing: 0; color: inherit; white-space: normal; text-align: left; transition: padding .5s cubic-bezier(.22, .61, .36, 1); }
.works .wrow:hover { background: none; padding-left: 8px; }
.works .wrow:hover .name { color: var(--v, var(--accent)); }
.works .name { font: 400 1.3rem/1.2 var(--display); }
.works .when { font: 500 .7rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: inline-flex; gap: 12px; align-items: center; }
.works .w-in_review .when { color: var(--v, var(--accent)); }
.works .w-done .when { color: var(--ok); }
.works .w-done .name { color: var(--muted); }
.moving { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-deep, #8b6a36); }
.moving::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* Lately, as a conversation: the house on the left, her on the right, in a window that fades at its edges. */
.chat { max-height: 540px; overflow-y: auto; padding: 18px 6px; border-top: 1px solid var(--ink); scrollbar-width: none; --fa: #000; --fb: #000;
  -webkit-mask-image: linear-gradient(var(--fa), #000 64px, #000 calc(100% - 64px), var(--fb)); mask-image: linear-gradient(var(--fa), #000 64px, #000 calc(100% - 64px), var(--fb)); }
/* Fog of war: only where there is more to scroll into. */
.chat.more-above { --fa: transparent; }
.chat.more-below { --fb: transparent; }
.lately li.day { max-width: none; justify-self: stretch; justify-content: center; margin: 10px 0 2px; }
.lately li.day span { font: 500 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 12px; background: var(--paper); }
.chat::-webkit-scrollbar { display: none; }
.lately { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lately li { display: flex; gap: 12px; align-items: flex-end; max-width: 86%; }
.lately li.her { justify-self: end; flex-direction: row-reverse; }
.lately .av { flex: none; width: 44px; height: 33px; object-fit: cover; object-position: top left; border: 1px solid var(--line); background: var(--paper); }
.lately .av.dot { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--v, var(--gold)); margin: 0 0 12px 16px; }
.lately .bubble { padding: 12px 16px; display: grid; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--edge); }
.lately .her .bubble { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lately .bubble p { margin: 0; }
.lately .bubble a { text-decoration: none; }
.lately .quote { font: italic 400 1.08rem/1.4 var(--display); }
.lately .her .quote { color: var(--paper); }
.lately .t { font: 500 .6rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lately .her .t { color: #b7aea6; }
.lately .her .rfiles img { border-color: rgba(255, 255, 255, .2); }
.kpis { display: flex; flex-wrap: wrap; gap: 28px; }
.kpi .n { font: 400 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.kpi .of { font-size: .8rem; color: var(--muted); }
details summary { cursor: pointer; }

/* The deck: one slide at a time, in the venture's colours */
.deckview { display: grid; grid-template-rows: auto 1fr auto; min-height: calc(100vh - 80px); background: var(--v-wash, var(--bone)); margin: -40px -24px -120px -40px; padding: 18px 40px 0; color: var(--v-ink, var(--ink)); }
@media (max-width: 760px) { .deckview { margin: -24px -16px -120px; padding: 14px 16px 0; min-height: calc(100vh - 60px); } }
.deckbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 12%, transparent); }
.deckbar a { text-decoration: none; }
.stage { display: grid; align-items: center; justify-items: center; padding: 36px 0; min-height: 60vh; }
.stage.fade > .slide { animation: rise 700ms cubic-bezier(.22, .61, .36, 1) both; }
.slide { width: min(980px, 100%); display: grid; gap: 22px; justify-items: start; }
.slide h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.slide .eyebrow { color: var(--v, var(--muted)); margin: 0; }
.slide .pic { margin: 0; width: 100%; max-height: 66vh; background: var(--paper); box-shadow: 0 18px 50px rgba(22, 20, 19, .10); }
.slide img.pic, .slide .pic img { display: block; width: 100%; max-height: 66vh; object-fit: contain; object-position: top; }
.slide .says { margin: 0; max-width: 60ch; }
.slide .q { font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.3 var(--display); margin: 6px 0 0; }
.slide figure.pic { display: block; }
/* On her card the picture leaves room for the question: the decision is in view without scrolling. */
.slide.plate { gap: 16px; }
.slide.plate .pic, .slide.plate .pic img, .slide.plate figure.pic > video { max-height: 44vh; }
.plate-body { display: grid; gap: 16px; width: 100%; }
.plate-media, .plate-words { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.plate-body.words-only .plate-media { display: none; }
@media (min-width: 1000px) {
  .plate-body:not(.words-only) { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 32px; }
  .slide.plate .pic, .slide.plate .pic img, .slide.plate figure.pic > video { max-height: 62vh; }
  .plate-words .choices { width: 100%; }
}
.slide.plate h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.slide figure.pic > video { display: block; width: 100%; max-height: 66vh; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs .thumb { padding: 0; border: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 18%, transparent); width: 96px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.thumbs .thumb img, .thumbs video.thumb { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* A milestone: the reveal, the work, the close */
.slide.reveal { justify-items: start; gap: 18px; }
.slide.reveal .rule { display: block; height: 1px; width: 96px; background: var(--gold); transform-origin: left; animation: draw 1400ms cubic-bezier(.22, .61, .36, 1) both 200ms; }
@keyframes draw { from { transform: scaleX(0); } }
.slide.reveal h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
.slide.reveal .pic { max-height: 58vh; animation: unveil 1600ms cubic-bezier(.22, .61, .36, 1) both 300ms; }
.slide.reveal .pic img, .slide.reveal .pic video { display: block; width: 100%; max-height: 58vh; object-fit: contain; }
@keyframes unveil { from { opacity: 0; transform: scale(1.015); } }
.slide.reveal .frame { width: 100%; min-height: 32vh; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 40px 24px; border: 1px solid color-mix(in srgb, var(--v, var(--gold)) 45%, transparent); background: var(--paper); text-align: center; animation: unveil 1600ms cubic-bezier(.22, .61, .36, 1) both 300ms; }
.slide.reveal .frame .label { color: var(--v, var(--gold-deep)); margin: 0 0 6px; }
.slide.reveal .frame .name { font: italic 400 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--display); }
.slide.note { gap: 26px; }
.brief { list-style: none; margin: 0; padding: 0; width: min(760px, 100%); border-top: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 20%, transparent); }
.brief li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 10%, transparent); font: 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.35 var(--display); }
.brief .n { font: 400 1rem/1 var(--display); color: var(--gold-deep); }
.stage.fade > .slide.note .brief li { animation: rise 900ms cubic-bezier(.22, .61, .36, 1) both; }
.stage.fade > .slide.note .brief li:nth-child(2) { animation-delay: 160ms; }
.stage.fade > .slide.note .brief li:nth-child(3) { animation-delay: 320ms; }
.slide.work .wall { display: grid; gap: 14px; width: 100%; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.slide.work .wall figure { margin: 0; background: var(--paper); box-shadow: 0 12px 34px rgba(22, 20, 19, .08); }
.slide.work .wall img, .slide.work .wall video { display: block; width: 100%; max-height: 46vh; object-fit: contain; }
.slide.close { gap: 22px; }
.slide.close > div { width: min(640px, 100%); }
.delivered, .nextup { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 16%, transparent); }
.delivered li, .nextup li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 10%, transparent); font: 400 1.35rem/1.2 var(--display); }
.delivered li { justify-content: flex-start; }
.tick { flex: none; width: 18px; height: 18px; border: 1px solid var(--gold); border-radius: 50%; position: relative; top: 2px; transition: background .9s ease; }
.tick::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--gold-deep); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0; transition: opacity .9s ease .3s; }
.sealed .tick { background: var(--gold); }
.sealed .tick::after { opacity: 1; border-color: var(--paper); }
.sealed h1 { animation: rise 900ms cubic-bezier(.22, .61, .36, 1) both; }
.choice .pick { margin-left: auto; font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--v, var(--accent)); }
.choice[aria-pressed=true] .pick { color: inherit; }
.slide .remark { font: italic 400 1.15rem/1.45 var(--display); margin: 0; padding-left: 14px; border-left: 2px solid var(--v, var(--accent)); }
.slide.end { justify-items: start; }
.choices { display: grid; gap: 10px; width: min(560px, 100%); }
.choice { justify-content: flex-start; gap: 14px; padding: 18px 18px; font: 400 1.05rem/1.3 var(--sans); text-transform: none; letter-spacing: 0; border-color: color-mix(in srgb, var(--v-ink, var(--ink)) 25%, transparent); background: var(--paper); white-space: normal; text-align: left; }
.choice .k { font: 500 .7rem/1 var(--sans); letter-spacing: .1em; border: 1px solid currentColor; width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.choice:hover { border-color: var(--v, var(--ink)); background: var(--paper); }
.choice[aria-pressed=true] { background: var(--v, var(--ink)); border-color: var(--v, var(--ink)); color: var(--paper); }
.choice:disabled { opacity: 1; cursor: default; }
.deckfoot { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 0 calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--v-wash, var(--bone)); border-top: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 12%, transparent); }
@media (max-width: 760px) { .deckfoot { bottom: 58px; } }
.deckfoot .primary { background: var(--v, var(--ink)); border-color: var(--v, var(--ink)); }
.dots { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.dot { width: 22px; height: 3px; padding: 0; border: 0; background: color-mix(in srgb, var(--v-ink, var(--ink)) 18%, transparent); }
.dot:hover { background: color-mix(in srgb, var(--v-ink, var(--ink)) 40%, transparent); }
.dot[aria-current=true] { background: var(--v, var(--ink)); }

/* Behind the scenes: the desk. Dense and plain on purpose. */
.view.wide { max-width: none; }
.work { font: 400 13px/1.45 var(--sans); display: grid; gap: 6px; }
.work h4 { font: 600 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; margin: 18px 0 4px; }
.work .muted { color: var(--muted); }
.work .late, .work .over td:nth-child(5) { color: var(--danger); font-weight: 600; }
.wk-head { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 8px 10px; background: var(--bone); border: 1px solid var(--line); }
.work table.grid { width: 100%; border-collapse: collapse; }
.work .grid th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 4px 6px; white-space: nowrap; }
.work .grid td { border-bottom: 1px solid var(--line); padding: 4px 6px; vertical-align: top; }
.work .grid tr.flag td { background: #fdf3f1; }
.work .grid td.note { color: var(--danger); }
.work .grid .st { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.work .grid tr.desk .st { color: var(--accent); font-weight: 600; }
.work .grid tr.answered .st { color: var(--ok); font-weight: 600; }
.work .asks tr.in_hand .st { color: var(--accent); font-weight: 600; }
.work .asks tr.done { opacity: .6; }
.work .asks tr.over .st { color: var(--danger); font-weight: 600; }
.work .asks input[type=date] { width: 132px; }
.work .kepts { display: flex; gap: 3px; margin-top: 4px; }
.work .kepts img { height: 30px; border: 1px solid var(--gold); }
.work .grid .files { display: flex; gap: 4px; flex-wrap: wrap; }
.work .grid .files img { height: 34px; display: block; border: 1px solid var(--line); }
.work .grid .acts { white-space: nowrap; }
.work button { padding: 5px 9px; font-size: 10px; letter-spacing: .08em; }
.work input, .work select, .work textarea { font-size: 13px; padding: 3px 4px; border: 1px solid var(--line); background: var(--paper); }
.work .queue input[type=number] { width: 56px; }
.work .queue input[type=date] { width: 132px; }
.work .composer { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--ink); }
.work .composer textarea { min-height: 120px; font-family: var(--mono); }
.work .composer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 12px; }
.work .composer label { font-size: 10px; }
.work .pasted { display: flex; gap: 4px; }
.work .pasted img { height: 48px; border: 1px solid var(--line); }
.check { display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) { .work .grid { display: block; overflow-x: auto; } }

/* The house: money first, then numbered ventures */
.money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.money > div { display: grid; gap: 8px; padding: 22px 20px 22px 0; }
.money > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.money .n { font: 400 clamp(1.8rem, 4vw, 3rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.money .label { margin: 0; }
.vcards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.vcard { border: 1px solid var(--line); background: var(--paper); }
.vcard .band { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 20px; min-height: 96px; background: var(--v-wash, var(--bone)); border-top: 3px solid var(--v, var(--ink)); }
.vcard .no { font: italic 400 2.2rem/1 var(--display); color: var(--v, var(--ink)); }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(22, 20, 19, .12); }
.vbody { display: grid; gap: 12px; padding: 18px 20px 20px; }
.vbody h2 { margin: 0; }
.vinit { display: grid; gap: 8px; text-decoration: none; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; }
.funds { display: grid; border-top: 1px solid var(--line); }
.fund { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.fund .amt { font-variant-numeric: tabular-nums; }
.fund select { width: auto; padding: 4px 0; font-size: .8rem; }
.pill { font: 500 .62rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; padding: 5px 8px; background: var(--bone); color: var(--muted); white-space: nowrap; }
.pill.awarded, .pill.received { background: color-mix(in srgb, var(--ok) 14%, white); color: var(--ok); }
.pill.submitted, .pill.applying { background: var(--accent-wash); color: var(--accent); }
.tend { padding-top: 6px; }
.tend summary { margin: 0; }
.tend[open] { display: grid; gap: 12px; }
@media (max-width: 600px) { .money { grid-template-columns: 1fr; } .money > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }


/* People */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font: 500 .66rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ink); }
td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { font-variant-numeric: tabular-nums; text-align: right; }
.table-wrap { overflow-x: auto; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; font: 500 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.toast.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .toast, .platecard .cover img, .ilink .cover img, .tile { transition: none; } .stage.fade > .slide, .ihero-pic img, .slide.reveal .rule, .slide.reveal .pic, .slide.reveal .frame, .stage.fade > .slide.note .brief li, .sealed h1, .wpop { animation: none; } }

.signin { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 24px; text-align: center; background: var(--bone); }
.signin h1 { font: italic 400 3.6rem/1 var(--display); }
.signin p { margin: 0; color: var(--muted); font: 500 .68rem/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; }
.signin form { display: flex; gap: 10px; width: min(360px, 100%); }

/* Motion: slow, low-cortisol. Things settle into place; nothing bounces. */
.view.enter { animation: settle 520ms ease both; }
.rise { animation: rise 900ms cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes settle { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view.enter, .rise, .sheet, .scrim, .mic.on::after { animation: none !important; } }

/* Today */
.greeting { padding: 12px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.greeting h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.says { font: italic 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.45 var(--display); color: var(--muted); margin: 14px 0 0; max-width: 52ch; }
.offer { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.offer .quote { font: 400 .92rem/1.5 var(--sans); color: var(--muted); }
.offer .say { font: italic 400 1.25rem/1.4 var(--display); }
.offer audio { width: 100%; max-width: 360px; height: 36px; }
.offer img { max-width: 220px; display: block; }
.bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width 1.2s cubic-bezier(.22, .61, .36, 1); }

/* Her coin: a measure of attention, placed on her priorities. */
:root { --gold: #c9a66b; --gold-deep: #8b6a36; }
.coins { display: flex; flex-wrap: wrap; gap: 4px; }
.coin { width: 16px; height: 16px; display: inline-block; flex: none; vertical-align: -3px; --coin-face: transparent; --coin-line: var(--faint); --coin-gem: transparent; }
.coin.placed { --coin-face: var(--gold); --coin-line: var(--gold-deep); --coin-gem: var(--paper); }
.coin.over { --coin-face: color-mix(in srgb, var(--warn) 55%, white); --coin-line: var(--warn); --coin-gem: var(--paper); }
.coin.big { width: 54px; height: 54px; }
.purse { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: end; padding: 8px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.purse .n { font: 400 clamp(3rem, 7vw, 5.4rem)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.purse .unit { font: italic 400 1.1rem/1.3 var(--display); color: var(--muted); }
.alloc { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.alloc .rank { font: 400 1rem/1 var(--display); color: var(--muted); }
.cost { font: 500 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* The Steward's ear: always within reach */
.tell { position: fixed; z-index: 25; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding: 16px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 10px 30px rgba(22, 20, 19, .22); }
.tell:hover { background: #2d2926; }
@media (max-width: 760px) { .tell { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); right: 16px; } }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(22, 20, 19, .28); animation: settle 400ms ease both; }
.sheet { position: fixed; z-index: 41; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); background: var(--paper); border-top: 1px solid var(--ink);
  padding: 26px max(22px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) max(22px, env(safe-area-inset-left, 0px)); display: grid; gap: 18px; animation: lift 600ms cubic-bezier(.22, .61, .36, 1) both; max-height: 92vh; overflow: auto; }
@keyframes lift { from { transform: translate(-50%, 24px); opacity: 0; } }
.sheet h2 { margin: 0; }
.mic { width: 84px; height: 84px; border-radius: 50%; padding: 0; justify-content: center; background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; justify-self: center; }
.mic:hover { background: #2d2926; }
.mic.on { background: var(--accent); border-color: var(--accent); }
.mic.on::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .25; } }
.sheet .heard { font: italic 400 1.15rem/1.45 var(--display); min-height: 1.45em; text-align: center; color: var(--muted); }
.sheet .hint { margin-right: auto; }
/* What goes with her remark, made plain: her voice to replay, her pictures with a way to take one out. */
.voicechip { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--bone); }
.voicechip audio { width: 100%; height: 34px; }
.pics { display: flex; flex-wrap: wrap; gap: 8px; }
.pics:empty { display: none; }
.pics figure { position: relative; margin: 0; width: 92px; aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(22, 20, 19, .12); }
/* Several pictures sit like a small pinned collage. */
.pics figure:nth-child(odd) { transform: rotate(-1.6deg); }
.pics figure:nth-child(even) { transform: rotate(1.2deg); }
.pics img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.pics .x { position: absolute; top: 3px; right: 3px; padding: 0; width: 20px; height: 20px; border-radius: 50%; justify-content: center; background: var(--ink); color: var(--paper); border: 0; font-size: 13px; letter-spacing: 0; }
.pics.lead figure:first-child { width: 100%; aspect-ratio: auto; transform: none; }
.pics.lead figure:first-child img { height: auto; max-height: 240px; object-fit: contain; object-position: center; background: var(--bone); }
.withit { margin: 0; font: italic 400 1rem/1.4 var(--display); color: var(--ink); min-height: 1.4em; }
.undo .said { display: grid; gap: 8px; min-width: 0; }
.undo .kept { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.undo .kept img { height: 30px; width: 40px; object-fit: cover; object-position: top left; border: 1px solid rgba(255, 255, 255, .25); }
.undo .kept img:nth-child(odd) { transform: rotate(-2deg); }
.undo .kept img:nth-child(even) { transform: rotate(1.5deg); }
.undo .kept .voice { font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-left: 4px; }
.rfiles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.rfiles audio { height: 32px; max-width: 260px; }
.rfiles img { height: 46px; width: 62px; object-fit: cover; object-position: top left; display: block; border: 1px solid var(--line); }
/* On a desk, Remark sits in the sidebar under the menu and the sheet opens centred over the work. */
.tellside { display: none; }
@media (min-width: 761px) {
  .tell { display: none; }
  .tellside { display: flex; justify-content: center; gap: 10px; margin: 0 10px; padding: 14px 16px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .tellside:hover { background: #2d2926; }
  .tellside kbd { font: 500 .6rem/1 var(--sans); padding: 3px 5px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; margin-left: 4px; }
  .sheet { top: 50%; bottom: auto; left: calc(50% + var(--side) / 2); transform: translate(-50%, -50%); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(22, 20, 19, .18); animation-name: lift-mid; }
  @keyframes lift-mid { from { transform: translate(-50%, calc(-50% + 16px)); opacity: 0; } }
}

/* Sign in */
.auth { display: grid; gap: 12px; width: min(320px, 100%); }
.auth button, .auth .slot { width: 100%; justify-content: center; padding: 15px 18px; font-size: .74rem; }
.auth .google { background: #fff; color: var(--ink); border-color: var(--line); }
/* Google draws its own button (320px) inside this slot: no padding of ours around it, centred. */
.auth .slot { padding: 0; display: flex; justify-content: center; }
.auth svg { width: 16px; height: 16px; flex: none; }
.chooser { display: grid; gap: 8px; width: min(320px, 100%); padding-top: 8px; border-top: 1px solid var(--line); }

/* Her remarks on their way: what the Steward is doing, with Undo while the bar runs down. Bottom left, out of the Remark button's way. */
.undos { position: fixed; z-index: 60; left: max(20px, env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; width: min(380px, calc(100vw - 40px)); }
@media (min-width: 761px) { .undos { left: calc(var(--side) + 40px); } }
@media (max-width: 760px) { .undos { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); } }
.undo { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--ink); color: var(--paper); font-size: .9rem; animation: rise 500ms cubic-bezier(.22, .61, .36, 1) both; transition: opacity .9s ease; }
.undo button.link { color: var(--gold); flex: none; }
.undo button.link:hover { color: var(--paper); }
.undo .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; animation: drain linear forwards; }
@keyframes drain { to { transform: scaleX(0); } }
.undo.done { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .undo, .undo .bar { animation: none; } }

/* Behind the scenes: present an update */
.present .aim { font: italic 400 1.2rem/1.4 var(--display); color: var(--muted); margin: 10px 0 0; }
.pform { display: grid; gap: 18px; max-width: 920px; min-width: 0; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 40px; align-items: start; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
/* How it opens for her: her reveal and note, in her colours, as he writes it. */
.preview { position: sticky; top: 24px; }
.pv { display: grid; gap: 14px; padding: 26px 24px; background: var(--v-wash, var(--bone)); color: var(--v-ink, var(--ink)); border-top: 3px solid var(--v, var(--ink)); }
.pv .eyebrow { margin: 0; color: var(--v, var(--muted)); font-size: .6rem; }
.pv .rule { display: block; width: 56px; height: 1px; background: var(--gold); }
.pv h2 { font-size: 1.9rem; line-height: 1.08; margin: 0; }
.pv h2.muted { color: var(--muted); }
.pv img { width: 100%; max-height: 220px; object-fit: contain; background: var(--paper); box-shadow: 0 10px 26px rgba(22, 20, 19, .08); }
.pv .frame { display: grid; justify-items: center; gap: 4px; padding: 26px 12px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--v, var(--gold)) 45%, transparent); font: italic 400 1.25rem/1.2 var(--display); }
.pv .mini { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; font: 400 1.02rem/1.35 var(--display); }
.pool .pick .cov { display: none; position: absolute; z-index: 1; bottom: 6px; left: 6px; padding: 4px 6px; background: var(--ink); color: var(--paper); font: 500 .58rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pool .pick.is-cover .cov { display: block; }
.pform h3 { margin: 14px 0 0; }
.pform label.big input { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--display); }
.pform .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
.pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pool .pick { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; cursor: pointer; background: var(--bone); display: grid; place-items: center; }
.pool .pick img, .pool .pick video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pool .pick input[type=checkbox] { position: absolute; z-index: 1; top: 8px; left: 8px; }
.pool .pick:has(input:checked) { outline: 2px solid var(--v, var(--ink)); outline-offset: -2px; }
.pool .pick.add { border-style: dashed; color: var(--muted); font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.answers { display: grid; gap: 8px; }
.answers .check { align-items: baseline; text-transform: none; letter-spacing: 0; font: italic 400 1.05rem/1.4 var(--display); color: var(--ink); }
.nextlist { list-style: none; margin: 0; padding: 0; }
.nextlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
button.big { padding: 18px 28px; font-size: .78rem; }
.returned { padding: 14px 16px; background: #fdf3f1; border-left: 2px solid var(--danger); margin-bottom: 20px; display: grid; gap: 10px; }
.returned p { margin: 0; }

/* Behind the scenes: her cover for the initiative */
.coverset { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; background: var(--bone); margin-bottom: 28px; }
.coverset .cv { aspect-ratio: 4 / 3; background: var(--paper); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.coverset .cv img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cvpick { padding: 0; width: 64px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.cvpick:hover { border-color: var(--ink); background: var(--paper); }
.cvpick img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
@media (max-width: 600px) { .coverset { grid-template-columns: 1fr; } }

/* Her purse: the possibility, teased in gold */
.teaser { margin-top: 56px; width: 100%; display: grid; gap: 10px; justify-items: start; text-align: left; padding: 34px 32px; white-space: normal; text-transform: none; letter-spacing: 0;
  background: var(--ink); color: var(--paper); border: 1px solid var(--gold); position: relative; overflow: hidden; }
.teaser::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 166, 107, .35); pointer-events: none; }
.teaser:hover { background: #221e1c; }
.teaser .label { color: var(--gold); margin: 0; }
.teaser .t { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--display); }
.teaser .s { font: italic 400 1.15rem/1.4 var(--display); color: #d8cfc6; max-width: 44ch; }
.teaser .go { font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
/* The Syndicate overlay: opens as a circle from where she tapped; each section settles in as it comes into view.
   Its own colours throughout, so nothing from the light app (bone hovers, ink primaries) bleeds in. */
.overlay { position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: #12100f; color: var(--paper); clip-path: circle(0 at var(--x) var(--y)); transition: clip-path 1000ms cubic-bezier(.65, 0, .35, 1); }
.overlay.open { clip-path: circle(150% at var(--x) var(--y)); }
.overlay button { color: var(--paper); border-color: #5a524d; background: transparent; }
.overlay button:hover { background: rgba(255, 255, 255, .06); border-color: var(--gold); color: var(--paper); }
.overlay .close { position: fixed; top: 20px; right: 24px; z-index: 2; border: 0; padding: 8px; color: #b7aea6; }
.overlay .close:hover { background: transparent; color: var(--gold); }
.overlay .ov { width: min(960px, 100%); margin: 0 auto; padding: 10vh 24px 14vh; display: grid; gap: 96px; }
.overlay section { display: grid; gap: 20px; opacity: 0; transform: translateY(18px); transition: opacity 1100ms ease-out, transform 1100ms ease-out; }
.overlay section.in { opacity: 1; transform: none; }
.overlay .eyebrow { color: var(--gold); margin: 0; }
.overlay h1 { font-size: clamp(3.2rem, 9vw, 6.8rem); line-height: .95; }
.overlay h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05; margin: 0; }
.overlay .rule { display: block; width: 96px; height: 1px; background: var(--gold); margin: 22px 0; }
.overlay .lede { font: italic 400 clamp(1.3rem, 2.6vw, 1.8rem)/1.4 var(--display); color: #e2dad2; margin: 0; max-width: 30ch; }
.overlay .body { font: 400 1.15rem/1.6 var(--display); color: #cfc6bd; margin: 0; max-width: 62ch; }
.overlay .small { color: #8f867e; margin: 0; font-size: .8rem; max-width: 70ch; }
/* Her house at the centre, ten founders turning slowly around it */
.syn .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
@media (max-width: 760px) { .syn .hero { grid-template-columns: 1fr; } }
.orbit { width: 100%; max-width: 420px; justify-self: center; overflow: visible; }
.orbit .ring { fill: none; stroke: rgba(201, 166, 107, .45); stroke-width: .8; }
.orbit .ring.faint { stroke: rgba(201, 166, 107, .15); stroke-dasharray: 2 6; }
.orbit .turn { transform-origin: 200px 200px; animation: orbit 90s linear infinite; }
.orbit .spoke { stroke: rgba(201, 166, 107, .22); stroke-width: .7; }
.orbit .moon { transform-box: fill-box; transform-origin: center; animation: orbit 90s linear infinite reverse; }
.orbit .moon circle { fill: #12100f; stroke: var(--gold); stroke-width: 1; }
.orbit .moon text { fill: #e2dad2; font: 400 12px var(--display); text-anchor: middle; }
.orbit .sun { fill: var(--gold); }
.orbit .sunt { fill: #12100f; font: italic 400 15px var(--display); text-anchor: middle; }
@keyframes orbit { to { transform: rotate(360deg); } }
.life { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: #2e2926; border: 1px solid #2e2926; }
.life > div { display: grid; gap: 10px; align-content: start; padding: 26px 22px 30px; background: #12100f; }
.life .k { font: 400 1.5rem/1.15 var(--display); color: var(--gold); }
.life > div > span:last-child { font-size: .95rem; color: #b7aea6; line-height: 1.55; }
/* The family office, drawn */
.tree { display: grid; justify-items: center; gap: 0; padding: 30px 0 6px; }
.tree .top { padding: 16px 28px; background: var(--gold); color: #12100f; font: 400 1.35rem/1 var(--display); }
.tree .arms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 26px 0; position: relative; border-top: 1px solid rgba(201, 166, 107, .5); margin-top: 22px; width: 100%; }
.tree .arms::before { content: ""; position: absolute; top: -23px; left: 50%; width: 1px; height: 22px; background: rgba(201, 166, 107, .5); }
.tree .arms span { padding: 10px 14px; border: 1px solid rgba(201, 166, 107, .45); font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e2dad2; }
.tree .kin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 520px; }
.tree .kin i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(201, 166, 107, .6); background: radial-gradient(circle, rgba(201, 166, 107, .35), transparent 70%); }
.tree .kin em { flex-basis: 100%; text-align: center; font: italic 400 1rem/1.4 var(--display); color: #9b928a; margin-top: 10px; }
/* Theirs and yours, side by side */
.pairs { display: grid; border-top: 1px solid #3a3532; }
.pairs > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid #3a3532; align-items: baseline; }
.pairs .theirs { font: 500 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8f867e; }
.pairs .yours { font: 400 1.2rem/1.4 var(--display); color: var(--paper); }
.pairs .plus .theirs, .pairs .plus .yours { color: var(--gold); }
/* Program stacking, as layers */
.stack { display: grid; gap: 8px; }
.stack .layer { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; padding: 18px 20px; border-left: 3px solid var(--gold); }
.stack .layer span { font: 400 1.25rem/1.2 var(--display); }
.stack .layer em { font-style: normal; color: #b7aea6; font-size: .92rem; line-height: 1.5; }
.stack .l1 { background: rgba(201, 166, 107, .06); }
.stack .l2 { background: rgba(201, 166, 107, .11); margin-left: 3%; }
.stack .l3 { background: rgba(201, 166, 107, .18); margin-left: 6%; }
.stack .l4 { background: rgba(201, 166, 107, .28); margin-left: 9%; }
@media (max-width: 760px) { .stack .layer { grid-template-columns: 1fr; gap: 6px; } .stack .layer { margin-left: 0 !important; } }
/* The growth path */
.sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.sliders label { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; color: #b7aea6; }
.sliders input { grid-column: 1 / -1; order: 3; padding: 0; border: 0; accent-color: var(--gold); }
.sliders b { font: 400 1.3rem/1 var(--display); color: var(--paper); }
.chart { width: 100%; height: auto; }
.chart .worth { fill: none; stroke: var(--gold); stroke-width: 2.4; }
.chart .reserve { fill: none; stroke: #e2dad2; stroke-width: 1.4; stroke-dasharray: 4 4; }
.chart .mark { stroke: #3a3532; stroke-dasharray: 2 4; }
.chart .ax { fill: #8f867e; font: 500 10px var(--sans); letter-spacing: .08em; }
.chart .lab { fill: var(--gold); font: italic 400 16px var(--display); }
.chart .lab2 { fill: #e2dad2; font: italic 400 13px var(--display); }
.tallies { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid #3a3532; }
.tallies > div { display: grid; gap: 6px; padding: 18px 18px 0 0; }
.tallies > div + div { padding-left: 18px; border-left: 1px solid #3a3532; }
.tallies .n { font: 400 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--display); color: var(--gold); }
.tallies .c { font-size: .85rem; color: #9b928a; }
/* The architect */
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: #2e2926; border: 1px solid #2e2926; }
.terms > div { display: grid; gap: 8px; align-content: start; padding: 22px 20px; background: #12100f; }
.terms .n { font: 400 1.35rem/1.15 var(--display); color: var(--gold); }
.terms > div > span:last-child { font-size: .92rem; color: #b7aea6; line-height: 1.55; }
.overlay .ask { justify-items: start; }
.overlay .ask .yes { background: var(--gold); border-color: var(--gold); color: #12100f; }
.overlay .ask .yes:hover { background: #d8b981; border-color: #d8b981; color: #12100f; }
.overlay .ask .no:hover { background: transparent; border-color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .overlay { transition: none; } .overlay section { transition: none; opacity: 1; transform: none; } .orbit .turn, .orbit .moon { animation: none; } }

/* Her asks, seen to: a quiet list at the end of Today */
.small-head { margin-top: 56px; }
.askline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 760px; }
.askline li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.askline .q { font: italic 400 1rem/1.4 var(--display); color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.askline .s { flex: none; font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.askline .in_hand .s { color: var(--accent); }
.askline .done .s { color: var(--gold-deep); }
.askline .s a { color: inherit; }

/* Mark it up: her page, frozen, to circle, scribble on and clip. */
.markup { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: 1fr auto; background: rgba(22, 20, 19, .82); animation: settle 300ms ease both; }
.mk-stage { display: grid; place-items: center; padding: 24px; min-height: 0; }
.mk-frame { position: relative; line-height: 0; max-width: 100%; max-height: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.mk-frame canvas { display: block; max-width: calc(100vw - 48px); max-height: calc(100vh - 120px); width: auto; height: auto; }
.mk-frame .mk-ink { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.markup.clipping .mk-ink { cursor: cell; }
.mk-clip { position: absolute; border: 1px dashed var(--paper); box-shadow: 0 0 0 9999px rgba(22, 20, 19, .45); pointer-events: none; }
.mk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px max(20px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: var(--paper); }
.mk-bar .spacer { flex: 1; }
.mk-bar .seg { display: inline-flex; border: 1px solid var(--ink); }
.mk-bar .seg button { border: 0; }
.mk-bar .seg button + button { border-left: 1px solid var(--ink); }
.mk-bar .seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

/* One workstream, opened: everything provided for it */
.wpop { position: fixed; z-index: 41; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100vw - 32px)); max-height: 86vh; overflow: auto;
  display: grid; gap: 16px; padding: 28px 30px; background: var(--paper); border-top: 3px solid var(--v, var(--ink)); box-shadow: 0 30px 80px rgba(22, 20, 19, .2); animation: wpop-in 600ms cubic-bezier(.22, .61, .36, 1) both; }
@media (min-width: 761px) { .wpop { left: calc(50% + var(--side) / 2); } }
.wpop h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.wpop h3 { margin: 6px 0 0; }
.wpop .wstate { margin: 0; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.wpop .wstate.w-done { color: var(--ok); }
.wpop .wstate.w-in_review { color: var(--v, var(--accent)); }
.wpop .strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.wpop .strip img { height: 110px; width: auto; display: block; border: 1px solid var(--line); background: var(--bone); }
.wpop .given { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wpop .given li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wpop .given strong { font: 400 1.2rem/1.3 var(--display); display: block; }
.wpop .given .quote { font: italic 400 1.05rem/1.4 var(--display); margin: 2px 0 0; }
.wpop .btn.primary { background: var(--v, var(--ink)); border-color: var(--v, var(--ink)); }
@keyframes wpop-in { from { transform: translate(-50%, calc(-50% + 16px)); opacity: 0; } }

/* The path: stops in order, done in gold, the next ringed, dates ahead */
.thepath { display: grid; gap: 18px; padding: 8px 0 28px; border-bottom: 1px solid var(--line); }
.thepath h3, .paths .label { margin: 0; }
.pathrow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.pathrow > strong { font: 400 1.2rem/1.3 var(--display); }
@media (max-width: 760px) { .pathrow { grid-template-columns: 1fr; gap: 8px; } }
.pathstrip, .stops { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 0; overflow-x: auto; }
.pathstrip li, .stops li { position: relative; display: grid; gap: 4px; padding: 18px 10px 0 0; border-top: 2px solid var(--line); }
.pathstrip li::before, .stops li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.pathstrip li.done, .stops li.done { border-top-color: var(--gold); }
.pathstrip li.done::before, .stops li.done::before { background: var(--gold); border-color: var(--gold); }
.pathstrip li.here::before, .stops li.next::before { border-color: var(--v, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--v, var(--accent)) 18%, transparent); }
.pathstrip .n, .stops li > span:first-child { font: 400 1.02rem/1.25 var(--display); }
.pathstrip em, .stops em { font-style: italic; color: var(--v, var(--accent)); font-size: .85em; }
.pathstrip li.here .n { color: var(--v, var(--accent)); }
.slide.close .pathstrip { width: min(760px, 100%); }
/* Behind the scenes: the path, editable */
.paths { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); margin-bottom: 24px; }
.paths .stops input { font-size: .82rem; padding: 4px 0; }
.pool .pick.kept { outline: 2px solid var(--gold); outline-offset: -2px; }
.pool .pick .she { position: absolute; z-index: 1; top: 6px; right: 6px; padding: 4px 6px; background: var(--gold); color: var(--ink); font: 500 .58rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
/* Her mood board: tap what feels like her */
.slide.board { gap: 18px; }
.tiles-board { width: 100%; columns: 4 200px; column-gap: 12px; }
.tile-k { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--paper); position: relative; break-inside: avoid; box-shadow: 0 8px 24px rgba(22, 20, 19, .08); transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s; }
.tile-k img { display: block; width: 100%; height: auto; transition: opacity .5s; }
.tile-k:hover { background: var(--paper); transform: translateY(-2px); }
.tile-k .mark { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--paper); background: rgba(22, 20, 19, .25); }
.tile-k.kept { box-shadow: 0 0 0 3px var(--gold), 0 14px 34px rgba(22, 20, 19, .14); }
.tile-k.kept .mark { background: var(--gold); border-color: var(--gold); }
.tile-k.kept .mark::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.board:has(.tile-k.kept) .tile-k:not(.kept) img { opacity: .72; }
/* Directions: big options side by side */
.slide.pickround .options { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.option { display: grid; gap: 12px; padding: 12px 12px 16px; text-transform: none; letter-spacing: 0; white-space: normal; background: var(--paper); border: 1px solid var(--line); text-align: left; position: relative; }
.option img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bone); }
.option .o { font: 400 1.3rem/1.2 var(--display); }
.option .pick { position: absolute; top: 18px; right: 18px; font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--v, var(--accent)); }
.option:hover { background: var(--paper); border-color: var(--v, var(--ink)); }
.option[aria-pressed=true] { border-color: var(--v, var(--ink)); box-shadow: 0 0 0 2px var(--v, var(--ink)); }
.option:disabled { opacity: 1; cursor: default; }
.keptrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.keptrow img { height: 64px; width: auto; border: 1px solid var(--line); }
.keptrow img:nth-child(odd) { transform: rotate(-1.5deg); }
.keptrow img:nth-child(even) { transform: rotate(1.2deg); }

/* The demo, viewed inside Empire: a slim bar over the site as it stands. */
.viewer { display: grid; grid-template-rows: auto 1fr; height: calc(100dvh - 80px); margin: -16px 0 -96px; gap: 10px; }
.vbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vbar .t { font: 400 1.35rem/1.1 var(--display); }
.vbar .spacer { flex: 1; }
#demoFrame { width: 100%; height: 100%; border: 1px solid var(--line, #e7e1d9); background: #fff; box-shadow: 0 18px 40px -28px rgba(22, 20, 19, .35); }
@media (max-width: 760px) { .viewer { height: calc(100dvh - 120px); margin: -8px 0 -96px; } }

/* A brand kit: one spread per direction, its pieces side by side, each hers to keep; then Love, Maybe or Not. */
.slide.kitdir { width: min(1180px, 100%); gap: 18px; }
.kithead { display: grid; gap: 8px; }
.kithead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; }
.modules { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.mod { margin: 0; display: grid; grid-template-rows: 1fr auto; background: var(--paper); box-shadow: 0 10px 28px rgba(22, 20, 19, .07); transition: box-shadow .5s, opacity .5s; }
.mod.m-logo { grid-column: span 2; grid-row: span 2; }
.mod .look { padding: 0; border: 0; background: var(--bone); display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; height: 100%; width: 100%; }
.mod .look:hover { background: var(--bone); }
.mod .look img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.mod .look:hover img { transform: scale(1.02); }
.mod .look:disabled { cursor: default; opacity: 1; }
.mod figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; font: 400 .95rem/1.25 var(--display); }
.keepit { padding: 6px 12px; font-size: .62rem; border-color: color-mix(in srgb, var(--v-ink, var(--ink)) 30%, transparent); }
.keepit[aria-pressed=true] { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.mod.kept { box-shadow: 0 0 0 2px var(--gold), 0 14px 34px rgba(22, 20, 19, .12); }
.kitsw { display: flex; align-self: stretch; justify-self: stretch; width: 100%; height: 100%; min-height: 120px; box-shadow: inset 0 0 0 1px var(--line); }
.kitsw i { flex: 1; height: auto; border-radius: 0; }
.verdict { display: flex; gap: 10px; flex-wrap: wrap; }
.verdict button { min-width: 112px; justify-content: center; }
.verdict button[aria-pressed=true] { background: var(--v-ink, var(--ink)); border-color: var(--v-ink, var(--ink)); color: var(--paper); }
.verdict .v-love[aria-pressed=true] { background: var(--accent); border-color: var(--accent); }
.slide.yourkit { width: min(1080px, 100%); }
.kitrows { width: 100%; display: grid; gap: 4px; border-top: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 14%, transparent); }
.kitrow { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--v-ink, var(--ink)) 8%, transparent); }
.kitrow .label { margin: 0; }
.kitpieces { display: flex; gap: 12px; flex-wrap: wrap; }
.kitpieces figure { margin: 0; display: grid; gap: 4px; width: 168px; }
.kitpieces img, .kitpieces .kitsw { width: 168px; aspect-ratio: 4 / 3; height: auto; min-height: 0; object-fit: contain; background: var(--paper); box-shadow: 0 8px 22px rgba(22, 20, 19, .08); }
.stage.fade > .slide.yourkit .kitrow { animation: rise 900ms cubic-bezier(.22, .61, .36, 1) both; }
.stage.fade > .slide.yourkit .kitrow:nth-child(2) { animation-delay: 80ms; }
.stage.fade > .slide.yourkit .kitrow:nth-child(3) { animation-delay: 160ms; }
.stage.fade > .slide.yourkit .kitrow:nth-child(n+4) { animation-delay: 240ms; }
.lookcloser { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(247, 244, 240, .96); cursor: zoom-out; animation: settle 400ms ease both; }
.lookcloser img { max-width: 100%; max-height: 92vh; object-fit: contain; box-shadow: 0 30px 80px rgba(22, 20, 19, .18); background: var(--paper); }
@media (max-width: 760px) {
  .modules { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mod.m-logo { grid-row: auto; }
  .kitrow { grid-template-columns: 1fr; gap: 8px; }
  .kitpieces figure, .kitpieces img, .kitpieces .kitsw { width: 132px; }
}
/* Behind the scenes, the kit in the preview before it is imported. */
.kitpv { display: grid; gap: 8px; }
.kitpv figure { margin: 0; display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; }
.kitpv img { width: 72px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bone); }
@media (prefers-reduced-motion: reduce) { .lookcloser, .stage.fade > .slide.yourkit .kitrow { animation: none; } .mod .look img { transition: none; } }

/* The drip: a week's coins, a day at a time. */
.coin.plan { --coin-face: color-mix(in srgb, var(--gold) 38%, white); --coin-line: var(--gold); --coin-gem: var(--paper); }
.coin.gone { opacity: .35; }
.daystrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: -6px 0 34px; }
.dayc { display: grid; gap: 8px; align-content: start; padding: 14px 10px 12px; border-top: 1px solid var(--line); min-width: 0; }
.dayc.today { border-top: 2px solid var(--gold); background: var(--bone); }
.dayc .dl { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dayc.today .dl { color: var(--gold-deep); }
.dcoins { display: grid; grid-template-columns: repeat(3, 14px); gap: 3px; }
.dcoins .coin { width: 14px; height: 14px; }
.dayc .dn { font: 400 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.dayc.past .dn { color: var(--muted); }
.dayc .dw { font: 400 .8rem/1.3 var(--sans); color: var(--muted); overflow-wrap: anywhere; }
.dayc .dw i { font-style: italic; }
@media (max-width: 760px) {
  .daystrip { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .dayc { padding: 10px 2px; }
  .dcoins { grid-template-columns: repeat(2, 10px); gap: 2px; }
  .dcoins .coin { width: 10px; height: 10px; }
  .dayc .dw { display: none; }
}
.work .lane { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.work .lane-d { display: grid; gap: 2px; align-content: start; padding: 6px 8px; border: 1px solid var(--line); font-size: 12px; }
.work .lane-d.today { border-color: var(--gold); background: var(--bone); }
@media (max-width: 760px) { .work .lane { grid-template-columns: 1fr 1fr; } }

/* Her initiative page: the work itself, live. Each direction a card; her own posts as the source, quietly cited. */
.standing { margin: 8px 0 40px; }
.sthead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.sthead h3 { margin: 0; }
.dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dirc { display: grid; gap: 6px; align-content: start; padding: 0 0 14px; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; background: var(--paper); border: 0; box-shadow: 0 12px 30px rgba(22, 20, 19, .07); transition: transform .8s cubic-bezier(.22, .61, .36, 1), box-shadow .8s; }
.dirc:hover { background: var(--paper); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(22, 20, 19, .12); }
.dirc .pic { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--bone); overflow: hidden; margin-bottom: 6px; }
.dirc .pic img { width: 100%; height: 100%; object-fit: contain; }
.dirc .n { padding: 0 14px; font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--v, var(--gold-deep)); }
.dirc .t { padding: 0 14px; font: 400 1.25rem/1.2 var(--display); color: var(--ink); }
.dirc .l { padding: 0 14px; font: italic 400 .95rem/1.4 var(--display); color: var(--muted); }
.fromhand { margin: 0 0 44px; }
/* Sections may shrink below their content: the sources strip scrolls within itself instead of widening her page. */
.iview > *, #brandwork, #brandwork > section { min-width: 0; }
.srcs { max-width: 100%; }
.srcs { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.src { flex: none; width: 190px; display: grid; gap: 5px; align-content: start; color: inherit; text-decoration: none; scroll-snap-align: start; }
.src img { width: 190px; aspect-ratio: 1; object-fit: cover; background: var(--bone); filter: saturate(.92); transition: filter .6s; }
.src:hover img { filter: none; }
.src .t { font: 400 1rem/1.25 var(--display); }
.src .w { font: 500 .6rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.src .took { font: italic 400 .88rem/1.4 var(--display); color: var(--muted); }
.dirview { position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: rgba(247, 244, 240, .97); animation: settle 500ms ease both; }
.dv-in { width: min(1180px, 100%); margin: 0 auto; padding: 40px max(24px, 4vw) 60px; display: grid; gap: 22px; background: var(--bone); }
.dv-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; flex-wrap: wrap; }
.dv-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 6px 0; }
.dv-head .says { margin: 0; max-width: 60ch; }
.dirview .mod .look { cursor: default; }
@media (max-width: 760px) { .dirs { grid-template-columns: 1fr 1fr; gap: 10px; } .dirc .l { display: none; } .src, .src img { width: 150px; } }
@media (prefers-reduced-motion: reduce) { .dirview { animation: none; } .dirc, .src img { transition: none; } }
.onsite { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.onsite .chip { padding: 9px 14px; border: 1px solid var(--line); background: var(--paper); font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: border-color .4s; }
.onsite .chip:hover { border-color: var(--gold); }
.signin .claim { display: grid; gap: 12px; width: min(340px, 100%); margin-top: 18px; }
.signin .claim input { flex: 1; min-width: 0; }
