/* =================================================================
   MalagaPhoto — main.css
   Bootstrap 5 + custom design system (Cormorant Garamond + Manrope)
   ================================================================= */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Manrope:wght@400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --ink:   #111111;
  --bone:  #fafafa;
  --surface: #ffffff;
  --muted:  #666666;
  --muted2: #999999;
  --sand:   #f0ede8;
  --line:   #eaeaea;
  --accent: #e6e4e0;
  --radius: 6px;
}

/* ── Reset / Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bone);
  color: var(--ink);
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
body { background: var(--bone); color: var(--ink); overflow-x: hidden; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
::selection { background: var(--ink); color: var(--bone); }

.mobile-temporary-unavailable {
  display: none;
}

@media (max-width: 767px) {
  body {
    min-height: 100vh;
    overflow: hidden;
  }

  body > *:not(.mobile-temporary-unavailable) {
    display: none !important;
  }

  .mobile-temporary-unavailable {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #050505;
    color: #fff;
    text-align: center;
  }

  .mobile-temporary-unavailable__inner {
    width: min(100%, 24rem);
  }

  .mobile-temporary-unavailable__brand {
    margin-bottom: 1.4rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    line-height: 1;
  }

  .mobile-temporary-unavailable h1 {
    margin: 0;
    color: #fff;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .mobile-temporary-unavailable p {
    margin: 1rem 0 0;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    line-height: 1.7;
  }
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; }

input::placeholder,
textarea::placeholder,
select::placeholder,
.form-control::placeholder,
.form-select::placeholder {
  color: rgba(17,17,17,.34) !important;
  opacity: 1;
}

/* ── Typography helpers ───────────────────────────────────────── */
.kicker {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.h-display {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.h-section {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.text-ink    { color: var(--ink); }
.text-muted  { color: var(--muted); }
.text-muted2 { color: var(--muted2); }

/* ── Layout helpers ───────────────────────────────────────────── */
.mp-container { max-width: 1440px; margin: 0 auto; padding: 0 3rem; }
@media (max-width: 768px) { .mp-container { padding: 0 1.5rem; } }

.border-top { border-top: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }

/* ── Navbar ───────────────────────────────────────────────────── */
#mp-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(250,250,250,0.82);
  border-bottom: 1px solid var(--line);
  height: 64px;
}
#mp-navbar .nav-inner {
  position: relative;
  max-width: 1440px; margin: 0 auto;
  padding: 0 3rem; height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
#mp-navbar .nav-left {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  justify-self: start;
  grid-column: 1;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  #mp-navbar .nav-inner {
    gap: 1rem;
  }
}
@media (max-width: 1240px) {
  #mp-navbar .nav-title {
    display: none !important;
  }
}
@media (max-width: 768px) { #mp-navbar .nav-inner { padding: 0 1.5rem; } }

#mp-navbar .mp-logo {
  display: none !important;
}
#mp-navbar .nav-links {
  gap: 1.5rem;
}

/* ── Navbar logo ─────────────────────────────────────────────── */
.mp-logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  text-decoration: none;
  gap: 0;
  overflow: visible;
  min-width: 190px;
}

/* Ephesis — thin airy signature, matches reference */
.mp-logo-text {
  font-family: 'Ephesis', 'Dancing Script', cursive;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .02em;
  line-height: 1.1;
  display: block;
  clip-path: none;
  animation: none;
}

/* Flourish: single thin arc matching reference underline */
.mp-logo-flourish {
  display: block;
  width: 108%;
  height: 14px;
  margin-top: -4px;
  margin-left: -2px;
  overflow: visible;
}
.mp-logo-flourish path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

/* ── Footer brand lockup ─────────────────────────────────────── */
.footer-logo-wrap {
  display: block;
  overflow: visible;
  line-height: 1.05;
}
.footer-brand-lockup {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  max-width: 760px;
}
.footer-script-wrap {
  display: inline-block;
  position: relative;
}
.footer-script {
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.35rem, 4.4vw, 4.25rem);
  font-weight: 500;
  color: #050505;
  line-height: .86;
  letter-spacing: .025em;
  white-space: normal;
  clip-path: none;
  animation: none;
  text-rendering: geometricPrecision;
}
.footer-brand-name {
  display: inline-block;
  font-variant-ligatures: discretionary-ligatures;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.footer-separator {
  display: none;
}
.footer-tagline-text {
  display: none;
}
.footer-flourish {
  display: none;
}

.admin-preferences-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.admin-preferences-row label {
  display: flex;
  gap: .45rem;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
}

/* ── Shared keyframes ─────────────────────────────────────────── */
@keyframes scriptWrite {
  0%   { clip-path: inset(-40% 100% -40% 0); }
  100% { clip-path: inset(-40% 0%   -40% 0); }
}
@keyframes flourishDraw {
  0%   { stroke-dashoffset: 320; opacity: 0;   }
  8%   { opacity: .5; }
  100% { stroke-dashoffset: 0;   opacity: .5;  }
}
@keyframes footerWrite {
  0%   { clip-path: inset(-40% 100% -40% 0); }
  100% { clip-path: inset(-40% 0%   -40% 0); }
}
@keyframes penWrite {
  from { clip-path: inset(-20% 100% -20% 0); }
  to   { clip-path: inset(-20% 0%   -20% 0); }
}
.logo-draw-text {
  display: inline-block;
  clip-path: inset(-20% 100% -20% 0);
  animation: penWrite 3s cubic-bezier(0.18, 0.0, 0.28, 1) forwards;
}
.logo-draw-tagline { animation-duration: 4.5s; animation-delay: 0.15s; }
.logo-primary {
  display: inline-flex; align-items: center;
  font-family: 'Ephesis', 'Great Vibes', cursive;
  font-size: 2.6rem; font-weight: 400;
  color: var(--ink); line-height: 1.1; overflow: visible;
}
.logo-tagline { display: none; }

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  perspective: 1600px;
}
.cookie-consent-card {
  position: relative;
  width: min(760px, calc(100vw - 48px));
  border-radius: 22px;
  pointer-events: auto;
  overflow: visible;
  transform-origin: 86% 92%;
  transition: opacity .28s ease;
  will-change: transform, opacity;
}
.cookie-consent-inner {
  position: relative;
  width: 100%;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 22px;
  background: rgba(250,250,250,.96);
  box-shadow: 0 24px 60px rgba(17,17,17,.08);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
.cookie-consent-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cookie-consent-face--front {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.2rem;
  align-items: end;
  padding: 1rem 1.1rem 1.05rem;
}
.cookie-consent-face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,246,246,.98) 100%);
}
.cookie-consent-face--back::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(248,248,248,.96) 100%);
}
.cookie-consent-face--back::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.14) 18%, rgba(17,17,17,.14) 82%, rgba(17,17,17,0) 100%);
  box-shadow: 0 18px 0 rgba(17,17,17,.06), 0 -18px 0 rgba(17,17,17,.06);
}
.cookie-consent-card::before {
  content: "";
  position: absolute;
  inset: 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,.1) 58%, rgba(17,17,17,.06) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.cookie-consent-card::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.98) 0%, rgba(255,255,255,.74) 18%, rgba(255,255,255,.14) 36%, rgba(255,255,255,0) 56%),
    repeating-conic-gradient(from 0deg, rgba(17,17,17,.18) 0deg 11deg, rgba(17,17,17,0) 11deg 22deg);
  opacity: 0;
  transform: scale(.5) rotate(0deg);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.cookie-consent-card.is-flashing::after {
  animation: cookieShutterFlash .28s ease-out .2s forwards;
}
.cookie-consent-card.is-polaroid-throw::before {
  animation: cookiePhotoGloss .82s ease-out forwards;
}
.cookie-consent-card.is-polaroid-throw .cookie-consent-inner {
  animation: cookieCardFlip .82s cubic-bezier(.2,.78,.24,1) forwards;
}
.cookie-consent-card.is-polaroid-throw {
  animation: cookieCardThrow .82s cubic-bezier(.18,.82,.24,1) forwards;
}
.cookie-consent-card.is-fading-out {
  animation: cookieConsentFade .7s ease forwards;
}
.cookie-consent-copy {
  min-width: 0;
  position: relative;
  z-index: 4;
}
.cookie-consent-title {
  margin: 0 0 .35rem;
  font-size: .86rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.cookie-consent-text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted);
}
.cookie-consent-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 4;
}
.cookie-consent-btn {
  appearance: none;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  min-width: 152px;
  padding: .82rem 1rem;
  font-size: .73rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.cookie-consent-btn:hover {
  border-color: rgba(17,17,17,.2);
}
.cookie-consent-btn--primary {
  background: #111;
  color: #fafafa;
  border-color: #111;
}
.cookie-consent-btn--ghost {
  background: rgba(255,255,255,.7);
}
.cookie-login-disabled {
  position: relative;
  color: rgba(17,17,17,.34) !important;
  cursor: not-allowed !important;
}
.cookie-login-disabled::before {
  content: attr(data-cookie-tooltip);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, 70vw);
  padding: .7rem .8rem;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
  box-shadow: 0 20px 48px rgba(17,17,17,.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 20;
}
.cookie-login-disabled:hover::before,
.cookie-login-disabled:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}
.nav-links a.cookie-login-disabled::after {
  opacity: 0 !important;
  transform: none !important;
}
@keyframes cookieFlash {
  0% { opacity: 0; transform: scale(.55); }
  32% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}
