/* ───────── Pupila Auction · Design tokens & Global styles ─────────
   Built from the Pupila Media Kit 2026 design system.
*/

:root {
  /* Palette */
  --sand-50:  #FBF8F0;
  --sand-100: #F4ECDB;
  --sand-300: #EAD9B6;
  --peach-300: #F8D5BA;
  --tan-300:  #D9B695;
  --clay-300: #D88A5C;
  --clay-600: #B5532E;
  --clay-700: #8E4127;
  --walnut-700: #2A1F15;
  --walnut-500: #6E5E50;
  --olive-500: #6B6F48;
  --sage-500: #B7C2A0;
  --sky-500:  #BCC9CD;
  --teal-700: #1F5959;
  --sky-button: #6FB7C2;

  /* Type */
  --display: 'Krub', 'Helvetica Neue', sans-serif;
  --body:    'Krub', 'Helvetica Neue', sans-serif;
  --mono:    'JetBrains Mono', 'Menlo', monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 1px 2px rgba(58,46,34,.04), 0 12px 32px -12px rgba(58,46,34,.18);
  --shadow-card: 0 1px 2px rgba(58,46,34,.04), 0 24px 60px -24px rgba(58,46,34,.28);

  --bg: var(--sand-100);
  --fg: var(--walnut-700);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box }
html, body { margin:0; padding:0; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.05; }
h3 { font-size: 20px; }
em { font-style: italic; color: var(--clay-600); font-weight: 500; }
p { margin: 0 }

