/* Agent614 preview site. Self-hosted faces. No third-party assets.
   bitter-700.woff2 is the official Bitter Bold instance (PostScript Bitter-Bold, weight 700).
   It is not the Bitter Thin optical-size cut. */

@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/bitter-700.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: swap;
  src: url("/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: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-600.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 Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.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 Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600.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;
}

:root {
  --header-h: 76px;
  --pad: 24px;
}

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

html { overflow-x: clip; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--a614-font-body);
  font-size: 1.03rem;
  line-height: 1.6;
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  padding-top: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture, video, canvas {
  max-width: 100%;
  height: auto;
}

img { border: 0; }

a { color: inherit; }

h1, h2, h3, p, li, a { overflow-wrap: break-word; }

a.btn-gold { color: var(--a614-matte-black); text-decoration: none; }
a.btn-outline { color: var(--a614-warm-cream); text-decoration: none; }
a.btn-dark { color: var(--a614-warm-cream); text-decoration: none; }

.band-dark a.text-link,
.band-dark-plain a.text-link { color: var(--a614-gold); }

.band-cream a:not(.btn),
.band-cream-alt a:not(.btn),
.policy a:not(.btn) { text-underline-offset: 2px; }

.card-span { grid-column: 1 / -1; }

.job-feature {
  margin-top: 18px;
  margin-bottom: 40px;
  background: #141414;
  color: #F4EFE6;
  border-top: 4px solid #D4AF37;
  border-radius: 6px;
  padding: 22px 24px;
}

.job-feature h3 { color: #F4EFE6; margin-bottom: 8px; }

.example-cta h3 { color: #F4EFE6; }

.example-cta .btn { margin-top: 12px; }

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

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--a614-gold);
  color: var(--a614-matte-black);
  font-weight: 600;
  padding: 10px 14px;
  z-index: 80;
  text-decoration: none;
}

