/* ==========================================
   RESET + ROOT
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #080808;
  --bg-card:      #0f0f0f;
  --bg-alt:       #0b0b0b;
  --text:         #f0ebe0;
  --text-muted:   #7a7672;
  --text-dim:     #383530;
  --accent:       #c4a87a;
  --accent-light: #d9c4a0;
  --border:       #181614;
  --border-mid:   #242220;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; }

/* ==========================================
   NAVIGATION
========================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 44px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

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

.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================
   MOBILE NAV OVERLAY
========================================== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  padding: 80px 52px 60px;
  gap: 0;
}

.mobile-overlay.open { display: flex; }

.mobile-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 300;
  text-decoration: none;
  color: var(--text);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-mid);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-overlay a:hover {
  color: var(--accent);
  padding-left: 8px;
}

/* ==========================================
   HERO
========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/gallery/jetty-sunset.jpeg');
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-bg.pan { transform: scale(1.0); }

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(8,8,8,0.90) 0%,  rgba(8,8,8,0.25) 55%, transparent 100%),
    linear-gradient(to right, rgba(8,8,8,0.30) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 52px;
}

.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 300;
  line-height: 0.90;
  color: var(--text);
  margin-bottom: 40px;
}

.hero-name em { font-style: italic; font-weight: 300; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ==========================================
   BUTTONS
========================================== */
.btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240,235,224,0.35);
}

.btn-ghost:hover { border-color: var(--text); }

/* ==========================================
   ANNOUNCEMENT STRIP
========================================== */
.strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.strip p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.5;
}

.strip p strong {
  color: var(--text);
  font-style: normal;
  font-weight: 400;
}

.strip a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.strip a:hover { border-color: var(--accent); }

/* ==========================================
   SECTION SHELL
========================================== */
.section { padding: 96px 52px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 18px;
  margin-bottom: 64px;
}

.section-head-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-head a {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.section-head a:hover { color: var(--text); }

/* ==========================================
   WORK GRID
========================================== */
#work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  cursor: zoom-in;
}

.work-card {
  background: var(--bg-card);
  overflow: hidden;
  cursor: zoom-in;
}

.work-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card-img img { transform: scale(1.07); }

.work-card-veil {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}

.work-card:hover .work-card-veil { background: rgba(8,8,8,0.48); }

.work-card-cta {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(240,235,224,0.55);
  padding: 11px 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.work-card:hover .work-card-cta { opacity: 1; transform: translateY(0); }

.work-card-body { padding: 22px 26px 28px; }

.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 7px;
}

.work-card-meta {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.work-card-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  margin-top: 12px;
  letter-spacing: 0.03em;
}

/* Sold state */
.work-card[data-sold="true"] { opacity: 0.55; }
.work-card[data-sold="true"] .work-card-price { color: var(--text-muted); }

/* ==========================================
   STATEMENT
========================================== */
#statement {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 128px 52px;
  text-align: center;
}

.statement-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
  max-width: 880px;
  margin: 0 auto;
}

.statement-body em { font-style: italic; color: var(--accent-light); }

/* ==========================================
   FULL-BLEED FEATURE
========================================== */
.bleed {
  position: relative;
  height: 68vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bleed:hover .bleed-bg { transform: scale(1.03); }

.bleed-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.10) 60%, transparent 100%);
}

.bleed-content {
  position: relative;
  z-index: 2;
  padding: 0 52px 60px;
}

.bleed-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.bleed-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(30px, 5vw, 66px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 30px;
}

/* ==========================================
   ABOUT
========================================== */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.5s, transform 0.7s;
}

.about-img-wrap:hover img { filter: grayscale(0%); transform: scale(1.03); }

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 36px;
}

.about-heading em { font-style: italic; }

