/* ─────────────────────────────────────────────
   ITEM DETAIL PAGE (product-detail template)
   The persistent site header (.header) stays visible above this —
   this page-view only supplies the "Back" bar and content below it.
   ─────────────────���─────────────────────────── */
.item-detail-backbar {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 20px 32px;
  border-bottom: 1px solid #000;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s;
}
body.dark .item-detail-backbar {
  background: #000;
  border-color: #fff;
}

.item-detail-back {
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
}

.item-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  max-width: 1600px;
  margin: 0 auto;
}

.item-detail-visual {
  border-right: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-visual {
  border-color: #fff;
}

.item-detail-media {
  padding: 32px;
  border-bottom: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-media {
  border-color: #fff;
}
.item-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info column stays pinned in view while the media + gallery column
   scrolls past, and stops once that column runs out (i.e. once we reach
   the bottom of the negative space below the last gallery photo) because
   .item-detail-content's height is governed by the taller sibling. */
.item-detail-info {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  padding: 56px 64px;
}

.item-detail-code {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-code {
  border-color: #fff;
}

.item-detail-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #ccc;
}
body.dark .item-detail-meta-grid {
  border-color: #333;
}
.item-detail-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.item-detail-meta-full {
  grid-column: 1 / -1;
}
.meta-label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  font-weight: 700;
}
body.dark .meta-label {
  color: #999;
}
.meta-value {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.item-detail-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #ccc;
}
body.dark .item-detail-section {
  border-color: #333;
}

/* Purchase / sold state + condition grade */
.item-detail-purchase-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.item-tooltip-wrap {
  position: relative;
  display: inline-flex;
}

.item-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  max-width: 260px;
  background: #fff;
  border: 1px solid #000;
  padding: 12px 14px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000;
  z-index: 60;
  display: none;
  pointer-events: none;
}
body.dark .item-tooltip {
  background: #000;
  border-color: #fff;
  color: #fff;
}
.item-tooltip-wrap:hover .item-tooltip,
.item-tooltip-wrap:focus-within .item-tooltip {
  display: block;
}

.purchase-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid #000;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.3s;
}
.purchase-btn:hover {
  background: #000;
  color: #fff;
}
body.dark .purchase-btn {
  border-color: #fff;
}
body.dark .purchase-btn:hover {
  background: #fff;
  color: #000;
}

.sold-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid #999;
  background: #f2f2f2;
  color: #777;
  cursor: default;
}
body.dark .sold-btn {
  border-color: #555;
  background: #161616;
  color: #888;
}

.grade-value {
  display: flex;
  align-items: center;
  gap: 10px;
}
.grade-swatch {
  display: inline-block;
  width: 26px;
  height: 10px;
  flex-shrink: 0;
}
.grade-name-wrap {
  cursor: default;
}
.item-detail-grade .item-tooltip {
  left: auto;
  right: 0;
}
.grade-name {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  border-bottom: 1px dotted currentColor;
}

.item-detail-desc {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 60ch;
}

.item-detail-section-last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Additional product photos grid */
.item-detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.item-detail-gallery-cell {
  aspect-ratio: 4/5;
  overflow: hidden;
  padding: 32px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-gallery-cell {
  border-color: #fff;
}
.item-detail-gallery-cell:nth-child(2n) {
  border-right: none;
}
.item-detail-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Explore Collection footer section */
.item-detail-explore {
  max-width: 1600px;
  margin: 0 auto;
  padding: 96px 32px 0;
}
.item-detail-explore-title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  margin-bottom: 40px;
}
.item-detail-explore-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-explore-row {
  border-color: #fff;
}
.item-detail-explore-action {
  padding: 32px 0;
  border-right: 1px solid #000;
  transition: border-color 0.3s;
}
body.dark .item-detail-explore-action {
  border-color: #fff;
}
.explore-collection-btn {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid #000;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.3s;
}
.explore-collection-btn:hover {
  background: #000;
  color: #fff;
}
body.dark .explore-collection-btn {
  border-color: #fff;
}
body.dark .explore-collection-btn:hover {
  background: #fff;
  color: #000;
}
.item-detail-explore-media {
  padding: 32px 0 32px 48px;
  max-width: 460px;
}
.item-detail-explore-media img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .item-detail-content {
    grid-template-columns: 1fr;
  }
  .item-detail-visual {
    border-right: none;
    border-bottom: 1px solid #000;
  }
  body.dark .item-detail-visual {
    border-color: #fff;
  }
  .item-detail-media {
    aspect-ratio: 4/5;
    padding: 0;
  }
  .item-detail-info {
    position: static;
    max-height: none;
    padding: 32px 20px 48px;
  }
  .item-detail-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .item-detail-backbar {
    padding: 16px 20px;
  }
  .item-detail-gallery {
    grid-template-columns: 1fr;
  }
  .item-detail-gallery-cell {
    border-right: none !important;
    padding: 20px;
  }
  .item-detail-purchase-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .item-tooltip {
    left: auto;
    right: 0;
  }
  .item-detail-explore {
    padding: 56px 20px 0;
  }
  .item-detail-explore-row {
    grid-template-columns: 1fr;
  }
  .item-detail-explore-action {
    border-right: none;
    border-bottom: 1px solid #000;
    padding: 24px 0;
  }
  body.dark .item-detail-explore-action {
    border-color: #fff;
  }
  .item-detail-explore-media {
    padding: 24px 0;
    max-width: none;
  }
}


