@charset "UTF-8";
/* Breakevens primitives: public/styles.css home, topbar and section components. */
:root {
  color-scheme: light;
  --ink: #101318;
  --muted: #667085;
  --line: #d9e0e8;
  --soft: #f4f7fb;
  --blue: #034694;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(3,70,148,.09), rgba(20,184,138,.06) 36%, rgba(244,247,251,.9)), var(--soft);
  font: 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #14b88a; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; overflow-wrap: anywhere; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
button, .button { min-height: 44px; border: 0; border-radius: 8px; font-weight: 800; }
main, .site-header, .site-footer, .preview-bar { width: min(920px, 100%); margin-inline: auto; }
main { min-height: 60vh; }
.container { width: calc(100% - 32px); margin-inline: auto; }
.home-content { display: grid; gap: 14px; padding: 14px 16px 0; }
.section { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(16,19,24,.05); margin-bottom: 14px; }
.home-content .section { margin: 0; }
.section--top { margin-top: 0; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 900; line-height: 1.3; text-transform: uppercase; margin-bottom: 4px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-link { flex-shrink: 0; padding: 10px 12px; background: #eef4fb; color: var(--blue); border-radius: 8px; font-size: 12px; font-weight: 900; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 16px; background: #fff; z-index: 300; }
.skip-link:focus { top: 10px; }
.preview-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 7px 16px; background: #eaf0f8; color: #52627c; font-size: 10px; }
.preview-bar a { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 100; background: #071676; color: #fff; box-shadow: 0 8px 28px rgba(3,10,20,.1); }
.topbar { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; padding-inline: 16px; }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.topbar .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 14px rgba(3,10,20,.14); }
.topbar-back { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; font-size: 23px; }
.nav-toggle { grid-column: 1; grid-row: 1; position: relative; display: none; width: 44px; padding: 0; background: transparent; color: inherit; }
.nav-toggle span { position: absolute; top: calc(50% - 1px); left: 13px; width: 18px; height: 2px; border-radius: 999px; background: currentColor; }
.nav-toggle span:first-child { transform: translateY(-6px); }
.nav-toggle span:last-child { transform: translateY(6px); }
#site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 12px 10px; }
#site-nav a { padding: 9px 12px; border-radius: 8px; font-size: 12px; line-height: 1.2; font-weight: 800; color: #d7e3ff; }
#site-nav a:hover, #site-nav a[aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.cover { position: relative; color: #fff; background: #050814; overflow: hidden; box-shadow: 0 20px 52px rgba(2,8,24,.2); }
.cover__media { height: clamp(225px, 38vw, 320px); background: linear-gradient(180deg, rgba(2,6,18,.08) 0%, rgba(2,7,20,.02) 40%, #050814 100%), url("/kits/brand/breakevens-cover-app.jpg") center 42% / cover; }
.cover__copy { position: relative; padding: 0 18px 20px; margin-top: -65px; background: linear-gradient(180deg, transparent, #050814 65px); }
.cover__brand { display: flex; gap: 14px; align-items: flex-end; }
.cover__brand img { width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.66); border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.34); }
.cover .eyebrow { color: #bccbe8; font-size: 10px; }
.cover h1 { font-size: 32px; }
.cover__copy > p { margin-top: 12px; color: #bdc9e1; font-size: 14px; }
.archive-promo { display: grid; gap: 8px; padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; color: #fff; background: radial-gradient(circle at 92% 8%, rgba(65,129,255,.82), transparent 34%), linear-gradient(135deg,#061654 0%,#0733bc 58%,#0756ff 100%); box-shadow: 0 16px 34px rgba(3,42,151,.24); }
.archive-promo .eyebrow { color: #bdcdef; font-size: 10px; letter-spacing: .08em; }
.archive-promo h2 { font-size: 28px; letter-spacing: -.025em; line-height: 1.05; }
.archive-promo p { color: #d2def8; font-size: 13px; max-width: 510px; }
.promo-button { display: flex; justify-content: space-between; align-items: center; min-height: 46px; margin-top: 6px; padding: 10px 14px; border-radius: 10px; background: #fff; color: #0937b7; font-size: 14px; font-weight: 900; }
.promo-button b { font-size: 20px; }
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kit-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; overflow: hidden; transition: border-color 160ms; }
.kit-card:hover { border-color: #6e99cc; }
.kit-card__visual { display: grid; place-items: center; height: 255px; padding: 16px; background: #f5f7fb; }
.kit-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kit-card__copy { display: flex; flex: 1; flex-direction: column; padding: 12px; border-top: 1px solid #e7ecf2; }
.kit-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.kit-card__meta span:first-child { color: var(--blue); }
.kit-card h3 { font-size: 16px; line-height: 1.2; margin-bottom: 14px; }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-size: 11px; font-weight: 800; }
.kit-card__year { font-size: 40px; color: var(--muted); font-weight: 900; text-align: center; }
.kit-card__year small { display: block; font-size: 11px; font-weight: 500; }
.era-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.era-grid > a { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.era-period { color: var(--muted); font-size: 11px; font-weight: 800; }
.era-grid h3 { margin-top: 5px; font-size: 22px; color: var(--blue); }
.era-grid p { margin-block: 10px 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.chapter-list { display: grid; gap: 8px; margin-top: 16px; }
.chapter-list > a { display: grid; grid-template-columns: minmax(0,1fr) 24px; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.chapter-list h2, .chapter-list h3 { font-size: 18px; }
.chapter-list p, .chapter-list small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.chapter-list b { color: var(--blue); font-size: 20px; }
.chapter-list a:hover h2, .chapter-list a:hover h3 { color: var(--blue); }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 24px 16px 32px; color: #63718a; font-size: 11px; }
.site-footer .brand { color: #071e52; font-size: 14px; }
.site-footer > a:last-child { margin-left: auto; color: var(--blue); font-weight: 800; }
.breadcrumbs { padding-block: 16px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 11px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #96a1b3; }
.breadcrumbs a { color: var(--blue); }
.page-title { font-size: 32px; margin-bottom: 12px; }
.lead { color: #526078; font-size: 16px; line-height: 1.6; max-width: 700px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 16px; margin-top: 20px; background: #f4f7fb; border: 1px solid var(--line); border-radius: 8px; }
.filters label { display: grid; gap: 6px; flex: 1 1 160px; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.filters select { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #cdd7e4; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 18px; background: var(--blue); color: #fff; font-size: 13px; }
.button:hover { background: #072e67; }
.filters > a { padding: 12px 0; color: var(--blue); font-size: 12px; text-decoration: underline; }
.result-count { margin-block: 14px; font-size: 12px; color: var(--muted); }
.empty-state { padding-block: 40px; }
.empty-state p { margin-block: 14px; color: var(--muted); }
.article-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(16,19,24,.05); }
.article-hero h1 { margin-block: 8px 14px; font-size: 32px; }
.article-hero .lead { font-size: 15px; }
.article-hero__visual { position: relative; display: grid; place-items: center; align-self: start; height: 420px; padding: 20px 20px 42px; background: #f5f7fb; border: 1px solid #e1e7ef; border-radius: 12px; }
.article-hero__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; min-height: 0; }
.article-hero__visual > span:last-child { position: absolute; bottom: 14px; left: 16px; right: 16px; color: var(--muted); font-size: 10px; }
.article-hero--text { display: block; }
.large-year { font-size: 70px; color: var(--muted); font-weight: 900; }
.passport { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 0; }
.passport > div { padding-top: 10px; border-top: 1px solid var(--line); }
.passport dt { color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.passport dd { margin: 0; font-size: 12px; font-weight: 800; }
.passport small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; }
.passport a { color: var(--blue); }
.article-layout { display: grid; grid-template-columns: 175px minmax(0,1fr); gap: 24px; padding: 20px; margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.toc { position: sticky; top: 130px; align-self: start; }
.toc nav { display: grid; gap: 10px; margin-top: 14px; }
.toc a { color: var(--muted); font-size: 12px; border-left: 2px solid var(--line); padding-left: 10px; }
.toc a:hover { color: var(--blue); border-color: var(--blue); }
.prose { font-size: 16px; line-height: 1.75; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin: 32px 0 14px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-block: 24px 10px; }
.prose a, .sources a, .gallery-section figcaption a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 12px 16px; border-left: 3px solid var(--blue); background: var(--soft); }
.prose blockquote p { margin: 0; }
.prose li { margin-bottom: 8px; }
.article-content { min-width: 0; }
.article-content > section { margin-top: 32px; }
.article-content > section > h2 { font-size: 22px; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.gallery-grid figure { margin: 0; min-width: 0; }
.gallery-link { display: block; padding: 14px; background: #f5f7fb; border: 1px solid var(--line); border-radius: 12px; }
.gallery-link img { width: 100%; height: 240px; object-fit: contain; mix-blend-mode: multiply; }
.gallery-link > span { display: block; margin-top: 12px; color: var(--blue); font-size: 11px; font-weight: 800; }
.gallery-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.gallery-grid small { display: block; margin-top: 5px; }
.media-note { color: #866322; }
.related-topics { padding-block: 20px; border-block: 1px solid var(--line); }
.related-topics > a { display: inline-block; padding: 9px 12px; margin: 0 6px 6px 0; border-radius: 8px; background: #eef4fb; color: var(--blue); font-size: 12px; font-weight: 800; }
.sources ol { padding-left: 18px; font-size: 12px; }
.sources li { margin-bottom: 14px; overflow-wrap: anywhere; }
.sources small { display: block; margin-top: 4px; color: var(--muted); }
.sources > p { font-size: 11px; color: var(--muted); }
.adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.adjacent > a { display: grid; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.adjacent > a:last-child { text-align: right; }
.adjacent small, .adjacent span { font-size: 11px; color: var(--muted); }
.adjacent strong { font-size: 22px; color: var(--blue); }
.editorial-note { margin-top: 14px; padding: 12px 16px; border: 1px solid #d2ddeb; border-radius: 8px; background: #eaf0f8; color: #526078; font-size: 12px; }
.editorial-note > strong { display: block; margin-bottom: 4px; }
.editorial-note li { margin-block: 6px; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.review-list article { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.review-list h2 { font-size: 18px; }
.review-list code { font-size: 10px; overflow-wrap: anywhere; }
.review-list li { font-size: 12px; }
.period { margin-top: 14px; color: var(--blue); font-size: 14px; font-weight: 800; }
.variants { padding-block: 20px; border-block: 1px solid var(--line); }
.variants h3 { font-size: 17px; margin-block: 20px 8px; }
.variants p { font-size: 14px; color: var(--muted); }
.variants a { color: var(--blue); }
.lightbox { width: min(920px,94vw); max-height: 94dvh; padding: 55px 24px 20px; border: 0; border-radius: 12px; background: #f4f7fb; }
.lightbox::backdrop { background: rgba(3,10,25,.9); }
.lightbox img { width: 100%; height: 68dvh; object-fit: contain; }
.lightbox p { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
.lightbox-close { position: absolute; top: 8px; right: 12px; padding: 10px; background: transparent; color: var(--blue); font-size: 12px; }
body.gallery-open { overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .js .nav-toggle { display: block; }
  #site-nav { flex-wrap: wrap; justify-content: flex-start; padding: 8px 16px 16px; }
  #site-nav a { flex: 1 1 40%; }
  .js #site-nav:not(.is-open) { display: none; }
  .topbar { padding-inline: 12px; }
  .container { width: calc(100% - 24px); }
  .home-content { padding-inline: 12px; }
  .section { padding: 14px; }
  .cover__copy { padding-inline: 16px; }
  .cover__brand { gap: 12px; }
  .cover h1 { font-size: 30px; }
  .section-heading h2 { font-size: 22px; }
  .section-link { padding: 10px 8px; font-size: 11px; }
  .kit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .kit-card__visual { height: 220px; padding: 12px; }
  .kit-card__copy { padding: 10px; }
  .kit-card h3 { font-size: 14px; }
  .kit-card__meta { font-size: 10px; }
  .era-grid { grid-template-columns: 1fr; }
  .era-grid > a { padding: 14px; }
  .era-grid p { margin-block: 8px 12px; }
  .page-title { font-size: 28px; }
  .lead { font-size: 14px; }
  .article-hero { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .article-hero h1 { font-size: 28px; }
  .article-hero__visual { height: 420px; }
  .article-layout { display: block; padding: 16px; }
  .toc { position: static; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
  .toc nav { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 22px; }
  .review-list { grid-template-columns: 1fr; }
  .gallery-link img { height: 200px; }
  .site-footer { gap: 14px; }
  .site-footer p { width: 100%; order: 2; }
}
@media (max-width: 430px) {
  .preview-bar { font-size: 9px; }
  .cover__media { height: 235px; }
  .cover__brand img { width: 52px; height: 52px; border-radius: 14px; }
  .cover__copy > p { font-size: 12px; }
  .archive-promo { padding: 16px; }
  .archive-promo h2 { font-size: 25px; }
  .archive-promo p { font-size: 12px; }
  .promo-button { font-size: 12px; }
  .section-heading h2 { font-size: 20px; }
  .kit-card__visual { height: 165px; padding: 10px; }
  .kit-card h3 { font-size: 13px; }
  .text-link { font-size: 10px; }
  .filters { padding: 12px; }
  .filters label { flex-basis: 100%; }
  .filters .button { flex: 1; }
  .article-hero__visual { height: 350px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-link img { height: 280px; }
  .toc nav { grid-template-columns: 1fr; }
  .adjacent > a { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
