/* =========================================================================
   Alejandra Treviño — Portafolio de fotografía
   Hoja de estilos única. Organizada por secciones.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. CUSTOM PROPERTIES / TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Paleta */
  --bone: #F4F0E8;
  --bone-deep: #EAE4D8;
  --ink: #1E1B16;
  --ink-soft: #56503F;
  --umber: #7A5A3C; /* acento tierra; 5.5:1 sobre --bone y 4.9:1 sobre --bone-deep (AA) */
  --clay: #B08968;
  --line: rgba(30, 27, 22, 0.16);
  --line-on-ink: rgba(244, 240, 232, 0.18);

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Métrica */
  --measure: 34em;
  --header-h: 76px;
  --section-y: clamp(4.5rem, 11vw, 11rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

em { font-style: italic; }

ul { margin: 0; padding: 0; list-style: none; }

/* Utilidad de foco accesible */
:focus-visible {
  outline: 1.5px solid var(--umber);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Skip-link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bone);
  padding: 0.7rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* -------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight { padding-block: clamp(3rem, 7vw, 6.5rem); }

.section--ink {
  background: var(--ink);
  color: var(--bone);
}
.section--ink .eyebrow { color: rgba(244, 240, 232, 0.6); }
.section--deep { background: var(--bone-deep); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .hairline,
.hairline--ink { background: var(--line-on-ink); }

/* -------------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   ------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  display: block;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.display--md { font-size: clamp(2.4rem, 6vw, 5rem); }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  max-width: 30em;
  color: var(--ink-soft);
  font-weight: 400;
}

.body-col { max-width: var(--measure); }

.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--umber);
}

.meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--ink .meta { color: rgba(244, 240, 232, 0.55); }

/* Enlace con subrayado animado fino */
.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.5s var(--ease), color 0.3s ease;
  padding-bottom: 1px;
}
.link-underline:hover,
.link-underline:focus-visible { background-size: 100% 1px; color: var(--umber); }

/* CTA texto + flecha */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.4s var(--ease);
}
.cta .arrow { transition: transform 0.4s var(--ease); }
.cta:hover,
.cta:focus-visible { color: var(--umber); border-color: var(--umber); gap: 1em; }
.cta:hover .arrow,
.cta:focus-visible .arrow { transform: translateX(3px); }
.section--ink .cta { color: var(--bone); border-color: var(--line-on-ink); }
.section--ink .cta:hover,
.section--ink .cta:focus-visible { color: var(--clay); border-color: var(--clay); }

/* -------------------------------------------------------------------------
   5. GRAIN OVERLAY
   ------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------
   6. HEADER / NAV
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* estado scroll */
.site-header.is-stuck {
  background: var(--bone);
  border-bottom-color: var(--line);
}
/* sobre hero oscuro: texto claro */
.site-header.on-dark:not(.is-stuck) { color: var(--bone); }
.site-header.on-dark:not(.is-stuck) .burger span { background: var(--bone); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: inherit;
}
.logo__mark {
  height: 1.55rem;
  aspect-ratio: 1400 / 1098;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("../assets/logo-at.svg") center / contain no-repeat;
  mask: url("../assets/logo-at.svg") center / contain no-repeat;
  transition: opacity 0.3s ease;
}
.logo:hover .logo__mark { opacity: 0.72; }
.logo__word {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .logo__word {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }
}

.nav-primary ul {
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.nav-primary a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 2px;
}
.nav-primary a.is-current { color: var(--umber); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  width: 26px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

/* Overlay móvil */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  visibility: hidden;
}
.nav-overlay.is-open { transform: translateY(0); visibility: visible; }
.nav-overlay ul { display: flex; flex-direction: column; gap: 0.4rem; }
.nav-overlay a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.nav-overlay a:hover,
.nav-overlay a:focus-visible { color: var(--clay); font-style: italic; }
.nav-overlay .overlay-foot {
  margin-top: 3rem;
  color: rgba(244, 240, 232, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-close {
  position: absolute;
  top: calc((var(--header-h) - 34px) / 2);
  right: var(--gutter);
  width: 34px; height: 34px;
  background: none; border: 0; cursor: pointer;
  color: var(--bone);
}
.nav-close::before,
.nav-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 4px; right: 4px;
  height: 1px;
  background: var(--bone);
}
.nav-close::before { transform: rotate(45deg); }
.nav-close::after { transform: rotate(-45deg); }

body.nav-locked { overflow: hidden; }

/* -------------------------------------------------------------------------
   7. PLACEHOLDERS (.ph)
   ------------------------------------------------------------------------- */
figure { margin: 0; }

.ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #CFC5B4, #B9AB94);
}
.ph[data-ratio="3/2"]  { aspect-ratio: 3 / 2; }
.ph[data-ratio="4/5"]  { aspect-ratio: 4 / 5; }
.ph[data-ratio="1/1"]  { aspect-ratio: 1 / 1; }
.ph[data-ratio="16/9"] { aspect-ratio: 16 / 9; }
.ph[data-ratio="21/9"] { aspect-ratio: 21 / 9; }

