:root {
  --ink: #20201e;
  --muted: #5c5a54;
  --cream: #f5f1eb;
  --paper: #fffdf9;
  --clay: #b96f50;
  --olive: #576047;
  --line: rgba(32, 32, 30, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.header { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.wordmark img { width: 21px; height: 30px; object-fit: contain; }
.wordmark span { display: flex; align-items: center; font: 600 20px/.9 "Playfair Display", Georgia, serif; letter-spacing: -.06em; }
.wordmark small { display: none; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--ink); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.contact-link { font-weight: 600; font-size: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(35px, 7vw, 100px); padding: 86px 0 96px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.hero h1 { max-width: 680px; margin: 18px 0 0; font: 500 clamp(54px, 7vw, 103px)/.9 "Playfair Display", Georgia, serif; letter-spacing: -.065em; }
.hero h1 em { color: var(--clay); font-weight: 500; }
.hero p { max-width: 430px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 49px; gap: 10px; margin-top: 34px; padding: 0 21px; background: var(--ink); border: 1px solid var(--ink); color: white; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #393833; }
.button svg { width: 17px; }
.hero-visual { position: relative; min-height: 510px; }
.hero-main { position: absolute; inset: 0 0 58px 40px; overflow: hidden; }
.hero-main img, .hero-small img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-main figcaption { position: absolute; right: 20px; bottom: 18px; color: white; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-small { position: absolute; bottom: 0; left: 0; width: 170px; height: 228px; overflow: hidden; border: 8px solid var(--cream); }
.hero-small img { object-position: center; }

.intro { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 0 0 45px; border-bottom: 1px solid var(--line); }
.intro h2 { margin: 17px 0 0; font: 500 clamp(40px, 5vw, 72px)/.98 "Playfair Display", Georgia, serif; letter-spacing: -.055em; }
.intro p { max-width: 405px; margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 15px; padding: 36px 0 126px; }
.photo { grid-column: span 4; position: relative; min-height: 340px; overflow: hidden; margin: 0; background: #dfd9d0; }
.photo.wide { grid-column: span 8; }
.photo.tall { min-height: 510px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.photo:hover img { transform: scale(1.035); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; padding: 20px; color: white; opacity: 0; transform: translateY(10px); background: linear-gradient(transparent, rgba(0,0,0,.58)); transition: .25s ease; }
.photo:hover figcaption { opacity: 1; transform: none; }
.photo strong { display: block; font: 500 21px/1 "Playfair Display", Georgia, serif; }
.photo small { display: block; margin-top: 6px; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }

.closing { margin-top: 5px; padding: 95px 0; background: var(--olive); color: white; }
.closing-inner { display: flex; justify-content: space-between; align-items: end; gap: 44px; }
.closing h2 { max-width: 750px; margin: 17px 0 0; font: 500 clamp(43px, 5.5vw, 78px)/.95 "Playfair Display", Georgia, serif; letter-spacing: -.065em; }
.closing .eyebrow { color: rgba(255,255,255,.65); }
.closing .button { flex: none; margin: 0; color: var(--ink); background: var(--paper); border-color: var(--paper); }
.footer { display: flex; justify-content: space-between; padding: 23px 0; color: rgba(255,255,255,.7); font-size: 11px; }

/* A darker, more cinematic treatment reserved for the events portfolio. */
.event-theme { background: #101112; color: #f2f0ea; }
.event-theme .header { border-color: rgba(255,255,255,.16); }
.event-theme .wordmark { color: #fff; }
.event-theme .nav { color: rgba(255,255,255,.78); }
.event-theme .nav a::after { background: #fff; }
.event-theme .contact-link { color: #fff; }
.event-theme .eyebrow { color: rgba(255,255,255,.58); }
.event-theme .hero { position: relative; }
.event-theme .hero::before { content: ""; position: absolute; left: -18vw; top: 12%; width: 45vw; height: 42vw; border-radius: 50%; background: rgba(185, 111, 80, .18); filter: blur(45px); pointer-events: none; }
.event-theme .hero-copy { position: relative; z-index: 1; }
.event-theme .hero h1 em { color: #d39473; }
.event-theme .hero p { color: rgba(255,255,255,.66); }
.event-theme .button { border-color: #f1efe9; background: #f1efe9; color: #171819; }
.event-theme .button:hover { background: #d9a58b; border-color: #d9a58b; }
.event-theme .hero-main { background: #08090a; }
.event-theme .hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,5,7,.08), rgba(4,5,7,.52)); pointer-events: none; }
.event-theme .hero-main figcaption { z-index: 1; }
.event-theme .hero-small { border-color: #101112; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.event-theme .intro { border-color: rgba(255,255,255,.16); }
.event-theme .intro p { color: rgba(255,255,255,.62); }
.event-theme .photo { background: #202124; }
.event-theme .photo figcaption { background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.event-theme .closing { margin-top: 5px; background: #171512; border-top: 1px solid rgba(185,111,80,.42); }
.event-theme .closing .button { background: #b96f50; border-color: #b96f50; }
.event-theme .closing .button:hover { background: #f1efe9; border-color: #f1efe9; }

/* Warm, modern neutrals reserved for the wedding portfolio. */
.wedding-theme { background: #e9dfd3; color: #2a2521; }
.wedding-theme .header { border-color: rgba(69, 54, 43, .19); }
.wedding-theme .nav { color: #50463e; }
.wedding-theme .nav a::after { background: #6e5141; }
.wedding-theme .contact-link { color: #543e31; }
.wedding-theme .eyebrow { color: #7a6658; }
.wedding-theme .hero { position: relative; }
.wedding-theme .hero::before { content: ""; position: absolute; right: -12vw; bottom: 2%; width: 42vw; height: 42vw; border-radius: 50%; background: rgba(196, 159, 126, .22); filter: blur(45px); pointer-events: none; }
.wedding-theme .hero-copy { position: relative; z-index: 1; }
.wedding-theme .hero h1 em { color: #b96f50; }
.wedding-theme .hero p { color: #695d54; }
.wedding-theme .button { border-color: #594234; background: #594234; }
.wedding-theme .button:hover { border-color: #855f4a; background: #855f4a; }
.wedding-theme .hero-main { box-shadow: 0 25px 65px rgba(65, 46, 32, .18); }
.wedding-theme .hero-main img { filter: saturate(.9) sepia(.05); }
.wedding-theme .hero-small { border-color: #e9dfd3; box-shadow: 0 19px 46px rgba(65, 46, 32, .16); }
.wedding-theme .intro { border-color: rgba(69, 54, 43, .19); }
.wedding-theme .intro p { color: #695d54; }
.wedding-theme .photo { background: #d8cabe; }
.wedding-theme .closing { background: #57463a; }
.wedding-theme .closing .eyebrow { color: rgba(255,255,255,.64); }
.wedding-theme .closing .button { border-color: #f5eee6; background: #f5eee6; color: #3d3029; }
.wedding-theme .closing .button:hover { border-color: #d8bda8; background: #d8bda8; }

/* A deep, warm palette reserved for the portrait portfolio. */
.portrait-theme { background: #2A211D; color: #f3ede6; }
.portrait-theme .header { border-color: rgba(255,255,255,.16); }
.portrait-theme .wordmark { color: #fff; }
.portrait-theme .nav { color: rgba(255,255,255,.78); }
.portrait-theme .nav a::after { background: #f1dcc9; }
.portrait-theme .contact-link { color: #f3ede6; }
.portrait-theme .eyebrow { color: rgba(242,221,201,.64); }
.portrait-theme .hero { position: relative; }
.portrait-theme .hero::before { content: ""; position: absolute; right: -13vw; top: 8%; width: 45vw; height: 45vw; border-radius: 50%; background: rgba(168, 108, 75, .2); filter: blur(50px); pointer-events: none; }
.portrait-theme .hero-copy { position: relative; z-index: 1; }
.portrait-theme .hero h1 em { color: #c78362; }
.portrait-theme .hero p { color: rgba(255,255,255,.67); }
.portrait-theme .button { border-color: #f0e0d2; background: #f0e0d2; color: #2A211D; }
.portrait-theme .button:hover { border-color: #b96f50; background: #b96f50; }
.portrait-theme .hero-main { box-shadow: 0 26px 65px rgba(0,0,0,.38); }
.portrait-theme .hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(23,15,12,.42)); pointer-events: none; }
.portrait-theme .hero-main figcaption { z-index: 1; }
.portrait-theme .hero-small { border-color: #2A211D; box-shadow: 0 20px 46px rgba(0,0,0,.4); }
.portrait-theme .intro { border-color: rgba(255,255,255,.16); }
.portrait-theme .intro p { color: rgba(255,255,255,.64); }
.portrait-theme .photo { background: #3c302a; }
.portrait-theme .photo figcaption { background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.portrait-theme .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; gap: 12px; }
.portrait-theme .photo, .portrait-theme .photo.wide, .portrait-theme .photo.tall { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.wedding-theme .gallery, .event-theme .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; gap: 12px; }
.wedding-theme .photo, .wedding-theme .photo.wide, .wedding-theme .photo.tall, .event-theme .photo, .event-theme .photo.wide, .event-theme .photo.tall { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.portrait-theme .photo:last-child:nth-child(3n + 1), .event-theme .photo:last-child:nth-child(3n + 1) { grid-column: 2; }
.portrait-theme .closing { background: #201815; border-top: 1px solid rgba(185,111,80,.42); }
.portrait-theme .closing .button { border-color: #b96f50; background: #b96f50; }
.portrait-theme .closing .button:hover { border-color: #f0e0d2; background: #f0e0d2; }

.gallery .photo { cursor: zoom-in; }
.gallery .photo:focus-visible { outline: 2px solid #f0e0d2; outline-offset: 4px; }
body.lightbox-open { overflow: hidden; }
.image-lightbox { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(15, 12, 10, .92); }
.image-lightbox[hidden] { display: none; }
.image-lightbox figure { max-width: min(1120px, 100%); max-height: calc(100vh - 56px); margin: 0; }
.image-lightbox img { display: block; width: auto; max-width: 100%; max-height: calc(100vh - 104px); margin: 0 auto; object-fit: contain; box-shadow: 0 22px 70px rgba(0,0,0,.5); }
.image-lightbox figcaption { margin-top: 12px; color: rgba(255,255,255,.74); text-align: center; font: 500 10px/1.35 "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.lightbox-close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.2); color: white; font: 300 31px/1 "DM Sans", sans-serif; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,.16); outline: 0; }

@media (max-width: 800px) {
  .shell { width: min(100% - 32px, 640px); }
  .header { height: 73px; }
  .nav { gap: 16px; font-size: 12px; }
  .nav a[href="index.html#om"] { display: none; }
  .contact-link { display: none; }
  .hero { grid-template-columns: 1fr; padding: 57px 0 72px; }
  .hero h1 { font-size: clamp(52px, 15vw, 82px); }
  .hero-visual { min-height: 430px; }
  .intro, .closing-inner { display: block; }
  .intro p { margin: 22px 0 0; }
  .photo, .photo.wide { grid-column: span 6; min-height: 255px; }
  .photo.tall { min-height: 360px; }
  .portrait-theme .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .portrait-theme .photo, .portrait-theme .photo.wide, .portrait-theme .photo.tall { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .wedding-theme .gallery, .event-theme .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wedding-theme .photo, .wedding-theme .photo.wide, .wedding-theme .photo.tall, .event-theme .photo, .event-theme .photo.wide, .event-theme .photo.tall { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .portrait-theme .photo:last-child:nth-child(3n + 1), .event-theme .photo:last-child:nth-child(3n + 1) { grid-column: auto; }
  .photo figcaption { opacity: 1; transform: none; padding: 14px; }
  .closing { padding: 72px 0 22px; }
  .closing .button { margin-top: 28px; }
  .footer { margin-top: 66px; }
}

@media (max-width: 450px) {
  .wordmark img { width: 18px; height: 26px; }
  .wordmark span { font-size: 18px; }
  .nav { gap: 13px; }
  .hero-visual { min-height: 370px; }
  .hero-main { left: 28px; bottom: 42px; }
  .hero-small { width: 128px; height: 174px; }
  .photo, .photo.wide { min-height: 205px; }
  .photo.tall { min-height: 300px; }
}
