/*
Theme Name: Nick Holmes Photography
Theme URI: https://nickholmesonline.com
Author: Nick Holmes
Description: Custom photography portfolio theme for Nick Holmes Photography — redesigned 2026
Version: 1.91
*/

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

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --accent:       #c9a96e;
  --bg:           #faf8f5;
  --surface:      #ffffff;
  --text:         #1a1612;
  --text-muted:   #7a7068;
  --border:       rgba(26,22,18,0.10);
  --nav-blur:     0;
  --nav-bg:       rgba(250,248,245,0);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-title:   'Cinzel', 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, sans-serif;
  /* Legacy compat */
  --black:      #080808;
  --near-black: #111111;
  --dark:       #1a1a1a;
  --mid:        #2e2e2e;
  --dim:        #666666;
  --muted:      #999999;
  --light:      #cccccc;
  --cream:      #e8e2d9;
  --white:      #f5f2ee;
  --serif:  var(--font-display);
  --sans:   var(--font-body);
  --max-width: 1200px;
}
[data-theme="dark"] {
  --bg:         #0e0e0f;
  --surface:    #161618;
  --text:       #e8e4dd;
  --text-muted: #7a7470;
  --border:     rgba(255,255,255,0.07);
  --nav-bg:     rgba(10,10,11,0);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; pointer-events: auto; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
p, li, a, span, time { font-family: var(--font-body); }

/* ── LEGACY COMPAT: container, eyebrow, btn ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 640px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { color: var(--accent); border-color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* Fade-in (used by old templates) */
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
#main-nav.scrolled {
  --nav-bg: rgba(250,248,245,0.80);
  --nav-blur: 20px;
  border-color: var(--border);
}
[data-theme="dark"] #main-nav.scrolled { --nav-bg: rgba(10,10,11,0.80); }
.nav-inner { width: 100%; display: flex; align-items: center; gap: 40px; }
.nav-brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text);
  white-space: nowrap;
  margin-right: auto;
}
#main-nav:not(.scrolled) .nav-brand,
#main-nav:not(.scrolled) .nav-links li { color: rgba(255,255,255,0.92); }
.nav-item:not(.has-dropdown):hover { color: var(--accent) !important; }
.has-dropdown:hover .services-label { color: var(--accent) !important; }
#main-nav:not(.scrolled) .nav-item:not(.has-dropdown):hover { color: var(--accent) !important; opacity: 1 !important; }
#main-nav:not(.scrolled) .has-dropdown:hover .services-label { color: var(--accent) !important; opacity: 1 !important; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-item {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.nav-item:hover { color: var(--text); }

/* ── SERVICES INLINE REVEAL ── */
.has-dropdown { position: relative; display: flex; align-items: center; }
.services-label { display: inline-block; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.has-dropdown.open .services-label { transform: translateX(-4px); }
.services-inline {
  display: flex;
  align-items: stretch;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.78s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.has-dropdown.open .services-inline { pointer-events: auto; }
.svc-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 20px 14px;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.22s ease, color 0.15s, background 0.15s;
}
#main-nav.scrolled .svc-link { color: var(--text); }
.has-dropdown.open .svc-link { opacity: 1; }
.has-dropdown.open .svc-link:nth-child(1) { transition-delay: 0.15s; }
.has-dropdown.open .svc-link:nth-child(2) { transition-delay: 0.22s; }
.has-dropdown.open .svc-link:nth-child(3) { transition-delay: 0.29s; }
.svc-link:hover { color: var(--accent) !important; }
.nav-links:has(.has-dropdown.open) .nav-item:not(.has-dropdown) { opacity: 0.35; }
.nav-links .nav-item { transition: color 0.2s ease, opacity 0.25s ease; }

/* ── THEME TOGGLE ── */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
}
#theme-toggle:hover { opacity: 1; color: var(--accent); }

