/* ---------------------------------------------------
   SamsaraFilmss — editorial stylesheet
--------------------------------------------------- */

:root {
  --cream: #f7f2e7;
  --cream-dark: #ece1c9;
  --charcoal: #211e19;
  --sage: #7c8b6a;
  --sage-dark: #515e45;
  --terracotta: #bd6b42;
  --stone: #96897375;
  --stone-solid: #948a76;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --max-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 0.5em;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.2em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 700px) {
  .container { padding: 0 1.25rem; }
}

/* ---------- Type system ---------- */
.display-huge {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: 0.94;
}

.display-huge em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-dark);
}

.eyebrow-mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--terracotta);
  display: inline-block;
  margin-bottom: 1.2em;
}

.eyebrow-mono::before {
  content: "— ";
}

.lede {
  font-size: 1.1rem;
  max-width: 520px;
}

.rule-diagonal {
  width: 130px;
  height: 1px;
  background: var(--charcoal);
  transform: rotate(-5deg);
  transform-origin: left;
  margin: 2.2rem 0;
  border: none;
}

.rule-diagonal.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons / links ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--charcoal);
  transition: gap 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.arrow-link .arrow { transition: transform 0.25s ease; display: inline-block; }

.arrow-link:hover {
  gap: 1.1em;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.arrow-link:hover .arrow { transform: translateX(3px); }

.arrow-link.on-dark { color: var(--cream); border-color: var(--cream); }
.arrow-link.on-dark:hover { color: var(--terracotta); border-color: var(--terracotta); }

.btn-solid {
  display: inline-block;
  padding: 1em 2.4em;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease;
}

.btn-solid:hover { background: var(--terracotta); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 231, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand em {
  font-style: italic;
  color: var(--sage-dark);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: navnum;
}

.nav-links li { counter-increment: navnum; }

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}

.nav-links a::before {
  content: "0" counter(navnum);
  color: var(--terracotta);
  font-size: 0.7rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span { width: 24px; height: 1.5px; background: var(--charcoal); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--cream-dark);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 1rem 2rem; width: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--cream-dark); }
.section-tight { padding: 3.5rem 0; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Home hero: full-bleed slideshow ---------- */
.hero-slideshow {
  position: relative;
  height: 92vh;
  min-height: 580px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .ph-img { width: 100%; height: 100%; aspect-ratio: auto; }

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(33,30,25,0.2) 0%, rgba(33,30,25,0.72) 100%);
}

.hero-slideshow-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4.5rem;
  color: var(--cream);
}

.hero-slideshow-inner .eyebrow-mono { color: var(--terracotta); }
.hero-slideshow-inner h1 { color: var(--cream); }
.hero-slideshow-inner .lede { color: var(--cream); opacity: 0.9; }

/* Controls sit inline, after the CTA link, so they're always below
   the text in normal document flow — never floating over words. */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2.6rem;
}

.hero-arrow {
  z-index: 4;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(247,242,231,0.5);
  background: rgba(33,30,25,0.25);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover { background: rgba(33,30,25,0.55); border-color: var(--cream); }

.hero-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.hero-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(247,242,231,0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  border: none;
}

.hero-dots .dot.active { background: var(--terracotta); transform: scale(1.3); }

@media (max-width: 700px) {
  .hero-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .hero-slideshow-inner { padding-bottom: 3.2rem; }
  .hero-controls { margin-top: 2rem; }
}

/* ---------- Hero (split overlap) ---------- */
.hero-edit { padding-top: 4.5rem; padding-bottom: 3rem; }

.split-overlap {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: start;
}

.split-text {
  grid-column: 1 / 8;
  z-index: 2;
  position: relative;
  padding-right: 2rem;
}

.split-media {
  grid-column: 6 / 13;
  margin-top: 4rem;
  position: relative;
}

.split-media .caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sage-dark);
  margin-top: 1rem;
  text-align: right;
}

@media (max-width: 860px) {
  .split-overlap { grid-template-columns: 1fr; }
  .split-text, .split-media { grid-column: 1 / -1; padding-right: 0; }
  .split-media { margin-top: 2rem; }
}

/* ---------- Placeholder imagery ---------- */
.ph-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}

/* Native camera ratios only — tiles crop/fit real photos, they never
   stretch them. Landscape ≈ 3:2, portrait ≈ 4:5 or 2:3, plus a square
   crop and a wide panorama for breakout moments. */
.ph-img.ratio-wide { aspect-ratio: 3 / 2; }
.ph-img.ratio-square { aspect-ratio: 1 / 1; }
.ph-img.ratio-tall { aspect-ratio: 4 / 5; }
.ph-img.ratio-portrait { aspect-ratio: 2 / 3; }
.ph-img.ratio-panorama { aspect-ratio: 2 / 1; }