/* ────── Atoms ────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--walnut-500);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--clay-600); color: var(--sand-100); }
.btn-primary:hover { background: var(--clay-700); }
.btn-sky { background: var(--sky-button); color: var(--walnut-700); }
.btn-sky:hover { background: #5BA9B5; }
.btn-dark { background: var(--walnut-700); color: var(--sand-100); }
.btn-ghost {
  background: transparent;
  color: var(--walnut-700);
  border: 1px solid rgba(58,46,34,.18);
}
.btn-ghost:hover { background: rgba(58,46,34,.05); }
.btn .icon { font-size: 18px; line-height: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--sand-300);
  color: var(--walnut-700);
  white-space: nowrap;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 999px; background: currentColor;
}
.pill.live { background: #2A1F15; color: #F4ECDB; }
.pill.live .dot { background: #FF5F3D; box-shadow: 0 0 0 4px rgba(255,95,61,.18); animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { opacity:1 } 50% { opacity:.4 } }
.pill-clay { background: var(--clay-600); color: var(--sand-100); }
.pill-walnut { background: var(--walnut-700); color: var(--sand-100); }
.pill-sky { background: var(--sky-button); color: var(--walnut-700); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.status .d { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.status.live { background: #2A1F15; color: #F4ECDB; }
.status.live .d { background: #FF5F3D; box-shadow: 0 0 0 3px rgba(255,95,61,.2); animation: livePulse 1.4s infinite; }
.status.scheduled { background: var(--sky-500); color: var(--walnut-700); }
.status.extension { background: var(--peach-300); color: var(--clay-700); }
.status.ended { background: rgba(58,46,34,.1); color: var(--walnut-500); }

.card {
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.06);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.card-dark {
  background: var(--walnut-700);
  color: var(--sand-100);
  border: none;
}

/* ────── Top nav ────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,236,219,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(58,46,34,.08);
}
.topnav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.topnav .brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--walnut-700);
}
.topnav .brand .dot {
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--clay-600);
  display: inline-block;
}
.topnav .brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--walnut-500);
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}
.topnav .spacer { flex: 1 }

.role-toggle {
  display: inline-flex;
  background: var(--sand-300);
  border-radius: var(--r-pill);
  padding: 3px;
}
.role-toggle button {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--walnut-500);
}
.role-toggle button.active {
  background: var(--walnut-700);
  color: var(--sand-100);
}

.role-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.08);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
}
.role-pill .av {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--clay-600);
  color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  letter-spacing: .04em;
  font-weight: 600;
}

main.main-with-nav { padding: 30px 24px 80px }

/* ────── AUTH ────── */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--sand-100);
}
.auth-art {
  background: var(--walnut-700);
  color: var(--sand-100);
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-art .copy { position: relative; z-index: 2; max-width: 32ch; margin-top: auto; }
.auth-art h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--sand-100);
}
.auth-art p {
  margin-top: 18px;
  color: rgba(244,236,219,.7);
  font-size: 15px;
  line-height: 1.5;
}
.auth-art .meta {
  display: flex; gap: 22px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(244,236,219,.5);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.auth-art .circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.auth-art .c1 { width: 380px; height: 380px; background: var(--clay-600); top: -120px; right: -100px; opacity: .9 }
.auth-art .c2 { width: 220px; height: 220px; background: var(--peach-300); top: 140px; right: 90px; opacity: .85 }
.auth-art .c3 { width: 140px; height: 140px; background: var(--sky-button); top: 320px; right: -40px; opacity: .9 }
.auth-art .c4 { width: 80px; height: 80px; background: var(--sage-500); top: 220px; right: 280px; opacity: .8 }

.auth-form {
  padding: 60px clamp(40px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--sand-300);
  padding: 4px;
  border-radius: var(--r-pill);
  margin-bottom: 36px;
  align-self: flex-start;
}
.auth-tabs button {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--walnut-500);
}
.auth-tabs button.active { background: var(--sand-50); color: var(--walnut-700); }
.auth-form h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.auth-form .lede { color: var(--walnut-500); margin-bottom: 28px; font-size: 15px; max-width: 44ch; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-500);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(58,46,34,.14);
  border-radius: var(--r-md);
  background: var(--sand-50);
  font-family: var(--display);
  font-size: 15px;
  color: var(--walnut-700);
  outline: none;
  transition: border .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 80px; font-family: var(--body); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--clay-600);
  background: #fff;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.method-card {
  text-align: left;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.12);
  transition: all .15s ease;
}
.method-card.active {
  border-color: var(--clay-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181,83,46,.15);
}
.method-card .ic {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--peach-300);
  color: var(--clay-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.method-card.active .ic { background: var(--clay-600); color: var(--sand-100); }
.method-card .t { font-family: var(--display); font-weight: 600; font-size: 15px; }
.method-card .d { font-family: var(--mono); font-size: 11px; color: var(--walnut-500); margin-top: 4px; word-break: break-all; }

.code-input {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.code-input input {
  width: 64px; height: 76px;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  border: 1px solid rgba(58,46,34,.14);
  border-radius: var(--r-md);
  background: var(--sand-50);
  outline: none;
  transition: all .15s ease;
}
.code-input input:focus {
  border-color: var(--clay-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(181,83,46,.15);
}
.resend {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--walnut-500);
  text-transform: uppercase;
}
.resend button {
  color: var(--clay-600);
  text-decoration: underline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ────── CATALOG ────── */
.catalog { max-width: 1320px; margin: 0 auto; }
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.catalog-head h1 { font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.03em; }
.catalog-head .sub { color: var(--walnut-500); margin-top: 12px; max-width: 50ch; font-size: 15px; }

.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip-filter {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.1);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--walnut-500);
  transition: all .15s ease;
}
.chip-filter.active {
  background: var(--walnut-700);
  color: var(--sand-100);
  border-color: var(--walnut-700);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.lot-card {
  background: var(--sand-50);
  border-radius: var(--r-lg);
  border: 1px solid rgba(58,46,34,.06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.lot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.lot-card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand-300);
  overflow: hidden;
}
.lot-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.lot-card .photo .badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.lot-card .body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.lot-card .lot-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--walnut-500);
}
.lot-card .title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--walnut-700);
}
.lot-card .dates {
  display: flex; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--walnut-500);
  text-transform: uppercase;
}
.lot-card .dates b {
  color: var(--walnut-700);
  font-weight: 500;
  margin-right: 4px;
}
.lot-card .bid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(58,46,34,.08);
}
.lot-card .bid-row .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-500);
}
.lot-card .bid-row .val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--clay-600);
  letter-spacing: -.01em;
}
.lot-card .bid-row .countdown {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--walnut-700);
}
.lot-card .bid-row .countdown small {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--walnut-500);
  text-transform: uppercase;
  font-weight: 400;
}

/* ────── DETAIL ────── */
.detail { max-width: 1320px; margin: 0 auto; }
.back-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--walnut-500);
  margin-bottom: 20px;
  display: inline-block;
}
.back-link:hover { color: var(--clay-600); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
}
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-300);
}
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo .corner-pill {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; gap: 6px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.spec {
  padding: 14px 16px;
  background: var(--sand-50);
  border-radius: var(--r-md);
  border: 1px solid rgba(58,46,34,.06);
}
.spec .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-500);
  margin-bottom: 4px;
}
.spec .val {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  color: var(--walnut-700);
}