@keyframes cookieShutterFlash {
  0% {
    opacity: 0;
    transform: scale(.48) rotate(-16deg);
    filter: blur(0);
  }
  34% {
    opacity: .95;
    transform: scale(.98) rotate(12deg);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.18) rotate(24deg);
    filter: blur(.8px);
  }
}
@keyframes cookiePhotoGloss {
  0% { opacity: 0; }
  16% { opacity: .08; }
  32% { opacity: .3; }
  100% { opacity: .12; }
}
@keyframes cookieCardFlip {
  0% {
    transform: rotateY(0deg) rotateZ(0deg) scale(1);
  }
  12% {
    transform: rotateY(-10deg) rotateZ(-1.5deg) scale(.995);
  }
  30% {
    transform: rotateY(-92deg) rotateZ(-5deg) scale(.965);
  }
  48% {
    transform: rotateY(-180deg) rotateZ(-7deg) scale(.95);
  }
  62% {
    transform: rotateY(-180deg) rotateZ(-6deg) scale(.95);
  }
  100% {
    transform: rotateY(-180deg) rotateZ(-2deg) scale(.9);
  }
}
@keyframes cookieCardThrow {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  48% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  72% {
    transform: translate3d(118px, -26px, 0) rotate(7deg) scale(.74);
    opacity: .94;
    filter: blur(.15px);
  }
  100% {
    transform: translate3d(332px, -118px, 0) rotate(17deg) scale(.42);
    opacity: 0;
    filter: blur(.95px);
  }
}
@keyframes cookieConsentFade {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}
@media (max-width: 767px) {
  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .cookie-consent-card {
    width: calc(100vw - 28px);
    border-radius: 18px;
  }
  .cookie-consent-inner {
    border-radius: 18px;
  }
  .cookie-consent-face--front {
    grid-template-columns: 1fr;
    gap: .9rem;
    padding: 1rem;
  }
  .cookie-consent-actions {
    justify-content: stretch;
  }
  .cookie-consent-btn {
    width: 100%;
  }
  .cookie-login-disabled::before {
    right: auto;
    left: 0;
    width: min(260px, 78vw);
  }
}

.lang-toggle {
  display: flex; align-items: center;
  border: 0;
  border-radius: 0;
  overflow: visible;
  gap: .25rem;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  padding: 4px 6px;
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--muted); transition: color 0.15s;
  text-decoration: none; display: inline-block;
}
.lang-btn.active { color: var(--ink); }
.lang-sep { color: rgba(17,17,17,.18); font-size: 0.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  border-radius: 0;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--muted);
  margin-right: .35rem;
}
.nav-home-link:hover,
.nav-home-link.active {
  color: var(--ink);
}
.nav-home-link::after {
  display: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .2em;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity .18s, transform .18s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: .45;
  transform: scaleX(1);
}
.nav-title {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: min(32vw, 480px);
  pointer-events: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  text-align: center;
  background: rgba(250,250,250,.94);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 10px 30px rgba(17,17,17,.05);
  border-radius: 999px;
  padding: .58rem 1rem;
}
.nav-title-link,
.nav-title-current {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.nav-title-link:hover {
  color: var(--muted);
}
.nav-title-sep {
  color: rgba(17,17,17,.2);
  font-size: .8rem;
  letter-spacing: 0;
  transform: translateY(-1px);
}
.nav-right {
  flex-shrink: 0;
  justify-self: end;
  grid-column: 3;
  position: relative;
  z-index: 2;
  gap: 1rem;
}
.nav-auth-group {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding-right: 1rem;
  margin-right: .05rem;
  border-right: 1px solid rgba(17,17,17,.14);
}
.nav-account-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-account-link:hover,
.nav-account-link.active {
  color: var(--ink);
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-pill.primary {
  color: var(--ink);
}
.nav-pill:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 575px) {
  .lang-btn { padding: 4px 8px; letter-spacing: .2em; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-mp {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px;
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-mp:hover { background: var(--ink); color: var(--bone); }
.btn-mp:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-mp-pill {
  border-radius: 999px;
  padding: 12px 28px;
  box-shadow: none;
}
.btn-mp-primary {
  background: var(--ink);
  color: var(--bone);
}
.btn-mp-primary:hover {
  background: #000;
  color: var(--bone);
}
.btn-mp-secondary {
  background: rgba(255,255,255,.7);
  border-color: rgba(17,17,17,.14);
  color: var(--ink);
}
.btn-mp-secondary:hover {
  background: rgba(17,17,17,.06);
  color: var(--ink);
}
.btn-mp-unavailable,
.btn-mp-unavailable:hover,
.btn-mp-unavailable:disabled {
  background: #e3e3e0;
  border-color: #d1d1cc;
  color: #77776f;
  cursor: not-allowed;
  opacity: 1;
}

/* ── Cards / Images ───────────────────────────────────────────── */
.mp-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  cursor: pointer;
  isolation: isolate;
}
.mp-card img.card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  /* no transform here — zoom is on .mp-card-inner */
  transition: opacity 1s ease;
}
/* Zoom layer — wraps all .card-img elements, scales together */
.mp-card-inner {
  position: absolute; inset: 0;
  z-index: 0;
  transform: scale(1);
  transform-origin: 55% 45%;
  transition: transform 7s cubic-bezier(0.22,1,0.36,1), filter 1.4s ease;
  will-change: transform;
}
.mp-card:hover .mp-card-inner {
  transform: scale(1.12) translate(-1.5%, -1%);
  filter: saturate(1.06);
}
/* hover state override removed from individual img */
.mp-card:hover img.card-img { transform: none; filter: none; }
/* ── Card gradient — semi-transparent, fades to nothing at top ─── */
/* CHECKPOINT category-card-overlay-20260530: revert this block to the previous single linear-gradient if needed. */
.mp-card .card-gradient {
  position: absolute; left: 0; right: 0; bottom: 0; height: 82%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 0% 100%,
      rgba(0,0,0,0.40) 0%,
      rgba(0,0,0,0.26) 24%,
      rgba(0,0,0,0.10) 44%,
      transparent 66%),
    linear-gradient(to top,
      rgba(0,0,0,0.32) 0%,
      rgba(0,0,0,0.18) 24%,
      rgba(0,0,0,0.07) 48%,
      rgba(0,0,0,0.02) 70%,
      transparent 100%),
    radial-gradient(ellipse at 20% 100%,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.08) 38%,
      transparent 64%);
  filter: blur(.22px);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mp-card:hover .card-gradient {
  opacity: 0.95;
}
#categories .mp-card .card-gradient {
  right: auto;
  width: min(68%, 600px);
  height: 62%;
  background:
    radial-gradient(ellipse at 0% 100%,
      rgba(0,0,0,0.64) 0%,
      rgba(0,0,0,0.46) 24%,
      rgba(0,0,0,0.22) 43%,
      rgba(0,0,0,0.07) 58%,
      transparent 74%);
  filter: blur(.25px);
}

