/* Old Mill Antique Store — site styles */

/* Self-hosted fonts (SIL Open Font License) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque.woff2) format('woff2-variations'), url(fonts/bricolage-grotesque.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-mono-400.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-mono-500.woff2) format('woff2');
}

:root {
  --ground: #F1ECE4;
  --ground-2: #E6DED2;
  --card-bg: #E2D9CC;
  --line: #D8CFC2;
  --ink: #1D1A17;
  --ink-2: #3A3530;
  --muted: #5E5750;
  --tag: #E7D3A8;
  --accent: #A8261D;
  --accent-dark: #7E1C15;
  --on-dark: #F1ECE4;
  --on-dark-muted: #C9C1B6;
  --on-dark-label: #B5ADA3;
  --dark-line: #4A443E;
  --dark-field: #2A2622;

  --font-sans: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'DM Mono', ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --find-fit: cover;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
}

h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button { font: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack-12, .stack-14, .stack-32, .stack-36, .stack-40, .stack-56 { display: flex; flex-direction: column; }
.stack-12 { gap: 12px; } .stack-14 { gap: 14px; } .stack-32 { gap: 32px; }
.stack-36 { gap: 36px; } .stack-40 { gap: 40px; } .stack-56 { gap: 56px; }

.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tall { padding-block: clamp(72px, 9vw, 112px); }
.section--flush-top { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--sand { background: var(--ground-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink a:hover { color: var(--tag); }
.section--accent { background: var(--accent); color: #fff; }
.section--accent a:hover { color: #fff; }

/* ---------- Type ---------- */
.eyebrow, .label, .fine {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { font-size: 13px; color: var(--muted); }
.eyebrow--accent { color: var(--accent); }
.label { font-size: 12px; color: var(--muted); font-weight: 400; }
.fine { font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }

.display {
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variation-settings: 'wdth' 75, 'opsz' 96;
  text-wrap: balance;
}
.h1 { font-size: clamp(60px, 8.2vw, 128px); line-height: 0.88; }
.h2 { font-size: clamp(40px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.02em; }
.h2--xl { font-size: clamp(48px, 6vw, 96px); line-height: 0.92; letter-spacing: -0.025em; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--accent); }
.tag-color { color: var(--tag); }
.on-dark-muted { color: var(--on-dark-muted); }

.lede { font-size: 20px; line-height: 1.5; max-width: 34ch; color: var(--ink-2); text-wrap: pretty; }
.lede--sm { font-size: 19px; max-width: 44ch; }
.section--ink .lede { color: var(--on-dark-muted); }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600; font-size: 17px; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: #000; color: var(--on-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ground); color: var(--ink); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--on-dark); cursor: pointer;
}
.icon-btn--plain { background: transparent; color: var(--ink); }

