/* ==========================================================================
   Client Gallery -- shared styles
   A clean, minimal photography-gallery look inspired by common gallery
   delivery tools. Swap colors/fonts below to match your own brand.
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-soft: #555;
  --hairline: #e6e6e6;
  --paper: #ffffff;
  --paper-soft: #fafafa;
  --accent: #1a1a1a;
  --accent-contrast: #ffffff;
  --danger: #b3432b; --accent-warm: #a07656; --cream: #f5f3f0;
  --radius: 2px;
  --maxw: 1400px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- Top bar (site-wide, home page) ---------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--hairline);
}

.topbar__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.topbar__search {
  flex: 1;
  max-width: 420px;
  margin: 0 32px;
}

.topbar__search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--paper-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}

/* ---------------- Top bar navigation ---------------- */ .topbar__nav { display: flex; align-items: center; gap: 24px; } .topbar__navlink { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); padding: 4px 0; border-bottom: 2px solid transparent; } .topbar__navlink:hover { color: var(--ink); } .topbar__navlink.is-active { color: var(--ink); border-bottom-color: var(--ink); } /* ---------------- Home hero (full-bleed) ---------------- */ .home-hero-photo { position: relative; min-height: 100vh; width: 100%; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #2a2420 0%, #6b4f3a 55%, #a07656 100%); color: #fff; text-align: center; } .home-hero-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 28px 40px; z-index: 2; } .home-hero-nav__brand { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; } .home-hero-nav__link { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; padding-bottom: 4px; border-bottom: 1px solid transparent; } .home-hero-nav__link.is-active, .home-hero-nav__link:hover { border-bottom-color: #fff; } .home-hero-nav__links { display: flex; align-items: center; gap: 28px; } .home-hero-slideshow { position: absolute; inset: 0; z-index: 0; } .home-hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: home-hero-fade 18s infinite; } .home-hero-slide:nth-child(1) { animation-delay: 0s; } .home-hero-slide:nth-child(2) { animation-delay: 6s; } .home-hero-slide:nth-child(3) { animation-delay: 12s; } .home-hero-slide:nth-child(3) { object-position: 50% 60%; } @keyframes home-hero-fade { 0% { opacity: 0; } 5% { opacity: 1; } 28% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } } .home-hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(20,16,12,0.4); } @media (prefers-reduced-motion: reduce) { .home-hero-slide { animation: none; opacity: 0; } .home-hero-slide:first-child { opacity: 1; } } .home-hero-photo__content { position: relative; z-index: 2; padding: 0 24px; } .home-hero-photo__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 500; margin: 0 0 6px; } .home-hero-photo__subtitle { font-size: 0.85rem; letter-spacing: 0.32em; text-transform: uppercase; margin: 0 0 36px; opacity: 0.9; } .home-hero-photo__cta { display: inline-block; padding: 14px 34px; border: 1px solid #fff; color: #fff; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; background: rgba(255,255,255,0.08); transition: background 0.2s ease; } .home-hero-photo__cta:hover { background: rgba(255,255,255,0.22); } /* ---------------- Home about ---------------- */ .home-about { max-width: 700px; margin: 0 auto; padding: 90px 32px; text-align: center; } .home-about__heading { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 24px; color: var(--ink); } .home-about__text { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); } /* ---------------- Home book-a-session CTA ---------------- */ .home-book { text-align: center; padding: 0 32px 90px; } .home-book__link { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; color: var(--accent-warm); } .home-book__link:hover { text-decoration: underline; } /* ---------------- Home social band ---------------- */ .home-social { background: var(--cream); padding: 70px 32px; text-align: center; } .home-social__icon svg { width: 20px; height: 20px; color: var(--ink); } .home-social__label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 14px 0 6px; font-weight: 600; } .home-social__handle { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--ink-soft); } .home-social__feed { max-width: 900px; margin: 24px auto 0; } /* ---------------- Home footer ---------------- */ .home-footer { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; border-top: 1px solid var(--hairline); flex-wrap: wrap; gap: 12px; } .home-footer__nav a { margin-right: 20px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); } .home-footer__copyright { font-size: 0.8rem; color: var(--ink-soft); } /* ---------------- Book a session banner ---------------- */ .book-banner { width: 100%; line-height: 0; overflow: hidden; max-height: 380px; } .book-banner__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; } /* ---------------- Book a session page ---------------- */ .book-page { max-width: 640px; margin: 0 auto; padding: 90px 32px; } .book-page__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.4rem; text-align: center; margin: 0 0 16px; color: var(--ink); } .book-page__intro { text-align: center; color: var(--ink-soft); margin: 0 0 48px; line-height: 1.7; } .book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .book-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); } .book-form__field--full { grid-column: 1 / -1; } .book-form input, .book-form select, .book-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--paper-soft); color: var(--ink); } .book-form textarea { resize: vertical; } .book-form button { grid-column: 1 / -1; justify-self: start; margin-top: 8px; } @media (max-width: 640px) { .book-form { grid-template-columns: 1fr; } } /* ---------------- Pose picker ---------------- */ .pose-picker { max-width: 720px; margin: 0 auto 64px; } .pose-picker__heading { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; text-align: center; margin: 0 0 12px; color: var(--ink); } .pose-picker__intro { text-align: center; color: var(--ink-soft); margin: 0 0 32px; line-height: 1.7; } .pose-picker__question { font-weight: 600; margin: 0 0 12px; color: var(--ink); } .pose-picker__step { margin-bottom: 28px; } .pose-picker__options { display: flex; flex-wrap: wrap; gap: 10px; } .pose-picker__option { font: inherit; padding: 10px 18px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--paper-soft); color: var(--ink); cursor: pointer; } .pose-picker__option.is-selected { background: var(--accent-warm); border-color: var(--accent-warm); color: #fff; } .pose-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; } .pose-card { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--cream); padding: 16px 10px; cursor: pointer; font: inherit; text-align: center; } .pose-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 90px; background: linear-gradient(135deg, #cbb79a, #a07656); border-radius: var(--radius); color: #fff; font-size: 0.75rem; } .pose-card__thumb { width: 100%; height: 90px; object-fit: cover; border-radius: var(--radius); display: block; } .pose-card__label { font-size: 0.85rem; color: var(--ink-soft); } .pose-card.is-selected { border-color: var(--accent-warm); box-shadow: 0 0 0 2px var(--accent-warm) inset; } .pose-card.is-selected .pose-card__label { color: var(--ink); font-weight: 600; } .pose-picker__note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; } /* ---------------- Home page: collection grid ---------------- */

.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 32px 8px;
}