/* ── Card body — flex column, content pinned to bottom ────────── */
.mp-card .card-body {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

/* ── Distance badge — solid pill, readable, not shouting ─────── */
.card-badge {
  display: inline-flex; align-items: center; gap: 4px;
  align-self: flex-start;                /* don't stretch full width */
  padding: 3px 9px 3px 7px;
  font-size: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 0.5rem;
  transition: background 0.25s;
}
.mp-card:hover .card-badge {
  background: rgba(0,0,0,0.58);
}

/* ── Bottom row: name left, Explore right ─────────────────────── */
.card-bottom-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem;
}

/* ── Explore → — quiet, brightens on hover ────────────────────── */
.card-explore-btn {
  flex-shrink: 0;
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.26em;
  color: rgba(255,255,255,0.60);
  white-space: nowrap;
  pointer-events: none;
  align-self: flex-end;
  margin-bottom: 2px;
  transition: color 0.25s, letter-spacing 0.25s;
}
.mp-card:hover .card-explore-btn {
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.32em;
}

#categories .card-bottom-row > div {
  flex: 1 1 auto;
  min-width: 0;
}
.location-card-title {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  line-height: 1.18;
  margin: 0 0 .1rem;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-card-action-row {
  display: block;
  position: relative;
  width: 100%;
}
.location-card-copy {
  margin-left: -.12rem;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.location-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  position: static;
  text-align: right;
}
.location-distance-badge {
  position: absolute;
  top: 1.05rem;
  left: 1.25rem;
  align-self: auto;
  margin: 0;
  color: rgba(255,255,255,.84);
  background: rgba(18,18,18,.24);
  border-color: rgba(255,255,255,.04);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  text-shadow: 0 1px 2px rgba(0,0,0,.42);
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
}
.mp-card:hover .location-distance-badge {
  background: rgba(18,18,18,.30);
}
.location-card-meta .card-explore-btn {
  position: absolute;
  right: 0;
  bottom: .06rem;
}
.location-card-blurb {
  flex: 1 1 auto;
  margin: 0;
  padding-right: 8.25rem;
  padding-left: .18rem;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.56);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.genre-card-title {
  color: #fff;
  font-size: 3rem;
  line-height: 1.05;
  margin: 0;
  white-space: nowrap;
}
.genre-card-blurb {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin: .5rem 0 0;
  max-width: 420px;
}
#categories [data-testid="genre-card-commercial"] .genre-card-title {
  font-size: 2.65rem;
}
@media (max-width: 1200px) {
  .genre-card-title {
    font-size: 2.65rem;
  }
  #categories [data-testid="genre-card-commercial"] .genre-card-title {
    font-size: 2.35rem;
  }
}
@media (max-width: 992px) {
  .genre-card-title {
    font-size: 2.25rem;
  }
  #categories [data-testid="genre-card-commercial"] .genre-card-title {
    font-size: 2.05rem;
  }
}
@media (max-width: 768px) {
  .genre-card-title {
    font-size: 2rem;
  }
  #categories [data-testid="genre-card-commercial"] .genre-card-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 420px) {
  #categories .card-bottom-row {
    gap: .65rem;
  }
  .genre-card-title,
  #categories [data-testid="genre-card-commercial"] .genre-card-title {
    font-size: 1.45rem;
  }
  #categories .card-explore-btn {
    font-size: .52rem;
    letter-spacing: .16em;
  }
  #categories .mp-card:hover .card-explore-btn {
    letter-spacing: .18em;
  }
}
/* Shimmer on hover */
.mp-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
.mp-card:hover::after { opacity: 1; animation: shimmer 2.4s ease-in-out infinite; }

@keyframes shimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}

/* Alive-breathe for static cards */
.alive-img {
  animation: alive-breathe 32s ease-in-out infinite;
  transform-origin: 55% 45%;
}
@keyframes alive-breathe {
  0%   { transform: scale(1.00) translate(0%,0%); }
  25%  { transform: scale(1.018) translate(-0.6%,-0.3%); }
  50%  { transform: scale(1.03) translate(-1.1%,-0.6%); }
  75%  { transform: scale(1.018) translate(-0.4%,-0.4%); }
  100% { transform: scale(1.00) translate(0%,0%); }
}

/* ── Bento grid ───────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } }

/* Location grid — alternating big/small rows */
.bento-7 { grid-column: span 7; height: 380px; }
.bento-6 { grid-column: span 6; height: 380px; }
.bento-5 { grid-column: span 5; height: 380px; }
.bento-4 { grid-column: span 4; height: 380px; }
.bento-3 { grid-column: span 3; height: 380px; }

/* Genre grid — same spans, taller */
.bento-g7 { grid-column: span 7; height: 480px; }
.bento-g5 { grid-column: span 5; height: 480px; }

@media (max-width: 768px) {
  .bento-7, .bento-6, .bento-5, .bento-4, .bento-3,
  .bento-g7, .bento-g5 {
    grid-column: span 1; height: 300px;
  }
}