.ph-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Until a real file exists at the src path, the image 404s and its
   inline onerror hides it — the ph- gradient + icon behind it is the
   fallback, so nothing ever shows a broken-image glyph. Drop a photo
   in at that path and it fades in automatically, no code change. */
.ph-img img.is-loaded { opacity: 1; }

.ph-img svg { width: 26px; height: 26px; opacity: 0.85; }

.ph-1 { background: linear-gradient(140deg, #8d9c7c, #4d5a41); }  /* sage → deep forest */
.ph-2 { background: linear-gradient(140deg, #c9a48b, #a05f3d); }  /* dusty clay → rust */
.ph-3 { background: linear-gradient(140deg, #b8ad97, #7c8b6a); }  /* warm stone → sage */
.ph-4 { background: linear-gradient(140deg, #a89f8d, #33312c); }  /* taupe → charcoal */
.ph-5 { background: linear-gradient(140deg, #d6c6ad, #bd6b42); }  /* sand → terracotta */
.ph-6 { background: linear-gradient(140deg, #96a887, #445039); }  /* moss → deep pine */
.ph-7 { background: linear-gradient(140deg, #93a8b0, #46606b); }  /* slate sky → dusty denim */
.ph-8 { background: linear-gradient(140deg, #dba847, #a8542a); }  /* golden ochre → sienna */
.ph-9 { background: linear-gradient(140deg, #e6d0b3, #c99a80); }  /* pale sand → soft blush */
.ph-10 { background: linear-gradient(140deg, #82804c, #3a352a); } /* olive → charcoal brown */
.ph-11 { background: linear-gradient(140deg, #a89aa2, #6f5f5c); } /* dusty lavender → warm stone */
.ph-12 { background: linear-gradient(140deg, #93583a, #241a15); } /* rust → campfire dark */

/* ---------- Intro split (about-style two col, staggered) ---------- */
.stagger-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
}

.stagger-split .media-col { margin-top: 3rem; }
.stagger-split .text-col { padding-top: 0; }

@media (max-width: 860px) {
  .stagger-split { grid-template-columns: 1fr; }
  .stagger-split .media-col { margin-top: 0; order: -1; }
}

/* ---------- Pull quote ---------- */
.pull-quote-edit {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 5%;
}

@media (max-width: 700px) { .pull-quote-edit { padding-left: 0; } }

.pull-quote-edit .mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--terracotta);
  line-height: 0.5;
  display: block;
  margin-bottom: 0.4rem;
}

blockquote.quote-edit {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
  max-width: 680px;
  margin: 0;
}

.quote-edit cite {
  display: block;
  margin-top: 1.2em;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-solid);
}

/* ---------- Diagonal CTA ---------- */
.diagonal-cta {
  text-align: left;
  position: relative;
}

.diagonal-cta h2 { max-width: 700px; }
.diagonal-cta h2 .line2 {
  display: block;
  font-style: italic;
  color: var(--sage-dark);
  font-size: 0.85em;
  margin-left: 8%;
}

.diagonal-cta .cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Fading word-cycle — teases the gallery chapters (Golden Hour,
   High Country, ...) one at a time, each word linking through. */
.gallery-fader {
  position: relative;
  height: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0.3rem 0 1.4rem;
}

.gallery-fade-word {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--sage-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.gallery-fade-word.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-fade-word:hover { color: var(--terracotta); }

/* ---------- Bio blocks ---------- */
.bio-copy p { max-width: 560px; }

/* ---------- Timeline (Experience process) ---------- */
.timeline {
  max-width: 820px;
  margin: 3.5rem auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--stone);
}

@media (max-width: 620px) {
  .timeline::before { left: 28px; }
}

.timeline-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 1rem;
  padding-bottom: 3.2rem;
  position: relative;
}

@media (max-width: 620px) {
  .timeline-item { grid-template-columns: 56px 1fr; }
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--terracotta);
  position: relative;
  z-index: 1;
}

.timeline-item h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.timeline-item p { max-width: 480px; font-size: 0.96rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 3rem 0 0; }

.faq-item {
  border-bottom: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 60px 1fr;
}

@media (max-width: 600px) {
  .faq-item { grid-template-columns: 34px 1fr; }
}

.faq-item .faq-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracotta);
  padding-top: 1.5rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 1.3rem 2.4rem 1.3rem 0;
  cursor: pointer;
  position: relative;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.faq-item.open .faq-question,
.faq-question:hover { color: var(--terracotta); }

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 0.98rem; max-width: 620px; }

/* ---------- Portfolio: full-bleed hero ---------- */
.gallery-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.gallery-hero .ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,30,25,0.15) 0%, rgba(33,30,25,0.75) 100%);
}

.gallery-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 4rem;
  color: var(--cream);
}

.gallery-hero-inner .eyebrow-mono { color: var(--terracotta); }
.gallery-hero-inner h1 { color: var(--cream); }

.gallery-hero-inner .view-gallery-btn {
  margin-top: 1.8rem;
  color: var(--cream);
  border-color: var(--cream);
}

.gallery-hero-inner .view-gallery-btn:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.scroll-cue {
  position: absolute;
  right: 2rem;
  bottom: 2.2rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0.85;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--cream);
  display: block;
}

@media (max-width: 700px) {
  .scroll-cue { display: none; }
}

/* ---------- Portfolio: photo wall ----------
   Column-flow masonry, not a fixed-cell grid — every tile's height
   comes from its own ph-img ratio class (real camera ratios: wide
   3:2, tall 4:5, portrait 2:3, square, panorama), so a real photo
   drops in and crops to fit instead of being stretched to match an
   arbitrary cell shape. Visual variety comes from mixing ratios,
   the 12-color placeholder palette, occasional full-width breakouts,
   and a staggered start offset — not from bending photo dimensions. */
.masonry {
  column-count: 3;
  column-gap: 1.3rem;
}

.masonry .tile {
  break-inside: avoid;
  margin-bottom: 1.3rem;
  border-radius: 2px;
  overflow: hidden;
}

.masonry .tile.stagger { margin-top: 2.6rem; }

.masonry .tile.breakout { column-span: all; margin-bottom: 1.3rem; }

.masonry .tile.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

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

@media (max-width: 560px) {
  .masonry { column-count: 1; }
  .masonry .tile.stagger { margin-top: 0; }
}

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
}

.contact-info .info-item { margin-bottom: 1.8rem; }

.contact-info .info-item .label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--stone-solid);
  display: block;
  margin-bottom: 0.4em;
}

.contact-info .info-item a,
.contact-info .info-item span {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.quick-links {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6em;
  color: var(--stone-solid);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 0.6em 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--terracotta); }

.form-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--sage-dark);
  margin-top: 0.5rem;
  display: none;
}

.form-note.visible { display: block; }

/* ---------- Contact: full booking inquiry (second tier) ---------- */
button.arrow-link {
  background: none;
  border: none;
  border-bottom: 1px solid var(--charcoal);
  padding: 0;
  font: inherit;
  cursor: pointer;
  margin-top: 2rem;
}

button.arrow-link:hover { border-color: var(--terracotta); }

.booking-toggle[aria-expanded="true"] .arrow { transform: rotate(90deg); }

.booking-form-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.booking-form-inner {
  padding-top: 4.5rem;
  max-width: 920px;
}

.booking-form-inner .lede { margin-bottom: 2.4rem; }

.contact-form.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 2.4rem;
}

.contact-form.booking-grid .full-width { grid-column: 1 / -1; }

.contact-form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 0.6em 1.3rem 0.6em 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
}

.contact-form select:invalid { color: var(--stone-solid); }
.contact-form select:focus { outline: none; border-color: var(--terracotta); }

.select-wrap { position: relative; }

.select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 0.15rem;
  bottom: 0.6em;
  pointer-events: none;
  color: var(--stone-solid);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .contact-form.booking-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact: date range field ---------- */
.date-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 2.4rem;
}

.date-field .sublabel {
  font-size: 0.68rem;
  color: var(--stone-solid);
}

.date-field input[type="date"] {
  color-scheme: light;
}

.date-field input[type="date"]:disabled {
  color: var(--stone-solid);
  border-color: var(--cream-dark);
  cursor: not-allowed;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-solid);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  margin: 0;
  accent-color: var(--terracotta);
  cursor: pointer;
}

@media (max-width: 560px) {
  .date-range-row { grid-template-columns: 1fr; gap: 1.7rem; }
}

/* ---------- Lightbox ---------- */
.lightbox-trigger {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.lightbox-trigger .ph-img { transition: transform 0.5s ease; }
.lightbox-trigger:hover .ph-img { transform: scale(1.035); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(33, 30, 25, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

body.lightbox-lock { overflow: hidden; }

.lightbox-stage {
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.lightbox-media {
  width: 100%;
}

.lightbox-media .ph-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  max-height: 78vh;
}

.lightbox-media .ph-img svg { width: 40px; height: 40px; }
.lightbox-media .ph-img img { object-fit: contain; background: var(--charcoal); }

.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-solid);
  margin-top: 1.3rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--font-display);
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close {
  top: 1.8rem;
  right: 2.2rem;
  font-size: 2.2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  padding: 0.5rem 0.8rem;
}

.lightbox-prev { left: 0.8rem; }
.lightbox-next { right: 0.8rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--terracotta); }

.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 700px) {
  .lightbox { padding: 1.5rem; }
  .lightbox-close { top: 1rem; right: 1.2rem; font-size: 1.8rem; }
  .lightbox-prev, .lightbox-next { font-size: 1.8rem; padding: 0.3rem 0.5rem; }
}

/* ---------- Gallery pattern: Story + Hero ---------- */
.story-hero {
  position: relative;
  height: 78vh;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.story-hero .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }

.story-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,30,25,0.1) 0%, rgba(33,30,25,0.7) 100%);
}

