/* ==========================================================================
   ANNY J. WILLIS — FRONT-END STAGGERED MASONRY & POP-UP LIGHTBOX (frontend-gallery.css)
   Fonts: 'Krona One' (display) + 'Rubik' (editorial body)
   ========================================================================== */

:root {
  --ajw-bg: #ffffff;
  --ajw-bg-soft: #f7f7f5;
  --ajw-ink: #111111;
  --ajw-muted: #666666;
  --ajw-line: #e8e8e5;
  --ajw-accent-cobalt: #0f3899;
  --ajw-accent-magenta: #d81b60;
  --ajw-font-display: 'Krona One', sans-serif;
  --ajw-font-body: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ajw-portfolio-root,
.ajw-masonry-section,
.ajw-lightbox {
  font-family: var(--ajw-font-body);
  color: var(--ajw-ink);
  line-height: 1.65;
  box-sizing: border-box;
}

.ajw-portfolio-root *,
.ajw-masonry-section *,
.ajw-lightbox * {
  box-sizing: border-box;
}

.ajw-portfolio-root img,
.ajw-masonry-section img,
.ajw-lightbox img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ajw-portfolio-root a,
.ajw-masonry-section a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   HERO SECTION (GIANT DISPLAY WORD + HERO CANVAS)
   ========================================================================== */
.ajw-hero {
  padding: 36px 48px 64px;
  overflow: hidden;
  background: var(--ajw-bg);
}

.ajw-giant-word {
  font-family: var(--ajw-font-display);
  font-size: 13.4vw;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ajw-ink);
  white-space: nowrap;
  user-select: none;
  margin: 0 0 -2.2vw;
  position: relative;
  z-index: 2;
}

.ajw-hero-banner-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: end;
}

.ajw-hero-canvas {
  width: 100%;
  height: 460px;
  overflow: hidden;
  position: relative;
  background: #0a2268;
  cursor: pointer;
}

.ajw-hero-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ajw-hero-canvas:hover img {
  transform: scale(1.03);
}

.ajw-hero-meta {
  padding-bottom: 8px;
}

.ajw-hero-kicker {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ajw-muted);
  margin-bottom: 12px;
}

.ajw-hero-deck {
  font-size: 15px;
  color: var(--ajw-ink);
  line-height: 1.7;
  margin: 0 0 20px;
}

.ajw-btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ajw-font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ajw-ink);
  cursor: pointer;
}

/* ==========================================================================
   ARTIST BIO SECTION (WITH CROPPED coffieIMG_3343.jpg)
   ========================================================================== */
.ajw-bio {
  padding: 88px 48px;
  border-top: 1px solid var(--ajw-line);
  border-bottom: 1px solid var(--ajw-line);
  background: var(--ajw-bg-soft);
}

.ajw-bio-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}

.ajw-bio-visual {
  position: relative;
  max-width: 480px;
}

.ajw-bio-img-main {
  overflow: hidden;
  background: #e9e9e4;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08);
}

.ajw-bio-img-main img {
  width: 100%;
  height: auto;
  display: block;
}