/* ── Catalog pages: location / genre ───────────────────────────── */
.catalog-page {
  padding-top: 0;
  padding-bottom: 5rem;
  overflow-x: clip;
}
.catalog-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -64px;
  padding-top: 64px;
  min-height: clamp(34rem, 78vh, 56rem);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  background: #fff;
  isolation: isolate;
  background-image:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.97) 10%,
      rgba(255,255,255,.72) 20%,
      rgba(255,255,255,.26) 31%,
      rgba(255,255,255,.10) 40%,
      rgba(255,255,255,.10) 60%,
      rgba(255,255,255,.26) 69%,
      rgba(255,255,255,.72) 80%,
      rgba(255,255,255,.97) 90%,
      rgba(255,255,255,1) 100%);
}
.catalog-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}
.catalog-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding-right: 1rem;
  color: var(--ink);
}
.catalog-hero-no-image {
  min-height: clamp(28rem, 68vh, 48rem);
}
.catalog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1920px);
  transform: translateX(-50%) scale(1.04);
  background-image:
    linear-gradient(to bottom,
      rgba(255,255,255,.03) 0%,
      rgba(255,255,255,.14) 38%,
      rgba(255,255,255,.48) 75%,
      rgba(255,255,255,.94) 100%),
    var(--hero-image, none);
  background-size: cover, cover;
  background-position: center center, center 56%;
  background-repeat: no-repeat;
  filter: saturate(.62) brightness(1.03) contrast(.92);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.18) 6%,
    rgba(0,0,0,.72) 14%,
    #000 24%,
    #000 76%,
    rgba(0,0,0,.72) 86%,
    rgba(0,0,0,.18) 94%,
    transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.18) 6%,
    rgba(0,0,0,.72) 14%,
    #000 24%,
    #000 76%,
    rgba(0,0,0,.72) 86%,
    rgba(0,0,0,.18) 94%,
    transparent 100%);
}
.catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 9%,
      rgba(255,255,255,.82) 17%,
      rgba(255,255,255,.42) 25%,
      rgba(255,255,255,.10) 35%,
      transparent 43%,
      transparent 57%,
      rgba(255,255,255,.10) 65%,
      rgba(255,255,255,.42) 75%,
      rgba(255,255,255,.82) 83%,
      rgba(255,255,255,.98) 91%,
      rgba(255,255,255,1) 100%),
    radial-gradient(ellipse at 16% 18%, rgba(255,255,255,.58), transparent 32%),
    radial-gradient(ellipse at 84% 16%, rgba(255,255,255,.56), transparent 32%),
    linear-gradient(to bottom, transparent 58%, #fff 100%);
  pointer-events: none;
}
@media (min-width: 1800px) {
  .catalog-hero {
    background-image:
      linear-gradient(to right,
        rgba(250,250,250,1) 0%,
        rgba(250,250,250,.995) 12%,
        rgba(250,250,250,.92) 19%,
        rgba(250,250,250,.60) 27%,
        rgba(250,250,250,.20) 36%,
        rgba(250,250,250,.08) 43%,
        rgba(250,250,250,.08) 57%,
        rgba(250,250,250,.20) 64%,
        rgba(250,250,250,.60) 73%,
        rgba(250,250,250,.92) 81%,
        rgba(250,250,250,.995) 88%,
        rgba(250,250,250,1) 100%);
  }
  .catalog-hero::before {
    width: min(100%, 1760px);
    transform: translateX(-50%) scale(1.015);
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,.08) 5%,
      rgba(0,0,0,.42) 12%,
      rgba(0,0,0,.82) 20%,
      #000 29%,
      #000 71%,
      rgba(0,0,0,.82) 80%,
      rgba(0,0,0,.42) 88%,
      rgba(0,0,0,.08) 95%,
      transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,.08) 5%,
      rgba(0,0,0,.42) 12%,
      rgba(0,0,0,.82) 20%,
      #000 29%,
      #000 71%,
      rgba(0,0,0,.82) 80%,
      rgba(0,0,0,.42) 88%,
      rgba(0,0,0,.08) 95%,
      transparent 100%);
  }
  .catalog-hero::after {
    background:
      linear-gradient(to right,
        rgba(250,250,250,1) 0%,
        rgba(250,250,250,.998) 8%,
        rgba(250,250,250,.92) 15%,
        rgba(250,250,250,.68) 22%,
        rgba(250,250,250,.30) 30%,
        rgba(250,250,250,.08) 38%,
        transparent 45%,
        transparent 55%,
        rgba(250,250,250,.08) 62%,
        rgba(250,250,250,.30) 70%,
        rgba(250,250,250,.68) 78%,
        rgba(250,250,250,.92) 85%,
        rgba(250,250,250,.998) 92%,
        rgba(250,250,250,1) 100%),
      radial-gradient(ellipse at 13% 18%, rgba(250,250,250,.92), transparent 28%),
      radial-gradient(ellipse at 87% 18%, rgba(250,250,250,.92), transparent 28%),
      linear-gradient(to bottom, transparent 55%, #fafafa 100%);
  }
}
.catalog-hero .h-display {
  max-width: 12em;
  margin-top: .25rem;
  line-height: .88;
  letter-spacing: 0;
}
.catalog-lede {
  max-width: 34rem;
  margin-top: .9rem;
  color: rgba(17,17,17,.70);
  font-size: clamp(.95rem, 1vw, 1.05rem);
  line-height: 1.68;
}
.catalog-section {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.catalog-hero + .catalog-section {
  position: relative;
  margin-top: 0;
  padding-top: clamp(1.8rem, 3.8vw, 3.2rem);
}
.catalog-hero + .catalog-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(clamp(2.6rem, 5.5vw, 4.8rem) * -1);
  width: 100vw;
  height: clamp(9rem, 16vw, 15rem);
  transform: translateX(-50%);
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.80) 20%,
      rgba(255,255,255,1) 38%,
      rgba(253,253,253,.98) 58%,
      rgba(251,251,251,.99) 78%,
      var(--bone) 100%);
  pointer-events: none;
  z-index: 0;
}
.catalog-hero + .catalog-section > * {
  position: relative;
  z-index: 1;
}
.catalog-section-featured {
  margin-top: 0;
  padding: 0;
  background: transparent;
}
.catalog-section-more {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.catalog-section-genre .catalog-section-head {
}
.catalog-section-location .catalog-section-head {
  padding-right: clamp(0rem, 6vw, 4rem);
}
.catalog-section-head {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: .15rem;
  padding-bottom: 0;
  border-bottom: none;
}
.catalog-section-head h2 {
  margin: .2rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: .9;
  font-style: italic;
}
.catalog-section-note {
  margin: .55rem 0 0;
  width: 100%;
  flex-basis: 100%;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 992px) {
  .catalog-hero {
    min-height: clamp(30rem, 68vh, 48rem);
  }
}
@media (max-width: 640px) {
  .catalog-page {
    padding-top: 0;
  }
  .catalog-hero {
    min-height: clamp(28rem, 62vh, 42rem);
    padding-bottom: 2.4rem;
  }
  .catalog-hero-inner {
    padding: 0 1.5rem;
  }
  .catalog-section-head {
    align-items: start;
    flex-direction: column;
  }
  .catalog-section-note {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}
@media (min-width: 1921px) {
  .catalog-hero::before {
    width: 1920px;
  }
  .catalog-hero::after {
    background:
      linear-gradient(to right,
        rgba(250,250,250,1) 0%,
        rgba(250,250,250,.72) 10%,
        transparent 24%,
        transparent 76%,
        rgba(250,250,250,.72) 90%,
        rgba(250,250,250,1) 100%),
      radial-gradient(ellipse at 18% 18%, rgba(250,250,250,.44), transparent 34%),
      radial-gradient(ellipse at 82% 16%, rgba(250,250,250,.38), transparent 35%),
      linear-gradient(to bottom, transparent 58%, #fafafa 100%);
  }
}

/* ── Photo strip (horizontal scroll) — photographer profile ─────── */
.photo-strip {
  display: flex; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 3rem 1rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(17,17,17,.18) transparent;
}
.photo-strip::-webkit-scrollbar { height: 3px; }
.photo-strip::-webkit-scrollbar-track { background: transparent; }
.photo-strip::-webkit-scrollbar-thumb { background: rgba(17,17,17,.18); border-radius: 99px; }
.photo-strip-item {
  flex-shrink: 0; scroll-snap-align: start;
  width: 280px; aspect-ratio: 2/3;
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--sand);
  cursor: pointer;
}
.photo-strip-item--wide {
  width: 360px;
  aspect-ratio: 4/3;
}
.photo-share-mode .photo-strip-item.is-selected,
.photo-share-mode .profile-gallery-item.is-selected {
  outline: 0;
  outline-offset: 0;
}
.photo-select-toggle {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
  opacity: 0;
  pointer-events: none;
}
.photo-select-toggle span {
  font-size: .8rem;
  line-height: 1;
  transform: translateY(-1px);
}
.photo-select-toggle:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,.95);
}
.photo-share-mode .photo-select-toggle {
  opacity: 1;
  pointer-events: auto;
}
.photo-share-mode .photo-strip-item.is-selected .photo-select-toggle,
.photo-share-mode .profile-gallery-item.is-selected .photo-select-toggle {
  background: var(--ink);
  color: var(--bone);
  border-color: transparent;
}
.photo-strip-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22,1,0.36,1);
}
.photo-strip-item:hover img { transform: scale(1.06); }