.ph--a { background: linear-gradient(140deg, #CFC5B4, #B9AB94); }
.ph--b { background: linear-gradient(140deg, #B9AB94, #8F8471); }
.ph--c { background: linear-gradient(140deg, #8F8471, #6B6353); }
.ph--d { background: linear-gradient(140deg, #6B6353, #8F8471 60%, #B9AB94); }

.ph__label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(30, 27, 22, 0.32);
  text-align: center;
  padding: 1rem;
  max-width: 90%;
}
.ph--c .ph__label,
.ph--d .ph__label { color: rgba(244, 240, 232, 0.4); }

/* imagen real inyectada por JS */
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder tipo hero con overlay para texto encima */
.ph--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,0.25), rgba(20,18,14,0.55));
  z-index: 1;
}

/* efecto hover en tarjetas de colección */
.coll-card .ph > img,
.coll-card .ph { transition: transform 1.2s var(--ease); }
.coll-card:hover .ph > img { transform: scale(1.03); }

figcaption {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

/* -------------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg .ph {
  width: 100%; height: 100%;
  aspect-ratio: auto;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 7rem);
  padding-top: calc(var(--header-h) + 2rem);
}
.hero .eyebrow { color: rgba(244, 240, 232, 0.75); }
.hero__title { color: var(--bone); max-width: 15ch; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.8);
}
.scroll-cue .rule {
  width: 46px; height: 1px; background: rgba(244,240,232,0.6);
  position: relative; overflow: hidden;
}
.scroll-cue .rule::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bone);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  60%,100% { transform: translateX(100%); }
}

/* Cabecera de página interior */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 7rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* -------------------------------------------------------------------------
   9. INDEX — secciones específicas
   ------------------------------------------------------------------------- */
.intro-statement { grid-column: 3 / 11; }
.intro-statement .eyebrow { margin-bottom: 2rem; }
.intro-statement .display--md { margin-bottom: 2rem; }

/* Colecciones destacadas — grid asimétrico */
.feat-list { display: block; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.feat-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.feat-item:first-child { border-top: 0; }
.feat-item__media { grid-column: span 6; }
.feat-item:nth-child(even) .feat-item__media { grid-column: 7 / 13; order: 2; }
.feat-item__body { grid-column: span 5; align-self: center; }
.feat-item:nth-child(even) .feat-item__body { grid-column: 1 / 6; }
.feat-item:nth-child(3) .feat-item__media { margin-top: 2.5rem; }
.feat-item__num { font-size: 1rem; display: block; margin-bottom: 1.2rem; }
.feat-item h3 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin-bottom: 0.6rem; }
.feat-item__meta { margin-bottom: 1.4rem; }

/* Banda editorial con cita */
.quote-band {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: var(--bone);
  overflow: hidden;
}
.quote-band__bg { position: absolute; inset: 0; z-index: 0; }
.quote-band__bg .ph { width: 100%; height: 100%; aspect-ratio: auto; }
.quote-band__inner { position: relative; z-index: 2; }
.quote-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.2;
  max-width: 18ch;
  color: var(--bone);
}
.quote-band cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.7);
}

/* Contacto CTA grande */
.contact-cta { grid-column: 2 / 12; }
.mail-lg {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-top: 1.5rem;
}

/* Meta lateral pequeño */
.side-meta { grid-column: 1 / 2; }
.side-meta .meta { writing-mode: vertical-rl; transform: rotate(180deg); }

/* -------------------------------------------------------------------------
   10. COLECCIONES (listado)
   ------------------------------------------------------------------------- */
.coll-group { margin-top: clamp(2rem, 5vw, 3.5rem); }
.coll-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.coll-group__head .eyebrow { margin: 0; }

.coll-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
}
.coll-card { grid-column: span 6; display: block; }
/* desalineación deliberada */
.coll-card:nth-child(odd)  { grid-column: 1 / 7; }
.coll-card:nth-child(even) { grid-column: 7 / 13; margin-top: clamp(0rem, 6vw, 4rem); }

.coll-card__media { position: relative; overflow: hidden; }
.coll-card__hover {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  z-index: 2;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.coll-card__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(20,18,14,0.45));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.coll-card:hover .coll-card__hover { opacity: 1; transform: translateY(0); }
.coll-card:hover .coll-card__media::after { opacity: 1; }

.coll-card__body {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.1rem;
}
.coll-card__num { font-size: 0.95rem; }
.coll-card h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 0.3rem; }
.coll-card__desc { color: var(--ink-soft); max-width: 30em; margin-top: 0.5rem; }
.coll-card__meta { margin-top: 0.7rem; }

/* -------------------------------------------------------------------------
   11. DETALLE DE COLECCIÓN
   ------------------------------------------------------------------------- */