.ajw-bio-caption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ajw-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ajw-section-tag {
  font-family: var(--ajw-font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ajw-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.ajw-bio-title {
  font-family: var(--ajw-font-display);
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.24;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.ajw-bio-copy {
  font-size: 16px;
  color: #333333;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 0 18px;
}

.ajw-bio-stats {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dcdcd6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ajw-stat-num {
  font-family: var(--ajw-font-display);
  font-size: 20px;
  color: var(--ajw-ink);
}

.ajw-stat-label {
  font-size: 12px;
  color: var(--ajw-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ==========================================================================
   NOW EXHIBITING — STAGGERED 2-COLUMN MASONRY + 4-ITEM FADE CURTAIN
   ========================================================================== */
.ajw-masonry-section {
  padding: 96px 48px;
  max-width: 1520px;
  margin: 0 auto;
  background: var(--ajw-bg);
}

.ajw-masonry-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 24px;
  flex-wrap: wrap;
}

.ajw-masonry-title {
  font-family: var(--ajw-font-display);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

.ajw-filter-bar {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ajw-muted);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.ajw-filter-bar::-webkit-scrollbar {
  display: none;
}

.ajw-filter-btn {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
}

.ajw-filter-btn.active {
  color: var(--ajw-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.ajw-masonry-stage {
  position: relative;
}

/* 2-Column Interlocking Staggered Grid:
   Row 1: Left = Tall (3:4), Right = Wide (4:3)
   Row 2: Left = Wide (4:3), Right = Tall (3:4 pulled up by --tall-wide-diff) */
.ajw-masonry-grid {
  --tall-wide-diff: 340px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 40px;
  align-items: start;
}

.ajw-masonry-item {
  cursor: pointer;
}

.ajw-masonry-item.is-filtered-out {
  display: none !important;
}

.ajw-masonry-item.pull-up-tall {
  margin-top: calc(-1 * var(--tall-wide-diff));
}

.ajw-masonry-thumb {
  overflow: hidden;
  background: #f2f2ef;
  margin-bottom: 16px;
  position: relative;
}

.ajw-masonry-item.is-tall .ajw-masonry-thumb {
  aspect-ratio: 3 / 4;
}

.ajw-masonry-item.is-wide .ajw-masonry-thumb {
  aspect-ratio: 4 / 3;
}

.ajw-masonry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ajw-masonry-item:hover .ajw-masonry-thumb img {
  transform: scale(1.035);
}

.ajw-thumb-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
  font-family: var(--ajw-font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.ajw-masonry-item:hover .ajw-thumb-badge,
.ajw-collection-artwork:hover .ajw-thumb-badge {
  opacity: 1;
  transform: translateY(0);
}

.ajw-item-cat {
  font-family: var(--ajw-font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ajw-muted);
  margin-bottom: 5px;
}

.ajw-item-title {
  font-family: var(--ajw-font-display);
  font-size: 15px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ajw-ink);
  margin: 0;
}

/* CRITICAL: Ensure prices stay hidden on main grid cards (shown only in Pop-Up Lightbox) */
.ajw-masonry-item .ajw-item-price,
.ajw-collection-row .ajw-item-price {
  display: none !important;
}

/* Collapsed State: Show first 4 items fully + 5th/6th items peeking through fade */
.ajw-masonry-stage.is-collapsed .ajw-masonry-item:nth-child(n+7) {
  display: none;
}

.ajw-masonry-stage.is-collapsed .ajw-masonry-item:nth-child(5),
.ajw-masonry-stage.is-collapsed .ajw-masonry-item:nth-child(6) {
  max-height: 260px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ajw-masonry-fade-zone {
  position: relative;
  margin-top: -220px;
  padding-top: 150px;
  padding-bottom: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.78) 48%,
    rgba(255, 255, 255, 0.96) 76%,
    #ffffff 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
  transition: margin 0.3s ease, padding 0.3s ease;
}

.ajw-masonry-stage.is-expanded .ajw-masonry-fade-zone {
  margin-top: 36px;
  padding-top: 0;
  background: none;
}

.ajw-fade-hint {
  font-family: var(--ajw-font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ajw-muted);
  margin-bottom: 14px;
}

.ajw-masonry-stage.is-expanded .ajw-fade-hint {
  display: none;
}

.ajw-view-all-btn {
  appearance: none;
  background: var(--ajw-ink);
  color: #ffffff;
  border: 2px solid var(--ajw-ink);
  font-family: var(--ajw-font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.16);
  transition: all 0.22s ease;
}

.ajw-view-all-btn:hover {
  background: var(--ajw-accent-cobalt);
  border-color: var(--ajw-accent-cobalt);
  transform: translateY(-2px);
}

.ajw-view-all-count {
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 8px;
  border-radius: 2px;
  font-family: var(--ajw-font-body);
  font-size: 11px;
  font-weight: 600;
}

/* ==========================================================================
   SELECTED COLLECTIONS
   ========================================================================== */
.ajw-collections {
  padding: 96px 48px;
  background: var(--ajw-bg-soft);
  border-top: 1px solid var(--ajw-line);
}

.ajw-collections-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.ajw-collections-head {
  margin-bottom: 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #dcdcd6;
  padding-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.ajw-collection-row {
  display: grid;
  grid-template-columns: 5.5fr 6.5fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
}

.ajw-collection-row:last-child {
  margin-bottom: 0;
}

.ajw-collection-artwork {
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  cursor: pointer;
}

.ajw-collection-artwork img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.ajw-collection-num {
  font-family: var(--ajw-font-display);
  font-size: 64px;
  line-height: 1;
  color: #dfdfd9;
  margin-bottom: 20px;
}

.ajw-collection-title {
  font-family: var(--ajw-font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 12px;
}

.ajw-collection-specs {
  font-family: var(--ajw-font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ajw-accent-cobalt);
  margin-bottom: 20px;
}

.ajw-collection-desc {
  font-size: 16px;
  color: #333333;
  line-height: 1.8;
  margin: 0 0 28px;
}

/* ==========================================================================
   DARK QUOTE BANNER
   ========================================================================== */
.ajw-quote-banner {
  background: #111111;
  color: #ffffff;
  padding: 104px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ajw-quote-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ajw-font-display);
  font-size: 16vw;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
}

.ajw-quote-text {
  position: relative;
  z-index: 2;
  font-family: var(--ajw-font-display);
  font-size: clamp(20px, 3vw, 42px);
  line-height: 1.38;
  max-width: 980px;
  margin: 0 auto 20px;
  text-transform: uppercase;
}

.ajw-quote-author {
  position: relative;
  z-index: 2;
  font-family: var(--ajw-font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   POP-UP LIGHTBOX GALLERY (MUSEUM VIEWER + 1.85x IMPASTO ZOOM + DOSSIER)
   ========================================================================== */
.ajw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(12, 13, 18, 0.96);
  backdrop-filter: blur(16px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ajw-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ajw-lb-topbar {
  height: 68px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ajw-lb-counter-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ajw-lb-counter {
  font-family: var(--ajw-font-display);
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.ajw-lb-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.ajw-lb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ajw-lb-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--ajw-font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ajw-lb-btn:hover,
.ajw-lb-btn.is-active {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.ajw-lb-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  overflow: hidden;
}

.ajw-lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 76px;
  min-height: 0;
  overflow: hidden;
  user-select: none;
}

.ajw-lb-img-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090a0f;
  cursor: zoom-in;
}

.ajw-lb-img-frame.is-zoomed {
  cursor: zoom-out;
}

.ajw-lb-img {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

.ajw-lb-img-frame.is-zoomed .ajw-lb-img {
  transform: scale(1.85);
}

.ajw-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--ajw-font-display);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.ajw-lb-arrow:hover {
  background: #ffffff;
  color: #111111;
}

.ajw-lb-arrow.prev {
  left: 20px;
}

.ajw-lb-arrow.next {
  right: 20px;
}

/* Small Corner Zoom Icon Button (Bottom-Right Corner Below Right Arrow) */
.ajw-lb-corner-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.ajw-lb-corner-zoom:hover,
.ajw-lb-corner-zoom.is-active {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

/* Right Collector Dossier inside Lightbox */
.ajw-lb-dossier {
  background: #14161f;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.ajw-lb-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 5px 12px;
  margin-bottom: 16px;
}

.ajw-lb-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.ajw-lb-title-row {
  display: flex;
  flex-direction: column;
}

.ajw-lb-title {
  font-family: var(--ajw-font-display);
  font-size: 22px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
}

.ajw-lb-price {
  font-family: var(--ajw-font-display);
  font-size: 20px;
  color: #60a5fa;
  margin-bottom: 22px;
}

.ajw-lb-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.ajw-lb-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ajw-lb-spec-label {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.ajw-lb-spec-val {
  color: #ffffff;
  font-weight: 500;
  text-align: right;
}

.ajw-lb-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.ajw-lb-inquire-btn {
  width: 100%;
  background: #ffffff;
  color: #111111;
  border: none;
  font-family: var(--ajw-font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ajw-lb-inquire-btn:hover {
  background: #3b82f6;
  color: #ffffff;
}

.ajw-lb-submit-btn {
  background: #2563eb;
  color: #ffffff;
  padding: 12px;
}

.ajw-lb-inquiry-box {
  display: none;
  margin-top: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ajw-lb-inquiry-box.is-open {
  display: block;
}

.ajw-lb-inquiry-heading {
  font-family: var(--ajw-font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: #93c5fd;
}

.ajw-lb-inquiry-box input,
.ajw-lb-inquiry-box textarea {
  width: 100%;
  background: #0c0e14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--ajw-font-body);
  font-size: 13px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.ajw-lb-strip {
  height: 86px;
  padding: 0 36px;
  background: #0b0c11;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  flex-shrink: 0;
}

.ajw-lb-thumb-btn {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  background: #1a1d26;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.2s ease;
  overflow: hidden;
}

.ajw-lb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ajw-lb-thumb-btn:hover,
.ajw-lb-thumb-btn.active {
  opacity: 1;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   DEDICATED MOBILE VIEWPORT PASS (<= 768px)
   CRITICAL:
   1. Top zoom button hidden (#ajwLbZoomBtn { display: none !important; })
   2. Bottom-right corner zoom icon button (.ajw-lb-corner-zoom) below right arrow
   3. 65% Image Stage / 35% Compact Content Dossier split
   ========================================================================== */
@media (max-width: 768px) {
  .ajw-hero {
    padding: 20px 20px 40px;
  }
  .ajw-giant-word {
    font-size: 15.6vw;
    margin-bottom: -2.4vw;
  }
  .ajw-hero-banner-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ajw-hero-canvas {
    height: 270px;
  }
  .ajw-hero-deck {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .ajw-bio {
    padding: 48px 20px;
  }
  .ajw-bio-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ajw-bio-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .ajw-bio-copy {
    font-size: 14.5px;
    line-height: 1.7;
  }
  .ajw-bio-stats {
    gap: 12px;
    padding-top: 18px;
  }
  .ajw-stat-num {
    font-size: 17px;
  }
  .ajw-stat-label {
    font-size: 11px;
  }

  .ajw-masonry-section {
    padding: 52px 20px;
  }
  .ajw-masonry-header {
    margin-bottom: 24px;
    gap: 14px;
  }
  .ajw-masonry-title {
    font-size: 26px;
  }
  .ajw-masonry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ajw-masonry-item.pull-up-tall {
    margin-top: 0;
  }
  .ajw-masonry-stage.is-collapsed .ajw-masonry-item:nth-child(6) {
    display: none;
  }
  .ajw-masonry-stage.is-collapsed .ajw-masonry-item:nth-child(5) {
    display: block;
    max-height: 230px;
    overflow: hidden;
  }
  .ajw-masonry-fade-zone {
    margin-top: -195px;
    padding-top: 130px;
  }
  .ajw-view-all-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 11px;
  }

  .ajw-collections {
    padding: 52px 20px;
  }
  .ajw-collections-head {
    margin-bottom: 36px;
    padding-bottom: 18px;
  }
  .ajw-collection-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 52px;
    padding-bottom: 44px;
    border-bottom: 1px solid #e2e2dc;
  }
  .ajw-collection-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .ajw-collection-artwork {
    padding: 12px;
  }
  .ajw-collection-num {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .ajw-collection-title {
    font-size: 19px;
  }
  .ajw-collection-desc {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .ajw-quote-banner {
    padding: 64px 20px;
  }
  .ajw-quote-text {
    font-size: 19px;
  }

  /* Mobile Pop-Up Lightbox Gallery: 65% Stage / 35% Compact Dossier */
  .ajw-lb-topbar {
    height: 48px;
    padding: 0 16px;
  }
  .ajw-lb-kicker,
  #ajwLbZoomBtn {
    display: none !important;
  }
  .ajw-lb-btn {
    padding: 7px 11px;
    font-size: 9px;
  }
  .ajw-lb-main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    overflow: hidden;
  }
  .ajw-lb-stage {
    flex: 0 0 65%;
    height: 65%;
    max-height: 65%;
    min-height: 0;
    padding: 12px 52px;
  }
  .ajw-lb-img {
    max-height: calc(65vh - 56px);
    max-height: calc(65dvh - 56px);
  }
  .ajw-lb-arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .ajw-lb-arrow.prev {
    left: 8px;
  }
  .ajw-lb-arrow.next {
    right: 8px;
  }
  .ajw-lb-corner-zoom {
    right: 8px;
    bottom: 12px;
    width: 36px;
    height: 36px;
  }
  .ajw-lb-dossier {
    flex: 0 0 35%;
    height: 35%;
    max-height: 35%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px 14px;
    gap: 8px;
    justify-content: space-between;
    overflow-y: auto;
  }
  .ajw-lb-status-pill {
    font-size: 9px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }
  .ajw-lb-title-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
  }
  .ajw-lb-title {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 0;
  }
  .ajw-lb-price {
    font-size: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .ajw-lb-specs {
    padding: 6px 0;
    margin-bottom: 6px;
    gap: 3px;
    font-size: 11px;
  }
  .ajw-lb-spec-row.hide-mobile {
    display: none;
  }
  .ajw-lb-spec-label {
    font-size: 9.5px;
  }
  .ajw-lb-desc {
    font-size: 12px;
    line-height: 1.42;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ajw-lb-inquire-btn {
    padding: 11px 14px;
    font-size: 10px;
  }
  .ajw-lb-strip {
    display: none;
  }
}

/* ==========================================================================
   SITE HEADER, CUSTOM SITE SECTIONS, PAST GALLERY SHOWS & FOOTER (v2.2.0)
   ========================================================================== */
.ajw-site-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.ajw-site-brand {
  font-family: var(--ajw-font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ajw-ink);
  text-decoration: none;
}

.ajw-site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ajw-site-nav a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ajw-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ajw-site-nav a:hover {
  color: var(--ajw-ink);
}

.ajw-site-cta-btn {
  background: var(--ajw-ink);
  color: #ffffff;
  border: 1px solid var(--ajw-ink);
  font-family: var(--ajw-font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ajw-site-cta-btn:hover {
  background: var(--ajw-cobalt);
  border-color: var(--ajw-cobalt);
}

/* Optional Pitch Sheet Mode: Reveal Prices on Grid Cards when enabled for custom galleries */
.ajw-masonry-section.ajw-show-grid-prices .ajw-item-price {
  display: inline-block !important;
  font-family: var(--ajw-font-display);
  font-size: 13px;
  color: var(--ajw-cobalt);
}

.ajw-gallery-pitch-intro {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ajw-muted);
  margin: 10px 0 0;
}

/* Custom Site Sections: Split, Dual Image, and Banner */
.ajw-custom-section {
  padding: 80px 60px;
  border-bottom: 1px solid var(--ajw-line);
}

.ajw-custom-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.ajw-custom-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ajw-custom-split.is-image-right .ajw-custom-split-media {
  order: 2;
}

.ajw-custom-split.is-image-right .ajw-custom-split-copy {
  order: 1;
}

.ajw-custom-dual-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.ajw-custom-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.ajw-custom-dual-card {
  margin: 0;
  cursor: pointer;
}

.ajw-custom-dual-img {
  position: relative;
  overflow: hidden;
  background: #eaeae4;
  aspect-ratio: 4 / 3;
}

.ajw-custom-dual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ajw-custom-dual-card:hover .ajw-custom-dual-img img {
  transform: scale(1.03);
}

.ajw-custom-dual-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ajw-muted);
}

.ajw-custom-banner {
  position: relative;
  overflow: hidden;
}

.ajw-custom-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
}

.ajw-custom-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ajw-custom-banner-content {
  position: relative;
  z-index: 2;
}

.ajw-custom-banner-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93c5fd;
  margin-bottom: 12px;
}

/* 2nd Gallery at Bottom of Page: Past Gallery Shows & Exhibitions */
.ajw-past-shows-section {
  padding: 90px 60px;
  background: #ecece6;
  border-top: 1px solid var(--ajw-line);
}

.ajw-past-shows-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.ajw-past-shows-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.ajw-past-shows-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ajw-past-show-card {
  background: #ffffff;
  border: 1px solid var(--ajw-line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ajw-past-show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.ajw-past-show-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfdfd8;
}

.ajw-past-show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ajw-past-show-card:hover .ajw-past-show-thumb img {
  transform: scale(1.04);
}

.ajw-past-show-date-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  font-family: var(--ajw-font-display);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
}

.ajw-past-show-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ajw-past-show-venue {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ajw-cobalt);
  font-weight: 600;
}

.ajw-past-show-title {
  font-family: var(--ajw-font-display);
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ajw-ink);
  margin: 0;
}

.ajw-past-show-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ajw-muted);
  margin: 4px 0 0;
}

/* Site Footer */
.ajw-site-footer {
  background: #0b0c10;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 60px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ajw-footer-inner {
  max-width: 1400px;
  margin: 0 auto 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ajw-footer-brand {
  font-family: var(--ajw-font-display);
  font-size: 16px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.ajw-footer-tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 440px;
}

.ajw-footer-links-col {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}

.ajw-footer-links-col a {
  color: #ffffff;
  text-decoration: none;
}

.ajw-footer-links-col a:hover {
  color: #93c5fd;
}

.ajw-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .ajw-past-shows-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ajw-site-header {
    padding: 16px 20px;
  }
  .ajw-site-nav {
    display: none;
  }
  .ajw-custom-section,
  .ajw-past-shows-section,
  .ajw-site-footer {
    padding: 48px 20px;
  }
  .ajw-custom-split-grid,
  .ajw-custom-dual-grid,
  .ajw-past-shows-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ==========================================================================
   SLANTED CAROUSEL HEADER (GRACEY EDITORIAL VISION)
   ========================================================================== */
.ajw-slanted-header {
  background: #ffffff;
  padding: 0;
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--ajw-border, #e2e8f0);
  overflow: hidden;
}

.ajw-slanted-stage-container {
  position: relative;
  width: 100%;
  height: 580px;
  min-height: 580px;
  border-radius: 0;
  overflow: hidden;
  background: #fafaf7;
  border: none;
}

.ajw-slanted-bg-marquee {
  position: absolute;
  top: 45%;
  left: 0;
  transform: translateY(-50%) rotate(-2.8deg);
  width: 250%;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  opacity: 0.07;
}

.ajw-slanted-marquee-track {
  display: inline-block;
  font-family: var(--ajw-font-display, 'Krona One', sans-serif);
  font-size: 14vw;
  line-height: 0.9;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px #111111;
  letter-spacing: -0.02em;
  animation: ajwSlantedMarqueeDrift 45s linear infinite;
}

@keyframes ajwSlantedMarqueeDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ajw-slanted-carousel-viewport {
  position: absolute;
  inset: -45px -80px -45px 0;
  overflow: hidden;
  z-index: 5;
  display: flex;
  align-items: center;
  cursor: grab;
  user-select: none;
}

.ajw-slanted-carousel-viewport:active {
  cursor: grabbing;
}

.ajw-slanted-track {
  display: flex;
  gap: 32px;
  align-items: center;
  padding-left: 240px;
  padding-right: 180px;
  transform: rotate(-2.8deg) translateZ(0);
  transform-origin: 0% 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ajw-slanted-card {
  flex: 0 0 290px;
  width: 290px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #0a2268;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ajw-slanted-card:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 28px 65px -10px rgba(10, 34, 104, 0.30);
  z-index: 10;
}

.ajw-slanted-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ajw-slanted-card:hover img {
  transform: scale(1.08);
}

/* Frosted Scrim Container: smooth right fade behind text */
.ajw-slanted-frosted-scrim {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 680px;
  max-width: 90%;
  z-index: 15;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(255, 255, 255, 0.95) 45%, 
    rgba(255, 255, 255, 0.70) 68%, 
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 48%, rgba(0,0,0,0.85) 66%, rgba(0,0,0,0.3) 85%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 48%, rgba(0,0,0,0.85) 66%, rgba(0,0,0,0.3) 85%, transparent 100%);
  pointer-events: none;
}

/* 100% Solid & Crisp Typography Overlay (Completely Unmasked) */
.ajw-slanted-overlap-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 640px;
  max-width: 90%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 48px 46px max(48px, calc((100vw - 1360px) / 2));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}

.ajw-slanted-overlap-overlay > * {
  pointer-events: auto;
}

.ajw-vision-subtag {
  font-family: var(--ajw-font-mono, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
  margin-bottom: 12px;
  display: inline-block;
}

.ajw-vision-headline {
  font-family: var(--ajw-font-display, 'Krona One', sans-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.7rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 18px;
}

.ajw-vision-headline .ajw-v-line {
  display: block;
}

.ajw-vision-deck {
  font-family: var(--ajw-font-body, 'Rubik', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 440px;
  margin-bottom: 0;
}

.ajw-vision-actions {
  display: inline-flex;
  gap: 14px;
  margin-top: 24px;
}

.ajw-vision-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  color: #ffffff;
  font-family: var(--ajw-font-display, 'Krona One', sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.22s ease;
}

.ajw-vision-btn-primary:hover {
  background: #333333;
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 768px) {
  .ajw-slanted-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--ajw-border, #e2e8f0);
  }
  .ajw-slanted-stage-container {
    height: auto;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0;
    border: none;
    width: 100%;
    background: #fafaf7;
  }
  .ajw-slanted-carousel-viewport {
    position: relative;
    inset: auto;
    height: 316px;
    width: 100%;
    margin: 16px 0 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 14px;
    box-sizing: border-box;
  }
  .ajw-slanted-track {
    padding-left: 20px;
    padding-right: 40px;
    gap: 16px;
    transform: rotate(-2.2deg) translateZ(0);
    transform-origin: 0% 100%;
  }
  .ajw-slanted-card {
    flex: 0 0 200px;
    width: 200px;
    height: 275px;
    border-radius: 12px;
  }
  .ajw-slanted-frosted-scrim {
    display: none;
  }
  .ajw-slanted-overlap-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    inset: auto;
    padding: 20px 20px 36px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
  }
  .ajw-vision-headline {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.15;
  }
  .ajw-vision-deck {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
  }
}

/* ==========================================================================
   EDGE-TO-EDGE BREAKOUT (FOR BLOCK THEMES LIKE TWENTY TWENTY-FOUR)
   ========================================================================== */
.wp-site-blocks:has(.ajw-portfolio-root) > header.wp-block-template-part,
.wp-site-blocks:has(.ajw-portfolio-root) > footer.wp-block-template-part {
  display: none !important;
}
body:has(.ajw-portfolio-root) {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}
.wp-block-post-content:has(.ajw-portfolio-root),
.wp-block-group:has(.ajw-portfolio-root),
main.wp-block-group:has(.ajw-portfolio-root),
.entry-content:has(.ajw-portfolio-root) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
