/* ==========================================================================
   NJNOWEDDING — Minimalist Editorial Wedding Photography Portfolio
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --ink: #1a1a1a;
  --ink-muted: #767676;
  --ink-light: #9e9e9e;
  --line: #e9e7e2;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --photobook-gap: 10px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-main {
  flex: 1;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  padding: 36px 0 28px;
  background: var(--bg);
  position: relative;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-logo-img {
  height: 55px;
  max-width: 245px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-logo-img {
  height: 38px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
}

.brand-logo-main {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-logo-sub {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  display: inline-block;
}

.nav-item > a:hover,
.nav-link-btn:hover,
.nav-item.is-active > a {
  opacity: 0.55;
}

.nav-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  padding: 4px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon-link svg {
  width: 17px;
  height: 17px;
  display: block;
}

.social-icon-link:hover {
  opacity: 0.52;
  transform: translateY(-1px);
}

.mobile-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.mobile-social-icons .social-icon-link svg {
  width: 20px;
  height: 20px;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 175px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li + li {
  margin-top: 8px;
}

.dropdown-menu a {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 3px 0;
}

.dropdown-menu a:hover {
  color: var(--ink);
}

/* Mobile Toggle & Drawer */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(310px, 84vw);
  height: 100vh;
  background: var(--bg);
  z-index: 100;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.mobile-drawer-nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-nav > a {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-social-links {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Hero & Manifesto (Home) ---------- */
.hero-section {
  padding-bottom: 44px;
}

.hero-section--fullbleed {
  width: 100%;
  padding-bottom: 44px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 119px);
  height: calc(100svh - 119px);
  min-height: 500px;
  max-height: 980px;
  overflow: hidden;
  background: #101010;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 6.5s ease-out;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  padding: 18px 24px;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-arrow--prev {
  left: 8px;
}

.hero-arrow--next {
  right: 8px;
}

.hero-arrow:hover {
  opacity: 1;
  color: #ffffff;
}

.hero-arrow--prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.hero-arrow--next:hover {
  transform: translateY(-50%) translateX(3px);
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}

.manifesto-section {
  padding: 56px 0 68px;
  background: var(--bg-soft);
  margin-bottom: 64px;
}

.manifesto-inner {
  max-width: 780px;
  text-align: center;
}

.manifesto-lead {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--ink);
}

