/*
Theme Name: Zion Film
Theme URI: https://zionfilm.org
Author: Zion Film
Description: Editorial wedding photography & film theme for Zion Film — Auckland, New Zealand.
Version: 1.5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zionfilm
*/

:root {
  /* Text colors matched to heracouture.co.nz (#231f20 charcoal, #a68969 bronze) */
  --ink: #231f20;
  --paper: #f4ede7;
  --white: #ffffff;
  --muted: #676263;
  --champagne: #a68969;
  --line: rgba(35, 31, 32, 0.16);
  --line-light: rgba(255, 255, 255, 0.28);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
}

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

/* Canvas beyond the document (overscroll bounce, browser insets)
   matches the footer so nothing light ever shows below it */
html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.012em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.wrap {
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.005em;
}

.display {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
}

.heading {
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--champagne);
  vertical-align: middle;
  margin-right: 0.9rem;
}

.lede { font-size: 1.08rem; color: var(--muted); }

/* ---------- Links & buttons ---------- */

.link-underline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.25s ease;
}

.link-underline:hover { opacity: 0.55; }

.button {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.button.is-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header ----------
   Hera-style stacked header: centred logo, navigation underneath,
   sitting on white above the hero. */

.site-header {
  position: relative;
  z-index: 50;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem var(--gutter) 0;
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 1;
}

.brand .logo {
  height: 42px;
  width: auto;
  display: block;
}

/* Light header always uses the dark logo (mobile overlay flips it) */
.site-header .logo-wht { display: none; }
.site-header .logo-blk { display: block; }

.site-nav { padding: 1.6rem 0 1.7rem; }

.site-nav ul {
  display: flex;
  gap: 2.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.site-nav a:hover { opacity: 1; }

/* Two-level dropdown (desktop) */
.site-nav li { position: relative; }

.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 13rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.1);
  padding: 0.6rem 0;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { display: flex; }

.site-nav .sub-menu li { width: 100%; }

.site-nav .sub-menu a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.site-nav .sub-menu a:hover { background: var(--paper); }

/* Third level flies out to the side */
.site-nav .sub-menu .sub-menu {
  top: -0.6rem;
  left: 100%;
  transform: none;
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle .lines,
.nav-toggle .lines::before,
.nav-toggle .lines::after {
  content: "";
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.nav-toggle .lines { position: relative; }
.nav-toggle .lines::before { position: absolute; top: -8px; }
.nav-toggle .lines::after { position: absolute; top: 8px; }

.nav-meta { display: none; }

@media (max-width: 760px) {
  .site-header .bar {
    flex-direction: row;
    justify-content: center;
    padding: 1.1rem var(--gutter);
  }

  .brand .logo { height: 30px; }

  .nav-toggle {
    display: block;
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--ink);
    color: var(--paper);
    padding: 6rem var(--gutter) 2.5rem;
  }

  .site-nav.is-open { display: flex; }

  .site-nav ul {
    flex-direction: column;
    gap: clamp(1.4rem, 4vh, 2.2rem);
    margin: auto 0;
  }

  .site-nav a {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    letter-spacing: 0.06em;
    text-transform: none;
    opacity: 1;
  }

  /* Nested menu levels: static, smaller, no panel */
  .site-nav .sub-menu {
    display: flex;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.9rem 0 0;
    gap: 0.7rem;
    min-width: 0;
  }

  .site-nav .sub-menu a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 237, 231, 0.7);
    padding: 0;
    background: none;
  }

  .site-nav .sub-menu a:hover { background: none; color: var(--paper); }

  .site-nav.is-open li {
    animation: nav-link-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .site-nav.is-open li:nth-child(1) { animation-delay: 0.05s; }
  .site-nav.is-open li:nth-child(2) { animation-delay: 0.1s; }
  .site-nav.is-open li:nth-child(3) { animation-delay: 0.15s; }
  .site-nav.is-open li:nth-child(4) { animation-delay: 0.2s; }
  .site-nav.is-open li:nth-child(5) { animation-delay: 0.25s; }
  .site-nav.is-open li:nth-child(6) { animation-delay: 0.3s; }

  .nav-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 2rem;
  }

  .nav-meta::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 1px;
    background: var(--champagne);
    margin: 0 auto 0.6rem;
  }

  .nav-meta a {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(244, 237, 231, 0.65);
  }

  .nav-meta a:hover { color: var(--paper); }

  body.nav-open { overflow: hidden; }

  /* Keep brand + close button legible on the dark overlay */
  body.nav-open .site-header {
    background: transparent;
    box-shadow: none;
    color: var(--paper);
  }

  /* Dark overlay behind the open menu — always show the white logo */
  body.nav-open .site-header .logo-blk { display: none; }
  body.nav-open .site-header .logo-wht { display: block; }

  body.nav-open .nav-toggle .lines { background: transparent; }
  body.nav-open .nav-toggle .lines::before { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle .lines::after { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 11rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 4.5rem); }
}

