/* IBM Plex (SIL Open Font License 1.1), Latin subset, served from this site so text does not
   shift when a font arrives late. font-display: optional keeps the fallback for that page view
   if a font is not ready in time; the next page uses the cached font. */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: optional; src: url(/assets/fonts/ibm-plex-mono-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: optional; src: url(/assets/fonts/ibm-plex-sans-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: optional; src: url(/assets/fonts/ibm-plex-sans-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Serif'; font-style: normal; font-weight: 300; font-display: optional; src: url(/assets/fonts/ibm-plex-serif-300.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Serif'; font-style: normal; font-weight: 400; font-display: optional; src: url(/assets/fonts/ibm-plex-serif-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ------------------------------------------------------------------
   COoKIE Group. Visual system modelled on cohere.com (Oct 2026):
   warm off-white canvas, near-black ink, tall rounded panels that
   alternate dark / black / light, light slab-serif display type,
   grotesk section headings, small mono labels, pill buttons.
   ------------------------------------------------------------------ */
:root {
  --ink: #212121;
  --black: #17171c;
  --pure-black: #000;
  --white: #fff;
  --canvas: #f0eee9;
  --gray: #f2f2f2;
  --gray-2: #fafafa;
  --muted: #616161;
  --muted-2: #8a8a8a;
  --hairline: #d9d9dd;
  --hairline-dark: rgba(255,255,255,.14);
  /* Lab purple, from the group's lanyards. Change these two to retune the whole site. */
  --purple: #3f2580;
  --purple-2: #1e1140;
  --navy: #0b1e3a;

  --f-display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --f-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r: 12px;
  --r-sm: 8px;
  --t-fast: .2s;
  --t: .3s;
  --t-slow: .5s;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --focus: #6b46c1;
  /* Text fields: the border darkens on hover; on focus it turns purple with a soft halo. */
  --field-border: var(--hairline);
  --field-border-hover: #a9a9b1;
  --field-border-focus: var(--purple);
  --field-ring: 0 0 0 3px rgba(63, 37, 128, .14);
  --field-ring-bad: 0 0 0 3px rgba(163, 51, 51, .14);
  --plate: linear-gradient(270deg, #c9b8ee 0%, #efe3f7 100%);
  --container: 1360px;
  --gutter: 40px;
}
@media (max-width: 768px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
/* Keyboard focus ring for links, buttons and toggles. Text fields use the softer field states below. */
a:focus-visible, button:focus-visible, summary:focus-visible, input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--focus); border-radius: 4px; }
.btn:focus-visible, .pill:focus-visible { border-radius: 999px; }
.btn:active::before { transform: translate(-3px, 3px); transition-duration: var(--t-fast); }
::placeholder { color: var(--muted-2); opacity: 1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -48px; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.display--md { font-size: clamp(40px, 5vw, 72px); }
.display--sm { font-size: clamp(36px, 4.2vw, 60px); }
.h-section { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.h-panel { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -0.01em; }
.h-sub { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -0.01em; }
.h-card { font-size: 18px; line-height: 1.4; }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 62ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.on-dark .label, .label--light { color: rgba(255,255,255,.8); }
.prose p + p { margin-top: 1em; }

/* ---------- Buttons & links ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-size: 16px; font-weight: 400; line-height: 1.5; border: 1px solid transparent; white-space: nowrap; transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn { background: transparent !important; }
.btn::after { content: ""; position: absolute; inset: -1px; border-radius: 999px; background: var(--btn-bg, var(--black)); border: 1px solid var(--btn-border, transparent); z-index: -1; transition: background-color var(--t) var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--plate); opacity: 0; transform: translate(0, 0); z-index: -2; transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
.btn:hover::before { opacity: 1; transform: translate(-6px, 6px); }
.btn--dark { --btn-bg: var(--black); color: #fff; }
.btn--dark:hover { --btn-bg: var(--pure-black); }
.btn--light { --btn-bg: #fff; color: var(--black); }
.btn--outline { --btn-bg: transparent; --btn-border: var(--black); color: var(--black); }
.btn--outline:hover { --btn-bg: var(--black); color: #fff; }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .4s ease-in-out; }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link--sm { font-size: 14px; }
.u { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; line-height: 1.4; color: var(--ink); background: transparent; white-space: nowrap; }
.pill--sm { padding: 4px 12px; font-size: 13px; }
button.pill { cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
button.pill:hover { background: var(--gray); }
button.pill.is-active { background: var(--black); color: #fff; border-color: var(--black); }
.on-dark .pill { border-color: rgba(255,255,255,.5); color: #fff; }

/* ---------- Announcement & nav ---------- */
.announce { background: var(--pure-black); color: #fff; font-size: 16px; }
.announce__inner { min-height: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.announce p { text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 4px; margin-left: 8px; white-space: nowrap; }
.announce__close { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; transition: transform var(--t) var(--ease); }
.announce__close:hover { transform: rotate(90deg); }
.site-header { position: sticky; top: 0; z-index: 60; transition: transform var(--t) ease-in-out, box-shadow var(--t) var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled .nav { box-shadow: 0 1px 0 var(--hairline); }
@media (max-width: 640px) { .announce { font-size: 13px; line-height: 1.45; } .announce__inner { padding-top: 8px; padding-bottom: 8px; gap: 8px; } .announce p { text-align: left; } }

.nav { background: var(--white); position: relative; z-index: 50; transition: background-color var(--t) ease-in-out; }
.nav__inner { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
.brand__name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.brand__name span { font-weight: 400; color: var(--muted); }
.mark { width: 36px; height: 36px; object-fit: contain; }
.brand--light { color: #fff; }
.brand--light .brand__name span { color: rgba(255,255,255,.6); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 6px 12px; border-radius: 999px; font-size: 16px; transition: background-color var(--t-fast) var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--gray); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav__toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform var(--t) var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav__mobile { display: none; position: fixed; left: 0; right: 0; top: var(--menu-top, 72px); bottom: 0; background: #fff; padding: 24px var(--gutter) 32px; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(-8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); overflow: auto; }
.nav__mobile.is-open { opacity: 1; transform: none; }
.nav__mobile ul { display: block; }
.nav__mobile li a { display: block; padding: 18px 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; border-radius: 0; }
.nav__mobile li a[aria-current="page"] { background: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--hairline); }
.nav__mobile-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.nav__mobile-actions .btn { width: 100%; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__right .btn { display: none; }
  .nav__mobile:not([hidden]) { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.section--canvas { background: var(--canvas); }
.section--dark { background: var(--black); color: #fff; }
.section--black { background: var(--pure-black); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section__head--center { justify-content: center; text-align: center; margin-bottom: 48px; }
.section__head .lead { margin-top: 16px; }
@media (max-width: 768px) { .section { padding: 72px 0; } .section__head { flex-direction: column; align-items: flex-start; gap: 16px; } .section__head--center { align-items: center; } }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 24px; text-align: center; }
/* fadeInUp, timed as on cohere.com: 0.5s ease-in-out, rising a quarter of the element's height (at most 40px). */
@keyframes rise { from { opacity: 0; transform: translateY(min(25%, 40px)); } to { opacity: 1; transform: none; } }
.hero .display, .hero .lead, .hero__actions, .hero-media { animation: rise .5s ease-in-out both; }
.hero .lead { animation-delay: .1s; } .hero__actions { animation-delay: .2s; } .hero-media { animation-delay: .3s; }
.hero .display { max-width: 21ch; margin: 0 auto; }
.hero .lead { margin: 28px auto 0; text-align: center; }
.hero__actions { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 768px) { .hero { padding: 64px 0 16px; } .hero .lead { font-size: 17px; } }
@media (max-width: 480px) { .display { font-size: clamp(34px, 11vw, 44px); } .display--md { font-size: clamp(32px, 10vw, 40px); } .display--sm { font-size: clamp(30px, 9vw, 36px); } .h-section, .h-panel { font-size: clamp(26px, 8vw, 30px); } }

.hero-media { margin-top: 64px; position: relative; border-radius: var(--r); overflow: hidden; background: var(--canvas); aspect-ratio: 1360 / 640; }
.hero-media img.hero-media__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media__card { position: absolute; left: 6%; bottom: 8%; width: 46%; background: #fff; border-radius: var(--r-sm); padding: 22px 22px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.hero-media__card .label { display: block; margin-bottom: 12px; }
.hero-media__card img { width: 100%; height: auto; }
@media (max-width: 900px) { .hero-media { aspect-ratio: auto; } .hero-media img.hero-media__bg { position: static; aspect-ratio: 16 / 9; } .hero-media__card { position: static; width: auto; margin: 0; border-radius: 0; box-shadow: none; } .hero-media__caption { display: none; } }

/* ---------- Logo strip ---------- */
.logos { padding: 72px 0 96px; text-align: center; }
.logos p { margin-bottom: 36px; }
/* The logos scroll slowly in a loop, as on cohere.com. The list holds the logos four times and moves by half
   its width, so the loop has no seam; hovering pauses it. */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker ul { display: flex; align-items: center; width: max-content; animation: ticker 40s linear infinite; }
.ticker li { padding: 0 32px; }
.ticker:hover ul { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { -webkit-mask-image: none; mask-image: none; } .ticker ul { animation: none; width: auto; justify-content: center; flex-wrap: wrap; gap: 24px 0; } .ticker__copy { display: none; } }
/* Logos get about the same area, not the same height, so a wide wordmark does not outweigh a square crest. */
.logos img { height: calc(44px * var(--k, 1)); width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter var(--t) var(--ease), opacity var(--t) var(--ease); }
.logos li:hover img { filter: none; opacity: 1; }
.logos__names { margin-top: 28px; max-width: 70ch; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) { .logos { padding: 56px 0 40px; } .ticker li { padding: 0 20px; } }
@media (max-width: 640px) { .logos img { height: calc(32px * var(--k, 1)); max-width: 140px; } }

/* ---------- Panels (Cohere's stacked product blocks) ---------- */
.panels { display: flex; flex-direction: column; gap: 0; }
.panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-radius: var(--r); overflow: hidden; background: var(--gray-2); color: var(--ink); }
.panel + .panel { margin-top: -12px; }
.panel--dark { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 55%, #0c0718 100%); color: #fff; }
.panel--black { background: linear-gradient(135deg, #0c0718 0%, var(--purple-2) 100%); color: #fff; }
.panel--light { background: linear-gradient(135deg, #f7f7f6 0%, #ecece9 100%); }
.panel--navy { background: linear-gradient(135deg, #0d2a4d 0%, #060f1f 100%); color: #fff; }
.panel--green { background: linear-gradient(135deg, #0f3a30 0%, #061a15 100%); color: #fff; }
.panel__text { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px; z-index: 1; }
.panel__text .label { margin-bottom: 8px; }
.panel__text p { font-size: 14px; line-height: 1.5; max-width: 42ch; }
.panel--dark .panel__text p, .panel--black .panel__text p, .panel--navy .panel__text p, .panel--green .panel__text p { color: rgba(255,255,255,.85); }
.panel__text .btn { align-self: flex-start; margin-top: 12px; }
.panel__media { position: relative; min-height: 360px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.panel:hover .panel__media img { transform: scale(1.025); }
.panel__media--inset { padding: 48px 48px 48px 0; display: flex; align-items: center; }
.panel__media--inset img { position: static; border-radius: var(--r-sm); height: auto; max-height: 100%; }
.panel__media--card { display: flex; align-items: center; justify-content: center; padding: 48px; }
.panel__media--card .card-float { background: #fff; border-radius: var(--r-sm); padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.25); max-width: 560px; }
.panel__media--card .card-float img { position: static; height: auto; }
/* Stacked panels, as on cohere.com: each panel pins 64px lower than the one before, so a strip of every
   earlier panel stays in view. main.js sets --p (how far the next panel has covered this one) and --d (the
   sum over all later panels): the covered panel shrinks by about 1% per panel on top, and its text slides up
   by --shift so its label sits in the visible strip. */
@media (min-width: 901px) and (min-height: 700px) {
  .panels--stack .panel { position: sticky; top: calc(24px + var(--i, 0) * 64px); transform-origin: 50% 0; transform: scale(calc(1 - var(--d, 0) * .0105)); }
  .panels--stack .panel__text { transform: translateY(calc(var(--p, 0) * var(--shift, 0px) * -1)); }
  /* Room for the last panel to pin too before the stack scrolls away; the section gives the same room back. */
  .panels--stack::after { content: ""; height: 96px; }
  #areas { padding-bottom: 16px; }
}
/* Sections fade in and rise as they come into view (fadeInUp on cohere.com): the heading first, the rest 0.1s
   later. main.js adds .reveal only to blocks below the fold on load, so nothing already on screen flickers. */
.reveal { opacity: 0; transform: translateY(min(25%, 40px)); transition: opacity .5s ease-in-out, transform .5s ease-in-out; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--late { transition-delay: .1s; }
@media print { .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; min-height: 0; } .panel__text { padding: 48px 28px 36px; } .panel__media { min-height: 260px; } .panel__media--inset { padding: 0 28px 36px; } .panel__media--card { padding: 0 28px 36px; } }

/* ---------- Values band (research page) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.values .icon { color: var(--ink); opacity: .8; }
.values h3 { font-size: 24px; margin: 24px 0 10px; }
.values p { color: var(--ink); }
@media (max-width: 768px) { .values { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Papers list (research-table) ---------- */
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 12px 16px; background: #fff; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.search:hover { border-color: var(--field-border-hover); }
.search:focus-within { border-color: var(--field-border-focus); box-shadow: var(--field-ring); }
.search svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted); }
.search input { flex: 1; border: 0; outline: none; font: inherit; color: var(--ink); background: transparent; }
.filters { margin-top: 36px; }
.filters .label { display: block; margin-bottom: 14px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pub-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); margin-top: 8px; font-size: 14px; color: var(--muted); }
.pub-group__year { font-size: 24px; padding: 40px 0 8px; }
.pubs { list-style: none; }
.pub { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hairline); transition: background-color .4s; }
.pub.is-target { background: var(--canvas); box-shadow: 0 0 0 16px var(--canvas); }
.pub__title { font-size: 18px; line-height: 1.4; }
.pub__title a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--t-fast) var(--ease); }
.pub__title a:hover { text-decoration-color: var(--ink); }
.pub .pill { cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.pub .pill:hover { background: var(--gray); }
.pub__authors { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pub__venue { margin-top: 2px; font-size: 14px; color: var(--muted-2); }
.pub__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-start; }
.pub__meta { text-align: right; font-size: 14px; color: var(--ink); }
.pub__meta span { display: block; }
.pub__meta .muted { color: var(--muted-2); }
.on-dark .pub { border-color: var(--hairline-dark); }
.on-dark .pub__authors, .on-dark .pub__venue { color: rgba(255,255,255,.65); }
@media (max-width: 900px) { .pub { grid-template-columns: 1fr; gap: 12px; align-items: start; } .pub__meta { text-align: left; } }
@media (min-width: 901px) { .pubs--compact .pub { grid-template-columns: minmax(0, 1fr) auto 150px; } }
.pub-empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Project rows ---------- */
.rows { border-top: 1px solid var(--hairline); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 32px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.row__title { font-size: 18px; line-height: 1.4; }
.row__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.row__right { text-align: right; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.row--2 { grid-template-columns: minmax(0, 1fr) auto; }
.row--people { grid-template-columns: 2fr 4fr 3fr; align-items: baseline; }
.row--people .row__name { font-size: 16px; }
.row--people .muted { font-size: 14px; }
.on-dark .rows, .on-dark .row { border-color: var(--hairline-dark); }
@media (max-width: 768px) { .row, .row--people, .row--2 { grid-template-columns: 1fr; gap: 6px; } .row__right { align-items: flex-start; text-align: left; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
@media (max-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.person__photo { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--gray); display: grid; place-items: center; }
.on-dark .person__photo { background: #2a2a30; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__photo span { font-family: var(--f-display); font-weight: 300; font-size: 40px; color: var(--muted-2); }
.person__name { margin-top: 16px; font-size: 16px; }
.person__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.person__role { margin-top: 4px; font-size: 14px; color: var(--muted); }
.on-dark .person__role { color: rgba(255,255,255,.65); }
.person__focus { margin-top: 10px; font-size: 14px; line-height: 1.45; }
.person__bio { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.on-dark .person__bio { color: rgba(255,255,255,.7); }
.person__links { margin-top: 8px; font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.person__links a { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.on-dark .person__links a { color: rgba(255,255,255,.7); }
.team--compact { grid-template-columns: repeat(4, 1fr); }
.team--compact .person__photo { border-radius: 999px; width: 96px; }

/* ---------- Photo cards (Cohere "Born in Canada" row) ---------- */
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .photo-row { grid-template-columns: repeat(2, 1fr); } }
.photo-card { margin: 0; }
.photo-card__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--gray); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.photo-card:hover .photo-card__img img { transform: scale(1.03); }
.photo-card figcaption { padding: 12px 2px 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.gallery { columns: 3; column-gap: 20px; }
.gallery__item { break-inside: avoid; margin: 0 0 24px; }
.gallery__img { border-radius: var(--r-sm); overflow: hidden; background: var(--gray); }
.gallery__img img { transition: transform var(--t-slow) var(--ease); }
.gallery__item:hover .gallery__img img { transform: scale(1.02); }
.gallery__item figcaption { padding: 10px 2px 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 1; } }

/* ---------- Cards (stone, like Cohere case studies) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--canvas); border-radius: var(--r); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.card__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card .h-card { padding: 0 4px; }
.card .label { padding: 0 4px; margin-top: 6px; }
.card__foot { margin-top: auto; padding: 8px 4px 0; display: flex; justify-content: space-between; align-items: center; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 160px 0; background: var(--purple-2); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.cta .container { position: relative; z-index: 1; }
.cta .display { color: #fff; max-width: 20ch; margin: 0 auto; }
.cta p { margin: 20px auto 0; max-width: 56ch; font-size: 18px; color: rgba(255,255,255,.9); }
.cta__actions { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta .arrow-link { color: #fff; }
@media (max-width: 768px) { .cta { padding: 96px 0; } }

/* ---------- Page head ---------- */
.page-head { padding: 96px 0 56px; }
.page-head .lead { margin-top: 24px; }
.page-head--canvas { background: var(--canvas); padding-bottom: 72px; }
@media (max-width: 768px) { .page-head { padding: 56px 0 36px; } }

/* ---------- Positions ---------- */
.position { background: var(--canvas); border-radius: var(--r); padding: 56px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.position + .position { margin-top: 20px; }
.position__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.position__head .label { margin-bottom: 4px; }
.position__head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.position__body { display: flex; flex-direction: column; gap: 24px; }
.position__body h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.position__body ul { list-style: disc; padding-left: 20px; }
.position__body li { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.position__apply { background: #fff; border-radius: var(--r-sm); padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.position__apply a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .position { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

.contact-panel { background: var(--canvas); border-radius: var(--r); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-card { background: #fff; border-radius: var(--r-sm); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card > div:first-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .contact-card { grid-template-columns: 1fr; } }
.contact-photo { margin: 0; }
.contact-photo img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.contact-photo figcaption { margin-top: 10px; }
.contact-card .label { margin-bottom: 6px; display: block; }
.contact-card a.big { font-size: 18px; text-decoration: underline; text-underline-offset: 4px; word-break: break-all; }
.contact-card address { color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; }
.notes ol { list-style: decimal; padding-left: 20px; }
.notes li { margin-top: 8px; line-height: 1.5; }
.notes p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.notes p + p { margin-top: 12px; }
@media (max-width: 768px) { .notes { grid-template-columns: 1fr; } }

/* ---------- Resources ---------- */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }
.res-group h2 { font-size: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.res-group li { padding: 14px 0; border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 6px; }
.res-item__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.res-item__head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.res-item__meta { font-size: 14px; color: var(--muted); }
.res-item__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding: 80px 0 64px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 40px; } }
.footer__tagline { margin-top: 20px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 36ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 640px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .footer__cols > div:nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }
.footer__label { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer__cols li + li { margin-top: 12px; }
.footer__cols a, .footer__cols address { font-size: 14px; color: #fff; line-height: 1.6; overflow-wrap: anywhere; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--hairline-dark); font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.footer__bottom a { color: #fff; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.res-group h2 .muted { font-weight: 400; margin-left: 8px; }

/* ---------- Social icons ---------- */
.social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--muted); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.social:hover { color: var(--ink); border-color: var(--ink); }
.on-dark .social { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.75); }
.on-dark .social:hover { color: #fff; border-color: #fff; }
.person__links { display: flex; gap: 8px; margin-top: 12px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer .social { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.75); }
.footer .social:hover { color: #fff; border-color: #fff; }

/* ---------- Photo posts ---------- */
.post figcaption { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.post__title { font-size: 15px; line-height: 1.4; color: var(--ink); }
.post__meta { font-size: 13px; color: var(--muted); }
.gallery .post { break-inside: avoid; margin: 0 0 28px; }
.gallery .post__img { border-radius: var(--r-sm); overflow: hidden; background: var(--gray); }
.gallery .post__img img { transition: transform var(--t-slow) var(--ease); }
.gallery .post:hover .post__img img { transform: scale(1.02); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--canvas); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.news-card__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.03); }
.news-card__body { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 8px; flex: 1; }
.news-card__body .arrow-link { margin-top: auto; padding-top: 6px; }
.news-list { border-top: 1px solid var(--hairline); margin-bottom: 24px; }
.news-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 220px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.news-row__date { font-size: 14px; color: var(--muted); padding-top: 4px; }
.news-row p { margin-top: 8px; }
.news-row .arrow-link { margin-top: 10px; }
.news-row__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3 / 2; background: var(--gray); }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .news-row { grid-template-columns: 1fr; gap: 12px; } .news-row__img { max-width: 360px; } }
.section--canvas .pub { border-color: #d8d6d0; }

/* ---------- Paper thumbnails ---------- */
.pub { grid-template-columns: 96px minmax(0, 1fr) auto 150px; }
.pub__thumb { width: 96px; aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; background: var(--gray); }
.pub__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pub__tile { background: var(--tile, var(--black)); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 10px 12px; gap: 2px; }
.pub__tile-venue { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .95; line-height: 1.2; }
.pub__tile-year { font-family: var(--f-display); font-weight: 300; font-size: 20px; line-height: 1; opacity: .8; }
.section--canvas .pub__thumb { background: #e4e2dc; }
@media (max-width: 900px) { .pub { grid-template-columns: 72px minmax(0, 1fr); } .pub__thumb { width: 72px; } .pub__tags, .pub__meta { grid-column: 2; } .pub__tile { padding: 6px 8px; } .pub__tile-year { font-size: 16px; } }
@media (min-width: 901px) { .pubs--compact .pub { grid-template-columns: 96px minmax(0, 1fr) auto 150px; } }

/* ---------- Photo albums & lightbox ---------- */
.post__img { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--gray); cursor: zoom-in; }
.post__img img { display: block; width: 100%; height: auto; }
.post__count { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.post--album .post__img::after { content: ""; position: absolute; inset: 6px -6px -6px 6px; border-radius: var(--r-sm); border: 1px solid rgba(0,0,0,.12); z-index: -1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.94); display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: calc(100vh - 32px); }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 90px); width: auto; height: auto; border-radius: var(--r-sm); }
.lightbox__caption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
.lightbox__nav, .lightbox__close { color: #fff; font-size: 40px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.12); }
.lightbox__close { position: absolute; top: 12px; right: 12px; font-size: 32px; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; padding: 8px; } .lightbox__nav { width: 36px; height: 36px; font-size: 32px; } }

/* ---------- Research page area cards ---------- */
.values h2 { font-size: 24px; line-height: 1.25; margin: 24px 0 10px; }

/* ---------- Paper pages ---------- */
.pub__links { margin-top: 8px; }
.pub__ext { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px 10px; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pub__ext svg { width: 12px; height: 12px; }
.pub__ext:hover { color: var(--ink); border-color: var(--ink); }
.on-dark .pub__ext { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.25); }
.on-dark .pub__ext:hover { color: #fff; border-color: #fff; }
.pub__thumb a { display: block; height: 100%; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color var(--t-fast) var(--ease); }
.crumbs a:hover { text-decoration-color: currentColor; }
.paper-head .label { display: block; margin-bottom: 18px; color: var(--muted); }
.paper-head__title { max-width: 24ch; }
.paper-head__authors { margin-top: 24px; font-size: 18px; line-height: 1.5; max-width: 70ch; }
.paper-head__venue { margin-top: 8px; font-size: 16px; color: var(--muted); max-width: 70ch; }
.paper-head__actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.paper-head__actions .btn svg { width: 14px; height: 14px; }
.paper { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px 96px; align-items: start; }
.paper__main .h-sub { margin-bottom: 18px; }
.paper__main .h-sub + .h-sub, .paper__abstract + .h-sub, .bib + .h-sub { margin-top: 56px; }
.paper__abstract { font-size: 17px; line-height: 1.6; max-width: 68ch; }
.paper__abstract + .h-sub { margin-top: 56px; }
.bib { position: relative; }
.bib__pre { margin: 0; padding: 20px 22px; background: var(--canvas); border-radius: var(--r-sm); font-family: var(--f-mono); font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; color: var(--ink); }
.bib__copy { margin-top: 12px; }
.paper__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }
.paper__fig { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--canvas); aspect-ratio: 3 / 2; }
.paper__fig img { width: 100%; height: 100%; object-fit: cover; }
.paper__fig .paper__tile { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; padding: 28px; gap: 6px; }
.paper__fig .paper__tile .pub__tile-venue { font-size: 16px; }
.paper__fig .paper__tile .pub__tile-year { font-size: 44px; }
.paper__facts { margin: 0; border-top: 1px solid var(--ink); }
.paper__facts div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; line-height: 1.5; }
.paper__facts dt { color: var(--muted); }
.paper__facts dd { margin: 0; overflow-wrap: anywhere; }
.paper__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.paper__tags .pill { cursor: pointer; }
@media (max-width: 1024px) { .paper { grid-template-columns: minmax(0, 1fr); gap: 40px; } .paper__side { position: static; max-width: 480px; } }
@media (max-width: 768px) { .paper-head__authors { font-size: 16px; } .paper__abstract { font-size: 16px; } }

/* ---------- Members hub (members/ build target) ---------- */
.hub-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { padding: 20px 20px 20px; }
.hub-card .label { margin-top: 0; }
.hub-card .card__foot { padding-top: 12px; }
.hub-sections { grid-template-columns: repeat(3, 1fr); gap: 32px 48px; }
@media (max-width: 768px) { .hub-sections { grid-template-columns: 1fr; } }
.hub-calendar iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-sm); background: #fff; margin-bottom: 20px; }
.on-dark .rows, .on-dark .row { border-color: var(--hairline-dark); }
.on-dark .row__sub, .on-dark .row__right { color: rgba(255,255,255,.65); }
.deadline--soon .row__right span:first-child, td.deadline--soon time { color: #9a3b00; font-weight: 500; }
.on-dark .deadline--soon .row__right span:first-child { color: #ffb380; }
.deadline--past .row__right, td.deadline--past { color: var(--muted-2); }
.tracker-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tracker { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 900px; }
.tracker th { text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hairline); }
.tracker td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.tracker tr[hidden] { display: none; }
.tracker__name { display: block; font-size: 16px; line-height: 1.4; }
.tracker__notes { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); max-width: 36ch; }
.tracker__links { display: flex; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; white-space: nowrap; background: var(--gray); color: var(--ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--muted-2)); }
.status--planning { --dot: #8a8a8a; }
.status--awaiting-ethics { --dot: #c9a227; }
.status--study-in-progress { --dot: #4c6ee6; }
.status--writing { --dot: #7a4ce6; }
.status--under-review { --dot: #e68a1a; }
.status--accepted { --dot: #1f8f4e; background: #e6f4ec; }
.status--rejected { --dot: #c0392b; color: var(--muted); }
.priority { font-size: 13px; }
.priority--high { color: #9a3b00; font-weight: 500; }
.priority--low { color: var(--muted-2); }
span.row__title, span.row__sub { display: block; }
.filters .pill .muted { margin-left: 6px; }
.hub-meetings .row--2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 768px) { .hub-meetings .row--2 { grid-template-columns: 1fr; } }

/* ---------- Added after the November 2026 review ---------- */
.nav__signin { font-size: 16px; padding: 6px 12px; color: var(--muted); transition: color var(--t-fast) var(--ease); }
.nav__signin:hover { color: var(--ink); }
@media (max-width: 900px) { .nav__signin { display: none; } }
.panel__media--card .card-float img { width: 100%; }

.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--gray); flex: 0 0 auto; }
.avatar--mark { display: grid; place-items: center; background: var(--white); border: 1px solid var(--hairline); }
.avatar--mark img { width: 32px; height: 32px; }
.row--avatar { grid-template-columns: 48px 2fr 4fr 3fr; align-items: center; gap: 20px; padding: 12px 0; }
@media (max-width: 768px) {
  .row--avatar { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; }
  .row--avatar > .avatar { grid-row: 1 / span 3; align-self: start; }
  .row--avatar > :not(.avatar) { grid-column: 2; }
  .row--avatar > span:empty { display: none; }
}

.life-strip { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 230px; gap: 12px; }
.life-strip a { border-radius: var(--r); overflow: hidden; background: var(--gray); }
.life-strip a:first-child { grid-row: span 2; }
.life-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.life-strip a:hover img { transform: scale(1.03); }
@media (max-width: 768px) {
  .life-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .life-strip a:first-child { grid-column: span 2; grid-row: span 1; }
  .life-strip a:first-child { height: 200px; }
  .life-strip { grid-auto-rows: auto; }
  .life-strip a:not(:first-child) { height: 130px; }
}

.diagrams { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diagram { background: #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.diagram img { width: 100%; height: auto; }
@media (max-width: 768px) { .diagrams { grid-template-columns: 1fr; } .diagram { padding: 16px; } }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-card__play { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--black); margin-bottom: 6px; }
.video-card__play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity var(--t-fast) var(--ease); }
.video-card__play:hover img { opacity: 1; }
.video-card__icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(23,23,28,.82); }
.video-card__icon::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); margin-bottom: 6px; background: #000; }

.paper-bar { background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.paper-bar__inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.paper-bar__arrows { margin-left: auto; display: flex; gap: 8px; }
.paper-bar__arrow { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ink); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); white-space: nowrap; }
a.paper-bar__arrow:hover { background: var(--black); color: #fff; border-color: var(--black); }
.paper-bar__arrow.is-off { color: var(--muted-2); border-color: var(--hairline); }
.paper-nav { position: relative; }
.paper-nav summary { list-style: none; cursor: pointer; }
.paper-nav summary::-webkit-details-marker { display: none; }
.paper-nav__panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 50; width: min(440px, calc(100vw - 2 * var(--gutter))); background: #fff; border: 1px solid var(--hairline); border-radius: var(--r); box-shadow: 0 24px 60px rgba(0,0,0,.16); padding: 12px; }
.paper-nav__search { width: 100%; border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 10px 12px; font: inherit; margin-bottom: 8px; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.paper-nav__search:hover { border-color: var(--field-border-hover); }
.paper-nav__search:focus { outline: none; border-color: var(--field-border-focus); box-shadow: var(--field-ring); }
.paper-nav__list { max-height: min(60vh, 520px); overflow-y: auto; padding-right: 4px; }
.paper-nav__list .label { display: block; padding: 12px 8px 6px; color: var(--muted); }
.paper-nav__list a { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.35; }
.paper-nav__list a:hover { background: var(--gray); }
.paper-nav__list a[aria-current="page"] { background: var(--purple); color: #fff; }
.paper-nav__list a[aria-current="page"] .muted { color: rgba(255,255,255,.75); }
@media (max-width: 480px) { .paper-bar__count { display: none; } }

.bib + .bib { margin-top: 32px; }
.bib .label { display: block; margin-bottom: 10px; color: var(--muted); }
.bib__ref { padding: 18px 22px; background: var(--canvas); border-radius: var(--r-sm); font-size: 15px; line-height: 1.6; }
.news-group[hidden], .news-row[hidden] { display: none; }