.coll-detail-body { grid-column: 3 / 9; }
.coll-detail-meta { grid-column: 10 / 13; }
.coll-detail-meta dl { margin: 0; }
.coll-detail-meta dt {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.coll-detail-meta dt:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.coll-detail-meta dd {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* Galería editorial */
.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.g-a { grid-column: 1 / 7; }
.g-b { grid-column: 8 / 13; margin-top: clamp(2rem, 8vw, 6rem); }
.g-c { grid-column: 3 / 11; }          /* ancho centrado */
.g-d { grid-column: 1 / 6; }
.g-e { grid-column: 7 / 12; margin-top: clamp(1rem, 5vw, 4rem); }
.g-f { grid-column: 1 / 13; }          /* full */
.g-g { grid-column: 2 / 8; }
.g-h { grid-column: 9 / 13; margin-top: clamp(2rem, 7vw, 5rem); }
.g-i { grid-column: 1 / 7; }
.g-j { grid-column: 8 / 13; margin-top: clamp(1rem, 4vw, 3rem); }

/* nav prev/next */
.coll-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.coll-nav a { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   12. SOBRE MÍ
   ------------------------------------------------------------------------- */
.about-portrait { grid-column: 1 / 5; }
.about-body { grid-column: 6 / 12; }
@media (min-width: 900px) {
  .about-portrait { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.about-body .statement p { font-size: 1.15rem; line-height: 1.7; }
.exhibitions { margin-top: 1.5rem; }
.exhibitions li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.exhibitions .year { font-family: var(--serif); font-style: italic; color: var(--umber); }
.exhibitions .venue { color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   13. PRINTS
   ------------------------------------------------------------------------- */
.prints-intro { grid-column: 3 / 10; }
.spec-list { margin-top: clamp(2rem, 5vw, 3.5rem); }
.spec-row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-row dt {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
}
.spec-row dd { margin: 0; color: var(--ink-soft); max-width: 40em; }
.spec-row .sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--umber);
  margin-top: 0.5rem;
}

/* -------------------------------------------------------------------------
   14. CONTACTO
   ------------------------------------------------------------------------- */
.contact-grid { align-items: start; }
.contact-main { grid-column: 2 / 9; }
.contact-aside { grid-column: 10 / 13; }
.contact-aside .block { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.contact-aside .block:first-of-type { border-top: 0; }
.contact-aside h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.form { margin-top: clamp(2rem, 5vw, 3rem); max-width: 40em; }
.field { position: relative; margin-bottom: 2rem; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field select { appearance: none; cursor: pointer; }

.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.4s var(--ease);
}
.form__submit:hover { color: var(--umber); border-color: var(--umber); gap: 1em; }

/* -------------------------------------------------------------------------
   15. FOOTER / COLOFÓN
   ------------------------------------------------------------------------- */
.colophon {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.colophon a { color: var(--bone); }
.colophon__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.colophon__brand { grid-column: 1 / 6; }
.colophon__mark {
  display: block;
  height: 2.4rem;
  aspect-ratio: 1400 / 1098;
  margin-bottom: 1.4rem;
  background-color: var(--bone);
  opacity: 0.9;
  -webkit-mask: url("../assets/logo-at.svg") left center / contain no-repeat;
  mask: url("../assets/logo-at.svg") left center / contain no-repeat;
}
.colophon__brand .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.colophon__nav { grid-column: 7 / 10; }
.colophon__meta { grid-column: 10 / 13; }
.colophon__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.colophon__nav a,
.colophon__meta { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(244,240,232,0.75); }
.colophon__nav a:hover { color: var(--clay); }
.colophon__bottom {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(244,240,232,0.55);
}

/* -------------------------------------------------------------------------
   16. REVEAL ON SCROLL
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .burger { display: flex; }

  .intro-statement,
  .contact-cta,
  .contact-main,
  .contact-aside,
  .prints-intro,
  .coll-detail-body,
  .coll-detail-meta,
  .about-portrait,
  .about-body { grid-column: 1 / -1; }

  .side-meta { display: none; }

  .feat-item,
  .feat-item:nth-child(even) { display: block; }
  .feat-item__media,
  .feat-item:nth-child(even) .feat-item__media { margin: 0 0 1.5rem; }
  .feat-item__body,
  .feat-item:nth-child(even) .feat-item__body { margin: 0; }

  .coll-card,
  .coll-card:nth-child(odd),
  .coll-card:nth-child(even) { grid-column: 1 / -1; margin-top: 0; }

  .editorial-gallery { display: block; }
  .editorial-gallery figure { margin-bottom: clamp(1.5rem, 6vw, 3rem); }

  .about-portrait { margin-bottom: 2rem; max-width: 22rem; }

  .colophon__brand,
  .colophon__nav,
  .colophon__meta { grid-column: 1 / -1; }
  .colophon__nav { margin-top: 1rem; }

  .spec-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact-aside { margin-top: 3rem; }
}

@media (max-width: 560px) {
  .exhibitions li { grid-template-columns: 4rem 1fr; }
}

/* -------------------------------------------------------------------------
   18. REDUCED MOTION
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-cue .rule::after { animation: none; }
  .coll-card .ph,
  .coll-card .ph > img { transition: none; }
}

/* ===================== Firma / monograma en relieve ===================== */
.firma__inner {
  display: flex;
  justify-content: center;
}
.firma__mark {
  width: min(340px, 64vw);
  margin: 0;
}
.firma__mark img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 26px 64px -34px rgba(30, 27, 22, 0.5);
}
