@font-face { font-family: "Epilogue"; src: url("/assets/fonts/Epilogue-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Epilogue"; src: url("/assets/fonts/Epilogue-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Epilogue"; src: url("/assets/fonts/Epilogue-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Epilogue"; src: url("/assets/fonts/Epilogue-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #122649; --night: #070d1c; --blue: #0087ff; --blue-ink: #006fd6; --sky: #9cd9f7;
  --wall: #f4f3ef; --wall-2: #e9e7e1; --ink: #14181f; --ink-soft: #5b6270; --line: #d9d6cf;
  --on-dark: #eef2f8; --on-dark-soft: #9aa7bd;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Epilogue", system-ui, sans-serif; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* ================= Pizarrón ================= */
.board-page { background: var(--night); color: var(--on-dark); overflow: hidden; height: 100svh; }
.board {
  position: fixed; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none;
  background: radial-gradient(ellipse at 50% 45%, #10224a 0%, var(--night) 70%);
}
.board.is-dragging { cursor: grabbing; }
.board::after { /* viñeta: el pizarrón se curva hacia los bordes */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 45%, rgb(4 8 18 / 0.85) 100%);
}
.tile {
  position: absolute; left: 0; top: 0; will-change: transform; contain: layout paint;
  display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 14px;
  border: 1px solid rgb(154 167 189 / 0.16); background: rgb(14 24 48 / 0.55); text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), opacity 0.5s var(--ease);
}
.tile:hover { border-color: rgb(156 217 247 / 0.6); background: rgb(18 38 73 / 0.75); }
.tile.is-dim { opacity: 0.12; pointer-events: none; }
.tile-top, .tile-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.tile-top b { color: var(--on-dark); font-weight: 500; }
.tile-media { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.tile-media img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.8); transition: transform 0.8s var(--ease); pointer-events: none; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-foot span:first-child { color: var(--on-dark); text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile--artist { background: var(--wall); color: var(--ink); border-color: transparent; }
.tile--artist:hover { background: #fff; border-color: transparent; }
.tile--artist .tile-top { color: var(--ink-soft); }
.tile--artist .tile-top b { color: var(--blue-ink); }
.tile--artist .tile-media img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; filter: grayscale(0.15); }
.tile--artist .tile-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.tile--artist .tile-sub { font-size: 0.78rem; color: var(--ink-soft); }
.tile--artist .tile-foot { flex-direction: column; text-transform: none; letter-spacing: 0; }

.chrome { position: fixed; z-index: 10; }
.brand { top: 18px; left: var(--gutter); }
.brand img { height: 38px; width: auto; } /* mismo tamaño de símbolo que el logo de Real Estate (150 px de ancho) */
.filter-btn { top: 18px; left: 50%; translate: -50% 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgb(238 242 248 / 0.28); background: rgb(7 13 28 / 0.55); backdrop-filter: blur(8px);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-decoration: none;
}
.pill:hover, .pill[aria-expanded="true"] { border-color: var(--sky); }
.pill--solid { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.contact-btn { top: 18px; right: var(--gutter); }
.view-toggle { left: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: 6px; }
.view-toggle button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgb(238 242 248 / 0.2); background: rgb(7 13 28 / 0.55); }
.view-toggle button[aria-pressed="true"] { background: var(--on-dark); color: var(--navy); }
.bottom-nav { bottom: 22px; left: 50%; translate: -50% 0; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(7 13 28 / 0.7); border: 1px solid rgb(238 242 248 / 0.18); backdrop-filter: blur(10px); }
.bottom-nav a, .bottom-nav button { padding: 10px 18px; border-radius: 999px; border: 0; background: none; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.bottom-nav [aria-current="page"] { background: var(--on-dark); color: var(--navy); }
.hint { bottom: 86px; left: 50%; translate: -50% 0; font-size: 0.78rem; color: var(--on-dark-soft); letter-spacing: 0.06em; transition: opacity 0.8s; pointer-events: none; }
.hint.is-off { opacity: 0; }

.panel {
  position: fixed; z-index: 20; top: 70px; left: 50%; translate: -50% 0; width: min(560px, calc(100% - 32px));
  padding: 22px; border-radius: 16px; background: rgb(10 18 38 / 0.94); border: 1px solid rgb(238 242 248 / 0.16); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.panel.is-open { opacity: 1; visibility: visible; transform: none; }
.panel h2 { margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 500; }
.panel h2:not(:first-child) { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(238 242 248 / 0.25); background: none; font-size: 0.86rem; }
.chip[aria-pressed="true"] { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.board-page .chip { color: var(--on-dark); }
.board-page .chip[aria-pressed="true"] { color: var(--navy); }

.list-view { position: fixed; inset: 0; z-index: 5; overflow: auto; padding: 110px var(--gutter) 120px; background: var(--night); display: none; }
.list-view.is-on { display: block; }
.list-view ol { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; }
.list-view li a { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgb(154 167 189 / 0.18); text-decoration: none; }
.list-view li a:hover { color: var(--sky); }
.list-view img { width: 72px; height: 72px; object-fit: cover; }
.list-view .lv-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.list-view .lv-meta { font-size: 0.8rem; color: var(--on-dark-soft); }

.about { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
/* el velo va en una capa propia: si el desenfoque estuviera en .about, los fondos fijos se moverían con el texto */
.about::before { content: ""; position: fixed; inset: 0; background: rgb(7 13 28 / 0.86); backdrop-filter: blur(10px); }
.about.is-open { opacity: 1; visibility: visible; }
.about { overflow-y: auto; place-items: start center; }
.about-card { max-width: 660px; margin: auto; padding: clamp(40px, 8vh, 96px) 0; }
.about-card h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.about-card p { color: var(--on-dark-soft); font-size: 1.05rem; margin: 0 0 14px; }
.about-card button { margin-top: 10px; }

/* ================= Página del artista (cubo blanco) ================= */
.artist-page { background: var(--wall); color: var(--ink); }
.a-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: rgb(244 243 239 / 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.a-head .brand-link img { height: 38px; width: auto; }
.a-nav { display: flex; gap: clamp(10px, 2vw, 26px); font-size: 0.9rem; }
.a-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.a-nav a:hover, .a-nav a.is-on { border-color: var(--ink); }
.a-head .back { font-size: 0.85rem; text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.a-head .back:hover { color: var(--ink); }
.sel-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: none; font-size: 0.85rem; font-weight: 500; }
.sel-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--wall); font-size: 0.75rem; }

.a-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding: clamp(36px, 6vw, 84px) var(--gutter) clamp(48px, 7vw, 96px); max-width: 1440px; margin: 0 auto; }
.a-hero figure { margin: 0; }
.a-hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.a-hero figcaption, .credit { margin-top: 8px; font-size: 0.74rem; color: var(--ink-soft); }
.kicker-free { font-size: 0.8rem; color: var(--ink-soft); }
.a-hero h1 { margin: 6px 0 22px; font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: 0.92; letter-spacing: -0.04em; font-weight: 700; }
.a-hero .lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); max-width: 34rem; font-weight: 300; }
.a-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--wall); text-decoration: none; font-weight: 500; }
.btn--ghost { background: none; color: var(--ink); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.a-section { padding: clamp(56px, 8vw, 120px) var(--gutter); max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line); }
.a-section > header { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px); margin-bottom: clamp(32px, 5vw, 64px); }
.a-section h2 { margin: 0; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.a-section header p { margin: 0 0 12px; font-size: 1.08rem; color: #2c313a; max-width: 44rem; }
.a-section header .note { font-size: 0.8rem; color: var(--ink-soft); }
.quote { margin: 26px 0 0; padding-left: 18px; border-left: 2px solid var(--blue); font-size: 1.2rem; font-weight: 300; }
.quote cite { display: block; margin-top: 8px; font-size: 0.8rem; font-style: normal; color: var(--ink-soft); }

.curated { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.curated .work:nth-child(1) { grid-column: 1 / span 8; }
.curated .work:nth-child(2) { grid-column: 9 / span 4; }
.curated .work:nth-child(3) { grid-column: 1 / span 4; }
.curated .work:nth-child(4) { grid-column: 5 / span 8; }
.curated .work:nth-child(5) { grid-column: 1 / span 6; }
.curated .work:nth-child(6) { grid-column: 7 / span 6; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 28px; }
.filters .group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters .label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.artist-page .chip { border-color: var(--line); color: var(--ink); }
.artist-page .chip[aria-pressed="true"] { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.count { margin-left: auto; font-size: 0.85rem; color: var(--ink-soft); }
.catalog { columns: 4 260px; column-gap: clamp(16px, 2vw, 28px); }
.catalog .work { break-inside: avoid; margin-bottom: clamp(26px, 3vw, 40px); }

.work { margin: 0; }
.work-img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--wall-2); cursor: zoom-in; overflow: hidden; }
.work-img img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.work-img:hover img { transform: scale(1.025); }
.work figcaption { display: grid; gap: 2px; margin-top: 12px; font-size: 0.86rem; color: var(--ink-soft); }
.work figcaption .t { font-size: 1rem; color: var(--ink); font-weight: 500; }
.work figcaption .t i { font-style: normal; color: var(--ink-soft); font-weight: 400; }
.work .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.link-btn { padding: 6px 0; border: 0; background: none; font-size: 0.86rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; }
.save { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; }
.save[aria-pressed="true"] { background: var(--ink); color: var(--wall); border-color: var(--ink); }

.cv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.cv h3 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.cv ul { list-style: none; margin: 0; padding: 0; }
.cv li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.cv li span { color: var(--ink-soft); margin-right: 8px; font-variant-numeric: tabular-nums; }
.studio { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 5vw, 64px); }
.studio img { width: 100%; height: 100%; object-fit: cover; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--ink-soft); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form .chosen { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.form .chosen:empty::before { content: "Todavía no elegiste obras. Podés sumarlas desde el catálogo con ♡ o escribir abajo cuál te interesa."; font-size: 0.86rem; color: var(--ink-soft); }
.form .consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.form .consent input { margin-top: 3px; }
.form .msg { grid-column: 1 / -1; font-size: 0.86rem; min-height: 1.4em; }
.a-foot { padding: 40px var(--gutter); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--ink-soft); }

/* Visor de obra */
.viewer { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: var(--wall); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer-stage { position: relative; display: grid; place-items: center; padding: clamp(20px, 4vw, 60px); overflow: hidden; background: var(--wall-2); }
.viewer-stage img { max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.5); }
.viewer-info { padding: 28px; overflow: auto; border-left: 1px solid var(--line); }
.viewer-info h3 { margin: 22px 0 4px; font-size: 1.8rem; line-height: 1.05; letter-spacing: -0.02em; }
.viewer-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 22px 0; font-size: 0.92rem; }
.viewer-info dt { color: var(--ink-soft); }
.viewer-info dd { margin: 0; }
.viewer-info .actions { display: grid; gap: 10px; margin-top: 18px; }
.viewer-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--wall); }
.viewer-nav { position: absolute; top: 50%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgb(244 243 239 / 0.9); translate: 0 -50%; }
.viewer-nav.prev { left: 14px; } .viewer-nav.next { right: 14px; }
/* A escala: la obra junto a una persona de 1,70 m */
.scale { position: absolute; inset: 0; display: none; overflow: hidden; background: #e9e3da; }
.viewer.is-scale .scale { display: block; }
.scale .pared { position: absolute; max-width: none; max-height: none; box-shadow: none; }
.scale .obra-escala { position: absolute; max-width: none; max-height: none; object-fit: cover; box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.45); }
.scale .cota { position: absolute; font-size: 0.68rem; letter-spacing: 0.04em; color: #8b867d; white-space: nowrap; line-height: 1; margin-top: -0.35em; }
.viewer.is-scale .viewer-stage > img { visibility: hidden; }
.scale img { box-shadow: 0 16px 30px -18px rgb(0 0 0 / 0.5); }

@media (max-width: 900px) {
  .a-hero, .a-section > header, .contact-grid { grid-template-columns: 1fr; }
  .a-nav { display: none; }
  .curated { grid-template-columns: 1fr 1fr; }
  .curated .work:nth-child(n) { grid-column: auto; }
  .curated .work:nth-child(1) { grid-column: 1 / -1; }
  .cv { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .viewer { grid-template-columns: 1fr; grid-template-rows: 55svh auto; overflow: auto; }
  .viewer-info { border-left: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .view-toggle { top: auto; bottom: 22px; translate: none; }
  .filter-btn { top: 70px; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.01ms !important; } }
.tile--artist .tile-foot span:first-child { color: var(--ink); font-size: 1.5rem; font-weight: 700; white-space: normal; }
.a-hero { align-items: center; padding-top: clamp(24px, 4vw, 56px); }
.a-hero figure img { aspect-ratio: auto; height: min(76svh, 760px); object-position: 50% 30%; }
@media (max-width: 900px) { .a-hero figure img { height: 58svh; } }
@media (max-width: 640px) {
  .view-toggle { top: 72px; bottom: auto; left: var(--gutter); translate: none; grid-auto-flow: column; }
  .filter-btn { top: 72px; left: auto; right: var(--gutter); translate: none; }
  .hint { bottom: 92px; width: calc(100% - 48px); text-align: center; }
  .bottom-nav a, .bottom-nav button { padding: 10px 14px; font-size: 0.85rem; white-space: nowrap; }
}

/* ---- Curaduría ampliada ---- */
.cur-text p { font-size: 1.12rem; line-height: 1.65; }
.cur-text p:first-child::first-letter { float: left; font-size: 3.4em; line-height: 0.85; font-weight: 700; margin: 0.06em 0.1em 0 0; color: var(--navy); }
.claves { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.claves li { padding-top: 18px; border-top: 2px solid var(--ink); }
.clave-n { display: block; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.claves p { margin: 0; color: #3a404b; }
.cita { margin: clamp(48px, 7vw, 96px) calc(-1 * var(--gutter)) 0; padding: clamp(48px, 8vw, 120px) var(--gutter); background: var(--navy); color: var(--on-dark); text-align: center; }
.cita-contexto { max-width: 40rem; margin: 0 auto 18px; color: var(--sky); font-size: 1rem; }
.cita blockquote { margin: 0; }
.cita blockquote p { margin: 0 auto; max-width: 18ch; font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.cita figcaption { max-width: 38rem; margin: 26px auto 0; font-size: 0.92rem; color: var(--on-dark-soft); }
.cita figcaption span { display: block; margin-top: 6px; font-size: 0.8rem; }
.cur-fuente { margin-top: 16px; font-size: 0.68rem; line-height: 1.5; color: var(--ink-soft); opacity: 0.8; }
@media (max-width: 900px) { .claves { grid-template-columns: 1fr; } }

/* Curaduría: el texto corre también debajo del título */
#curaduria > header { display: block; }
#curaduria > header::after { content: ""; display: table; clear: both; }
#curaduria h2 { float: left; width: min(34%, 26rem); margin: 0 clamp(24px, 4vw, 64px) 16px 0; }
#curaduria .cur-text p { max-width: none; }
@media (max-width: 900px) { #curaduria h2 { float: none; width: auto; margin: 0 0 20px; } }

.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--ghost:disabled:hover { background: none; border-color: var(--ink); color: var(--ink); }

/* Carta de «La galería» */
.about-kicker { font-size: 0.78rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky) !important; margin-bottom: 18px !important; }
.about-card .about-lead { font-size: 1.22rem; line-height: 1.55; color: var(--on-dark); }
.about-card p { line-height: 1.65; }
.about-firma { margin-top: 30px !important; padding-top: 20px; border-top: 1px solid rgb(185 201 226 / 0.28); display: grid; gap: 4px; text-align: left !important; }
.about-firma b { color: var(--on-dark); font-weight: 500; font-size: 1.05rem; }
.about-firma span { font-size: 0.86rem; }
.viewer-info dd, .facts dd { text-align: left; }

/* Fondo de la carta: retrato a la izquierda, contorno del Chaco (IGN) a la derecha; se desplazan con el scroll (pizarron.js) */
.about-fondo { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.about-card { position: relative; }
.about-chaco { position: absolute; right: -2vw; top: 50%; translate: 0 -50%; transform: translateY(var(--py-chaco, 0px)); width: min(40vw, 620px, 95vh); height: auto; max-height: 84vh; will-change: transform; overflow: visible; }
.about-retrato { position: absolute; left: 0; top: 10vh; height: 80vh; width: clamp(240px, calc(50vw - 360px), 420px); object-fit: cover; object-position: 50% 8%;
  transform: translateY(var(--py-retrato, 0px)); will-change: transform;
  filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: 0.32;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 65%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 65%, transparent 100%); mask-composite: intersect; }
@media (max-width: 1100px) { .about-retrato { opacity: 0.22; } }
@media (max-width: 760px) {
  .about-chaco { right: auto; left: 50%; top: auto; bottom: -6vh; translate: -50% 0; width: 120vw; opacity: 0.6; }
  .about-retrato { left: 0; width: 100%; height: 56%; top: 0; opacity: 0.16; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
}
@media (max-width: 760px) { .about-card .about-lead { font-size: 1.04rem; } .about-card p { font-size: 0.98rem; } .about { padding: 20px; } }

.about-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.about-acciones .pill { margin-top: 0; }

/* Mapa de autor del Chaco: base tenue; cada zona se ilumina cuando la lectura llega a su párrafo */
.about-chaco .m-tierra { fill: rgb(0 135 255 / 0.04); stroke: rgb(156 217 247 / 0.2); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.about-chaco .m-seco { fill: none; stroke: rgb(156 217 247 / 0.32); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.about-chaco .m-rio { fill: none; stroke: var(--sky); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.about-chaco .m-rio-t { font-size: 19px; font-style: italic; letter-spacing: 0.05em; fill: var(--sky); }
.about-chaco .m-loc circle { fill: var(--sky); }
.about-chaco .m-loc text { font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; fill: #dbe7f5; }
.about-chaco .m-cap circle { fill: #fff; stroke: var(--sky); stroke-width: 6; stroke-opacity: 0.35; }
.about-chaco [data-paso] { opacity: 0.12; transition: opacity 1s var(--ease); }
.about-chaco .m-rio.is-on { opacity: 0.5; }
.about-chaco .m-rio-t.is-on { opacity: 0.42; }
.about-chaco .m-loc.is-on { opacity: 0.55; }
.about-chaco .m-vin.is-on { opacity: 0.55; }

.f-count { margin: 14px 0 0; font-size: 0.8rem; color: var(--on-dark-soft); text-align: left; }
