/* =============================================
   DYAN Gallery — Stylesheet
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --ink:        #1A1A1A;
  --ink-mid:    #555555;
  --ink-light:  #888888;
  --rule:       #E0E0E0;
  --paper:      #FFFFFF;
  --paper-warm: #F8F7F5;
  --placeholder: #E8E8E8;

  --max-w:    1160px;
  --gutter:   2rem;
  --header-h: 70px;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Utility ────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.section-intro {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3.5rem;
}

/* Image placeholder blocks */
.img-block {
  background-color: var(--placeholder);
  width: 100%;
  display: block;
}
.portrait  { aspect-ratio: 3 / 4; }
.landscape { aspect-ratio: 4 / 3; }
.square    { aspect-ratio: 1 / 1; }


/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  transition: transform 0.32s ease;
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.5; }

.logo-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--ink);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  line-height: 1;
}

.primary-nav {
  display: flex;
  gap: 2.25rem;
}

.primary-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.2s;
}
.primary-nav a:hover { opacity: 0.4; }

/* Menu button (mobile) */
.menu-btn {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}

.menu-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--sans);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.is-open .menu-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-btn.is-open .menu-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}


/* =============================================
   MOBILE OVERLAY
   ============================================= */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.45; }

.mobile-footer-text {
  position: absolute;
  bottom: 2.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}


/* =============================================
   HERO
   ============================================= */

.section-hero {
  padding-top: var(--header-h);
  padding-bottom: 1.75rem;
  background: var(--paper);
}

/* ── Slideshow ── */
.hero-slideshow {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: 1.5rem;
}

.hero-track {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h) - 4.5rem);
  min-height: 530px;
  max-height: 1140px;
  background: var(--paper);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Subtle navigation dots */
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.slide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  background: var(--rule);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease;
}

.slide-dot.is-active {
  background: var(--ink);
}

.slide-dot:hover {
  background: var(--ink-mid);
}


/* =============================================
   ABOUT
   ============================================= */

.section-about {
  padding-block: 8rem;
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-graf {
  font-family: var(--serif) !important;
  font-size: 1.45rem !important;
  font-weight: 300;
  line-height: 1.55 !important;
  margin-bottom: 2rem !important;
}


/* =============================================
   ARTISTS
   ============================================= */

.section-artists {
  padding-block: 8rem;
  background: var(--paper-warm);
}

.artist-roll {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}

.artist-roll li {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.artist-roll li:nth-child(odd)  { padding-right: 3rem; }
.artist-roll li:nth-child(even) { padding-left:  3rem; }


/* =============================================
   CONTACT
   ============================================= */

.section-contact {
  padding-block: 8rem;
  background: var(--paper-warm);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-group p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink);
}

.info-label {
  font-size: 0.65rem !important;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light) !important;
  margin-bottom: 0.4rem;
}

.info-group a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.info-group a:hover { opacity: 0.5; }

.info-note {
  font-size: 0.8rem !important;
  color: var(--ink-light) !important;
  line-height: 1.75 !important;
}

/* Form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding-block: 0.75rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  outline: none;
  resize: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #C8C8C8;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ink);
}

.enquiry-form button[type="submit"] {
  align-self: flex-start;
  padding: 0.9rem 2.75rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.enquiry-form button[type="submit"]:hover {
  background: transparent;
  color: var(--ink);
}


/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
  flex-shrink: 0;
}

.footer-address {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--ink-light);
  letter-spacing: 0.04em;
  line-height: 1.6;
  flex: 1;
  text-align: center;
}

.footer-address a {
  color: var(--ink-light);
  transition: opacity 0.2s;
}
.footer-address a:hover { opacity: 0.5; }

.footer-copy {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}


/* =============================================
   ARTISTS — subtitle
   ============================================= */

.section-artists .section-intro { margin-bottom: 2rem; }

.artists-subtitle {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2rem;
}


/* =============================================
   SOCIAL LINKS
   ============================================= */