/* ── CTA BUTTON ── */
.btn-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.1s ease;
  will-change: transform;
}
.btn-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.btn-cta:hover { color: var(--accent); border-color: var(--accent); }
.btn-cta:hover::after { width: 100%; }
.btn-cta:active { transform: scale(0.97); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(1.0) contrast(1.05);
  transform-origin: center 35%;
  will-change: transform;
}
@keyframes kenBurns {
  from { transform: scale(1.16) translateY(1.8%); }
  to   { transform: scale(1.0)  translateY(0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.01) 30%,
    rgba(0,0,0,0.26) 70%,
    rgba(8,8,8,1)    100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}
.hero-location {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── HERO TITLE CARD ── */
.hero-lockup { margin-top: 20px; display: inline-flex; flex-direction: column; align-items: stretch; }
.lockup-frame-top, .lockup-frame-bottom { display: flex; flex-direction: column; gap: 4px; }
.lf-bar { display: block; }
.lf-thick {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(201,169,110,0.55) 55%, transparent 100%);
}
.lf-thin {
  height: 0.5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 55%, transparent 100%);
}
.lockup-name-row { padding: 14px 0 10px; }
.lockup-name {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.lockup-orn { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; opacity: 1; }
.orn-line { flex: 1; height: 0.5px; background: rgba(201,169,110,0.45); display: block; }
.orn-dots { display: flex; align-items: center; gap: 0.45em; flex-shrink: 0; }
.orn-dot { font-size: 7px; color: var(--accent); display: block; }
.lockup-photography {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: clamp(12px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  padding-bottom: 14px;
}
.hero-cta {
  margin-top: 44px;
  color: rgba(255,255,255,0.88) !important;
  border-color: rgba(255,255,255,0.35) !important;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero-cta:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.cta-line { display: block; width: 32px; height: 1px; background: var(--accent); flex-shrink: 0; }

/* ── HERO ENTRANCE ANIMATIONS ── */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { to { opacity: 1; } }
@keyframes ruleIn  { to { opacity: 1; transform: scaleX(1); } }
@keyframes ornSlideLeft  { to { opacity: 1; transform: translateX(0); } }
@keyframes ornSlideRight { to { opacity: 1; transform: translateX(0); } }

.hero-location {
  opacity: 0; transform: translateY(6px);
  animation: fadeUp 0.5s ease 0.1s forwards;
}
.lockup-frame-top .lf-thick {
  opacity: 0; transform-origin: left; transform: scaleX(0);
  animation: ruleIn 1.5s cubic-bezier(0.16,1,0.3,1) 0.25s forwards;
}
.lockup-frame-top .lf-thin {
  opacity: 0; transform-origin: left; transform: scaleX(0);
  animation: ruleIn 1.3s cubic-bezier(0.16,1,0.3,1) 0.38s forwards;
}
.lockup-name-row {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.52s forwards;
}
.orn-line {
  opacity: 0;
  animation: fadeIn 0.5s ease 1.1s forwards;
}
.orn-dot--center {
  opacity: 0; transform: translateY(4px);
  animation: fadeUp 0.38s cubic-bezier(0.22,1,0.36,1) 0.88s forwards;
}
.orn-dot--left {
  opacity: 0; transform: translateX(10px);
  animation: ornSlideLeft 0.72s cubic-bezier(0.22,1,0.36,1) 1.03s forwards;
}
.orn-dot--right {
  opacity: 0; transform: translateX(-10px);
  animation: ornSlideRight 0.72s cubic-bezier(0.22,1,0.36,1) 1.03s forwards;
}
.lockup-photography {
  opacity: 0; transform: translateY(6px);
  animation: fadeUp 0.5s ease 1.0s forwards;
}
.lockup-frame-bottom .lf-thin {
  opacity: 0; transform-origin: left; transform: scaleX(0);
  animation: ruleIn 1.2s cubic-bezier(0.16,1,0.3,1) 1.15s forwards;
}
.lockup-frame-bottom .lf-thick {
  opacity: 0; transform-origin: left; transform: scaleX(0);
  animation: ruleIn 1.4s cubic-bezier(0.16,1,0.3,1) 1.28s forwards;
}
.hero-cta {
  opacity: 0; transform: translateY(8px);
  animation: fadeUp 0.6s ease 1.65s forwards;
}

/* ── HORIZONTAL SCROLL GALLERY ── */
#gallery-section {
  background: #080808;
  padding: 24px 0 28px;
  overflow: hidden;
  position: relative;
}
#gallery-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, #080808 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
#h-gallery {
  display: flex;
  gap: 4px;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px);
  mask-image: linear-gradient(to right, transparent 0, black 80px);
}
#h-gallery::-webkit-scrollbar { display: none; }
#h-gallery.dragging { cursor: grabbing; }
#h-gallery img {
  height: 290px;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  filter: brightness(0.88);
  transition: filter 0.45s ease;
}
.gallery-spacer { width: 80px; flex-shrink: 0; }
#h-gallery:has(img:hover) img { filter: brightness(0.45) blur(1.5px); }
#h-gallery img:hover { filter: brightness(1.0) blur(0px) !important; }

