:root {
  --paper: #f4efe5;
  --paper-deep: #e9dfd0;
  --cream: #fbf8f1;
  --ink: #242a26;
  --muted: #696b65;
  --forest: #173f36;
  --forest-2: #245749;
  --terracotta: #b56749;
  --terracotta-dark: #8f4d36;
  --gold: #bf9a61;
  --line: rgba(36, 42, 38, 0.14);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 60px rgba(34, 42, 37, 0.11);
  --shadow-soft: 0 10px 35px rgba(34, 42, 37, 0.08);
  --radius: 18px;
  --radius-small: 10px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 2%, rgba(181, 103, 73, 0.07), transparent 26rem),
    linear-gradient(180deg, var(--cream), var(--paper));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.large-text { font-size: 19px; }
body.menu-open, body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }

::selection { background: rgba(181, 103, 73, 0.24); }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(23, 63, 54, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 33px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50% 50% 48% 52%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: -2px;
  bottom: 2px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--forest);
}

.brand-word {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.desktop-nav { display: flex; justify-content: center; gap: 4px; }

.nav-link {
  position: relative;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-tools { display: flex; gap: 7px; align-items: center; }

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.icon-button:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.36); }
.icon-button:active { transform: scale(0.96); }
.icon-button svg { width: 19px; height: 19px; }
.menu-button { display: none; }

.mobile-drawer {
  position: fixed;
  inset: 82px 0 auto;
  z-index: 990;
  max-height: calc(100vh - 82px);
  padding: 22px 24px 32px;
  background: var(--forest);
  color: #fff;
  border-top: 1px solid var(--white-line);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 260ms ease, opacity 200ms ease, visibility 0s linear 260ms;
  overflow: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: 24px;
  text-decoration: none;
}

.mobile-drawer a.active { color: #fff; }
.mobile-note { margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }

.reading-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--terracotta);
}