/* ---------- Preview banner + ticker ---------- */
.preview-banner {
  background: var(--ink); color: var(--tag); text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px var(--gutter);
}
.ticker {
  background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.ticker__track { display: inline-flex; gap: 48px; padding: 11px 0; padding-left: 48px; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(241, 236, 228, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-block: 14px;
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--font-serif); font-style: italic; font-size: 40px; line-height: 1; }
.brand__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-header__actions { display: none; gap: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding-block: 10px; }
.nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.only-mobile { display: none; }

@media (max-width: 860px) {
  .brand { flex-direction: column; gap: 2px; }
  .brand__name { font-size: 32px; }
  .brand__sub { font-size: 9.5px; }
  .site-header__inner { padding-block: 10px; padding-right: 12px; }
  .site-header__actions, .only-mobile { display: inline-flex; }
  .nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 16px; font-size: 20px;
  }
  .nav.is-open { display: flex; }
  .nav { padding-right: 8px; }
  .menu-icon { display: inline-flex; }
  .menu-icon--close, [aria-expanded='true'] .menu-icon--open { display: none; }
  [aria-expanded='true'] .menu-icon--close { display: inline-flex; }
  .nav a:not(.btn) { padding-block: 14px; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding-block: 72px 96px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__media { position: relative; min-height: 600px; }
.hero__photo { width: 88%; margin-left: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.polaroid {
  position: absolute; left: 0; bottom: 0; width: 46%;
  background: #fff; padding: 12px 12px 14px; border-radius: 4px;
  transform: rotate(-5deg); box-shadow: 0 24px 48px rgba(29, 26, 23, 0.22);
  display: flex; flex-direction: column; gap: 10px;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.1; }
.stamp {
  position: absolute; top: -28px; right: -12px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.stamp__ring text { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 1.7px; fill: var(--on-dark); }
.stamp__est { font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1; }
.stamp__year { font-size: 30px; font-weight: 800; line-height: 1; font-variation-settings: 'wdth' 75; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px 48px; gap: 32px; }
  .hero__copy { gap: 20px; }
  .hero .lede { font-size: 17px; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .hero__media { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 560px; }
  .hero__photo { position: absolute; top: 0; right: 0; width: 82%; aspect-ratio: auto; height: 66%; }
  .polaroid { width: 50%; padding: 9px 9px 10px; }
  .polaroid figcaption { font-size: 17px; }
  .stamp { top: auto; bottom: 8%; right: 4%; width: 96px; height: 96px; transform: rotate(8deg); }
  .stamp__ring { display: none; }
  .stamp__est { font-size: 15px; }
  .stamp__year { font-size: 24px; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.split-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 16px 56px; align-items: end;
}

/* ---------- Find cards ---------- */
.find-grid {
  display: grid; gap: 40px 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.find-card { display: flex; flex-direction: column; gap: 14px; }
.find-card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--card-bg);
}
.find-card__media img { width: 100%; height: 100%; object-fit: var(--find-fit); transition: transform .5s ease; }
.find-card__media:hover img { transform: scale(1.03); }
.find-card.is-sold .find-card__media img { filter: grayscale(0.5); opacity: 0.8; }
.find-card__body { display: flex; flex-direction: column; gap: 4px; }
.find-card__name { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: 0; font-variation-settings: normal; }
.find-card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.find-card__price { color: var(--ink); font-weight: 500; letter-spacing: 0.02em; }
.find-card .btn { margin-top: auto; }

.tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tag); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px 6px 10px; border-radius: 3px; transform: rotate(-3deg);
}
.find-card:nth-child(even) .tag { transform: rotate(2deg); }
.tag__hole { width: 8px; height: 8px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tag--sold { background: var(--accent); color: #fff; font-size: 14px; padding: 8px 14px; transform: rotate(-6deg); }

@media (max-width: 640px) {
  .find-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .find-grid .find-card { gap: 10px; }
  .find-grid .find-card__meta { flex-direction: column; gap: 2px; font-size: 11px; }
  .find-grid .find-card .btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
  .find-grid .tag { top: 8px; left: 8px; font-size: 10.5px; padding: 4px 8px; gap: 6px; }
  .hide-sm { display: none; }
  .find-grid--row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px;
  }
  .find-grid--row .find-card { flex: 0 0 236px; scroll-snap-align: start; }
  .find-card__name { font-size: 18px; }
}

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 24px 28px; border-radius: var(--radius); background: var(--ground-2);
}
.callout p { font-size: 18px; max-width: 60ch; text-wrap: pretty; }

/* ---------- Tiles ---------- */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.tile {
  position: relative; display: block; aspect-ratio: 4 / 3.2; overflow: hidden;
  border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--card-bg);
}
.tile:hover { color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__label {
  position: absolute; inset: auto 0 0 0; padding: 64px 24px 22px;
  background: linear-gradient(to top, rgba(20, 16, 13, 0.85), rgba(20, 16, 13, 0));
  display: flex; flex-direction: column; gap: 2px;
}
.tile__title { font-size: 28px; font-weight: 700; line-height: 1.1; font-variation-settings: 'wdth' 85; }
.tile__sub { font-size: 15px; opacity: 0.92; }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { aspect-ratio: 1 / 1.05; border-radius: 8px; }
  .tile__label { padding: 40px 12px 12px; }
  .tile__title { font-size: 17px; }
  .tile__sub { display: none; }
}

/* ---------- Why ---------- */
.why__heading { max-width: 14ch; }
.why__grid { display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.why__item { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.why__num { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--tag); }
.why__item h3 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.why__item p { color: var(--on-dark-muted); text-wrap: pretty; }

/* ---------- Story ---------- */
.story { display: grid; gap: 64px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.story__figure { display: flex; flex-direction: column; gap: 12px; }
.story__figure img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.timeline { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.timeline > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline dt { font-weight: 800; font-size: 24px; font-variation-settings: 'wdth' 75; color: var(--accent); }
.timeline dd { font-size: 18px; text-wrap: pretty; }
.quote { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border-radius: var(--radius); background: var(--ground-2); }
.quote p { font-family: var(--font-serif); font-size: 30px; line-height: 1.15; text-wrap: balance; }
.quote footer { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 640px) {
  .story { gap: 28px; }
  .story__figure img { aspect-ratio: 4 / 3.4; }
  .timeline > div { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .timeline dt { font-size: 19px; }
  .timeline dd { font-size: 16px; }
  .quote { padding: 20px; }
  .quote p { font-size: 24px; }
}

/* ---------- Visit ---------- */
.visit { display: grid; gap: 56px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.facts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.facts > div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.88; }
.facts dd { font-size: 19px; font-weight: 600; line-height: 1.35; }
.facts a { text-decoration: none; }
.visit__note { font-size: 17px; max-width: 46ch; opacity: 0.94; text-wrap: pretty; }
.map {
  position: relative; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden;
  background: var(--ground); color: var(--ink);
}
.map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px;
}
.map__address { font-size: 20px; font-weight: 700; line-height: 1.3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .visit .btn-row { flex-direction: column; }
  .visit .btn-row .btn { width: 100%; }
  .map { aspect-ratio: 1 / 1; }
}

/* ---------- Forms ---------- */
.dibs { display: grid; gap: 40px 64px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.form__row .input { flex: 1 1 260px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.input {
  min-height: 56px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 17px;
}
.input--dark { border-radius: 12px; border-color: #6B635B; background: var(--dark-field); color: var(--on-dark); }
.input--dark::placeholder { color: #9A9188; }
.form--dark .label { color: var(--on-dark-label); }
.form__status { min-height: 1.5em; font-size: 16px; }
.form__status[data-state='ok'] { color: #2E6B3A; }
.form--dark .form__status[data-state='ok'] { color: var(--tag); }
.form__social { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; }
.form__social a { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 640px) {
  .form__row { flex-direction: column; }
  .form__row .input { flex: none; }
}

/* ---------- Just in page ---------- */
.page-head {
  display: grid; gap: 24px 56px; align-items: end; padding-block: 64px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
}
.page-head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-block: 120px; }
.page-head--center .lede { margin-inline: auto; }
.filters {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--ink); color: var(--on-dark); }
.chip__count { font-family: var(--font-mono); font-size: 12px; font-weight: 400; opacity: 0.75; }
.find-card[hidden] { display: none; }
.empty { padding: 48px 0; font-size: 18px; color: var(--muted); }
@media (max-width: 640px) {
  .page-head { padding-block: 36px 16px; }
  .filters__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chip { flex: 0 0 auto; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: 14px; background: var(--ground); color: var(--ink);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(20, 16, 13, 0.72); }
.lightbox__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.lightbox__media { background: var(--card-bg); }
.lightbox__media img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.lightbox__body { display: flex; flex-direction: column; gap: 14px; padding: 40px 32px; justify-content: center; }
.lightbox__name { font-size: 32px; font-weight: 800; line-height: 1.05; font-variation-settings: 'wdth' 80; text-wrap: balance; }
.lightbox__price { font-family: var(--font-mono); font-size: 18px; }
.lightbox__price:empty { display: none; }
.lightbox__note { color: var(--ink-2); }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 760px) {
  .lightbox__inner { grid-template-columns: minmax(0, 1fr); }
  .lightbox__media img { max-height: 60vh; }
  .lightbox__body { padding: 24px 20px 28px; }
  .lightbox__name { font-size: 26px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer a:hover { color: var(--tag); }
.site-footer__inner { display: flex; flex-direction: column; gap: 48px; padding-block: 72px 40px; }
.site-footer__mark { font-family: var(--font-serif); font-style: italic; font-size: clamp(88px, 15vw, 220px); line-height: 0.8; letter-spacing: -0.02em; }
.site-footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); font-size: 16px; line-height: 1.6; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 6px; }
.site-footer .label { color: var(--on-dark-label); }
.site-footer__legal { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--on-dark-label); padding-top: 24px; border-top: 1px solid var(--dark-line); }
@media (max-width: 640px) {
  .site-footer__inner { gap: 28px; padding-block: 48px 32px; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; font-size: 15px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .stamp__ring { animation: none; }
  .find-card__media img, .tile img { transition: none; }
}