/* Oversized and translated slower than the scroll (JS lerp loop),
   clipped to the section — the image visibly drifts as you scroll. */
.hero-media {
  position: absolute;
  inset: 0;
  height: 150%;
  z-index: -1;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-zoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

/* Entrance: eyebrow, headline, then actions rise in sequence */
.hero-content .eyebrow,
.hero-content .display,
.hero-content .hero-actions {
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content .eyebrow { animation-delay: 0.3s; }
.hero-content .display { animation-delay: 0.45s; }
.hero-content .hero-actions { animation-delay: 0.65s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35, 31, 32, 0.72) 0%, rgba(35, 31, 32, 0.12) 45%, rgba(35, 31, 32, 0.25) 100%);
}

.hero-content {
  width: 100%;
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6.5rem);
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero .eyebrow::before { background: var(--champagne); }

.hero-actions {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
  background: var(--paper);
}

.section.is-white { background: var(--white); }

/* Tighter close for sections whose content already ends with whitespace */
.section.is-tight-bottom { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Testimonials keep a medium amount of air before the CTA band */
.section#testimonials { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.section.is-ink { background: var(--ink); color: var(--paper); }
.section.is-ink .eyebrow { color: rgba(244, 237, 231, 0.6); }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about-grid .heading { margin-bottom: 1.8rem; }

.about-portrait {
  margin: calc(var(--section-y) * -1 - 6rem) 0 0;
}

.about-portrait img {
  filter: grayscale(1);
  width: 100%;
  box-shadow: 0 30px 60px rgba(35, 31, 32, 0.25);
}

.about-portrait figcaption {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 1.1rem;
}

.section#about { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { margin-top: 0; max-width: 24rem; }
}

/* Shots */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}

/* Mobile: the section link moves below the content (see .section-foot) */
.section-foot { display: none; }

.section-foot.is-always {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .section-head .link-underline { display: none; }

  .section-foot {
    display: flex;
    justify-content: center;
    margin-top: 2.4rem;
  }

  /* .insta has no bottom padding — give its foot link its own */
  .insta .section-foot { padding-bottom: 2.4rem; }
}

.shots-feature {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

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

/* Slow infinite marquee: the image set is duplicated once and the
   track slides by exactly one set width, looping seamlessly. */
.shots-marquee { overflow: hidden; }

.shots-track {
  display: flex;
  width: max-content;
  animation: shots-marquee 60s linear infinite;
}

.shots-marquee:hover .shots-track { animation-play-state: paused; }

.shots-track img {
  width: clamp(16rem, 30vw, 26rem);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-right: clamp(1rem, 2vw, 2rem);
}

@keyframes shots-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .shots-feature { grid-template-columns: 1fr; }
}

/* Tagline */

.tagline-quote {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.6rem);
  line-height: 1.25;
}

.tagline-quote::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--champagne);
  margin: 0 auto 2.5rem;
}