/* ── Portfolio strip wrapper — self-contained per photographer ── */
.portfolio-strip-wrap {
  position: relative;
  overflow: hidden; /* ensures strip never bleeds into adjacent rows */
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
          mask-image: linear-gradient(to right, black 85%, transparent 100%);
  width: 100%;
}

/* Photographer row portfolio strip */
.portfolio-strip {
  display: flex; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(17,17,17,.15) transparent;
}
.portfolio-strip::-webkit-scrollbar { height: 3px; }
.portfolio-strip::-webkit-scrollbar-track { background: transparent; }
.portfolio-strip::-webkit-scrollbar-thumb { background: rgba(17,17,17,.15); border-radius: 99px; }
.portfolio-thumb {
  flex-shrink: 0; scroll-snap-align: start;
  width: 248px; aspect-ratio: 5/6;
  position: relative; overflow: hidden;
  border-radius: 16px; background: var(--sand);
  box-shadow: 0 3px 10px rgba(17,17,17,.045);
  cursor: pointer;
  transition:
    width .22s ease,
    box-shadow .22s ease,
    opacity .18s ease,
    transform .18s ease;
}
.portfolio-thumb--portrait {
  width: 248px;
  aspect-ratio: 5/6;
}
/* Double-wide feature tile — landscape proportion */
.portfolio-thumb--wide {
  width: 360px; aspect-ratio: 4/3;
}
.portfolio-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.22,1,0.36,1), filter 1400ms cubic-bezier(0.22,1,0.36,1);
  transform: scale(1.07) translate3d(0, 0, 0);
  transform-origin: center center;
  filter: saturate(.96) brightness(.98);
}
.portfolio-thumb:hover img {
  transform: scale(1.08) translate3d(-6px, -1px, 0);
  filter: saturate(1.02) brightness(1.01);
}
.portfolio-thumb:nth-child(even):hover img {
  transform: scale(1.08) translate3d(5px, -1px, 0);
}
.portfolio-thumb--wide:hover img {
  transform: scale(1.075) translate3d(-7px, -1px, 0);
}
.portfolio-thumb--wide:nth-child(even):hover img {
  transform: scale(1.075) translate3d(6px, 0, 0);
}
.portfolio-thumb::after {
  content: '';
  position: absolute; inset-x: 0; bottom: 0; height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
  transition: opacity 1200ms cubic-bezier(0.22,1,0.36,1);
}
.portfolio-thumb:hover::after {
  opacity: .72;
}

/* ── Photographer row ─────────────────────────────────────────── */
.photographer-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(17,17,17,0.07);
  align-items: stretch;
  /* critical: prevent right col from expanding past viewport */
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 992px) { .photographer-row { grid-template-columns: 1fr; } }

.photog-meta {
  position: relative;
  top: auto;
  align-self: stretch;
  height: 100%;
  display: flex;
  padding-bottom: 8px;
}
.photog-meta-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,250,247,.94)),
    radial-gradient(circle at top right, rgba(169,145,109,.10), transparent 34%);
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1rem;
  overflow: visible;
  box-shadow: 0 6px 18px rgba(17,17,17,.035);
  backdrop-filter: blur(12px);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.photog-gallery {
  min-width: 0;
  width: 100%;
  display: flex;
}
.photog-gallery-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: .05rem 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media (min-width: 1600px) {
  .catalog-section .photographer-row {
    overflow: visible;
  }
  .catalog-section .photog-gallery {
    width: calc(100% + ((100vw - 1440px) / 2));
  }
  .catalog-section .portfolio-strip-wrap {
    -webkit-mask-image: linear-gradient(to right, black 92%, transparent 100%);
            mask-image: linear-gradient(to right, black 92%, transparent 100%);
  }
}
@media (min-width: 1921px) {
  .catalog-section .photog-gallery {
    width: calc(100% + ((100vw - 1440px) / 2));
  }
}
.photog-topline {
  display: block;
  margin-bottom: .9rem;
}
.photog-titleblock {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.photog-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}
.photog-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.95rem, 2.45vw, 2.55rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.028em;
  line-height: .92;
  margin: 0;
}
.photog-city {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  margin-top: 0;
  color: #7f7468;
  font-size: .58rem;
  letter-spacing: .22em;
}
.photog-city-icon {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  opacity: .72;
}
.photog-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .28rem;
  margin-left: auto;
  text-align: right;
}
.photog-price-label {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #8d8378;
}
.photog-price-amount {
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--ink);
}
.photog-rule {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(17,17,17,.34), rgba(17,17,17,.08));
}
.photog-tagline {
  font-size: .88rem;
  line-height: 1.52;
  color: #756d66;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  max-height: calc(1.52em * 3);
}
.photog-info-hints {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .1rem;
}
.photog-info-hints--paired .photog-info-chip {
  flex: 1 1 0;
  justify-content: center;
}
.photog-info-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  min-height: 24px;
  padding: .2rem .45rem;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #82776c;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: help;
  outline: none;
  isolation: isolate;
}
.photog-info-chip--align-right {
  position: static;
}
.photog-info-chip svg {
  flex: 0 0 auto;
  opacity: .78;
}
.photog-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(300px, 42vw);
  max-width: min(300px, calc(100vw - 3rem));
  min-width: 200px;
  padding: .7rem .8rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  color: #262320;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  box-shadow: 0 14px 34px rgba(17,17,17,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 8;
}
.photog-tooltip br {
  display: block;
  content: "";
  margin-top: .3rem;
}
.photog-tooltip--align-right {
  left: auto;
  right: 0;
  width: min(240px, calc(100% - .5rem));
  min-width: 0;
  text-align: left;
}
.photog-tooltip::before {
  content: "";
  position: absolute;
  left: 16px;
  top: calc(100% - 5px);
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(17,17,17,.08);
  border-bottom: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.98);
  transform: translateY(6px) rotate(45deg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
  z-index: 7;
}
.photog-tooltip--align-right::before {
  left: auto;
  right: 34px;
}
.photog-info-chip:hover .photog-tooltip,
.photog-info-chip:focus-visible .photog-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.photog-info-chip:hover .photog-tooltip::before,
.photog-info-chip:focus-visible .photog-tooltip::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(45deg);
}
.photog-info-chip:hover,
.photog-info-chip:focus-visible {
  border-color: rgba(17,17,17,.18);
  background: rgba(255,255,255,.98);
}
.photog-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: auto;
}
.photog-actions .btn-mp {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}
.photog-actions .btn-mp-primary {
  letter-spacing: .18em;
}
.photog-actions .btn-mp-secondary,
.photog-actions .btn-mp-unavailable {
  background: linear-gradient(180deg, rgba(247,246,242,.96), rgba(238,235,228,.96));
  border-color: rgba(17,17,17,.10);
  color: #7a7064;
}