.about-para {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.about-cta { margin-top: 44px; }

/* ==========================================
   TRUST BAR
========================================== */
.trust {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  padding: 48px 44px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.trust-item:last-child { border-right: none; }

.trust-title {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.trust-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   NEWSLETTER
========================================== */
#newsletter {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 110px 52px;
  text-align: center;
}

.nl-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.nl-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 18px;
}

.nl-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.nl-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
}

.nl-form input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-right: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  padding: 15px 20px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-form input[type="email"]::placeholder { color: var(--text-dim); }
.nl-form input[type="email"]:focus { border-color: var(--text-muted); }

.nl-form button {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s, border-color 0.22s;
}

.nl-form button:hover { background: var(--accent); border-color: var(--accent); }

/* ==========================================
   FOOTER
========================================== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 72px 52px 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  display: block;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 230px;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}

.footer-nav-col h4 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 11px; }

.footer-nav-col a {
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--text); }

.footer-social h4 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-social a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ==========================================
   LIGHTBOX
========================================== */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 4, 4, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.lb.open { display: flex; }

.lb-close {
  position: absolute;
  top: 22px; right: 32px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  z-index: 301;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.lb-close:hover { color: var(--text); }

.lb-img-wrap {
  max-width: min(90vw, 1280px);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lb-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 32px 96px rgba(0,0,0,0.7);
}

.lb-caption {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-muted);
  font-size: 22px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  z-index: 301;
}

.lb-nav:hover { color: var(--text); border-color: var(--text-muted); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ==========================================
   SCROLL REVEAL
========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 960px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 72px 28px; }
  #statement { padding: 88px 28px; }
  #newsletter { padding: 88px 28px; }

  .hero-content { padding: 0 28px; }
  .hero { padding-bottom: 60px; }

  .strip { padding: 18px 28px; flex-direction: column; align-items: flex-start; gap: 12px; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-img-wrap { aspect-ratio: 4 / 3; }

  .trust { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .bleed-content { padding: 0 28px 48px; }

  .nl-form { flex-direction: column; }
  .nl-form input[type="email"] { border-right: 1px solid var(--border-mid); border-bottom: none; }
}

@media (max-width: 580px) {
  .work-grid { grid-template-columns: 1fr; }
  .footer-nav-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-links { flex-direction: column; gap: 8px; }
}

/* ==========================================
   MOBILE OVERLAY CLOSE BUTTON
========================================== */
.overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.overlay-close:hover { color: var(--text); }

/* ==========================================
   SECTION EYEBROW (shared across sections)
========================================== */
.section-eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 48px;
}

.section-footer {
  text-align: center;
  margin-top: 60px;
}

/* ==========================================
   BLEED PANELS (2-up side by side)
========================================== */
.bleed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.bleed-panel {
  position: relative;
  height: 60vh;
  min-height: 360px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.bleed-panel--shore {
  background-image: url('../images/gallery/beach-walk.jpeg');
}

.bleed-panel--harbour {
  background-image: url('../images/gallery/misty-shore.jpeg');
}

/* ==========================================
   SOLD BADGE (gallery card overlay)
========================================== */
.sold-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text-muted);
  padding: 5px 10px;
  pointer-events: none;
  z-index: 2;
}

.work-card-price--sold { color: var(--text-muted); }

/* ==========================================
   LIGHTBOX PANEL (title, price, inquire)
========================================== */
.lb-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.lb-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.02em;
}

.lb-price {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.04em;
}

.lb-price--sold { color: var(--text-muted); }

/* ==========================================
   RESPONSIVE ADDITIONS
========================================== */
@media (max-width: 760px) {
  .bleed-grid { grid-template-columns: 1fr; }
  .bleed-panel { height: 40vh; min-height: 260px; }
  .lb-panel { gap: 14px; }
}

/* ==========================================
   ENQUIRE BUTTON (gallery card)
========================================== */
.work-card-enquire {
  display: block;
  margin-top: 14px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(240,235,224,0.20);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 0 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-align: left;
}

.work-card-enquire:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================
   INQUIRY MODAL
