:root {
  --ink: #06193a;
  --ink-raised: #0a2450;
  --grid-minor: rgba(150, 195, 250, .055);
  --grid-major: rgba(150, 195, 250, .12);
  --rule: #3a6aa8;
  --rule-strong: #a9cdf7;
  --text: #eaf3ff;
  --muted: #b3cdec;
  --highlight: #ffffff;
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 10vw, 128px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--display);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }

.wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--text); color: var(--ink);
}
.skip:focus { top: 12px; }

/* Generic labels only. Brand names must never use this class's capitals on their own text. */
.label {
  display: block;
  font: 500 .75rem/1.5 var(--mono);
  letter-spacing: .01em;
  color: var(--muted);
}

/* Header */
[data-header] { min-height: 73px; border-bottom: 1px solid var(--rule); background: var(--ink); position: sticky; top: 0; z-index: 5; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.brand__bee { width: 30px; height: 30px; flex: none; }
.brand__mark { font: 700 1.75rem/1 var(--display); letter-spacing: -.02em; }
.brand__name { font: 400 .75rem/1 var(--mono); color: var(--muted); }
[data-header] nav { display: flex; gap: clamp(2px, 2vw, 24px); }
[data-header] nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px;
  font: 500 .875rem/1 var(--mono); text-decoration: none; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
[data-header] nav a:hover { color: var(--highlight); }
[data-header] nav a[aria-current] { color: var(--highlight); border-bottom-color: var(--rule-strong); }
@media (max-width: 560px) { .brand__name { display: none; } }

/* Sections */
.section { padding-block: var(--section); border-bottom: 1px solid var(--rule); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section__title { font: 700 clamp(2rem, 5vw, 3.5rem)/1.05 var(--display); letter-spacing: -.015em; }
.section__link { font: 500 .875rem/1 var(--mono); color: var(--text); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.section__link:hover { color: var(--highlight); }
.fig { font: 500 .8125rem/1.5 var(--mono); color: var(--muted); margin-bottom: 12px; display: block; }

/* Hero */
.hero { border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero__mark { display: block; font: 700 clamp(5.75rem, 16vw, 13.5rem)/.95 var(--display); letter-spacing: -.045em; margin-left: -.04em; }
.hero__name { display: block; margin-top: 18px; font: 500 clamp(1rem, 2vw, 1.375rem)/1.3 var(--mono); letter-spacing: 0; }
.hero__lede { margin-top: 28px; max-width: 34ch; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.35; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__art { margin: 0; }
.hero__art img { width: 100%; }
.hero__art figcaption { margin-top: 8px; font: 500 .8125rem/1.5 var(--mono); color: var(--muted); text-align: center; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font: 500 .875rem/1.2 var(--mono); text-decoration: none;
  border: 1px solid var(--rule-strong); transition: background-color .15s ease, color .15s ease;
}
.button--solid { background: var(--text); color: var(--ink); border-color: var(--text); }
.button:hover { background: var(--highlight); color: var(--ink); border-color: var(--highlight); }

/* Definition */
.definition { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.definition__term { font: 700 clamp(2rem, 4.5vw, 3.25rem)/1.05 var(--display); letter-spacing: -.015em; }
.definition__class { display: block; margin-top: 10px; font: italic 400 1rem/1.5 var(--mono); color: var(--muted); }
.definition__list { padding: 0; margin: 0; list-style: none; counter-reset: sense; display: grid; gap: 28px; }
.definition__list li { counter-increment: sense; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.32; }
.definition__list li::before { content: counter(sense) "."; font: 500 1rem/1.9 var(--mono); color: var(--muted); }
.definition__list small { display: block; margin-top: 10px; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) { .definition { grid-template-columns: minmax(0, 1fr); } }

/* Plates: images and pending placeholders share a reserved shape */
.plate { position: relative; display: grid; place-items: center; width: 100%; background: var(--ink-raised); border: 1px solid var(--rule); overflow: hidden; }
.plate--square { aspect-ratio: 1; }
.plate--portrait { aspect-ratio: 4 / 5; }
.plate:not(.plate--filled) { border-style: dashed; background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)); }
.plate__text { position: relative; padding: 6px 10px; background: var(--ink-raised); font: 500 .8125rem/1.4 var(--mono); color: var(--muted); }
.plate img { width: 100%; height: 100%; object-fit: cover; }

/* Link chips */
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  font: 500 .8125rem/1.2 var(--mono); text-decoration: none;
  border: 1px solid var(--rule-strong); transition: background-color .15s ease, color .15s ease;
}
a.chip:hover { background: var(--text); color: var(--ink); }
.chip--pending { border: 1px dashed var(--rule); color: var(--muted); }
.is-pending { color: var(--muted); font-style: italic; }

/* Artist cards and feature */
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.feature__name, .artist-hero__name {
  display: block; font: 700 clamp(4rem, 15vw, 13rem)/.86 var(--display); letter-spacing: -.04em; margin-left: -.03em;
}
.feature__name { font-size: clamp(3.75rem, 11vw, 10rem); }
.feature__name a { text-decoration: none; }
.feature__name a:hover { color: var(--highlight); }
.feature__body { display: grid; gap: 24px; }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0, 1fr); } }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.artist-card { display: grid; gap: 12px; text-decoration: none; }
.artist-card__name { font: 700 clamp(2.25rem, 5vw, 3.25rem)/1 var(--display); letter-spacing: -.025em; transition: color .15s ease; }
.artist-card:hover .artist-card__name { color: var(--highlight); }
.artist-card:hover .plate { border-color: var(--rule-strong); }

