/* Ana Casalegno — sistema visual
   Concepto: revista de autora. Fondo marfil, fotografía protagonista,
   rejilla asimétrica y una sola firma gráfica: teselas de mosaico tras el retrato
   cruzadas por una línea fina rosa. */
:root {
  /* Color (tono claro único, elegido a propósito) */
  --ivory: #FFFEE8;      /* fondo principal */
  --ivory-deep: #F4F0F9; /* superficies alternas */
  --sand: #C9A24B;       /* líneas y teselas */
  --sand-soft: #ECE4F7;  /* superficies beige */
  --blush: #E4D7F6;      /* rosa pálido */
  --rose: #C9A24B;       /* rosa empolvado: detalles */
  --rose-ink: #6430B8;   /* rosa legible para textos pequeños */
  --ink: #111116;        /* negro suave */
  --ink-2: #403B4A;      /* texto secundario */
  --line: rgba(17, 17, 22, .14);
  --sage: #ECE4F7;       /* identidad Mosaico */
  --olive: #6430B8;      /* identidad Mosaico (texto) */

  /* Tipografía */
  --f-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-body: "Libre Baskerville", "Baskerville", Georgia, serif;
  --f-deco: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --f-script: "Great Vibes", "Snell Roundhand", cursive;

  --t-hero: clamp(2.125rem, 1.2rem + 3.6vw, 3.875rem);
  --t-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --t-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --t-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --t-small: .875rem;
  --t-label: .75rem;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --section: clamp(72px, 9vw, 136px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 68ch; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: .01em; }
.display { font-size: var(--t-hero); line-height: 1.12; }
h2, .h2 { font-size: var(--t-h2); line-height: 1.18; }
h3, .h3 { font-size: var(--t-h3); line-height: 1.3; }
p { margin: 0; max-width: 66ch; text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.75; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-small); line-height: 1.65; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--rose-ink); font-size: 1.55em; line-height: 1; letter-spacing: 0; text-transform: none; }

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .26em; text-transform: uppercase;
  color: var(--rose-ink); font-weight: 500;
}
.label::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.label--plain::before { display: none; }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.dropcap::first-letter {
  font-family: var(--f-deco); float: left; font-size: 4.1em; line-height: .82;
  padding: .06em .12em 0 0; color: var(--rose-ink);
}

blockquote.quote {
  margin: 0; padding-block: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0; font-family: var(--f-body); font-style: italic;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.5; color: var(--ink); max-width: 30ch;
}
blockquote.quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px; border: 1px solid var(--ink);
  font-family: var(--f-display); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #3B3633; border-color: #3B3633; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--blush); border-color: var(--blush); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(247,243,238,.6); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn.is-pending, .btn[aria-disabled="true"] {
  background: transparent; color: var(--ink-2); border-style: dashed; border-color: var(--sand); cursor: not-allowed;
}
.on-dark .btn.is-pending { color: rgba(247,243,238,.75); border-color: rgba(247,243,238,.4); }
.soon { font-family: var(--f-body); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .8125rem; opacity: .85; }