.countdown-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--walnut-700);
  border-radius: var(--r-md);
  padding: 14px;
}
.countdown-ribbon.extension { background: var(--clay-600); }
.countdown-ribbon .seg { text-align: center; color: var(--sand-100); }
.countdown-ribbon .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.countdown-ribbon .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,236,219,.6);
  margin-top: 2px;
}

/* extend banner */
.extend-banner {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--peach-300);
  color: var(--clay-700);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
}
.extend-banner .clk { font-family: var(--mono); font-weight: 600; }

/* ────── BID BOX ────── */
.bid-box {
  background: var(--walnut-700);
  color: var(--sand-100);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 18px;
}
.bid-box .row1 { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.bid-box .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,236,219,.55);
  margin-bottom: 4px;
}
.bid-box .current {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--sand-100);
}
.bid-box .current small {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--peach-300);
  font-family: var(--mono);
  font-weight: 400;
  margin-bottom: 4px;
}
.bid-stepper {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 8px;
  margin-bottom: 14px;
}
.bid-stepper .step {
  background: rgba(255,255,255,.08);
  color: var(--sand-100);
  border-radius: var(--r-md);
  font-size: 24px;
  font-weight: 500;
  height: 60px;
  transition: background .15s ease;
}
.bid-stepper .step:hover { background: rgba(255,255,255,.16); }
.bid-stepper .val {
  background: var(--sand-100);
  color: var(--walnut-700);
  border-radius: var(--r-md);
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
  border: none;
  outline: none;
  height: 60px;
  width: 100%;
}
.quick-bumps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.quick-bumps button {
  padding: 9px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  color: var(--sand-100);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
  transition: background .15s ease;
}
.quick-bumps button:hover { background: rgba(255,255,255,.16); }

.visibility-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  margin-bottom: 14px;
}
.visibility-toggle .lbl {
  font-size: 13px;
  font-family: var(--display);
}
.visibility-toggle .lbl b { display: block; font-weight: 600; }
.visibility-toggle .lbl { color: rgba(244,236,219,.7); }
.visibility-toggle .lbl b { color: var(--sand-100); margin-bottom: 2px; }
.switch {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  position: relative;
  transition: background .15s ease;
  flex-shrink: 0;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--sand-100);
  transition: transform .15s ease;
}
.switch.on { background: var(--clay-600); }
.switch.on::after { transform: translateX(18px); }

/* ────── LIVE FEED ────── */
.feed {
  background: var(--sand-50);
  border-radius: var(--r-lg);
  border: 1px solid rgba(58,46,34,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 720px;
}
.feed-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(58,46,34,.08);
  display: flex; justify-content: space-between; align-items: center;
}
.feed-head h3 { font-size: 17px; }
.feed-list {
  flex: 1;
  overflow: auto;
  padding: 8px;
}
.feed-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--walnut-500);
  font-size: 13px;
}
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  margin-bottom: 4px;
  position: relative;
  animation: feedIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.feed-item .av {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--peach-300);
  color: var(--clay-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}
.feed-item.highlight {
  background: var(--peach-300);
}
.feed-item.highlight .av { background: var(--clay-600); color: var(--sand-100); }
.feed-item .body { flex: 1; min-width: 0; }
.feed-item .who {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--walnut-700);
}
.feed-item .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--walnut-500);
  margin-top: 2px;
}
.feed-item .amt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--clay-600);
  margin-top: 4px;
}
.feed-item .crown {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-700);
  font-weight: 500;
}

/* ────── ADMIN ────── */
.admin { max-width: 1320px; margin: 0 auto; }
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.admin-head h1 { font-size: clamp(32px, 3.6vw, 48px); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.06);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.kpi.dark { background: var(--walnut-700); color: var(--sand-100); border-color: transparent; }
.kpi .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-500);
}
.kpi.dark .lbl { color: rgba(244,236,219,.55); }
.kpi .val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -.02em;
  margin-top: 6px;
  color: var(--walnut-700);
  font-variant-numeric: tabular-nums;
}
.kpi.dark .val { color: var(--sand-100); }
.kpi .delta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  margin-top: 4px;
  color: var(--walnut-500);
}
.kpi.dark .delta { color: var(--peach-300); }

