/* 1. Theme: change these variables to adjust the whole site's visual identity. */
:root {
  --ink: #102e4c;
  --muted: #526579;
  --blue: #1764d7;
  --mint: #b9edb3;
  --paper: #f6f8f8;
  --line: #d5dfe4;
  --white: #ffffff;
  --container: 1200px;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-mono: Consolas, "Cascadia Mono", "Courier New", monospace;
}

/* 2. Foundations and accessible defaults. No external fonts or libraries. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.65; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { color: inherit; }
button[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
::selection { background: var(--mint); color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; }
h1, h2 { letter-spacing: -0.055em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.75rem); margin-bottom: 28px; }
h2 em, h1 em { font-family: var(--font); font-style: normal; font-weight: 400; }
p { margin-bottom: 22px; }
.container { width: min(var(--container), calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: 105px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.section-number { margin-bottom: 25px; }
.lead { font-size: 1.5rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 0.875rem; font-weight: 600; line-height: 1.5; padding-block: 8px; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 16px 21px; font-size: 0.875rem; font-weight: 600; border: 1px solid transparent; transition: background 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #124ea9; }
.button-light { color: var(--ink); background: var(--mint); }
.button-light:hover { background: #d0f7cb; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* 3. Header and navigation. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 100px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.brand-name { display: flex; align-items: baseline; font-size: 1.9rem; letter-spacing: -0.065em; font-weight: 800; }
.brand-name > span { font-weight: 400; }
.brand-name i { width: 8px; height: 8px; margin-left: 4px; background: var(--blue); }
.brand-caption { margin-top: 9px; font-size: 0.49rem; letter-spacing: 0.035em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; font-size: 0.82rem; font-weight: 600; }
.primary-nav a { padding-block: 10px; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav .nav-contact { display: flex; gap: 24px; padding: 11px 16px; border: 1px solid var(--line); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); padding: 9px 12px; cursor: pointer; }
.menu-icon { display: inline-block; width: 18px; height: 8px; margin-left: 12px; border-block: 1px solid currentColor; vertical-align: middle; }

/* 4. Hero: large type and a blueprint-inspired illustration. */
.hero { padding-top: 70px; background: var(--paper); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-copy { padding-block: 12px 30px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; font-size: 0.63rem; }
.status-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
h1 { font-size: clamp(3.5rem, 6.3vw, 5.6rem); line-height: 1.02; margin-bottom: 30px; }
h1 em { color: var(--blue); letter-spacing: -0.06em; }
.hero-description { max-width: 405px; font-size: 0.98rem; line-height: 1.8; color: var(--muted); margin-bottom: 32px; }
.hero .text-link { font-size: 0.77rem; }
.hero-visual { position: relative; align-self: stretch; display: flex; justify-content: center; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); padding-left: 32px; }
.visual-topline, .visual-bottomline { display: flex; justify-content: space-between; align-items: center; font-size: 0.6rem; letter-spacing: 0.12em; font-family: var(--font-mono); color: var(--muted); }
.engineering-art { width: 100%; margin-block: 10px; }
.visual-bottomline { font-size: 0.6rem; letter-spacing: 0.07em; }
.small-cross { font-size: 1.15rem; font-weight: 300; }
.hero-footnote { display: flex; justify-content: space-between; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.7rem; color: var(--muted); }
.hero-footnote a { display: flex; gap: 25px; }
.capability-strip { background: var(--ink); color: #d8e5ef; }
.strip-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 27px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.strip-inner span::before { content: "+"; color: var(--mint); margin-right: 16px; }

/* 5. About and services. The summary arrow switches with the details state. */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-copy > p:not(.lead) { color: var(--muted); font-size: 0.92rem; }
.facts { display: grid; grid-template-columns: 0.7fr 0.5fr 1.25fr; gap: 20px; padding-top: 25px; margin-top: 36px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 1.45rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; }
.facts span { display: block; margin-top: 9px; color: var(--muted); font-size: 0.65rem; }
.solutions-section { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 330px; color: var(--muted); font-size: 0.88rem; margin-bottom: 3px; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { list-style: none; display: grid; grid-template-columns: 85px 1fr 44px; align-items: center; gap: 16px; padding: 28px 15px 28px 0; cursor: pointer; }
.service summary::-webkit-details-marker { display: none; }
.service summary:hover h3 { color: var(--blue); }
.service-number { color: var(--blue); font-family: var(--font-mono); font-size: 0.8rem; align-self: start; margin-top: 7px; }
.service h3 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; }
.service h3 span { font-weight: 400; }
.service-symbol { border: 1px solid var(--line); width: 43px; height: 43px; position: relative; border-radius: 50%; }
.service-symbol::before, .service-symbol::after { content: ""; position: absolute; background: var(--ink); width: 12px; height: 1px; top: 20px; left: 15px; }
.service-symbol::after { transform: rotate(90deg); }
.service[open] .service-symbol { background: var(--blue); border-color: var(--blue); }
.service[open] .service-symbol::before { background: var(--white); }
.service[open] .service-symbol::after { display: none; }
.service-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 75px 32px 101px; color: var(--muted); font-size: 0.88rem; }
.service-content p { margin-bottom: 0; }
.service-content ul { padding-left: 18px; margin: 0; }
.service-content li { margin-bottom: 5px; }
.service-content li::marker { color: var(--blue); }