/* Services */

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

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-type {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 0.9rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.15;
}

.service-details {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.service-details li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.07);
}

.service-details li:last-child { border-bottom: none; }

.service-price {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  text-align: right;
}

.service-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .service-price { text-align: left; }
}

.services-pagination {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.services-pagination .page-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.services-pagination .page-num:hover { border-color: var(--line); }

.services-pagination .page-num.is-current {
  border-color: var(--ink);
}

/* Team (About page) */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.team-card { text-align: center; }

.team-photo {
  margin: 0 0 1.2rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--white);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.team-card:hover .team-photo img { filter: grayscale(0); }

.team-name {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.team-role {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0.5rem 0 0;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0.8rem;
}

.team-bio p { margin: 0; }

.team-grid .team-card:nth-child(2) { transition-delay: 0.1s; }
.team-grid .team-card:nth-child(3) { transition-delay: 0.2s; }
.team-grid .team-card:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.testimonial-card {
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--champagne);
}

/* Cards rise one after another */
.testimonial-card.reveal { transform: translateY(40px); transition-duration: 1s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.18s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.36s; }

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0 0 1.6rem;
}

.testimonial-name {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1.2;
}

.testimonial-context {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
}

@media (max-width: 800px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonials-list {
  max-width: 46rem;
}

.testimonial-entry {
  margin: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.testimonial-entry:first-child { padding-top: 0; }

.testimonial-entry .testimonial-body {
  font-size: 1.15rem;
  line-height: 1.9;
}

.testimonial-entry .testimonial-body p { margin: 0 0 1.2rem; }

.testimonial-entry footer { margin-top: 1.6rem; }

/* CTA */

.cta {
  position: relative;
  padding-block: clamp(6rem, 14vw, 11rem);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}

.cta-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.cta-media img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.62);
}

.cta .heading { margin-bottom: 2.4rem; }

@media (prefers-reduced-motion: reduce) {
  .insta-grid img { transition: none; }
  .insta-grid a:hover img { transform: none; }
}

/* Home: latest album tiles (Hera collections style) */

.album-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem);
  row-gap: clamp(2.5rem, 4vw, 4rem);
}

.album-tile {
  display: block;
  text-decoration: none;
  text-align: center;
}

.album-tile figure {
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--paper);
}

.album-tile figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.album-tile:hover figure img { transform: scale(1.045); }

.album-tile-card {
  position: relative;
  width: min(80%, 21rem);
  margin: -4.2rem auto 0;
  background: var(--white);
  padding: 1.7rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.album-tile-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  line-height: 1.5;
}

.album-tile-divider {
  display: block;
  width: 1px;
  height: 1.5rem;
  background: var(--line);
}

.album-tile-cta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}

.album-tile:hover .album-tile-cta { text-decoration: underline; text-underline-offset: 3px; }

/* Tiles rise one after another */
.album-tiles .album-tile:nth-child(2) { transition-delay: 0.12s; }
.album-tiles .album-tile:nth-child(3) { transition-delay: 0.24s; }
.album-tiles .album-tile:nth-child(5) { transition-delay: 0.12s; }
.album-tiles .album-tile:nth-child(6) { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .album-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .album-tiles { grid-template-columns: 1fr; }
  .album-tile-card { margin-top: -3.4rem; }
}

/* Albums */

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem);
}

.album-card { text-decoration: none; display: block; }

.album-thumb {
  margin: 0 0 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.album-card:hover .album-thumb img { transform: scale(1.04); }

.album-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.album-subtitle {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.album-subtitle-hero { margin-top: 1.2rem; }

.crumb-link { text-decoration: none; }
.crumb-link:hover { color: var(--champagne); }

@media (max-width: 900px) {
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .album-grid { grid-template-columns: 1fr; }
}

/* Home: package category cards */

.package-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.package-cat {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--champagne);
  text-decoration: none;
}

.package-cat-thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.package-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.package-cat:hover .package-cat-thumb img { transform: scale(1.045); }

.package-cat-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1.5rem 1.6rem 1.5rem;
}