/* Contact section — icon + handle */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-link svg {
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* Footer — icon only */
.footer-insta {
  display: inline-flex;
  align-items: center;
  color: var(--ink-light);
  transition: opacity 0.2s;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.footer-insta:hover { opacity: 0.5; }


/* =============================================
   RESPONSIVE — Tablet
   ============================================= */

@media (max-width: 960px) {
  .primary-nav  { display: none; }
  .menu-btn     { display: flex; }
  .mobile-overlay { display: flex; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { order: 1; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

}


/* =============================================
   RESPONSIVE — Mobile
   ============================================= */

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }

  .logo-sub { display: none; }

  .hero-track {
    height: calc(100vw * 0.72);
    min-height: 260px;
    max-height: 560px;
  }

  .section-about,
  .section-artists,
  .section-contact {
    padding-block: 5rem;
  }

  .section-intro { margin-bottom: 2.5rem; }

  .artist-roll {
    grid-template-columns: 1fr;
  }
  .artist-roll li:nth-child(odd),
  .artist-roll li:nth-child(even) {
    padding-right: 0;
    padding-left:  0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

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

  /* Lightbox on mobile */

}

/* === NAHEM–DYAN: design concept v1 — reversible overrides === */
:root {
 --ink:#0A1C3A;
 --ink-mid:#4B5870;
 --ink-light:#68738A;
 --rule:#D8DCE1;
 --paper:#F9F8F4;
 --paper-warm:#F0F1EF;
 --placeholder:#E7E9E7;
 --accent:#2B65DD;
 --header-h:96px;
}
body { background:var(--paper); }
.preview-banner { position:relative; z-index:201; padding:6px 12px; text-align:center; background:#0A1C3A; color:#fff; font-size:9px; font-weight:400; letter-spacing:.16em; }
.site-header { top:26px; background:rgba(249,248,244,.96); border-bottom-color:var(--rule); }
.site-logo { display:block; width:clamp(178px,22vw,290px); flex-shrink:0; }
.site-logo:hover { opacity:.8; }
.brand-logo { width:100%; height:auto; display:block; }
.primary-nav a:hover { color:var(--accent); opacity:1; }
.section-hero { background:var(--paper); }
.section-about { background:var(--paper); }
.section-artists { background:#EBEDF0; }

.section-contact { background:#EDF0F3; }
.section-intro { border-bottom-color:#BFC9D8; }
.eyebrow { color:var(--accent); letter-spacing:.23em; }
.artist-roll li { color:var(--ink); }
.preview-note { font-size:.76rem; color:var(--ink-light); line-height:1.8; max-width:40rem; }
.contact-statement { font-family:var(--serif); font-size:clamp(2.6rem,5vw,5rem); font-weight:300; line-height:1.1; color:var(--ink); }
.contact-statement em { color:var(--accent); font-weight:300; }
.contact-preview { border-left:1px solid var(--rule); padding-left:3rem; display:flex; flex-direction:column; gap:1.5rem; }
.site-footer { background:var(--ink); border-top:0; color:#F9F8F4; }
.site-footer .footer-name,.site-footer .footer-copy,.site-footer .footer-address { color:#F9F8F4; }
.footer-divider { color:#5A88FF; padding-inline:.25rem; }
.slide-dot.is-active { background:var(--accent); }
@media (max-width:960px) { .site-logo { width:225px; } }
@media (max-width:640px) { :root { --header-h:76px; } .site-header { top:26px; } .site-logo { width:177px; } .contact-preview { padding-left:0; border-left:0; border-top:1px solid var(--rule); padding-top:2rem; } .preview-banner { letter-spacing:.07em; font-size:8px; } }

/* === NAHEM–DYAN · EDITORIAL CONCEPT V2 === */
.skip-link { position:fixed; left:1rem; top:-4rem; z-index:1000; background:#fff; padding:.5rem 1rem; }
.skip-link:focus { top:2.2rem; }
.editorial-strip { background:var(--paper); border-bottom:1px solid var(--rule); }
.editorial-inner { min-height:115px; display:grid; grid-template-columns:1fr 2fr 1fr; align-items:center; gap:1.5rem; }
.editorial-kicker,.editorial-place { font-size:.62rem; letter-spacing:.19em; font-weight:400; color:var(--ink-mid); }
.editorial-place { text-align:right; }
.editorial-kicker span { color:var(--accent); font-weight:600; padding:0 .35em; }
.editorial-inner p { text-align:center; font-family:var(--serif); font-size:clamp(1.35rem,2.5vw,2.2rem); font-weight:300; line-height:1.2; color:var(--ink); }
.section-about .intro-graf { max-width:780px; }

.primary-nav a:focus-visible,.site-logo:focus-visible,.slide-dot:focus-visible,.menu-btn:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
@media(max-width:640px){ .editorial-inner{grid-template-columns:1fr;gap:.45rem;text-align:center;padding-block:1.5rem} .editorial-kicker,.editorial-place{text-align:center;} .editorial-inner p{font-size:1.5rem;} }

/* Nahem–Dyan V3: intentionally empty, editorial artwork slots. */
.section-pending { padding: 5rem 0 5.5rem; border-top: 1px solid rgba(12,32,65,.10); }
.pending-intro { max-width: 600px; margin: 1rem 0 2.4rem; color: #647084; font-size: .92rem; line-height: 1.65; }
.pending-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.pending-slot { aspect-ratio: 4/5; background: #f0f0eb; border: 1px solid rgba(12,32,65,.10); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; text-align:center; padding: 1.1rem; color:#0a1c3a; }
.pending-slot span { font-size: .96rem; }
.pending-slot small { font-size: .72rem; color:#687486; }
@media(max-width:780px){ .pending-grid{grid-template-columns:repeat(2,minmax(0,1fr))} .section-pending{padding:3.5rem 0} }

/* V5 — image-free, intentionally blank artwork slots pending approved material */
.hero-placeholder { width:100%;height:100%;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:linear-gradient(130deg,#e9e9e4 0%,#f5f4ee 50%,#ebedea 100%);color:#253c5a;text-align:center; }
.placeholder-index { font:400 11px/1.2 Inter,sans-serif;letter-spacing:.25em;color:#8290a0; }
.placeholder-message { font:300 clamp(23px,3vw,40px)/1.15 'Cormorant Garamond',Georgia,serif;letter-spacing:.015em; }
.about-image-placeholder { display:flex;align-items:center;justify-content:center;min-height:400px;height:100%;background:#eeeee8;border:1px solid #e4e5e2;color:#86909a;font:300 24px/1.4 'Cormorant Garamond',Georgia,serif;text-align:center;padding:24px; }
.artwork-placeholder {width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:linear-gradient(150deg,#edeee9,#e6e8e6);color:#6e7882;text-align:center;padding:20px;}
.artwork-placeholder small {font:400 11px/1 Inter,sans-serif;letter-spacing:.22em;opacity:.8;}
.artwork-placeholder span {font:300 24px/1.2 'Cormorant Garamond',Georgia,serif;}

@media(max-width:640px) {.hero-placeholder {min-height:360px}.about-image-placeholder{min-height:280px}}

/* V7 — editorial homepage gallery controls */
.slideshow-toolbar {display:flex;justify-content:center;align-items:center;gap:26px;margin-top:14px;color:var(--ink);}
.hero-counter {font:400 10px/1.4 var(--sans);letter-spacing:.20em;color:var(--ink-mid);min-width:55px;text-align:center;}
.hero-arrow {color:var(--ink);font-size:20px;font-weight:300;background:transparent;border:0;padding:3px 12px;cursor:pointer;}
.hero-arrow:hover {color:var(--accent);}
.slide-dots {margin-top:5px;}
.slide {visibility:hidden;}
.slide.is-active {visibility:visible;}
@media (prefers-reduced-motion: reduce) {.slide {transition:none!important}}
@media(max-width:640px) {.hero-track {height: min(56vh, 570px);min-height:320px}.editorial-inner {min-height:105px}}

/* Nahem-Dyan: Selected exhibition archive, V12 */
.section-exhibitions { padding: 7rem 0 8rem; background: var(--paper); }
.exhibition-intro { color: var(--ink-mid); max-width: 760px; font-size: .92rem; line-height:1.75; margin-bottom:2.6rem; }
.exhibition-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.2rem 1.8rem; }
.exhibition-card a { display:block;text-decoration:none;color:inherit; }
.exhibition-art-placeholder { height:250px;background:#ebede9;position:relative;display:flex;align-items:center;justify-content:center; transition:background .2s ease; }
.exhibition-card a:hover .exhibition-art-placeholder {background:#e0e5eb;}
.exhibition-placeholder-mark {font-family: 'Cormorant Garamond',serif;font-size:4rem;color:#9cabb8;font-weight:300;}
.exhibition-placeholder-label {position:absolute;bottom:18px;left:18px;font-size:.6rem;letter-spacing:.14em;color:#69788c;}
.exhibition-card-content {padding-top:1.1rem;}
.exhibition-year {color:#526479;font-size:.67rem;letter-spacing:.06em;margin:0 0 .6rem;}
.exhibition-card-content h3 {font-family:'Cormorant Garamond',serif;font-weight:400;font-size:1.6rem;line-height:1.15;margin:0 0 .55rem;color:var(--ink);}
.exhibition-dates {font-size:.78rem;color:var(--ink-mid);margin:0 0 .8rem;}
.exhibition-view {font-size:.72rem;color:#2b65dd;}
@media(max-width:900px){.exhibition-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.section-exhibitions{padding:5rem 0;}}
@media(max-width:600px){.exhibition-grid{grid-template-columns:1fr;}.exhibition-art-placeholder{height:260px;}}

/* V15 — tighter smartphone hero layout.
   Keep original image proportions and eliminate excessive vertical whitespace
   caused by a viewport-height slide container on mobile. */
@media (max-width: 640px) {
  .section-hero {
    padding-top: var(--header-h);
    padding-bottom: .35rem;
  }
  .hero-slideshow {
    padding-top: .35rem;
  }
  .hero-track {
    height: 58vw;
    min-height: 0;
    max-height: none;
  }
  .slide img {
    object-fit: contain;
  }
  .slideshow-toolbar {
    margin-top: .2rem;
  }
  .slide-dots {
    margin-top: .25rem;
  }
}

/* Portrait in About section */
.about-portrait { margin:0; }
.about-portrait img { display:block;width:100%;height:auto;max-height:620px;object-fit:contain;object-position:center top; }
.about-portrait figcaption { margin-top:12px;font-size:12px;letter-spacing:.08em;color:var(--ink-mid); }

/* V17 — balanced founder portraits in About */
.about-founders { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.1rem; align-items:start; }
.about-founders .about-portrait img { display:block; width:100%; height:clamp(200px,22vw,360px); max-height:none; object-fit:cover; object-position:center 35%; filter:grayscale(100%); }
.about-founders .about-portrait figcaption { font-size:11px; letter-spacing:.04em; line-height:1.4; margin-top:10px; }
@media (max-width:900px) { .about-founders .about-portrait img { height:clamp(190px,34vw,310px); } }
@media (max-width:600px) { .about-founders { gap:.8rem; } .about-founders .about-portrait img { height:clamp(160px,49vw,270px); } .about-founders .about-portrait figcaption { font-size:10px; } }


/* V18 — refined logo usage and simplified hero presentation */
.slide-dots{margin-top:14px;}
.footer-logo{display:block;width:84px;height:auto;margin:0 auto 1.35rem;}
.footer-inner{align-items:center;text-align:center;}
.footer-name,.footer-address,.footer-copy{text-align:center;}
.site-logo{width:clamp(210px,26vw,360px);}
@media (max-width:960px){.site-logo{width:240px;}}
@media (max-width:640px){.site-logo{width:190px;}.slide-dots{margin-top:.35rem;}.footer-logo{width:72px;margin-bottom:1rem;}}


/* ===== V19 — clean editorial hierarchy ===== */
/* Exhibition card grid now starts immediately after the section header. */
.section-exhibitions { padding-top: 5.75rem; }
.section-exhibitions .section-intro { margin-bottom: 1.65rem; }
.exhibition-grid { margin-top:0; }
.exhibition-card { min-width:0; }
.exhibition-art-placeholder {
  height:auto; aspect-ratio: 1.52 / 1;
  background:linear-gradient(135deg,#e9e9e5 0%,#efeeea 100%);
  border:1px solid rgba(8,27,58,.06);
}
.exhibition-card a:hover .exhibition-art-placeholder {background:#e1e4e8;}
.exhibition-card a:hover h3 {color:var(--accent);}
.exhibition-card a:focus-visible {outline:2px solid var(--accent);outline-offset:5px;}
.exhibition-year {font-size:.72rem;letter-spacing:.12em;color:var(--ink-mid);margin:0 0 .6rem;}
.exhibition-card-content {padding-top: .95rem;}

/* Header uses wide original brand mark; footer uses the second, stacked mark. */
.site-logo {width: clamp(215px, 23vw, 330px);}
.site-footer {background:var(--paper);border-top:1px solid var(--rule);color:var(--ink);}
.site-footer .footer-name,.site-footer .footer-copy,.site-footer .footer-address {color:var(--ink);}
.footer-logo {width: 128px;}
.site-footer .footer-inner {gap:.6rem;}
/* Homepage has only slideshow dots below photography. */
.slide-dots {margin-top:12px;}

/* Contact inquiry layout; preview only opens user's email app. */
.contact-form-panel {border-left:1px solid var(--rule);padding-left:clamp(1.5rem,4vw,4rem);}
.inquiry-form {display:flex; flex-direction:column;gap: .55rem;}
.inquiry-form label {font:400 .68rem/1.5 var(--sans);text-transform:uppercase;letter-spacing:.16em;color:var(--ink-mid);margin-top:.75rem;}
.inquiry-form input,.inquiry-form textarea {appearance:none;width:100%;border:1px solid #bcc5d2;border-radius:0;background:transparent;color:var(--ink);font:400 .93rem/1.45 var(--sans);padding:.85rem .95rem;outline:0;}
.inquiry-form input:focus,.inquiry-form textarea:focus {border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);}
.inquiry-form textarea {resize:vertical;min-height:130px;}
.inquiry-send {align-self:flex-start;border:1px solid var(--ink);background:var(--ink);color:#fff;padding:.85rem 1.3rem;letter-spacing:.11em;text-transform:uppercase;font:.68rem/1.2 var(--sans);cursor:pointer;margin-top:1rem;}
.inquiry-send:hover {background:var(--accent);border-color:var(--accent);}
.form-notice {color:var(--ink-mid);font-size:.73rem;line-height:1.6;margin-top:.5rem;}
@media(max-width:960px){.site-logo{width:230px}.contact-form-panel{border-left:0;padding-left:0;}}
@media(max-width:640px){.site-logo{width:190px}.section-exhibitions{padding-top:3.7rem}.section-exhibitions .section-intro{margin-bottom:1.1rem}.slide-dots{margin-top:.3rem}.footer-logo{width:105px}.contact-form-panel{padding-left:0}}

/* Exhibition imagery — approved cover supplied for Primacy */
.exhibition-art-image{height:250px;overflow:hidden;background:#eae9e6;}
.exhibition-art-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}
@media(max-width:600px){.exhibition-art-image{height:260px;}}

/* V20 — smoother 3-second homepage image rotation without the former visible/hidden snap. */
.hero-slideshow .slide { visibility:visible; pointer-events:none; transition:opacity .85s ease-in-out; }
.hero-slideshow .slide.is-active { pointer-events:auto; }
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .slide { transition:none; }
}


/* V22 — seamless brand artwork and simplified footer (30 October 2026).
   Transparent logos preserve original artwork and match any surrounding background.
   Footer mark is 80% larger than in V21, including narrow-screen layout. */
.brand-logo { background: transparent; }
.footer-logo { width: 230.4px; max-width: min(100%, 230.4px); background: transparent; }
@media (max-width:640px) {
  .footer-logo { width: 189px; max-width:100%; }
}


/* V28 — Instagram icon at the very bottom of the site, in the footer. */
.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: .15rem auto;
  color: var(--ink);
  text-decoration: none;
  transition: opacity .2s ease;
}
.footer-instagram-link:hover { opacity: .55; }
.footer-instagram-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-instagram-link svg { display: block; }


/* V29 — Compress the visual gap from the homepage slideshow to About by 50%.
   The gallery images themselves, slideshow height, order and timing are unchanged.
   Desktop gap: 9.75rem → 4.875rem; mobile gap: 5.35rem → 2.675rem. */
.section-hero + .section-about { padding-top: 3.125rem; }
@media (max-width: 640px) {
  .section-hero + .section-about { padding-top: 2.325rem; }
}


/* V37: first-party responsive privacy banner, settings dialog, and footer controls. */
.nd-privacy-banner[hidden], .nd-privacy-overlay[hidden] {display:none !important;}
.nd-privacy-banner, .nd-privacy-overlay, .nd-privacy-dialog {font-family:var(--sans);letter-spacing:normal;}
.nd-privacy-banner {position:fixed;bottom:0;left:0;right:0;z-index:1200;background:#fff;border-top:1px solid #d9dee4;box-shadow:0 -4px 26px rgba(8,27,58,.08);color:#152039;padding:17px 24px calc(17px + env(safe-area-inset-bottom,0px));}
.nd-privacy-banner-inner {max-width:1480px;margin:auto;display:flex;gap:30px;align-items:center;justify-content:space-between;}
.nd-privacy-banner-text {flex:1;min-width:0;}
.nd-privacy-banner-text h2 {font-family:var(--sans);font-weight:500;font-size:17px;line-height:1.3;margin:0 0 7px;color:#132441;}
.nd-privacy-banner-text p {font-size:12.5px;line-height:1.6;color:#445062;font-weight:400;margin:0;max-width:960px;}
.nd-privacy-banner-text a {text-decoration:underline;text-underline-offset:2px;color:#0c2454;}
.nd-privacy-banner-actions {display:flex;align-items:center;gap:9px;flex:none;}
.nd-privacy-btn {border-radius:0;padding:12px 18px;min-width:117px;font:500 12px/1.2 var(--sans);cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.nd-privacy-btn--outline {background:#fff;color:#152440;border:1px solid #c6cbd3;}
.nd-privacy-btn--outline:hover {background:#f0f3f7;}
.nd-privacy-btn--solid {background:#0a1c3a;color:#fff;border:1px solid #0a1c3a;}
.nd-privacy-btn--solid:hover {background:#254f87;}
.nd-privacy-btn:focus-visible,.nd-privacy-close:focus-visible,.nd-privacy-choice button:focus-visible,.nd-privacy-dialog-secondary:focus-visible,.footer-privacy-button:focus-visible {outline:2px solid #3266d0;outline-offset:3px;}
.nd-privacy-overlay {position:fixed;inset:0;z-index:1300;background:rgba(9,16,29,.58);display:flex;justify-content:center;align-items:center;padding:24px;}
.nd-privacy-dialog {position:relative;background:#fff;width:min(100%,650px);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 12px 55px rgba(0,0,0,.25);border:1px solid #d5d7dd;padding:38px 36px 30px;color:#14223d;}
.nd-privacy-close {position:absolute;top:12px;right:16px;border:0;background:none;color:#697386;font:300 32px/1 var(--sans);padding:5px;cursor:pointer;}
.nd-privacy-dialog h2 {font:400 clamp(22px,3vw,30px)/1.25 var(--sans);text-align:center;margin:3px 0 5px;}
.nd-privacy-dialog-brand {font:400 19px/1.3 var(--serif);text-align:center;letter-spacing:.08em;margin:0 0 22px;color:#263653;}
.nd-privacy-dialog-desc {font:400 12.5px/1.8 var(--sans);color:#485568;margin:0 0 26px;}
.nd-privacy-options {display:grid;gap:10px;}
.nd-privacy-option {display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f5f6f8;padding:15px 16px;min-height:70px;}
.nd-privacy-option h3 {font:500 13px/1.5 var(--sans);margin:0;color:#202e49;}
.nd-privacy-option p {font:400 11px/1.5 var(--sans);color:#606d7d;margin:2px 0 0;}
.nd-privacy-required {display:inline-flex;justify-content:center;align-items:center;min-width:101px;min-height:37px;background:#0a1c3a;color:#fff;font:600 11px/1 var(--sans);letter-spacing:.045em;}
.nd-privacy-choice {display:flex;gap:0;min-width:120px;}
.nd-privacy-choice button {flex:1;cursor:pointer;border:1px solid #d1d5db;background:#fff;color:#263653;min-width:59px;min-height:37px;font:600 11px/1 var(--sans);}
.nd-privacy-choice button+button {border-left:0;}
.nd-privacy-choice button[aria-pressed="true"] {background:#0a1c3a;color:white;border-color:#0a1c3a;}
.nd-privacy-choice button[aria-pressed="true"]+button {border-left:0;}
.nd-privacy-note {font:400 11.5px/1.6 var(--sans);color:#5d6b7d;margin:17px 0 22px;}
.nd-privacy-dialog-actions {display:flex;justify-content:space-between;gap:12px;align-items:center;}
.nd-privacy-dialog-actions .nd-privacy-btn {min-width:123px;}
.nd-privacy-dialog-secondary {font:500 11.5px/1.2 var(--sans);color:#172a4c;cursor:pointer;border:1px solid #cfd4dc;padding:12px 10px;background:#fff;flex:1;min-height:39px;}
.nd-privacy-dialog-secondary:hover {background:#f0f3f7;}
.footer-privacy-links {display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin:.25rem auto .5rem;font:400 11px/1.5 var(--sans);letter-spacing:.04em;}
.footer-privacy-links a {text-decoration:underline;text-underline-offset:3px;}
.footer-privacy-button {font:inherit;color:inherit;border:0;border-bottom:1px solid currentColor;background:none;cursor:pointer;padding:0;}
@media (max-width:920px) {
 .nd-privacy-banner-inner {display:block;}
 .nd-privacy-banner-actions {margin-top:14px;}
 .nd-privacy-banner-actions .nd-privacy-btn {flex:1;}
}
@media (max-width:600px) {
 .nd-privacy-banner {padding:16px 16px calc(17px + env(safe-area-inset-bottom,0px));}
 .nd-privacy-banner-text h2 {font-size:17px;}
 .nd-privacy-banner-text p {font-size:12.2px;line-height:1.55;}
 .nd-privacy-banner-actions {gap:7px;margin-top:16px;}
 .nd-privacy-banner-actions .nd-privacy-btn {min-width:0;padding:12px 6px;font-size:11.5px;}
 .nd-privacy-overlay {padding:13px;align-items:center;}
 .nd-privacy-dialog {max-height:calc(100dvh - 26px);padding:37px 19px 22px;}
 .nd-privacy-dialog h2 {font-size:23px;}
 .nd-privacy-dialog-desc {font-size:12px;margin-bottom:16px;}
 .nd-privacy-dialog-brand {margin-bottom:15px;}
 .nd-privacy-option {padding:11px;gap:9px;}
 .nd-privacy-option h3 {font-size:12px;}
 .nd-privacy-option p {font-size:10px;}
 .nd-privacy-choice {min-width:96px;}
 .nd-privacy-choice button {min-width:46px;padding:9px 3px;min-height:34px;font-size:10px;}
 .nd-privacy-required {min-width:97px;min-height:34px;}
 .nd-privacy-dialog-actions {gap:7px;flex-wrap:wrap;}
 .nd-privacy-dialog-actions .nd-privacy-btn,.nd-privacy-dialog-actions .nd-privacy-dialog-secondary {min-width:0;padding:12px 7px;flex:1 1 30%;font-size:10px;}
}
@media(prefers-reduced-motion:reduce) {.nd-privacy-btn {transition:none;}}


/* V41: Notable Sales restored from the V29 archive */
/* =============================================
   WORKS
   ============================================= */

.section-works {
  padding-block: 8rem;
  background: var(--paper);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2rem;
}

/* Image well — fixed height, artwork contained without cropping */
.work-img-wrap {
  height: 360px;
  background-color: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
  transition: opacity 0.25s ease;
  cursor: zoom-in;
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.work:hover .work-img-wrap { opacity: 0.88; }

/* Panoramic work spans all columns */
.work--wide {
  grid-column: 1 / -1;
}

.work--wide .work-img-wrap {
  height: 320px;
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.work-artist {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--ink);
}

.work-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
}

.work-medium {
  font-size: 0.7rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.work-collection {
  font-size: 0.7rem;
  color: var(--ink-light);
  letter-spacing: 0.03em;
  margin-top: 0.35rem;
}

.works-footnote {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-light);
  text-align: center;
  letter-spacing: 0.02em;
}



/* =============================================
   LIGHTBOX
   ============================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.97);
}

/* ── Close button ── */
.lightbox-close {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: color 0.2s ease;
}
.lightbox-close:hover { color: rgba(255, 255, 255, 0.85); }

/* ── Navigation arrows ── */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.28);
  padding: 0;
  transition: color 0.2s ease;
}
.lightbox-prev:hover,
.lightbox-next:hover { color: rgba(255, 255, 255, 0.8); }

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

.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ── Image + caption ── */
.lightbox-body {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 10rem);
  max-height: 100vh;
}

#lightbox-img {
  display: block;
  max-width: calc(100vw - 10rem);
  max-height: calc(100vh - 11rem);
  width: auto;
  height: auto;
  transition: opacity 0.2s ease;
}

#lightbox-img.is-fading { opacity: 0; }

.lightbox-caption {
  margin-top: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lb-artist {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.lb-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.lb-details {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.06em;
}



/* Restored legacy exhibit grid: two columns on tablet, one on phone */
@media (max-width: 1024px) and (min-width: 641px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work-img-wrap { height: 280px; }
  .work--wide .work-img-wrap { height: 240px; }
}
@media (max-width: 640px) {
  .section-works { padding-block: 5rem; }
  .works-grid { grid-template-columns: 1fr; }
  .work-img-wrap { height: 240px; }
  .work--wide .work-img-wrap { height: 180px; }
  .lightbox-body { max-width: calc(100vw - 3rem); }
  #lightbox-img { max-width: calc(100vw - 3rem); max-height: calc(100vh - 9rem); }
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
  .lightbox-caption { margin-top: 1.25rem; }
}