.monitor-card {
  background: var(--walnut-700);
  color: var(--sand-100);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.monitor-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.monitor-card .price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -.02em;
  color: var(--sand-100);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.monitor-card .by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--peach-300);
  margin-top: 4px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}
@media (max-width: 980px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-list {
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.admin-list-head {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid rgba(58,46,34,.08);
}
.admin-list-head h3 { font-size: 17px; }
.admin-tabs {
  display: inline-flex;
  background: var(--sand-300);
  border-radius: var(--r-pill);
  padding: 3px;
}
.admin-tabs button {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  color: var(--walnut-500);
}
.admin-tabs button.active { background: var(--walnut-700); color: var(--sand-100); }

.admin-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(58,46,34,.06);
}
.admin-row:last-child { border-bottom: none; }
.admin-row .thumb {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand-300);
  flex-shrink: 0;
}
.admin-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row .t { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; }
.admin-row .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--walnut-500);
  text-transform: uppercase;
  margin-top: 4px;
}
.admin-row .price-cell { text-align: right; }
.admin-row .price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--clay-600);
  font-variant-numeric: tabular-nums;
}
.admin-row .actions { display: flex; gap: 6px; justify-content: flex-end; }

@media (max-width: 880px) {
  .admin-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      'thumb title'
      'thumb meta'
      'status status'
      'price price'
      'actions actions';
    gap: 8px 14px;
  }
  .admin-row .thumb { grid-area: thumb; }
  .admin-row .meta-cell { display: none; }
  .admin-row .price-cell { text-align: left; grid-area: price; }
  .admin-row .actions { grid-area: actions; justify-content: flex-start; }
}

/* ────── MODAL ────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(42,31,21,.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 100;
  padding: 5vh 20px;
  animation: fadeIn .25s ease;
  overflow-y: auto;
}

/* Auth-as-modal: wraps the .auth-form */
.modal-auth {
  background: var(--sand-100);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
.modal-auth .auth-form {
  padding: 32px;
  max-width: none;
  margin: 0;
}
.modal-auth .auth-form h2 {
  font-size: 28px;
}
.modal-auth .auth-form .lede {
  font-size: 14px;
  margin-bottom: 20px;
}
.modal-auth .auth-tabs {
  margin-bottom: 20px;
}
.modal-auth .code-input input {
  width: 56px; height: 64px; font-size: 28px;
}
@media (max-width: 520px) {
  .modal-auth .auth-form { padding: 24px 20px; }
  .modal-auth .code-input { gap: 8px; }
  .modal-auth .code-input input { width: 48px; height: 56px; font-size: 24px; }
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  background: var(--walnut-700);
  color: var(--sand-100);
  border-radius: var(--r-xl);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal h2 {
  font-size: 36px;
  letter-spacing: -.025em;
  color: var(--sand-100);
  margin-top: 14px;
}
.modal .winner {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal .winner .av {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--clay-600);
  color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}
.modal .winner .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--sand-100);
}
.modal .winner .amt {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--peach-300);
  font-variant-numeric: tabular-nums;
}
.modal .confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.modal .confetti .c {
  position: absolute;
  border-radius: 999px;
  animation: confFloat 6s ease-in-out infinite;
}
.modal .confetti .c1 { width: 80px; height: 80px; background: var(--clay-600); top: -20px; right: -20px; opacity: .5; }
.modal .confetti .c2 { width: 40px; height: 40px; background: var(--sky-button); top: 20px; left: -10px; opacity: .4; animation-delay: -1s; }
.modal .confetti .c3 { width: 24px; height: 24px; background: var(--peach-300); top: 60px; left: 30%; opacity: .5; animation-delay: -2s; }
.modal .confetti .c4 { width: 60px; height: 60px; background: var(--sage-500); bottom: 20px; right: 60px; opacity: .35; animation-delay: -3s; }
.modal .confetti .c5 { width: 30px; height: 30px; background: var(--clay-300); bottom: 40px; left: 30px; opacity: .4; animation-delay: -1.5s; }
@keyframes confFloat {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-10px) }
}

/* ────── TOAST ────── */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--walnut-700);
  color: var(--sand-100);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  z-index: 200;
  animation: toastIn .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.3);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ────── responsive ────── */