.catalog-section-head {
  display: block;
  text-align: left;
  margin-bottom: 1.25rem;
}
.catalog-section-head > div {
  width: 100%;
  min-width: 0;
}
.catalog-section-head .kicker,
.catalog-section-head h2,
.catalog-section-head p,
.catalog-section-note {
  text-align: left;
}
@media (max-width: 992px) {
  .catalog-section-head { margin-bottom: 1rem; }
  .photog-gallery-card { padding: .95rem; }
}

/* ── Lead form sidebar ────────────────────────────────────────── */
#lead-offcanvas .offcanvas-body { padding: 0; display: flex; flex-direction: column; }
#lead-offcanvas .offcanvas { width: 520px !important; max-width: 100vw; background: var(--bone); }
#lead-offcanvas {
  min-height: 0;
}
#lead-offcanvas > div:first-child {
  flex: 0 0 auto;
  padding: .78rem 1.15rem .62rem !important;
}
#lead-offcanvas > div:first-child .kicker {
  font-size: .58rem;
}
#lf-photog-name {
  font-size: 1.28rem !important;
}
#lf-photog-tagline {
  font-size: .72rem !important;
}
.lead-header { padding: 2.5rem 2rem 1.25rem; border-bottom: 1px solid var(--line); }
.lead-body { flex: 1; min-height: 0; overflow-y: auto; padding: 1.5rem 2rem; }
#lf-form {
  min-height: 0;
  overflow-y: auto !important;
  padding: .72rem 1.15rem .7rem !important;
  gap: .5rem .7rem !important;
  scrollbar-width: thin;
}
#lead-offcanvas > div:last-child {
  flex: 0 0 auto;
  padding: .62rem 1.15rem !important;
}
.lf-name-field {
  grid-column: 1 / -1 !important;
}
.lf-contact-method-field {
  grid-column: 1 / 2 !important;
  align-self: stretch;
}
.lead-footer { padding: 1.25rem 2rem; border-top: 1px solid var(--line); background: var(--bone); }
.lead-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); display: block; margin-bottom: 0.34rem; }
.form-control:focus, .form-select:focus { border-color: rgba(17,17,17,0.4); box-shadow: 0 0 0 2px rgba(17,17,17,0.1); }
.lf-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .28rem;
  height: 2.45rem;
  padding: .18rem;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.lf-contact-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0 .38rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.lf-contact-option.is-active {
  background: var(--ink);
  color: var(--bone);
}
.lf-contact-option:disabled,
.lf-contact-option.is-disabled {
  cursor: not-allowed;
  opacity: .34;
}
#lf-phone-wrap .iti {
  width: 100%;
}
#lf-phone-wrap .iti__tel-input,
#lf-phone-wrap .iti input {
  width: 100%;
  border-color: rgba(17,17,17,.18);
}
.lf-contact-detail {
  grid-column: 2 / 3;
  min-height: 0;
  align-self: end;
}
.lf-contact-group-title {
  grid-column: 1 / -1 !important;
  margin-bottom: -.46rem;
}
.lf-contact-group-title .lead-label {
  margin-bottom: 0;
}
.lf-contact-detail > div {
  width: 100%;
  min-width: 0;
}
.lf-contact-detail .form-control,
.lf-contact-detail .iti {
  max-width: none;
}
.lf-contact-detail .lead-label {
  display: none;
}
.lf-contact-detail input.form-control,
#lf-phone-wrap .iti__tel-input,
#lf-phone-wrap .iti input {
  height: 2.45rem;
  min-height: 2.45rem;
}
.lf-contact-hint {
  display: none;
}
.lf-field-error {
  min-height: 0;
  margin-top: .14rem;
  font-size: .72rem;
}
.lf-include-question-check {
  margin-top: 0;
  width: 100%;
  min-height: auto;
  padding: .06rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  white-space: normal;
  color: var(--muted);
  font-size: .78rem;
}
.lf-message-block {
  grid-column: 1 / -1;
  display: grid;
  gap: .45rem;
}
.lf-message-block textarea {
  min-height: 7.2rem;
  resize: vertical;
  line-height: 1.55;
}
.lf-date-range-field {
  margin: .52rem 0 .5rem;
}
.lf-date-range-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: .34rem;
  align-items: center;
  padding: .34rem;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
}
.lf-date-range-control input {
  border-color: rgba(17,17,17,.18);
  background: #fff;
}
.lf-date-mode-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: .16rem;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  white-space: nowrap;
}
.lf-date-mode-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  min-height: 2.05rem;
  padding: 0 .58rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.lf-date-mode-switch button.is-active {
  background: var(--ink);
  color: var(--bone);
}
.lf-date-range-control[data-mode="specific"] #lf-date-to {
  display: none;
}
.lf-date-range-control[data-mode="specific"] {
  grid-template-columns: auto minmax(0, 1fr);
}
.lf-when-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .52rem;
  align-items: end;
}
.lf-when-grid .chip-row,
.lf-time-options {
  flex-wrap: nowrap;
  gap: .32rem;
  overflow-x: auto;
  padding-bottom: .1rem;
  scrollbar-width: thin;
}
.lf-weekday-field {
  display: none;
}
.lf-weekday-field.is-visible {
  display: block;
}
.lf-time-options .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding-inline: .8rem;
  letter-spacing: .06em;
  font-weight: 800;
}
.lf-weekday-field > div:first-child,
.lf-time-field > div:first-child {
  margin-bottom: .35rem !important;
  color: var(--ink) !important;
  font-size: .72rem !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lf-captcha-picture {
  display: flex;
  align-items: center;
  gap: .45rem;
  user-select: none;
}
.lf-captcha-block {
  min-width: 0;
  padding: .42rem .48rem;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: var(--radius);
  background: #fff;
}
.lf-action-panel {
  display: grid;
  gap: .52rem;
  padding: .62rem .75rem;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 10px;
  background: #fff;
}
.lf-response-consent {
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: .82rem;
}
.lf-response-consent span {
  max-width: 44rem;
}
.lf-action-error {
  min-height: .35rem;
  margin-top: .24rem;
  font-size: .72rem;
}
.lf-captcha-label {
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lf-captcha-img {
  width: 7rem;
  height: 2rem;
  border-radius: 0;
  flex: 0 0 auto;
  pointer-events: none;
}
.lf-footer-row {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr);
  gap: .6rem;
  align-items: start;
}
.lf-footer-row .btn-mp {
  width: 100%;
  min-height: calc(2rem + .84rem + 2px);
  height: calc(2rem + .84rem + 2px);
  justify-content: center;
  align-self: start;
}
.lf-footer-row .btn-mp:disabled {
  cursor: not-allowed;
  opacity: .48;
}
#lf-captcha {
  height: 2rem;
  min-height: 2rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.lf-copy-check {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}
.lf-copy-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
  flex: 0 0 20px;
}
.lf-response-consent.lf-copy-check {
  font-size: .86rem;
  line-height: 1.35;
}

