/* ============================================================
   SAMIR FAZA — Wedding & Elopement Photography
   Editorial magazine aesthetic.
   ============================================================ */

/* -------- Reset & base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Visually-hidden but accessible to screen readers and search engines.
   Used for semantic SEO H1s that supplement the visible poetic headlines. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------- Image copyright protection --------
   Discourages casual saving via right-click and drag. Note: this is a deterrent,
   not enforcement — anyone with a screenshot tool or browser dev tools can still
   capture images. The real protection is the copyright notice + GDPR/IP law. */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;  /* iOS long-press save sheet */
}

.copyright-tooltip {
  position: fixed;
  z-index: 9999;
  background: rgba(26, 23, 20, 0.95);
  color: #fbf7ee;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  border-radius: 4px;
  max-width: 280px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(140%) blur(6px);
}
.copyright-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:root {
  /* Palette: clean cream, deep ink, restrained warmth */
  --bg: #f6f1e7;              /* soft cream */
  --bg-warm: #ebe3d2;          /* deeper cream */
  --paper: #fbf7ee;            /* lightest cream */
  --ink: #1a1714;              /* near-black, warm */
  --ink-soft: #3a342c;
  --muted: #8a8275;
  --line: #d8cfbb;
  --accent: #b59c78;            /* warm wheat */

  /* Type */
  --display: "Italiana", "Cormorant Garamond", "Times New Roman", serif;
  --serif:   "Cormorant Garamond", "EB Garamond", Garamond, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --tracking-tight:  0.02em;
  --tracking-mid:    0.18em;
  --tracking-wide:   0.32em;
  --tracking-wider:  0.5em;
  --tracking-widest: 0.72em;

  /* Layout */
  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 80px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------- Typography -------- */
.h-display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 7rem);
}

.h-statement {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.h-section {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.h-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
}

.h-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--ink-soft);
}

.h-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
}

.h-eyebrow--muted { color: var(--muted); }
.h-eyebrow--accent { color: var(--accent); }

.script-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1.3em 0; }
.lead {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 62ch;
}
.lead--center { margin-left: auto; margin-right: auto; }

/* -------- Layout primitives -------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding: clamp(80px, 12vw, 180px) 0;
}
.section--tight { padding: clamp(40px, 6vw, 90px) 0; }
.section--paper { background: var(--paper); }
.section--warm { background: var(--bg-warm); }

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

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 24px auto;
  border: 0;
}
.divider--left { margin-left: 0; margin-right: 0; }

/* -------- Header / Nav -------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 0;
  background: transparent;
}
.site-header--solid {
  position: sticky;
  background: rgba(246, 241, 231, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  font-family: var(--display);
  letter-spacing: var(--tracking-mid);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--ink);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
  font-weight: 400;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  border-bottom-color: var(--accent);
}
.nav-cta {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink);
}

/* -------- Language toggle (DA / EN) -------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}
.lang-toggle__btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.lang-toggle__btn:hover { color: var(--ink); }
.lang-toggle__btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.lang-toggle__sep {
  color: var(--muted);
  font-size: 0.7rem;
}
.mobile-menu__lang {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.mobile-menu__lang .lang-toggle { margin-right: 0; }

/* On the hero (transparent) header, recolour to white */
body:has(.hero-cycle) .site-header:not(.site-header--solid) .lang-toggle__btn {
  color: rgba(255, 255, 255, 0.7);
}
body:has(.hero-cycle) .site-header:not(.site-header--solid) .lang-toggle__btn:hover,
body:has(.hero-cycle) .site-header:not(.site-header--solid) .lang-toggle__btn.is-active {
  color: #fff;
  border-bottom-color: #fff;
}
body:has(.hero-cycle) .site-header:not(.site-header--solid) .lang-toggle__sep {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  /* Hide desktop lang toggle on small screens — the mobile menu has its own copy */
  .site-header > .nav > .lang-toggle { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 28px var(--gutter) 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mobile-menu.open { display: flex; }

/* -------- Buttons / Links -------- */
.btn-text {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  transition: opacity .3s;
}
.btn-text:hover { opacity: 0.6; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .3s, color .3s;
  font-weight: 400;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--filled { background: var(--ink); color: var(--paper); }
.btn--filled:hover { background: transparent; color: var(--ink); }

/* -------- Hero — editorial statement + photo strips -------- */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--bg);
}

.hero-statement {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 110px) var(--gutter) clamp(60px, 10vw, 130px);
}