@media (max-width: 880px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { padding: 36px 28px; min-height: 240px; }
  .auth-art .copy { margin-top: 16px; }
  .auth-form { padding: 36px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .code-input input { width: 56px; height: 64px; font-size: 28px; }
  main.main-with-nav { padding: 22px 16px 60px; }
  .topnav-inner { padding: 12px 16px; gap: 10px; }
  .topnav .brand-tag { display: none; }
  .role-toggle button { padding: 6px 12px; font-size: 12px; }
  .catalog-head, .admin-head { flex-direction: column; align-items: flex-start; }
  .lot-card .photo { aspect-ratio: 16/10 }
  .bid-stepper { grid-template-columns: 50px 1fr 50px; }
  .bid-stepper .step { height: 52px; font-size: 22px; }
  .bid-stepper .val { height: 52px; font-size: 22px; }
  .bid-box .current { font-size: 28px; }
  .monitor-card .price { font-size: 32px; }
  .modal { padding: 28px 22px; }
}


/* ═════════════════════════════════════════════════════════
   ═══════════════ V2 · Pupila Live Painting ═══════════════
   ═════════════════════════════════════════════════════════ */

/* ── V2 TopNav ── */
.topnav.v2 .topnav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
}
.topnav.v2 .brand-logo {
  justify-self: start;
}
.topnav.v2 .topnav-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* desktop tabs centered */
.desktop-only { display: inline-flex; }
.mobile-only  { display: none; }

.brand-logo {
  display: inline-flex; align-items: center;
  padding: 4px 0;
  background: transparent !important;
}
.brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* user pill as button */
.role-pill-btn {
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.role-pill-btn:hover {
  background: var(--sand-100);
  border-color: rgba(58,46,34,.16);
}
.role-pill-btn .chev {
  font-size: 10px;
  color: var(--walnut-500);
  margin-left: 2px;
}
.user-menu {
  position: relative;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.1);
  border-radius: var(--r-md);
  box-shadow: 0 20px 50px -15px rgba(58,46,34,.3);
  overflow: hidden;
  z-index: 60;
  animation: ddOpen .15s ease-out;
}
@keyframes ddOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-dropdown .ud-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(58,46,34,.08);
}
.user-dropdown .ud-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--walnut-700);
}
.user-dropdown .ud-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--walnut-500);
  margin-top: 2px;
}
.user-dropdown .ud-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--walnut-700);
  transition: background .12s, color .12s;
}
.user-dropdown .ud-item:hover {
  background: var(--clay-600);
  color: var(--sand-100);
}

/* hamburger button */
.hamburger {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  transition: background .15s;
}
.hamburger:hover { background: var(--sand-100); }
.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--walnut-700);
  border-radius: 2px;
}

/* mobile drawer */
.mobile-drawer {
  background: var(--sand-50);
  border-top: 1px solid rgba(58,46,34,.08);
  padding: 8px;
  display: grid;
  gap: 4px;
  animation: drawerOpen .2s ease-out;
}
@keyframes drawerOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-drawer .md-item {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--walnut-700);
  border-radius: var(--r-md);
  transition: background .12s, color .12s;
}
.mobile-drawer .md-item:hover,
.mobile-drawer .md-item.active {
  background: var(--walnut-700);
  color: var(--sand-100);
}

.v2-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--sand-300);
  padding: 4px;
  border-radius: var(--r-pill);
}
.v2-tabs button {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--walnut-500);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.v2-tabs button:hover { color: var(--walnut-700); }
.v2-tabs button.active { background: var(--walnut-700); color: var(--sand-100); }

.v2-guest {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--walnut-500);
}

@media (max-width: 760px) {
  .desktop-only { display: none; }
  .mobile-only  { display: inline-flex; }
  .topnav.v2 .topnav-inner {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
  }
  .topnav.v2 .topnav-inner > .brand-logo { grid-column: 1; }
  .topnav.v2 .topnav-inner > .v2-tabs { display: none; }
  .topnav.v2 .topnav-inner > .topnav-right { grid-column: 3; }
  .brand-logo img { height: 26px; }
  .role-pill-btn { padding: 5px 12px 5px 5px; font-size: 12px; }
  .role-pill-btn .av { width: 24px; height: 24px; }
}
@media (min-width: 761px) {
  .hamburger { display: none !important; }
}