/* Lead drawer: final balanced layout */
#lead-offcanvas {
  width: min(680px, 100vw) !important;
}
#lead-offcanvas > div:first-child {
  padding: .9rem 1.25rem .72rem !important;
}
#lf-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: .82rem .9rem !important;
  padding: 1rem 1.25rem .95rem !important;
}
#lf-form .form-control,
#lf-form .form-select,
#lf-form input[type="date"] {
  min-height: 44px;
  border-radius: 11px;
  background: #fff;
}
.lf-name-field,
.lf-contact-group-title,
.lf-contact-method-field,
.lf-contact-detail {
  align-self: stretch;
}
.lf-name-field {
  grid-column: 1 / -1 !important;
}
.lf-contact-method-field {
  grid-column: 1 / 2 !important;
}
.lf-contact-detail {
  grid-column: 2 / 3 !important;
  display: grid;
  gap: .35rem;
  align-items: start;
}
.lf-contact-detail > div {
  width: 100%;
}
.lf-contact-detail .lead-label,
.lf-contact-hint {
  display: none !important;
}
.lf-contact-methods {
  min-height: 44px;
  height: 44px;
}
.lf-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 11px;
  background: #fff;
}
.lf-contact-option {
  border-radius: 8px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.lf-include-question-check {
  width: 100%;
  min-height: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  padding: .05rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
}
.lf-message-block {
  grid-column: 1 / -1 !important;
}
.lf-message-block textarea {
  min-height: 118px;
}
#lf-when-section,
#lf-packages-section {
  grid-column: 1 / -1 !important;
  border-top: 1px solid rgba(17,17,17,.08) !important;
  padding-top: .85rem !important;
}
#lf-when-section > .lead-label {
  margin-bottom: .6rem;
}
.lf-date-range-field {
  margin: 0 0 .62rem;
}
.lf-date-range-control {
  min-height: 48px;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
}
.lf-date-mode-switch {
  align-self: stretch;
  border: 0;
  background: rgba(17,17,17,.045);
  border-radius: 9px;
}
.lf-date-mode-switch button {
  min-height: 38px;
  border-radius: 8px;
}
.lf-when-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .62rem;
}
.lf-weekday-field > div:first-child,
.lf-time-field > div:first-child {
  font-size: .76rem !important;
  letter-spacing: .06em;
  margin-bottom: .42rem !important;
}
.lf-when-grid .chip-row,
.lf-time-options {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  overflow: visible;
}
.chip {
  min-height: 34px;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: #fff;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .07em;
}
.lf-time-options .chip {
  min-height: 36px;
}
#lead-offcanvas > div:last-child {
  padding: .85rem 1.25rem 1rem !important;
  border-top: 1px solid rgba(17,17,17,.08) !important;
  background: var(--bone) !important;
}
.lf-action-panel {
  display: grid;
  gap: .58rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.lf-footer-row {
  grid-template-columns: minmax(220px, auto) minmax(220px, 1fr);
  gap: .72rem;
  align-items: start;
}
.lf-response-consent.lf-copy-check {
  align-items: flex-start;
  gap: .55rem;
  font-size: .9rem;
  line-height: 1.42;
  white-space: pre-line;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: auto;
  height: auto;
}
.lf-response-consent.lf-copy-check input {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
  margin-top: .04rem;
}
@media (max-width: 640px) {
  #lf-form,
  .lf-date-range-control,
  .lf-footer-row {
    grid-template-columns: 1fr !important;
  }
  .lf-name-field,
  .lf-contact-group-title,
  .lf-contact-method-field,
  .lf-contact-detail {
    grid-column: 1 / -1 !important;
  }
  .lf-footer-row {
    gap: .55rem;
  }
}
body.photo-share-mode #lead-offcanvas .lead-body {
  overflow-y: auto !important;
}
body.photo-share-mode #lf-form {
  gap: .5rem .7rem !important;
}
body.photo-share-mode #lf-email-wrap {
  grid-column: 1 / -1 !important;
}
body.photo-share-mode #lf-question-note {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .38rem .55rem;
  align-items: center;
  margin-top: .5rem !important;
  padding: .52rem .62rem !important;
  font-size: .7rem !important;
}
body.photo-share-mode #lf-question-note #lf-select-photos-btn {
  padding: .42rem .62rem !important;
  border-radius: 10px !important;
  font-size: .58rem !important;
  letter-spacing: .12em !important;
}
body.photo-share-mode #lf-question-note > #lf-selected-wrap {
  grid-column: 1 / -1;
}
body.photo-share-mode #lf-question-note:not(.has-selected-photos) > #lf-selected-wrap {
  display: none !important;
}
@media (max-width: 640px) {
  #lf-form {
    grid-template-columns: 1fr !important;
  }
  #lf-form > div,
  .lf-name-field,
  .lf-contact-group-title,
  .lf-contact-method-field,
  #lf-phone-wrap,
  #lf-email-wrap,
  .lf-contact-detail,
  #lf-form [data-lead-message-block],
  .lf-when-grid {
    grid-column: 1 / -1 !important;
  }
  .lf-when-grid,
  .lf-date-range-control {
    grid-template-columns: 1fr;
  }
  .lf-contact-detail {
    grid-template-columns: 1fr;
    grid-column: 1 / -1 !important;
  }
  .lf-include-question-check {
    min-height: 0;
    white-space: normal;
  }
  .lf-date-range-control span {
    display: none;
  }
  .lf-copy-check {
    min-width: 0;
  }
  .lf-contact-option {
    flex: 1 1 auto;
  }
  #lead-offcanvas {
    width: 100vw !important;
  }
  .lf-captcha-picture {
    max-width: 100%;
    gap: .32rem;
  }
  .lf-captcha-img {
    width: 6.5rem;
    height: 2.1rem;
  }
  .lf-captcha-label {
    display: none;
  }
  .lf-action-panel {
    padding: 0;
  }
  .lf-footer-row {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .lf-captcha-picture {
    justify-content: space-between;
  }
}
/* Package radio cards */
.pkg-card {
  padding: 1rem 1.25rem; border: 1px solid rgba(17,17,17,0.12); border-radius: var(--radius);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
  margin-bottom: 0.5rem;
}
.pkg-card.selected { border-color: var(--ink); background: rgba(240,237,232,0.4); }
.pkg-card:hover:not(.selected) { border-color: rgba(17,17,17,0.35); }
.pkg-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; }
.pkg-price { font-size: 0.95rem; font-weight: 500; }
.pkg-delivers { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.pkg-empty-note {
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(17,17,17,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
}
.pkg-empty-title {
  font-size: 1.35rem;
  line-height: 1.05;
}
.pkg-empty-subtitle {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .78rem;
}

/* Chip pills (weekdays / time) */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 5px 14px; font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  border: 1px solid rgba(17,17,17,0.14); border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip:disabled,
.chip.is-disabled {
  cursor: not-allowed;
  opacity: .36;
  background: rgba(17,17,17,.03);
}

/* ── Lightbox ─────────────────────────────────────────────────── */
#mp-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(12,12,12,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
#mp-lightbox.open { opacity: 1; pointer-events: auto; }
#mp-lightbox img {
  max-height: 92vh; max-width: 94vw;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  /* ensure image itself is never dimmed */
  filter: none !important; opacity: 1 !important;
}
.lb-btn {
  position: absolute; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border-radius: 999px;
  color: #fff; border: none; cursor: pointer;
  transition: background 0.15s;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
#lb-close { top: 1.25rem; right: 1.25rem; }
#lb-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
#lb-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }
/* lb-counter removed */

/* ── Toast ────────────────────────────────────────────────────── */
#mp-toast-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9990; display: flex; flex-direction: column; gap: 0.5rem; }
.mp-toast {
  padding: 0.9rem 1.25rem; border-radius: var(--radius);
  font-size: 0.85rem; color: var(--bone);
  background: var(--ink); box-shadow: 0 8px 28px rgba(17,17,17,0.22);
  animation: toast-in 0.3s ease;
  max-width: 340px;
}
.mp-toast.error { background: #c0392b; }
@keyframes toast-in { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: none; } }

/* ── Inline CTA (photographer profile) ────────────────────────── */
#inline-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ── Skeleton ─────────────────────────────────────────────────── */
.skeleton { background: var(--line); border-radius: var(--radius); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* ── Dashboard / Forms ────────────────────────────────────────── */
.lead-row {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; background: var(--surface);
  display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 1.25rem;
  align-items: start;
}
@media (max-width: 768px) { .lead-row { grid-template-columns: 1fr; } }

@media (max-width: 992px) {
  .photog-meta { position: static; height: auto; }
  .photog-meta-card { padding: 1.1rem; }
  .photog-tagline { max-width: none; }
}

.photo-mode-tabs {
  display: flex;
  gap: .5rem;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}
.photo-mode-tabs a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.photo-mode-tabs a.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.dashboard-photo-sections { display: flex; flex-direction: column; gap: 1.5rem; }
.dashboard-photo-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}
.dashboard-photo-row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dashboard-photo-row-head h2 {
  font-size: 1.8rem;
  line-height: 1;
  margin: .25rem 0 0;
}
.dashboard-photo-add {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: min(340px, 100%);
}
.photo-upload-targets {
  min-width: 0;
}
.photo-target-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.photo-target-option {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  user-select: none;
}
.photo-target-option.primary {
  border-radius: var(--radius);
  color: var(--ink);
}
.photo-target-option input {
  margin: 0;
}
.dashboard-photo-empty {
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .85rem;
}
.photo-upload-batch-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: .95rem;
}
.photo-upload-batch-note {
  margin-top: .7rem;
  font-size: .75rem;
  color: var(--muted);
}
.upload-check-actions {
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.upload-check-action {
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .34rem .58rem;
  cursor: pointer;
}
.upload-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .5rem;
  max-height: 13.5rem;
  overflow: auto;
  padding-right: .15rem;
}
.upload-check-pill {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: .65rem .75rem;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.upload-check-pill:hover {
  border-color: rgba(17,17,17,.24);
  box-shadow: 0 6px 14px rgba(17,17,17,.05);
}
.upload-check-pill input {
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--ink);
}
.upload-check-pill span {
  display: block;
  font-size: .77rem;
  line-height: 1.3;
}
.upload-check-pill.is-partial {
  border-color: rgba(17,17,17,.28);
  background: rgba(17,17,17,.04);
}
@media (max-width: 900px) {
  .photo-upload-batch-panels {
    grid-template-columns: 1fr;
  }
  .upload-check-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
.dashboard-photo-strip {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scroll-snap-type: x mandatory;
}
.dashboard-photo-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: opacity .15s, transform .15s, box-shadow .15s;
}
.dashboard-photo-card.dragging {
  opacity: .5;
  transform: scale(.98);
  box-shadow: 0 10px 28px rgba(17,17,17,.12);
}
.dashboard-photo-thumb {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}
.dashboard-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dashboard-photo-hidden {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.52);
  color: #fff;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.dashboard-photo-controls { padding: .65rem; }
.dashboard-order-control {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: .35rem;
  align-items: center;
}
.dashboard-order-control button,
.dashboard-photo-actions button {
  border: 1px solid rgba(17,17,17,.14);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.dashboard-order-control button { height: 32px; letter-spacing: 0; font-size: .9rem; }
.dashboard-order-control input {
  width: 100%;
  height: 32px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: var(--radius);
  text-align: center;
  font-size: .75rem;
}
.dashboard-photo-actions {
  display: flex;
  gap: .35rem;
  margin-top: .5rem;
}
.dashboard-photo-actions button {
  flex: 1;
  padding: 5px 6px;
}
.dashboard-photo-actions button.danger {
  border-color: rgba(192,57,43,.35);
  color: #a93226;
}
.dashboard-photo-preview {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(10,10,10,.9);
}
.dashboard-photo-preview.open { display: flex; }
.dashboard-photo-preview img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
}
.dashboard-photo-preview button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
}
@media (max-width: 768px) {
  .dashboard-photo-form-grid { grid-template-columns: 1fr !important; }
  .dashboard-photo-row-head { align-items: stretch; flex-direction: column; }
  .dashboard-photo-add { min-width: 0; width: 100%; }
  .dashboard-photo-card { flex-basis: 170px; }
}

.status-badge {
  display: inline-block; padding: 2px 10px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; background: var(--line); color: var(--ink);
}
.status-badge.new { background: #111; color: #fafafa; }
.status-badge.converted { background: #d4edda; color: #155724; }

/* ── About section ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

/* ── Utility ──────────────────────────────────────────────────── */
.section-pad { padding: 6rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