========================================== */
.inq-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(4, 4, 4, 0.94);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inq-modal.open { display: flex; }

.inq-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  max-width: 520px;
  width: 100%;
  padding: 56px 52px 52px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.inq-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.inq-modal-close:hover { color: var(--text); }

.inq-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 8px;
}

.inq-heading em { font-style: italic; }

.inq-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
  min-height: 1.5em;
}

.inq-field {
  margin-bottom: 22px;
}

.inq-field label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.inq-field label em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  font-size: 9px;
}

.inq-field input,
.inq-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  display: block;
}

.inq-field input:focus,
.inq-field textarea:focus { border-color: var(--text-muted); }

.inq-field input::placeholder,
.inq-field textarea::placeholder { color: var(--text-dim); }

.inq-submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px 34px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.22s, border-color 0.22s;
}

.inq-submit:hover  { background: var(--accent); border-color: var(--accent); }
.inq-submit:disabled { opacity: 0.5; cursor: default; }

.inq-success {
  text-align: center;
  padding: 40px 0 20px;
}

.inq-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
}

.inq-success-msg {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 580px) {
  .inq-modal-inner { padding: 44px 28px 36px; }
}

/* ==========================================
   SERIES FILTER BAR
========================================== */
.series-filter {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-mid);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.series-filter::-webkit-scrollbar { display: none; }

.series-filter-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px 12px;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.series-filter-btn:hover { color: var(--text); }

.series-filter-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ==========================================
   SERIES HEADERS (within the grid flow)
========================================== */
.series-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 48px 0 18px;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 0;
}

.series-header:first-child { padding-top: 0; }

.series-header-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.01em;
}

.series-header-count {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Hide series headers when filtered to a single series */
.work-grid.filtered .series-header { display: none; }

/* Hide cards not in the active series when filtered */
.work-grid.filtered .work-card[data-series]:not([data-series-active]) {
  display: none;
}

/* ==========================================
   LIGHTBOX ZOOM STATE
========================================== */

/* Zoom toggle button */
.lb-zoom-btn {
  position: absolute;
  bottom: 22px;
  right: 24px;
  background: rgba(8,8,8,0.72);
  border: 1px solid var(--border-mid);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 302;
  transition: color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.lb-zoom-btn:hover { color: var(--text); border-color: var(--text-muted); }
.lb-zoom-btn svg { pointer-events: none; }

/* Detail tab strip (shown when detail_filename present) */
.lb-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-mid);
}

.lb-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px 8px;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.lb-tab:hover { color: var(--text); }
.lb-tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* Zoomed image state -- overflow scroll inside lb-img-wrap */
.lb-img-wrap.zoomed {
  cursor: grab;
  overflow: hidden;
  max-width: 100vw;
  max-height: 88vh;
  width:  100vw;
  height: 88vh;
  display: block;
  position: relative;
}

.lb-img-wrap.zoomed.dragging { cursor: grabbing; }

.lb-img-wrap.zoomed .lb-img {
  max-width: none;
  max-height: none;
  position: absolute;
  top: 0;
  left: 0;
  cursor: inherit;
  transition: none;
  box-shadow: none;
}

/* Zoom hint that fades in over the image (non-zoomed) */
.lb-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.lb-img-wrap:hover .lb-zoom-hint { opacity: 1; }
.lb-img-wrap.zoomed .lb-zoom-hint { display: none; }

/* ==========================================
   LIGHTBOX ARTIST NOTE
   Pull-quote shown below the panel for
   paintings with a long-form artist_note.
========================================== */
.lb-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: min(700px, 88vw);
  text-align: center;
  line-height: 1.8;
  margin-top: 22px;
  padding: 22px 32px 4px;
  border-top: 1px solid var(--border-mid);
}

/* When a note is present the lightbox needs to scroll */
.lb.with-note {
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: 72px;
  padding-bottom: 60px;
}