.hero-statement .h-statement {
  margin-top: 16px;
}

/* -------- Cycling hero slideshow -------- */
.hero-cycle {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #2a2520;
}
.hero-cycle__stage {
  position: absolute;
  inset: 0;
}
.hero-cycle__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: ease-in-out;
  will-change: opacity;
}
.hero-cycle__slide.is-active {
  opacity: 1;
}
.hero-cycle__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.20) 0%,
      rgba(0,0,0,0.00) 18%,
      rgba(0,0,0,0.00) 68%,
      rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero-cycle__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 var(--gutter) clamp(48px, 8vw, 100px);
  color: #fbf7ee;
  pointer-events: none;
}
.hero-cycle__eyebrow {
  color: rgba(251, 247, 238, 0.88);
  margin-bottom: 18px;
}
.hero-cycle__statement {
  color: #fbf7ee;
  max-width: 22ch;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

/* When the header is over the slideshow, make it light */
.hero-cycle ~ .site-header,
body:has(.hero-cycle) .site-header:not(.site-header--solid) {
  /* handled inline below */
}
body:has(.hero-cycle) .site-header .brand,
body:has(.hero-cycle) .site-header .nav-links a,
body:has(.hero-cycle) .site-header .nav-cta,
body:has(.hero-cycle) .site-header .menu-toggle {
  color: #fbf7ee;
}
body:has(.hero-cycle) .site-header .brand small {
  color: rgba(251, 247, 238, 0.72);
}
body:has(.hero-cycle) .site-header .nav-cta {
  border-color: #fbf7ee;
}
body:has(.hero-cycle) .site-header .nav-links a.active,
body:has(.hero-cycle) .site-header .nav-links a:hover {
  border-bottom-color: #fbf7ee;
}

/* Photo strips — edge-to-edge, no gutter */
.strip {
  display: grid;
  gap: 0;
}
.strip--4 { grid-template-columns: repeat(4, 1fr); }
.strip--3 { grid-template-columns: repeat(3, 1fr); }
.strip--2 { grid-template-columns: repeat(2, 1fr); }

.strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.strip--landscape img { aspect-ratio: 4 / 3; }
.strip--portrait img  { aspect-ratio: 3 / 4; }

@media (max-width: 760px) {
  .strip--4 { grid-template-columns: repeat(2, 1fr); }
  .strip--3 { grid-template-columns: 1fr; }
}

/* Photo grid — with small gap */
.mosaic {
  display: grid;
  gap: 6px;
}
.mosaic--4 { grid-template-columns: repeat(4, 1fr); }
.mosaic--3 { grid-template-columns: repeat(3, 1fr); }
.mosaic--2 { grid-template-columns: repeat(2, 1fr); }

.mosaic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 760px) {
  .mosaic--4 { grid-template-columns: repeat(2, 1fr); }
  .mosaic--3 { grid-template-columns: repeat(2, 1fr); }
}

/* -------- Editorial intro block (eyebrow + sub + body + cta) -------- */
.intro-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.intro-block .h-eyebrow { margin-bottom: 20px; }
.intro-block .h-script { display: block; margin: 18px 0 28px; }
.intro-block .lead { margin: 0 auto 36px; }

