/* ============================================================
   Mariela González — Fotografía
   Estética: carbón profundo, marfil, oro tenue. La foto manda.
   ============================================================ */

:root {
  --ink: #0d0c0a;
  --ink-soft: #16140f;
  --ink-card: #1a1712;
  --ivory: #f0eadf;
  --ivory-dim: #b8b0a2;
  --ivory-faint: #7d766b;
  --gold: #c2a061;
  --gold-soft: rgba(194, 160, 97, 0.35);
  --line: rgba(240, 234, 223, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--ink); }

/* ============ NAV ============ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s;
}
#nav.scrolled {
  background: rgba(13, 12, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.9rem 3rem;
  box-shadow: 0 1px 0 var(--line);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.brand-name {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.35s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ivory-faint);
  font-size: 0.7rem;
}
.lang-switch button {
  background: none;
  border: none;
  padding: 0.3rem 0.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ivory-faint);
  transition: color 0.35s;
}
.lang-switch button:hover { color: var(--ivory); }
.lang-switch button.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.wallet-btn {
  background: transparent;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.6rem 1.3rem;
  transition: all 0.4s var(--ease);
}
.wallet-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.wallet-btn.connected {
  border-color: var(--gold);
  font-variant-numeric: tabular-nums;
}

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
#nav-toggle span {
  width: 22px; height: 1px;
  background: var(--ivory);
  transition: 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 26s var(--ease) forwards;
  filter: saturate(0.88) contrast(1.02);
}
@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(13,12,10,0.42) 100%),
    linear-gradient(to bottom, rgba(13,12,10,0.42) 0%, rgba(13,12,10,0.02) 30%, rgba(13,12,10,0.05) 65%, var(--ink) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroRise 1.6s var(--ease) 0.3s both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.2rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
}
.hero-sub {
  margin-top: 2.4rem;
  font-size: 0.95rem;
  color: var(--ivory-dim);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.hero-cta {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 1rem 2.6rem;
  transition: all 0.5s var(--ease);
}
.hero-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  letter-spacing: 0.4em;
}
.hero-scroll {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============ PANELS / SECTIONS ============ */
.panel {
  max-width: 1420px;
  margin: 0 auto;
  padding: 7rem 3rem 5rem;
  min-height: 60vh;
}
.section-head {
  max-width: 640px;
  margin-bottom: 4.5rem;
}
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.section-desc {
  color: var(--ivory-dim);
  font-size: 0.95rem;
  max-width: 56ch;
}
.section-desc strong { color: var(--gold); font-weight: 500; }

/* ============ GRID ============ */
.grid {
  columns: 3;
  column-gap: 2rem;
}
.card {
  break-inside: avoid;
  margin-bottom: 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--ink-card);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.card.in { opacity: 1; transform: translateY(0); }
.card img {
  width: 100%;
  transition: transform 1.2s var(--ease), filter 0.8s;
  filter: saturate(0.92);
  /* el thumbnail liviano queda de fondo mientras llega la versión en calidad real */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}
.card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,12,10,0.88) 0%, transparent 42%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.card:hover .card-veil { opacity: 1; }
.card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}
.card-price {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.grid-actions {
  text-align: center;
  margin-top: 3.5rem;
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  transition: all 0.45s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.grid-empty {
  color: var(--ivory-faint);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
  padding: 2rem 0;
}

/* skeleton loading */
.skel {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: linear-gradient(100deg, var(--ink-card) 40%, #221e17 50%, var(--ink-card) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ============ ZORA COIN CARD ============ */
.zora-coin {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid var(--line);
  padding: 1.4rem 1.8rem;
  max-width: 480px;
}
.zora-coin img {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.zora-coin-info { flex: 1; }
.zora-coin-sym {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.zora-coin-mc {
  font-size: 0.75rem;
  color: var(--ivory-dim);
  letter-spacing: 0.08em;
}
.zora-coin a.buy-coin {
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  padding: 0.55rem 1.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: all 0.4s;
}
.zora-coin a.buy-coin:hover { background: var(--gold); color: var(--ink); }

/* ============ CONTACTO ============ */
.panel-contact { max-width: 900px; }
.contact-links {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 2.1rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease), background 0.45s;
}
.contact-row:hover {
  padding-left: 1.4rem;
  background: rgba(194, 160, 97, 0.04);
}
.contact-label {
  width: 130px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.contact-value {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 300;
}
.contact-arrow {
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform 0.4s var(--ease);
}
.contact-row:hover .contact-arrow { transform: translateX(8px); }

.contact-profiles { margin-top: 4.5rem; }
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}
.profile-chips a {
  border: 1px solid var(--line);
  padding: 0.7rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: all 0.4s var(--ease);
}
.profile-chips a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 6rem;
  padding: 5rem 3rem 3rem;
  text-align: center;
}
.footer-name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
}
.footer-tag {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  margin-top: 0.6rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin: 2.4rem 0;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.35s;
}
.footer-links a:hover { color: var(--gold); }
.footer-fine {
  font-size: 0.7rem;
  color: var(--ivory-faint);
}

/* ============ LIGHTBOX ============ */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 9, 7, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbIn 0.45s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lb-close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  background: rgba(13, 12, 10, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  color: var(--ivory-dim);
  font-size: 1.7rem;
  font-weight: 200;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
  z-index: 4;
}
.lb-close:hover { color: var(--gold); transform: rotate(90deg); }

.lb-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--ink-soft);
}
.lb-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080705;
  touch-action: none;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.lb-media.zoomed { cursor: grab; }
.lb-media.dragging { cursor: grabbing; }
.lb-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  will-change: transform;
  transition: filter 0.5s var(--ease);
}
/* blur-up: la miniatura se muestra desenfocada hasta que llega el archivo en alta.
   Sin transición de entrada (el blur es inmediato); la salida sí es suave. */