/* ── Session hero strip (current) ── */
.session-hero {
  margin-bottom: 18px;
  display: flex; justify-content: flex-end; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

/* ── Countdown overlay (on auction photo) ── */
.countdown-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(42,31,21,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--sand-100);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-width: 280px;
  max-width: calc(100% - 32px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.countdown-overlay.extension {
  background: linear-gradient(135deg, rgba(181,83,46,.95), rgba(142,65,39,.95));
}
.co-last { flex: 1; min-width: 0; }
.co-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,236,219,.55);
}
.co-amount {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--sand-100);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.co-author {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(244,236,219,.7);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  letter-spacing: .02em;
}
.co-divider {
  width: 1px;
  background: rgba(244,236,219,.18);
  flex-shrink: 0;
}
.co-time { text-align: right; min-width: 80px; display: flex; flex-direction: column; justify-content: center; }
.co-clock {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--sand-100);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown-overlay.extension .co-clock { color: #FFE0CB; }

@media (max-width: 600px) {
  .countdown-overlay {
    padding: 12px 14px;
    left: 12px; right: 12px;
    bottom: 12px;
    min-width: 0;
    gap: 14px;
  }
  .co-amount { font-size: 18px; }
  .co-clock { font-size: 28px; }
  .co-time { min-width: 70px; }
  .co-author { max-width: 130px; }
}
.test-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px dashed rgba(58,46,34,.25) !important;
  background: rgba(255,255,255,.4);
  color: var(--walnut-500);
}
.test-btn:hover { border-color: var(--clay-600) !important; color: var(--clay-700); }
.test-btn .test-dot { color: var(--clay-600); font-size: 10px; }

/* ── No session (empty state) ── */
.no-session {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 60px 0;
  align-items: center;
}
@media (max-width: 820px) { .no-session { grid-template-columns: 1fr; gap: 40px; padding: 30px 0; } }
.ns-art {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
}
.ns-art .circle {
  position: absolute;
  border-radius: 999px;
  will-change: transform;
}
.ns-art .c1 {
  width: 70%; height: 70%; background: var(--peach-300);
  top: 8%; left: 8%;
  animation: nsFloat1 11s ease-in-out infinite;
}
.ns-art .c2 {
  width: 38%; height: 38%; background: var(--sky-500);
  top: 32%; left: 48%;
  animation: nsFloat2 8s ease-in-out infinite;
}
.ns-art .c3 {
  width: 16%; height: 16%; background: var(--clay-600);
  top: 70%; left: 18%;
  animation: nsFloat3 6s ease-in-out infinite;
}
@keyframes nsFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-12px, 8px) scale(1.02); }
  66%      { transform: translate(10px, -6px) scale(.98); }
}
@keyframes nsFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(18px, -14px) scale(1.05); }
  70%      { transform: translate(-8px, 12px) scale(.95); }
}
@keyframes nsFloat3 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(22px, -10px); }
  60%      { transform: translate(-18px, -22px); }
  85%      { transform: translate(8px, 14px); }
}
@media (prefers-reduced-motion: reduce) {
  .ns-art .c1, .ns-art .c2, .ns-art .c3 { animation: none; }
}
.ns-copy h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; line-height: .98; }
.ns-copy p { color: var(--walnut-500); margin-top: 16px; max-width: 44ch; font-size: 16px; }

/* ── Past sessions ── */
.lot-card.past {
  cursor: default;
}
.lot-card.past:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}
.lot-card.past .photo {
  filter: grayscale(.15);
}
.lot-card.past .past-overlay {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(42,31,21,.82);
  backdrop-filter: blur(4px);
  color: var(--sand-100);
  padding: 10px 14px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.lot-card.past .past-overlay .po-block { min-width: 0; }
.lot-card.past .past-overlay .po-date { text-align: right; }
.lot-card.past .past-overlay .past-winner {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  margin-top: 2px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lot-card.past .past-overlay .past-date {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  margin-top: 2px;
  letter-spacing: .04em;
  color: var(--peach-300);
  white-space: nowrap;
}

/* ── Past detail winner card ── */
.winner-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--walnut-700);
  color: var(--sand-100);
  border-radius: var(--r-lg);
  margin: 18px 0;
}
.winner-card .av {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--clay-600); color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 14px;
}
.winner-card .eyebrow { color: rgba(244,236,219,.5); }
.winner-card .winner-name { font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 2px; }
.winner-card .winner-amt {
  margin-left: auto;
  font-family: var(--display); font-weight: 600; font-size: 28px;
  color: var(--peach-300);
  font-variant-numeric: tabular-nums;
}

