@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  
  --carmine:    #5C2A1A;
  --carmine-ink:#481713;
  --wine:       #2A0F0A;
  --blush:      #D6C3A9;

  --cream:      #F1EADC;
  --parchment:  #E8DEC8;
  --paper:      #F7F1DF;
  --ink:        #2C1F18;
  --smoke:      #7A6A5C;
  --hairline:   rgba(44, 31, 24, 0.12);
  --hairline-2: rgba(44, 31, 24, 0.20);
  --scrim:      rgba(44, 31, 24, 0.55);

  --font-serif:   'Playfair Display', 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Montserrat', 'Inter', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-cinematic: cubic-bezier(0.22,1,0.36,1);

  /* Phone/tablet nav bar height. The spacer and the slide-down menu both hang off this. */
  --nav-h: 73px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.container.narrow { max-width: 880px; }
.container.wide   { max-width: 1480px; }
.section { padding: 96px 0; }
.section.sm { padding: 64px 0; }
.section.xl { padding: 128px 0; }

.eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--smoke);
}
.eyebrow strong, .lbl strong, .eyebrow-bold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; letter-spacing: 0.20em; color: inherit;
}
.eyebrow-row { display: flex; align-items: center; gap: 12px; }
.eyebrow-row .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--carmine); }

h1.display, .h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 8vw, 120px); line-height: 1.02;
  letter-spacing: 0.04em; margin: 0; color: var(--ink);
}
h1.page-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 6.5vw, 96px); line-height: 1.05;
  letter-spacing: 0.04em; margin: 0; color: var(--ink);
}
h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4.8vw, 68px); line-height: 1.1;
  letter-spacing: 0.04em; margin: 0; color: var(--ink);
}
h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; line-height: 1.25; letter-spacing: 0.04em; margin: 0; color: var(--ink);
}
h1 em, h2 em, h3 em, h1 i, h2 i, h3 i, .italic-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}
.lede {
  font-size: 17px; line-height: 1.65; color: var(--smoke);
  max-width: 620px; margin: 0;
}
p { margin: 0; }
.italic-display { font-family: var(--font-display); font-style: italic; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 20px 32px; border: none; cursor: pointer;
  transition: background 200ms, color 200ms, transform 120ms;
  text-decoration: none;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--carmine);
  color: var(--cream);
  z-index: 1;
}
.btn-primary::after {
  /* hover light sweep, kept inside the button's box (see index.html .btn::before) */
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.10) 43%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.10) 57%, transparent 65%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: background-position 0s 0.2s, opacity 0.2s ease;
}
.btn-primary:hover::after {
  opacity: 1;
  background-position: 0% 0;
  transition: background-position 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0s;
}
.btn-primary:hover { background: var(--wine); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary > * { position: relative; z-index: 3; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); padding: 19px 30px;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost.on-dark { color: var(--cream); border-color: rgba(241,234,220,0.55); }
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--ink); }
.btn .arrow { font-family: var(--font-display); font-size: 16px; line-height: 1; }

.link-underline {
  font-family: var(--font-sans); font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  display: inline-block;
}
.link-underline.accent { color: var(--carmine); border-bottom-color: var(--carmine); }