.package-cat-name { transition: color 0.25s ease; }
.package-cat:hover .package-cat-name { color: var(--champagne); }

.package-cat-parent {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.package-cat-name {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.package-cat-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.package-cat-cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
}

.package-cat-cta span { transition: transform 0.3s ease; display: inline-block; }
.package-cat:hover .package-cat-cta span { transform: translateX(5px); }

.package-cats .package-cat:nth-child(2) { transition-delay: 0.1s; }
.package-cats .package-cat:nth-child(3) { transition-delay: 0.2s; }
.package-cats .package-cat:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 1000px) {
  .package-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .package-cats { grid-template-columns: 1fr; }
}

/* Packages page — clickable list rows */

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

.package-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto 2rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.package-row-type {
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
}

.package-row-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  transition: color 0.25s ease;
}

.package-row-price {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  white-space: nowrap;
}

.package-row-arrow {
  text-align: right;
  transition: transform 0.3s ease;
}

.package-row:hover .package-row-name { color: var(--champagne); }
.package-row:hover .package-row-arrow { transform: translateX(6px); }

@media (max-width: 700px) {
  .package-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'type type'
      'name arrow'
      'price price';
    row-gap: 0.3rem;
    padding: 1.2rem 0;
  }
  .package-row-type { grid-area: type; }
  .package-row-name { grid-area: name; }
  .package-row-price { grid-area: price; font-size: 1rem; color: var(--muted); }
  .package-row-arrow { grid-area: arrow; }
}

/* Package detail page */

.service-hero-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 1rem;
}

.service-hero-price span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.5rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-detail-grid .package-subheading { margin: 0.4rem 0 0.6rem; }

.service-detail-cta { margin-top: 2.2rem; }

.service-detail-albums { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }

@media (max-width: 800px) {
  .service-detail-grid { grid-template-columns: 1fr; }
}

/* Packages page */

.service-albums span {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-right: 0.4rem;
}

.service-albums a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  text-decoration: none;
}

.service-albums a:hover { text-decoration: underline; text-underline-offset: 3px; }


.package-group { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.package-group:last-child { margin-bottom: 0; }

.package-desc { max-width: 42rem; margin-bottom: 1rem; }

.package-subgroup { margin-top: clamp(2rem, 4vw, 3.5rem); }

.package-subheading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.6rem;
  color: var(--muted);
}

/* Follow band (above the footer) */

.follow-band .section-head { margin-bottom: 0; }

@media (max-width: 760px) {
  .follow-band .section-head {
    align-items: center;
    text-align: center;
  }
}

/* ---------- Gallery page ---------- */

/* Masonry: CSS columns as the no-JS fallback; with JS the figures are
   distributed into flex columns so infinite-scroll batches append at the
   bottom without reshuffling what is already on screen. */
.gallery-grid {
  columns: 3;
  column-gap: clamp(1rem, 2vw, 2rem);
}

.gallery-grid figure {
  margin: 0 0 clamp(1rem, 2vw, 2rem);
  break-inside: avoid;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1000px) {
  .gallery-grid { columns: 2; }
}

.gallery-grid.js-masonry {
  columns: auto;
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: flex-start;
}

.js-masonry .gal-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 2rem);
}

.js-masonry figure { margin: 0; }

/* Masonry figures fade only — a translate here visually overlaps
   whatever follows the grid while the reveal is animating */
.gallery-grid.js-masonry figure.reveal,
.gallery-grid figure.reveal { transform: none !important; }

.gal-sentinel { height: 1px; }

/* ---------- Page & contact ---------- */

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-hero .eyebrow { margin-bottom: 1rem; }

