/* ==========================================================================
   Ninon Smeehuijzen — Studio Notebook aesthetic
   Cream paper · deep brown ink · serif headings · sans body · hand accents
   ========================================================================== */

:root {
  --paper:       #f3e9d2;
  --paper-warm:  #ecdfc1;
  --paper-deep:  #e3d4b0;
  --ink:         #2c1f12;
  --ink-mid:     #6f5a42;
  --ink-light:   #b9a98a;
  --line:        rgba(44,31,18,0.18);
  --line-strong: rgba(44,31,18,0.45);
  --rust:        #b85436;
  --rust-deep:   #8e3f29;
  --tape:        #e8d59a;
  --shadow-sm:   0 1px 2px rgba(44,31,18,0.10);
  --shadow-md:   0 6px 24px rgba(44,31,18,0.14);
  --shadow-lg:   0 18px 60px rgba(44,31,18,0.28);

  --serif:  "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hand:   "Caveat", "Patrick Hand", cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle paper texture (very light grain) */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(circle at 82% 84%, rgba(0,0,0,0.05), transparent 50%);
  z-index: 0;
}
#root { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* type ---------------------------------------------------------------- */
.h-display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
}
.h-display em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 500;
}

.hand { font-family: var(--hand); }

/* ==========================================================================
   Site chrome
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.brand-tag {
  font-family: var(--hand);
  font-size: 26px;
  color: var(--ink-mid);
  margin-top: 4px;
}
.nav {
  display: flex;
  gap: clamp(22px, 3vw, 36px);
  font-size: 18px;
  font-weight: 500;
}
.nav a {
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink-light); }
.nav a.active { border-bottom-color: var(--ink); }

.site-footer {
  margin-top: 80px;
  padding: 32px clamp(20px, 4vw, 56px) 28px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-mid);
}
.site-footer .hand { font-size: 22px; color: var(--ink); }

/* ==========================================================================
   Home — hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 56px) clamp(40px, 6vw, 80px);
}
.hero-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-warm);
  box-shadow: var(--shadow-md);
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
}
.hero-caption {
  position: absolute;
  bottom: 14px; left: 14px;
  padding: 4px 14px;
  background: rgba(243,233,210,0.92);
  font-family: var(--hand);
  font-size: 22px;
  color: var(--ink);
}
.hero-title {
  font-size: clamp(40px, 5.8vw, 76px);
  margin: 0 0 22px 0;
}
.hero-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-mid);
  max-width: 460px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background .15s, color .15s, transform .12s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #45301d; color: var(--paper); }
.btn-rust { border-color: var(--rust); color: var(--rust); }
.btn-rust:hover { background: var(--rust); color: var(--paper); }

/* ==========================================================================
   Filter bar
   ========================================================================== */

.filter-bar {
  background: var(--paper);
  border-top: 1.5px dashed var(--line-strong);
  border-bottom: 1.5px dashed var(--line-strong);
  padding: 14px clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--hand);
  font-size: 25px;
  color: var(--ink);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  font-family: var(--sans);
  letter-spacing: 0.005em;
}
.chip:hover { background: rgba(44,31,18,0.06); }
.chip.active { background: var(--ink); color: var(--paper); }
.chip-rust { border-color: var(--rust); color: var(--rust); }
.chip-rust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
.chip-rust.active { background: var(--rust); color: var(--paper); border-color: var(--rust); }
.chip-rust.active .dot { background: var(--paper); }

.search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  min-width: 220px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-light); }
.search .icon { color: var(--ink); font-size: 24px; line-height: 1; }

.result-count {
  font-family: var(--hand);
  font-size: 22px;
  color: var(--ink-mid);
  white-space: nowrap;
}

/* dual-handle range slider — removed; year filter no longer used.
   (Original styles intentionally deleted.) */

/* mobile filter drawer trigger */
.filter-trigger { display: none; }
.filter-close { display: none; }
.filter-bar .drawer { display: none; }  /* hidden by default everywhere; mobile overrides below */

/* ==========================================================================
   Gallery — decades & grid
   ========================================================================== */

.decade {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 56px) 0;
}
.decade-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.decade-tape {
  display: inline-block;
  padding: 6px 26px 7px;
  background: var(--tape);
  font-family: var(--hand);
  font-size: 36px;
  color: var(--ink);
  transform: rotate(-1deg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.10);
  border-left: 1px dashed rgba(0,0,0,0.12);
  border-right: 1px dashed rgba(0,0,0,0.12);
}
.decade-count {
  font-family: var(--hand);
  font-size: 23px;
  color: var(--ink-mid);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.card:hover { transform: translateY(-3px); }
.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-warm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .6s cubic-bezier(.2,.7,.3,1), filter .3s;
}
.card:hover .card-img img { transform: scale(1.03); }
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}
.card-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.card-sub {
  font-size: 13px;
  color: var(--ink-mid);
  letter-spacing: 0.005em;
}