.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #a89788 0%, #564a40 45%, #2a221c 100%);
}
.photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(241,234,220,0.20), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(20,18,16,0.40), transparent 60%);
  pointer-events: none;
}
.photo.b { background: linear-gradient(160deg, #9c8b7d 0%, #4a3f37 50%, #261f1a 100%); }
.photo.c { background: linear-gradient(200deg, #8f7f72 0%, #423830 55%, #221a14 100%); }
.photo.d { background: linear-gradient(135deg, #b3a294 0%, #574a40 55%, #2b231c 100%); }
.photo.e { background: linear-gradient(115deg, #9c8c7e 0%, #4a3e34 55%, #241c16 100%); }
.photo.f { background: linear-gradient(160deg, #a89788 0%, #483c33 55%, #261d18 100%); }
.photo .stamp {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--cream); opacity: 0.85; z-index: 2;
}
.photo .stamp.r { left: auto; right: 16px; }

image-slot { display: block; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 900ms var(--ease-cinematic), transform 900ms var(--ease-cinematic); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(241,234,220,0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: transform 500ms var(--ease-cinematic), background 500ms;
}
.nav.dark {
  background: transparent;
  border-bottom: 1px solid rgba(241,234,220,0.18);
}
.nav.hidden { transform: translateY(-110%); }
.nav-inner {
  max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 18px 48px; gap: 32px;
}
.nav-logo { display: inline-flex; align-items: center; height: 56px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: 0.12em; color: var(--carmine); text-transform: uppercase; }
.nav-logo img { height: 56px; width: auto; max-height: 100%; object-fit: contain; }
.nav.dark .nav-logo { color: var(--cream); }
/* logo.png is white artwork: tint it carmine on the light bar, keep it white on the dark one */
.nav:not(.dark) .nav-logo img { filter: brightness(0) saturate(100%) invert(18%) sepia(64%) saturate(2156%) hue-rotate(355deg) brightness(95%) contrast(92%); }
.nav.dark .nav-logo img { filter: brightness(0) invert(1) opacity(0.92); }
.nav-links { display: flex; gap: 36px; justify-content: center; align-items: center; }
.nav-link {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--carmine);
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0.92;
  text-decoration: none;
}
.nav.dark .nav-link { color: var(--cream); }
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::before {
  content: ''; width: 5px; height: 5px; border-radius: 999px;
  background: currentColor;
}

/* Nav Dropdown for Portfolio */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown .nav-arrow {
  font-size: 8px;
  margin-left: 2px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 18px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #251B17;
  border: 1px solid rgba(212, 175, 125, 0.35);
  border-radius: 8px;
  padding: 10px 6px;
  min-width: 175px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 15px;
  font-style: italic;
  color: #F7EFE0;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(226, 172, 105, 0.16);
  color: #E6BE8C;
  padding-left: 18px;
}
.nav-dropdown-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E6BE8C;
  opacity: 0.6;
}

.nav-cta-wrap { display: flex; justify-content: flex-end; }
.nav-cta {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--carmine);
  white-space: nowrap;
}
.nav.dark .nav-cta { color: var(--cream); }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-burger span {
  display: block; width: 100%; height: 1px;
  background: var(--ink); margin: 6px 0;
  transition: transform 300ms, opacity 300ms;
}
.nav.dark .nav-burger span { background: var(--cream); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream); padding: 40px 24px 48px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateY(-110%); transition: transform 500ms var(--ease-cinematic);
  z-index: 49; pointer-events: none;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  transition: transform 500ms var(--ease-cinematic), visibility 0s linear 500ms;
}
.mobile-menu.open {
  transform: translateY(0); pointer-events: auto; visibility: visible;
  transition: transform 500ms var(--ease-cinematic), visibility 0s;
}
/* While the menu is open the bar must read as part of it, even on pages with the transparent dark bar */
.nav.menu-open { background: var(--cream); transform: none; }
.mobile-menu a {
  font-family: var(--font-display); font-style: italic;
  font-size: 32px; color: var(--ink);
  text-decoration: none;
}
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-sub-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  margin-top: 2px;
}
/* Wedding / Engagement: the same face as the rest of the menu, one step smaller as sub-items */
.mobile-sub-link {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 24px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--ink) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-sub-link:hover, .mobile-sub-link:active {
  color: var(--carmine, #8C3027) !important;
}
.mobile-menu a.cta {
  color: var(--carmine);
  margin-top: 16px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 860px) {
  /* logo left, burger hard right; 12 + 48 + 12 + 1px border = var(--nav-h) */
  .nav-inner { grid-template-columns: 1fr auto; padding: 12px 16px 12px 24px; gap: 16px; }
  .nav .nav-logo, .nav .nav-logo img { height: 48px; }
  .nav-logo { justify-self: start; }
  .nav-links { display: none; }
  .nav-burger { display: block; justify-self: end; width: 44px; height: 44px; padding: 10px; }
  .nav-cta-wrap { display: none; }
}

.nav-spacer { height: var(--nav-h); }

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 680px;
  margin-top: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero-image { position: absolute; inset: 0; }
.hero-image image-slot,
.hero-image img,
.hero-image video,
.hero-banner-img,
.hero-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: object-position 0.3s ease;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20,13,8,0.88) 0%, rgba(20,13,8,0.45) 42%, rgba(20,13,8,0.1) 70%, transparent 100%),
    linear-gradient(to right, rgba(20,13,8,0.65) 0%, rgba(20,13,8,0.2) 50%, transparent 100%),
    linear-gradient(to bottom, rgba(20,13,8,0.55) 0%, transparent 22%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 48px 84px 48px;
  max-width: 1480px;
  margin: 0 auto;
  left: 0;
  right: 0;
  pointer-events: none;
  box-sizing: border-box;
}
.hero-content > * { pointer-events: auto; }
.hero h1 {
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  margin: 0;
}
.hero-eyebrow {
  margin-bottom: 24px;
}
.hero-eyebrow .lbl { color: rgba(241,234,220,0.85); }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 36px;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-foot p {
  color: rgba(241,234,220,0.92);
  font-size: 18px;
  line-height: 1.55;
  max-width: 480px;
  margin: 0;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero-image img,
  .hero-banner-img {
    object-position: 52% 16%;
  }
  .hero-content {
    padding: 90px 32px 64px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    padding: 0;
  }
  .hero-image img,
  .hero-banner-img {
    object-position: 54% 12%;
  }
  .hero-image::after {
    background:
      linear-gradient(to top, rgba(16, 10, 6, 0.94) 0%, rgba(16, 10, 6, 0.68) 50%, rgba(16, 10, 6, 0.35) 75%, rgba(16, 10, 6, 0.5) 100%);
  }
  .hero-content {
    padding: 90px 24px 44px;
    justify-content: flex-end;
  }
  .hero-eyebrow {
    margin-bottom: 14px;
  }
  .hero-eyebrow .lbl {
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }
  .hero h1.display {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.02;
  }
  .hero-foot {
    margin-top: 20px;
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-foot p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 100%;
    color: rgba(241, 234, 220, 0.92);
  }
  .hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
    font-size: 11px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 84px 20px 36px;
  }
  .hero h1.display {
    font-size: clamp(34px, 9.5vw, 44px);
  }
  .hero-foot p {
    font-size: 14px;
    line-height: 1.5;
  }
  .hero-actions .btn {
    padding: 14px 20px;
    font-size: 10.5px;
  }
}

.story-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 64px 32px; align-items: start;
}
.story-card { display: block; cursor: pointer; }
.story-card .frame {
  width: 100%; position: relative; overflow: hidden;
  background: var(--ink);
  transition: transform 600ms var(--ease-cinematic), box-shadow 600ms var(--ease-cinematic);
}
.story-card .frame image-slot {
  display: block;
  width: 100%;
}
.story-card .frame image-slot img,
.story-card .frame img {
  width: 100%;
  height: auto;
  display: block;
}
.story-card .frame .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 64px 20px 18px 20px;
  background: linear-gradient(to top, rgba(28,23,20,0.78), rgba(28,23,20,0));
  color: var(--cream); opacity: 0.85;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.story-card:hover .frame { transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(28,23,20,0.32); }
.story-card:hover .frame .overlay { opacity: 1; }
.story-card .overlay .names {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; line-height: 1; margin: 0;
}
.story-card .overlay .where {
  margin-top: 6px;
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(241,234,220,0.78);
}
.story-card .meta {
  margin-top: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--smoke); letter-spacing: 0.06em;
}
.story-card .meta .date {
  text-transform: uppercase; letter-spacing: 0.20em;
  font-family: var(--font-sans);
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 48px 24px; }
  .story-grid > * { grid-column: span 3 !important; margin-top: 0 !important; }
}
@media (max-width: 540px) {
  .story-grid { grid-template-columns: 1fr !important; }
  .story-grid > * { grid-column: 1 / -1 !important; }
}