main { min-height: 70vh; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light { color: #e4c59b; }

h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4vw, 55px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.16; letter-spacing: -0.02em; }

.lead {
  max-width: 720px;
  color: #4d514d;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.section { padding: 104px 0; }
.section.compact { padding: 74px 0; }
.section.dark { background: var(--forest); color: #fff; }
.section.paper-deep { background: var(--paper-deep); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-head h2 { max-width: 720px; margin-bottom: 0; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }
.dark .section-head p { color: rgba(255,255,255,.66); }

.hero-home {
  min-height: min(780px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}

.hero-content {
  padding: clamp(70px, 9vw, 130px) max(32px, calc((100vw - var(--container))/2)) 80px;
  padding-right: clamp(42px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -180px;
  left: -120px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.hero-name { margin: 0 0 15px; color: #fff; }
.hero-years { margin: 0 0 28px; color: #e0c295; font-family: var(--serif); font-size: 22px; letter-spacing: .08em; }
.hero-intro { max-width: 610px; color: rgba(255,255,255,.73); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--terracotta);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); background: var(--terracotta-dark); box-shadow: 0 9px 25px rgba(0,0,0,.16); }
.button.secondary { border-color: rgba(255,255,255,.28); background: transparent; color: #fff; }
.button.secondary:hover { background: rgba(255,255,255,.08); }
.button.ghost { border-color: var(--line); background: transparent; color: var(--forest); }
.button.ghost:hover { background: rgba(23,63,54,.06); box-shadow: none; }
.button.small { min-height: 40px; padding: 8px 15px; font-size: 13px; }
.button svg { width: 17px; height: 17px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 750;
  text-decoration: none;
}
.text-link::after { content: "→"; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(4px); }

.hero-portrait { min-height: 620px; position: relative; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; filter: saturate(.78) sepia(.08); }
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,63,54,.36), transparent 28%), linear-gradient(0deg, rgba(17,26,23,.28), transparent 35%);
}

.portrait-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 26px;
  max-width: 290px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(20,31,27,.46);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.quote-band { padding: 82px 0; background: var(--paper-deep); }
.quote-band blockquote {
  max-width: 930px;
  margin: 0 auto;
  color: var(--forest);
  font-size: clamp(30px, 4.4vw, 53px);
  line-height: 1.17;
  text-align: center;
}
.quote-band cite { display: block; margin-top: 24px; color: var(--muted); font-family: var(--sans); font-size: 13px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; }

.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door-card {
  min-height: 390px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.door-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.door-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,27,23,.86), rgba(15,27,23,.04) 72%); }
.door-card:hover img { transform: scale(1.035); }
.door-copy { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 23px; }
.door-copy span { color: #e6c69a; font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.door-copy h3 { margin: 8px 0 5px; color: #fff; }
.door-copy p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }

.memory-player {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background: #102f28;
  color: #fff;
  box-shadow: var(--shadow);
}
.player-image { min-height: 440px; position: relative; }
.player-image img { width: 100%; height: 100%; object-fit: cover; }
.player-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #102f28 100%); }
.player-copy { padding: clamp(38px,6vw,72px); align-self: center; }
.player-copy p { color: rgba(255,255,255,.7); }
.audio-control { display: flex; align-items: center; gap: 15px; margin-top: 27px; }
.play-button { width: 58px; height: 58px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--terracotta); color: #fff; cursor: pointer; }
.play-button:hover { background: #cc7957; }
.play-button svg { width: 21px; }
.audio-meta strong, .audio-meta span { display: block; }
.audio-meta span { color: rgba(255,255,255,.55); font-size: 13px; }
.audio-progress { width: 100%; height: 3px; margin-top: 18px; border-radius: 2px; background: rgba(255,255,255,.17); overflow: hidden; }
.audio-progress span { display: block; width: 0; height: 100%; background: #e4c59b; }
.audio-progress.playing span { animation: audioProgress 22s linear forwards; }
@keyframes audioProgress { to { width: 100%; } }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stat { padding: 32px; background: var(--cream); text-align: center; }
.stat strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; }

.page-hero {
  padding: 98px 0 76px;
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.page-hero h1 { max-width: 860px; margin-bottom: 22px; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.7); font-size: 20px; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 28px; color: rgba(255,255,255,.56); font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.bio-intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: 66px; align-items: center; }
.bio-photo { min-height: 520px; border-radius: 46% 46% 18px 18px; overflow: hidden; box-shadow: var(--shadow); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.bio-copy h2 { margin-bottom: 24px; }
.bio-copy p { color: #525852; }

.chapter-list { border-top: 1px solid var(--line); }
.chapter { border-bottom: 1px solid var(--line); }
.chapter-toggle {
  width: 100%;
  padding: 30px 0;
  border: 0;
  display: grid;
  grid-template-columns: 140px 1fr 44px;
  gap: 28px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.chapter-toggle .years { color: var(--terracotta-dark); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.chapter-toggle h3 { margin: 0; }
.chapter-plus { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 25px; font-weight: 300; transition: transform 200ms ease, background 200ms ease; }
.chapter.open .chapter-plus { transform: rotate(45deg); background: var(--forest); color: #fff; }
.chapter-panel { display: none; padding: 0 0 42px 168px; }
.chapter.open .chapter-panel { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 40px; animation: reveal 240ms ease; }
.chapter-text p { color: #515650; }
.chapter-note { align-self: start; padding: 22px; border-left: 2px solid var(--terracotta); background: rgba(181,103,73,.07); color: #4e514c; font-family: var(--serif); font-size: 18px; }
.chapter-image { margin-top: 22px; height: 250px; border-radius: var(--radius-small); overflow: hidden; }
.chapter-image img { width: 100%; height: 100%; object-fit: cover; }
@keyframes reveal { from { opacity: 0; transform: translateY(-8px); } }

.family-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.family-card { padding: 26px; border: 1px solid var(--white-line); border-radius: var(--radius-small); background: rgba(255,255,255,.045); }
.family-card strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.family-card span { display: block; color: #dfbf94; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.family-card p { margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }

.filter-bar, .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 40px;
}
.filter-button, .tab-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: #575a55;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.filter-button:hover, .tab-button:hover { border-color: rgba(23,63,54,.38); }
.filter-button.active, .tab-button.active { border-color: var(--forest); background: var(--forest); color: #fff; }

.timeline { position: relative; max-width: 980px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(23,63,54,.22); }
.timeline-event { width: 50%; padding: 0 55px 40px 0; position: relative; }
.timeline-event:nth-child(even) { margin-left: 50%; padding: 0 0 40px 55px; }
.timeline-dot { position: absolute; z-index: 2; right: -7px; top: 22px; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.timeline-event:nth-child(even) .timeline-dot { left: -7px; right: auto; }
.timeline-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,248,241,.84); box-shadow: var(--shadow-soft); }
.timeline-event[hidden] { display: none; }
.timeline-year { color: var(--terracotta-dark); font-family: var(--serif); font-size: 30px; }
.timeline-place { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline-card h3 { margin: 7px 0 9px; font-size: 26px; }
.timeline-card p { color: #555a55; font-size: 15px; }
.event-detail { display: none; padding-top: 16px; border-top: 1px solid var(--line); }
.timeline-card.expanded .event-detail { display: block; animation: reveal 220ms ease; }
.event-image { height: 170px; margin-top: 14px; border-radius: 9px; overflow: hidden; }
.event-image img { width: 100%; height: 100%; object-fit: cover; }

.places-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.place-pill { padding: 11px 17px; border: 1px solid var(--white-line); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 14px; }

.memory-grid { columns: 3; column-gap: 18px; }
.memory-card { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; position: relative; background: #d9d2c5; cursor: pointer; box-shadow: var(--shadow-soft); }
.memory-card[hidden] { display: none; }
.memory-card img { width: 100%; height: auto; min-height: 260px; max-height: 480px; object-fit: cover; transition: transform 420ms ease, filter 420ms ease; }
.memory-card:nth-child(3n+1) img { height: 430px; }
.memory-card:nth-child(3n+2) img { height: 310px; }
.memory-card:nth-child(3n) img { height: 370px; }
.memory-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,26,21,.88), transparent 68%); }
.memory-card:hover img { transform: scale(1.025); filter: saturate(.88); }
.memory-caption { position: absolute; z-index: 2; left: 21px; right: 21px; bottom: 18px; color: #fff; }
.memory-caption span { color: #e6c69a; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.memory-caption h3 { margin: 4px 0 0; font-size: 25px; }
.memory-save { position: absolute; z-index: 3; top: 13px; right: 13px; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: grid; place-items: center; background: rgba(20,30,26,.34); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.memory-save.saved { background: var(--terracotta); border-color: var(--terracotta); }

dialog {
  width: min(920px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 28px 100px rgba(0,0,0,.4);
}
dialog::backdrop { background: rgba(8,18,15,.75); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 5; top: 15px; right: 15px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: grid; place-items: center; background: rgba(20,30,26,.46); color: #fff; font-size: 23px; cursor: pointer; }
.lightbox-image { height: min(65vh, 610px); background: #17241f; }
.lightbox-image img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-copy { padding: 28px 80px 28px 28px; position: relative; }
.lightbox-copy h3 { margin-bottom: 8px; }
.lightbox-copy p { color: #555a55; margin-bottom: 8px; }
.lightbox-credit { color: var(--muted); font-size: 12px; }
.lightbox-nav { position: absolute; right: 24px; bottom: 28px; display: flex; gap: 7px; }
.lightbox-nav button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }

.works-shell { min-height: 540px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,248,241,.78); display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.work-card .work-year { color: var(--terracotta-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.work-card h3 { margin: 10px 0; }
.work-format { color: var(--muted); font-size: 13px; }
.work-card p { color: #555a55; font-size: 15px; }
.work-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.work-image { height: 220px; margin: -28px -28px 24px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.excerpt-dialog { padding: 46px; }
.excerpt-dialog .dialog-close { color: var(--ink); border-color: var(--line); background: transparent; }
.excerpt-body { margin: 30px 0 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--forest); font-family: var(--serif); font-size: clamp(25px,3vw,36px); line-height: 1.45; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { min-height: 300px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,248,241,.78); display: flex; flex-direction: column; }
.testimonial::before { content: "“"; color: var(--terracotta); font-family: var(--serif); font-size: 58px; line-height: .8; }
.testimonial p { color: #4f554f; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.witness { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #fff; font-size: 12px; font-weight: 800; }
.witness strong, .witness span { display: block; line-height: 1.3; }
.witness span { color: var(--muted); font-size: 12px; }

.circle-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 60px; align-items: start; }
.light-panel { position: sticky; top: 118px; padding: 42px; border-radius: 24px; background: var(--forest); color: #fff; text-align: center; overflow: hidden; }
.light-panel::before { content: ""; position: absolute; width: 220px; height: 220px; left: 50%; top: 50px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(238,190,116,.25), transparent 68%); }
.flame { width: 56px; height: 78px; margin: 10px auto 22px; position: relative; border-radius: 80% 15% 65% 35%; transform: rotate(45deg); background: linear-gradient(135deg, #fff0b3, #db7b3e 65%, #9d3f2f); box-shadow: 0 0 40px rgba(230,157,80,.42); animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 50% { transform: rotate(43deg) scale(.94,1.04); } }
.light-panel h2 { font-size: 38px; position: relative; }
.light-panel p { color: rgba(255,255,255,.68); position: relative; }
.light-count { color: #e5c293 !important; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.contribution-form { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: rgba(251,248,241,.82); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #414640; font-size: 13px; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(36,42,38,.22); border-radius: 9px; background: #fffdf8; color: var(--ink); padding: 13px 14px; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(36,87,73,.11); }
.form-help { color: var(--muted); font-size: 12px; }
.form-success { display: none; margin-top: 17px; padding: 13px 16px; border-radius: 8px; background: rgba(36,87,73,.1); color: var(--forest); font-weight: 700; }
.form-success.visible { display: block; }
.local-contributions { margin-top: 25px; }
.local-card { margin-top: 12px; padding: 18px; border-left: 3px solid var(--terracotta); background: rgba(181,103,73,.07); }
.local-card strong, .local-card span { display: block; }
.local-card span { color: var(--muted); font-size: 12px; }
.local-card p { margin: 9px 0 0; }

.film-dialog { width: min(1050px, calc(100% - 30px)); background: #0d1815; color: #fff; }
.film-stage { height: min(72vh, 690px); position: relative; overflow: hidden; }
.film-stage img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity 500ms ease, transform 3s ease; }
.film-stage.playing img { transform: scale(1.035); }
.film-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,14,12,.92), transparent 60%); }
.film-copy { position: absolute; z-index: 2; left: clamp(25px,6vw,72px); right: clamp(25px,6vw,72px); bottom: 76px; }
.film-copy p { max-width: 650px; color: rgba(255,255,255,.7); }
.film-controls { position: absolute; z-index: 3; left: clamp(25px,6vw,72px); right: clamp(25px,6vw,72px); bottom: 22px; display: flex; align-items: center; gap: 10px; }
.film-controls button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.film-step { margin-left: auto; color: rgba(255,255,255,.55); font-size: 12px; }

.search-dialog { width: min(720px, calc(100% - 30px)); padding: 34px; overflow: visible; }
.search-dialog .dialog-close { color: var(--ink); border-color: var(--line); background: transparent; }
.search-box { width: calc(100% - 55px); border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 16px; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 28px; outline: 0; }
.search-results { max-height: 420px; margin-top: 20px; overflow: auto; }
.search-result { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result strong, .search-result span { display: block; }
.search-result strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.search-result span { color: var(--muted); font-size: 12px; }
.empty-result { color: var(--muted); padding: 20px 0; }

.site-footer { background: #102f28; color: #fff; }
.footer-main { padding: 62px 0 40px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; }
.footer-brand p { max-width: 420px; color: rgba(255,255,255,.62); }
.footer-title { margin-bottom: 14px; color: #dfbf94; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { display: block; padding: 4px 0; color: rgba(255,255,255,.72); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 20px 0 26px; border-top: 1px solid var(--white-line); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.46); font-size: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-tools { justify-self: end; }
  .menu-button { display: inline-grid; }
  .hero-home { grid-template-columns: 1fr 46%; }
  .hero-content { padding-left: 6vw; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .hero-home { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 82px 28px 62px; min-height: 570px; }
  .hero-portrait { min-height: 510px; }
  .door-grid, .works-grid { grid-template-columns: 1fr; }
  .door-card { min-height: 350px; }
  .memory-player { grid-template-columns: 1fr; }
  .player-image { min-height: 370px; }
  .player-image::after { background: linear-gradient(0deg, #102f28 0%, transparent 45%); }
  .stats-row { grid-template-columns: 1fr; }
  .bio-intro { grid-template-columns: 1fr; gap: 42px; }
  .bio-photo { min-height: 470px; }
  .chapter-toggle { grid-template-columns: 105px 1fr 40px; gap: 15px; }
  .chapter.open .chapter-panel { grid-template-columns: 1fr; }
  .chapter-panel { padding-left: 120px; }
  .family-strip { grid-template-columns: 1fr 1fr; }
  .memory-grid { columns: 2; }
  .circle-layout { grid-template-columns: 1fr; }
  .light-panel { position: relative; top: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1/-1; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 30px), var(--container)); }
  .header-inner { min-height: 72px; gap: 12px; }
  .mobile-drawer { inset: 72px 0 auto; max-height: calc(100vh - 72px); }
  .brand-word { font-size: 25px; }
  .header-tools .comfort-button { display: none; }
  .icon-button { width: 39px; height: 39px; }
  h1 { font-size: clamp(43px, 14vw, 62px); }
  .page-hero { padding: 70px 0 57px; }
  .page-hero p { font-size: 18px; }
  .hero-content { min-height: 540px; padding: 68px 20px 55px; }
  .hero-portrait { min-height: 430px; }
  .portrait-caption { left: 16px; right: 16px; bottom: 16px; }
  .hero-actions .button { width: 100%; }
  .quote-band { padding: 64px 0; }
  .section { padding: 64px 0; }
  .section.compact { padding: 52px 0; }
  .door-card { min-height: 330px; }
  .player-image { min-height: 310px; }
  .player-copy { padding: 32px 24px 38px; }
  .bio-photo { min-height: 420px; }
  .chapter-toggle { grid-template-columns: 1fr 40px; padding: 24px 0; }
  .chapter-toggle .years { grid-column: 1; }
  .chapter-toggle h3 { grid-column: 1; }
  .chapter-plus { grid-column: 2; grid-row: 1/3; }
  .chapter-panel { padding-left: 0; }
  .family-strip, .testimonial-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; }
  .timeline-event, .timeline-event:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 34px; }
  .timeline-dot, .timeline-event:nth-child(even) .timeline-dot { left: 0; right: auto; top: 25px; }
  .memory-grid { columns: 1; }
  .memory-card img, .memory-card:nth-child(n) img { height: 360px; max-height: none; }
  .works-grid { gap: 14px; }
  .work-card { padding: 23px; }
  .work-image { margin: -23px -23px 22px; }
  .testimonial { min-height: auto; }
  .contribution-form { padding: 24px 19px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .light-panel { padding: 34px 22px; }
  .lightbox-copy { padding: 24px 22px 74px; }
  .lightbox-nav { left: 22px; right: auto; bottom: 24px; }
  .excerpt-dialog, .search-dialog { padding: 27px 21px; }
  .footer-main { grid-template-columns: 1fr; padding-top: 48px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