.skip:focus { transform: none; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow { width: min(760px, 100%); }

h1, h2, h3 {
  font-family: var(--a614-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

h1 { font-size: var(--a614-h1); letter-spacing: -0.01em; }

h2 { font-size: var(--a614-h2); letter-spacing: -0.005em; line-height: 1.2; }

h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 14px; }

p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 16px; padding-left: 1.2rem; }

li { margin: 0 0 8px; }

.lead { font-size: 1.08rem; line-height: 1.6; max-width: 68ch; }

.small-print { font-size: 0.9rem; margin-top: 12px; }

.eyebrow {
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  opacity: 1;
}

.section-code {
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.band-dark .eyebrow,
.band-dark-plain .eyebrow {
  color: #D4AF37;
  opacity: 1;
}

.band-dark .section-code,
.band-dark-plain .section-code { color: #D4AF37; opacity: 1; }

.band-cream .eyebrow,
.band-cream-alt .eyebrow,
.card-kicker {
  color: #9E2A2B;
  opacity: 1;
  text-transform: uppercase;
}

.band-dark, .band-dark-plain {
  background-color: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  padding: 72px 0;
}

.band-dark {
  position: relative;
  background-color: #141414;
  /* Opaque tile, pre-blended 8% gold on #141414. A transparent CSS gradient
     is flattened away in Chromium's PDF export even with print backgrounds on. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Crect width='48' height='1' fill='%23232117'/%3E%3Crect width='1' height='48' fill='%23232117'/%3E%3C/svg%3E");
  background-size: 48px 48px;
  background-repeat: repeat;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.band-dark-plain { border-top: 1px solid rgba(212, 175, 55, 0.28); }

.band-cream, .band-cream-alt {
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
  padding: 68px 0;
}

.band-cream-alt {
  background: var(--a614-cream-bar);
  border-top: 1px solid #dcd2bf;
  border-bottom: 1px solid #dcd2bf;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: auto;
  background: #141414;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.folder-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #141414;
  border-bottom: 2px solid #A88961;
}

.folder-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 6px;
  max-width: 100%;
  padding-top: 10px;
  overflow-x: auto;
}

.ftab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px 8px;
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #F4EFE6;
  background: #1A1A1A;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.ftab:hover { color: #D4AF37; }

.ftab[aria-current="page"] {
  background: #C4A47C;
  color: #141414;
}

.ftab[aria-current="page"]:hover { color: #141414; }

.ftab:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px #D4AF37;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  /* The file's ink is about 94x26 inside a 128x40 box (ratio 3.62).
     69px of element height paints that ink at about 42px tall. */
  height: 69px;
  width: auto;
  max-width: none;
  display: block;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  color: var(--a614-warm-cream);
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 5px;
  font-family: var(--a614-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--a614-warm-cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--a614-gold);
  border-bottom-color: var(--a614-gold);
}

.nav-links .btn {
  border-bottom: 0;
  color: var(--a614-matte-black);
}

.nav-links .btn:hover,
.nav-links .btn[aria-current="page"] {
  color: var(--a614-matte-black);
  border-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 5px;
  border: 1.5px solid transparent;
  font-family: var(--a614-font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-gold {
  background: var(--a614-gold);
  color: var(--a614-matte-black);
}

.btn-gold:hover { background: #e0be55; }

.btn-gold:focus-visible { outline-color: var(--a614-warm-cream); }

.btn-outline {
  background: transparent;
  color: var(--a614-warm-cream);
  border-color: rgba(212, 175, 55, 0.85);
}

.btn-outline:hover { border-color: var(--a614-gold); color: var(--a614-gold); }

.btn-dark {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
}

.btn-dark:hover { background: #262626; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-grid, .split, .arch-wrap, .form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.grid-2, .grid-3 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card, .card-dark {
  border-radius: 6px;
  padding: 22px;
  min-width: 0;
}

.card {
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
  border: 1px solid var(--a614-matte-black);
  border-top: 4px solid var(--a614-kraft);
}

.card-dark {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-top: 3px solid var(--a614-gold);
}

.card-kicker, .step-num {
  display: block;
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-dark .step-num, .card-dark .card-kicker { color: var(--a614-gold); }

.dossier {
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
  border: 1px solid var(--a614-kraft-border);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dossier-tab {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #C4A47C;
  color: #141414;
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
}

.dossier-body { display: flow-root; padding: 16px 16px 18px; position: relative; }

.stamp {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 64px;
  margin: 0 0 10px auto;
}

.dossier-home .stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 64px;
  height: 64px;
  max-width: 64px;
  margin: 0;
  pointer-events: none;
}

.dossier-home .dossier-lead {
  min-height: 88px;
  margin: 0 0 12px;
  padding-right: 88px;
  display: flex;
  align-items: center;
}

.hub-pills, .arch-list { display: grid; gap: 8px; }

.hub-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 12px; }

.hub-node, .arch-btn {
  font-family: var(--a614-font-body);
  text-align: left;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  border: 1.5px solid #141414;
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
}

.hub-node, .arch-btn { padding: 10px 12px; }

.hub-node strong, .arch-btn strong { display: block; font-size: 0.92rem; }

.node-kicker, .arch-btn span {
  display: block;
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a614-stamp-crimson);
  margin-bottom: 2px;
}

.hub-node[aria-pressed="true"], .arch-btn[aria-pressed="true"] {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  border-color: var(--a614-matte-black);
}

.hub-node[aria-pressed="true"] .node-kicker,
.arch-btn[aria-pressed="true"] span { color: var(--a614-gold); }

.hub-detail, .arch-panel {
  border-radius: 4px;
  padding: 14px;
  min-width: 0;
}

.hub-detail {
  background: var(--a614-cream-bar);
  color: var(--a614-matte-black);
  border-left: 4px solid var(--a614-stamp-crimson);
}

.arch-wrap { margin-top: 8px; align-items: stretch; }

.arch-panel {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.arch-panel .eyebrow { color: var(--a614-gold); }

.marker {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  border: 1.5px dashed var(--a614-stamp-crimson);
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
  padding: 0.12em 0.45em;
  font-family: var(--a614-font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  vertical-align: baseline;
  overflow-wrap: anywhere;
}

.marker-block { display: block; margin: 14px 0 0; padding: 12px 14px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.faq-item {
  background: var(--a614-warm-cream);
  color: var(--a614-matte-black);
  border: 1px solid #d6cbb8;
  border-radius: 5px;
  margin-bottom: 10px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--a614-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-mark {
  font-family: var(--a614-font-mono);
  color: var(--a614-stamp-crimson);
  font-weight: 600;
  flex: none;
}

.faq-mark::before { content: "+"; }

.faq-item[open] .faq-mark::before { content: "-"; }

.faq-a { padding: 0 18px 16px; border-top: 1px solid #efe7d8; padding-top: 12px; }

.wheel-badge {
  margin: 0 0 14px;
  color: #D4AF37;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint { margin: 28px 0 8px; }

.blueprint img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(20, 20, 20, 0.22);
  background: #fff;
}

.blueprint figcaption {
  margin: 12px 0 40px;
  color: #141414;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.hub-more { margin: 10px 0 0; }

.hub-more a { color: #141414; }

.app-lockup { max-width: 440px; margin: 0 0 18px; }

.app-lockup img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 540; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 14px; }

.field label {
  font-family: var(--a614-font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a614-matte-black);
}

.req { font-family: var(--a614-font-body); letter-spacing: 0; text-transform: none; font-weight: 600; }

input, select, textarea {
  width: 100%;
  max-width: 100%;
  font-family: var(--a614-font-body);
  font-size: 1rem;
  color: var(--a614-matte-black);
  background: var(--a614-warm-cream);
  border: 1.5px solid #141414;
  border-radius: 4px;
  padding: 11px 12px;
}

textarea { min-height: 120px; resize: vertical; }

input::placeholder, textarea::placeholder { color: #141414; opacity: 0.72; }

[aria-invalid="true"] { border-color: var(--a614-stamp-crimson); }

.field-error, .form-alert {
  color: var(--a614-stamp-crimson);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.form-alert { margin-bottom: 12px; }

.helper { font-size: 0.9rem; color: var(--a614-matte-black); }

.hp {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 240px;
  height: auto;
  overflow: hidden;
}

.confirm {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  border-left: 5px solid var(--a614-gold);
  border-radius: 5px;
  padding: 22px;
}

.confirm .marker { margin: 0 0.15em; }

.site-footer {
  background: var(--a614-matte-black);
  color: var(--a614-warm-cream);
  border-top: 2px solid var(--a614-gold);
  padding: 32px 0;
  font-size: 0.95rem;
}

.site-footer a { color: var(--a614-gold); }

.footer-legal { margin-top: 10px; }

.policy h2 { margin-top: 28px; }

.policy ul { max-width: 70ch; }

.closing {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.stack-16 > * + * { margin-top: 16px; }

@media (max-width: 900px) {
  .hero-grid, .split, .arch-wrap, .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 840px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--a614-matte-black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 16px 16px;
  }

  .nav-check:checked ~ .nav-links { display: flex; }

  .nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--a614-gold); outline-offset: 3px; }

  .nav-links a {
    padding: 12px 4px;
    min-height: 44px;
  }

  .nav-links .btn { width: 100%; }
}

@media (max-width: 700px) {
  .grid-2, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .band-dark, .band-dark-plain, .band-cream, .band-cream-alt { padding: 48px 0; }
  .hub-pills { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .app-lockup {
    max-width: 200px;
    background: var(--a614-warm-cream);
    padding: 10px 12px 4px;
    border-radius: 6px;
  }

  .app-lockup img { aspect-ratio: 1 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.stack-gap { margin-top: 28px; }

.header-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 8px;
}

.brand { grid-column: 1; grid-row: 1; align-self: center; }

.header-cta { grid-column: 3; grid-row: 1; align-self: center; }

.header-tabs {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.header-tabs .ftab {
  background: #222222;
  color: #F4EFE6;
  margin: 0;
}

.header-tabs .ftab[aria-current="page"] {
  background: #C4A47C;
  color: #141414;
  font-weight: 700;
}

.header-tabs .ftab[aria-current="page"]:hover {
  background: #C4A47C;
  color: #141414;
}

.header-cta {
  white-space: nowrap;
}

.brand { flex: none; }

.case-label {
  display: inline-block;
  max-width: 100%;
  background: #C4A47C;
  color: #141414;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  padding: 8px 12px;
  margin: 0 0 16px;
}

.home-hero { padding-bottom: 40px; }

.hero-editorial {
  max-width: none;
}

.page-hero h1,
.page-hero .lead {
  max-width: 820px;
}

.manila { position: relative; margin: 0; max-width: 100%; }

.manila-aside { align-self: center; }

.bio-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.manila-aside .typed { font-size: 0.84rem; line-height: 26px; }

.manila-file { position: relative; }

.manila-back {
  position: absolute;
  top: 16px;
  right: 0;
  bottom: 0;
  left: 14px;
  background: #C4A47C;
  border-radius: 4px 14px 10px 10px;
}

.manila-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #F4EFE6;
  color: #141414;
  margin-right: 14px;
  border-radius: 2px 2px 10px 10px;
  padding: 28px 16px 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
  min-height: 0;
}

.manila-tab {
  position: absolute;
  top: -26px;
  right: 16px;
  background: #C4A47C;
  color: #141414;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px 6px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

.manila-place {
  margin: 4px 0 14px;
  text-align: right;
  color: #9E2A2B;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manila-split {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.portrait-frame {
  position: relative;
  width: 180px;
  height: 220px;
  max-width: 100%;
  background: #E6E6E6;
  color: #141414;
  border: 2px solid #B5B5B5;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

.portrait-frame picture,
.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.paperclip {
  position: absolute;
  top: -16px;
  left: 18px;
  width: 22px;
  height: 46px;
  display: block;
}

.portrait-caption {
  margin: 10px 0 0;
  max-width: 180px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
  color: #141414;
}

.manila-notes {
  position: relative;
  min-height: 0;
  padding: 0 4px 84px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 26px,
    rgba(20, 20, 20, 0.16) 27px,
    transparent 28px,
    transparent 36px
  );
  background-position: 0 2px;
}

.typed {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 28px;
  color: #141414;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.manila-notes .typed:last-of-type { margin-bottom: 0; }

.keep-together { white-space: nowrap; hyphens: none; }

.rect-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78px;
  height: auto;
  max-width: 40%;
}

.shift-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

@media (min-width: 901px) {
  .home-band {
    padding-top: 92px;
    padding-bottom: 92px;
  }
}

.shift-lead,
.shift-grid .index-card,
.shift-grid .graph-card { height: 100%; min-height: 260px; }

.shift-lead h2 { margin-bottom: 10px; }

.shift-rule {
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 22px;
  border: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.55);
  height: 0;
}

.shift-rest {
  column-count: 2;
  column-gap: 40px;
}

.shift-rest p {
  margin: 0 0 14px;
  break-inside: avoid;
}

.index-card {
  background-color: #FAF7F0;
  color: #141414;
  transform: rotate(-1deg);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.12);
  padding: 28px 16px 16px;
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(20, 20, 20, 0.08) 28px
  );
}

.pushpin {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #9E2A2B;
  box-shadow: 0 2px 0 #6e1c1d;
}

.index-card h3 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 0 12px;
  color: #141414;
}

.ticks { list-style: none; margin: 0; padding: 0; }

.ticks li {
  position: relative;
  padding-left: 1.5em;
  margin: 0 0 10px;
  color: #141414;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.7em;
  height: 0.4em;
  border-left: 2px solid #141414;
  border-bottom: 2px solid #141414;
  transform: rotate(-45deg);
}

.graph-card {
  background-color: #FAF7F0;
  color: #141414;
  padding: 12px 12px 10px;
  background-image:
    linear-gradient(to right, rgba(20, 20, 20, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 20, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.graph-card h3 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #141414;
}

.look-ahead { margin-top: 48px; }

.hub-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  grid-template-rows: auto 22px auto;
  gap: 0;
  align-items: stretch;
}

.hub-arrow {
  display: block;
  overflow: visible;
}

.hub-arrow-h {
  align-self: center;
  width: 100%;
  height: 14px;
}

.hub-arrow-v {
  justify-self: center;
  width: 14px;
  height: 100%;
}

.hub-arrow-d {
  width: 100%;
  height: 100%;
}

.hub-box {
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
  border: 1.5px solid #141414;
  background: #141414;
  color: #F4EFE6;
  min-height: 44px;
  padding: 6px 6px;
  cursor: pointer;
}

.hub-core { grid-column: 1; grid-row: 1; }
.hub-team { grid-column: 3; grid-row: 1; }
.hub-office { grid-column: 1; grid-row: 3; }
.hub-door { grid-column: 3; grid-row: 3; }
.hub-arrow-h { grid-column: 2; grid-row: 1; }
.hub-arrow-v { grid-column: 1; grid-row: 2; }
.hub-arrow-d { grid-column: 2; grid-row: 2; }

.hub-box[aria-pressed="true"] {
  background: #C4A47C;
  color: #141414;
  border: 2.5px solid #141414;
  font-weight: 700;
}

.hub-caption {
  margin: 8px 0 0;
  color: #141414;
  background: #F4EFE6;
  padding: 6px 8px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.reports { margin-top: 42px; }

.reports .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; }

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F4EFE6;
  color: #141414;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.case-card .case-kicker {
  margin: 0;
  background: #141414;
  color: #D4AF37;
  border-top: 4px solid #C4A47C;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  hyphens: none;
  padding: 12px 14px;
}

@media (min-width: 900px) {
  .case-card .case-kicker { white-space: nowrap; }
}

.case-card ul {
  margin: 0 16px 18px;
  padding-left: 1.15rem;
}

.case-card li { color: #141414; }

.case-card h3 {
  color: #141414;
  font-size: 1.15rem;
  margin: 16px 16px 8px;
}

.case-card p { margin: 0 16px 18px; color: #141414; }

.arch-wrap {
  background-color: #FAF7F0;
  background-image:
    linear-gradient(to right, rgba(20, 20, 20, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 20, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 16px;
  border-radius: 6px;
}

.nav-toggle { display: none; }

@media (max-width: 899px) {
  .header-bar {
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand, .header-cta, .nav-toggle { grid-column: auto; grid-row: auto; align-self: center; }

  .js .nav-toggle { display: inline-flex; }

  .header-cta { margin-left: auto; }

  .header-tabs {
    position: static;
    transform: none;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 12px;
    gap: 8px;
  }

  .js .header-tabs {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    margin: 0;
    z-index: 60;
    padding: 12px 16px 16px;
    background: #141414;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  }

  .js .header-tabs.is-open { display: flex; }

  .header-tabs .ftab { width: 100%; max-width: 100%; }
}

@media (max-width: 1100px) {
  .brand img { height: 58px; }
  .header-tabs { gap: 4px; max-width: 100%; min-width: 0; }
  .header-tabs .ftab {
    padding: 8px 8px 7px;
    letter-spacing: 0.02em;
    font-size: 0.64rem;
  }
}

@media (max-width: 900px) {
  .home-hero { padding-bottom: 36px; }
  .bio-split { grid-template-columns: minmax(0, 1fr); }
  .manila-aside { margin-top: 28px; align-self: stretch; }
  .shift-grid { grid-template-columns: minmax(0, 1fr); }
  .shift-lead,
  .shift-grid .index-card,
  .shift-grid .graph-card { min-height: 0; }
  .shift-rest { column-count: 1; }
}

@media (max-width: 899px) {
  .brand img { height: 36px; max-width: 42vw; }
}

@media (max-width: 640px) {
  .manila-split { grid-template-columns: minmax(0, 1fr); }
  .portrait-frame { width: 180px; height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .index-card { transform: none; }
}