.portfolio-bg {
  position: sticky; top: 80px; z-index: 0;
  width: 100%; margin-bottom: -120px;
  pointer-events: none;
}
.portfolio-bg svg { width: 100%; display: block; }

.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.approach-step .num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--carmine); letter-spacing: 0.16em;
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline-2);
}
.approach-step h3 {
  font-family: var(--font-display); font-style: normal;
  font-weight: 500; font-size: 30px;
  color: var(--ink); margin: 0 0 14px 0;
}
.approach-step p {
  font-size: 15px; line-height: 1.65; color: var(--smoke);
}

@media (max-width: 860px) {
  .row-3 { grid-template-columns: 1fr; gap: 48px; }
  .row-2 { grid-template-columns: 1fr; gap: 48px; }
}

.quote-section { background: var(--cream); }
.quote-body {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.18;
  color: var(--ink); letter-spacing: -0.005em; margin: 0;
}
.quote-body .ac {
  color: var(--carmine); font-style: normal;
}
.quote-attr {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--hairline-2);
  display: flex; justify-content: space-between;
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--smoke);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: start;
}
.about-grid p { font-size: 17px; line-height: 1.7; margin: 0 0 20px 0; }
.about-grid .signature {
  margin-top: 56;
  font-family: var(--font-display); font-style: italic;
  font-size: 38px; color: var(--carmine); line-height: 1;
}
.about-grid .portrait { width: 100%; }
.about-grid .portrait image-slot,
.about-grid .portrait img {
  display: block; width: 100%; height: auto;
}
.about-grid .portrait-meta {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--smoke);
}

