.home { --hero-panel-color: rgba(255, 248, 252, .24); --hero-panel-filter: blur(16px); --hero-panel-border: rgba(255, 255, 255, .58); }
.hero.hero-paper {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--rose-50);
  padding: 7rem 0 3rem;
}
.hero-paper picture { display: block; }
.hero-paper .hero-photo {
  width: 100%;
  height: var(--hero-photo-height, clamp(16rem, 79vw, 26rem));
  object-fit: cover;
  object-position: var(--hero-x) var(--hero-y);
}
.paper-layout { position: relative; }
.paper-copy {
  position: relative;
  max-width: 36rem;
  padding: clamp(1.25rem, 3vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--rose-50);
}
.hero-paper picture + .paper-layout { margin-top: -3rem; }
.hero-paper picture + .paper-layout .paper-copy {
  background: var(--hero-panel-color);
  -webkit-backdrop-filter: var(--hero-panel-filter);
  backdrop-filter: var(--hero-panel-filter);
  border: 1px solid var(--hero-panel-border);
}
.hero-topics {
  margin: 0 0 1.6rem;
  color: var(--rose-700);
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-paper .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--rose-700);
  font: 500 .8125rem/1.5 var(--sans);
  letter-spacing: normal;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .paper-copy {
    justify-self: center;
    width: 100%;
    min-width: 0;
  }
  .hero-paper .eyebrow {
    margin-inline: 0;
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
  }
}
.hero-paper .eyebrow::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-paper h1{font-family:var(--serif);font-size:clamp(2.7rem,5vw,5.2rem);line-height:1.09;max-width:13ch;text-wrap:balance}
.hero-paper h1 em{display:inline;color:var(--accent);background:none;overflow:visible;vertical-align:baseline}
.hero-paper h1 em::after{display:none}
.hero-paper .hero-lead{max-width:43ch;margin:1.6rem 0 2rem;color:var(--ink-soft);font-size:clamp(1rem,1.4vw,1.12rem)}
.paper-actions{display:flex;gap:1rem 1.5rem;align-items:center;flex-wrap:wrap}.paper-link{display:inline-flex;gap:.5rem;align-items:center;min-height:48px;font-size:.9rem;color:var(--ink)}
@media (max-width: 899.98px) {
  .hero-paper picture { position: relative; }
  .hero-paper picture + .paper-layout { margin-top: clamp(2rem, 9vw, 4rem); }
  .home {
    --hero-panel-color: rgba(255, 248, 252, .95);
    --hero-panel-border: transparent;
    --hero-panel-filter: none;
  }
  .hero-paper picture::before {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 100%;
    pointer-events: none;
    background: var(--hero-reflection) var(--hero-x) var(--hero-y) / cover no-repeat;
    transform: scaleY(-1);

    -webkit-mask-image: linear-gradient(to top, black 18%, rgba(0,0,0,.78) 48%, transparent 95%);
    mask-image: linear-gradient(to top, black 18%, rgba(0,0,0,.78) 48%, transparent 95%);
  }
  .hero-paper picture::after {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 100%;
    pointer-events: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 2rem, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 2rem, black 75%, transparent);
  }
}
@media (min-width: 900px) {
  .hero.hero-paper { padding: clamp(8rem, 10vw, 11rem) 0 4rem; }
  .hero-paper picture { position: absolute; inset: 0; }
  .hero-paper .hero-photo { height: 100%; }
  .hero-paper picture + .paper-layout { margin-top: 0; }
  .paper-copy { width: min(49%, 36rem); }
  .hero-copy-right .hero-photo { object-position: var(--hero-x) 8%; }
  .hero-copy-right .paper-layout {
    width: calc(100% - 2 * clamp(1rem, 2vw, 3rem));
  }
  .hero-copy-right .paper-copy {
    width: min(46vw, 45rem);
    max-width: 100%;
    margin-inline-start: auto;
    margin-inline-end: clamp(2rem, 3.5vw, 3.5rem);
    padding: clamp(1.25rem, 1.8vw, 2rem) clamp(1.25rem, 2.2vw, 2.25rem);
  }
  .hero-copy-right h1 { max-width: none; }
  .hero-copy-right .hero-lead { max-width: none; margin-block: 1rem 1.25rem; }
  .hero-copy-right .hero-topics { margin-bottom: 1rem; }
  .hero-paper-simple .paper-copy { width: 100%; }
}
@media (max-width: 767px) {
  .hero.hero-paper {
    padding-top: 0;
    --hero-photo-height: clamp(16rem, 79vw, 26rem);
    --hero-photo-extra: min(4rem, 16.8vw);
  }
  .hero-paper .hero-photo {
    height: calc(var(--hero-photo-height) + var(--hero-photo-extra));
    /* Reveal the area above the previous crop while keeping its lower edge. */
    object-position: var(--hero-x) min(0px, calc(var(--hero-y) + var(--hero-photo-extra) * (1 - var(--hero-y-ratio))));
  }
  .hero-paper picture::before, .hero-paper picture::after {
    height: var(--hero-photo-height);
  }
  .hero.hero-paper-simple { padding-top: 5rem; }
}
@media (max-width: 599px) {
  .paper-copy { padding-inline: 1rem; }
  .hero-paper .eyebrow { max-width: 100%; white-space: normal; }
  .paper-actions { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .paper-actions .button { width: 100%; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .paper-copy > * { animation: hero-rise .78s cubic-bezier(.2,.75,.2,1) backwards; }
  .paper-copy h1 { animation-delay: .10s; }
  .paper-copy .hero-lead { animation-delay: .20s; }
  .paper-copy .hero-topics { animation-delay: .28s; }
  .paper-copy .paper-actions { animation-delay: .35s; }
  .paper-copy:focus-within > * { animation: none; }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 899.98px) and (prefers-reduced-motion: no-preference) {
  .paper-copy h1, .paper-copy .hero-lead, .paper-copy .hero-topics {
    animation: hero-text-in .55s ease-out backwards;
  }
  .paper-copy .hero-lead { animation-delay: .08s; }
  .paper-copy .hero-topics { animation-delay: .14s; }
  @keyframes hero-text-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}