.page-header h1 {
  font-size: 1.6rem;
  margin: 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  padding: 24px 32px 64px;
}

.collection-card {
  display: block;
}

.collection-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
}

.collection-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-card__thumb img {
  transform: scale(1.04);
}

.collection-card__title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.collection-card__meta {
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ea56f;
  display: inline-block;
}

/* ---------------- Gallery page: keyword gate ---------------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate.is-visible { display: flex; }

.gate__box {
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.gate__label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.gate__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.gate__subtitle {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

#gateForm {
  display: flex;
  gap: 8px;
}

#gateInput {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.gate__error {
  color: var(--danger);
  font-size: 0.82rem;
  margin: 14px 0 0;
}

.gate__hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 18px 0 0;
}

/* ---------------- Gallery page: hero cover ---------------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.06em;
  font-weight: 800;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.hero__cta {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid #fff;
  color: #fff;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.hero__cta:hover { background: rgba(255, 255, 255, 0.22); }

.hero__studio {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------------- Gallery page: nav + grid ---------------- */

.gallery-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 18px 76px;
  border-bottom: 1px solid var(--hairline);
}

.gallery-nav.is-visible { display: flex; }

.gallery-nav__title { font-weight: 700; letter-spacing: 0.03em; }
.gallery-nav__studio { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.1em; }

.gallery-nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 4px;
}

.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.is-active { color: var(--danger); }

.masonry {
  column-count: 4;
  column-gap: 6px;
  padding: 6px 6px 80px;
  display: none;
}

.masonry.is-visible { display: block; }

@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px) { .masonry { column-count: 2; } }

.tile {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
}

.tile img {
  width: 100%;
  height: auto;
  cursor: pointer;
  display: block;
}

.tile__overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tile:hover .tile__overlay { opacity: 1; }

.tile__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.tile__icon svg { width: 15px; height: 15px; }
.tile__icon.is-active { color: var(--danger); }

/* ---------------- Lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 60;
  display: none;
  flex-direction: column;
}

.lightbox.is-open { display: flex; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--hairline);
}

.lightbox__actions { display: flex; align-items: center; gap: 18px; }

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
  min-height: 0;
}

.lightbox__stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__caption {
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
}

/* ---------------- Buy modal ---------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 70;
  display: none;
  align-items: stretch;
  justify-content: center;
}

.modal-backdrop.is-open { display: flex; }

.modal {
  background: #fff;
  width: min(1100px, 96vw);
  margin: auto;
  max-height: 90vh;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
}

@media (max-width: 800px) {
  .modal { grid-template-columns: 1fr; max-height: 94vh; }
  .modal__preview { display: none; }
}

.modal__preview {
  background: linear-gradient(160deg, #ddd, #bbb);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__preview img { max-height: 380px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.modal__panel {
  padding: 26px 30px;
  overflow-y: auto;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal__header h2 { margin: 0; font-size: 1.2rem; }
.modal__close { background: none; border: none; font-size: 1.3rem; line-height: 1; padding: 4px; }

.modal__tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 6px;
}

.modal__tab {
  background: none;
  border: none;
  padding: 10px 2px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}

.modal__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
}

.price-row:hover { background: var(--paper-soft); }
.price-row__price { color: var(--ink-soft); }

.note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.5;
}

.download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f1f7f3;
  border: 1px solid #cfe8d9;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 32px 0;
}

.download-banner p { margin: 0; font-size: 0.85rem; }

.empty-state {
  padding: 80px 32px;
  text-align: center;
  color: var(--ink-soft);
}

.footer-note {
  text-align: center;
  padding: 24px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast.is-visible { opacity: 1; }

/* ---------------- Book a session: submission status ---------------- */

.book-form__success {
     grid-column: 1 / -1;
     background: #f1f7f3;
     border: 1px solid #cfe8d9;
     border-radius: 6px;
     padding: 16px 18px;
     font-size: 0.9rem;
     font-weight: 400;
     color: var(--ink);
     line-height: 1.6;
}

.book-form__error {
     grid-column: 1 / -1;
     color: var(--danger);
     font-size: 0.85rem;
     font-weight: 400;
     line-height: 1.6;
}

.book-form__error a { text-decoration: underline; }
