/* Arte Olvidado — shared interior direction */
.interior-page {
  --interior-nav-h: 62px;
  --site-black: #0d0d0d;
  --site-ivory: #f0f1ed;
  --site-ink: #101111;
  --site-muted: #69706b;
  --site-line: rgba(16, 17, 17, .18);
  --site-red: #bd3c2f;
  background: var(--site-ivory);
  color: var(--site-ink);
  font-family: "Archivo", Arial, sans-serif;
}
.interior-page::selection { background: var(--site-red); color: #fff; }
.interior-page .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--interior-nav-h);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(13,13,13,.97);
  color: #fff;
  backdrop-filter: blur(12px);
}
.interior-page .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 clamp(16px, 3vw, 42px);
}
.interior-page .brand-mark { padding: 0; }
.interior-page .brand-mark .name {
  color: #fff;
  font-family: "Archivo", Arial, sans-serif !important;
  font-size: 13px;
  font-style: normal;
  font-weight: 700 !important;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.interior-page nav.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, auto));
  gap: 4px 22px;
  align-items: center;
}
.interior-page nav.links a {
  padding: 0;
  border: 0;
  color: #fff;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-transform: uppercase;
  white-space: nowrap;
}
.interior-page nav.links a:hover,
.interior-page nav.links a.active { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.interior-page .nav-cart {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.interior-page .nav-cart:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.interior-page .nav-toggle { width: 44px; height: 44px; border-color: rgba(255,255,255,.68); }
.interior-page .nav-toggle span { background: #fff; }
.interior-page .mobile-panel { top: var(--interior-nav-h); background: var(--site-black); color: #fff; }
.interior-page .mobile-panel a { color: #fff; font-family: "Archivo", Arial, sans-serif !important; font-weight: 600 !important; }

.interior-page main { background: var(--site-ivory); }
.interior-page .page-hero {
  display: grid;
  min-height: 48svh;
  align-items: end;
  padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 78px);
  background: var(--site-black);
  border: 0;
  color: #fff;
  text-align: left;
}
.interior-page .page-hero .wrap { width: 100%; max-width: 1280px; padding: 0; }
.interior-page .page-hero .eyebrow { justify-content: flex-start; color: #c7cdc8; }
.interior-page .page-hero h1 {
  max-width: 11ch;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .84;
}
.interior-page .page-hero p { max-width: 42ch; margin: 24px 0 0; color: #c7cdc8; font-size: 15px; }

/* The shop hero keeps the editorial hit without delaying the catalogue. */
.interior-page.shop-page .page-hero {
  min-height: clamp(300px, 36svh, 380px);
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(26px, 3vw, 44px);
}
.interior-page.shop-page .page-hero h1 { margin-top: 12px; }
.interior-page.shop-page .page-hero p { margin-top: 16px; }

.interior-page section { padding: clamp(76px, 9vw, 132px) 0; }
.interior-page section.tight { padding: clamp(54px, 7vw, 96px) 0; }
.interior-page .wrap { max-width: 1280px; padding-inline: clamp(20px, 5vw, 72px); }
.interior-page .eyebrow {
  color: var(--site-red);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.interior-page .section-head {
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
  border-bottom: 1px solid var(--site-line);
  padding-bottom: 18px;
}
.interior-page .section-head h2,
.interior-page .manifesto h2,
.interior-page .contact-info h2 {
  color: var(--site-ink);
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .88;
}
.interior-page .section-head p { color: var(--site-muted); font-size: 14px; }

/* Catalog */
.interior-page .filters-bar {
  position: sticky;
  top: var(--interior-nav-h);
  z-index: 80;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(13,13,13,.96);
  color: #fff;
  backdrop-filter: blur(12px);
}
.interior-page .filters-inner {
  max-width: 1280px;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
}
.interior-page .filters {
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 1px;
}
.interior-page .filters::-webkit-scrollbar { display: none; }
.interior-page .filter-btn {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 0;
  background: transparent;
  color: #c7cdc8;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.interior-page .filter-btn:hover,
.interior-page .filter-btn.active { border-color: #fff; background: #fff; color: var(--site-black); }
.interior-page .result-count { flex: 0 0 auto; color: #c7cdc8; font-size: 11px; }
.interior-page .grid {
  columns: 4;
  column-gap: clamp(18px, 3vw, 48px);
  display: block;
  padding-top: 0;
}
.interior-page .grid .card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(42px, 5vw, 76px);
  break-inside: avoid;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.interior-page .grid .card:hover { transform: translateY(-4px); box-shadow: none; }
.interior-page .grid .card .mat { padding: 0; background: transparent; border: 0; box-shadow: none; }
.interior-page .grid .card .img-wrap {
  height: auto;
  aspect-ratio: var(--catalog-ratio, 4 / 5);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e2e5e0;
}
.interior-page .grid .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .28s ease-out, transform .7s cubic-bezier(.16,1,.3,1), filter .3s;
}
.interior-page .grid .card img.is-loaded { opacity: 1; }
.interior-page .grid .card:hover img { transform: scale(1.018); filter: saturate(1.02); }
.interior-page .grid .card-tag,
.interior-page .grid .card-num { display: none; }
.interior-page .grid .card-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 0;
}
.interior-page .grid .card-info .title {
  margin: 0;
  color: var(--site-ink);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  font-weight: 400;
  line-height: 1;
}
.interior-page .grid .card-info .dims { color: var(--site-muted); font-size: 11px; }
.interior-page .grid .card-info .price { margin: 0; color: var(--site-red); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Story, artist and contact */
.interior-page .manifesto { background: var(--site-ivory); border: 0; }
.interior-page .manifesto-grid { align-items: start; gap: clamp(38px, 8vw, 128px); }
.interior-page .manifesto blockquote { border-left: 2px solid var(--site-red); padding-left: 22px; color: var(--site-ink); font-style: normal; font-weight: 400; line-height: 1.05; }
.interior-page .manifesto .body p,
.interior-page .artist-grid p,
.interior-page .contact-info p { color: #4e5651; font-size: 16px; line-height: 1.6; }
.interior-page .artist { background: var(--site-black); border: 0; color: #fff; }
.interior-page .artist-grid { align-items: center; gap: clamp(38px, 8vw, 128px); }
.interior-page .artist-grid .mat { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.interior-page .artist-grid .mat img { aspect-ratio: 4 / 5; border-radius: 0; filter: grayscale(1) contrast(1.06); }
.interior-page .artist-grid h3 { margin: 0 0 18px; color: #fff; font-size: clamp(3rem, 6vw, 6rem); font-style: normal; font-weight: 400; line-height: .86; }
.interior-page .artist-grid p { color: #c7cdc8; }
.interior-page .artist-facts { border-top-color: rgba(255,255,255,.2); }
.interior-page .artist-facts .fact-label { color: #aeb4ae; }
.interior-page .artist-facts .fact-value { color: #fff; }
.interior-page .polaroid-row { grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 42px); }
.interior-page .polaroid { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.interior-page .polaroid img { aspect-ratio: 1 / 1; border-radius: 0; object-fit: cover; filter: saturate(.84); transition: filter .3s, transform .5s cubic-bezier(.16,1,.3,1); }
.interior-page .polaroid:hover img { filter: saturate(1); transform: translateY(-5px); }
.interior-page .band-dark { background: var(--site-black); }
.interior-page .band-dark h2,
.interior-page .band-dark .contact-info p { color: #fff; }
.interior-page .contact-grid { gap: clamp(38px, 8vw, 128px); }
.interior-page form.inquiry { padding: 0; border: 0; border-radius: 0; background: transparent; }
.interior-page form.inquiry input,
.interior-page form.inquiry textarea { border: 0; border-bottom: 1px solid rgba(255,255,255,.32); border-radius: 0; background: transparent; color: #fff; padding: 16px 0; }
.interior-page form.inquiry input:focus,
.interior-page form.inquiry textarea:focus { border-color: #fff; }
.interior-page form.inquiry input::placeholder,
.interior-page form.inquiry textarea::placeholder { color: #aeb4ae; }
.interior-page form.inquiry .btn { border: 1px solid #fff; border-radius: 0; background: #fff; color: var(--site-black); }
.interior-page form.inquiry .btn:hover { border-color: var(--site-red); background: var(--site-red); color: #fff; }
.interior-page .contact-line { border-color: rgba(255,255,255,.2); }
.interior-page .contact-line .lbl { color: #aeb4ae; }
.interior-page .contact-line a { color: #fff; }
.interior-page .lightbox { background: rgba(5, 5, 5, .88); }
.interior-page .lightbox-inner { border-radius: 0; background: var(--site-black); box-shadow: 0 34px 90px rgba(0,0,0,.52); }
.interior-page .lightbox-img-wrap { background: #050505; }
.interior-page .lightbox-text { color: #fff; }
.interior-page .lightbox-text h3 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); font-style: normal; font-weight: 400; line-height: .9; }
.interior-page .lightbox-text .lbtag { color: #c7cdc8; }
.interior-page .lightbox-text .lbdims,
.interior-page .lightbox-text p { color: #aeb4ae; }
.interior-page .lightbox-text .lbprice { color: #fff; }
.interior-page .lightbox-close { border: 1px solid rgba(255,255,255,.55); border-radius: 0; background: transparent; color: #fff; }
.interior-page .lightbox-close:hover { border-color: #fff; color: #fff; }
.interior-page a:focus-visible,
.interior-page button:focus-visible,
.interior-page input:focus-visible,
.interior-page textarea:focus-visible { outline: 2px solid var(--site-red); outline-offset: 4px; }

/* Legal reading */
.interior-page .legal { max-width: 900px; }
.interior-page .legal .updated { display: block; margin-bottom: 56px; color: var(--site-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.interior-page .legal p,
.interior-page .legal li { color: #4e5651; font-size: 16px; line-height: 1.7; }
.interior-page .legal h2 { margin: 62px 0 18px; color: var(--site-ink); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: .94; }
.interior-page .legal ul { padding-left: 20px; }
.interior-page footer { border-top: 1px solid rgba(255,255,255,.15); background: var(--site-black); color: #fff; }
.interior-page footer .footer-inner { max-width: 1280px; padding-inline: clamp(20px, 5vw, 72px); }
.interior-page .footer-inner .fname { color: #fff; font-family: "Bodoni Moda", Georgia, serif !important; font-weight: 400 !important; }
.interior-page .footer-links a { color: #aeb4ae; }
.interior-page .footer-links a:hover { color: #fff; }
.interior-page .footer-copy { color: #69706b; }

@media (max-width: 980px) {
  .interior-page .grid { columns: 3; }
  .interior-page .artist-grid,
  .interior-page .manifesto-grid,
  .interior-page .contact-grid { gap: 46px; }
}
@media (max-width: 760px) {
  .interior-page .nav-inner { display: flex; justify-content: space-between; padding-block: 0; }
  .interior-page nav.links,
  .interior-page .nav-cart { display: none; }
  .interior-page .page-hero { min-height: 56svh; padding-top: 72px; }
  .interior-page.shop-page .page-hero {
    min-height: clamp(260px, 40svh, 340px);
    padding-top: 56px;
    padding-bottom: 36px;
  }
  .interior-page .page-hero h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .interior-page .grid { columns: 2; column-gap: 14px; }
  .interior-page .grid .card { margin-bottom: 34px; }
  .interior-page .grid .card-info { display: block; padding-top: 10px; }
  .interior-page .grid .card-info .title { font-size: 1.05rem; }
  .interior-page .grid .card-info .price { margin-top: 5px; }
  .interior-page .polaroid-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .interior-page .page-hero { min-height: 48svh; }
  .interior-page.shop-page .page-hero {
    min-height: clamp(230px, 38svh, 300px);
    padding-top: 48px;
    padding-bottom: 28px;
  }
  .interior-page .filters-inner { align-items: center; flex-direction: row; gap: 10px; }
  .interior-page .filters { width: auto; }
  .interior-page .filter-btn { flex: 0 0 auto; }
  .interior-page .result-count { font-size: 10px; }
  .interior-page section,
  .interior-page section.tight { padding-block: 58px; }
}


/* Lightbox containment: keep tall works and the inquiry action inside the viewport. */
.interior-page .lightbox {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.interior-page .lightbox-inner {
  height: min(calc(100dvh - 40px), 760px);
  max-height: calc(100dvh - 40px);
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
}

.interior-page .lightbox-img-wrap {
  min-height: 0;
  height: 100%;
}

.interior-page .lightbox-inner img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.interior-page .lightbox-text {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 205, 200, .72) transparent;
  display: flex;
  flex-direction: column;
}
.interior-page .lightbox-text::-webkit-scrollbar { width: 8px; }
.interior-page .lightbox-text::-webkit-scrollbar-track { background: transparent; }
.interior-page .lightbox-text::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 0;
  background: rgba(199, 205, 200, .72);
  background-clip: padding-box;
}

.interior-page .lightbox-text .lbprice {
  margin-top: 18px;
  flex: 0 0 auto;
  padding: 8px 0;
}

.interior-page .lightbox-text > .btn.btn-primary {
  flex: 0 0 auto;
  min-height: 48px;
  margin-top: auto;
  background: var(--site-red);
  color: #fff;
}

/* The consent notice is fixed at the bottom on first visit; reserve its space. */
.interior-page:has(#cookie-banner.show) .lightbox {
  padding-bottom: 104px;
}

.interior-page:has(#cookie-banner.show) .lightbox-inner {
  height: min(calc(100dvh - 124px), 760px);
  max-height: calc(100dvh - 124px);
}

@media (max-width: 760px) {
  .interior-page .lightbox-inner {
    width: 100%;
    height: 100%;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 42svh) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 0;
  }

  .interior-page .lightbox-img-wrap {
    max-height: none;
  }

  .interior-page .lightbox-text {
    padding: 24px 20px 28px;
  }

  .interior-page:has(#cookie-banner.show) .lightbox {
    padding-bottom: 220px;
  }

  .interior-page:has(#cookie-banner.show) .lightbox-inner {
    height: 100%;
    max-height: none;
  }
}
