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

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --amber:      #ffbd59;   /* matched to Le Popai image background */
  --amber-dark: #d9a14c;   /* ~15 % darker for hover states */
  --black:      #111111;
  --off-white:  #f9f8f6;
  --muted:      #999;
  --gap:        clamp(2rem, 4vw, 3.5rem);
  --page-pad:   clamp(1.5rem, 6vw, 5rem);
  --sans:       'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ─── Newsletter bar ─────────────────────────────────────────── */
.newsletter-bar {
  background: var(--black);
  color: #fff;
  padding: 0.7rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.newsletter-bar[hidden] { display: none; }
.newsletter-form { display: flex; align-items: center; gap: 0.5rem; }
.newsletter-text { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--amber); }
.newsletter-input {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 0.45rem 0.75rem; font-size: 13px; outline: none; width: 220px;
}
.newsletter-input:focus { border-color: var(--amber); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-btn {
  background: var(--amber); color: var(--black); border: none;
  padding: 0.45rem 1rem; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--amber-dark); }
.newsletter-btn:disabled { opacity: 0.5; cursor: default; }
.newsletter-close {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 1.2rem; cursor: pointer; padding: 0 0.25rem; line-height: 1;
}
.newsletter-close:hover { color: #fff; }
.newsletter-success { color: var(--amber); font-size: 12px; font-weight: 600; }

@media (max-width: 600px) {
  .newsletter-form { flex-wrap: wrap; justify-content: center; }
  .newsletter-input { width: 160px; }
  .newsletter-text { width: 100%; text-align: center; font-size: 11px; }
}

/* ─── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--off-white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--amber);
  padding: clamp(2rem, 5vw, 3.5rem) var(--page-pad);
  position: relative;
  overflow: hidden;
}

.brand-prefix {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.05em;
}

.brand-name {
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--black);
}

.brand-tagline {
  margin-top: 1.2rem;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 400;
}

.brand-phonetic {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.45;
}

.brand-tags {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

/* ─── Header action pills ────────────────────────────────────── */
.header-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.header-pill {
  background: var(--black);
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 99px;
  transition: background 0.2s, transform 0.15s;
}
.header-pill:hover {
  background: #333;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .header-actions { gap: 0.35rem; }
  .header-pill { font-size: 10px; padding: 0.45rem 0.8rem; }
}

/* ─── Modals ─────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }

.modal-box {
  background: #fff; width: 100%; max-width: 440px;
  padding: 2rem; position: relative;
}
.modal-box--sm { max-width: 360px; }

.modal-close {
  position: absolute; top: 0.75rem; right: 1rem;
  background: none; border: none; font-size: 1.5rem;
  color: var(--muted); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--black); }

.modal-title {
  font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem;
  color: var(--black);
}

.modal-sub {
  font-size: 0.85rem; color: #666; margin-bottom: 1.25rem; line-height: 1.5;
}

.modal-form {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.modal-form input, .modal-form textarea {
  border: 1px solid #ddd; padding: 0.6rem 0.75rem;
  font-size: 13px; font-family: inherit; outline: none;
}
.modal-form input:focus, .modal-form textarea:focus {
  border-color: var(--amber);
}

.modal-submit {
  background: var(--black); color: #fff; border: none;
  padding: 0.7rem; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.modal-submit:hover { background: var(--amber-dark); }
.modal-submit:disabled { opacity: 0.5; }

.modal-success {
  color: #2e7d32; font-weight: 600; font-size: 0.9rem; margin-top: 0.5rem;
}

.modal-email-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem; background: #f5f5f5; margin-bottom: 1rem;
}
.modal-email {
  font-size: 0.95rem; font-weight: 600; color: var(--black); flex: 1;
}
.modal-copy {
  background: var(--black); color: #fff; border: none;
  padding: 0.35rem 0.7rem; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.modal-copy:hover { background: var(--amber-dark); }

.modal-mailto {
  display: block; text-align: center;
  color: var(--black); font-size: 12px; text-decoration: none;
  border: 1px solid #ddd; padding: 0.6rem;
  transition: border-color 0.2s;
}
.modal-mailto:hover { border-color: var(--black); }

.social-login-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.7rem; border: 1px solid #ddd;
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 500;
  color: var(--black); transition: border-color 0.2s, box-shadow 0.2s;
}
.social-login-btn:hover { border-color: #aaa; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ─── User profile bar (logged in) ──────────────────────────── */
.user-bar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0,0,0,0.7);
  border-radius: 0 0 0 8px;
  backdrop-filter: blur(8px);
}
.user-bar[hidden] { display: none; }
.user-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.user-name {
  font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-logout {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 10px; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.2rem 0.4rem; transition: color 0.15s;
}
.user-logout:hover { color: #fff; }

@media (max-width: 600px) {
  .user-name { display: none; }
}

/* ─── Header artwork ─────────────────────────────────────────── */
.header-artwork {
  position: absolute;
  right: var(--page-pad);
  top: 0;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 600px) {
  .header-artwork { display: none; }
}

/* ─── Site nav ───────────────────────────────────────────────── */
.site-nav {
  display: flex;
  gap: 0;
  background: var(--black);
  padding: 0 var(--page-pad);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-nav a:hover  { color: #fff; }
.site-nav a.active { color: #fff; border-bottom-color: var(--amber); }

/* ─── Collection nav ─────────────────────────────────────────── */
.collection-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.5rem var(--page-pad);
  border-bottom: 1px solid #e4e0da;
  background: var(--off-white);
}

@media (max-width: 600px) {
  .collection-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.75rem var(--page-pad);
    gap: 0.4rem;
  }
  .collection-nav::-webkit-scrollbar { display: none; }
}

.col-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 0.4rem 1rem;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
  white-space: nowrap;
  min-height: 44px;
}
.col-btn:hover       { border-color: var(--black); color: var(--black); }
.col-btn.active      { background: var(--black); border-color: var(--black); color: #fff; }

/* ─── Works filter/sort bar ──────────────────────────────────── */
.works-filter-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem var(--page-pad);
  background: var(--off-white);
  border-bottom: 1px solid #e4e0da;
}
.works-filter-bar select {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.4rem 0.75rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--black);
  cursor: pointer;
  outline: none;
}
.works-filter-bar select:focus { border-color: var(--amber); }

@media (max-width: 600px) {
  .works-filter-bar { flex-wrap: wrap; padding: 0.5rem var(--page-pad); }
  .works-filter-bar select { flex: 1; min-width: 0; font-size: 10px; }
}

/* ─── Grid ───────────────────────────────────────────────────── */
main {
  flex: 1;
  padding: var(--gap) var(--page-pad) clamp(4rem, 10vw, 7rem);
}

/* ─── Collection intro panel ─────────────────────────────────── */
.collection-intro {
  padding: 2rem var(--page-pad) 0;
  display: flex;
  justify-content: flex-end;
}
.collection-intro[hidden] { display: none; }

.collection-intro-body {
  width: 100%;
  max-width: 600px;
  text-align: right;
}

.collection-intro-title {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.collection-intro-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
  text-align: justify;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
  }
}