/* Work feed: one dated list of everything the company does */
.feed { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.feed__entry {
  display: grid; grid-template-columns: 9rem 8.5rem minmax(0, 1fr); gap: clamp(16px, 3vw, 40px);
  align-items: start; padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--rule);
}
.feed__date { font: 500 .875rem/1.5 var(--mono); color: var(--text); }
.feed__date.is-pending { color: var(--muted); }
.feed__thumb .plate__text { font-size: .75rem; padding: 2px 6px; }
.feed__body { display: grid; gap: 8px; min-width: 0; }
.feed__title { font: 700 clamp(1.5rem, 3vw, 2.25rem)/1.12 var(--display); letter-spacing: -.01em; }
.feed__by { font: 500 .9375rem/1.4 var(--mono); }
.feed__by a { display: inline-block; padding-block: 8px; text-underline-offset: 4px; }
.feed__note { max-width: 58ch; color: var(--muted); }
.feed__body .links { margin-top: 6px; }
@media (max-width: 680px) {
  .feed__entry { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px 16px; }
  .feed__date { grid-column: 1 / -1; }
}

/* Page headers */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font: 700 clamp(3.25rem, 11vw, 9rem)/.92 var(--display); letter-spacing: -.035em; }
.page-head p { margin-top: 20px; max-width: 46ch; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; }

/* Artist page */
.artist-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); }
.artist-main { display: grid; gap: 40px; align-content: start; }
.artist-main h2 { font: 700 1.625rem/1.15 var(--display); margin-bottom: 14px; }
.bio { display: grid; gap: 16px; max-width: 62ch; }
.facts { border-top: 1px solid var(--rule); }
.facts__row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .artist-grid { grid-template-columns: minmax(0, 1fr); } }

/* About and contact */
.prose { display: grid; gap: 20px; max-width: 58ch; font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.5; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 1px solid var(--rule); }
.contact { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--rule); margin: -1px 0 0 -1px; background: var(--ink); min-width: 0; }
.contact__value { font-size: 1.125rem; overflow-wrap: anywhere; text-underline-offset: 4px; }

/* Footer title block, the corner stamp of a drawing sheet */
[data-footer] { padding-block: 48px 32px; }
.titleblock { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule-strong); background: var(--ink); margin-bottom: 24px; }
.titleblock__cell { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-left: 1px solid var(--rule-strong); min-width: 0; }
.titleblock__cell:first-child { border-left: 0; }
.titleblock__logo { display: flex; align-items: center; gap: 10px; }
.titleblock__logo img { flex: none; }
.titleblock__mark { font: 700 2.25rem/1 var(--display); letter-spacing: -.02em; }
.titleblock__value { font: 500 .9375rem/1.4 var(--mono); overflow-wrap: anywhere; }
.legal { margin-top: 20px; font: 400 .8125rem/1.5 var(--mono); color: var(--muted); }
@media (max-width: 1040px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock__cell--brand { grid-column: 1 / -1; border-bottom: 1px solid var(--rule-strong); }
  .titleblock__cell { border-left: 0; border-bottom: 1px solid var(--rule); }
  .titleblock__cell:nth-child(odd):not(:first-child) { border-left: 1px solid var(--rule); }
  .titleblock__cell:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 480px) {
  .titleblock__cell:nth-child(4), .titleblock__cell:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
  .titleblock__cell:nth-child(4) { border-bottom: 1px solid var(--rule); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