/* -------- About strip (asymmetric: photo + text) -------- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.about-strip img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about-strip--imgright {
  grid-template-columns: 1fr 1fr;
}
.about-strip .h-section { margin-top: 12px; }
.about-strip .lead { margin-top: 24px; }

@media (max-width: 880px) {
  .about-strip { grid-template-columns: 1fr; }
}

/* About hero — bigger, layered version */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  padding: clamp(80px, 12vw, 180px) 0;
}
.about-hero img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about-hero .eyebrow-stack {
  margin-bottom: 24px;
}
.about-hero .eyebrow-stack .h-eyebrow {
  display: block;
  margin-bottom: 12px;
}
.about-hero .pronouns {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
  display: block;
}
@media (max-width: 880px) {
  .about-hero { grid-template-columns: 1fr; }
}

/* -------- Featured story block -------- */
.feature {
  padding: clamp(60px, 8vw, 120px) 0;
}
.feature-label {
  text-align: center;
  margin-bottom: 24px;
}
.feature-label .names {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.1;
}
.feature-label .pipe {
  margin: 0 14px;
  color: var(--muted);
  font-weight: 200;
}
.feature-label .place {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  font-size: 0.8em;
  letter-spacing: 0.02em;
}

.feature-quote {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* -------- Portfolio link bar -------- */
.portfolio-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
}
.portfolio-bar .sep { color: var(--line); }
.portfolio-bar a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.portfolio-bar a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.portfolio-bar a.is-strong {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* -------- "PHOTOGRAPHY YOU CAN FEEL" style labels -------- */
.section-label {
  text-align: center;
  margin-bottom: 56px;
}
.section-label .h-eyebrow {
  display: block;
  margin-bottom: 16px;
}

/* -------- Page banner (interior pages) -------- */
.page-banner {
  text-align: center;
  padding: clamp(140px, 18vw, 240px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.page-banner .h-eyebrow { display: block; margin-bottom: 24px; }
.page-banner .h-display { max-width: 18ch; margin: 0 auto; }
.page-banner .h-sub { margin-top: 24px; }
.page-banner .extra { margin-top: 40px; }

/* -------- Portfolio: shoot-based layout -------- */
.shoot {
  padding-top: clamp(70px, 9vw, 130px);
  padding-bottom: clamp(70px, 9vw, 130px);
}
.shoot + .shoot {
  border-top: 1px solid var(--line);
}
.shoot-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 72px);
}
.shoot-head .h-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
}
.shoot-couple {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  margin: 0 0 14px 0;
}
.shoot-meta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  margin: 0;
  letter-spacing: 0.01em;
}
.shoot-meta .dot {
  margin: 0 12px;
  color: var(--accent);
}
.shoot-meta .shoot-date {
  color: var(--muted);
}
.shoot-excerpt {
  margin: 24px auto 0;
  max-width: 56ch;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.landscape-break {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Filter bar (in banner) */
.portfolio-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}
.filter-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.filter-chip {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
}
.filter-chip:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.filter-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.jump-row {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}
.jump-link {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
  padding-bottom: 1px;
}
.jump-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.jump-row .sep {
  color: var(--line);
  margin: 0 4px;
}

/* Legacy classes kept for components that still reference them */
.chapter-head {
  text-align: center;
  margin-bottom: 60px;
}
.chapter-head .h-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
}
.chapter-head .h-section {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
}
.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.portfolio-nav a {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.portfolio-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* -------- Pricing collections -------- */
.collection {
  background: var(--paper);
  padding: clamp(36px, 4.5vw, 56px);
  border: 1px solid var(--line);
  text-align: center;
}
.collection .h-eyebrow { display: block; margin-bottom: 16px; color: var(--muted); }
.collection h3 { font-family: var(--display); font-weight: 400; margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.collection .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  display: block;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.collection ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}
.collection li {
  font-size: 0.92rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.collection li:last-child { border-bottom: 0; }
.collection--featured {
  background: var(--bg-warm);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* -------- FAQ -------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: 0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 200;
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform .3s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding-top: 18px;
  color: var(--ink-soft);
  max-width: 72ch;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* -------- Testimonials -------- */
.testimonial {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial .h-eyebrow {
  display: block;
  margin-bottom: 28px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 28px 0;
  font-weight: 400;
}
.testimonial cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
}

.review-paired {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.review-paired img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.review-paired blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 400;
}
.review-paired cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .review-paired { grid-template-columns: 1fr; }
}

/* -------- Contact / form -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: flex-start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
form .field { margin-bottom: 28px; }
form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 400;
}
form input, form textarea, form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  font-weight: 400;
}
form input:focus, form textarea:focus, form select:focus {
  border-bottom-color: var(--ink);
}
form textarea { min-height: 140px; resize: vertical; }

/* -------- Footer -------- */
.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  padding: clamp(80px, 10vw, 140px) 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer .h-display {
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: var(--tracking-tight);
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li {
  padding: 8px 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* -------- Misc helpers -------- */
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.full-bleed-img {
  width: 100%;
  height: clamp(420px, 75vh, 820px);
  object-fit: cover;
  display: block;
}
.cta-banner {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  background: var(--paper);
}
.cta-banner .h-eyebrow { display: block; margin-bottom: 24px; }
.cta-banner .h-section { max-width: 24ch; margin: 0 auto 32px; }
.cta-banner .lead { margin: 0 auto 36px; }

/* Big "filler" display text used as section divider */
.filler-title {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}
.filler-title .h-display {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-style: normal;
}
.filler-title .script-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  margin-top: 16px;
  display: block;
}

/* -------- iMessage / SMS contact option -------- */
.imessage-cta {
  margin-top: 40px;
  text-align: center;
}
.imessage-cta__divider {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0 18px;
  margin-bottom: 24px;
}
.imessage-cta__divider::before,
.imessage-cta__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--line);
}
.imessage-cta__divider::before { right: 100%; }
.imessage-cta__divider::after  { left:  100%; }
.imessage-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  max-width: 100%;
}
.imessage-link:hover {
  background: var(--bg-warm);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.imessage-link__icon {
  font-size: 1.4rem;
  line-height: 1;
}
.imessage-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.imessage-link__text strong {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.imessage-link__text small {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* -------- Inquiry form thanks state -------- */
.inquiry-thanks {
  padding: clamp(32px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  animation: thanksIn 0.5s ease-out;
}
@keyframes thanksIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------- Cookie consent banner -------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--bg);
  padding: 20px 24px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.4);
  animation: cookieIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.is-leaving {
  animation: cookieOut 0.3s ease-in forwards;
}
@keyframes cookieIn {
  from { transform: translateY(140%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieOut {
  to { transform: translateY(140%); opacity: 0; }
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.cookie-banner strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #d8d2c5;
}
.cookie-banner a {
  color: var(--bg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.cookie-banner a:hover { color: var(--accent); }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 12px 22px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--bg);
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cookie-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }
.cookie-btn--ghost {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-btn--ghost:hover {
  background: transparent;
  border-color: var(--bg);
  color: var(--bg);
}
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-banner__inner { grid-template-columns: 1fr; gap: 14px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 14px 16px; }
}

/* -------- Pricing categories (investment page) -------- */
.pricing-category + .pricing-category {
  border-top: 1px solid var(--line);
}
.pricing-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.pricing-head .h-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
}
.pricing-bigtitle {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
}
.pricing-intro {
  margin: 24px auto 0;
}

/* ============================================================
   MOBILE OPTIMISATION
   Everything below tunes the layout for phones and tablets.
   Add or tighten rules here without touching the rest of the
   stylesheet.
   ============================================================ */

/* iOS Safari has a "dynamic" viewport that grows/shrinks with the
   URL bar. svh ("small viewport height") locks to the smallest size
   so the hero never gets cropped under the home indicator. */
@supports (height: 100svh) {
  .hero-cycle { height: 100svh; }
}

/* Prevent horizontal scroll caused by full-bleed elements that
   overflow by a pixel on some browsers. */
html, body {
  overflow-x: hidden;
}

/* Form inputs need to be at least 16px on iOS or Safari zooms in
   when the user taps. Ours already clear that, but make it explicit. */
form input, form textarea, form select {
  font-size: 16px;
}

/* ---------- TABLET & DOWN  (≤ 900px) ---------- */
@media (max-width: 900px) {

  /* Smaller hero overlay text */
  .hero-cycle__statement { font-size: clamp(1.2rem, 4.5vw, 1.8rem); }
  .hero-cycle__eyebrow   { font-size: 0.62rem; letter-spacing: 0.5em; }
  .hero-cycle__overlay   { padding-bottom: clamp(60px, 12vw, 90px); }

  /* Header — tighten nav row, hide sub-tagline on tiny screens */
  .site-header { padding: 20px 0; }
  .brand       { font-size: 0.95rem; }
  .brand small { font-size: 0.55rem; letter-spacing: 0.28em; }

  /* Mobile menu becomes a full-width drawer below the nav */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 16px 32px -16px rgba(0,0,0,0.3);
  }
  .mobile-menu a {
    padding: 6px 0;
    font-size: 0.78rem;
  }

  /* Tap targets — pad the menu button generously */
  .menu-toggle {
    padding: 12px 16px;
    min-height: 44px;
  }
  .nav-cta { padding: 10px 14px; }

  /* Sections — collapse generous desktop padding */
  .section          { padding: clamp(56px, 12vw, 90px) 0; }
  .section--tight   { padding: clamp(28px, 6vw, 60px) 0; }
  .page-banner      { padding: clamp(120px, 28vw, 160px) 0 clamp(40px, 10vw, 70px); }
  .cta-banner       { padding: clamp(60px, 14vw, 100px) var(--gutter); }
  .intro-block      { padding: clamp(56px, 14vw, 100px) var(--gutter); }
  .filler-title     { padding: clamp(32px, 8vw, 60px) var(--gutter); }

  /* Editorial photo strips and mosaics — fewer columns, more breathing room */
  .strip--4 { grid-template-columns: repeat(2, 1fr); }
  .strip--3 { grid-template-columns: 1fr; }
  .strip--3.strip--landscape { grid-template-columns: 1fr; }
  .mosaic--4 { grid-template-columns: repeat(2, 1fr); }
  .mosaic--3 { grid-template-columns: repeat(2, 1fr); }
  .mosaic { gap: 4px; }

  /* About-hero — image takes natural height, doesn't dominate */
  .about-hero, .about-strip {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 48px);
  }
  .about-hero img, .about-strip img {
    aspect-ratio: 4 / 5;
    max-height: 60vh;
    object-fit: cover;
  }

  /* Galleries / pricing — collapse to single column */
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }

  /* Featured galleries cards — images shorter on mobile */
  .grid-3 img[style*="aspect-ratio: 4/5"],
  .grid-3 a img {
    aspect-ratio: 3 / 4 !important;
  }

  /* Portfolio bar — wrap nicely on small screens */
  .portfolio-bar {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 24px var(--gutter);
    font-size: 0.62rem;
  }

  /* Filter bar — horizontally scrollable chips so they don't pile up */
  .portfolio-filter-bar {
    width: 100%;
  }
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;       /* Firefox */
    width: 100%;
    padding: 4px 4px 12px;
    justify-content: flex-start;
  }
  .filter-row::-webkit-scrollbar { display: none; }   /* iOS / Chrome */
  .filter-chip { flex: 0 0 auto; padding: 10px 18px; }
  .jump-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
    font-size: 0.85rem;
  }

  /* Shoots — tighter rhythm between groups */
  .shoot { padding-top: 60px; padding-bottom: 60px; }
  .shoot-head { margin-bottom: 32px; }
  .shoot-couple { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .shoot-excerpt { font-size: 0.92rem; margin-top: 18px; }

  /* Pricing — reduce inner padding */
  .collection { padding: 32px 24px; }
  .collection h3 { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* FAQ — bigger summary tap area */
  .faq-item { padding: 22px 0; }
  .faq-item summary { font-size: 1.2rem; line-height: 1.3; }

  /* Testimonials — single column with image on top */
  .review-paired {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .review-paired img { aspect-ratio: 4 / 5; max-height: 60vh; }
  .testimonial blockquote { font-size: clamp(1.2rem, 5vw, 1.7rem); }

  /* Contact — wider field labels, more spacing */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  form .field { margin-bottom: 22px; }

  /* Buttons — bigger tap targets */
  .btn, .btn--filled {
    padding: 16px 26px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .btn-text {
    padding: 8px 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  /* Full-bleed images — shorter so they don't dominate */
  .full-bleed-img {
    height: clamp(280px, 55vh, 460px);
  }

  /* Footer — single column on small phones */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > div:first-child { margin-bottom: 16px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.6rem;
  }
}

/* ---------- PHONES ONLY  (≤ 560px) ---------- */
@media (max-width: 560px) {

  /* Hide the sub-tagline under the brand on very small screens so the
     header stays on one line */
  .brand small { display: none; }

  /* Display headlines — keep them readable but not page-busting */
  .h-display    { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .h-section    { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .h-statement  { font-size: clamp(1.05rem, 5.5vw, 1.4rem); letter-spacing: 0.04em; }

  /* Gutters narrower */
  :root { --gutter: 18px; }

  /* About-hero images — cap shorter */
  .about-hero img, .about-strip img { max-height: 52vh; }

  /* Mosaic 4-up → 2-up looks better than the 3-up which we already broke */
  .mosaic--4, .mosaic--3 { grid-template-columns: repeat(2, 1fr); }

  /* CTA & intro — less giant whitespace */
  .cta-banner   { padding: 56px 18px; }
  .intro-block  { padding: 56px 18px; }
  .intro-block .h-script { font-size: 1.05rem; }

  /* Slide-in mobile menu, slightly larger touch targets */
  .mobile-menu { padding: 24px 18px 30px; }
  .mobile-menu a { padding: 10px 0; font-size: 0.82rem; }

  /* Shoot meta — center align if it wraps */
  .shoot-meta { font-size: 0.95rem; line-height: 1.5; }
  .shoot-meta .dot { display: none; }
  .shoot-meta span { display: block; margin: 2px 0; }

  /* Forms — slightly larger padding for thumbs */
  form input, form textarea, form select {
    padding: 14px 0;
  }
  form label { font-size: 0.62rem; }
}

/* ---------- LANDSCAPE PHONES ---------- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  /* When the phone is turned sideways, the 100vh hero is way too short.
     Lock to a reasonable height instead. */
  .hero-cycle { height: 100vh; min-height: 360px; }
  .page-banner { padding: 100px 0 50px; }
}

/* ---------- INVESTMENT: PRICING + CALCULATOR ---------- */
.pricing-headline {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
}
.pricing-rules {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 52ch;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink-soft);
}
.pricing-rules li { letter-spacing: 0.01em; }

.calc {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}
.calc-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}
.calc-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
@media (max-width: 640px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.calc-field { text-align: center; }
.calc-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.calc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
}
.calc-btn {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  width: 48px;
  height: 56px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.calc-btn:hover { background: var(--ink); color: var(--paper); }
.calc-stepper input {
  width: 80px;
  height: 56px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--ink);
  padding: 0;
  -moz-appearance: textfield;
}
.calc-stepper input::-webkit-outer-spin-button,
.calc-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-stepper input:focus { outline: 1px solid var(--accent); outline-offset: 2px; }
.calc-hint {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.calc-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 36px);
  margin-top: clamp(24px, 3vw, 36px);
  gap: 16px;
  flex-wrap: wrap;
}
.calc-total-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
}
.calc-total-amount {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.calc-travel {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: right;
}
.calc-cta { margin-top: clamp(28px, 4vw, 40px); }

.samples-list {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 720px;
  border-top: 1px solid var(--line);
}
.sample-row { border-bottom: 1px solid var(--line); }
.sample-btn {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 24px;
  width: 100%;
  padding: 20px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  transition: background 0.2s, padding-left 0.2s;
}
.sample-btn:hover { background: var(--paper); padding-left: 16px; }
.sample-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}
.sample-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.sample-total {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .sample-btn {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .sample-meta, .sample-total { text-align: left; }
}

/* ---------- IMAGE LOADING HINT ---------- */
img { content-visibility: auto; }      /* lazy paint when off-screen */

/* ---------- SCROLL REVEAL / MOTION ---------- */
html { scroll-behavior: smooth; }

/* Section-level reveal: gentle fade + rise as it enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1),
              transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Full-bleed images settle in with a subtle scale */
.full-bleed-img.reveal { transform: translateY(28px) scale(1.04); }
.full-bleed-img.reveal.is-visible { transform: none; }

/* Staggered children for photo strips, mosaics and card grids */
.reveal-child {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
              transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-child.is-visible { opacity: 1; transform: none; }

/* ---------- LIGHTBOX (click-to-expand images) ---------- */
img.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(16, 15, 14, 0.94);
  opacity: 0;
  visibility: hidden;
  cursor: zoom-out;
  transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  transform: scale(.96);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(10px, 2vw, 22px);
  right: clamp(14px, 2.5vw, 28px);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease;
}
.lightbox__close:hover { opacity: 1; }

/* ---------- REDUCE MOTION PREFERENCE ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox, .lightbox__img { transition: opacity .2s ease !important; transform: none !important; }
  .reveal,
  .reveal-child,
  .full-bleed-img.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-cycle__slide,
  .gallery-card img,
  .filter-chip,
  .portfolio-nav a,
  .jump-link {
    transition: none !important;
  }
}

/* ============================================================================
   JOURNAL (blog) — index cards + single post
   ============================================================================ */
.journal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.journal-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.journal-card__media {
  overflow: hidden;
  background: var(--bg-warm);
}
.journal-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.journal-card:hover .journal-card__media img { transform: scale(1.03); }
.journal-card__text { padding: 22px 0 0; }
.journal-card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  margin: 14px 0 12px;
}
.journal-card .lead { font-size: 0.96rem; margin-bottom: 16px; }

/* --- single post --- */
.journal-article { padding-top: clamp(96px, 12vh, 150px); }
.journal-back { display: inline-block; margin-bottom: 32px; }
.journal-article__head { margin-bottom: 36px; }
.journal-article__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-top: 16px;
}
.journal-article__media { margin: 0 0 clamp(32px, 5vw, 56px); }
.journal-article__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--bg-warm);
}
.journal-article__body .lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.3em;
  text-align: left;
  max-width: none;
}
.journal-article__byline {
  margin-top: 40px;
  font-size: 0.8rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
}

/* --- "latest writing" list at the foot of a post --- */
.journal-more { list-style: none; padding: 0; margin: 28px 0 0; }
.journal-more li { border-top: 1px solid var(--line); }
.journal-more li:last-child { border-bottom: 1px solid var(--line); }
.journal-more a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.journal-more a:hover { opacity: 0.6; }
.journal-more__date {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--muted);
  min-width: 9ch;
}
.journal-more__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

@media (max-width: 760px) {
  .journal-list { grid-template-columns: 1fr; }
  .journal-more a { flex-direction: column; gap: 6px; }
}
