/* Art Auction Dallas — landing page
   Fraunces + Inter · paper / cream / gold-brown */

:root {
  --paper: #F7F6F3;
  --white: #FFFFFF;
  --cream: #F5F1E9;
  --cream-warm: #EFE8DC;
  --text: #1C1B19;
  --secondary: #6B6964;
  --accent: #A89878;
  --badge-outline: #8A7A5C;
  --delivery-red: #C43C3C;
  --border: #E6E4DF;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --hero-h: clamp(160px, 22vh, 260px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  min-height: 100vh;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--white);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Top bar ——— */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--text);
}

.welcome-link {
  display: none !important; /* removed hollow sign-in until wired */
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 0.01em;
}

.welcome-link span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Hero carousel ——— */
.hero {
  position: relative;
  width: 100%;
  height: clamp(180px, 42vw, 360px);
  max-height: min(48vh, 420px);
  overflow: hidden;
  background: var(--paper);
}

.hero:focus-visible {
  outline-offset: -3px;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--paper);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.55) 0%,
    rgba(20, 18, 14, 0.25) 35%,
    rgba(20, 18, 14, 0.08) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  left: clamp(1.25rem, 6vw, 4.5rem);
  bottom: clamp(2.5rem, 8vw, 4.5rem);
  z-index: 3;
  pointer-events: none;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero__headline span {
  display: block;
}

.hero__controls {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  pointer-events: none; /* arrows/dots opt-in — layered softly on the photo */
}

.hero__nav {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  opacity: 0.55;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.hero:hover .hero__nav,
.hero:focus-within .hero__nav {
  opacity: 0.9;
}

.hero__nav--prev {
  left: clamp(0.5rem, 1.5vw, 1rem);
}

.hero__nav--next {
  right: clamp(0.5rem, 1.5vw, 1rem);
}

.hero__nav:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  pointer-events: auto;
  padding: 0;
  background: transparent; /* no chrome bar — dots float on the photo */
}

.hero__dot {
  appearance: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero__dot:hover {
  opacity: 1;
}

.hero__dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
  opacity: 1;
}

/* ——— Sub-nav ——— */
.subnav {
  background: var(--cream);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 0.95rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.subnav a {
  font-family: var(--font-ui);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: lowercase;
}

.subnav a:hover {
  color: var(--text);
}
.subnav a.subnav__sell {
  color: #5c3d2e;
  font-weight: 700;
  font-style: italic;
}
.subnav a.subnav__sell:hover {
  color: #3d261c;
}

.subnav__sep {
  color: var(--accent);
  opacity: 0.7;
  font-style: normal;
}

/* ——— Lots grid ——— */
.lots {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem)) 3.5rem;
}

.lots__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .lots__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.35rem;
  }
}

@media (min-width: 960px) {
  .lots__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lot-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  min-width: 0;
}

.lot-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-warm);
}

.lot-card__media img {
  /* Lot photos ship as 8×8 — never crop; show full square as-is */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.lot-card__info {
  background: var(--cream);
  padding: 0.85rem 1.05rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lot-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.lot-card__lot {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.lot-card__badge {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--badge-outline);
  border: 1px solid var(--badge-outline);
  background: transparent;
  padding: 0.28rem 0.4rem;
  line-height: 1;
  white-space: nowrap;
}

.lot-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.lot-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.2;
}

.lot-card__price {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.lot-card__price--bid {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.lot-card__price--muted {
  color: var(--secondary);
  font-weight: 500;
}

.lot-card__meta {
  font-size: 0.78rem;
  color: var(--secondary);
  line-height: 1.45;
}

/* Empty LOT-6 — image-sized warm cream tile, visible vs paper */
.lot-card--empty {
  min-height: 0;
}

.lot-card__placeholder {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-warm);
  border: 1px solid #e5ddd0;
  padding: 0.85rem 1.05rem;
}

.lot-card__placeholder .lot-card__lot {
  display: inline-block;
}

/* ——— Stub sections ——— */
.stub {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.stub__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem)) 3.5rem;
  box-sizing: border-box;
}

.stub h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.stub p {
  color: var(--secondary);
  font-size: 0.98rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
}

.site-footer p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--secondary);
}

/* ——— Lot cards as links ——— */
.lot-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.lot-card__link:hover {
  text-decoration: none;
}

.lot-card__link:hover .lot-card__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lot-card__link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* ——— Lot detail pages ——— */
.back-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
  text-decoration: none;
}

.detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 800px) {
  .detail__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.25rem;
  }
}

.detail__gallery {
  background: var(--cream);
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.detail__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-warm);
  overflow: hidden;
}

.detail__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.detail__thumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail__thumbs--solo .detail__arrow {
  display: none;
}

.detail__thumbs--hidden {
  display: none;
}

.detail__arrow {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  flex-shrink: 0;
}

.detail__arrow:hover {
  color: var(--accent);
}