.about-blocks { background: var(--parchment); }
.about-blocks .row-3 > div .label {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--carmine); margin-bottom: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--hairline-2);
}
.about-blocks .row-3 > div p {
  font-family: var(--font-display); font-style: italic;
  font-size: 24px; line-height: 1.35; color: var(--ink); margin: 0;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field-label {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--smoke);
}
.field .req { color: var(--carmine); margin-left: 2px; }
.field input, .field textarea {
  background: transparent; border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0 10px 0;
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: var(--ink); outline: 0;
  border-radius: 0; font-weight: 400;
  width: 100%; box-sizing: border-box;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(122,106,92,0.6); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--carmine); }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--carmine); }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 18px; cursor: pointer;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 200ms, color 200ms;
}
.choice[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.form-foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; gap: 24px; flex-wrap: wrap;
}
.form-foot .legal {
  font-family: var(--font-sans); font-size: 12px;
  color: var(--smoke); letter-spacing: 0.04em; max-width: 420px;
}
/* Shown under the button when the page could not send the note by itself */
.form-status {
  grid-column: 1 / -1;
  margin: 4px 0 0; padding: 18px 20px;
  background: var(--parchment);
  border-left: 2px solid var(--carmine);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.65; color: var(--ink);
}
.form-status[hidden] { display: none; }
.form-status a { color: var(--carmine); border-bottom: 1px solid currentColor; }

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

.inquire-strip {
  background: var(--parchment);
  padding: 72px 48px;
}
.inquire-strip.dark { background: var(--ink); color: var(--cream); }
.inquire-strip .inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.inquire-strip h2 {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.1;
  color: var(--ink); letter-spacing: -0.01em;
  margin: 0;
}
.inquire-strip.dark h2 { color: var(--cream); }
.inquire-strip .lede { font-size: 14px; max-width: 460px; margin-top: 14px; }
.inquire-strip.dark .lede { color: rgba(241,234,220,0.65); }
.inquire-strip.dark .eyebrow-row .lbl { color: rgba(241,234,220,0.65); }

.journal-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 96px;
}
.journal-featured .frame { position: relative; overflow: hidden; border-radius: 8px; background: var(--ink); }
.journal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px;
  align-items: start;
}
.journal-card .frame { margin-bottom: 24px; position: relative; overflow: hidden; border-radius: 8px; background: var(--ink); }
.journal-featured .frame image-slot,
.journal-card .frame image-slot {
  display: block;
  width: 100%;
}
.journal-featured .frame image-slot img,
.journal-card .frame image-slot img,
.journal-featured .frame img,
.journal-card .frame img {
  width: 100%;
  height: auto;
  display: block;
}
.journal-card .kicker {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--carmine); margin-bottom: 12px;
}
.journal-card h3 {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; font-size: 28px; line-height: 1.15;
  margin: 0; color: var(--ink); letter-spacing: -0.005em;
}
.journal-card p {
  font-size: 14px; line-height: 1.65; color: var(--smoke); margin-top: 14px;
}
.journal-card .date {
  margin-top: 16px;
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--smoke);
}
.journal-featured .kicker {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--carmine); margin-bottom: 20px;
}
.journal-featured h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.journal-featured p {
  font-size: 17px; line-height: 1.65; color: var(--smoke); margin-top: 24px;
}

@media (max-width: 900px) {
  .journal-featured { grid-template-columns: 1fr; gap: 32px; }
  .journal-grid { grid-template-columns: 1fr; gap: 48px; }
}

.thanks-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--cream);
  /* fills the whole window: it is pulled up 73px under the bar, so it is 73px taller */
  min-height: calc(100vh + 73px); min-height: calc(100svh + 73px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 190px 48px 96px;
  text-align: center; margin-top: -73px;
}
/* a photograph fills the screen behind the message, under a warm dark veil */
.thanks-hero-photo {
  position: absolute; inset: 0; z-index: -2;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
}
.thanks-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(20, 13, 8, 0.66) 0%, rgba(20, 13, 8, 0.80) 100%),
    linear-gradient(180deg, rgba(20, 13, 8, 0.45) 0%, rgba(20, 13, 8, 0) 26%);
}
.thanks-hero-inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }

/* ---- Thank-you entrance: the photo eases out of soft focus, the wax seal stamps
   down, then the words rise in one after another. ---- */
