/* =====================================================================
   Fidelio — home styles. Monochrome, campaign-led, reduced.
   Imagery drives each section. Sharp corners, tight type, dark overlays.
   ===================================================================== */

/* --- HERO ---------------------------------------------------------- */
.hero {
    position: relative;
    height: calc(100dvh - var(--pff-header-h));
    min-height: 540px;
    overflow: hidden;
    background: var(--pff-color-fg);
}
.hero__media {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* «Editorial Cut»: desktop hero image gets a single 500ms opacity reveal,
   no Ken Burns. Once-only keyframe; the global kill switch resolves it
   instantly under reduced motion. */
@media (min-width: 801px) {
    .hero__media { animation: fid-hero-in 500ms cubic-bezier(0.2, 0, 0, 1) both; }
    @keyframes fid-hero-in { from { opacity: 0; } }
}
/* Fable 5 §2.3: on narrow viewports the center crop loses the model; anchor
   the focal point on the left half so first paint shows fashion, not façade. */
@media (max-width: 800px) {
    .hero__media { object-position: 22% 50%; }
}
.hero__overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--pff-color-overlay);
}
/* h1 wrapper keeps the logo as the document heading without shifting layout. */
.hero__brand { margin: 0; font-size: 0; line-height: 0; }
.hero__logo { width: clamp(140px, 22vw, 260px); height: auto; filter: drop-shadow(0 1px 12px rgba(0,0,0,.25)); }
.hero__cta {
    position: absolute; left: 50%; bottom: clamp(1.25rem, 4vw, 2.5rem);
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .75rem;
    color: var(--pff-color-inverse);
    font-size: var(--pff-step--1); text-transform: uppercase; letter-spacing: var(--pff-tracking-wide);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
    text-decoration: none;
    border-bottom: 0;
    transition: gap var(--pff-dur) var(--pff-ease);
}
.hero__cta:hover,
.hero__cta:focus {
    gap: 1.1rem;
    text-decoration: none;
    border-bottom: 0;
}
/* No underline/bottom border on Mehr — any state. Focus uses outline only. */
.hero__cta-text {
    padding-bottom: 0;
    border-bottom: 0;
    text-decoration: none;
}
.hero__cta:hover .hero__cta-text,
.hero__cta:focus .hero__cta-text,
.hero__cta:focus-visible .hero__cta-text {
    border-bottom: 0;
    text-decoration: none;
}
.hero__cta:focus-visible {
    outline: 2px solid var(--pff-color-inverse);
    outline-offset: 4px;
}
.hero__cta-mark { font-size: var(--pff-step-0); line-height: 1; }
/* «Editorial Cut»: the MEHR cue nudges 4px down twice, then stops permanently. */
.hero__cta-mark {
    animation: fid-cue-nudge 400ms cubic-bezier(0.2, 0, 0, 1) 2;
}
@keyframes fid-cue-nudge {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* --- WOMEN / MEN duo ---------------------------------------------- */
.duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.duo__cell {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--pff-color-fg);
}
.duo__media {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--pff-ease);
}
.duo__cell:hover .duo__media,
.duo__cell:focus-visible .duo__media { transform: scale(1.03); }
/* Full-bleed scrim: covers the whole image and darkens both ends so the white
   logo (top) and the caption (bottom) always sit on enough contrast. */
.duo__overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: clamp(1.25rem, 4vw, 2.5rem);
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, .55) 0%,
        rgba(10, 10, 10, .18) 26%,
        rgba(10, 10, 10, .22) 54%,
        rgba(10, 10, 10, .85) 100%
    );
    pointer-events: none;
}
.duo__logo { width: clamp(90px, 10vw, 130px); height: auto; }
.duo__body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: var(--pff-color-inverse);
    display: flex; flex-direction: column; gap: 1rem;
    max-width: 46ch;
}
.duo__label {
    font-size: var(--pff-step-1); font-weight: 600;
    letter-spacing: var(--pff-tracking-wide); text-transform: uppercase;
}
.duo__intro { font-size: var(--pff-step-0); color: rgba(255, 255, 255, .9); max-width: 48ch; }
.duo__cta {
    align-self: flex-start; margin-top: .5rem;
    padding-bottom: .3rem; border-bottom: 1px solid rgba(255, 255, 255, .85);
    font-size: var(--pff-step--1); text-transform: uppercase; letter-spacing: var(--pff-tracking-mid);
    /* «Editorial Cut» links: underline thickness steps 1px → 2px in 100ms;
       the extra pixel is a box-shadow so the layout box never moves. */
    box-shadow: 0 0 0 rgba(255, 255, 255, .85);
    transition: box-shadow 100ms cubic-bezier(0.2, 0, 0, 1);
}
.duo__cta:hover,
.duo__cta:focus-visible { box-shadow: 0 1px 0 rgba(255, 255, 255, .85); }

/* --- BRAND STORIES ------------------------------------------------- */
.stories { padding-block: clamp(3rem, 8vw, 6rem); }
.stories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: var(--pff-grid-max);
    margin-inline: auto;
    padding-inline: var(--pff-gutter);
}
.story { display: flex; flex-direction: column; gap: 1.25rem; }
.story__figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--pff-color-line); }
/* S13: the story figures use the shared pff-reveal primitive as-is (150ms
   opacity + 12px rise, once-only, reduced-motion safe). The earlier clip-path
   column wipe read as a hard cut on slow decodes — replaced, no flashes. */
.story__media { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pff-ease); }
.story:hover .story__media,
.story:focus-visible .story__media { transform: scale(1.03); }
.story__title {
    font-size: var(--pff-step-2); letter-spacing: var(--pff-tracking-mid);
    text-transform: uppercase;
}
.story__text { font-size: var(--pff-step-0); color: var(--pff-color-fg-muted); max-width: 52ch; }

/* --- Responsive ---------------------------------------------------- */
@media (max-width: 800px) {
    .duo { grid-template-columns: minmax(0, 1fr); }
    .duo__cell { aspect-ratio: 4 / 5; }
    .stories__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .duo__cell:hover .duo__media,
    .story:hover .story__media { transform: none; }
}