.link {
  font-style: italic; text-decoration: none; display: inline-flex; gap: 10px; align-items: baseline;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .3s ease, color .2s ease;
}
.link::after { content: "→"; font-style: normal; transition: transform .3s ease; }
.link:hover { color: var(--rose-ink); }
.link:hover::after { transform: translateX(4px); }
.link.is-pending { color: var(--ink-2); cursor: not-allowed; background-image: none; border-bottom: 1px dashed var(--sand); }
.link.is-pending::after { content: ""; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 243, 238, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-size: 1.125rem; letter-spacing: .22em; font-weight: 500; }
.brand__tag { font-family: var(--f-body); font-style: italic; font-size: .75rem; color: var(--ink-2); letter-spacing: .02em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav__list { list-style: none; display: flex; gap: clamp(14px, 1.8vw, 28px); margin: 0; padding: 0; }
.nav__list a {
  font-family: var(--f-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; padding-block: 6px; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 1px no-repeat;
  transition: background-size .3s ease;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { background-size: 100% 1px; }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: .74rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); color: var(--ink);
    font-family: var(--f-display); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; padding: 10px 14px; cursor: pointer;
  }
  .nav-toggle span { width: 16px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px;
  }
  .nav[data-open="false"] { display: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .85rem; background: none; }
  .nav .btn { margin-top: 22px; min-height: 50px; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.bg-deep { background: var(--ivory-deep); }
.bg-sand { background: var(--sand-soft); }
.bg-blush { background: var(--blush); }
.bg-sage { background: var(--sage); }
.on-dark { background: var(--ink); color: var(--ivory); }
.on-dark .label { color: var(--rose); }
.on-dark .muted, .on-dark .lead { color: rgba(247, 243, 238, .78); }
.on-dark .link:hover { color: var(--blush); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head > * { min-width: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-4 { grid-column: span 4; } .span-8 { grid-column: span 8; }
.start-7 { grid-column: 7 / span 6; } .start-8 { grid-column: 8 / span 5; }
@media (max-width: 860px) {
  .split > [class*="span-"], .split > [class*="start-"] { grid-column: 1 / -1; }
  .split .order-first-m { order: -1; }
}

/* ---------- Fotografía ---------- */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; max-width: 100%; }
.ratio-34 { aspect-ratio: 3 / 4; max-width: 100%; }
.ratio-11 { aspect-ratio: 1 / 1; max-width: 100%; }
.ratio-169 { aspect-ratio: 16 / 10; max-width: 100%; }
.photo.ratio-45, .photo.ratio-34, .photo.ratio-11, .photo.ratio-169 { overflow: hidden; }
.photo figcaption { font-size: var(--t-small); color: var(--ink-2); font-style: italic; margin-top: 10px; }
.pos-top img { object-position: 50% 18%; }

/* Firma: teselas de mosaico tras el retrato */
.mosaic-frame { margin: 0; position: relative; isolation: isolate; padding: clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px) 0; }
.mosaic-frame .tile { position: absolute; z-index: -1; }
.mosaic-frame .t1 { right: 0; top: 0; width: 58%; height: 46%; background: var(--blush); clip-path: polygon(6% 0, 100% 0, 100% 92%, 0 100%); }
.mosaic-frame .t2 { right: 0; bottom: 0; width: 38%; height: 50%; background: var(--sand-soft); clip-path: polygon(0 8%, 100% 0, 100% 100%, 10% 100%); }
.mosaic-frame .t3 { left: -6%; bottom: 10%; width: 22%; height: 26%; background: var(--sand); opacity: .55; clip-path: polygon(0 0, 100% 12%, 88% 100%, 4% 90%); }
.mosaic-frame .thread { position: absolute; inset: -4% -3% -2% -8%; z-index: 2; pointer-events: none; width: auto; height: auto; }
.mosaic-frame .thread line { stroke: var(--rose); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 860px) { .mosaic-frame .t3 { left: 0; } .mosaic-frame .thread { inset: -2% 0; } }

/* Marcador de imagen pendiente */
.ph {
  display: grid; place-items: center; text-align: center; gap: 8px; padding: 28px;
  background: repeating-linear-gradient(135deg, var(--ivory-deep) 0 14px, var(--ivory) 14px 28px);
  border: 1px dashed var(--rose); color: var(--ink-2); min-height: 220px;
}
.ph strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ph span { font-style: italic; font-size: var(--t-small); max-width: 34ch; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero .split { align-items: center; }
.hero__name { font-family: var(--f-display); font-size: .85rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; }
.hero__roles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--rose-ink); }
.hero__roles li + li::before { content: "·"; margin-right: 18px; color: var(--rose); }
.hero__for { font-size: var(--t-small); font-style: italic; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; max-width: 46ch; }
.hero-anim > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-anim > *:nth-child(2) { animation-delay: .08s; } .hero-anim > *:nth-child(3) { animation-delay: .16s; }
.hero-anim > *:nth-child(4) { animation-delay: .24s; } .hero-anim > *:nth-child(5) { animation-delay: .32s; } .hero-anim > *:nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Cabecera de página interna */
.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.page-hero .display { max-width: 18ch; }
.breadcrumb { font-size: var(--t-small); color: var(--ink-2); font-style: italic; }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- Índice del ecosistema ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 170px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; gap: 12px 40px; align-items: baseline;
  padding: 30px 8px; text-decoration: none; transition: background-color .3s ease, padding .3s ease;
}
.index a > * { min-width: 0; }
.index a:hover { background: var(--ivory-deep); padding-inline: 20px 12px; }
.index .cat { font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; color: var(--rose-ink); }
.index .name { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.25; }
.index .desc { color: var(--ink-2); }
.index .arrow { justify-self: end; font-size: 1.3rem; transition: transform .3s ease; }
.index a:hover .arrow { transform: translateX(6px); }
@media (max-width: 860px) {
  .index a { grid-template-columns: minmax(0, 1fr) 28px; padding: 24px 0; }
  .index a:hover { padding-inline: 0; }
  .index .cat, .index .name, .index .desc { grid-column: 1; }
  .index .arrow { grid-column: 2; grid-row: 2; }
}