/* ── Quick auth modal (name only) ── */
.modal-quick {
  background: var(--sand-100);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 460px;
  padding: 32px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--sand-300);
  color: var(--walnut-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background .15s;
}
.modal-close:hover { background: var(--tan-300); }
.quick-hint {
  padding: 14px 16px;
  background: var(--peach-300);
  border-radius: var(--r-md);
  color: var(--clay-700);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .modal-quick { padding: 24px 20px; }
}

/* ── QR modal ── */
.modal-qr {
  background: var(--sand-50);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  padding: 32px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
}
.qr-frame {
  background: var(--sand-100);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(58,46,34,.08);
}
.qr-frame img { width: 100%; height: auto; max-width: 300px; display: block; }
.modal-qr h2 { color: var(--walnut-700); }

@media (max-width: 520px) {
  .modal-qr { padding: 24px 20px; }
}

/* ════════════ ABOUT LANDING ════════════ */
.about-page {
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 30px 0 60px;
}
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-art { order: -1; }
}
.about-hero-copy h1 {
  font-size: clamp(56px, 8vw, 116px);
  line-height: .92;
  letter-spacing: -.035em;
  margin-top: 16px;
  color: var(--walnut-700);
}
.about-hero-copy h1 em { color: var(--clay-600); font-style: normal; font-weight: 600; }
.about-hero-copy p {
  color: var(--walnut-500);
  margin-top: 20px;
  max-width: 36ch;
  font-size: 18px;
  line-height: 1.5;
}
.about-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--walnut-500);
}
.about-meta span { padding-right: 20px; border-right: 1px solid rgba(58,46,34,.18); }
.about-meta span:last-child { border-right: none; padding-right: 0; }

.about-hero-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.about-hero-art .circle {
  position: absolute;
  border-radius: 999px;
}
.about-hero-art .clay {
  width: 70%; aspect-ratio: 1;
  right: -8%; top: 4%;
  background: var(--clay-600);
}
.about-hero-art .peach {
  width: 32%; aspect-ratio: 1;
  left: 2%; top: 28%;
  background: var(--peach-300);
}
.about-hero-art .sky {
  width: 22%; aspect-ratio: 1;
  right: 24%; bottom: 8%;
  background: var(--sky-button);
}
.about-hero-art .small-clay {
  width: 10%; aspect-ratio: 1;
  left: 36%; top: 8%;
  background: var(--olive-500);
}
.about-hero-art .photo {
  width: 56%; aspect-ratio: 1;
  left: 18%; bottom: 4%;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(58,46,34,.4);
}
.about-hero-art .photo img { width: 100%; height: 100%; object-fit: cover; }

/* Section */
.about-section {
  padding: 60px 0;
  border-top: 1px solid rgba(58,46,34,.1);
}
.about-h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-top: 12px;
  color: var(--walnut-700);
}
.about-h2 em { color: var(--clay-600); font-style: normal; font-weight: 600; }
.about-lede {
  color: var(--walnut-500);
  font-size: 17px;
  margin-top: 16px;
  max-width: 56ch;
  line-height: 1.5;
}

/* Manifesto */
.about-manifesto {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--walnut-700);
}
.about-manifesto p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 600;
  font-size: 4em;
  float: left;
  line-height: .9;
  margin-right: 14px;
  margin-top: 4px;
  color: var(--clay-600);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }
.service-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.08);
  border-radius: var(--r-lg);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--walnut-700);
}
.service-pill .num {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--peach-300);
  color: var(--clay-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Ambientes */
.ambient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 880px) { .ambient-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ambient-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.ambient { text-align: center; }
.ambient-photo {
  aspect-ratio: 1;
  border-radius: 999px;
  overflow: hidden;
  background: var(--peach-300);
  transition: transform .25s ease;
}
.ambient:hover .ambient-photo { transform: scale(1.03); }
.ambient-photo img { width: 100%; height: 100%; object-fit: cover; }
.ambient-label {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--walnut-700);
}

/* QR section */
.qr-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .qr-section { grid-template-columns: 1fr; gap: 32px; }
  .qr-art { order: -1; }
}
.qr-left h2 { margin-top: 12px; }
.qr-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  justify-self: center;
}
.qr-circle {
  position: absolute;
  inset: 0;
  background: var(--peach-300);
  border-radius: 999px;
}
.qr-mock {
  position: absolute;
  inset: 12%;
  background: var(--sand-100);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: 0 28px 60px -20px rgba(58,46,34,.4);
  overflow: hidden;
}