.page-hero .eyebrow,
.page-hero .display {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero .eyebrow { animation-delay: 0.1s; }
.page-hero .display { animation-delay: 0.25s; }

.prose { max-width: 46rem; }

.prose p { margin: 0 0 1.4rem; }

.contact-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3rem;
  padding-top: 2rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}

.contact-value:hover { color: var(--champagne); }

/* ---------- Enquiry form (Forminator overrides) ---------- */

.enquiry-form {
  max-width: 46rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.enquiry-form .forminator-custom-form .forminator-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.enquiry-form .forminator-custom-form .forminator-input,
.enquiry-form .forminator-custom-form .forminator-textarea {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 0.7rem 0 !important;
  box-shadow: none !important;
}

.enquiry-form .forminator-custom-form .forminator-input:focus,
.enquiry-form .forminator-custom-form .forminator-textarea:focus {
  border-bottom-color: var(--ink) !important;
  outline: none;
  box-shadow: none !important;
}

.enquiry-form .forminator-custom-form .forminator-textarea { min-height: 15rem !important; }

/* The select draws its line on .select2-selection only — kill every other border */
.enquiry-form .forminator-custom-form .forminator-select,
.enquiry-form .forminator-custom-form .forminator-field-select .select2-container,
.enquiry-form .forminator-custom-form select.forminator-select2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.enquiry-form .forminator-custom-form .select2-container .select2-selection--single,
.enquiry-form .forminator-custom-form .select2-container .select2-selection {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}

.enquiry-form .forminator-custom-form .select2-selection__rendered {
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  padding: 0.7rem 1.6rem 0.7rem 0 !important;
  line-height: 1.4 !important;
}

/* Open/focus state: no blue ring, just a stronger underline */
.enquiry-form .forminator-custom-form .select2-container--focus .select2-selection,
.enquiry-form .forminator-custom-form .select2-container--open .select2-selection,
.enquiry-form .forminator-custom-form .select2-container .select2-selection:focus {
  border-bottom-color: var(--ink) !important;
  outline: none !important;
  box-shadow: none !important;
}

.enquiry-form .forminator-custom-form .select2-selection__arrow,
.enquiry-form .forminator-custom-form .forminator-icon-chevron-down {
  color: var(--muted) !important;
}

.enquiry-form .forminator-custom-form .select2-selection__arrow b {
  border-top-color: var(--muted) !important;
}

.enquiry-form .forminator-custom-form .select2-container--open .select2-selection__arrow b {
  border-bottom-color: var(--muted) !important;
}

/* Dropdown list — global scope because select2 can append it outside the form */
.select2-container .select2-dropdown,
.select2-container .forminator-select-dropdown {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.12) !important;
  overflow: hidden;
}

.select2-container .select2-results__option {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  padding: 0.85rem 1.2rem !important;
  border: none !important;
  outline: none !important;
  transition: background 0.2s ease;
}

