/* ============================================
   style.css — shared styles for all pages
   ============================================ */

/* ── FONTS ── */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background: #fff;
  color: #333;
  letter-spacing: 0.04em;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── HEADER ── */
#site-header {
  border-bottom: 1px solid #e0e0e0;
  position: sticky; top: 0;
  background: #fff; z-index: 200;
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-title {
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #222;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #666;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: #111; border-bottom-color: #111; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1px; background: #666; }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: #fff; z-index: 300;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 0.9rem; letter-spacing: 0.25em; text-transform: uppercase; color: #333; }
.mobile-nav-close {
  position: absolute; top: 22px; right: 28px;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; color: #999;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.94); z-index: 500;
  align-items: center; justify-content: center; flex-direction: column;
}
#lightbox.open { display: flex; }
#lb-img { max-width: 88vw; max-height: 84vh; object-fit: contain; }
#lb-placeholder {
  width: 68vw; height: 68vh; background: #1c1c1c;
  display: flex; align-items: center; justify-content: center;
  color: #3a3a3a; font-size: 1.1rem; letter-spacing: 0.2em;
}
#lb-caption { margin-top: 14px; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.lb-close {
  position: absolute; top: 26px; right: 32px;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); cursor: pointer; transition: color 0.2s;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); cursor: pointer; padding: 20px; transition: color 0.2s;
}
.lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid #e8e8e8; padding: 26px 40px; text-align: center; }
.site-footer-name { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: #555; margin-bottom: 6px; }
.site-footer-copy { font-size: 0.6rem; letter-spacing: 0.14em; color: #bbb; }

.back-top {
  display: block; text-align: center; padding: 18px;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #ccc; cursor: pointer;
}
.back-top:hover { color: #666; }

/* ── GALLERY INDEX (index.html) ── */
.gallery-wrap { max-width: 1280px; margin: 0 auto; padding: 50px 40px 80px; }

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 24px;
}
.series-item {
  position: relative;
  cursor: pointer;
  display: block;
}
.series-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.series-item:hover img { transform: scale(1.04); }
.collection-photo-frame {
  background: #ebebeb; overflow: hidden; position: relative;
  aspect-ratio: 2/1;
}
.series-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #e8e8e8; color: #c0c0c0;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.3s;
}
.series-item:hover .series-placeholder { background: #ddd; }
.series-title-tag {
  display: block; padding: 16px 2px 0;
  color: #111; font-size: 0.95rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ── SERIES PAGE (series.html) ── */
.series-wrap { max-width: 1280px; margin: 0 auto; padding: 44px 40px 80px; }
.back-link {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #999; cursor: pointer; display: inline-block; margin-bottom: 28px;
}
.back-link:hover { color: #333; }
.back-link::before { content: '← '; }
.series-page-header { text-align: center; margin-bottom: 44px; }
.series-page-header h2 { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #222; margin-bottom: 16px; }
.series-page-header p { font-size: 0.92rem; font-weight: 300; line-height: 1.85; color: #888; max-width: 560px; margin: 0 auto; letter-spacing: 0.02em; }
.series-page-nav { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #aaa; }
.series-page-nav span { cursor: pointer; transition: color 0.2s; }
.series-page-nav span:hover { color: #333; }
.photo-grid {
  -webkit-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 28px;
  column-gap: 28px;
}
.photo-cell {
  display: block; cursor: pointer;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 36px;
}
/* Series page thumbnails — natural aspect ratio, no cropping.
   min-height only matters before a real image is added (broken-image
   icon has no intrinsic size); once a real photo loads, its own
   height takes over and this has no effect. */
.series-photo-frame {
  background: #ebebeb; overflow: hidden; position: relative;
  min-height: 50px;
}
.series-photo-frame img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.photo-cell:hover .series-photo-frame img { transform: scale(1.045); }
/* Recent Works strip (index.html) — fixed box, unchanged for now */
.photo-cell-frame {
  background: #ebebeb; aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.photo-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-cell:hover img { transform: scale(1.045); }
.photo-placeholder { width: 100%; aspect-ratio: 3/2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #c8c8c8; }
.photo-placeholder-code { font-size: 0.85rem; letter-spacing: 0.14em; }
.photo-placeholder-hint { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; }
.photo-title-tag {
  display: block; padding: 14px 2px 0;
  color: #999; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-align: center; transition: color 0.25s;
}
.photo-cell:hover .photo-title-tag { color: #222; }

/* ── ABOUT PAGE (about.html) ── */
.about-wrap { max-width: 800px; margin: 0 auto; padding: 60px 40px 100px; }
.about-portrait {
  width: 100%; max-width: 580px; margin: 0 auto 52px;
  background: #ebebeb; aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #c0c0c0; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-block { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid #eee; }
.about-block:last-child { border-bottom: none; }
.about-block > h2 { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #aaa; margin-bottom: 22px; }
.about-block h3 { font-size: 1rem; font-weight: 300; letter-spacing: 0.04em; color: #222; margin-bottom: 18px; }
.about-block p { font-size: 0.88rem; line-height: 1.95; color: #555; margin-bottom: 14px; }
.about-block blockquote { border-left: 2px solid #ddd; padding-left: 18px; margin: 22px 0; font-style: italic; color: #777; font-size: 0.86rem; line-height: 1.85; }
.awards-list { list-style: none; counter-reset: c; }
.awards-list li { counter-increment: c; font-size: 0.8rem; line-height: 1.9; color: #555; padding: 7px 0; border-bottom: 1px solid #f5f5f5; display: flex; gap: 14px; }
.awards-list li::before { content: counter(c) '.'; color: #c0c0c0; font-size: 0.7rem; min-width: 18px; padding-top: 2px; }
.exhibition-entry { margin-bottom: 18px; }
.exhibition-entry strong { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; color: #333; display: block; margin-bottom: 3px; }
.exhibition-entry p { font-size: 0.8rem; color: #777; line-height: 1.7; margin: 0; }
.ambassador-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.ambassador-box { height: 38px; width: 110px; background: #f2f2f2; display: flex; align-items: center; justify-content: center; color: #c0c0c0; font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ── FINE PRINT PAGE (fineprint.html) ── */
.fineprint-wrap { max-width: 800px; margin: 0 auto; padding: 60px 40px 100px; }
.fineprint-wrap > h2 { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #aaa; margin-bottom: 22px; }
.fineprint-wrap > p { font-size: 0.88rem; line-height: 1.9; color: #555; margin-bottom: 40px; }
.print-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; margin-bottom: 40px; }
.print-box { background: #f8f8f8; padding: 26px 22px; }
.print-box h4 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #333; margin-bottom: 10px; }
.print-box p { font-size: 0.8rem; line-height: 1.75; color: #777; }
.fineprint-note { font-size: 0.8rem; color: #999; line-height: 1.9; }

/* ── CONTACT PAGE (contact.html) ── */
.contact-wrap { max-width: 560px; margin: 0 auto; padding: 80px 40px 100px; text-align: center; }
.contact-wrap > h2 { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #aaa; margin-bottom: 48px; }
.contact-details { font-size: 0.72rem; color: #aaa; line-height: 2.4; letter-spacing: 0.1em; }
.contact-email-row { margin-bottom: 4px; }
.contact-email-row a { font-size: 1.1rem; font-weight: 300; letter-spacing: 0.06em; color: #222; border-bottom: 1px solid #ccc; padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.contact-email-row a:hover { color: #000; border-color: #555; }
.contact-location { font-size: 0.68rem; letter-spacing: 0.18em; color: #bbb; margin-bottom: 4px; }
.contact-social { margin-top: 28px; font-size: 0.68rem; letter-spacing: 0.18em; }
.contact-details a { color: #aaa; transition: color 0.2s; }
.contact-details a:hover { color: #333; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 24px; }
  .gallery-wrap, .series-wrap, .about-wrap, .fineprint-wrap, .contact-wrap { padding-left: 20px; padding-right: 20px; }
  .series-grid { gap: 18px; }
  .photo-grid  { column-gap: 18px; }
  .photo-cell  { margin-bottom: 26px; }
  .print-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .series-grid { grid-template-columns: 1fr; }
  .photo-grid  { -webkit-column-count: 1; column-count: 1; }
}

/* ============================================
   HOMEPAGE (index.html)
   ============================================ */

/* ── WELCOME SECTION ── */
.welcome-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 0;
}

/* The photograph — full width, nothing on top */
.welcome-photo {
  width: 100%;
  line-height: 0; /* removes gap below image */
}
.welcome-photo img {
  width: 100%;
  display: block;
  /* no filter, no overlay, no transform — just the photograph */
}
.welcome-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Welcome heading — full width, matches hero, never wraps */
.welcome-heading-wrap {
  width: 100%;
  padding: 28px 0 0;
  overflow: hidden;
}
.welcome-heading {
  font-size: clamp(0.5rem, 2vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #A37E2C;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}

/* Welcome text — below the photo, like a letter */
.welcome-text {
  padding: 36px 0 64px;
  max-width: 700px;
}
.welcome-text p {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #444;
  margin-bottom: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.welcome-signature {
  font-style: italic;
  color: #888 !important;
  font-size: 0.88rem !important;
  margin-top: 8px;
}

/* ── HOME SECTIONS (below the welcome) ── */
.home-section {
  padding: 72px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.home-section-label {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}
.home-section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #222;
  margin-bottom: 36px;
}
.home-section-divider {
  width: 36px; height: 1px; background: #ccc; margin-bottom: 36px;
}

/* Recent works strip — reuses .photo-cell / .photo-cell-frame from the
   series page grid (see SERIES PAGE section above) for a matching
   corner-bracket hover effect. No caption under these. */
.recent-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 28px;
  margin-bottom: 28px;
}
.recent-work-item { aspect-ratio: 4/3; }
.recent-work-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.3s;
}
.recent-work-item:hover .recent-work-placeholder { background: #ddd; }

.home-view-all {
  display: inline-block;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #555; border-bottom: 1px solid #555; padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.home-view-all:hover { color: #111; border-color: #111; }

/* Collections teaser */
.collections-teaser { background: #f5f5f5; padding: 72px 40px; }
.collections-teaser-inner { max-width: 1280px; margin: 0 auto; }
.collections-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-bottom: 28px; }
.collections-mini-item { aspect-ratio: 1/1; background: #e0e0e0; overflow: hidden; position: relative; display: block; }
.collections-mini-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.collections-mini-item:hover img { transform: scale(1.05); }
.collections-mini-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #c0c0c0; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.3s; }
.collections-mini-item:hover .collections-mini-placeholder { background: #d4d4d4; }
.collections-mini-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); color: rgba(255,255,255,0.9); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.collections-mini-item:hover .collections-mini-label { opacity: 1; }

/* Blog teaser */
.blog-section { border-top: 1px solid #eee; padding: 72px 40px; }
.blog-section-inner { max-width: 1280px; margin: 0 auto; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.blog-post-card { display: block; }
.blog-post-thumb { aspect-ratio: 16/9; background: #e8e8e8; overflow: hidden; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s; }
.blog-post-card:hover .blog-post-thumb { background: #ddd; }
.blog-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-post-card:hover .blog-post-thumb img { transform: scale(1.03); }
.blog-post-date { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: #bbb; margin-bottom: 8px; }
.blog-post-title { font-size: 0.88rem; font-weight: 400; color: #222; line-height: 1.5; margin-bottom: 8px; transition: color 0.2s; }
.blog-post-card:hover .blog-post-title { color: #555; }
.blog-post-excerpt { font-size: 0.78rem; color: #888; line-height: 1.75; }


/* ============================================
   PHOTO DETAIL PAGE (photo.html)
   ============================================ */

.photo-detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 40px 80px;
}

.photo-breadcrumb {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #bbb; margin-bottom: 36px; display: flex; gap: 10px; align-items: center;
}
.photo-breadcrumb a { color: #bbb; transition: color 0.2s; }
.photo-breadcrumb a:hover { color: #333; }
.photo-breadcrumb-sep { color: #ddd; }

.photo-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* Left — image */
.photo-detail-image-wrap {
  position: sticky;
  top: 88px; /* below sticky header */
}
.photo-detail-image {
  width: 100%;
  background: #f0f0f0;
  overflow: hidden;
}
.photo-detail-image img {
  width: 100%; display: block;
  filter: grayscale(8%);
  transition: filter 0.4s;
}
.photo-detail-image:hover img { filter: grayscale(0%); }
.photo-detail-image-placeholder {
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  color: #c8c8c8; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
}

/* Right — info panel */

.photo-detail-series {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #bbb; margin-bottom: 10px;
}

.photo-detail-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300; letter-spacing: 0.05em;
  color: #111; margin-bottom: 6px;
}

.photo-detail-id {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ccc; margin-bottom: 28px;
}

.photo-detail-price {
  font-size: 1.4rem; font-weight: 300; letter-spacing: 0.06em;
  color: #222; margin-bottom: 6px;
}
.photo-detail-price-note {
  font-size: 0.62rem; letter-spacing: 0.14em; color: #aaa; margin-bottom: 28px;
}

/* Print size selector */
.print-size-label {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #888; margin-bottom: 12px;
}
.print-sizes {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.print-size-btn {
  padding: 8px 16px;
  border: 1px solid #ddd; background: #fff; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.1em; color: #555;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.print-size-btn:hover { border-color: #999; color: #222; }
.print-size-btn.selected { border-color: #222; background: #222; color: #fff; }

/* Buy button */
.btn-buy {
  display: block; width: 100%;
  padding: 15px 24px; margin-bottom: 12px;
  background: #222; color: #fff; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; text-align: center;
  transition: background 0.22s;
}
.btn-buy:hover { background: #444; }

.btn-inquire {
  display: block; width: 100%;
  padding: 14px 24px; margin-bottom: 28px;
  background: #fff; color: #222;
  border: 1px solid #222; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; text-align: center;
  transition: background 0.22s, color 0.22s;
}
.btn-inquire:hover { background: #f5f5f5; }

/* Trust badges */
.trust-badges {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.trust-badge {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: #aaa;
  flex: 1; text-align: center;
}
.trust-badge-icon { font-size: 1.1rem; }

/* Info accordion sections */
.info-accordion { border-top: 1px solid #eee; }
.info-accordion-item { border-bottom: 1px solid #eee; }
.info-accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: #444;
  user-select: none;
}
.info-accordion-header:hover { color: #111; }
.info-accordion-arrow { font-size: 0.7rem; transition: transform 0.25s; color: #bbb; }
.info-accordion-item.open .info-accordion-arrow { transform: rotate(180deg); }
.info-accordion-body {
  display: none;
  padding: 0 0 20px;
}
.info-accordion-item.open .info-accordion-body { display: block; }
.info-accordion-body p,
.info-accordion-body li {
  font-size: 0.82rem; line-height: 1.85; color: #666;
}
.info-accordion-body ul { padding-left: 16px; }
.info-accordion-body li { margin-bottom: 4px; }


/* Related / More to love section */
.photo-related {
  max-width: 1280px; margin: 0 auto; padding: 60px 40px 80px;
  border-top: 1px solid #eee;
}
.photo-related-title {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #aaa; margin-bottom: 28px; text-align: center;
}
.photo-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.photo-related-item {
  display: block; background: #e8e8e8; overflow: hidden;
  aspect-ratio: 1/1; position: relative;
}
.photo-related-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform 0.5s, filter 0.4s; }
.photo-related-item:hover img { transform: scale(1.05); filter: grayscale(40%); }
.photo-related-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: #c8c8c8;
}
.photo-related-placeholder span:first-child { font-size: 0.75rem; letter-spacing: 0.1em; }
.photo-related-placeholder span:last-child  { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; }
.photo-related-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  color: #fff; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s;
}
.photo-related-item:hover .photo-related-name { opacity: 1; }

/* ── RESPONSIVE additions ── */
@media (max-width: 900px) {
  .photo-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .photo-detail-image-wrap { position: static; }
  .collections-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .photo-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-section, .collections-teaser, .blog-section { padding: 50px 20px; }
  .newsletter-strip { padding: 50px 20px; }
  .photo-detail-wrap { padding: 30px 20px 60px; }
  .photo-related { padding: 40px 20px 60px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; }
}

/* ── Welcome section responsive ── */
@media (max-width: 800px) {
  .welcome-section { padding: 32px 20px 0; }
  .welcome-text { padding: 24px 0 48px; }
}

/* ============================================================
   PHOTO TEMPLATE 1 — VERTICAL / SQUARE
   photo-vertical.html
   Image is locked to viewport height. Info panel is alongside.
   ============================================================ */

.photo-v-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 0;
}

/* Breadcrumb */
.photo-v-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 0;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
}
.photo-v-breadcrumb a { color: #bbb; transition: color 0.2s; }
.photo-v-breadcrumb a:hover { color: #333; }
.photo-v-breadcrumb-sep { color: #ddd; }

/* Two-column layout — image left, info right */
.photo-v-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  /* image column height = viewport minus header (68px) minus breadcrumb (~56px) */
  height: calc(100vh - 68px - 56px);
  padding-bottom: 40px;
}

/* Left — image locked to its column height, never overflows */
.photo-v-image-col {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
}
.photo-v-image-col img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.photo-v-image-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: #ccc; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
}

/* Right — info panel scrolls independently */
.photo-v-info-col {
  height: 100%;
  overflow-y: auto;
  padding-right: 4px; /* space for scrollbar */
  /* hide scrollbar visually but keep function */
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.photo-v-info-col::-webkit-scrollbar { width: 4px; }
.photo-v-info-col::-webkit-scrollbar-track { background: transparent; }
.photo-v-info-col::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

/* Info content — same styling for both templates, shared classes */
.pi-series {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #bbb; margin-bottom: 8px;
}
.pi-title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 300; letter-spacing: 0.04em;
  color: #111; margin-bottom: 4px; line-height: 1.2;
}
.pi-id {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ccc; margin-bottom: 24px;
}
.pi-price {
  font-size: 1.3rem; font-weight: 300; letter-spacing: 0.05em;
  color: #222; margin-bottom: 4px;
}
.pi-price-note {
  font-size: 0.6rem; letter-spacing: 0.1em; color: #aaa; margin-bottom: 24px; line-height: 1.6;
}
.pi-size-label {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #888; margin-bottom: 10px;
}
.pi-sizes {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px;
}
.pi-size-btn {
  padding: 7px 14px;
  border: 1px solid #ddd; background: #fff; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.66rem; font-weight: 300;
  letter-spacing: 0.08em; color: #555;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pi-size-btn:hover { border-color: #999; color: #222; }
.pi-size-btn.selected { border-color: #222; background: #222; color: #fff; }

.pi-btn-buy {
  display: block; width: 100%; padding: 14px 24px; margin-bottom: 10px;
  background: #222; color: #fff; border: none; cursor: pointer; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 0.63rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background 0.22s;
}
.pi-btn-buy:hover { background: #444; }
.pi-btn-inquire {
  display: block; width: 100%; padding: 13px 24px; margin-bottom: 24px;
  background: #fff; color: #222; border: 1px solid #222; cursor: pointer; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 0.63rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background 0.2s;
}
.pi-btn-inquire:hover { background: #f5f5f5; }

.pi-badges {
  display: flex; gap: 0; margin-bottom: 24px;
  border-top: 1px solid #eee; border-bottom: 1px solid #eee;
  padding: 14px 0;
}
.pi-badge {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 0.54rem; letter-spacing: 0.12em; text-transform: uppercase; color: #aaa;
  text-align: center; padding: 0 4px;
}
.pi-badge-icon { font-size: 1rem; }

/* Accordion — shared by both templates */
.pi-accordion { border-top: 1px solid #eee; }
.pi-accordion-item { border-bottom: 1px solid #eee; }
.pi-accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; cursor: pointer;
  font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: #444;
  user-select: none; transition: color 0.2s;
}
.pi-accordion-header:hover { color: #111; }
.pi-accordion-arrow { font-size: 0.65rem; transition: transform 0.25s; color: #bbb; }
.pi-accordion-item.open .pi-accordion-arrow { transform: rotate(180deg); }
.pi-accordion-body { display: none; padding: 0 0 18px; }
.pi-accordion-item.open .pi-accordion-body { display: block; }
.pi-accordion-body p { font-size: 0.82rem; line-height: 1.85; color: #666; margin-bottom: 10px; }
.pi-accordion-body ul { padding-left: 16px; }
.pi-accordion-body li { font-size: 0.8rem; line-height: 1.85; color: #666; margin-bottom: 3px; }

.pi-tech-table { width: 100%; border-collapse: collapse; }
.pi-tech-table tr { border-bottom: 1px solid #f5f5f5; }
.pi-tech-table tr:last-child { border-bottom: none; }
.pi-tech-table td { padding: 7px 0; font-size: 0.78rem; color: #666; vertical-align: top; }
.pi-tech-table td:first-child {
  width: 42%; font-size: 0.63rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #aaa; padding-right: 10px;
}

/* Related strip — shared */
.pi-related {
  max-width: 1280px; margin: 0 auto; padding: 50px 40px 70px;
  border-top: 1px solid #eee;
}
.pi-related-title {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #aaa; margin-bottom: 24px; text-align: center;
}
.pi-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.pi-related-item {
  display: block; background: #ebebeb; overflow: hidden;
  aspect-ratio: 1/1; position: relative;
}
.pi-related-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform 0.5s, filter 0.4s; }
.pi-related-item:hover img { transform: scale(1.05); filter: grayscale(40%); }
.pi-related-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: #ccc;
}
.pi-related-placeholder span:first-child { font-size: 0.78rem; letter-spacing: 0.1em; }
.pi-related-placeholder span:last-child  { font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pi-related-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  color: #fff; font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s;
}
.pi-related-item:hover .pi-related-name { opacity: 1; }

/* Responsive — vertical template */
@media (max-width: 900px) {
  .photo-v-layout {
    grid-template-columns: 1fr;
    height: auto;
    padding-bottom: 0;
  }
  .photo-v-image-col {
    height: 60vw;
    max-height: 70vh;
  }
  .photo-v-info-col {
    height: auto;
    overflow-y: visible;
    padding-bottom: 48px;
  }
}
@media (max-width: 600px) {
  .photo-v-wrap { padding: 0 20px; }
  .pi-related { padding: 40px 20px 60px; }
  .pi-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PHOTO TEMPLATE 2 — HORIZONTAL / PANO
   photo-horizontal.html
   Image full-width at top, all info in columns below.
   ============================================================ */

.photo-h-image-section {
  width: 100%;
  background: #f0f0f0;
  /* constrained height — shows the image without dominating the whole page */
  max-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-h-image-section img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}
.photo-h-image-placeholder {
  width: 100%; height: 55vw; max-height: 72vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: #ccc; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: #ebebeb;
}

/* Info section below the image */
.photo-h-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.photo-h-breadcrumb {
  display: flex; gap: 10px; align-items: center;
  padding: 22px 0 28px;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: #bbb;
}
.photo-h-breadcrumb a { color: #bbb; transition: color 0.2s; }
.photo-h-breadcrumb a:hover { color: #333; }
.photo-h-breadcrumb-sep { color: #ddd; }

/* Title row — big title left, price right */
.photo-h-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.photo-h-series {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #bbb; margin-bottom: 6px;
}
.photo-h-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300; letter-spacing: 0.04em;
  color: #111; line-height: 1.1;
}
.photo-h-id {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ccc; margin-top: 4px;
}
.photo-h-price-group { text-align: right; }
.photo-h-price {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300; letter-spacing: 0.05em; color: #222;
}
.photo-h-price-note {
  font-size: 0.6rem; letter-spacing: 0.1em; color: #aaa;
  margin-top: 4px; line-height: 1.6;
}

/* Three-column info layout below the title */
.photo-h-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 48px;
  align-items: start;
}

.photo-h-col-label {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #aaa; margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Col 1 — description */
.photo-h-description p {
  font-size: 0.88rem; line-height: 1.95; color: #555; margin-bottom: 12px;
}

/* Col 2 — tech info */
/* uses pi-tech-table class (shared) */

/* Col 3 — purchase */

/* Responsive — horizontal template */
@media (max-width: 960px) {
  .photo-h-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .photo-h-purchase { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .photo-h-info-grid { grid-template-columns: 1fr; }
  .photo-h-wrap { padding: 0 20px 60px; }
  .photo-h-title-row { flex-direction: column; gap: 12px; }
  .photo-h-price-group { text-align: left; }
}