/* Google Material Symbols Outlined: arrow_forward, mirrored for back navigation.
   Source: https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/arrow_forward/default/24px.svg */
.back-link,
.item-detail-back,
.mobile-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.back-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: currentColor;
  transform: scaleX(-1);
}


/* Persistent article return navigation, below the shared site header. */
.back-link,
.item-detail-back,
.mobile-detail-back {
  font-family: Helvetica, Arial, sans-serif;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.journal-post { padding-top: 68px; }
.post-nav {
  position: fixed;
  top: var(--site-header-height, 101px);
  left: 0;
  right: auto;
  width: max-content;
  z-index: 90;
  background: transparent;
  color: var(--post-ink);
  pointer-events: none;
  transition: color .3s;
}
.post-credits[hidden] { display: none; }
@media (max-width: 768px) {
  .journal-post { padding-top: 64px; }
}


.post-nav .back-link { pointer-events: auto; }


/* Magazine issue index: full-width, ruled archive grid. */
#pageBlog .blog-page { max-width: none; margin: 0; padding: 0; width: 100%; }
#pageBlog .blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
}
.issue-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3.35vw, 64px);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  transition: background-color .2s, color .2s;
}
.issue-card:nth-child(3n) { border-right: 0; }
.issue-cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.issue-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding-top: 16px;
}
.issue-title { font-size: clamp(1rem, 1.3vw, 1.375rem); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.issue-category { margin-top: 6px; font-size: .875rem; line-height: 1.2; }
.issue-date { font-size: .875rem; line-height: 1.25; white-space: nowrap; text-align: right; }
.issue-date span { display: block; }
body.dark .issue-card { color: #fff; background: #000; }
@media (hover: hover) {
  .issue-card:hover { color: #fff; background: #000; border-color: #000; }
  body.dark .issue-card:hover { color: #000; background: #fff; border-color: #fff; }
}
.issue-card:focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
@media (max-width: 1024px) {
  #pageBlog .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issue-card:nth-child(3n) { border-right: 1px solid currentColor; }
  .issue-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  #pageBlog .blog-list { grid-template-columns: 1fr; }
  #pageBlog .issue-card { border-right: 0; padding: 24px 20px 32px; }
  .issue-title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .issue-card { transition: none; } }


.detail-view-btn { align-items: center; gap: 8px; }
.details-arrow { display: block; width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; }


/* Match the Journal return control to the details action. */
.detail-view-btn,
.post-nav .back-link {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.details-arrow,
.post-nav .back-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-self: center;
}
/* Keep the pinned Journal control centered in its existing 24px row. */
.post-nav .back-link { min-height: 24px; }

/* September 2026 refinements */
.hero-stage {
  min-height: 500px;
  padding: 56px 0;
}

#siteFooterMount {
  margin-top: auto;
  width: 100%;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid currentColor;
}
.about-page { max-width: 1100px; padding: 64px 32px 96px; }
.about-headline { margin-bottom: 64px; }
.about-col p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.about-col img { width: 100%; height: auto; filter: grayscale(100%) contrast(1.05); }
.about-feature figcaption { margin-top: 10px; max-width: 48ch; font-size: 12px; line-height: 1.4; opacity: .6; }
.about-callout { margin-top: 80px; }

.info-page > h1 { margin-top: 0; }

/* Each informational destination has its own composition while sharing
   only the baseline type and spacing rules above. */
.info-page--privacy { max-width: none; width: 100%; padding: 0 0 96px; }
.info-page--privacy > h1 {
  padding: 56px 32px 72px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(64px, 13vw, 180px);
}
.info-page--privacy .info-intro { margin: 56px 8vw 88px auto; }
.info-page--privacy .info-sections,
.info-page--privacy .info-updated { width: min(84%, 1050px); margin-left: auto; margin-right: auto; }

.info-page--submissions {
  width: 100%;
  max-width: none;
  padding: 72px 32px 96px;
  background: transparent;
  color: inherit;
}
body.dark .info-page--submissions { background: transparent; color: inherit; }
.info-page--submissions > h1 { max-width: 1000px; }
.info-page--submissions .info-intro { margin-left: 0; }
.info-page--submissions .info-sections { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid currentColor; }
.info-page--submissions .info-section { display: block; padding: 28px; border: 0; border-right: 1px solid currentColor; }
.info-page--submissions .info-section:last-child { border-right: 0; }
.info-page--submissions .info-section p { margin-top: 36px; }

.info-page--contact { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 48px; }
.info-page--contact > h1 { grid-column: 1 / -1; }
.info-page--contact .info-intro { margin: 24px 0 0; align-self: start; }
.info-page--contact .info-sections { display: none; }
.info-page--contact .contact-list { grid-column: 2; margin-top: 32px; border-top: 1px solid currentColor; }
.contact-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}
.contact-line span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-line strong { font-size: clamp(17px, 2vw, 24px); font-weight: 400; overflow-wrap: anywhere; }
.contact-line:hover strong { opacity: .55; }
.contact-list:empty { display: none; }
.info-page--contact .info-action { display: none; }
.info-page--contact .info-updated { grid-column: 1 / -1; }

.info-page--authors .info-intro { margin-left: 0; }
.info-page--authors .info-sections { border-top: 0; counter-reset: author-section; }
.info-page--authors .info-section {
  grid-template-columns: 90px minmax(180px, .6fr) 1.4fr;
  padding: 36px 0;
}
.info-page--authors .info-section::before {
  counter-increment: author-section;
  content: "0" counter(author-section);
  font-size: 13px;
}

.info-page--extras {
  width: min(100% - 64px, 1100px);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.extras-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
.extras-links:empty { display: none; }
.extras-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 2px;
  color: inherit;
  font-size: 14px;
  line-height: 1.25;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.extras-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.extras-link:hover { opacity: .55; }

.search-page {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  padding: 64px 0 112px;
}
.search-page-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid currentColor;
}
.search-page-heading h1 {
  font-family: "ITC Avant Garde", Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
}
.search-page-heading p { justify-self: end; font-size: 15px; }
.search-group { margin-top: 64px; }
.search-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
}
.search-group-heading h2 { font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; }
.search-group-heading span { font-size: 13px; }
.search-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-result-card {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  text-align: left;
  color: inherit;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.search-result-card:nth-child(3n) { border-right: 0; }
.search-result-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.search-result-type { margin-bottom: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.search-result-card strong { font-size: 17px; line-height: 1.28; font-weight: 400; }
@media (hover: hover) { .search-result-card:hover { color: #fff; background: #000; } body.dark .search-result-card:hover { color: #000; background: #fff; } }
.search-empty { padding: 64px 0; font-size: clamp(22px, 3vw, 36px); max-width: 28ch; }

.footer--editorial { border-top: 1px solid currentColor; }
.footer-brand-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 32px;
  border-bottom: 1px solid currentColor;
}
.footer-brand {
  font-family: "ITC Avant Garde", Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.055em;
}
.footer-socials { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-socials > span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.footer-link-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  min-height: 150px;
}
.footer-primary-links,
.footer-secondary-links,
.footer-copyright {
  padding: 24px 32px;
  border-right: 1px solid currentColor;
}
.footer-primary-links,
.footer-secondary-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-primary-links a { font-size: clamp(18px, 2.2vw, 30px); line-height: 1.05; }
.footer-secondary-links a { font-size: 14px; text-transform: uppercase; letter-spacing: .09em; }
.footer-copyright { border-right: 0; display: flex; justify-content: flex-end; align-items: flex-end; font-size: 13px; }
.footer--editorial a:hover { opacity: .55; }

@media (max-width: 768px) {
  .hero-stage { min-height: 430px; padding: 40px 0; }
  .about-body { grid-template-columns: 1fr; gap: 28px; }
  .search-page { width: calc(100% - 32px); padding: 40px 0 72px; }
  .search-page-heading { grid-template-columns: 1fr; gap: 20px; }
  .search-page-heading p { justify-self: start; }
  .search-result-grid { grid-template-columns: 1fr; }
  .search-result-card { border-right: 0; padding: 20px 0; }
  .footer-brand-row { grid-template-columns: 1fr; padding: 24px 20px; }
  .footer-socials { align-items: flex-start; }
  .footer-link-row { grid-template-columns: 1fr 1fr; }
  .footer-primary-links,
  .footer-secondary-links,
  .footer-copyright { padding: 20px; }
  .footer-secondary-links { border-right: 0; }
  .footer-copyright { grid-column: 1 / -1; min-height: 72px; border-top: 1px solid currentColor; justify-content: flex-start; }
  .info-page--privacy > h1 { padding: 40px 16px 52px; }
  .info-page--privacy .info-intro,
  .info-page--privacy .info-sections,
  .info-page--privacy .info-updated { width: calc(100% - 32px); margin-left: auto; margin-right: auto; }
  .info-page--submissions { padding: 48px 16px 72px; }
  .info-page--submissions .info-sections { grid-template-columns: 1fr; }
  .info-page--submissions .info-section { border-right: 0; border-bottom: 1px solid currentColor; }
  .info-page--submissions .info-section:last-child { border-bottom: 0; }
  .info-page--contact { min-height: 0; grid-template-columns: 1fr; }
  .info-page--contact .contact-list { grid-column: 1; }
  .info-page--contact .info-action { grid-column: 1; }
  .info-page--authors .info-section { grid-template-columns: 34px 1fr; }
  .info-page--authors .info-section p { grid-column: 2; }
  .info-page--extras { width: calc(100% - 32px); min-height: 380px; }
  .extras-links { gap: 16px; }
}