.select2-container .select2-results__option--highlighted,
.select2-container .select2-results__option:hover {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

.select2-container .select2-results__option--selected,
.select2-container .select2-results__option[aria-selected="true"] {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.select2-container .select2-results__option--selected.select2-results__option--highlighted,
.select2-container .select2-results__option[aria-selected="true"]:hover {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.enquiry-form .forminator-custom-form .forminator-button-submit {
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  background: transparent !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  padding: 1.05rem 2.4rem !important;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.enquiry-form .forminator-custom-form .forminator-button-submit:hover {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.enquiry-form .forminator-response-message.forminator-success {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  background: none;
  border: none;
  padding: 1rem 0;
}

.enquiry-form .forminator-error-message { font-size: 0.85rem; }

/* Datepicker (jQuery UI via Forminator) */

#ui-datepicker-div.ui-datepicker {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.12) !important;
  outline: none !important;
  padding: 1.1rem !important;
  font-family: var(--font-body) !important;
}

#ui-datepicker-div.ui-datepicker::before,
#ui-datepicker-div.ui-datepicker::after { display: none !important; }

.ui-datepicker .ui-datepicker-header {
  background: transparent !important;
  border: none !important;
  padding-bottom: 0.6rem !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink) !important;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  background-image: none !important;
  text-indent: -9999px;
  overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev::before,
.ui-datepicker .ui-datepicker-next::before {
  position: absolute;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
}

.ui-datepicker .ui-datepicker-prev::before { content: "\2190"; }
.ui-datepicker .ui-datepicker-next::before { content: "\2192"; }

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: var(--ink) !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 0.25rem 0.3rem !important;
}

.ui-datepicker table.ui-datepicker-calendar {
  margin: 0 !important;
  background: transparent !important;
}

.ui-datepicker th {
  font-family: var(--font-body) !important;
  font-size: 0.66rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--muted) !important;
  padding: 0.5rem 0.2rem !important;
}

.ui-datepicker td { padding: 2px !important; }

.ui-datepicker td .ui-state-default {
  width: 2.2rem !important;
  height: 2.2rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  color: var(--ink) !important;
  text-align: center !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.ui-datepicker td .ui-state-default:hover {
  background: var(--paper) !important;
}

.ui-datepicker td.ui-datepicker-today .ui-state-default {
  box-shadow: inset 0 -2px 0 var(--champagne) !important;
}

/* Kill Forminator's blue outlines; keep an on-brand focus ring */
.ui-datepicker td .ui-state-default,
.ui-datepicker td .ui-state-highlight,
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker select {
  outline: none !important;
}

.ui-datepicker td .ui-state-default:focus-visible,
.ui-datepicker select:focus-visible {
  outline: 2px solid var(--champagne) !important;
  outline-offset: 1px;
}

.ui-datepicker td .ui-state-active {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

.ui-datepicker td.ui-state-disabled .ui-state-default,
.ui-datepicker td .ui-priority-secondary {
  color: var(--muted) !important;
  opacity: 0.45;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand { display: block; }

.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
}

.footer-nav a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2.2rem;
  font-size: 0.78rem;
  color: rgba(244, 237, 231, 0.55);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--paper); }

.footer-bottom svg { display: block; }

@media (max-width: 760px) {
  .site-footer { padding: 2.8rem 0 calc(1.6rem + env(safe-area-inset-bottom, 0px)); }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    padding-bottom: 1.8rem;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-bottom {
    align-items: center;
    gap: 1rem;
    padding-top: 1.4rem;
    font-size: 0.75rem;
  }

  .footer-bottom p { margin: 0; }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Images rise further and slower, one after another */
img.reveal,
.gallery-grid figure.reveal {
  transform: translateY(48px);
  transition-duration: 1.3s;
}

.shots-feature img.reveal:nth-child(2) { transition-delay: 0.18s; }


.gallery-grid figure.reveal:nth-child(2n) { transition-delay: 0.15s; }

.parallax-float { will-change: transform; }

/* Lightbox */

.lb-item { cursor: zoom-in; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 31, 32, 0.96);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.lightbox img {
  max-width: min(90vw, 100rem);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox button:hover { opacity: 1; }

.lightbox .lb-close { top: 1rem; right: 1.2rem; font-size: 2rem; }
.lightbox .lb-prev { left: 0.8rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 0.8rem; top: 50%; transform: translateY(-50%); }

body.lb-open { overflow: hidden; }

@keyframes nav-link-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav.is-open li { animation: none; }
  .hero-media img,
  .hero-content .eyebrow,
  .hero-content .display,
  .hero-content .hero-actions,
  .page-hero .eyebrow,
  .page-hero .display { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { height: 100%; transform: none !important; }
  .cta-media img { height: 100%; transform: none !important; }
  .parallax-float { transform: none !important; }
  .shots-track { animation: none; }
  .shots-marquee { overflow-x: auto; }
  .lightbox { transition: none; }
}

/* ---------- WP defaults ---------- */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alignwide { max-width: 90rem; margin-inline: auto; }
.alignfull { width: 100%; }