/* ─── Card ───────────────────────────────────────────────────── */
.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.card[hidden] { display: none; }

/* Card frame wrapper */
.card-frame {
  position: relative;
  line-height: 0;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-frame img {
  display: block;
  width: 100%;
  height: auto; /* natural aspect ratio */
}

/* Card frame now uses server-composited images (no CSS overlay) */
/* Hover lift */
.card:hover .card-frame { transform: translateY(-3px); }

/* Sold overlay */
.card.sold .card-frame::before {
  content: 'Sold';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--off-white);
  color: #b00;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  z-index: 2;
}

/* Owner overlay */
.owner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.75rem 0.65rem;
  background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, transparent 100%);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

/* ── Unframed card image (no frame chrome) ───────────────────── */
.card-img-raw {
  position: relative;
  line-height: 0;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.card-img-raw img {
  display: block;
  width: 100%;
  height: auto;
}
.card:hover .card-img-raw {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}

/* ─── Card info ──────────────────────────────────────────────── */
.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.card-collection {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
}

.owner-dot {
  margin-left: 4px;
  font-size: 0.7em;
  vertical-align: middle;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.card-dims  { font-size: 11px; color: var(--muted); }
.card-price { font-size: 11px; color: var(--muted); white-space: nowrap; }

.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-weight: 600;
}
.card-pill--available {
  background: #e8f5e9;
  color: #2e7d32;
}
.card-pill--owner {
  background: #fde8e8;
  color: #b71c1c;
}
.card-pill--owner::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b71c1c;
  border-radius: 50%;
}