/* 6. Quality and careers. */
.quality-grid { display: grid; grid-template-columns: 0.8fr 1fr; align-items: center; gap: 120px; }
.quality-grid p:not(.eyebrow) { color: var(--muted); max-width: 500px; font-size: 0.93rem; }
.quality-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1.3; color: var(--blue); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; border: 1px solid var(--line); }
.quality-mark::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid var(--blue); border-radius: 50%; background: var(--white); }
.quality-mark span { position: relative; font-family: var(--font-mono); font-size: clamp(7rem, 14vw, 12rem); font-weight: 500; line-height: 1; }
.quality-mark i { position: absolute; right: 20px; top: 14px; color: var(--ink); font: 1.3rem var(--font-mono); }
.careers-section { background: var(--ink); color: var(--white); position: relative; }
.careers-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 130px; }
.careers-section .eyebrow { color: var(--mint); }
.careers-section h2 em { color: var(--mint); }
.careers-grid > div > p:not(.eyebrow):not(.career-note) { color: #bfd0de; max-width: 410px; font-size: 0.95rem; }
.career-note { margin-top: 18px; font-size: 0.65rem; color: #bfd0de; }
.career-values { border-left: 1px solid #375269; padding-left: 42px; }
.values-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: #bfd0de; margin-bottom: 27px; }
.career-values > div { position: relative; padding-left: 34px; margin-bottom: 25px; }
.career-values > div:last-child { margin-bottom: 0; }
.career-values span { position: absolute; left: 0; top: 1px; font: 0.65rem var(--font-mono); color: var(--mint); }
.career-values h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 500; }
.career-values div p { color: #bfd0de; font-size: 0.8rem; margin-bottom: 0; }
.careers-section :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }

/* 7. Contract links, historical news, and contact. */
.contracts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; }
.contracts-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 0.9rem; max-width: 350px; }
.contract-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 1.1rem; line-height: 1.4; }
.contract-list a:last-child { border-bottom: 1px solid var(--line); }
.contract-list a:hover { color: var(--blue); }
.contract-list small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 6px; }
.milestones-section { background: var(--paper); }
.milestone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.milestone-grid article { border-top: 1px solid var(--line); padding-top: 25px; }
.milestone-grid time { color: var(--blue); font: 0.65rem var(--font-mono); letter-spacing: 0.08em; }
.milestone-grid h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.025em; margin-top: 22px; margin-bottom: 19px; line-height: 1.25; }
.milestone-grid p { color: var(--muted); max-width: 430px; font-size: 0.88rem; }
.contact-section { background: #e8f1f8; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 100px; }
.contact-email { display: inline-flex; align-items: center; gap: 26px; font-size: clamp(1rem, 2.4vw, 1.7rem); border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.contact-email:hover { color: var(--blue); }
.contact-note { font-size: 0.65rem; color: var(--muted); margin-block: 12px 0; }
address { font-style: normal; padding-left: 42px; border-left: 1px solid #bdcedb; align-self: center; }
.address-label { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; }
address p { font-size: 1rem; margin-block: 22px 12px; }
address > a { display: block; width: fit-content; margin-top: 10px; }
address .text-link { font-size: 0.8rem; margin-top: 24px; }
.site-footer { color: #bfd0de; background: var(--ink); padding-block: 35px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { color: var(--white); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.04em; }
.footer-brand span { color: var(--mint); }
.footer-inner p { font-size: 0.6rem; margin: 0; }
.footer-inner > div { display: flex; gap: 24px; font-size: 0.65rem; }
.footer-inner > div a:hover { color: var(--white); }

/* 8. Responsive layouts: desktop, tablet, and phone. */
@media (min-width: 1440px) { .hero { padding-top: 90px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .primary-nav { gap: 16px; }
  .hero-grid { gap: 25px; }
  .hero-visual { padding-left: 20px; }
  .hero .button-group { gap: 14px; }
  .about-grid, .quality-grid, .careers-grid, .contracts-grid { gap: 60px; }
  .strip-inner { font-size: 0.56rem; }
  .strip-inner span::before { margin-right: 7px; }
  .service-content { gap: 30px; padding-right: 30px; }
  .facts strong { font-size: 1.25rem; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 70px; }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .brand-name { font-size: 1.65rem; }
  .brand-caption { font-size: 0.43rem; }
  .primary-nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 16px; }
  /* Menu is collapsed only after JS has initialized its behavior. */
  .js .menu-toggle { display: block; }
  .js .primary-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding-top: 5px; }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav > a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .js .primary-nav .nav-contact { justify-content: space-between; padding: 12px; margin-top: 7px; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: clamp(3.5rem, 10vw, 5.6rem); }
  .hero-copy { padding-bottom: 0; }
  .hero-description { max-width: 500px; }
  .hero-visual { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
  .engineering-art { max-width: 540px; margin-inline: auto; }
  .hero-footnote { margin-top: 30px; }
  .strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 0.6rem; }
  .about-grid, .quality-grid, .careers-grid, .contracts-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid h2 { margin-bottom: 0; }
  .facts { grid-template-columns: 0.7fr 0.5fr 1.1fr; }
  .facts strong { font-size: 1.4rem; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 24px; max-width: 470px; }
  .section-heading > .text-link { margin-top: 25px; }
  .service summary { grid-template-columns: 40px 1fr 36px; gap: 12px; padding-block: 24px; padding-right: 0; }
  .service-symbol { width: 36px; height: 36px; }
  .service-symbol::before, .service-symbol::after { top: 17px; left: 11px; }
  .service-content { grid-template-columns: 1fr; gap: 20px; padding: 0 0 28px 52px; }
  .quality-mark { max-width: 460px; }
  .quality-mark span { font-size: 10rem; }
  .career-values { padding-left: 24px; margin-top: 10px; }
  .contract-list a { font-size: 1rem; }
  .milestone-grid { gap: 30px; }
  .milestone-grid h3 { font-size: 1.3rem; }
  .contact-grid { gap: 42px; }
  address { padding-left: 24px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 480px) {
  .hero .eyebrow { font-size: 0.54rem; letter-spacing: 0.1em; }
  h1 { font-size: clamp(3rem, 12.8vw, 3.8rem); }
  .hero .button-group { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-footnote { gap: 12px; font-size: 0.57rem; }
  .hero-footnote a { gap: 8px; }
  .strip-inner { font-size: 0.51rem; letter-spacing: 0.055em; gap: 16px 8px; }
  .facts { gap: 10px; }
  .facts strong { font-size: 1.1rem; }
  .facts span { font-size: 0.58rem; }
  .service h3 { font-size: 1.2rem; }
  .service summary { grid-template-columns: 24px 1fr 32px; gap: 9px; }
  .service-symbol { width: 32px; height: 32px; }
  .service-symbol::before, .service-symbol::after { top: 15px; left: 9px; }
  .service-content { padding-left: 33px; }
  .milestone-grid { grid-template-columns: 1fr; gap: 42px; }
  .contact-email { gap: 12px; }
  .footer-inner > div { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 9. Shared layouts for local company pages, contract details, and news posts. */
[hidden] { display: none !important; }
.page-hero { padding-block: 34px 64px; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 0.72rem; color: var(--muted); margin-bottom: 42px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { overflow-wrap: anywhere; }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); line-height: 1.1; max-width: 960px; margin-bottom: 24px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-summary { max-width: 720px; font-size: 1.05rem; color: var(--muted); margin-bottom: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 15px 30px; color: var(--muted); font-family: var(--font-mono); font-size: 0.72rem; margin-top: 25px; }
.page-content { padding-block: 65px 95px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 75px; align-items: start; }
.article-body { min-width: 0; }
.article-body > p { color: var(--muted); max-width: 72ch; font-size: 1.03rem; line-height: 1.85; }
.article-body > h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin-block: 40px 22px; }
.article-body > h2:first-child { margin-top: 0; }
.article-body > ul { padding-left: 22px; color: var(--muted); }
.article-body li { padding-bottom: 8px; }
.page-aside { border-left: 1px solid var(--line); padding-left: 28px; overflow-wrap: anywhere; }
.page-aside h2 { font-size: 1.3rem; letter-spacing: -0.025em; margin-bottom: 20px; }
.page-aside p:not(.eyebrow), .page-aside li { color: var(--muted); font-size: 0.85rem; }
.page-aside ul { padding-left: 18px; }
.page-aside li { margin-bottom: 10px; }
.page-aside .text-link { font-size: 0.73rem; margin-top: 15px; }
.archive-context { border-left: 3px solid var(--blue); padding: 20px 24px; margin-block: 35px; background: var(--paper); }
.archive-context .eyebrow { margin-bottom: 12px; }
.archive-context p:last-child { color: var(--muted); font-size: 0.82rem; margin: 0; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 45px; border-top: 1px solid var(--line); padding-top: 28px; }
.post-navigation a { font-size: 0.85rem; line-height: 1.5; }
.post-navigation a:hover { color: var(--blue); }
.post-navigation small { display: block; font-family: var(--font-mono); font-size: 0.63rem; color: var(--muted); margin-bottom: 8px; }
.detail-table { margin: 0 0 32px; }
.detail-table > div { display: grid; grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.5fr); gap: 24px; padding-block: 17px; border-top: 1px solid var(--line); }
.detail-table > div:last-child { border-bottom: 1px solid var(--line); }
.detail-table dt { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.6; }
.detail-table dd { margin: 0; color: var(--muted); font-size: 0.87rem; line-height: 1.6; overflow-wrap: anywhere; }
.document-list { list-style: none; padding: 0 !important; margin-block: 20px; }
.document-list li { padding: 0; border-top: 1px solid var(--line); }
.document-list li:last-child { border-bottom: 1px solid var(--line); }
.document-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 17px; color: var(--ink); font-size: 0.85rem; }
.document-list a:hover { color: var(--blue); }
.file-type { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.65rem; color: var(--blue); }
.article-body > .document-note { font-size: 0.8rem; line-height: 1.7; }
.office-card { border-top: 1px solid var(--line); padding-block: 26px 40px; }
.office-card h2 { font-size: 1.6rem; letter-spacing: -0.025em; }
.office-card address { border: 0; padding: 0; color: var(--muted); line-height: 1.9; }
.office-card address a { display: inline; }
.community-organizations { columns: 2; column-gap: 30px; font-size: 0.85rem; margin-bottom: 30px; }
.community-organizations li { break-inside: avoid; }
.aside-story { display: block; padding-block: 18px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.aside-story time { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 0.63rem; margin-bottom: 7px; }
.aside-story:hover { color: var(--blue); }
.archive-controls { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr auto; align-items: end; gap: 22px; padding: 24px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 30px; }
.archive-controls label { display: block; font-family: var(--font-mono); font-size: 0.7rem; margin-bottom: 8px; }
.archive-controls input, .archive-controls select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #adbdca; border-radius: 0; background: var(--white); color: var(--ink); font: 0.85rem var(--font); min-height: 48px; }
.archive-controls button { min-height: 48px; padding: 12px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; font-size: 0.8rem; }
.archive-controls button:hover { background: var(--blue); border-color: var(--blue); }
.archive-status { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.archive-status > p { font-family: var(--font-mono); font-size: 0.75rem; margin: 0; color: var(--muted); }
.archive-status .text-link { font-size: 0.8rem; }
.news-entry { display: grid; grid-template-columns: 155px minmax(0, 1fr) 42px; align-items: start; gap: 30px; border-top: 1px solid var(--line); padding-block: 32px; }
.news-entry:last-child { border-bottom: 1px solid var(--line); }
.entry-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.entry-date span { display: block; color: var(--blue); margin-top: 12px; }
.news-entry h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.news-entry h2 a:hover { color: var(--blue); }
.news-entry p { max-width: 75ch; font-size: 0.87rem; color: var(--muted); margin-bottom: 0; }
.entry-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; }
.entry-arrow:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.archive-empty { padding: 35px; text-align: center; color: var(--muted); background: var(--paper); }
@media (max-width: 1000px) {
  .reading-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .archive-controls { grid-template-columns: 2fr 1fr 1fr; }
  .archive-controls button { justify-self: start; }
}
@media (max-width: 700px) {
  .page-hero { padding-block: 28px 44px; }
  .breadcrumbs { margin-bottom: 30px; font-size: 0.65rem; }
  .page-content { padding-block: 45px 65px; }
  .reading-layout { grid-template-columns: 1fr; gap: 45px; }
  .page-aside { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .news-entry { grid-template-columns: minmax(0, 1fr) 35px; gap: 15px; }
  .entry-date { grid-column: 1 / -1; display: flex; gap: 18px; }
  .entry-date span { margin: 0; }
  .entry-arrow { width: 35px; height: 35px; }
  .archive-controls { grid-template-columns: 1fr 1fr; padding: 18px; gap: 16px; }
  .archive-controls .search-field { grid-column: 1 / -1; }
  .detail-table > div { grid-template-columns: 1fr; gap: 6px; }
  .community-organizations { columns: 1; }
}
@media (max-width: 480px) {
  .post-navigation { grid-template-columns: 1fr; gap: 24px; }
  .post-navigation > span { display: none; }
  .archive-status { align-items: flex-start; flex-direction: column; gap: 12px; }
}