.lb-media img.is-loading {
  filter: blur(10px) saturate(0.95);
  transition: none;
}
.lb-media img.zoom-anim {
  transition: transform 0.38s var(--ease), filter 0.5s var(--ease);
}

/* controles de zoom */
.lb-zoom-ui {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(13, 12, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.lb-media:hover .lb-zoom-ui,
.lb-media.zoomed .lb-zoom-ui {
  opacity: 1;
  pointer-events: auto;
}
.lb-zoom-ui button {
  background: none;
  border: none;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  transition: color 0.3s;
}
.lb-zoom-ui button:hover { color: var(--gold); }
.lb-zoom-ui #zoom-level {
  min-width: 3.4rem;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
  font-variant-numeric: tabular-nums;
}

.lb-zoom-hint {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: rgba(13, 12, 10, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  white-space: nowrap;
  z-index: 3;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.lb-zoom-hint.faded { opacity: 0; }
.lb-panel {
  padding: 3rem 2.6rem;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.lb-collection {
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lb-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}
.lb-desc {
  color: var(--ivory-dim);
  font-size: 0.88rem;
  white-space: pre-line;
  margin-bottom: 1.8rem;
}
.lb-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ivory-faint);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  margin-bottom: 1.8rem;
}
.lb-meta span b { color: var(--ivory-dim); font-weight: 400; }
/* etiquetas de la obra */
.lb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.8rem 0 1.6rem;
}
.lb-tags:empty { display: none; }
.lb-tags span {
  border: 1px solid var(--line);
  color: var(--ivory-faint);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

/* disponibilidad */
.lb-avail {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  min-height: 1em;
}
.lb-avail.sold { color: var(--ivory-faint); }
.lb-avail .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lb-avail .dot.on {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-soft);
  animation: availPulse 2.6s ease-in-out infinite;
}
.lb-avail .dot.off { background: var(--ivory-faint); }
@keyframes availPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* coleccionistas */
.lb-collectors { margin-top: 1.8rem; }
.lb-collectors:empty { display: none; }
.lb-collectors-title {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  margin-bottom: 0.9rem;
}
.lb-collectors ul {
  list-style: none;
  max-height: 190px;
  overflow-y: auto;
}
.lb-collectors li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(240, 234, 223, 0.05);
  font-size: 0.8rem;
}
.lb-collectors a {
  color: var(--ivory-dim);
  transition: color 0.3s;
  overflow-wrap: anywhere;
}
.lb-collectors a:hover { color: var(--gold); }
.lb-collectors .qty {
  color: var(--ivory-faint);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}
.lb-nocollectors {
  color: var(--ivory-faint);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.lb-collectors .artist-row {
  color: var(--ivory-faint);
}
.lb-collectors .artist-row span:first-child {
  font-style: italic;
}

.lb-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.lb-price small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ivory-faint);
  letter-spacing: 0.08em;
  margin-left: 0.6rem;
}
.lb-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}
.btn-buy {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1.1rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.btn-buy:hover { background: transparent; color: var(--gold); }
.btn-buy:disabled { opacity: 0.5; cursor: wait; }
.btn-out {
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.95rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.btn-out:hover { border-color: var(--gold); color: var(--gold); }
.lb-status {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--gold);
  min-height: 1.2em;
}
.lb-status a { text-decoration: underline; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--ink-card);
  border: 1px solid var(--gold-soft);
  color: var(--ivory);
  padding: 1rem 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  max-width: 90vw;
  animation: toastIn 0.4s var(--ease);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .grid { columns: 2; }
  .lb-inner { grid-template-columns: 1fr 330px; }
}
@media (max-width: 760px) {
  #nav { padding: 1.1rem 1.4rem; }
  #nav.scrolled { padding: 0.9rem 1.4rem; }
  .brand-name { display: none; }
  #nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.6rem;
    gap: 2rem;
    background: rgba(13, 12, 10, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.55s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.9rem; }
  .panel { padding: 5rem 1.4rem 3rem; }
  .grid { columns: 1; }
  .lb-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .lb-media { min-height: 58vh; flex-shrink: 0; }
  .lb-panel { border-left: none; border-top: 1px solid var(--line); padding: 2rem 1.6rem; }
  .contact-label { width: 90px; }
  .footer { padding: 3.5rem 1.4rem 2.4rem; }
}