/* ── GALLERY ARROWS ── */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0;
}
#gallery-section:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: rgba(0,0,0,0.7); color: var(--accent); }
.gallery-arrow-left  { left: 12px; }
.gallery-arrow-right { right: 12px; }

/* ── SERVICE CARDS ── */
.section-pad { padding: 80px 60px; }
#services { background: linear-gradient(to bottom, #080808 0%, var(--bg) 140px); }
.section-bridge {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: block; cursor: pointer; }
.card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s ease;
}
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover .card-img-wrap img { transform: scale(1.04); filter: brightness(0.88); }
.service-card:hover .card-overlay { opacity: 1; }
.card-label { padding: 14px 0 4px; display: flex; flex-direction: column; gap: 3px; }
.card-category {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: transform 0.3s ease;
}
.service-card:hover .card-category { transform: translateY(-3px); }
.card-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── NOTES ── */
#notes { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.notes-eyebrow { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.notes-link { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); transition: color 0.2s; }
.notes-link:hover { color: var(--accent); }
.notes-list { display: flex; flex-direction: column; }
.note-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.25s ease;
  text-decoration: none;
}
.note-row:hover { padding-left: 10px; }
.note-date {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 72px;
}
.note-sep { color: var(--border); font-size: 11px; }
.note-ticker-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px);
  mask-image: linear-gradient(to right, transparent 0, black 20px);
}
.note-row:hover .note-ticker-track { opacity: 1; }
.note-ticker {
  display: inline-block;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: tickerRun 16s linear infinite;
  animation-play-state: paused;
}
.note-row:hover .note-ticker { animation-play-state: running; }
@keyframes tickerRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.note-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  flex: 0 0 auto;
  position: relative;
  transition: color 0.25s;
}
.note-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 1px;
  background: var(--accent);
  width: 0;
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}
.note-row:hover .note-title { color: var(--accent); }
.note-row:hover .note-title::after { width: 100%; }
.note-arrow {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.25s ease;
}
.note-row:hover .note-arrow { opacity: 1; transform: translateX(0); }

/* ── INNER PAGE HERO (for non-home pages) ── */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  background: #111;
  margin-top: 64px;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 0 60px; }
.page-hero__title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

/* ── INNER PAGE CONTENT ── */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 60px;
}
.page-content h1, .page-content h2, .page-content h3 { margin-bottom: 1rem; }
.page-content p { margin-bottom: 1.2rem; color: var(--text-muted); line-height: 1.9; }

