/* Shared structure for both designs. Colors and fonts come from the theme files (classic.css / refreshed.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
/* When a vertical photo has to be cropped to fit a wide frame, keep the top (faces) instead of the middle. */
img[data-orient="portrait"] { object-position: 50% 22%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 32px, 1600px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.lead { font-size: 1.15em; }
.eyebrow { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--accent); margin-bottom: 1rem; }

.btn { display: inline-block; padding: .9em 2.2em; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; font-family: var(--font-ui); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; border: 1px solid var(--btn-bg); transition: background .2s, color .2s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-light:hover { background: #fff; color: #1f1b16; border-color: #fff; }
.link-arrow { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.link-arrow::after { content: " →"; }

/* ---------- header / nav ---------- */
.site-header { position: relative; z-index: 20; background: var(--header-bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 32px, 1500px); margin-inline: auto; padding: 10px 0; }
.logo img { height: var(--logo-h); width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.site-nav a { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; width: 46px; height: 46px; position: relative; z-index: 31; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 30; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 18px; font-size: 1.35rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- home hero slideshow ---------- */
.hero { position: relative; height: var(--hero-h); overflow: hidden; background: #111; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero .slide img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.hero .slide.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 4px; }
.hero .slide.is-active { opacity: 1; }
.hero .slide:not(.is-active):not(.is-next):not(.is-leaving) { display: none; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(0,0,0,.25); color: #fff; border: 0; width: 46px; height: 46px; font-size: 2rem; line-height: 1; border-radius: 50%; opacity: .75; }
.slide-btn:hover { opacity: 1; }
.slide-btn.prev { left: 16px; } .slide-btn.next { right: 16px; }

/* ---------- galleries (masonry) ---------- */
.gallery { columns: 3 320px; column-gap: var(--gap); }
.gallery-item { display: block; margin-bottom: var(--gap); break-inside: avoid; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform .6s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.02); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,10,8,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.lb-count { color: #bbb; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .15em; margin-top: 12px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; padding: 12px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { padding: 0; background: none; border: 0; }
.video-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(0,0,0,.55); }
.video-icon::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }

/* ---------- forms ---------- */
.contact-form .field { margin-bottom: 18px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-size: .95rem; }
.contact-form .req { font-size: .75em; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field-bg); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--radius); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.contact-form .invalid { border-color: #b3261e; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; min-height: 1.5em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-success { color: #2e6b3a; }
@media (max-width: 600px) { .contact-form .field-row { grid-template-columns: 1fr; } }

/* ---------- pager ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 56px 0; }
.pager a { text-decoration: none; }
.pager span { display: block; font-family: var(--font-ui); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pager-next { text-align: right; }
.pager-all { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }

/* ---------- prose ---------- */
.prose a { color: var(--link); }
.prose figure { margin: 2em 0; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); margin: 2em 0; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- related wedding / blog post ---------- */
.related { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; margin-top: 56px; }
.related h2 { margin-bottom: .4em; }
.related h2 a { text-decoration: none; }
.page-story { padding: 56px 0 24px; }

/* ---------- misc ---------- */
.client-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 36px; align-items: center; }
.client-logos img { max-height: 70px; width: auto; margin: 0 auto; object-fit: contain; }
.not-found { padding: 100px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