.detail__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.detail__thumbs-track {
  display: flex;
  flex: 1;
  gap: 0.5rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.detail__thumb {
  appearance: none;
  border: 2px solid transparent;
  background: var(--cream-warm);
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  width: clamp(4.25rem, 18%, 5.5rem);
  flex-shrink: 0;
  overflow: hidden;
}

.detail__thumb.is-active {
  border-color: var(--accent);
}

.detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.detail__panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.detail__lot {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.detail__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

.detail__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.detail__price--muted {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
}

.detail__specs {
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.45;
}

.detail__body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  max-width: 36rem;
  margin-top: 0.35rem;
}

.detail__delivery {
  font-size: 0.88rem;
  color: var(--secondary);
  margin-top: 0.5rem;
}

.detail__other {
  font-size: 0.88rem;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
}

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


.payment-box {
  display: none;
}

/* ——— Lot payment (sale + auction twins) ——— */
.pay {
  margin-top: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pay__cta {
  appearance: none;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--text);
  padding: 0.85rem 1rem;
  text-align: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.pay__cta:hover:not(:disabled) {
  background: #2e2c28;
}

.pay__cta:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pay__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pay__secure {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pay__note {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--secondary);
}

.pay__bid-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-display);
}

.pay__bid-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pay__bid-amt {
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pay__alts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.82rem;
  color: var(--secondary);
  padding-top: 0.15rem;
  border-top: 1px solid var(--border);
  margin-top: 0.15rem;
}

.pay__alts a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.pay__dot {
  color: var(--accent);
  user-select: none;
}

.pay[data-mode="auction"] .pay__cta {
  background: var(--badge-outline);
}

.pay[data-mode="auction"] .pay__cta:hover:not(:disabled) {
  background: #6f6248;
}



/* Tagline is baked into header PNGs */
.hero__overlay,
.hero__gradient {
  display: none !important;
}

/* ——— In the home (lifestyle room hero) ——— */
.inhome {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.inhome__label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.85rem;
}
.inhome__frame {
  width: 100%;
  max-width: 100%;
  background: #111;
  overflow: hidden;
}
.inhome__frame img {
  width: 100%;
  height: auto;
  display: block;
  /* Room heroes are lifestyle — show full frame, do not force 8×8 crop */
  object-fit: contain;
}


/* ——— Subnav with delivery cue ——— */
.subnav {
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.subnav__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}
.subnav__delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  margin-left: auto;
}
.subnav__delivery:hover {
  text-decoration: none !important;
}
.subnav__delivery:hover .subnav__delivery-label {
  color: #9e2f2f;
}
.subnav__van {
  flex-shrink: 0;
  display: block;
}
.subnav__delivery-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--delivery-red);
  text-transform: lowercase;
  letter-spacing: 0.01em;
}


@media (max-width: 719px) {
  .subnav {
    flex-direction: column;
    align-items: stretch;
  }
  .subnav__delivery {
    margin-left: 0;
    justify-content: flex-end;
    width: 100%;
  }
}

/* ——— Delivery section ——— */
.delivery {
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.delivery__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding:  2.5rem max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem)) 3.5rem;
  box-sizing: border-box;
}
.delivery__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.delivery__icon {
  flex-shrink: 0;
}
.delivery__header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  color: var(--text);
  margin: 0;
}
.delivery__lead {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.delivery__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .delivery__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}
.delivery__col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--text);
}
.delivery__col ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.delivery__col li + li {
  margin-top: 0.45rem;
}
.delivery__col strong {
  color: var(--text);
  font-weight: 600;
}
.delivery__fine {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--secondary);
  opacity: 0.9;
  line-height: 1.45;
  max-width: 40rem;
}

/* richer stubs */
.stub__list,
.stub__steps {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.stub__list li + li,
.stub__steps li + li {
  margin-top: 0.45rem;
}

/* Jump targets clear the sticky header / cream bar */
#delivery,
#about,
#process,
#sell {
  scroll-margin-top: 1.25rem;
}