.thanks-hero-photo { animation: thanksPhotoIn 2.6s cubic-bezier(0.22, 1, 0.36, 1) both, thanksPhotoDrift 24s ease-in-out 2.6s infinite alternate; }
@keyframes thanksPhotoIn {
  from { transform: scale(1.16); filter: blur(8px) brightness(0.55); }
  to   { transform: scale(1.04); filter: blur(0) brightness(1); }
}
@keyframes thanksPhotoDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.2%, -1%, 0); }
}

.thanks-seal {
  position: relative; width: 92px; height: 92px; margin-bottom: 30px;
  animation: thanksSealStamp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}
.thanks-seal img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.thanks-seal-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(226, 172, 105, 0.75);
  animation: thanksRipple 1.6s ease-out 1.05s both;
}
@keyframes thanksSealStamp {
  0%   { opacity: 0; transform: scale(2.3) rotate(-28deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); }
}
@keyframes thanksRipple {
  from { opacity: 0.9; transform: scale(1); }
  to   { opacity: 0;   transform: scale(2.6); }
}

/* each line of the title rises out of its own mask */
.thanks-line { display: block; overflow: hidden; padding: 0 0.08em 0.06em; }
.thanks-line > span { display: inline-block; animation: thanksRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both; }
@keyframes thanksRise {
  from { opacity: 0; transform: translateY(105%); }
  to   { opacity: 1; transform: none; }
}
.thanks-anim { animation: thanksFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both; }
@keyframes thanksFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
/* a gold hairline draws itself under the title */
.thanks-rule {
  display: block; height: 1px; width: 110px; margin-top: 30px;
  background: linear-gradient(90deg, transparent, #E2AC69 20%, #E2AC69 80%, transparent);
  transform-origin: center;
  animation: thanksDraw 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.85s both;
}
@keyframes thanksDraw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* drifting motes of light */
.thanks-motes { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.thanks-motes span {
  position: absolute; bottom: -12px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: rgba(240, 200, 140, 0.9);
  box-shadow: 0 0 10px 2px rgba(226, 172, 105, 0.55);
  opacity: 0;
  animation: thanksMote var(--t) linear var(--d) infinite;
}
@keyframes thanksMote {
  0%   { opacity: 0; transform: translate3d(0, 0, 0); }
  12%  { opacity: 0.75; }
  70%  { opacity: 0.45; }
  100% { opacity: 0; transform: translate3d(28px, -105vh, 0); }
}

/* a quiet cue that there is more below */
.thanks-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 1;
  width: 1px; height: 46px; margin-left: -0.5px;
  background: linear-gradient(180deg, rgba(241, 234, 220, 0), rgba(241, 234, 220, 0.7));
  transform-origin: top;
  animation: thanksFadeUp 1s ease 2.8s both, thanksCue 2.4s ease-in-out 3.8s infinite;
}
@keyframes thanksCue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 640px) {
  .thanks-seal { width: 72px; height: 72px; margin-bottom: 22px; }
  .thanks-scroll { display: none; }
}
/* short windows (e.g. a 1366x768 laptop): tighten everything so it stays on one screen */
@media (min-width: 641px) and (max-height: 760px) {
  .thanks-hero { padding-top: 178px; padding-bottom: 36px; }
  .thanks-seal { width: 64px; height: 64px; margin-bottom: 18px; }
  .thanks-hero .eyebrow-row { margin-bottom: 18px !important; }
  .thanks-hero h1 { font-size: clamp(40px, 9vh, 72px); }
  .thanks-rule { margin-top: 20px; }
  .thanks-hero .lede { margin-top: 18px; }
  .thanks-hero .actions { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-hero-photo, .thanks-seal, .thanks-seal-ring, .thanks-line > span, .thanks-anim, .thanks-rule, .thanks-scroll { animation: none; }
  .thanks-hero-photo { transform: scale(1.04); }
  .thanks-seal { transform: rotate(-6deg); }
  .thanks-seal-ring, .thanks-motes { display: none; }
}
.thanks-hero h1 { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45); }
@media (max-width: 640px) {
  .thanks-hero { padding: 150px 24px 72px; }
  .thanks-hero .actions { width: 100%; flex-direction: column; }
  .thanks-hero .actions .btn { width: 100%; justify-content: center; }
}
.thanks-hero h1 {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 6vw, 96px); line-height: 1.05;
  color: var(--cream); letter-spacing: -0.01em;
  max-width: 1100px; margin: 0;
}
.thanks-hero .lede {
  margin-top: 26px; max-width: 560px;
  color: rgba(241,234,220,0.88);
}
.thanks-hero .actions {
  margin-top: 56px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.thanks-next .num {
  font-family: var(--font-display); font-style: italic;
  font-size: 56px; color: var(--carmine); line-height: 1; margin-bottom: 18px;
}
.thanks-next .label {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.thanks-next p { font-size: 15px; line-height: 1.65; color: var(--smoke); margin: 0; }

.footer { background: var(--ink); color: var(--cream); padding: 56px 48px 32px; }
/* One row of four columns: sign-off, address, and the two link lists. (.footer-cols is unwrapped so its children sit in this grid.) */
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  column-gap: 48px; row-gap: 48px;
  align-items: start;
}
.footer-signoff {
  grid-column: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4.2vw, 62px); line-height: 1.02;
}
.footer-signoff .ac { color: var(--carmine); }
.footer-cols { display: contents; }
.footer-cols > div { padding-top: 8px; }
.footer-col-eyebrow {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(241,234,220,0.55); margin-bottom: 16px;
}
.footer-write {
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; line-height: 1.25;
}
.footer-write .meta { color: rgba(241,234,220,0.65); font-size: 18px; }
.footer-list { display: flex; flex-direction: column; gap: 12px; }
.footer-list a { font-family: var(--font-sans); font-size: 14px; }
.footer-list a:hover { color: var(--cream); opacity: 0.7; }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 0; padding-top: 22px;
  border-top: 1px solid rgba(241,234,220,0.14);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(241,234,220,0.55);
}

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 36px; }
  .footer-signoff { grid-column: 1 / -1; }
  .footer-cols > div:nth-child(1) { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 768px) {
  .footer { padding: 40px 24px 28px; }
  .footer-inner { row-gap: 28px; }
  .footer-bottom { margin-top: 8px; flex-direction: column; gap: 8px; }
}

