:root {
  --brown: #4a2f22;
  --deep: #231711;
  --gold: #b8892e;
  --pale-gold: #ead7a4;
  --cream: #fbf7ee;
  --paper: #fffdf8;
  --text: #332822;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: Georgia, "Times New Roman", serif; line-height: 1.7; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero { min-height: 100svh; color: white; background: radial-gradient(circle at 80% 20%, #815e3e 0, #513522 28%, #1f1510 72%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 1px 1px, #f0d894 1px, transparent 0); background-size: 24px 24px; pointer-events: none; }
.nav { min-height: 76px; max-width: 1180px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { color: white; text-decoration: none; font-weight: bold; letter-spacing: .02em; }
.brand span { color: var(--pale-gold); margin-right: .45rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #f7efe2; text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--pale-gold); }
.hero-inner { width: min(1120px, calc(100% - 40px)); min-height: calc(100svh - 76px); margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(44px, 7vw, 100px); padding: 48px 0 68px; position: relative; z-index: 1; }
.portrait-wrap { width: min(430px, 100%); justify-self: center; padding: 11px; border: 1px solid var(--pale-gold); border-radius: 50% 50% 47% 47%; background: rgba(255,255,255,.06); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.hero-portrait { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; object-position: center 21%; border-radius: inherit; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font: 700 .82rem/1.2 Arial, sans-serif; text-transform: uppercase; letter-spacing: .22em; }
.hero .eyebrow { color: var(--pale-gold); }
h1, h2 { margin: 0; line-height: 1.08; color: var(--deep); }
h1 { color: white; font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.035em; }
.dates { margin: 25px 0 0; color: #eadfce; font-size: 1.08rem; }
.rest { max-width: 540px; margin: 14px 0 30px; color: var(--pale-gold); font-size: clamp(1.15rem, 2.1vw, 1.55rem); font-style: italic; }
.button { display: inline-block; padding: 13px 22px; border: 1px solid var(--gold); border-radius: 3px; color: #25180e; background: #d7b25f; font: 700 .86rem/1.2 Arial, sans-serif; letter-spacing: .04em; text-decoration: none; }
.button:hover, .button:focus-visible { background: #e3c679; }
.button.outline { margin-top: 34px; color: var(--brown); background: transparent; }
.button.outline:hover { color: white; background: var(--brown); border-color: var(--brown); }

.section { padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1120px) / 2)); }
.intro { max-width: 890px; margin: auto; text-align: center; }
.cross { margin: 0 0 12px; color: var(--gold); font-size: 2.1rem; line-height: 1; }
.intro h2, .section-heading h2, .life h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 500; }
.intro > p:last-child { max-width: 730px; margin: 24px auto 0; font-size: 1.12rem; }
.programme { text-align: center; background: var(--paper); border-block: 1px solid #e7dcc4; }
.section-heading { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-heading > p:last-child { margin-bottom: 0; }
.programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; max-width: 830px; margin: auto; }
.image-button, .photo { padding: 0; border: 0; background: none; cursor: zoom-in; }
.image-button { overflow: hidden; border: 1px solid #d4bd80; box-shadow: 0 15px 45px rgba(64,45,24,.14); }
.image-button img { width: 100%; }
.life { background: linear-gradient(135deg, #2b1c15, #593823); }
.life-card { max-width: 850px; margin: auto; padding: clamp(34px, 6vw, 68px); color: #f4ecdf; border: 1px solid rgba(234,215,164,.5); background: rgba(255,255,255,.045); }
.life-card h2 { margin-bottom: 30px; color: white; }
.life-card p:not(.eyebrow) { margin: 0 0 20px; font-size: 1.06rem; }
.life-card p:last-child { margin-bottom: 0; }

.gallery { background: #f3ecdf; }
.gallery-grid { columns: 4 230px; column-gap: 16px; }
.photo { width: 100%; margin: 0 0 16px; overflow: hidden; break-inside: avoid; border-radius: 3px; box-shadow: 0 8px 24px rgba(58,40,25,.13); }
.photo img { width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.025); filter: brightness(1.05); }
footer { padding: 70px 24px; color: #eadfce; background: #1d130f; text-align: center; }
footer span { color: var(--pale-gold); font-size: 2rem; }
footer p { margin: 12px 0 4px; color: white; font-size: 1.25rem; }
footer small { color: #bfae9e; }

.lightbox { max-width: 96vw; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(17,11,8,.94); }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; box-shadow: 0 14px 80px rgba(0,0,0,.55); }
.close { position: absolute; top: -42px; right: 0; width: 38px; height: 38px; border: 0; color: white; background: rgba(255,255,255,.13); font-size: 1.75rem; line-height: 1; cursor: pointer; }

@media (max-width: 760px) {
  .nav { padding-inline: 20px; }
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 34px; text-align: center; }
  .portrait-wrap { width: min(330px, 88vw); }
  .hero-copy { padding-bottom: 20px; }
  .dates { font-size: .98rem; }
  .rest { margin-inline: auto; }
  .programme-grid { grid-template-columns: 1fr; max-width: 440px; }
  .gallery-grid { columns: 2 145px; gap: 10px; }
  .photo { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img { transition: none; }
}
