/* Hallmark · portadas de C: seis primeros pliegues sobre el mismo sistema Grid con tokens de marca · el titular ya no cruza el campo · fotos de perros en blanco y negro o entintadas en periwinkle · v2.0.0 */

/* shared: a hero is one screen tall but never taller than 880px, so tall windows keep the composition */
.hv { --hero-h: min(100dvh, 880px); }
/* the edge lines content up with the 1440 container even when a half bleeds */
.hv { position: relative; container-type: inline-size; }
.hv * { --edge: max(var(--gutter), calc((100cqi - var(--container)) / 2 + var(--gutter))); }
.hv__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); min-height: 96px; position: relative; }
.hv__logo img { width: 150px; }
.hv__nav { display: flex; gap: var(--space-xl); font-size: var(--text-sm); font-weight: 500; }
.hv__nav a { color: inherit; text-decoration: none; padding-block: var(--space-xs); }
.hv__nav a:hover { text-decoration: underline; }
.hv a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.hv__head { max-width: none; font-size: clamp(3rem, 6vw, 6.25rem); line-height: 0.92; letter-spacing: -0.045em; }
.hv__text .lead { margin-top: var(--space-xl); max-width: 32ch; color: var(--color-ink-2); }

/* picture treatments: bn is plain black and white, on-field multiplies the grey into periwinkle */
.bn[data-slot] > img { mix-blend-mode: normal; filter: grayscale(1) contrast(1.06); }
.bn[data-slot]:has(> img)::before { content: none; }

/* 1 · mitad y foto: paper half with the head, periwinkle half holding a black and white photo */
.hv--mitad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: var(--hero-h); }
.hv__paper { display: flex; flex-direction: column; padding: 0 var(--space-2xl) var(--space-3xl) var(--edge); }
.hv__paper .hv__text { margin-top: auto; padding-top: var(--space-2xl); }
.hv__side { display: flex; flex-direction: column; padding: 0 var(--edge) var(--space-3xl) var(--space-2xl); background: var(--color-field); color: var(--color-field-ink); }
.hv__side .hv__top { justify-content: flex-end; }
.hv__side .hv__frame { margin-top: auto; align-self: center; width: min(100%, 440px); aspect-ratio: 4 / 5; }


.hv__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap-columns); min-height: var(--hero-h); padding-bottom: var(--space-3xl); }
.hv__grid > .hv__top { grid-column: 1 / -1; grid-row: 1; }
.hv__grid > .hv__text { grid-column: 1 / span 6; grid-row: 2; align-self: end; position: relative; }




@media (max-width: 60rem) {
  .hv__top { min-height: 80px; }
  .hv__nav { display: none; }
  .hv--mitad { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hv__paper { padding: 0 var(--gutter) var(--space-2xl); }
  .hv__side { padding: var(--space-xl) var(--gutter); }
  .hv__side .hv__top { display: none; }
  .hv__side .hv__frame { width: 100%; aspect-ratio: 1; }
  .hv__grid { min-height: 0; grid-template-rows: auto; row-gap: var(--space-xl); padding-bottom: var(--space-2xl); }
  .hv__grid > .hv__text { grid-column: 1 / -1; padding-top: var(--space-lg); }
}
