:root { font-family: Arial, Helvetica, sans-serif; color: #252b28; background: #edf0ed; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid #718c80; outline-offset: 5px; }
.topbar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; color: white; font-size: 14px; background: linear-gradient(#111a, transparent); }
.brand { font-size: 29px; font-weight: 300; }
.brand img { display: block; width: 140px; height: auto; }
.hero { position: relative; height: 80svh; min-height: 440px; max-height: 850px; color: white; }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #111b); pointer-events: none; }
.hero-title { position: absolute; left: 5%; bottom: 34px; z-index: 1; }
.hero-title p { margin: 4px 0; font-size: 15px; }
.hero-title > p:first-child { font-size: 12px; }
h1 { margin: 0; font-size: 38px; line-height: 1.3; font-weight: 300; letter-spacing: 0; }
h2 { margin: 0; font-size: 27px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.introduction { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; padding: 64px 5%; max-width: 1360px; margin: auto; }
.introduction p { margin: 0 0 16px; font-size: 15px; }
.chapters { position: sticky; top: 0; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; padding: 18px 5%; border-block: 1px solid #b7c1ba; background: #edf0edf5; font-size: 13px; backdrop-filter: blur(10px); }
.chapters a:hover { text-decoration: underline; text-underline-offset: 5px; }
.chapter { padding: 64px 5%; max-width: 1360px; margin: auto; }
.chapter + .chapter { border-top: 1px solid #bcc6bf; }
.chapter-heading { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-bottom: 30px; }
.chapter-heading p { margin: 0; font-size: 15px; color: #4f5d54; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
#conception .gallery { grid-template-columns: 1fr; }
#conception .photo img { aspect-ratio: 16 / 10; background: #fff; }
figure { min-width: 0; margin: 0; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: #dce2dd; }
.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: filter 300ms ease; }
.photo:hover img { filter: brightness(1.04); }
figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #4f5d54; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 32px 5%; background: #202722; color: #e4eae6; font-size: 12px; }
dialog { width: 96vw; max-width: 1400px; height: 94svh; max-height: 94svh; padding: 18px 22px; border: 0; background: #141a17; color: #f3f6f4; }
dialog::backdrop { background: #111e; }
.lightbox-toolbar, .lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox-toolbar { height: 44px; font-size: 13px; }
dialog button { border: 0; background: transparent; color: inherit; min-width: 44px; min-height: 44px; padding: 8px; }
#large-photo { display: block; width: 100%; height: calc(94svh - 160px); object-fit: contain; }
.lightbox-bottom { min-height: 70px; }
.lightbox-bottom p { margin: 0; text-align: center; font-size: 13px; }
.lightbox-bottom button { font-size: 25px; }
@media (max-width: 720px) {
  html { scroll-padding-top: 116px; }
  .hero { height: 70svh; min-height: 420px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .introduction, .chapter-heading { grid-template-columns: 1fr; gap: 22px; }
  .introduction, .chapter { padding: 40px 6%; }
  .chapters { gap: 8px 18px; padding: 12px 5%; font-size: 12px; }
  .gallery { grid-template-columns: 1fr; gap: 26px; }
  footer { flex-direction: column; gap: 6px; }
  dialog { padding: 10px; }
  #large-photo { height: calc(94svh - 160px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .photo img { transition: none; } }
