* { 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:#fafbf9; --ink:#102642; --muted:#4a5d6b; --accent:#124aa2; --button:#174b9a; --buttonText:white; --rule:#bac8d0; --focus:#a22c72; --display:"Instrument Sans","Segoe UI",Arial,sans-serif; }
.brand { font-size:1.45rem; font-weight:750; }
.head { background:white; }
.hero { margin-top:1.65rem; display:grid; grid-template-columns:1.02fr 1fr; align-items:stretch; background:#dfebf4; border:1px solid #bdcfdc; border-radius:18px; overflow:hidden; }
.hero-copy { padding:clamp(1.6rem,4vw,4.3rem); align-self:center; }
.hero h1 { font-size:clamp(3.3rem,5.95vw,6.2rem); font-weight:760; }
.hero h1 em { font-style:normal; }
.hero .photo { position:relative; min-height:365px; }
.hero .photo img { position:absolute; inset:0; }
.swatches { display:flex; position:absolute; bottom:18px; right:18px; padding:7px; gap:4px; background:white; border-radius:30px; }
.swatches i { width:14px; height:14px; border-radius:50%; background:#269ccb; }
.swatches i:nth-child(2) { background:#ca377b; } .swatches i:nth-child(3) { background:#f3bf38; } .swatches i:nth-child(4) { background:#15283c; }
.action, nav .contact-link { border-radius:7px; }
.cards { gap:1rem; }
.card { padding:1.4rem; background:white; border:1px solid var(--rule); border-radius:12px; border-top:5px solid #67a8bf; }
.card:nth-child(2) { border-top-color:#d07799; } .card:nth-child(3) { border-top-color:#d5a749; }
@media(max-width:760px) { .hero { grid-template-columns:1fr; } .hero .photo { min-height:0; aspect-ratio:1.75; } .cards { gap:1rem; } }