.story-hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 3.5rem; color: var(--cream); }
.story-hero-inner .eyebrow-mono { color: var(--terracotta); }
.story-hero-inner h1 { color: var(--cream); }

.story-copy {
  max-width: 640px;
  margin: 4rem auto 0;
  padding: 0 2rem;
}

.story-copy p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--terracotta);
  margin-right: 0.08em;
  line-height: 0.6;
  float: left;
}

/* ---------- Gallery pattern: Quote + Grid ---------- */
.quote-lead {
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
  padding: 5rem 2rem 1rem;
}

.quote-lead .mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--terracotta);
  line-height: 0.5;
  display: block;
  margin-bottom: 0.5rem;
}

.quote-lead blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  margin: 0;
}

.quote-lead cite {
  display: block;
  margin-top: 1.2em;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-solid);
}

.soft-end {
  text-align: center;
  padding: 3rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-solid);
}

/* ---------- Gallery pattern: Grid + CTA ---------- */
.grid-cta-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone);
}

/* ---------- Portfolio hub: chapter index ---------- */
.chapter-index { margin-top: 1rem; }

.chapter-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--stone);
  position: relative;
}

.chapter-index a.chapter-row:last-child { border-bottom: 1px solid var(--stone); }

.chapter-row-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracotta);
  flex-shrink: 0;
  width: 30px;
}

