body { font-family: Helvetica, Arial, sans-serif; color: #111; margin: 0; line-height: 1.5; }
nav { position: sticky; top: 0; background: white; border-bottom: 1px solid #ddd; padding: 12px 32px; display: flex; gap: 24px; align-items: baseline; }
nav .name { font-weight: bold; margin-right: 16px; }
nav a { color: #111; text-decoration: none; }
nav a.here { color: #c8321e; border-bottom: 2px solid #c8321e; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 32px 80px; }
main.wide { max-width: 1500px; }
h1 { font-size: 26px; margin: 24px 0 8px; }
h2 { font-size: 20px; margin: 48px 0 12px; padding-top: 12px; border-top: 2px solid #c8321e; }
h2 .n { color: #c8321e; margin-right: 8px; }
a { color: #c8321e; }
p, li { max-width: 46em; }
figure { margin: 0 0 40px; }
figure img { max-width: 100%; max-height: 92vh; width: auto; height: auto; border: 1px solid #e5e5e5; display: block; }
figcaption { font-size: 12px; color: #666; margin-top: 6px; }
.row { display: flex; gap: 24px; align-items: flex-start; }
.row figure { flex: 1; min-width: 0; }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 36px; }
.gallery img { height: 260px; width: auto; display: block; }
table { border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
th, td { border: 1px solid #ddd; padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: #f5f3ee; }
code { background: #f5f3ee; padding: 1px 4px; font-size: 13px; }
.note { font-size: 12px; color: #666; }
section { scroll-margin-top: 56px; }
.brief { max-width: 40em; margin: 56px 0 72px; }
.brief h1 { font-size: 34px; line-height: 1.15; margin-bottom: 24px; }
.brief p { font-size: 18px; line-height: 1.55; }
.brief p:last-child { font-size: 14px; color: #666; }
#diagrams > h1, #precedents > h1 { font-size: 30px; margin-top: 96px; }

/* the presentation (index.html): a cover, then one screen at a time; without JavaScript the screens stack as one page */
.cover { min-height: 100vh; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cover { background: #e6e4df; }
.cover h1 { font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; font-weight: normal; font-size: clamp(44px, 10vw, 140px); letter-spacing: 0.01em; color: #1c1b19; margin: 0; }
.slide { padding: 40px 72px 80px; box-sizing: border-box; }
.slide .inner, .proposal { max-width: 1500px; margin: 0 auto; }
.slide h2 { margin-top: 0; }
.proposal { display: grid; grid-template-columns: minmax(260px, 26em) 1fr; gap: 48px; align-items: start; }
.proposal .brief { margin: 0; }
.proposal .brief h1 { font-size: 30px; }
.proposal .brief p { font-size: 16px; }
.proposal figure { margin: 30px 0 0; }
.prev, .next, .count { display: none; }
.js body { overflow: hidden; }
.js .cover, .js .slide { display: none; position: fixed; inset: 0; overflow-y: auto; background: white; }
.js .slide.on, .js .slide.under { display: block; }
.js .cover.on { display: flex; z-index: 2; background: rgba(230, 228, 223, 0.93); }
.js .prev, .js .next { display: block; position: fixed; top: 50%; transform: translateY(-50%); z-index: 5; border: 0; background: none; font-size: 28px; color: #aaa; cursor: pointer; padding: 20px 16px; }
.js .prev { left: 0; }
.js .next { right: 0; }
.js .prev:hover, .js .next:hover { color: #c8321e; }
.js .prev:disabled, .js .next:disabled, .js .at-cover .prev { visibility: hidden; }
.js .count { display: block; position: fixed; right: 22px; bottom: 14px; font-size: 12px; color: #999; }
@media (max-width: 1000px) { .proposal { grid-template-columns: 1fr; } .slide { padding: 28px 48px 64px; } }
.js .slide.dark { background: #08090c; }
.js .slide.dark.on { display: flex; align-items: center; justify-content: center; }
.slide.dark figure { margin: 0; }
.slide.dark img { border: 0; max-height: 68vh; }
.slide.dark figcaption { display: none; }
.closer { text-align: center; }
.closer h1 { margin: 0 0 28px; color: white; font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; font-weight: normal; font-size: clamp(30px, 5vw, 76px); letter-spacing: 0.01em; }