/* Width lock: about/sell/process content matches lots grid */
.stub__inner,
.stub__inner--wide,
.sell__inner,
.delivery__inner {
  max-width: var(--max);
}
.about-matt {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ——— About Matthew + Process visuals ——— */
.stub__inner--wide {
  max-width: var(--max);
}

.about-matt {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.about-matt__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.about-matt__portrait {
  width: min(180px, 55vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--cream);
  display: block;
}

.about-matt__intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  max-width: 36rem;
}

.about-matt__strip {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-matt__shot {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
}

.about-matt__shot img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: var(--cream);
}












@media (min-width: 900px) {
  .about-matt__row {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
  }

  .about-matt__portrait {
    width: 240px;
    flex-shrink: 0;
  }

  .about-matt__intro {
    flex: 1;
  }

  .about-matt__strip {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .about-matt__shot img {
    min-height: 0;
  }

}

/* ——— Sell your art ——— */
.sell {
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.sell__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem)) 3.5rem;
  box-sizing: border-box;
}
.sell__header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  color: var(--text);
  margin: 0 0 0.85rem;
}
.sell__lead {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  max-width: 42rem;
}
.sell__lead strong {
  color: var(--text);
  font-weight: 600;
}
.sell__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .sell__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}
.sell__col h3,
.sell__how h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--text);
}
.sell__col ul,
.sell__need,
.sell__steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sell__col li + li,
.sell__need li + li,
.sell__steps li + li {
  margin-top: 0.45rem;
}
.sell__col strong,
.sell__need strong,
.sell__steps strong {
  color: var(--text);
  font-weight: 600;
}
.sell__col a {
  color: var(--text);
  text-underline-offset: 3px;
}
.sell__optional {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.45;
}
.sell__how {
  margin-top: 1.75rem;
}
.sell__fine {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--secondary);
  opacity: 0.9;
  line-height: 1.45;
  max-width: 42rem;
}
.sell__cta {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 42rem;
}
.sell__cta a {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.sell__cta em {
  font-family: var(--font-display);
  font-style: italic;
}

.sell__why {
  margin-bottom: 1.75rem;
}
.sell__why h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--text);
}
.sell__why ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 42rem;
}
.sell__why li + li {
  margin-top: 0.45rem;
}
.sell__why strong {
  color: var(--text);
  font-weight: 600;
}
.sell__why a {
  color: var(--text);
  text-underline-offset: 3px;
}
.sell__why-note {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  color: var(--secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}
.sell__mailto {
  display: inline-block;
  margin: 0 0.15rem;
  padding: 0.2rem 0.15rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  text-decoration: none;
}
.sell__mailto:hover {
  opacity: 0.75;
  text-decoration: none;
}


.site-footer__note {
  margin-top: 0.35rem;
  font-family: var(--font-body, system-ui, sans-serif);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted, #6b6560);
}


/* Featured-lot homepage carousel */
.hero__slide-link {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__slide-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--paper);
}


/* Honest inquire CTAs (mailto) */
a.pay__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ——— Sell apply form ——— */
.sell__apply {
  margin-top: 1.75rem;
  max-width: 42rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.sell__apply-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.sell__apply-lead {
  margin: 0 0 1.25rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sell__banner {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}
.sell__banner strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.sell__banner--success {
  background: #f0f5eb;
  border: 1px solid #c5d4b8;
}
.sell__banner--error {
  background: #f8efef;
  border: 1px solid #e0c4c4;
}
.sell__banner a {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 3px;
}

.apply-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.apply-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem 1.15rem;
  margin-bottom: 0.95rem;
}
@media (min-width: 640px) {
  .apply-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.apply-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.apply-form__field--full {
  margin-bottom: 0.95rem;
}
.apply-form__field label,
.apply-form__photos legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.apply-form__req {
  color: var(--accent);
  font-weight: 600;
}
.apply-form__opt {
  font-weight: 400;
  color: var(--secondary);
  font-size: 0.82rem;
}
.apply-form__help {
  margin: 0;
  font-size: 0.8rem;
  color: var(--secondary);
  line-height: 1.4;
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.4;
}
.apply-form input[type="file"] {
  width: 100%;
  padding: 0.45rem 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--secondary);
}
.apply-form input:focus-visible,
.apply-form textarea:focus-visible,
.apply-form button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.apply-form input.is-invalid,
.apply-form textarea.is-invalid,
.apply-form input[type="file"].is-invalid {
  border-color: #b85c5c;
}
.apply-form textarea {
  resize: vertical;
  min-height: 6rem;
}
.apply-form__photos {
  margin: 0 0 1.15rem;
  padding: 1rem 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--cream);
}
.apply-form__photos legend {
  padding: 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
}
.apply-form__photo-guide {
  margin: 0 0 0.95rem;
  font-size: 0.86rem;
  color: var(--secondary);
  line-height: 1.45;
}
.apply-form__photo-guide strong {
  color: var(--text);
  font-weight: 600;
}
.apply-form__errors {
  margin: 0 0 0.95rem;
  padding: 0.7rem 0.85rem;
  background: #f8efef;
  border: 1px solid #e0c4c4;
  border-radius: 3px;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}
.apply-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}
.apply-form__submit {
  appearance: none;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.65rem 1.25rem;
  border-radius: 3px;
  cursor: pointer;
}
.apply-form__submit:hover {
  opacity: 0.88;
}
.apply-form__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.apply-form__alt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.45;
}
.apply-form__alt em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}


/* matt-oct5-copy-edits */
/* Lot 4: display ~25% smaller so books in foreground read ~18″ (no crop) */
.lot-card__media--scale75 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lot-card__media--scale75 img {
  width: 75%;
  height: 75%;
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  object-position: center;
}
.detail__main--scale75 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail__main--scale75 img {
  width: 75%;
  height: 75%;
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  object-position: center;
}

/* Eyes: labeled thumbs + per-color buy CTAs */
.detail__thumbs-track--labeled {
  align-items: flex-start;
}
.detail__thumb-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: clamp(4.25rem, 18%, 5.5rem);
  flex-shrink: 0;
}
.detail__thumb-wrap .detail__thumb {
  width: 100%;
}
.detail__thumb-caption {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--secondary);
  text-align: center;
  line-height: 1.25;
}
.pay__color-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.35rem 0 0.15rem;
}
.pay__color-list .pay__cta {
  text-align: center;
}
.pay__sold-note {
  font-size: 0.82rem;
  color: var(--secondary);
  margin: 0.15rem 0 0.35rem;
}