/* ── FOOTER ── */
@property --btn-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
#footer { padding: 96px 60px 52px; border-top: 1px solid var(--border); }
.footer-cta { margin-bottom: 72px; }
.footer-pre {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 36px;
}
.footer-btn { position: relative; overflow: visible; }
.footer-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 3px;
  padding: 1px;
  background: conic-gradient(from var(--btn-angle), transparent 0deg, rgba(201,169,110,0.7) 18deg, transparent 36deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  --btn-angle: 0deg;
  animation: btnSweep 8s linear infinite 3.5s;
  pointer-events: none;
}
@keyframes btnSweep {
  0%   { --btn-angle: 0deg;   opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { --btn-angle: 360deg; opacity: 0; }
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links .footer-link--accent {
  color: var(--accent);
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links .footer-link--accent:hover { opacity: 0.75; }

/* ── GRAIN OVERLAY ── */
#grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ── CUSTOM CURSOR ── */
@media (pointer: fine) { body { cursor: none; } a, button, .service-card, #h-gallery { cursor: none; } }
#cursor-dot {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transform: translate(-300px, -300px);
}
#cursor-ring {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  opacity: 0.65;
  transform: translate(-315px, -315px);
}
#cursor-ring.expanded { width: 44px; height: 44px; background: rgba(201,169,110,0.12); opacity: 1; }
@media (pointer: fine) { #cursor-dot, #cursor-ring { display: block; } }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 32px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }

/* ── SERVICES DROPDOWN OPEN STATE ── */
.has-dropdown.open .services-inline { max-width: 440px; }

/* ── MOBILE NAV TOGGLE ── */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  #main-nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,11,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  #main-nav.mobile-open .nav-links .nav-item { color: rgba(255,255,255,0.85); font-size: 13px; }
  #main-nav.mobile-open .services-inline { display: none; }
  .section-pad { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-content { padding: 0 28px; }
  .lockup-name { font-size: clamp(28px, 9vw, 48px); letter-spacing: 0.06em; }
  #h-gallery img { height: 200px; }
  #main-nav { padding: 0 24px; }
  .footer-meta { flex-direction: column; gap: 16px; text-align: center; }
  .page-content { padding: 60px 24px; }
  .page-hero__content { padding: 0 24px; }
  .container { padding: 0 24px; }
  .container--narrow { padding: 0 24px; }
}

/* ============================================================
   MOTION SYSTEM v1.10
   @keyframes defined here; per-template CSS handles selectors
============================================================ */

@keyframes nhpSettle {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes nhpSettleFast {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bandwipe: left-to-right reveal (default) */
@keyframes nhpWipeIn {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Bandwipe: right-to-left reveal (for .flip sections) */
@keyframes nhpWipeInFlip {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0%); }
}

/* ── Scroll-triggered stagger helper ─────────────────────── */
/* Applied by main.js to .nhp-stagger containers */
.nhp-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.nhp-stagger.in-view > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0s; }
.nhp-stagger.in-view > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.07s; }
.nhp-stagger.in-view > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.14s; }
.nhp-stagger.in-view > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.21s; }
.nhp-stagger.in-view > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.28s; }
.nhp-stagger.in-view > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.35s; }
.nhp-stagger.in-view > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.42s; }
.nhp-stagger.in-view > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.49s; }
.nhp-stagger.in-view > *:nth-child(n+9){ opacity: 1; transform: none; transition-delay: 0.56s; }

/* ── Page-load hero settle (used on all interior pages) ───── */
.nhp-hero-settle {
  opacity: 0;
  transform: translateY(16px);
  animation: nhpSettle 0.75s ease forwards;
}
.nhp-hero-settle:nth-child(1) { animation-delay: 0.2s; }
.nhp-hero-settle:nth-child(2) { animation-delay: 0.4s; }
.nhp-hero-settle:nth-child(3) { animation-delay: 0.6s; }
.nhp-hero-settle:nth-child(4) { animation-delay: 0.75s; }

/* ============================================================
   NAV — PERSISTENT BLUR + GRADIENT (v1.10)
============================================================ */

#main-nav,
#site-header {
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.88) 0%,
    rgba(10, 10, 11, 0.0) 100%
  ) !important;
}

#main-nav.scrolled,
#site-header.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.96) 0%,
    rgba(10, 10, 11, 0.6) 100%
  ) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Gallery pages — stronger persistent scrim */
body.page-template-page-headshots #main-nav,
body.page-template-page-headshots #site-header,
body.page-template-page-portraits #main-nav,
body.page-template-page-portraits #site-header,
body.page-template-page-empowerment #main-nav,
body.page-template-page-empowerment #site-header,
body.post-type-archive-vignette #main-nav,
body.post-type-archive-vignette #site-header,
body.single-vignette #main-nav,
body.single-vignette #site-header {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.96) 0%,
    rgba(10, 10, 11, 0.65) 60%,
    rgba(10, 10, 11, 0.0) 100%
  ) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ============================================================
   PAGE COMPONENT STYLES (ported from v1.0 — missing from live v2.0)