/* ── Card engage row (stats + like + share) ───────────────── */
.card-engage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.card-stats {
  display: flex; gap: 0.6rem;
}
.card-stat {
  font-size: 11px; color: var(--muted);
}

.card-actions {
  display: flex; align-items: center; gap: 0.2rem;
}

.card-heart {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 12px; padding: 0.2rem 0;
  transition: color 0.2s;
}
.card-heart svg { fill: currentColor; transition: fill 0.2s; }
.card-heart:hover { color: #e91e63; }
.card-heart.liked { color: #e91e63; }
.card-heart.liked svg { fill: #e91e63; }

.card-share {
  display: flex; gap: 0.2rem;
}
.card-share-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 11px; padding: 0.15rem 0.3rem;
  transition: color 0.15s; border-radius: 3px;
}
.card-share-btn:hover { color: var(--black); background: #eee; }

/* ─── Empty state ────────────────────────────────────────────── */
.empty-state {
  padding: 6rem 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.empty-state code {
  font-family: monospace;
  background: #eee;
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

/* ─── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(249, 248, 246, 0.97);
  z-index: 100;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 4rem) var(--page-pad);
}
.lightbox[hidden] { display: none; }

@media (max-width: 680px) {
  .lightbox {
    padding: 3.5rem 1rem 2rem;
  }
}

.lb-close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(249, 248, 246, 0.85);
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 101;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.lb-close:hover { opacity: 1; }

.lb-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 680px) {
  .lb-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Lightbox frame wrapper */
.lb-frame-wrap {
  position: relative;
  line-height: 0;
  display: block;
}
.lb-frame-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Lightbox frame image already contains the composited frame */

/* ── Lightbox pricing table ────────────────────────────────── */
.lb-pricing {
  border-top: 1px solid #e4e0da;
  padding-top: 1.1rem;
}

.lb-pricing-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.lb-pricing-sub {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.lb-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.lb-pricing-table td {
  padding: 0.4rem 0;
  vertical-align: baseline;
}

.lb-pricing-table tr + tr td {
  border-top: 1px solid #f0ece6;
}

.lb-pricing-price {
  font-weight: 700;
  white-space: nowrap;
  padding-left: 1rem;
}

.lb-pricing-note {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  padding-left: 0.6rem;
}

@media (max-width: 400px) {
  .lb-pricing-table { font-size: 0.78rem; }
  .lb-pricing-price { padding-left: 0.5rem; }
  .lb-pricing-note { padding-left: 0.3rem; font-size: 0.7rem; }
}

/* Info panel */
.lb-info {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.lb-collection {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lb-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}


.lb-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  max-width: 38ch;
}

/* Frame selector */
.frame-selector { display: flex; flex-direction: column; gap: 0.6rem; }

.frame-selector-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.frame-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.frame-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid #ccc;
  padding: 0.4rem 0.85rem;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
}
.frame-btn:hover  { border-color: var(--black); color: var(--black); }
.frame-btn.active { border-color: var(--black); color: var(--black); font-weight: 600; }

.frame-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.swatch-black {
  background: repeating-linear-gradient(91deg,
    #080808 0px, #1d1d1d 1.5px, #0c0c0c 4px,
    #1a1a1a 6px, #080808 8px);
}
.swatch-wood {
  background: repeating-linear-gradient(91deg,
    #b8743a 0px, #9a5e28 2px, #cc9458 5px,
    #a86c38 8px, #b8743a 11px);
}
.swatch-none {
  background: var(--off-white);
  border: 1px solid #ccc;
}

/* ── Like + Share ──────────────────────────────────────────── */
.lb-engage { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.like-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid #ddd; padding: 0.5rem 0.9rem;
  cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600;
  transition: all 0.2s; border-radius: 99px;
}
.like-btn svg { fill: currentColor; transition: all 0.2s; }
.like-btn:hover { border-color: #e91e63; color: #e91e63; }
.like-btn.liked { border-color: #e91e63; color: #e91e63; }
.like-btn.liked svg { fill: #e91e63; }

.card-like-count {
  font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 0.25rem;
}
.card-like-count svg { width: 12px; height: 12px; fill: #e91e63; }

.share-btns { display: flex; gap: 0.3rem; }
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #f0ece6; border: none; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.share-btn:hover { background: var(--black); color: #fff; }
.share-btn.copied { background: #4ade80; color: #fff; }

/* Buttons */
.btn-inquire {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-inquire:hover { background: var(--amber-dark); }

.lb-inquiry-count {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 680px) {
  .btn-inquire {
    align-self: stretch;
    text-align: center;
    padding: 1rem 2rem;
  }
}

.lb-email-panel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: #f5f5f5;
  border-left: 3px solid var(--amber);
}
.lb-email-addr {
  font-size: 0.85rem;
  color: #333;
  flex: 1;
}
.lb-email-copy {
  flex-shrink: 0;
  padding: 0.25rem 0.65rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-email-copy:hover { background: var(--amber-dark); }

.sold-badge {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b00;
}

/* ─── Header link (makes header clickable as home) ───────────── */
.header-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: fit-content;
}
.header-link:hover .brand-name { opacity: 0.85; }

/* ─── Page layout (shared by all inner pages) ────────────────── */
.page-content {
  flex: 1;
  padding: var(--gap) var(--page-pad) clamp(4rem, 10vw, 7rem);
}

.page-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.page-inner--narrow {
  max-width: 560px;
}

/* Placeholder states */
.placeholder-msg {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.placeholder-hint {
  font-size: 12px;
  color: #bbb;
  font-family: monospace;
}

/* ─── Biography page ─────────────────────────────────────────── */
.bio-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 680px) { .bio-layout { grid-template-columns: 1fr; } }

.bio-portrait img {
  width: 100%;
  display: block;
}

.bio-text p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: #333;
  max-width: 60ch;
  margin-bottom: 1.2em;
}

/* ─── Press page ─────────────────────────────────────────────── */
.press-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.press-item {
  padding: 2rem 0;
  border-bottom: 1px solid #e4e0da;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 2rem;
  row-gap: 0.3rem;
  align-items: start;
}

.press-outlet {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  grid-column: 1;
}

.press-headline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  grid-column: 1;
}

.press-meta {
  font-size: 11px;
  color: var(--muted);
  grid-column: 1;
}

.press-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.press-link:hover { color: var(--amber-dark); }

/* ─── News page ──────────────────────────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid #e4e0da;
  max-width: 720px;
}

.news-date {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.news-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}
.news-body p {
  margin-bottom: 0.8em;
}
.news-body p:last-child {
  margin-bottom: 0;
}

/* ─── Videos page ────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: var(--gap);
  align-items: start;
}

.video-card { display: flex; flex-direction: column; gap: 0.7rem; }

.video-embed-wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #111;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnail {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
}

.video-date {
  font-size: 11px;
  color: var(--muted);
}

/* ─── Contact page ───────────────────────────────────────────── */
.contact-block {
  padding-top: 0.5rem;
}

.contact-row {
  display: flex;
  gap: 2.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e4e0da;
  align-items: baseline;
}

.contact-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100px;
  flex-shrink: 0;
}

.contact-value {
  font-size: 1rem;
  color: var(--black);
}

.contact-link {
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.18s;
}
.contact-link:hover { color: var(--amber-dark); }

.contact-divider {
  border: none;
  border-top: 1px solid #e4e0da;
  margin: 2rem 0 1.5rem;
}

.contact-note {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.75rem;
  max-width: 50ch;
}

/* ─── Buy page ───────────────────────────────────────────────── */
.buy-page {
  max-width: 820px;
}

.buy-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.buy-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.buy-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .buy-options { grid-template-columns: 1fr; }
}

.buy-card {
  border: 1px solid #e4e0da;
  border-radius: 6px;
  padding: 1.5rem;
  background: #fff;
}

.buy-card--owner {
  border-color: var(--amber);
  background: #fffdf7;
}

.buy-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.buy-card--owner .buy-card-label {
  color: #b07a00;
}

.buy-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.25rem;
}

.buy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.buy-table tr + tr td {
  border-top: 1px solid #f0ece6;
  padding-top: 0.5rem;
}

.buy-table td {
  padding-bottom: 0.5rem;
  vertical-align: middle;
}

.buy-price {
  font-weight: 700;
  font-size: 1rem;
  padding-left: 1rem;
  white-space: nowrap;
}

.buy-note {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 0.75rem;
  white-space: nowrap;
}

.buy-cert {
  background: #f5f3ef;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.buy-cert-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.buy-variation {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.buy-contact {
  border-top: 1px solid #e4e0da;
  padding-top: 2rem;
}

.buy-contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.buy-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.buy-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.15s;
}

.buy-contact-row:hover {
  color: var(--amber-dark);
}

/* ─── About page ─────────────────────────────────────────────── */
.about-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-intro {
  position: sticky;
  top: 2rem;
}

.about-overline {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.about-heading {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-flag { font-size: 1.6rem; font-weight: 400; }

.about-phonetic {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.03em;
}

.about-body p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
  max-width: 64ch;
  text-align: justify;
}

/* ── About page image layout ───────────────────────────────────── */
.about-text-image {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.about-text-col {
  flex: 1 1 0;
  min-width: 0;
}
.about-text-col p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
}
.about-img-col {
  flex: 0 0 320px;
  max-width: 320px;
}
.about-img {
  width: 100%;
  display: block;
}
.about-img-wide {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 2rem 0;
}

@media (max-width: 700px) {
  .about-text-image { flex-direction: column; }
  .about-img-col    { flex: none; max-width: 100%; }
}

.about-funfact {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: #f4f2ee;
  border-radius: 4px;
}

.about-funfact-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.about-funfact p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .about-page { grid-template-columns: 1fr; }
  .about-intro { position: static; }
}

/* ─── Expo page ──────────────────────────────────────────────── */
.expo-body {
  max-width: 720px;
}

.expo-section {
  margin-bottom: 2.75rem;
}

.expo-heading {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.expo-section p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 0.9rem;
  max-width: 68ch;
}

/* ─── Social bar ─────────────────────────────────────────────── */
.social-bar {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0 var(--page-pad);
}

/* Top strip: slim dark bar sitting above the amber header */
.social-bar--top {
  background: #111;
  justify-content: flex-end;
  height: 36px;
  position: relative;
  overflow: hidden;
}

/* ── POPAI characters ─────────────────────────────────────── */
.popai-sprite {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (max-width: 600px) {
  .popai-sprite { display: none; }
}

/* Footer row: centered icons below the copyright line */
.social-bar--footer {
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid #e0ddd8;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.social-link svg {
  width: 15px;
  height: 15px;
}

/* Top: white icons on dark */
.social-bar--top .social-link       { color: rgba(255,255,255,0.45); }
.social-bar--top .social-link:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Footer: muted icons on light */
.social-bar--footer .social-link       { color: var(--muted); }
.social-bar--footer .social-link:hover { color: var(--black); background: rgba(0,0,0,0.05); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  padding: 1.75rem var(--page-pad);
  border-top: 1px solid #e0ddd8;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 600px) {
  .social-bar--top { height: 32px; }
}