.chapter-row-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.chapter-row:hover .chapter-row-name { color: var(--terracotta); }

.chapter-row-desc {
  font-size: 0.88rem;
  color: var(--stone-solid);
  max-width: 300px;
  flex: 1;
}

.chapter-row-thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chapter-row:hover .chapter-row-thumb { opacity: 1; transform: scale(1); }

.chapter-row-arrow {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.chapter-row:hover .chapter-row-arrow { transform: translateX(6px); color: var(--terracotta); }

@media (max-width: 760px) {
  .chapter-row { flex-wrap: wrap; gap: 0.8rem 1.2rem; }
  .chapter-row-thumb { display: none; }
  .chapter-row-desc { order: 3; max-width: 100%; }
}

/* ---------- Home: wedding gallery band ----------
   Real weight, real photos — this is a core part of the business.
   Kept a notch more compact than the main Portfolio chapter index
   so it still reads as a related-but-separate destination (Pixieset). */
.wedding-band { padding: 5.5rem 0; }

.wedding-band-head { margin-bottom: 2.8rem; max-width: 560px; }

.wedding-band-head .eyebrow-mono { color: var(--terracotta); }

.wedding-band-note {
  font-size: 0.92rem;
  color: var(--stone-solid);
  margin: 0.6rem 0 0;
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.wedding-grid .wedding-chip:nth-child(even) { margin-top: 3rem; }

.wedding-chip { display: block; }

.wedding-chip-media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.wedding-chip-media .ph-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  transition: transform 0.5s ease;
}

.wedding-chip:hover .ph-img { transform: scale(1.06); }

.wedding-chip-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,30,25,0) 42%, rgba(33,30,25,0.8) 100%);
  transition: opacity 0.3s ease;
}

.wedding-chip-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.2rem;
}

.wedding-chip-name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  transition: color 0.2s ease;
}

.wedding-chip-name .ext { font-size: 0.75rem; margin-left: 0.3em; opacity: 0.85; }

.wedding-chip:hover .wedding-chip-name { color: var(--terracotta); }

.wedding-chip-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247,242,231,0.82);
  margin-top: 0.3em;
}

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

@media (max-width: 600px) {
  .wedding-grid { grid-template-columns: 1fr; }
  .wedding-grid .wedding-chip:nth-child(even) { margin-top: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5.5rem 0 2.5rem;
}

.footer-cta {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-cta .eyebrow-mono { color: var(--terracotta); }

.footer-cta h2 {
  color: var(--cream);
  margin: 0.3em 0 1.5em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.btn-solid.on-dark { background: var(--cream); color: var(--charcoal); }
.btn-solid.on-dark:hover { background: var(--terracotta); color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  border-top: 1px solid rgba(247,242,231,0.15);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone-solid);
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a { color: var(--stone-solid); }
.footer-links a:hover { color: var(--cream); }