============================================================ */

/* ── Utility ─────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--mid);
  margin: 3rem 0;
}

/* ── About page ──────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 0;
}
.about-image { position: sticky; top: calc(var(--nav-height, 64px) + 40px); }
.about-image img { width: 100%; height: auto; display: block; filter: contrast(1.05); }
.about-text p { color: var(--light); font-size: 1rem; line-height: 1.9; }
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-image { position: static; }
}

/* ── Rates ───────────────────────────────────────────────── */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin: 60px 0;
}
.rate-card {
  background: var(--near-black, #111);
  padding: 2.5rem;
  border: 1px solid var(--mid);
  transition: border-color 0.3s ease;
}
.rate-card:hover { border-color: var(--accent); }
.rate-card__duration {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.rate-card__price {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 2.8rem; color: var(--white); line-height: 1; margin-bottom: 1.5rem;
}
.rate-card ul { list-style: none; font-size: 0.85rem; color: var(--muted); line-height: 2; }
.rate-card ul li::before { content: '— '; color: var(--accent); }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-list { margin: 60px 0; border-top: 1px solid var(--mid); }
.faq-item { border-bottom: 1px solid var(--mid); }
.faq-item__q {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.2rem; color: var(--white);
  padding: 1.6rem 2rem 1.6rem 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
  user-select: none;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  color: var(--muted); font-size: 0.9rem; line-height: 1.8; max-width: 620px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-item__a { max-height: 600px; padding-bottom: 1.8rem; }

/* ── WP Gallery block in gallery pages ───────────────────── */
.page-gallery-content .wp-block-gallery,
.page-gallery-content .blocks-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.page-gallery-content .wp-block-gallery .wp-block-image,
.page-gallery-content .blocks-gallery-grid .blocks-gallery-item {
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.page-gallery-content .wp-block-gallery img,
.page-gallery-content .blocks-gallery-grid img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block;
  transition: filter 0.4s ease, transform 0.6s ease;
  filter: brightness(0.92); cursor: zoom-in;
}
.page-gallery-content .wp-block-gallery img:hover,
.page-gallery-content .blocks-gallery-grid img:hover {
  filter: brightness(0.72); transform: scale(1.04);
}
.page-gallery-content figcaption { display: none !important; }
@media (max-width: 600px) {
  .page-gallery-content .wp-block-gallery,
  .page-gallery-content .blocks-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Lightbox prev/next ──────────────────────────────────── */
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); font-size: 2rem;
  padding: 1rem 1.5rem;
  transition: color 0.2s;
  z-index: 2;
}
.lightbox-nav:hover { color: rgba(255,255,255,0.95); }
.lightbox-nav--prev { left: 0; }
.lightbox-nav--next { right: 0; }

/* ── Contact page image ──────────────────────────────────── */
.contact-hero {
  position: relative;
  height: 40vh; min-height: 260px;
  overflow: hidden;
  margin-bottom: 0;
}
.contact-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.contact-hero__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 48px 60px;
}
.contact-hero__text .eyebrow { color: var(--accent); margin-bottom: 0.5rem; }
.contact-hero__text h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff;
  line-height: 1.1;
}
@media (max-width: 600px) {
  .contact-hero__text { padding: 32px 24px; }
}

/* ── Notes archive ───────────────────────────────────────── */
.notes-archive-hero {
  position: relative; height: 38vh; min-height: 240px;
  overflow: hidden; margin-top: 64px;
}
.notes-archive-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45);
}
.notes-archive-hero__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 48px 60px;
}
.notes-archive-hero__text .eyebrow { color: var(--accent); margin-bottom: 0.5rem; }
.notes-archive-hero__text h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff;
}
@media (max-width: 600px) {
  .notes-archive-hero__text { padding: 32px 24px; }
}

