/* Boxy Cerberus identity with an open editorial layout. Artwork leads on Home,
   and becomes the landscape behind the Agent's narrow working surface. */
:root {
  --paper: #ffffff;
  --ink: #0a0a0c;
  --muted: #555560;
  --rule: #dddde2;
  --font-pixel: 'Press Start 2P', ui-monospace, monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}
* { box-sizing: border-box; }
html { font-size: 105%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { color: #fff; background: #0a0a0c; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100001; background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink) !important; outline-offset: 5px !important;
}
.site-header {
  position: relative; z-index: 100; display: flex; justify-content: center; align-items: center;
  min-height: 92px; margin: 0 auto; padding: 0 29px; width: min(1155px, 100%);
  background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
}
.site-header::after { content: ''; position: absolute; bottom: 0; left: 29px; right: 29px; border-bottom: 2px solid var(--ink); }
.site-header .site-nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; margin: 0; }
.site-header .site-nav a {
  padding: 8.5px 0; color: var(--muted); font: 700 10.5px/1.5 var(--font-mono);
  letter-spacing: .025em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color .15s; border: 0;
  background: transparent; box-shadow: none;
}
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-nav a span { font-size: 12.5px; margin-left: 3px; }
.brand-link { display: inline-flex; align-items: center; margin-right: 30px; }
.nav-logo { height: 28px; width: auto; display: block; }
.eyebrow { font: 400 10.5px/1.6 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.brand-tagline { display: flex; justify-content: center; flex-wrap: wrap; gap: 5.5px 0; margin: 0 0 17px; padding: 0; border: 0; box-shadow: none; background: transparent; color: var(--muted); font: 600 10.5px/1.7 var(--font-mono); letter-spacing: .035em; text-transform: uppercase; text-align: center; }
.brand-tagline span { padding: 0 13.5px; }
.brand-tagline span + span { border-left: 1px solid var(--ink); }
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 17px;
  width: min(1096px, calc(100% - 56px)); margin: auto auto 0; padding: 24px 0 26px;
  border-top: 2px solid var(--ink); background: transparent; color: var(--muted);
  font: 400 10.5px/1.6 var(--font-mono); letter-spacing: 0; text-align: left;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Home: three illustrated research notes, with no carousel or hidden content. */
.research-page { min-height: 100vh; background: var(--paper); }
.research-main { width: min(1155px, 100%); margin: 0 auto; padding: 0 29px; }
.research-masthead { display: flex; justify-content: space-between; align-items: center; gap: 21px; padding: 40px 0 27px; }
.research-masthead h1 { margin: 0; font: 400 clamp(18px, 2.5vw, 26px)/1.55 var(--font-pixel); letter-spacing: -.035em; text-transform: uppercase; }
.research-masthead .eyebrow { margin: 0; font-size: 9.5px; }
.research-note { display: grid; grid-template-columns: 356px minmax(0, 1fr) 112px; gap: 50px; align-items: center; padding: 38px 0; border-bottom: 2px dashed var(--rule); }
.research-note:last-child { border-bottom: 0; padding-bottom: 54px; }
.research-figure { position: relative; margin: 0 5px 5px 0; border: 2px solid var(--ink); background: white; box-shadow: 5.5px 5.5px 0 var(--ink); }
.research-image { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.research-image img { position: absolute; height: auto; max-width: none; display: block; }
.research-image-guardian img { width: 235%; left: -134%; top: -32%; }
.research-image-architecture img { width: 270%; left: -1%; top: -44%; }
.research-image-bridge img { width: 225%; left: -40%; top: -65%; }
.research-figure figcaption { position: absolute; inset: auto 0 0; margin: 0; padding: 33px 15px 13.5px; background: linear-gradient(transparent, rgba(10,10,12,.8)); color: white; font: 600 10.5px/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.note-copy { align-self: center; padding-bottom: 21px; }
.note-copy h2 { margin: 0 0 18px; font: 400 11.5px/1.9 var(--font-pixel); letter-spacing: -.02em; text-transform: uppercase; }
.note-copy p { margin: 0; max-width: 38.5ch; font: 400 13.5px/1.85 var(--font-mono); color: var(--muted); }
.note-link { display: inline-flex; align-items: center; gap: 17px; max-width: 100%; margin-top: 23px; padding: 5.5px 0; font: 700 10.5px/1.6 var(--font-mono); text-transform: uppercase; text-decoration: none; border: 0; background: transparent; box-shadow: none; }
.note-link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.note-link span { transition: transform .15s; }
.note-link:hover span { transform: translateX(3px); }
.note-index { align-self: start; padding-top: 8.5px; color: var(--muted); font: 400 9.5px/1.8 var(--font-mono); letter-spacing: .035em; }
.note-index span { display: block; }
.note-index .note-number { display: block; padding: 0; border: 0; color: var(--ink); background: transparent; font: 400 18px/1.5 var(--font-pixel); margin-bottom: 13.5px; letter-spacing: -.08em; box-shadow: none; }
@media (min-width: 1500px) { .research-note { padding-top: 42px; padding-bottom: 42px; } }
@media (max-width: 950px) {
  .research-note { grid-template-columns: minmax(250px, .95fr) minmax(0, 1fr) 71px; gap: 25px; }
}
@media (max-width: 680px) {
  .site-header { min-height: 93px; padding: 17.5px 21px; }
  .site-header::after { left: 21px; right: 21px; }
  .site-header .site-nav { gap: 2px 23px; }
  .site-header .site-nav a { font-size: 9.5px; min-height: 36px; padding: 6.5px 0; display: inline-flex; align-items: center; }
  .research-main { padding: 0 25px; }
  .research-masthead { padding: 31px 0 21px; flex-direction: column; align-items: center; gap: 7.5px; }
  .research-masthead h1 { font-size: clamp(14.5px, 4.1vw, 22px); }
  .research-masthead .eyebrow { text-align: center; font-size: 8.5px; }
  .brand-tagline { font-size: 8.5px; padding: 0; margin-bottom: 5.5px; }
  .brand-tagline span { padding: 0 9.5px; }
  .brand-tagline span:first-child { flex-basis: 100%; }
  .brand-tagline span:nth-child(2) { border-left: 0; }
  .research-note { grid-template-columns: 1fr 63px; gap: 19px 14.5px; padding: 27px 0 37px; }
  .research-figure { grid-column: 1 / -1; width: min(356px, 100%); justify-self: center; }
  .research-figure figcaption { font-size: 8.5px; }
  .note-copy { padding: 8.5px 0 0; }
  .note-copy h2 { font-size: 10.5px; margin-bottom: 13.5px; }
  .note-copy p { font-size: 12.5px; line-height: 1.8; }
  .note-link { margin-top: 17px; }
  .note-index { padding-top: 9.5px; text-align: right; font-size: 8.5px; }
  .note-index .note-number { font-size: 14.5px; }
  .site-footer { width: calc(100% - 50px); flex-wrap: wrap; font-size: 9.5px; gap: 8.5px; }
  .site-footer span:nth-child(2) { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