/* Closing */
.about-closing {
  padding: 80px 40px;
  margin: 60px 0 30px;
  background: var(--walnut-700);
  color: var(--sand-100);
  border-radius: var(--r-xl);
  text-align: center;
}
@media (max-width: 720px) { .about-closing { padding: 56px 24px; border-radius: var(--r-lg); } }
.closing-title {
  font-size: clamp(40px, 6vw, 84px);
  line-height: .96;
  letter-spacing: -.03em;
  color: var(--sand-100);
}
.closing-title em { color: var(--clay-300); font-style: normal; font-weight: 600; }
.closing-body {
  max-width: 640px;
  margin: 28px auto 0;
  display: grid; gap: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,236,219,.78);
}
.closing-body b { color: var(--sand-100); font-weight: 600; }
.closing-cta { margin-top: 36px; }
.closing-cta .btn-primary {
  background: var(--clay-600);
  font-size: 16px;
  padding: 18px 30px;
}
.closing-cta .btn-primary:hover { background: var(--clay-700); }
.closing-cta .btn-primary svg { stroke: currentColor; }

/* socials */
.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 720px) { .socials { grid-template-columns: 1fr; } }
.social-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(244,236,219,.06);
  border: 1px solid rgba(244,236,219,.1);
  border-radius: var(--r-md);
  color: var(--sand-100);
  text-align: left;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.social-link, .social-link:hover, .social-link:focus, .social-link:visited { text-decoration: none; }
.closing-cta a, .closing-cta a:hover, .closing-cta a:focus { text-decoration: none; }
.social-link:hover { background: rgba(244,236,219,.12); border-color: rgba(244,236,219,.2); }
.social-link .s-ic {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--clay-600);
  color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.social-link .s-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,236,219,.55);
}
.social-link .s-val {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  margin-top: 2px;
}

.address {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,236,219,.55);
}
.address .eyebrow { color: rgba(244,236,219,.45); }


/* ─── V2.1 · Feature checklist strip ─── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px 0 60px;
  border-bottom: 1px solid rgba(58,46,34,.1);
}
@media (max-width: 880px) { .features-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-strip { grid-template-columns: 1fr; } }
.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  background: var(--sand-50);
  border: 1px solid rgba(58,46,34,.08);
  border-radius: var(--r-lg);
  transition: transform .15s ease, border-color .15s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--clay-600);
}
.feature-check {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--clay-600);
  color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
  color: var(--walnut-700);
  line-height: 1;
}
.feature-lbl {
  font-family: var(--body);
  font-size: 13px;
  color: var(--walnut-500);
  margin-top: 4px;
}

/* ─── V2.1 · Manifesto block (dark, combined) ─── */
.manifesto-block {
  margin: 60px 0;
  padding: 72px 56px;
  background: linear-gradient(180deg, #2E4232 0%, #243426 100%);
  color: var(--sand-100);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.manifesto-block::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 999px;
  background: rgba(181,83,46,.18);
  top: -80px; right: -100px;
  pointer-events: none;
}
.manifesto-block::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 999px;
  background: rgba(196,209,201,.12);
  bottom: -40px; left: 40%;
  pointer-events: none;
}
.manifesto-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .manifesto-inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 720px) { .manifesto-block { padding: 48px 28px; margin: 40px 0; } }

.manifesto-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-top: 12px;
  color: var(--sand-100);
}
.manifesto-h2 em { color: var(--clay-300); font-style: normal; font-weight: 600; }
.manifesto-body {
  display: grid; gap: 18px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,236,219,.82);
  max-width: 56ch;
}
.manifesto-body b { color: var(--sand-100); font-weight: 600; }
.manifesto-body p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 600;
  font-size: 4em;
  float: left;
  line-height: .9;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--clay-300);
}

.manifesto-services {
  background: rgba(244,236,219,.06);
  border: 1px solid rgba(244,236,219,.1);
  border-radius: var(--r-lg);
  padding: 28px;
}
.service-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.service-list li {
  display: flex; align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(244,236,219,.04);
  transition: background .15s;
}
.service-list li:hover { background: rgba(244,236,219,.08); }
.service-list .num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--clay-600);
  color: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.service-list .lbl {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--sand-100);
}