/* ── Note preview cards ──────────────────────────────────── */
.note-preview {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; padding: 2.5rem 0;
  border-bottom: 1px solid var(--mid);
  transition: background 0.2s;
}
.note-preview__image { flex-shrink: 0; width: 160px; height: 110px; overflow: hidden; }
.note-preview__image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); transition: filter 0.4s, transform 0.5s; }
.note-preview:hover .note-preview__image img { filter: brightness(1); transform: scale(1.04); }
.note-preview__meta { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.note-preview__title { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 0.75rem; }
.note-preview__title a { color: inherit; transition: color 0.2s; }
.note-preview__title a:hover { color: var(--accent); }
.note-preview__excerpt { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; max-width: 480px; }
.note-preview__read { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; padding-bottom: 2px; }
.note-preview__read:hover { border-color: var(--accent); }
@media (max-width: 600px) {
  .note-preview { flex-direction: column; align-items: flex-start; gap: 16px; }
  .note-preview__image { width: 100%; height: 180px; }
}

/* ── Vignettes archive ───────────────────────────────────── */
.vignettes-archive { padding: 100px 0 80px; }
.vignettes-archive h1 { margin-bottom: 0.5rem; }
.vignettes-intro { color: var(--muted); font-size: 0.85rem; margin-bottom: 60px; letter-spacing: 0.05em; }
.vignettes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 3px;
}
.vignette-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--dark, #1a1a1a); display: block;
}
.vignette-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.75);
}
.vignette-card:hover img { transform: scale(1.05); filter: brightness(0.5); }
.vignette-card__info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, rgba(8,8,8,0.9), transparent);
}
.vignette-card__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.4rem; color: var(--white); font-weight: 300;
}
.vignette-card__date {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-top: 0.25rem;
}
.vignette-single { padding: 100px 0 80px; }

/* ── Notes (blog archive) ────────────────────────────────── */
.notes-archive { padding: 100px 0 80px; }
.notes-list { margin-top: 60px; border-top: 1px solid var(--mid); display: flex; flex-direction: column; }
.note-preview {
  display: grid; grid-template-columns: 1fr 260px;
  gap: 3rem; align-items: start;
  padding: 3rem 0; border-bottom: 1px solid var(--mid);
  transition: border-color 0.3s ease;
}
.note-preview:hover { border-color: var(--accent); }
.note-preview__meta {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.note-preview__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.8rem; color: var(--white); font-weight: 300;
  margin-bottom: 1rem; transition: color 0.2s ease;
}
.note-preview:hover .note-preview__title { color: var(--accent); }
.note-preview__excerpt { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.note-preview__read {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--mid);
  padding-bottom: 2px; display: inline-block; transition: border-color 0.2s ease;
}
.note-preview__read:hover { border-color: var(--accent); }
.note-preview__image { aspect-ratio: 4/3; overflow: hidden; }
.note-preview__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.note-preview:hover .note-preview__image img { transform: scale(1.03); }
@media (max-width: 700px) {
  .note-preview { grid-template-columns: 1fr; }
  .note-preview__image { order: -1; }
}
.note-single { padding: 120px 0 80px; }
.note-single__body { color: var(--light); font-size: 1.05rem; line-height: 1.95; }
.note-single__body p { margin-bottom: 1.6em; }
.note-single__body h2, .note-single__body h3 { color: var(--white); margin: 2.5rem 0 1rem; }

/* ── Native WP gallery shortcode (used in Notes posts) ──────────────── */
/* .gallery-item is styled directly (not via a .gallery grid parent) because
   some posts' saved content no longer has the .gallery wrapper element. */