.manifesto-paragraph {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ---------- Section & Page Headings ---------- */
.page-head-section {
  padding: 28px 0 44px;
  text-align: center;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.category-filter-bar {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.filter-pill {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.filter-pill:hover,
.filter-pill.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- 3-Column Masonry Portfolio Grid ---------- */
.recent-works-section,
.portfolio-grid-section {
  padding-bottom: 64px;
}

.masonry-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.masonry-col {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.mobile-only-masonry {
  display: none;
}

.album-card-link {
  display: block;
}

.album-card-media {
  width: 100%;
  overflow: hidden;
  background: var(--bg-soft);
}

.album-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.album-card-link:hover .album-card-media img {
  transform: scale(1.022);
}

.album-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink-muted);
}

.album-card-title {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.album-card-title .title-pipe {
  color: var(--ink-light);
  margin: 0 5px;
  font-weight: 300;
}

.album-card-title .title-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ---------- Album Detail — Photobook Justified Row Engine ---------- */
.album-detail-page {
  padding-bottom: 64px;
}

.album-detail-header {
  text-align: center;
  padding: 20px 0 40px;
}

.album-couple-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.album-subtitle {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.album-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0.1em;
}

.photobook-container {
  max-width: 1160px;
  margin: 0 auto;
}

.album-intro-story {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.75;
  color: #3a3a3a;
}

.album-intro-story p + p {
  margin-top: 12px;
}

.photobook-rows {
  display: flex;
  flex-direction: column;
  gap: var(--photobook-gap);
}

.photobook-row--single {
  width: 100%;
}

.photobook-row--paired {
  display: flex;
  gap: var(--photobook-gap);
  align-items: stretch;
  width: 100%;
}

/* Smooth 60fps scrolling on 150-300 photo albums by deferring offscreen paint */
.photobook-row:nth-child(n + 6) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.photobook-cell {
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

.photobook-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* End-of-Album Vendor Credits (Right-aligned editorial style) */
.album-credits-wrap {
  margin-top: 48px;
}

.credits-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}

.album-credits-list {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credit-line {
  font-size: 13.5px;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.credit-role {
  color: var(--ink-light);
}

.credit-name {
  color: var(--ink);
  font-weight: 400;
}

.album-inquiry-cta {
  margin-top: 56px;
  padding: 38px 24px;
  background: var(--bg-soft);
  text-align: center;
}

.album-inquiry-cta p {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  margin-bottom: 14px;
}

.btn-editorial {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--ink);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-editorial:hover {
  background: var(--ink);
  color: #ffffff;
}

.center-action {
  margin-top: 48px;
  text-align: center;
}

.related-albums-section {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
}

.related-heading {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* ---------- Videography ---------- */
.home-video-section {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.videography-container,
.video-stage-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.video-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111111;
}

.video-16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-main-caption,
.video-item-title {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-sub-grid {
  max-width: 1080px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-sub-thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}

.video-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ink-muted);
}

.video-sub-card h4 {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
}

.video-2col-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

/* ---------- About Us & Testimonials ---------- */
.about-story-section {
  padding-bottom: 64px;
}

.about-story-inner {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.about-portrait {
  max-width: 520px;
}

.about-intro-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.testimonials-section {
  padding: 64px 0;
  background: var(--bg-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg);
  padding: 28px 24px;
  border: 1px solid var(--line);
}

.testimonial-img {
  margin-bottom: 18px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: #444444;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding-bottom: 72px;
}

.faq-container {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 14px;
  color: var(--ink-muted);
  line-height: 1.85;
}

/* ---------- Contact ---------- */
.contact-section {
  padding-bottom: 72px;
}

.contact-split {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: start;
}

.contact-feature-photo {
  margin-bottom: 24px;
  background: var(--bg-soft);
}

.contact-direct-details h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.contact-direct-details p {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.contact-quick-social {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-pill:hover {
  border-color: var(--ink);
}

.contact-form-heading {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
}

.contact-form-sub {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 28px;
}

.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field label span {
  color: var(--ink-muted);
  font-size: 12.5px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #cccccc;
  padding: 10px 2px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ink);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  display: none;
}

.radio-pill span {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
  transition: all 0.2s ease;
}

.radio-pill input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.form-status {
  font-size: 13.5px;
  margin-top: 6px;
}

/* ---------- Footer & Dinkus ---------- */
.site-footer {
  padding: 36px 0 48px;
  text-align: center;
}

.dinkus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto 22px;
}

.dinkus-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.dinkus-stars {
  font-size: 10px;
  color: var(--ink-light);
  letter-spacing: 0.2em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}

.footer-social-icons .social-icon-link svg {
  width: 18px;
  height: 18px;
}

.footer-credit {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--ink-muted);
}

.empty-state a {
  text-decoration: underline;
  color: var(--ink);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, 0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  font-size: 48px;
  padding: 16px;
  cursor: pointer;
  opacity: 0.75;
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* ---------- Floating Back-to-Top Button ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(254, 254, 254, 0.92);
  color: var(--ink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  z-index: 45;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .desktop-only-masonry {
    display: none;
  }
  .mobile-only-masonry {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .related-grid,
  .testimonials-grid,
  .video-2col-grid,
  .contact-split {
    grid-template-columns: 1fr;
  }
  .video-sub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .site-header {
    padding: 22px 0 18px;
  }
  .brand-logo-img {
    height: 44px;
    max-width: 190px;
  }
  .hero-slider {
    height: calc(100vh - 86px);
    height: calc(100svh - 86px);
    min-height: 420px;
  }
  .hero-arrow {
    font-size: 22px;
    padding: 14px 12px;
  }
  :root {
    --photobook-gap: 6px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