/* ---------- Bloque Mosaico ---------- */
.mosaico-band { background: var(--sage); }
.mosaico-band .label, .mosaico-scope .label { color: var(--olive); }
.mosaico-scope .bg-sage { background: var(--sage); }
.movements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.movements > div { padding: 32px clamp(16px, 2.4vw, 36px) 8px 0; min-width: 0; }
.movements > div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.4vw, 36px); }
.movements .num { font-family: var(--f-deco); font-size: 1.6rem; color: var(--rose-ink); line-height: 1; }
.movements h3 { letter-spacing: .14em; margin: 18px 0 12px; }
@media (max-width: 860px) {
  .movements { grid-template-columns: 1fr; }
  .movements > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Proyectos ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.cases .case:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .cases .case:nth-child(2) { margin-top: 0; } }
.case { display: flex; flex-direction: column; gap: 22px; }
.case a.case__media { text-decoration: none; display: block; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.tag { display: inline-block; font-family: var(--f-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--rose); color: var(--rose-ink); }

.browser { border: 1px solid var(--ink); background: var(--ivory); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ink); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); }
.browser__bar span { margin-left: 10px; font-size: .72rem; font-style: italic; color: var(--ink-2); }
.browser .ph { border: 0; min-height: 0; aspect-ratio: 16 / 10; }

.stages-panel { aspect-ratio: 16 / 10; background: var(--ink); color: var(--ivory); display: grid; align-content: center; gap: 6px; padding: clamp(20px, 4vw, 48px); }
.stages-panel b { font-family: var(--f-display); font-weight: 600; letter-spacing: .2em; font-size: clamp(.9rem, .7rem + 1vw, 1.4rem); }
.stages-panel b:nth-child(even) { color: var(--rose); padding-left: 1.5em; }
.stages-panel small { margin-top: 14px; font-style: italic; color: rgba(247,243,238,.7); font-size: .78rem; }