.lb.with-note .lb-img-wrap {
  max-height: 62vh;
}

.lb.with-note .lb-img {
  max-height: 62vh;
}

@media (max-width: 760px) {
  .lb-note { font-size: 15px; padding: 18px 16px 4px; }
  .lb.with-note { padding-top: 56px; }
}

/* ==========================================
   VIRTUAL GALLERY (v1.0.6)
   Full-screen exhibition room overlay.
   Three rooms, one per series.
========================================== */

/* Entry button -- sits in section-head alongside Instagram link */
.section-head-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.vr-entry-btn {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(196,168,122,0.35);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 0 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.vr-entry-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Overlay */
.vr-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #0e0c0a;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.vr-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Close button */
.vr-close {
  position: absolute;
  top: 16px;
  right: 22px;
  z-index: 10;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 34px;
  font-weight: 200;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.vr-close:hover { color: var(--text); }

/* Header: room tabs + hint */
.vr-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
}

.vr-rooms {
  display: flex;
  gap: 0;
}

.vr-room-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.07em;
  padding: 6px 28px 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.vr-room-btn:hover { color: var(--text); }
.vr-room-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.vr-hint {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 0 0;
}

/* Viewport clips the scrolling wall */
.vr-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.vr-viewport.dragging { cursor: grabbing; }

/* Ambient spotlight effect */
.vr-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 28%,
    rgba(255,248,228,0.055) 0%, transparent 68%);
  pointer-events: none;
  z-index: 3;
}

/* The wide wall -- slides left/right via translateX */
.vr-wall {
  position: absolute;
  top: 0;
  left: 0;
  height: 78%;
  background: #1c1814;
  border-top: 5px solid #252018;  /* picture rail */
  transition: transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Baseboard strip at foot of wall */
.vr-wall::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: #111009;
}

/* Floor */
.vr-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, #161311 0%, #0e0c0a 100%);
}

/* Each painting frame */
.vr-painting {
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s;
}

.vr-painting:hover { transform: translateY(-3px); }

.vr-painting img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  /* Matte frame simulation */
  box-shadow:
    0 0 0 6px #1a1410,
    0 0 0 14px #5a4a36,
    0 0 0 16px #3a2e22,
    0 16px 48px rgba(0,0,0,0.75),
    0 4px 12px rgba(0,0,0,0.5);
}

/* Gold highlight on hover */
.vr-painting::before {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid transparent;
  transition: border-color 0.25s;
  pointer-events: none;
  z-index: 2;
}
.vr-painting:hover::before {
  border-color: rgba(196,168,122,0.28);
}

/* Label below painting */
.vr-label {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.vr-label-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  color: rgba(240,235,224,0.55);
  letter-spacing: 0.03em;
}

.vr-label-medium {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.25);
  margin-top: 4px;
}

/* Pan arrows */
.vr-pan {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(14,12,10,0.65);
  border: 1px solid rgba(196,168,122,0.18);
  color: var(--text-muted);
  font-size: 20px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}
.vr-pan:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(14,12,10,0.88);
}
.vr-pan:disabled { opacity: 0.15; cursor: default; pointer-events: none; }
.vr-pan-left  { left: 16px; }
.vr-pan-right { right: 16px; }

/* Progress bar -- shows pan position */
.vr-progress-wrap {
  position: absolute;
  bottom: calc(22% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: rgba(255,255,255,0.07);
  z-index: 5;
}
.vr-progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.46s;
  opacity: 0.6;
}

/* Mobile adjustments */
@media (max-width: 760px) {
  .vr-room-btn { font-size: 14px; padding: 6px 16px 10px; }
  .vr-pan { width: 38px; height: 38px; font-size: 16px; }
  .vr-label-title { font-size: 11px; }
  .vr-label-medium { display: none; }
  .section-head-actions { flex-direction: column; align-items: flex-end; gap: 10px; }
}
