/* v7 publications: carried over from the prototype's site.css in its cascade order, colours bound to tokens,
   then trimmed: the partner form's rules are gone with the form, and the dark-band cover hues with it. */

.checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 22px; color: var(--fg-2); }
.checks .ico { width: 18px; height: 18px; color: var(--fg); margin-top: 2px; }
.close { background: var(--bg); padding-block: 112px 120px; }
.close__copy { display: grid; gap: 18px; justify-items: start; align-content: start; }
.close__title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; color: var(--fg); }
@media (max-width: 960px) {
  .close { padding-block: 72px; }
}
@media (max-width: 560px) {
  .close { padding-block: 56px; }
}
.close__copy .checks { margin-top: 6px; }
.cv { position: relative; overflow: hidden; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.idx-hero { padding-block: 72px 32px; }
.idx-hero .t-display { margin-top: 18px; }
.cv--ht { background: var(--ht-bg); border-color: transparent; }
.cv--ht canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cv--ht[data-hue="blue"] { --ht-bg: var(--lt-blue-fill-row); --ht-soft: var(--lt-blue-outline-row); --ht-ink: var(--lt-blue-accent); }
.cv--ht[data-hue="green"] { --ht-bg: var(--lt-green-fill-row); --ht-soft: var(--lt-green-outline-row); --ht-ink: var(--lt-green-accent); }
.cv--ht[data-hue="purple"] { --ht-bg: var(--lt-purple-fill-row); --ht-soft: var(--lt-purple-outline-row); --ht-ink: var(--lt-purple-accent); }
.cv--ht[data-hue="orange"] { --ht-bg: var(--lt-orange-fill-row); --ht-soft: var(--lt-orange-outline-row); --ht-ink: var(--lt-orange-accent); }
.cv--ht[data-hue="yellow"] { --ht-bg: var(--lt-yellow-fill-row); --ht-soft: var(--lt-yellow-outline-row); --ht-ink: var(--lt-yellow-accent); }
.pub-hero { padding-block: 56px 40px; display: grid; gap: 20px; justify-items: start; }
.pub-hero .t-lead { max-width: 620px; }
[data-std] .pub-hero { padding-bottom: 40px; }
[data-std] .pub-hero { padding-block: 96px 40px; }
.au-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
/* LeoTrace as the author: the mark on a tile, as in the article bylines, never cropped to a circle */
.au-av--mark { padding: 3px; border-radius: 5px; object-fit: contain; background: var(--bg-sunken); }
[data-std] .checks li { font: var(--t-body); }
.s-sec { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.s-col { width: min(1280px, calc(100% - 32px)); margin-inline: auto; border-inline: 1px solid var(--line); }
.s-close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.s-close > .close__copy { padding: 96px var(--cell); }
.s-close .close__title { font: var(--t-close); letter-spacing: var(--tr-headline); }
.s-sec.close { padding-block: 0; }
@media (max-width: 1023px) {
  .s-close { grid-template-columns: minmax(0, 1fr); }
}
/* The close, "Work with us". Until the partner form has a real endpoint it has no form column, so the copy
   takes the row and ends on a button to /pilot/ */
#work-with-us { border-top: 0; padding-block: 112px 120px; }
#work-with-us > .s-close { width: min(1200px, calc(100% - 2 * var(--gutter))); border-inline: 0; grid-template-columns: minmax(0, 1fr); align-items: start; }
#work-with-us > .s-close > .close__copy { padding: 0; }
#work-with-us .close__title { max-width: 880px; }
@media (max-width: 1023px) {
  #work-with-us { padding-block: 72px; }
}
@media (max-width: 760px) {
  #work-with-us { padding-block: 56px; }
}
.site[data-page='publications'] .pub-hero { padding-bottom: 64px; }
.site[data-page='publications'] .pubk-sec { padding-bottom: 160px; }
.site[data-page='publications'] .pubk-col { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
/* The tabs filter this page; the links beside them go to the full /blog/ and /benchmarks/ indexes */
.site[data-page='publications'] .pubk-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; border-bottom: 1px solid var(--line); }
.site[data-page='publications'] .pubk-tabs { display: flex; gap: 32px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site[data-page='publications'] .pubk-more { display: flex; flex: none; gap: 24px; padding-bottom: 12px; }
.site[data-page='publications'] .pubk-tab { position: relative; flex: none; display: flex; align-items: baseline; gap: 6px; padding-bottom: 12px; font: var(--t-body); font-weight: 500; color: var(--fg-3); transition: color 140ms ease; }
.site[data-page='publications'] .pubk-tab span { font: var(--t-small); color: var(--fg-4); }
.site[data-page='publications'] .pubk-tab:hover { color: var(--fg); }
.site[data-page='publications'] .pubk-tab[aria-selected='true'] { color: var(--fg); }
.site[data-page='publications'] .pubk-tab[aria-selected='true'] span { color: var(--fg-3); }
.site[data-page='publications'] .pubk-tab[aria-selected='true']::after { content: ''; position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--fg); }
.site[data-page='publications'] .pubk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.site[data-page='publications'] .pubk { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color 140ms ease; }
.site[data-page='publications'] .pubk:hover { border-color: var(--line-strong); }
.site[data-page='publications'] .pubk.is-filtered-out { display: none; }
.site[data-page='publications'] .pubk__cover { display: grid; aspect-ratio: 16 / 9; padding: 32px; border: 0; border-radius: 0; }
.site[data-page='publications'] .pubk__art { display: block; min-height: 0; border: 0; border-radius: 0; }
.site[data-page='publications'] .pubk__art[data-cover='ase'] { margin-left: 14%; }
.site[data-page='publications'] .pubk__body { display: grid; align-content: start; gap: 8px; padding: 24px 28px 28px; }
.site[data-page='publications'] .pubk__type { font: var(--t-small); color: var(--fg-3); }
.site[data-page='publications'] .pubk__body strong { font: var(--t-title); color: var(--fg); text-wrap: balance; }
.site[data-page='publications'] .pubk__sum { font: var(--t-body); color: var(--fg-3); }
.site[data-page='publications'] .pubk__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: var(--t-small); color: var(--fg-3); }
@media (max-width: 760px) {
  .site[data-page='publications'] .pub-hero { padding-bottom: 40px; }
  .site[data-page='publications'] .pubk-sec { padding-bottom: 96px; }
  .site[data-page='publications'] .pubk-tabs { gap: 24px; }
  .site[data-page='publications'] .pubk-bar { flex-direction: column; align-items: stretch; border-bottom: 0; }
  .site[data-page='publications'] .pubk-tabs { border-bottom: 1px solid var(--line); }
  .site[data-page='publications'] .pubk-more { order: 1; padding-bottom: 0; }
  .site[data-page='publications'] .pubk-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .site[data-page='publications'] .pubk__cover { padding: 20px; }
  .site[data-page='publications'] .pubk__body { padding: 20px 20px 24px; }
}

/* A model or benchmark name never breaks at its hyphen or between its words ("GPT-" then "6 Astra") */
.site[data-page='publications'] .nowrap { white-space: nowrap; }
/* A phone opens on the h1 rather than 120px of blank page */
@media (max-width: 760px) {
  .site[data-page='publications'] .pub-hero { padding-top: 56px; }
}

/* Chrome will not balance a headline across its forced break, so a phone sets the second line as its own
   block: each half balances on its own and no headline ends on a single word */
@media (max-width: 760px) {
  .site[data-page='publications'] main :is(h1, h2) > .tone-2 { display: block; }
}

/* ══ Publications to the website standard, with Home as the bar (Johnny, 11 Nov; the skill leotrace-website) ═
   Layout only, and a light pass: the index is open already. The close's label goes; the list ends 128 above
   the close; the close is one tone and lines up with its form. ═════════════════════════════════════════════ */
.site[data-page='publications'] .pubk-sec { padding-bottom: 128px; }
.site[data-page='publications'] #work-with-us { padding-block: 96px; }
.site[data-page='publications'] #work-with-us > .s-close { gap: 64px; }
.site[data-page='publications'] #work-with-us > .s-close > .close__copy { gap: 16px; padding-top: 32px; }
.site[data-page='publications'] #work-with-us .checks { gap: 8px; }
.site[data-page='publications'] #work-with-us .close__form { padding: 32px; }
.site[data-page='publications'] #work-with-us .form-fields .field { gap: 8px; }
@media (max-width: 1023px) {
  .site[data-page='publications'] #work-with-us > .s-close { gap: 32px; }
  .site[data-page='publications'] #work-with-us > .s-close > .close__copy { padding-top: 0; }
}
@media (max-width: 760px) {
  .site[data-page='publications'] .pubk-sec { padding-bottom: 64px; }
  .site[data-page='publications'] #work-with-us { padding-block: 64px; }
  .site[data-page='publications'] #work-with-us .close__form { padding: 24px; }
}
