:root {
  --bg: #ffffff;
  --ink: #161616;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(24px, 3.5vw, 44px); }
.name { font-weight: 500; font-size: clamp(18px, 2vw, 22px); letter-spacing: .32em; text-transform: uppercase; }
.top nav { display: flex; gap: clamp(18px, 3vw, 36px); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; }
.top nav a[aria-current] { border-bottom: 1px solid var(--ink); }
main { padding: 0 var(--gutter); min-height: 60vh; }

/* home grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 32px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tile { display: block; }
.frame { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #f2f2f2; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.tile:hover .frame img { transform: scale(1.03); }
.label { display: block; padding-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.tile:hover { color: var(--ink); }

/* collection */
.collection, .about { max-width: 1400px; margin: 0 auto; }
.intro { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 56px); text-align: center; }
.intro h1, .about h1, .contact h1 { font-weight: 400; font-size: clamp(24px, 3vw, 34px); letter-spacing: .02em; line-height: 1.25; margin: 0 0 16px; }
.intro p { color: #3b3b3b; margin: 0 0 12px; }
.photos { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.photos figure { margin: 0; }
.photos img { max-height: 92vh; width: auto; cursor: zoom-in; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: clamp(40px, 6vw, 80px) 0 0; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pager a:nth-child(2) { color: var(--muted); }
@media (max-width: 560px) { .pager a:nth-child(2) { display: none; } }

/* about */
.about-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 800px) { .about-main { grid-template-columns: 1fr; } }
.about-text { max-width: 600px; }
.details { margin-top: 28px; color: var(--muted); }
.details a { color: var(--ink); }

/* contact */
.contact { max-width: 720px; margin: clamp(20px, 6vw, 80px) auto; text-align: center; }
.contact .big { font-size: clamp(20px, 2.6vw, 28px); font-weight: 400; margin: 0 0 6px; }
.contact .where { color: var(--muted); margin-top: 18px; }
.contact .note { color: var(--muted); max-width: 520px; margin: 36px auto 0; font-size: 15px; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: clamp(40px, 6vw, 72px) var(--gutter) 32px;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10; background: rgba(255,255,255,.98); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; box-shadow: 0 2px 30px rgba(0,0,0,.06); }
@media (max-width: 700px) { .lightbox img { max-width: 100vw; max-height: 100vh; } }
.lightbox button { position: absolute; background: none; border: 0; padding: 18px; font: 300 30px/1 var(--font); color: var(--ink); cursor: pointer; }
.lightbox button:hover { color: var(--muted); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.about .photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.about .photos img { max-height: none; width: 100%; }

/* weddings */
.weddings { max-width: 720px; margin: 0 auto; }
.weddings .wed-photo { width: 100%; margin-bottom: clamp(24px, 4vw, 40px); }
.weddings p, .weddings li { color: #3b3b3b; }
.weddings .links { padding-left: 1.2em; margin: 0 0 1.4em; }
.weddings .links li { margin-bottom: 4px; }
.weddings .links a { border-bottom: 1px solid var(--line); }
.weddings .links a:hover { border-color: var(--muted); }
.weddings h1 { font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; margin: 0 0 20px; text-wrap: balance; }