/* ---------- Listas editoriales ---------- */
.defs { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
.defs > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 10px 48px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.defs > div > * { min-width: 0; }
.defs h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
@media (max-width: 760px) { .defs > div { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 16px; height: 1px; background: var(--rose-ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px 24px 8px 0; border-top: 1px solid var(--ink); min-width: 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, upper-roman); display: block; font-family: var(--f-deco); color: var(--rose-ink); font-size: 1.25rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 10px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; padding-left: 0; } }

.stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.stages li { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 7fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.stages .n { font-family: var(--f-deco); color: var(--rose-ink); font-size: 1.2rem; }
.stages h3 { letter-spacing: .18em; font-weight: 600; font-size: 1.15rem; }
@media (max-width: 700px) { .stages li { grid-template-columns: 48px minmax(0, 1fr); } .stages li p { grid-column: 2; } }

/* Paneles de dos caminos */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.paths > article { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.paths > article + article { border-left: 1px solid var(--ink); }
.paths .photo { margin-bottom: 8px; }
.paths .grow { flex: 1; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .paths > article + article { border-left: 0; border-top: 1px solid var(--ink); } }

/* Logos de marcas del ecosistema */
.logo-plate { background: #FFFFFF; display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); }
.logo-plate img { width: min(100%, 420px); }

/* Podcast */
.podcast .photo img { object-position: 50% 40%; }
.podcast-name { font-family: var(--f-display); font-size: var(--t-h2); line-height: 1.15; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: start; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form .fields { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; }
.form input {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1px solid var(--ink-2);
  padding: 14px 14px; border-radius: 0; width: 100%; min-width: 0;
}
.form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .note { font-size: var(--t-small); font-style: italic; color: var(--ink-2); }
.form .status { font-size: var(--t-small); padding: 12px 14px; background: var(--ivory); border-left: 2px solid var(--rose-ink); }

/* Recursos */
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.resources > div { padding: 28px 28px 28px 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.resources > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .resources { grid-template-columns: 1fr; } .resources > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Crédito discreto */
.credit { font-size: var(--t-small); font-style: italic; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }
.credit a { text-decoration: none; border-bottom: 1px solid var(--rose); }
.credit a:hover { color: var(--rose-ink); }

/* Copiar correo */
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.email-line .addr { font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + 1.2vw, 1.9rem); letter-spacing: .04em; text-decoration: none; user-select: all; word-break: break-all; }
.copy-btn { background: none; border: 1px solid var(--ink-2); padding: 8px 12px; font-family: var(--f-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: inherit; cursor: pointer; }
.on-dark .copy-btn { border-color: rgba(247,243,238,.5); }

/* ---------- Pie ---------- */
.site-footer { background: var(--sand-soft); padding-block: clamp(56px, 7vw, 96px) 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: var(--t-label); letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--rose-ink); text-underline-offset: 4px; }
.footer-grid .pending { color: var(--ink-2); font-style: italic; }
.footer-logo { width: 150px; margin-bottom: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(36,34,32,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Interacción con imágenes */
.case__media img, .paths .photo img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.case__media:hover img, .paths article:hover .photo img { transform: scale(1.025); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
a.is-pending { color: var(--ink-2); cursor: not-allowed; text-decoration: none; }
@media (max-width: 480px) { .brand__tag { display: none; } .brand__name { font-size: 1rem; } }
.ratio-dml { aspect-ratio: 1672 / 941; max-width: 100%; overflow: hidden; background: #0E0E10; }
.browser .ratio-dml { border: 0; }
/* Portada de inicio: retrato más grande */
.hero__media .mosaic-frame { padding: clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px) 0; }
.hero__media .mosaic-frame .photo { aspect-ratio: 1131 / 1391; }
.hero__media .mosaic-frame .photo img { object-position: 50% 30%; }
@media (min-width: 861px) { .hero .split { gap: 32px clamp(32px, 4vw, 56px); } }
@media (max-width: 860px) { .hero__media { margin-inline: calc(-1 * var(--gutter) / 2); } }
.paths .photo.ratio-169 img[src*="ana-lentes"] { object-position: 50% 30%; }
/* Frase de marca */
.statement { padding-block: 0 clamp(40px, 5vw, 72px); }
.statement .wrap > p { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 52px); }
.statement__text { max-width: none; font-family: var(--f-display); font-size: clamp(1.45rem, 1rem + 2vw, 2.6rem); line-height: 1.3; text-wrap: balance; }
.statement__text .script { font-size: 1.45em; padding-inline: .08em; }
/* Capturas de móvil */
.phone { margin: 0 auto; max-width: 300px; border: 1px solid var(--ink); border-radius: 28px; padding: 10px; background: var(--ink); }
.phone img { border-radius: 20px; width: 100%; aspect-ratio: 779 / 1685; object-fit: cover; object-position: top; }
/* Episodios */
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.episodes li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 70px 110px; gap: 8px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.episodes time { font-family: var(--f-display); font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-ink); font-variant-numeric: tabular-nums; }
.episodes h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); margin-bottom: 8px; }
.episodes h3 a { text-decoration: none; }
.episodes h3 a:hover { color: var(--rose-ink); }
.ep__dur { font-size: var(--t-small); color: var(--ink-2); font-style: italic; }
.ep__go { justify-self: end; }
@media (max-width: 760px) {
  .episodes li { grid-template-columns: minmax(0, 1fr) auto; }
  .episodes time { grid-column: 1 / -1; }
  .ep__body { grid-column: 1 / -1; }
  .ep__go { justify-self: end; }
}
.latest { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(247,243,238,.25); padding-top: 18px; }
.latest a { font-family: var(--f-display); font-size: 1.15rem; text-decoration: none; color: var(--ivory); }
.latest a:hover { color: var(--blush); }