.fourohfour {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 48px;
  text-align: center;
}
.fourohfour .number {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(120px, 24vw, 320px); line-height: 0.9;
  color: var(--ink); letter-spacing: -0.02em;
  margin: 0;
}
.fourohfour .number .ac { color: var(--carmine); }
@media (max-width: 600px) {
  .fourohfour { padding: 96px 24px; }
  .fourohfour .number { font-size: clamp(96px, 30vw, 160px); }
}

.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;
}

/* Photo masonry — shared by the homepage gallery and the portfolio galleries.
   Photographs flow into balanced columns at their own proportions: landscape stays
   landscape, portrait stays portrait, nothing is cropped into a fixed box. */
.gallery-grid,
.masonry {
  display: block;
  column-count: 3;
  column-gap: 16px;
}
.gallery-col { display: contents; }
.gallery-item,
.masonry-item {
  display: block;
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--parchment);
  box-shadow: 0 4px 16px rgba(44, 31, 24, 0.08);
}
.gallery-item img,
.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
}
.masonry-item { cursor: zoom-in; }
.masonry-item img { transition: transform 0.6s var(--ease-cinematic), filter 0.6s ease; }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item:focus-visible { outline: 2px solid var(--carmine); outline-offset: 3px; }
@media (max-width: 900px) {
  .gallery-grid, .masonry { column-count: 2; column-gap: 12px; }
  .gallery-item, .masonry-item { margin-bottom: 12px; border-radius: 6px; }
}

/* ==========================================================================
   Floating Action UI: Scroll-To-Top Button & AI Inquiry Concierge Bot
   ========================================================================== */

/* 1. Scroll-to-Top Floating Button (Bottom-Right) */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(36, 20, 14, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 172, 105, 0.40);
  color: #F7EFE0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.scroll-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: #5C2A1A;
  border-color: #E2AC69;
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(92, 42, 26, 0.55), 0 0 18px rgba(226, 172, 105, 0.45);
}

