* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.6 "Inter", "Segoe UI", Arial, sans-serif; }
h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.frame { width: min(1240px, 90%); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -6rem; z-index: 9; padding: .65rem 1rem; background: var(--ink); color: var(--bg); }
.skip:focus { top: 1rem; }
.head { border-bottom: 1px solid var(--rule); }
.head-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; gap: .6rem; align-items: center; font-family: var(--display); font-size: 1.65rem; line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.mark { display: inline-grid; width: 36px; height: 36px; place-content: center; flex-shrink: 0; color: var(--accent); }
.mark svg { display: block; width: 34px; height: 34px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px,2.5vw,36px); font-size: .88rem; font-weight: 600; }
nav a { padding: .4rem 0; }
nav a:hover, nav a[aria-current], .back:hover { text-decoration: underline; text-underline-offset: 5px; }
nav .contact-link { border: 1px solid var(--rule); padding: .45rem .9rem; }
.kicker, .category, .crumb, .caption { font: 650 .73rem/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: .7rem; }
.kicker::before { content: ""; width: 1.7rem; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { margin: .24em 0 .22em; font-size: clamp(3.75rem,7.5vw,7.55rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); }
.lead { max-width: 49ch; color: var(--muted); line-height: 1.65; font-size: clamp(1rem,1.3vw,1.17rem); }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; background: var(--button); color: var(--buttonText); padding: .75rem 1.15rem; font-size: .9rem; font-weight: 650; }
.hero .action { margin-top: 1.65rem; }
.action:hover { filter: brightness(.90); }
.arrow { display: inline-block; font-family: Arial, sans-serif; font-weight: 400; transition: transform .18s ease; }
a:hover .arrow { transform: translateX(3px); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.library { margin-block: clamp(3rem,6vw,5.8rem); }
.library-head { display: flex; gap: 1rem 3rem; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; }
h2 { font-size: clamp(2rem,4.1vw,3.8rem); letter-spacing: -.055em; line-height: 1.08; }
.library-head p { color: var(--muted); max-width: 44ch; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2vw,2.2rem); }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 1.45rem 1rem 1.45rem 0; border-top: 1px solid var(--rule); }
.category { color: var(--accent); }
.card h3 { margin: .55rem 0 .45rem; font-size: clamp(1.45rem,2.15vw,2.1rem); line-height: 1.12; letter-spacing: -.045em; }
.card p { max-width: 41ch; color: var(--muted); }
.card .arrow { margin-top: auto; padding-top: 1.15rem; color: var(--accent); font-size: 1.15rem; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer { border-top: 1px solid var(--rule); padding: 2rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem 3rem; }
footer .brand { font-size: 1.3rem; }
footer .mark { width: 26px; height: 26px; }
footer .mark svg { width: 25px; height: 25px; }
.legal { font-size: .8rem; color: var(--muted); }
.legal strong { display: block; font-size: .72rem; letter-spacing: .055em; }
footer .foot-link { font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; }
.article { padding-block: clamp(2rem,5vw,5rem); }
.back { font-size: .85rem; color: var(--muted); }
.article-layout { margin: 2.4rem 0; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: clamp(2rem,7vw,7rem); }
.article h1 { font-size: clamp(3rem,6vw,6rem); letter-spacing: -.065em; line-height: 1.02; margin: .25em 0; }
.article .lead { max-width: 38ch; }
.notes { border-top: 1px solid var(--rule); }
.note { padding: 1.45rem 0; border-bottom: 1px solid var(--rule); }
.note h2 { font-size: 1.55rem; letter-spacing: -.035em; line-height: 1.25; margin-bottom: .45rem; }
.note p { color: var(--muted); max-width: 65ch; }
.next { display: inline-flex; align-items: center; gap: 1.2rem; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
address { font-style: normal; line-height: 1.8; margin: .8rem 0 1.35rem; }
@media(max-width:760px) {
  .head-inner { align-items: flex-start; flex-direction: column; padding-block: 1.1rem .8rem; gap: .75rem; }
  nav { gap: .35rem 1rem; font-size: .82rem; }
  nav .contact-link { border: 0; padding: .4rem 0; }
  .library-head { display: block; }
  .library-head p { margin-top: .7rem; }
  .cards, .article-layout { grid-template-columns: 1fr; }
  .cards { gap: .35rem; }
  .article-layout { margin: 1.7rem 0; gap: 1.8rem; }
  .card { padding-right: 2rem; }
  .card .arrow { position: absolute; right: .3rem; top: 1.5rem; margin: 0; padding: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
:root { --bg:#0e1922; --ink:#ecf4f3; --muted:#b2c1c7; --accent:#80e0cb; --button:#80e0cb; --buttonText:#0b2422; --rule:#334650; --focus:#ffcb77; --display:"Geist","Segoe UI",Arial,sans-serif; }
.brand { letter-spacing:-.055em; }
.head .brand { font-weight:700; }
.hero { display:grid; grid-template-columns:.94fr 1.06fr; align-items:center; gap:6%; padding-block:clamp(3.5rem,6vw,6rem); }
.hero h1 { font-size:clamp(3.7rem,6.8vw,7.3rem); }
.hero h1 em { font-style:normal; }
.hero .kicker { color:var(--accent); }
.panel { background:#152630; border:1px solid #3c545c; padding:clamp(1rem,2.5vw,2rem); border-radius:12px; }
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:.7rem; flex-wrap:wrap; }
.panel h2 { font:600 clamp(1rem,1.6vw,1.4rem)/1.4 var(--display); letter-spacing:-.02em; }
.panel select { max-width:100%; background:#203842; color:#e6f5f1; border:1px solid #57707b; border-radius:4px; padding:.4rem; }
.chart-unit { color:#a8bdc4; margin:.8rem 0 .35rem; font-size:.8rem; }
.bars { height:200px; display:flex; align-items:stretch; gap:clamp(4px,1vw,14px); background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#2f444d 25%); border-bottom:1px solid #738b91; }
.bar-group { flex:1; display:flex; flex-direction:column; justify-content:flex-end; text-align:center; min-width:0; }
.bar { height:var(--height); background:linear-gradient(to top,#3d978e,#92e7d1); display:block; border-radius:3px 3px 0 0; margin:0 9%; }
.bar-value,.months { font: .75rem/1.7 Consolas,monospace; }
.months { display:flex; gap:clamp(4px,1vw,14px); color:var(--muted); margin-top:.4rem; } .months span { flex:1; text-align:center; }
.panel figcaption { color:#b2c9ca; margin-top:1rem; font-size:.8rem; }
.action { border-radius:5px; }
.library { border-top:1px solid var(--rule); margin-top:0; padding-top:2.2rem; }
.card { padding:1.3rem; border:1px solid var(--rule); background:#13222c; border-radius:5px; }
@media(max-width:760px) { .hero { grid-template-columns:1fr; gap:2rem; } .cards { gap:.85rem; } .bars { height:160px; } }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
