/* ============================================
   Golden Days Media - Photography Portfolio
   Dark, sophisticated theme
   ============================================ */

:root {
  --font-primary: 'Montserrat', sans-serif;
  --warm-sand: #F2E8D5;
  --golden-ember: #F29F05;
  --bg-dark: #1a1a1a;
  --bg-header: #1e1e1e;
  --bg-footer: #161616;
  --text-primary: #ffffff;
  --text-muted: #a0a0a0;
  --border-subtle: rgba(255, 255, 255, 0.15);
  --accent: #c9a962;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

body.home-page {
  overflow: hidden;
  height: 100vh;
  padding-bottom: 0;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: calc(70px + env(safe-area-inset-top, 0px));
  background: var(--bg-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 2rem 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

.nav-left {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 2.5rem;
  padding-right: 2rem;
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: 2.5rem;
  padding-left: 2rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: clamp(0.72rem, 2.8vw, 1.5rem);
  font-weight: 300;
  font-family: var(--font-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-sand);
  text-align: center;
  line-height: 1.15;
}

.logo-part1 {
  color: var(--warm-sand);
}

.logo-part2 {
  color: var(--golden-ember);
}

.nav {
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #c5a059;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.icon-btn:hover {
  opacity: 0.7;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
  display: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 480px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.hero-category {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.title-line {
  width: 60px;
  height: 1px;
  background: var(--text-primary);
  opacity: 0.8;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--text-primary);
  background: transparent;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
}

/* ============================================
   Page Hero Section
   ============================================ */

.page-hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 55vh, 520px);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-hero-title {
  font-size: clamp(1.75rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: clamp(0.04em, 0.1em + 0.2vw, 0.1em);
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.page-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.page-hero-tagline em {
  font-style: italic;
  color: #c5a059;
}

.page-hero-subtitle {
  font-size: clamp(0.55rem, 1.8vw, 0.65rem);
  font-weight: 500;
  letter-spacing: clamp(0.12em, 0.06em + 0.5vw, 0.35em);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--private-gallery {
  height: clamp(240px, 42vh, 440px);
  min-height: 240px;
}

.page-hero-subtitle--private {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   Inner Page Layout
   ============================================ */

.page-main {
  padding-top: calc(70px + env(safe-area-inset-top, 0px));
  min-height: calc(100vh - 130px);
  min-height: calc(100dvh - 130px);
}

/* ============================================
   Page Sections
   ============================================ */

.page-section {
  padding: 6rem max(1rem, env(safe-area-inset-left, 0px)) 6rem max(1rem, env(safe-area-inset-right, 0px));
  scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px));
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.section-lead {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.section-lead--center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.section-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.section-content a:hover {
  color: var(--golden-ember);
}

/* About */
.about-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.about-heading:first-of-type {
  margin-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text--full {
  margin-top: 1rem;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Page */
.page-main--services {
  padding-top: calc(70px + env(safe-area-inset-top, 0px));
}

.services-hero {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 4rem;
}

.services-panels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin-bottom: 4rem;
  width: 100%;
  border-left: 25px solid var(--bg-header);
  border-right: 25px solid var(--bg-header);
}

.services-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.services-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.services-panel:hover .services-panel-bg {
  transform: scale(1.05);
}

.services-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.services-panel-label {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: white;
  text-align: center;
  padding: 0 0.5rem 2rem;
  box-sizing: border-box;
}

.services-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-description p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #c9a962;
  margin-bottom: 2rem;
}

.btn-services {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  background: #c9a962;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-services:hover {
  background: #d4b872;
  transform: translateY(-2px);
}

@media (max-width: 1280px) {
  .services-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left-width: 16px;
    border-right-width: 16px;
  }

  .services-panel-label {
    font-size: clamp(0.68rem, 1.5vw, 1rem);
    letter-spacing: clamp(0.1em, 0.05em + 0.4vw, 0.25em);
    padding: 0 0.35rem 1.25rem;
  }
}

@media (max-width: 900px) {
  .services-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left-width: 10px;
    border-right-width: 10px;
  }
}

@media (max-width: 600px) {
  .services-panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-left-width: 0;
    border-right-width: 0;
  }

  .services-panel {
    aspect-ratio: 16 / 9;
  }

  .services-hero {
    padding-bottom: 2.5rem;
  }
}

/* Portfolio - Masonry Gallery */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.portfolio-filter-btn {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.is-active {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.portfolio-masonry {
  column-count: 3;
  column-gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
}

.portfolio-item--tall {
  aspect-ratio: 3/4;
}

.portfolio-item--wide {
  aspect-ratio: 4/3;
}

.portfolio-item--square {
  aspect-ratio: 1/1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-lead {
  font-size: 1.3rem !important;
  color: var(--text-primary) !important;
  margin-bottom: 1rem !important;
}

.contact-details {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-details li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.contact-details strong {
  color: var(--text-primary);
  margin-right: 0.5rem;
}

/* Contact — inline calendar */
.contact-calendar {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.contact-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-calendar-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
  flex: 1;
}

.contact-calendar-nav {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.contact-calendar-nav:hover {
  border-color: var(--accent);
  color: var(--golden-ember);
}

.contact-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

.contact-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.contact-calendar-day {
  aspect-ratio: 1;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.contact-calendar-day:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--golden-ember);
}

.contact-calendar-day--empty {
  background: transparent;
  cursor: default;
  pointer-events: none;
}

.contact-calendar-day--today {
  box-shadow: inset 0 0 0 1px var(--golden-ember);
}

.contact-calendar-day--selected {
  background: rgba(242, 159, 5, 0.15);
  border-color: var(--golden-ember);
  color: var(--golden-ember);
}

.contact-calendar-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-calendar-hint em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.contact-form .form-required {
  color: var(--golden-ember);
  font-weight: 600;
}

.contact-form .form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0;
}

.contact-form input[type="date"] {
  color-scheme: dark;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-status {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-status.is-success {
  color: #2d6a4f;
}

.contact-form-status.is-error {
  color: #9b2226;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.client-logo {
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: color var(--transition), border-color var(--transition);
}

.client-logo:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.clients-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.client-gallery-card {
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.client-gallery-open {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.client-gallery-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.client-gallery-open:hover .client-gallery-thumb {
  transform: scale(1.02);
}

.client-gallery-card h3 {
  margin: 1rem 1rem 0.35rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.client-gallery-count {
  margin: 0 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.client-gallery-unlock {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.5rem;
}

.client-gallery-unlock label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.client-gallery-unlock input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 4px;
}

.client-gallery-unlock .btn-primary {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.client-gallery-status {
  min-height: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.client-gallery-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.client-gallery-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.clients-single-gallery {
  max-width: 980px;
}

/* --- Private gallery view (full client gallery) --- */
.private-gallery-section {
  padding-top: 2.5rem;
}

.private-gallery-wrap {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.private-gallery-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.private-gallery-top-bar__start {
  flex: 1 1 220px;
  min-width: 0;
}

.private-gallery-back-wrap {
  margin: 0 0 0.5rem;
}

.private-gallery-meta {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 36rem;
}

.private-gallery-meta a {
  color: var(--golden-ember);
  text-decoration: none;
}

.private-gallery-meta a:hover {
  text-decoration: underline;
}

.private-gallery-top-bar__end {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.private-gallery-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: min(100%, 12.5rem);
  margin: 0;
}

.private-gallery-toolbar[hidden] {
  display: none !important;
}

.private-gallery-btn-dl {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.private-gallery-toolbar .private-gallery-selection-count {
  margin: 0.15rem 0 0;
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.private-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 1rem;
  padding: 0;
  max-width: 960px;
  margin: 0 auto;
  justify-items: center;
}

.private-gallery-grid .private-gallery-image-card {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}

.private-gallery-grid .private-gallery-image-open img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

@keyframes private-gallery-skeleton-shimmer {
  0% {
    background-position: 160% 50%;
  }

  100% {
    background-position: -60% 50%;
  }
}

.private-gallery-grid--loading {
  pointer-events: none;
  min-height: clamp(12rem, 35vh, 24rem);
}

.private-gallery-skeleton-card {
  width: 100%;
  max-width: 320px;
  justify-self: center;
  position: relative;
}

.private-gallery-skeleton-photo {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(255, 255, 255, 0.035) 38%,
    rgba(201, 169, 98, 0.18) 50%,
    rgba(255, 255, 255, 0.045) 62%,
    rgba(255, 255, 255, 0.035) 100%
  );
  background-size: 220% 100%;
  background-position: 160% 50%;
  animation: private-gallery-skeleton-shimmer 1.25s ease-in-out infinite;
}

.private-gallery-skeleton-card:nth-child(3n + 1) .private-gallery-skeleton-photo {
  animation-duration: 1.45s;
}

.private-gallery-skeleton-card:nth-child(3n + 2) .private-gallery-skeleton-photo {
  animation-duration: 1.15s;
}

.private-gallery-skeleton-badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  width: 4.5rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .private-gallery-skeleton-photo {
    animation: none;
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 720px) {
  .private-gallery-top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .private-gallery-top-bar__end {
    justify-content: stretch;
  }

  .private-gallery-toolbar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .private-gallery-toolbar .private-gallery-selection-count {
    text-align: center;
  }

  .private-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }
}

.client-access-shell {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}

.client-access-card {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.client-access-card .page-title {
  margin-bottom: 0.35rem;
}

.client-gallery-back-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-gallery-selection-count {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.private-gallery-image-card {
  position: relative;
}

.private-gallery-image-open {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.private-gallery-image-open img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.private-gallery-select {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
}

.private-gallery-select input {
  width: auto;
  margin: 0;
}

.private-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.private-gallery-lightbox[hidden] {
  display: none !important;
}

.private-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.private-gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(1400px, 96vw);
  max-height: 92vh;
}

.private-gallery-lightbox__panel img {
  width: auto;
  max-width: 100%;
  max-height: 92vh;
  display: block;
  border-radius: 6px;
}

.private-gallery-lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.client-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.client-gallery-modal[hidden] {
  display: none !important;
}

.client-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.client-gallery-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.96);
  padding: 1rem;
}

.client-gallery-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.client-gallery-modal__title {
  margin: 0 2.25rem 0.65rem 0;
  font-size: 1.6rem;
}

.client-gallery-modal__unlock {
  margin-bottom: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

/* Weddings — packages & extras */
.page-section--tight-top {
  padding-top: 2rem;
}

.wedding-packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.wedding-package {
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2rem 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}

.wedding-package__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.wedding-package__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.wedding-package__price {
  margin-bottom: 0.35rem;
}

.wedding-package__amount {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.wedding-package__meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wedding-package__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.wedding-package__includes {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.wedding-package__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.wedding-package__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.wedding-package__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.wedding-package__optional {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.wedding-package__optional strong {
  color: var(--text-primary);
  font-weight: 600;
}

.wedding-film {
  background: rgba(201, 169, 98, 0.06);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(2rem, calc(50vw - 600px));
  padding-right: max(2rem, calc(50vw - 600px));
  box-sizing: border-box;
}

.wedding-film .section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wedding-film__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.wedding-film__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.wedding-extras__heading {
  margin-bottom: 1.75rem;
}

.wedding-extras {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.wedding-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}

.wedding-extra:last-child {
  border-bottom: none;
}

.wedding-extra__name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.wedding-extra__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wedding-cta-line {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
}

.wedding-cta-line a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.wedding-cta-line a:hover {
  color: var(--golden-ember);
}

.wedding-cta-sep {
  margin: 0 0.65rem;
  color: var(--text-muted);
  user-select: none;
}

/* Sports service page */
.section-content--wide {
  max-width: 1100px;
}

.sports-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}

.sports-gallery__item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  grid-column: span 4;
  min-height: 220px;
}

.sports-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sports-gallery__item--feature {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 460px;
}

.sports-gallery__item--wide {
  grid-column: span 8;
}

.sports-coverage {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.sports-coverage li {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
  background: rgba(201, 169, 98, 0.04);
}

.service-portfolio-link {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1rem;
}

.service-portfolio-link .wedding-cta-link {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section responsive */
@media (max-width: 1100px) {
  .portfolio-masonry {
    column-count: 2;
    column-gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-gallery-grid {
    grid-template-columns: 1fr;
  }

  .wedding-packages {
    grid-template-columns: 1fr;
  }

  .wedding-extra {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .sports-gallery__item,
  .sports-gallery__item--feature,
  .sports-gallery__item--wide {
    grid-column: span 12;
    grid-row: span 1;
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .page-section {
    padding: 4rem max(1rem, env(safe-area-inset-left, 0px)) 4rem max(1rem, env(safe-area-inset-right, 0px));
  }

  .portfolio-masonry {
    column-count: 1;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-gallery-images {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-footer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 100;
  border-top: 1px solid var(--border-subtle);
}

.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-left span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-left a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-left a:hover {
  color: var(--golden-ember);
}

.footer-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slider-nav {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color var(--transition);
}

.slider-nav:hover {
  color: var(--text-primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.dot:hover,
.dot.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer--simple .footer-left,
.footer--simple .footer-right {
  flex: 0 0 auto;
}

.social-link {
  color: var(--text-muted);
  transition: color var(--transition);
}

.social-link:hover {
  color: var(--text-primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: min(320px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-header);
  z-index: 999;
  padding: calc(5.5rem + env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-right, 0px)) 2rem 1.5rem;
  transition: right var(--transition);
  border-left: 1px solid var(--border-subtle);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    max-width: min(100%, 72vw);
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 768px) {
  .header,
  .footer {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  body:not(.home-page) {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }

  .page-main {
    min-height: calc(100dvh - 160px);
  }

  .hero-title {
    flex-direction: column;
    gap: 0.75rem;
  }

  .title-line {
    width: 40px;
  }

  .hero-content {
    padding: 1.25rem max(1rem, env(safe-area-inset-left)) 1.25rem max(1rem, env(safe-area-inset-right));
  }

  .footer {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 0.85rem 1rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }

  .footer-left {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .footer-center {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .footer-right {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .footer--simple {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer--simple .footer-left {
    order: 1;
    width: 100%;
  }

  .footer--simple .footer-right {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .wedding-package {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .wedding-film {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 480px) {
  .contact-calendar {
    padding: 1rem 0.65rem;
  }

  .contact-calendar-grid {
    gap: 2px;
  }

  .contact-calendar-day {
    font-size: 0.72rem;
    min-height: 1.75rem;
  }

  .contact-calendar-weekdays {
    font-size: 0.58rem;
    gap: 0;
  }

  .btn-primary {
    padding: 0.85rem 1.75rem;
    font-size: 0.68rem;
  }

  .portfolio-masonry {
    column-gap: 1rem;
  }

  .portfolio-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-left,
  .nav-right {
    gap: 1.25rem;
  }

  .nav-left {
    padding-right: 1rem;
  }

  .nav-right {
    padding-left: 1rem;
  }

  .nav-link {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
}