.scroll-to-top-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.scroll-to-top-btn:hover svg {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Inquiry page — a silent film fills the left half and stays put while the
   heading and form scroll on the right. Phones: the film becomes a banner on top.
   ========================================================================== */
.inquire-split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.inquire-photo {
  /* pinned to the very top: the bar hides as you scroll down, and slides back over the photo */
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  margin: 0; overflow: hidden; background: var(--ink);
}
.inquire-photo img,
.inquire-photo video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.inquire-panel { padding: 88px clamp(28px, 5vw, 88px) 112px; }
.inquire-panel-inner { max-width: 600px; }
.inquire-panel .page-title { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.06; }
.inquire-panel .lede { max-width: 540px; }
.inquire-rule { height: 1px; background: var(--hairline-2); margin: 48px 0 44px; }
.inquire-panel .form-grid { gap: 26px 28px; }
.inquire-panel .form-foot { flex-direction: column; align-items: stretch; gap: 20px; }
.inquire-panel .form-foot .btn { justify-content: center; }
@media (min-width: 861px) {
  /* the desktop bar is 20px taller than its spacer */
  .inquire-split { margin-top: 20px; }
}
@media (max-width: 860px) {
  .inquire-split { grid-template-columns: 1fr; }
  .inquire-photo { position: relative; top: auto; height: 56vh; height: 56svh; min-height: 320px; }
  .inquire-panel { padding: 48px 24px 80px; }
  .inquire-panel-inner { max-width: none; }
}

/* ==========================================================================
   Portfolio — image first, almost no text. Modelled on the client's reference
   (reemphotography.com): tiles that sit edge to edge with the name centred and a
   soft veil that lifts on hover; galleries are a square-cornered masonry with thin
   gaps; everything fades in as it scrolls into view.
     /portfolio/                 two full-height panels (Wedding, Engagement)
     /portfolio/<category>/      one hero photograph with the single heading, then album tiles
     /portfolio/<category>/<a>/  the photographs only, then previous / next and a contact form
   ========================================================================== */

/* ---- Tiles (album covers) and the two portfolio panels ---- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.album-card {
  display: block; position: relative; overflow: hidden;
  background: var(--ink); color: #F7EFE0;
  -webkit-tap-highlight-color: transparent;
}
/* Every tile is the same 2:3 portrait so the covers line up. Covers that are not exactly
   2:3 are trimmed slightly at the sides; inside a gallery each photo is shown whole. */
.album-card::before { content: ''; display: block; padding-top: 150%; }
.album-card img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, 50% 50%);
  transition: transform 1.4s var(--ease-cinematic);
}
/* the veil keeps the name readable at rest and lifts away on hover */
.album-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(24, 13, 8, 0.30);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.album-card-name {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 2.1vw, 27px); font-weight: 400; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #F7EFE0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
@media (hover: hover) {
  .album-card:hover img { transform: scale(1.03); }
  .album-card:hover::after { opacity: 0.25; }
}
.album-card:focus-visible { outline: 2px solid var(--carmine); outline-offset: -4px; z-index: 3; }

/* Portfolio page: two panels that fill the screen under the bar */
.portfolio-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.portfolio-split .album-card::before { display: none; }
.portfolio-split .album-card {
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  min-height: 420px;
}
.portfolio-split .album-card-name {
  /* sits in the lower third so it does not cross the faces */
  align-items: flex-end; padding-bottom: clamp(40px, 11vh, 110px);
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 0.18em;
}
.portfolio-split .album-card::after {
  background: linear-gradient(180deg, rgba(24, 13, 8, 0.16) 0%, rgba(24, 13, 8, 0.16) 45%, rgba(24, 13, 8, 0.52) 100%);
}
@media (min-width: 861px) {
  /* the desktop bar is 20px taller than its spacer */
  .portfolio-split { margin-top: 20px; }
  .portfolio-split .album-card { height: calc(100vh - var(--nav-h) - 20px); height: calc(100svh - var(--nav-h) - 20px); }
}
@media (max-width: 700px) {
  .album-grid { grid-template-columns: 1fr; }
  .album-card-name { font-size: 22px; }
  .portfolio-split { grid-template-columns: 1fr; }
  .portfolio-split .album-card { height: 60vh; height: 60svh; min-height: 360px; }
  .portfolio-split .album-card-name { font-size: 24px; }
}

/* ---- Category hero: one large photograph and the single heading ---- */
.gallery-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  height: clamp(380px, 74vh, 780px);
  background: var(--ink); color: var(--cream);
}
.gallery-hero img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-focus, 50% 50%);
}
.gallery-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 13, 8, 0.58) 0%, rgba(20, 13, 8, 0.26) 46%, rgba(20, 13, 8, 0.10) 100%);
  pointer-events: none;
}
.gallery-hero-inner { position: relative; z-index: 2; width: 100%; }
.gallery-hero-title {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.1; letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
  margin: 0;
}
.gallery-wrap { padding: 56px 0 96px; }
.gallery-wrap.is-bare { padding-top: 40px; }
@media (min-width: 861px) {
  .gallery-hero { margin-top: 20px; }
  .gallery-wrap.is-bare { padding-top: 60px; }
}
@media (max-width: 860px) {
  .gallery-hero { height: clamp(320px, 64vh, 560px); align-items: flex-end; }
  .gallery-hero::after {
    background: linear-gradient(180deg, rgba(20, 13, 8, 0.26) 0%, rgba(20, 13, 8, 0.16) 40%, rgba(20, 13, 8, 0.60) 100%);
  }
  .gallery-hero-inner { padding-bottom: 32px; }
  .gallery-wrap { padding: 32px 0 72px; }
  .gallery-wrap.is-bare { padding-top: 24px; }
}
@media (max-width: 640px) {
  /* phones: give the photographs the width */
  .portfolio-page .container { padding: 0 20px; }
}

