:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --ink: #2b2622;
  --muted: #7a716a;
  --gold: #a8844f;
  --gold-soft: #e9dcc6;
  --sage: #8a9a84;
  --line: #e7e0d6;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.6; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,247,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; letter-spacing: .02em; }
.brand .amp { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 640px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 22px; border: 0; }
}

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 90px 6vw; overflow: hidden; background: #e9e6e1; }
.hero-bg { position: absolute; inset: 0; background: url("/assets/hero.jpg") 62% center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250,247,242,.88) 0%, rgba(250,247,242,.62) 32%, rgba(250,247,242,0) 58%); }
.hero-inner { position: relative; z-index: 1; max-width: 560px; text-align: left; }
.eyebrow { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .4em; }
.hero h1 { font-size: clamp(3.2rem, 7.5vw, 6.2rem); margin-bottom: .15em; }
.hero h1 .amp { color: var(--gold); font-style: italic; }
.hero .full-names { font-family: var(--serif); font-size: 1.25rem; color: #4a423b; margin: 0 0 10px; }
.hero .date { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .18em; color: var(--gold); margin: 0; }
.hero p.lead { font-size: 1.05rem; color: #3d3630; max-width: 440px; margin: 0; }
.divider { width: 64px; height: 1px; background: var(--gold); margin: 26px 0; border: 0; }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--ivory); }
  .hero-bg { position: relative; inset: auto; height: 68vh; min-height: 420px; background-image: url("/assets/hero-mobile.jpg"); background-position: center 40%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(250,247,242,0) 70%, rgba(250,247,242,1) 100%); }
  .hero-inner { text-align: center; margin: -36px auto 0; padding: 0 24px 40px; }
  .hero h1 { font-size: 3.4rem; }
  .hero .full-names { font-size: 1.05rem; }
  .divider { margin: 18px auto; }
  .hero p.lead { margin: 0 auto; }
}

/* Sections */
main { display: block; }
.section { max-width: 1100px; margin: 0 auto; padding: 72px 22px; }
.section.narrow { max-width: 720px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h1, .section-head h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-decoration: none; text-align: center; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60,40,20,.08); }
.card .icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }
.card h3 { font-size: 1.8rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.btn { display: inline-block; font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { border-color: #fff; background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.center { text-align: center; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: 10px; overflow: hidden; background: var(--gold-soft); cursor: zoom-in; }
.gallery img, .gallery video { width: 100%; height: auto; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .2s; }
.gallery figure:hover figcaption { opacity: 1; }
.gallery .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); pointer-events: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,12,10,.94); display: none; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.lightbox .lb-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #eee; font-size: .9rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 8px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Video page */
.film { aspect-ratio: 16/9; background: #1d1916; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #e9dcc6; text-align: center; }
.film video { width: 100%; height: 100%; object-fit: contain; }
.film .soon h2 { font-size: 2.4rem; }
.film .soon p { color: #b9ad9c; margin: 0; }
.film-list { display: grid; gap: 34px; }
.film-cap { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 10px; }

/* Forms */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 20px; }
label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
input[type=text], textarea { width: 100%; font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
.drop { border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 38px 20px; text-align: center; background: #fdfbf7; cursor: pointer; transition: background .2s; }
.drop.over { background: var(--gold-soft); }
.drop strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; display: block; }
.drop span { color: var(--muted); font-size: .9rem; }
.files { display: grid; gap: 10px; }
.file-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: .9rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); }
.file-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .state { color: var(--muted); font-size: .8rem; }
.file-row .bar { grid-column: 1 / -1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.file-row .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.file-row.done .bar i { background: var(--sage); }
.file-row.error .state { color: #b4473a; }
.notice { padding: 14px 16px; border-radius: 10px; background: #eef2ec; color: #3f5139; font-size: .95rem; }
.notice.err { background: #f8e9e6; color: #8a3326; }

footer { text-align: center; padding: 50px 22px 60px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
footer .brand { font-size: 1.3rem; display: block; margin-bottom: 4px; }