.gallery { margin: 2rem 0; }
.gallery-item { display: inline-block; vertical-align: top; width: 140px; margin: 2px; overflow: hidden; background: var(--dark); line-height: 0; }
.gallery-icon a, .gallery-icon img { display: block; width: 100%; height: auto; filter: brightness(0.92); transition: filter 0.4s ease, transform 0.6s ease; }
.gallery-item:hover img { filter: brightness(0.75); transform: scale(1.03); }
.gallery-caption { display: none; }
@media (max-width: 600px) {
  .gallery-item { width: calc(50% - 4px); }
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; padding: 100px 0; align-items: start;
}
.contact-info h1 { margin-bottom: 1.5rem; }
.contact-info p { color: var(--muted); margin-bottom: 2.5rem; font-size: 0.95rem; line-height: 1.9; }
.contact-info__email {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.4rem; color: var(--white); display: block;
  margin-bottom: 0.5rem; border-bottom: 1px solid var(--mid); padding-bottom: 1rem;
}
.contact-info__email:hover { color: var(--accent); }
.wpcf7-form label, form.wpcf7-form label {
  display: block; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem; margin-top: 1.5rem;
}
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select,
form label ~ input, form label ~ textarea, form label ~ select {
  width: 100%; background: var(--near-black, #111); border: 1px solid var(--mid);
  color: var(--cream); padding: 0.85rem 1rem;
  font-family: var(--font-body, 'Inter', sans-serif); font-size: 0.85rem;
  font-weight: 300; outline: none; transition: border-color 0.2s ease;
  -webkit-appearance: none;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus,
form label ~ input:focus, form label ~ textarea:focus { border-color: var(--accent); }
.wpcf7-form textarea, form label ~ textarea { height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"], form input[type="submit"] {
  display: inline-block; margin-top: 2rem; padding: 0.9rem 2.5rem;
  background: transparent; border: 1px solid var(--accent); color: var(--accent);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s ease, color 0.3s ease; width: auto;
}
.wpcf7-form input[type="submit"]:hover, form input[type="submit"]:hover {
  background: var(--accent); color: var(--black, #080808);
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 50px; } }

/* ── Justified gallery WP block override ─────────────────── */
.justified-gallery .wp-block-gallery {
  display: flex !important; flex-wrap: wrap !important; gap: 4px !important; --row-height: 340px;
}
.justified-gallery .wp-block-gallery .wp-block-image {
  flex-grow: 1; flex-basis: 200px; overflow: hidden !important; margin: 0 !important;
}
.justified-gallery .wp-block-gallery img {
  width: 100% !important; height: var(--row-height) !important;
  object-fit: cover !important; display: block;
  transition: filter 0.4s ease, transform 0.6s ease;
  filter: brightness(0.92); cursor: zoom-in;
}
.justified-gallery .wp-block-gallery img:hover { filter: brightness(0.75); transform: scale(1.03); }
.justified-gallery figcaption { display: none !important; }

/* ── Film overlay ─────────────────────────────────────────── */

/* Moviola keyframes — roll in/out with gate-light flash */
@keyframes nhpFocalOpen {
  0%   { transform: scale(0.84); opacity: 0; filter: brightness(3); }
  45%  { filter: brightness(1.08); }
  82%  { transform: scale(1.008); }
  100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}
@keyframes nhpRollInR {
  0%   { transform: translateX(110px) scale(0.88); opacity: 0; filter: brightness(2.5); }
  35%  { filter: brightness(1.1); }
  76%  { transform: translateX(-7px) scale(1.006); opacity: 1; }
  100% { transform: translateX(0)    scale(1);     opacity: 1; filter: brightness(1); }
}
@keyframes nhpRollInL {
  0%   { transform: translateX(-110px) scale(0.88); opacity: 0; filter: brightness(2.5); }
  35%  { filter: brightness(1.1); }
  76%  { transform: translateX(7px)   scale(1.006); opacity: 1; }
  100% { transform: translateX(0)     scale(1);     opacity: 1; filter: brightness(1); }
}
@keyframes nhpRollOutL {
  from { transform: translateX(0)    scale(1);    opacity: 1; }
  to   { transform: translateX(-110px) scale(0.88); opacity: 0; }
}
@keyframes nhpRollOutR {
  from { transform: translateX(0)   scale(1);    opacity: 1; }
  to   { transform: translateX(110px) scale(0.88); opacity: 0; }
}

.film-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(5, 3, 2, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.film-overlay.film-overlay--open { opacity: 1; pointer-events: all; }

.film-overlay__close {
  position: absolute; top: 1.5rem; right: 1.75rem;
  background: none; border: none;
  font-family: var(--font-title);
  font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(201,169,110,0.55);
  cursor: pointer; padding: 0.5rem 0.25rem; z-index: 10;
  transition: color 0.25s ease, letter-spacing 0.3s ease;
  display: flex; align-items: center; gap: 10px;
}
.film-overlay__close::before {
  content: '';
  display: block; width: 20px; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.film-overlay__close:hover { color: rgba(201,169,110,1); letter-spacing: 0.32em; }
.film-overlay__close:hover::before { width: 28px; }

.film-stage {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 1400px; padding: 0 3rem;
}

/* Focal — animations only, no transition */
.film-focal { flex-shrink: 0; z-index: 2; }
#film-focal-img {
  display: block;
  max-height: 66vh; max-width: 40vw;
  width: auto; height: auto; object-fit: contain;
  opacity: 0;
  box-shadow: 0 40px 100px rgba(0,0,0,0.75), 0 8px 24px rgba(0,0,0,0.5);
}

/* Animation trigger classes */
#film-focal-img.nhp-focal-open { animation: nhpFocalOpen 0.56s cubic-bezier(0.16,1,0.3,1) forwards; }
#film-focal-img.nhp-roll-in-r  { animation: nhpRollInR   0.40s cubic-bezier(0.16,1,0.3,1) forwards; }
#film-focal-img.nhp-roll-in-l  { animation: nhpRollInL   0.40s cubic-bezier(0.16,1,0.3,1) forwards; }
#film-focal-img.nhp-roll-out-l { animation: nhpRollOutL  0.19s ease-in forwards; }
#film-focal-img.nhp-roll-out-r { animation: nhpRollOutR  0.19s ease-in forwards; }

/* Side strips */
.film-strip {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; overflow: visible;
  opacity: 0;
  transition: transform 0.62s cubic-bezier(0.16,1,0.3,1) 0.1s, opacity 0.48s ease 0.1s;
}
.film-strip--prev { flex-direction: row; justify-content: flex-end;  transform: translateX(80px); }
.film-strip--next { flex-direction: row; justify-content: flex-start; transform: translateX(-80px); }
.film-overlay--open .film-strip--prev,
.film-overlay--open .film-strip--next { transform: translateX(0); opacity: 1; }

/* Thumbnails — negative quality */
.film-thumb { flex-shrink: 0; overflow: hidden; cursor: pointer; }
.film-thumb img {
  display: block;
  height: clamp(90px, 18vh, 200px); width: auto; max-width: 150px;
  object-fit: cover;
  filter: sepia(0.3) brightness(0.58) contrast(1.2);
  transition: filter 0.38s ease, transform 0.38s ease;
}
.film-thumb:hover img { filter: sepia(0) brightness(0.9) contrast(1.05); }

/* Depth: angle away from center like film lying on a table */
.film-strip--prev .film-thumb:last-child  img { transform: perspective(700px) rotateY(7deg); }
.film-strip--prev .film-thumb:first-child img { transform: perspective(700px) rotateY(12deg) scale(0.88); }
.film-strip--next .film-thumb:first-child img { transform: perspective(700px) rotateY(-7deg); }
.film-strip--next .film-thumb:last-child  img { transform: perspective(700px) rotateY(-12deg) scale(0.88); }
.film-strip--prev .film-thumb:hover img,
.film-strip--next .film-thumb:hover img {
  transform: perspective(700px) rotateY(0) scale(1.04) !important;
  filter: sepia(0) brightness(0.9) !important;
}

/* CTA */
.film-cta {
  margin-top: 2.8rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease 0.32s, transform 0.5s ease 0.32s;
  text-align: center;
}
.film-overlay--open .film-cta { opacity: 1; transform: translateY(0); }
.film-cta__btn {
  font-family: var(--font-title);
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.35); padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.film-cta__btn:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

@media (max-width: 768px) {
  .film-strip { display: none; }
  #film-focal-img { max-width: 88vw; max-height: 64vh; }
}