/* ---- Gallery: the photographs only ----
   Plain CSS columns are the baseline. The script then deals the photographs into --cols
   real columns, always adding to the shortest one, so the columns end level and the
   photographs read left to right the way the reference's galleries do. */
.portfolio-page .masonry { --cols: 4; --gap: 12px; column-count: 4; column-gap: var(--gap); }
.portfolio-page .masonry-item {
  margin-bottom: var(--gap);
  border-radius: 0; box-shadow: none;
  background: var(--parchment);
}
.portfolio-page .masonry.is-dealt { column-count: auto; display: flex; align-items: flex-start; gap: var(--gap); }
.portfolio-page .masonry.is-dealt .masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.portfolio-page .masonry.is-dealt .masonry-item { margin-bottom: 0; }
@media (max-width: 1100px) { .portfolio-page .masonry { --cols: 3; column-count: 3; } }
@media (max-width: 700px) { .portfolio-page .masonry { --cols: 2; --gap: 8px; column-count: 2; } }

/* previous / next album: arrows only */
.gallery-pager {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px;
}
.gallery-pager a {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform 0.45s var(--ease-cinematic), color 0.3s ease;
}
.gallery-pager svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-pager a:hover, .gallery-pager a:focus-visible { color: var(--carmine); outline: none; }
.gallery-pager a.prev:hover, .gallery-pager a.prev:focus-visible { transform: translateX(-5px); }
.gallery-pager a.next:hover, .gallery-pager a.next:focus-visible { transform: translateX(5px); }

/* contact form at the end of a gallery */
.gallery-contact { background: var(--parchment); padding: 88px 0 96px; }
.gallery-contact .eyebrow-row { margin-bottom: 40px; }
.gallery-contact .form-foot { justify-content: flex-end; margin-top: 8px; }
@media (max-width: 700px) {
  .gallery-contact { padding: 64px 0 72px; }
  .gallery-contact .eyebrow-row { margin-bottom: 28px; }
  .gallery-contact .form-foot { justify-content: stretch; }
  .gallery-contact .form-foot .btn { width: 100%; justify-content: center; }
}

/* ---- Fade in on scroll. Pages opt in with html.js-anim (set in <head>); without it,
        or with reduced motion, everything is simply visible. ---- */
html.js-anim .album-card,
html.js-anim .portfolio-page .masonry-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1.1s var(--ease-cinematic);
}
html.js-anim .album-card.is-in,
html.js-anim .portfolio-page .masonry-item.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .album-card,
  html.js-anim .portfolio-page .masonry-item { opacity: 1; transform: none; transition: none; }
  .album-card img, .album-card::after, .gallery-pager a { transition: none; }
}

/* ==========================================================================
   Lightbox — the full photograph, uncropped, with prev / next
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 10, 6, 0.95);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
.lightbox-figure {
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 64px 76px;
  box-sizing: border-box;
}
.lightbox-img {
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  user-select: none; -webkit-user-drag: none;
  transition: opacity 0.25s ease;
}
.lightbox-img.is-loading { opacity: 0.25; }
.lightbox-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(241, 234, 220, 0.08);
  border: 1px solid rgba(241, 234, 220, 0.28);
  color: var(--cream);
  cursor: pointer; padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--ink); outline: none; }
.lightbox-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 14px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 2;
  text-align: center; pointer-events: none;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.28em;
  color: rgba(241, 234, 220, 0.7);
}
@media (max-width: 700px) {
  .lightbox-figure { padding: 64px 10px 60px; }
  .lightbox-btn { width: 42px; height: 42px; }
  .lightbox-close { top: 10px; right: 10px; }
  /* phones swipe between photos; the arrows stay as small edge targets */
  .lightbox-prev, .lightbox-next { background: rgba(16, 10, 6, 0.5); }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-img, .masonry-item img { transition: none; }
}