/* For-sale badge — handwritten round stamp */
.sale-badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 52px; height: 52px;
  background: var(--rust);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.0;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  pointer-events: none;
}
.sale-badge.lg {
  width: 78px; height: 78px;
  font-size: 22px;
  top: 16px; right: 16px;
}

/* multi-image indicator */
.multi-dot {
  position: absolute;
  bottom: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(44,31,18,0.7);
  color: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-family: var(--sans);
}

.empty-state {
  margin: 40px clamp(20px, 4vw, 56px);
  padding: 40px;
  border: 1.5px dashed var(--line-strong);
  text-align: center;
  color: var(--ink-mid);
}
.empty-state .h-display { font-size: 32px; margin-bottom: 8px; color: var(--ink); }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(44,31,18,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  animation: lb-fade .2s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-card {
  position: relative;
  background: var(--paper);
  width: min(1440px, 100%);
  max-height: 96vh;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr auto;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--ink);
  overflow: hidden;
  animation: lb-rise .25s cubic-bezier(.2,.7,.3,1);
}
.lightbox-img  { grid-column: 1; grid-row: 1; }
.lightbox-nav  { grid-column: 1; grid-row: 2; }
.lightbox-meta { grid-column: 2; grid-row: 1 / span 2; }
@keyframes lb-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox-img {
  position: relative;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.lightbox-img img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-thumbs {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex;
  gap: 8px;
}
.lightbox-thumbs button {
  width: 46px; height: 46px;
  border: 1.5px solid var(--paper);
  background: rgba(44,31,18,0.6);
  padding: 0;
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.lightbox-thumbs button.active { outline-color: var(--paper); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lightbox-meta {
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.lightbox-year {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 18px;
  background: var(--tape);
  font-family: var(--hand);
  font-size: 26px;
  transform: rotate(-2deg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.lightbox-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-style: italic;
  line-height: 1.0;
  margin: 0 0 12px;
}
.lightbox-sub {
  font-size: 17px;
  color: var(--ink-mid);
  margin-bottom: 22px;
}
.lightbox-rule { border-top: 1px dashed var(--line-strong); margin: 8px 0 22px; }
.lightbox-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 460px;
}
.lightbox-price {
  margin-top: 22px;
  font-family: var(--hand);
  font-size: 34px;
  color: var(--rust);
}
.lightbox-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.lightbox-actions .btn {
  font-size: 16px;
  padding: 11px 22px;
  gap: 10px;
}
.lightbox-actions .btn .ico {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
}
.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(243,233,210,0.92);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 24px;
  color: var(--ink);
  padding: 4px 16px 6px;
  z-index: 30;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background .15s, color .15s;
}
.lightbox-close:hover { background: var(--ink); color: var(--paper); }
.lightbox-nav {
  /* In-flow row below the image — always on the paper background so the
     buttons stay readable regardless of how dark the photo is. */
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(18px, 2.5vw, 28px) 18px;
  background: var(--paper);
  border-top: 1px dashed var(--line-strong);
}
.lightbox-nav button {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 8px 22px;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--hand);
  font-size: 24px;
  letter-spacing: 0.01em;
  transition: background .15s, color .15s, transform .12s;
  box-shadow: var(--shadow-sm);
}
.lightbox-nav button:hover { background: var(--ink); color: var(--paper); }
.lightbox-nav button:active { transform: translateY(1px); }
.lightbox-counter {
  font-family: var(--hand);
  font-size: 24px;
  color: var(--ink);
  padding: 0 4px;
  font-weight: 600;
}

/* ==========================================================================
   About page
   ========================================================================== */

.page {
  padding: 0 clamp(20px, 4vw, 56px) 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 6vw, 64px);
  align-items: start;
}
.about-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-caption {
  position: absolute;
  bottom: -28px; left: 18px;
  padding: 4px 14px;
  background: var(--tape);
  font-family: var(--hand);
  font-size: 20px;
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-sm);
}
.about-body h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 0 0 22px;
}
.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 540px;
}
.about-body p.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
/* (about-facts grid removed — fact strip no longer used on the About page) */

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-wrap {
  padding: clamp(40px, 6vw, 80px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper-warm);
  border: 1.5px dashed var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.contact-card h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 14px;
}
.contact-card p {
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-list .item .key {
  font-family: var(--hand);
  font-size: 21px;
  color: var(--ink-mid);
  display: block;
  margin-bottom: 2px;
}
.contact-list .item .val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  padding-bottom: 1px;
}
.contact-list .item a {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-light);
  padding-bottom: 1px;
  transition: border-color .15s;
}
.contact-list .item a:hover { border-bottom-color: var(--ink); }
.contact-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  color: var(--ink);
  padding-top: 14px;
}
.contact-aside .hand {
  color: var(--rust);
  display: inline-block;
  font-size: 28px;
  margin-top: 14px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .15s, color .15s;
}
.contact-aside .hand:hover {
  border-bottom-color: var(--rust);
  color: var(--rust-deep);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-img-wrap { aspect-ratio: 4 / 5; max-width: 460px; margin: 0 auto; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { aspect-ratio: 4 / 3; max-width: 520px; }
  .contact-wrap { grid-template-columns: 1fr; }

  .lightbox { padding: 0; }
  .lightbox-card {
    /* Switch from grid to flex-column so the image can shrink to fit the
       remaining vertical space. With overflow:hidden, the card NEVER scrolls
       on mobile — image, meta, action buttons and prev/next always fit
       within the viewport. */
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;          /* prefer dynamic viewport on iOS Safari */
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }
  .lightbox-img,
  .lightbox-meta,
  .lightbox-nav { grid-column: auto; grid-row: auto; }

  /* Image area — flex item that absorbs the leftover space. min-height:0
     is the key: it lets the flex item shrink below its content's
     natural size so the meta + nav rows are always visible. */
  .lightbox-img {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }
  .lightbox-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  /* On mobile the close button sits top-right of the card (= top of the image),
     so move the for-sale badge to top-left to keep both readable. */
  .lightbox-img .sale-badge.lg {
    top: 12px; left: 12px; right: auto;
    width: 60px; height: 60px;
    font-size: 17px;
  }

  /* Meta + nav: natural height, never shrunk. Compact padding so the image
     keeps as much room as possible. */
  .lightbox-meta {
    flex: 0 0 auto;
    padding: 14px clamp(16px, 4vw, 22px) 12px;
    overflow: visible;
  }
  .lightbox-nav {
    flex: 0 0 auto;
    padding: 10px clamp(12px, 3vw, 18px) max(12px, env(safe-area-inset-bottom));
  }

  /* Close button — visible pill at the top-right corner of the card. */
  .lightbox-close {
    top: 10px;
    right: 10px;
    padding: 4px 14px 5px;
    font-size: 21px;
  }

  /* filter bar collapses into trigger button + drawer */
  .filter-bar .filter-row.desktop-only { display: none; }
  .filter-bar { gap: 0; padding: 12px clamp(20px, 4vw, 56px); }
  .filter-trigger { display: inline-flex; }
  .filter-bar .drawer { flex-direction: column; gap: 14px; padding-top: 14px; }
  .filter-bar.open .drawer { display: flex; }
  .filter-close { display: inline-flex; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .sale-badge { width: 40px; height: 40px; font-size: 13px; }
  .nav { gap: 18px; font-size: 16px; }
  .brand-name { font-size: 20px; }
  .brand-tag { font-size: 19px; }
  .site-header { padding: 16px 20px; }
  .hero-title { font-size: 38px; }
  /* Compact lightbox content so meta + nav fit on shorter phones without
     squeezing the image. Sizes tuned for portrait phones from iPhone SE up. */
  .lightbox-year     { font-size: 21px; margin-bottom: 10px; padding: 3px 13px; }
  .lightbox-title    { font-size: clamp(24px, 7vw, 30px); margin-bottom: 6px; }
  .lightbox-sub      { font-size: 14.5px; margin-bottom: 10px; }
  .lightbox-price    { font-size: 24px; margin-top: 12px; }
  .lightbox-actions  { margin-top: 12px; gap: 10px; flex-wrap: nowrap; }
  .lightbox-actions .btn { padding: 7px 14px; font-size: 13.5px; }
  .lightbox-actions .btn .ico { font-size: 18px; }
  .lightbox-nav { gap: 8px; }
  .lightbox-nav button {
    font-size: 18px;
    padding: 6px 14px;
    white-space: nowrap;
  }
  .lightbox-counter { font-size: 19px; }
}
@media (max-width: 400px) {
  /* Squeeze further on the smallest phones — hide the words, keep the arrows. */
  .lightbox-nav button { font-size: 22px; padding: 6px 12px; }
  .lightbox-nav .nav-word { display: none; }
  .lightbox-actions .btn { padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Landscape phones with very little vertical room: drop the meta to the
   bare essentials so the image still gets a usable height. */
@media (max-width: 820px) and (max-height: 480px) {
  .lightbox-meta { padding: 8px 16px 6px; }
  .lightbox-year { display: none; }
  .lightbox-title { font-size: 22px; margin-bottom: 2px; }
  .lightbox-sub { font-size: 13px; margin-bottom: 4px; }
  .lightbox-price { font-size: 19px; margin-top: 4px; }
  .lightbox-actions { margin-top: 6px; }
}
