/* ═══════════════════════════════════════════════════════════════
   Location Engine — Landing
   Editorial real-estate brochure: navy ink, warm gold, paper.
   Sibling to the PDF report (same palette, same serif rhythm).
═══════════════════════════════════════════════════════════════ */

:root {
    /* — palette — */
    --ink:        #0d1b2a;          /* navy ink, primary surface */
    --ink-soft:   #1b2c40;          /* slightly lifted navy */
    --paper:      #faf8f4;          /* warm cream, secondary surface */
    --paper-deep: #f1ece0;          /* warmer paper for cards */
    --gold:       #c9a84c;          /* warm gold accent */
    --gold-soft:  #d8c07a;          /* gold tint */
    --rule-gold:  rgba(201, 168, 76, 0.30);
    --rule-ink:   rgba(13, 27, 42, 0.12);
    --text:       #1c1c1c;          /* body on paper */
    --text-soft:  #4a4a4a;
    --text-muted: #7a7a7a;
    --text-onink: #e8e2d2;          /* warm off-white on navy */
    --text-onink-mute: #8a98aa;

    /* — typography — */
    --serif: 'Fraunces', 'Iowan Old Style', 'Georgia', 'Times New Roman', serif;
    --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* — geometry — */
    --shell-max: 1240px;
    --shell-pad: clamp(1.25rem, 4vw, 3rem);
    --gutter: clamp(1.5rem, 3vw, 2.5rem);

    /* — motion — */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
    --dur-quick:    220ms;
    --dur-base:     520ms;
    --dur-slow:     900ms;
    --dur-cinematic: 1400ms;
}

/* ─────────────── Reset ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle warm grain — adds paper texture without imagery. */
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(201, 168, 76, 0.06), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(13, 27, 42, 0.04), transparent 60%);
}

img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ─────────────── Shell ─────────────── */
.shell {
    width: 100%;
    max-width: var(--shell-max);
    margin: 0 auto;
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.shell--nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

.wordmark {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    color: var(--paper);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}

.wordmark__mark { color: inherit; }
.wordmark__accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
    margin-left: 0.18em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.75rem);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-onink-mute);
    letter-spacing: 0.01em;
}

.primary-nav a { transition: color 200ms var(--ease); }
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--paper); }
.primary-nav a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.nav-cta {
    color: var(--gold) !important;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 999px;
    transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--gold);
    color: var(--ink) !important;
    border-color: var(--gold);
}

@media (max-width: 720px) {
    .primary-nav a:not(.nav-cta) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHIC PRIMITIVES
═══════════════════════════════════════════════════════════════ */

.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.eyebrow__rule {
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.display {
    font-family: var(--serif);
    font-weight: 400;
    font-variation-settings: "opsz" 144;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.022em;
    color: var(--paper);
}

.display em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-variation-settings: "opsz" 144;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: 2px;     /* sharp, not pill — matches editorial feel */
    cursor: pointer;
    transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), box-shadow 250ms var(--ease);
}

.btn__arrow {
    display: inline-block;
    transition: transform 250ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 12px 30px -12px rgba(201, 168, 76, 0.55);
}
.btn--gold:hover {
    background: #d6b556;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 18px 40px -14px rgba(201, 168, 76, 0.7);
}

.btn--ghost {
    background: transparent;
    color: var(--paper);
    border-color: rgba(232, 226, 210, 0.3);
}
.btn--ghost:hover {
    border-color: var(--paper);
    background: rgba(255,255,255,0.04);
}

.btn--ink {
    background: var(--ink);
    color: var(--paper);
}
.btn--ink:hover {
    background: var(--ink-soft);
    transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    background: var(--ink);
    color: var(--text-onink);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 10rem);
    overflow: hidden;
    isolation: isolate;
}

/* Editorial gold rules at top corner */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    opacity: 0.5;
    z-index: 1;
}

.hero::after {
    /* Decorative oversized "01" mark in the background */
    content: "Nº 2026";
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(8rem, 22vw, 18rem);
    line-height: 1;
    color: rgba(232, 226, 210, 0.025);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero__shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

@media (max-width: 960px) {
    .hero__shell { grid-template-columns: 1fr; }
}

.hero__copy > * { opacity: 0; transform: translateY(14px); }
.hero__copy.is-revealed > * {
    opacity: 1; transform: translateY(0);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.hero__copy.is-revealed .eyebrow      { transition-delay:  60ms; }
.hero__copy.is-revealed .display      { transition-delay: 160ms; }
.hero__copy.is-revealed .hero__lede   { transition-delay: 320ms; }
.hero__copy.is-revealed .hero__actions{ transition-delay: 460ms; }
.hero__copy.is-revealed .hero__meta   { transition-delay: 580ms; }

/* Display headline: each line is a clip-path mask wipe */
.display { overflow: hidden; }
.display .line {
    display: block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 720ms var(--ease-emphasized);
    will-change: clip-path;
}
.hero__copy.is-revealed .display .line { clip-path: inset(0 0 0 0); }
.hero__copy.is-revealed .display .line:nth-child(1) { transition-delay: 200ms; }
.hero__copy.is-revealed .display .line:nth-child(2) { transition-delay: 290ms; }
.hero__copy.is-revealed .display .line:nth-child(3) { transition-delay: 380ms; }

/* Gold ink-shimmer sweep on the italic em (runs once) */
.display em {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 35%, #f7e9b8 50%, var(--gold) 65%, var(--gold) 100%);
    background-size: 220% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hero__copy.is-revealed .display em {
    animation: ink-shimmer 1300ms var(--ease) 700ms 1 forwards;
}
@keyframes ink-shimmer {
    from { background-position: 100% 0; }
    to   { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__copy > * { opacity: 1; transform: none; }
    .display .line { clip-path: none; }
    .display em {
        animation: none; background: none;
        -webkit-background-clip: unset; background-clip: unset;
        color: var(--gold);
    }
}

.hero__lede {
    margin-top: 1.75rem;
    max-width: 36rem;
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-onink);
    font-weight: 400;
}

.hero__actions {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.hero__meta {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(232, 226, 210, 0.12);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.hero__meta dt {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.hero__meta dd {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--paper);
    line-height: 1.3;
}

/* Scroll cue */
.hero__scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(232, 226, 210, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    animation: rise 800ms var(--ease) 900ms forwards;
}
.hero__scroll span {
    width: 1px; height: 22px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: drip 2.4s var(--ease) infinite;
    transform-origin: top;
}
@keyframes drip {
    0%   { transform: scaleY(0); }
    50%  { transform: scaleY(1); }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Specimen — CSS-only mock of the report cover ─── */
.hero__specimen {
    position: relative;
    aspect-ratio: 0.74 / 1;       /* A4 portrait */
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    perspective: 1400px;
    opacity: 0;
    transform: translateY(24px);
    animation: rise 1100ms var(--ease) 250ms forwards;
}

.specimen {
    position: absolute;
    inset: 0;
    background: var(--ink-soft);
    border: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow:
        0 30px 70px -20px rgba(0, 0, 0, 0.55),
        0 5px 20px -5px rgba(0, 0, 0, 0.35);
    transform: rotate(2.2deg);
    transition: transform 600ms var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero__specimen:hover .specimen { transform: rotate(0deg) translateY(-4px); }

/* Faux back cover behind */
.specimen--back {
    z-index: -1;
    transform: rotate(-3.5deg) translate(-12px, 14px);
    background: var(--ink);
    box-shadow: 0 18px 50px -22px rgba(0,0,0,0.5);
    border-color: rgba(201, 168, 76, 0.12);
}

.specimen__hero {
    height: 56%;
    background:
        linear-gradient(to bottom, transparent 40%, var(--ink-soft) 100%),
        linear-gradient(135deg, #2a3a55 0%, #1a2740 60%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
}
.specimen__hero::after {
    /* Faint architectural skyline silhouette */
    content: "";
    position: absolute;
    bottom: 24%;
    left: 0; right: 0;
    height: 28%;
    background:
        linear-gradient(to right,
            transparent 4%, rgba(201, 168, 76, 0.18) 4%, rgba(201, 168, 76, 0.18) 5%,
            transparent 5%, transparent 12%, rgba(201, 168, 76, 0.10) 12%, rgba(201, 168, 76, 0.10) 16%,
            transparent 16%, transparent 26%, rgba(201, 168, 76, 0.14) 26%, rgba(201, 168, 76, 0.14) 31%,
            transparent 31%, transparent 44%, rgba(201, 168, 76, 0.20) 44%, rgba(201, 168, 76, 0.20) 47%,
            transparent 47%, transparent 60%, rgba(201, 168, 76, 0.10) 60%, rgba(201, 168, 76, 0.10) 70%,
            transparent 70%, transparent 80%, rgba(201, 168, 76, 0.16) 80%, rgba(201, 168, 76, 0.16) 88%,
            transparent 88%);
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent);
            mask-image: linear-gradient(to top, black 30%, transparent);
    opacity: 0.7;
}

.specimen__body {
    padding: 1.4rem 1.4rem 0;
    color: var(--paper);
    flex: 1;
}

.specimen__label {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.specimen__title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.45rem;
    line-height: 1.18;
    color: var(--paper);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.specimen__rule {
    display: block;
    width: 32px; height: 2px;
    background: var(--gold);
    margin-bottom: 0.85rem;
}

.specimen__date {
    font-size: 0.72rem;
    color: var(--text-onink-mute);
    letter-spacing: 0.06em;
}

.specimen__foot {
    padding: 0.85rem 1.4rem;
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEAD (shared)
═══════════════════════════════════════════════════════════════ */
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rule-ink);
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head--dark { border-bottom-color: var(--rule-gold); }

@media (max-width: 720px) {
    .section-head {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }
}

.section-head__no {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--gold);
    line-height: 1;
    align-self: end;
}

.section-head__title {
    font-family: var(--serif);
    font-weight: 400;
    font-variation-settings: "opsz" 96;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    grid-column: 1 / -1;
}
.section-head--dark .section-head__title { color: var(--paper); }

.section-head__lede {
    grid-column: 1 / -1;
    font-size: 1.025rem;
    line-height: 1.65;
    max-width: 44rem;
    color: var(--text-soft);
    margin-top: 0.5rem;
}
.section-head--dark .section-head__lede { color: var(--text-onink); }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════════ */
.process {
    background: var(--paper);
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
}

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    counter-reset: step;
}

@media (max-width: 880px) {
    .steps { grid-template-columns: 1fr; }
}

.step {
    padding: 2rem clamp(1.25rem, 3vw, 2.25rem) 2.5rem;
    border-left: 1px solid var(--rule-ink);
    position: relative;
    transition: background 250ms var(--ease);
}
.step:first-child { border-left: 1px solid var(--gold); }
.step:hover { background: rgba(201, 168, 76, 0.05); }

@media (max-width: 880px) {
    .step { border-left: none; border-top: 1px solid var(--rule-ink); padding-block: 2rem; }
    .step:first-child { border-left: none; border-top: 1px solid var(--gold); }
}

.step__no {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 1.5rem;
}

.step__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.step__body {
    color: var(--text-soft);
    font-size: 0.975rem;
    line-height: 1.65;
    max-width: 28rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════════ */
.features {
    background: var(--ink);
    color: var(--text-onink);
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
    overflow: hidden;
}
.features::before {
    /* very subtle grid texture for depth */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(232, 226, 210, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 226, 210, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;                      /* hairline divider effect */
    background: rgba(232, 226, 210, 0.10);
    border: 1px solid rgba(232, 226, 210, 0.10);
    position: relative;
}

.feature {
    background: var(--ink);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    grid-column: span 4;
    transition: background 280ms var(--ease), transform 280ms var(--ease);
    position: relative;
}
.feature:hover { background: var(--ink-soft); }

.feature--wide   { grid-column: span 8; }      /* hero feature spans 2/3 */
.feature--accent {
    grid-column: span 4;
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 70%),
        var(--ink);
    border: none;
}

@media (max-width: 960px) {
    .feature, .feature--wide, .feature--accent { grid-column: span 6; }
}
@media (max-width: 600px) {
    .feature, .feature--wide, .feature--accent { grid-column: 1 / -1; }
}

.feature__chapter {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    display: inline-block;
    padding-bottom: 0.55rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--rule-gold);
}

.feature__chapter--bonus {
    color: var(--ink);
    background: var(--gold);
    padding: 0.3rem 0.65rem 0.28rem;
    border-bottom: none;
    border-radius: 1px;
    letter-spacing: 0.18em;
}

.feature__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    line-height: 1.2;
    color: var(--paper);
    margin-bottom: 0.65rem;
    letter-spacing: -0.005em;
}

.feature__body {
    color: var(--text-onink);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 32rem;
    opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════
   SAMPLE
═══════════════════════════════════════════════════════════════ */
.sample {
    background: var(--paper);
    padding: clamp(5rem, 10vw, 8rem) 0;
    overflow: hidden;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.sample-card {
    --card-rotate: 0deg;
    background: var(--paper-deep);
    border: 1px solid var(--rule-ink);
    padding: 1rem 1rem 1.25rem;
    box-shadow:
        0 4px 8px -4px rgba(13, 27, 42, 0.15),
        0 40px 80px -30px rgba(13, 27, 42, 0.35);
    transform: rotate(var(--card-rotate));
    transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
    will-change: transform;
}
.sample-card:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.03);
    box-shadow:
        0 6px 12px -6px rgba(13, 27, 42, 0.2),
        0 60px 100px -30px rgba(13, 27, 42, 0.45);
    z-index: 2;
}

.sample-card--cover     { grid-column: 1 / span 6;  --card-rotate: -1.4deg; }
.sample-card--inside    { grid-column: 7 / span 7;  --card-rotate: 1.6deg;  margin-top: 2rem; }
.sample-card--security  { grid-column: 1 / span 6;  --card-rotate: 1.2deg;  margin-top: 5rem; }
.sample-card--buildings { grid-column: 7 / span 7;  --card-rotate: -1.6deg; margin-top: 7rem; }

.sample-card__zoom {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
.sample-card__zoom::after {
    content: "Vergrößern";
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    padding: 0.4rem 0.75rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-onink);
    background: rgba(13, 27, 42, 0.78);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 250ms var(--ease), transform 250ms var(--ease);
    pointer-events: none;
}
.sample-card:hover .sample-card__zoom::after {
    opacity: 1;
    transform: translateY(0);
}

.sample-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.414;
    object-fit: cover;
    background: var(--paper);
}

@media (max-width: 880px) {
    .sample-card--cover,
    .sample-card--inside,
    .sample-card--security,
    .sample-card--buildings {
        grid-column: 1 / -1;
        --card-rotate: 0deg;
        margin-top: 0;
    }
}

.sample-card figcaption {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-soft);
    text-align: center;
    font-family: var(--serif);
}

.sample-note {
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    max-width: 56rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-family: var(--serif);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-soft);
    border-top: 0.5px solid var(--rule-ink);
    border-bottom: 0.5px solid var(--rule-ink);
}

.sample-note em {
    font-style: italic;
    color: var(--ink);
    white-space: nowrap;
}

.sample-note__pill {
    display: inline-block;
    margin-right: 0.6rem;
    padding: 0.2rem 0.65rem;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-onink);
    background: var(--gold);
    vertical-align: 1px;
}

.sample-cta {
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact {
    background: var(--ink);
    color: var(--text-onink);
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    opacity: 0.4;
}

.contact__shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
@media (max-width: 880px) {
    .contact__shell { grid-template-columns: 1fr; }
}

.contact__intro .section-head__no {
    display: block;
    margin-bottom: 0.5rem;
}

.contact__intro .section-head__title {
    color: var(--paper);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
}

.contact__intro .section-head__lede { color: var(--text-onink); margin-top: 0; }

.contact__direct {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}
.contact__direct dt {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.contact__direct dd {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--paper);
}
.contact__direct a {
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.contact__direct a:hover { color: var(--gold); border-color: var(--gold); }

/* Contact CTA — editorial reply card */
.contact-card {
    background: var(--paper);
    color: var(--text);
    padding: clamp(2.5rem, 4.5vw, 3.5rem);
    border: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    opacity: 0.85;
    z-index: 1;
}

/* Oversized italic Fraunces glyph as typographic ornament */
.contact-card__mark {
    position: absolute;
    bottom: -3.5rem;
    right: -2rem;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(15rem, 26vw, 24rem);
    line-height: 1;
    color: var(--gold);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transform: rotate(-4deg);
}

.contact-card__lede {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.1vw, 1.75rem);
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.contact-card__lede em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.contact-card__cta {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--paper);
    padding: 2.5rem 0;
    border-top: 1px solid var(--rule-ink);
}
.shell--footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1.5rem 2.5rem;
    align-items: center;
}
@media (max-width: 720px) {
    .shell--footer {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1rem;
    }
}

.footer__brand .wordmark {
    color: var(--ink);
    font-size: 1.15rem;
}
.footer__brand .wordmark__mark { color: var(--ink); }

.footer__tag {
    margin-top: 0.35rem;
    font-size: 0.825rem;
    color: var(--text-muted);
    font-family: var(--serif);
    font-style: italic;
}

.footer__nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}
.footer__nav a {
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer__nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.footer__copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (Datenschutz, Impressum)
═══════════════════════════════════════════════════════════════ */
.legal {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
    background: var(--paper);
}

.legal__shell {
    max-width: 760px;
}

.legal .section-head {
    grid-template-columns: 1fr;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: 2rem;
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    transition: color 200ms var(--ease);
}
.legal__back:hover { color: var(--gold); }
.legal__back .arrow { transition: transform 200ms var(--ease); }
.legal__back:hover .arrow { transform: translateX(-4px); }

.legal__body {
    font-family: var(--sans);
    font-size: 0.975rem;
    line-height: 1.75;
    color: var(--text);
}

.legal__body h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    color: var(--ink);
    margin-top: 2.75rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.legal__body h2:first-child { margin-top: 0; }

.legal__body h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal__body p,
.legal__body ul,
.legal__body ol { margin-bottom: 1rem; color: var(--text-soft); }

.legal__body ul,
.legal__body ol { padding-left: 1.25rem; }

.legal__body li { margin-bottom: 0.35rem; }

.legal__body a {
    color: var(--ink);
    border-bottom: 1px solid var(--gold);
    transition: color 200ms var(--ease), background 200ms var(--ease);
}
.legal__body a:hover { background: rgba(201, 168, 76, 0.15); }

.legal__body strong { color: var(--ink); font-weight: 600; }

.legal__address {
    font-family: var(--serif);
    font-style: normal;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--gold);
    background: var(--paper-deep);
    margin-bottom: 1.5rem;
}

.legal__meta {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule-ink);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOTION ELEMENTS
═══════════════════════════════════════════════════════════════ */

/* Scroll progress sliver under the sticky nav */
.scroll-progress {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 49;
    pointer-events: none;
    will-change: transform;
}
.site-header.is-compact ~ .scroll-progress { top: 52px; }

/* Cursor-following gold glow (desktop only) */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 100;
    opacity: 0;
    transform: translate3d(-9999px,-9999px,0);
    transition: opacity 240ms var(--ease);
    will-change: transform;
}
@media (max-width: 1024px) { .cursor-glow { display: none; } }
@media (hover: none)       { .cursor-glow { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   STICKY CONTACT BUTTON
   Floating gold pill, available from the initial load. Auto-hides
   when the #kontakt section scrolls into view (JS toggles .is-hidden)
   so two contact CTAs never share the screen.
═══════════════════════════════════════════════════════════════ */
.sticky-contact {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
    z-index: 48;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.25rem;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 16px 36px -12px rgba(201, 168, 76, 0.6);
    animation: sticky-contact-in 520ms var(--ease) both;
    transition:
        transform 280ms var(--ease),
        opacity 280ms var(--ease),
        background 200ms var(--ease),
        box-shadow 250ms var(--ease);
    will-change: transform, opacity;
}
.sticky-contact:hover {
    background: #d6b556;
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 22px 46px -14px rgba(201, 168, 76, 0.75);
}
.sticky-contact:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}
.sticky-contact__mark {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1;
}

@keyframes sticky-contact-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hidden while the contact section is on screen */
.sticky-contact.is-hidden {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    pointer-events: none;
}

@media (max-width: 600px) {
    .sticky-contact {
        padding: 0.7rem 1.05rem;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sticky-contact {
        animation: none;
        transition: opacity 200ms linear, background 200ms linear;
    }
    .sticky-contact:hover { transform: none; }
    .sticky-contact.is-hidden { transform: none; }
}

/* Compact nav state (after 80px of scroll) */
.site-header {
    transition: background 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header .shell--nav {
    transition: height 240ms var(--ease);
}
.site-header .wordmark {
    transition: transform 240ms var(--ease);
    transform-origin: left center;
}
.site-header.is-compact {
    background: rgba(13, 27, 42, 0.97);
}
.site-header.is-compact .shell--nav { height: 52px; }
.site-header.is-compact .wordmark { transform: scale(0.94); }

/* Active section underline on nav links */
.primary-nav a {
    position: relative;
}
.primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 320ms var(--ease);
}
.primary-nav a.is-active:not(.nav-cta)::after {
    transform: scaleX(1);
}

/* ═══════════════════════════════════════════════════════════════
   HERO GRADIENT MESH
═══════════════════════════════════════════════════════════════ */
.gradient-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.gradient-mesh > span {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}
.gradient-mesh__a {
    width: 60vw; height: 60vw;
    top: -10%; left: -10%;
    background: radial-gradient(circle, rgba(27, 44, 64, 1), transparent 70%);
    animation: mesh-drift-a 38s ease-in-out infinite;
}
.gradient-mesh__b {
    width: 50vw; height: 50vw;
    top: 20%; right: -15%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 70%);
    animation: mesh-drift-b 30s ease-in-out infinite;
}
.gradient-mesh__c {
    width: 40vw; height: 40vw;
    bottom: -15%; left: 30%;
    background: radial-gradient(circle, rgba(13, 27, 42, 1), transparent 70%);
    animation: mesh-drift-c 26s ease-in-out infinite;
}
@keyframes mesh-drift-a {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(8vw, 4vw) scale(1.1); }
}
@keyframes mesh-drift-b {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-6vw, 3vw) scale(0.92); }
}
@keyframes mesh-drift-c {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(4vw, -5vw) scale(1.08); }
}
@media (max-width: 768px) {
    .gradient-mesh { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .gradient-mesh > span { animation: none; }
}

/* Specimen stack — 3 cards, intro animation, cursor tilt */
.hero__specimen {
    position: relative;
    perspective: 1400px;
}
.specimen, .specimen--back, .specimen--back-2 {
    transform-style: preserve-3d;
    will-change: transform;
}
.specimen--back-2 {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(13,27,42,0.85);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 4px;
}

/* Intro stack reveal — initial state (JS adds .is-revealed) */
.hero__specimen .specimen,
.hero__specimen .specimen--back,
.hero__specimen .specimen--back-2 {
    opacity: 0;
    transform: translateY(28px) rotate(2deg);
    transition: transform 1000ms var(--ease-emphasized), opacity 800ms var(--ease);
}
.hero__specimen.is-revealed .specimen--back-2 {
    opacity: 1;
    transform: translate(48px, 36px) rotate(4deg);
    transition-delay: 80ms;
}
.hero__specimen.is-revealed .specimen--back {
    opacity: 1;
    transform: translate(24px, 18px) rotate(2deg);
    transition-delay: 220ms;
}
.hero__specimen.is-revealed .specimen {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
    transition-delay: 380ms;
}

@media (max-width: 1024px) {
    .hero__specimen .specimen { transform: none; }
}
/* On phones the specimen stacks below the copy and its near-identical navy
   background visually collapses into the hero, leaving a tall block of "empty"
   dark navy between the meta row and the next section. It's decorative
   (aria-hidden), so hide it below the tablet breakpoint. */
@media (max-width: 720px) {
    .hero__specimen { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__specimen .specimen,
    .hero__specimen .specimen--back,
    .hero__specimen .specimen--back-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TASK 12: HERO SCROLL CUE BOB ANIMATION
═══════════════════════════════════════════════════════════════ */
.hero__scroll {
    animation: cue-bob 2400ms ease-in-out infinite;
}
.hero__scroll span {
    display: inline-block;
    animation: cue-dot 2400ms ease-in-out infinite;
}
@keyframes cue-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}
@keyframes cue-dot {
    0%   { transform: translateY(0); opacity: 0.7; }
    50%  { transform: translateY(8px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__scroll, .hero__scroll span { animation: none; }
}

/* Section-head reveal */
.section-head .section-head__no,
.section-head .section-head__lede {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.section-head .section-head__title {
    overflow: hidden;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 720ms var(--ease-emphasized), opacity 480ms var(--ease);
}
.section-head.is-revealed .section-head__no    { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.section-head.is-revealed .section-head__title { opacity: 1; clip-path: inset(0 0 0 0); transition-delay: 140ms; }
.section-head.is-revealed .section-head__lede  { opacity: 1; transform: translateY(0); transition-delay: 280ms; }

/* Dark variant (features) gets a gold underline draw under the title */
.section-head--dark .section-head__title { position: relative; }
.section-head--dark .section-head__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -10px;
    width: 96px; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 800ms var(--ease-emphasized) 380ms;
}
.section-head--dark.is-revealed .section-head__title::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
    .section-head .section-head__no,
    .section-head .section-head__title,
    .section-head .section-head__lede {
        opacity: 1; transform: none; clip-path: none;
    }
    .section-head--dark .section-head__title::after { transform: scaleX(1); transition: none; }
}

/* Process section choreography */
.steps {
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), var(--rule-gold));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1200ms var(--ease-emphasized);
}
.steps.is-revealed::before { transform: scaleY(1); }

.step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.steps.is-revealed .step { opacity: 1; transform: translateY(0); }
.steps.is-revealed .step:nth-child(1) { transition-delay: 240ms; }
.steps.is-revealed .step:nth-child(2) { transition-delay: 380ms; }
.steps.is-revealed .step:nth-child(3) { transition-delay: 520ms; }

@media (prefers-reduced-motion: reduce) {
    .steps::before { transform: scaleY(1); transition: none; }
    .step { opacity: 1; transform: none; transition: none; }
}

/* Features grid stagger */
.feature {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 720ms var(--ease-emphasized), transform 720ms var(--ease-emphasized);
}
.feature.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.feature--wide.is-revealed { transition-duration: 920ms; }

/* Wide feature gets a gold underline draw on its title once revealed.
   `display: block` so it sits below the chapter eyebrow (inline-block here
   put it on the same line as the chapter span); `width: fit-content` keeps
   the underline pseudo-element hugging the text. */
.feature--wide .feature__title { position: relative; display: block; width: fit-content; }
.feature--wide .feature__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -8px;
    height: 1px; width: 100%;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 800ms var(--ease-emphasized) 300ms;
}
.feature--wide.is-revealed .feature__title::after { transform: scaleX(1); }

/* Accent (bonus) card: slides up further, with a brief gold glow bloom */
.feature--accent {
    transform: translateY(40px) scale(0.985);
    transition-duration: 900ms;
    position: relative;
    overflow: hidden;
}
.feature--accent::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.35), transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}
.feature--accent.is-revealed::before {
    animation: bonus-bloom 1400ms var(--ease) forwards;
}
.feature--accent > * { position: relative; z-index: 1; }
@keyframes bonus-bloom {
    0%   { opacity: 0; }
    35%  { opacity: 1; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .feature, .feature--accent { opacity: 1; transform: none; transition: none; }
    .feature--accent::before { animation: none; }
    .feature--wide .feature__title::after { transform: scaleX(1); transition: none; }
}

/* Sample fanned-stack reveal */
.sample-grid {
    perspective: 1600px;
}
.sample-card {
    transform-style: preserve-3d;
    transition: transform 640ms var(--ease-emphasized), opacity 640ms var(--ease);
    will-change: transform;
}
.sample-grid:not(.is-revealed) .sample-card {
    opacity: 0.45;
}
.sample-grid:not(.is-revealed) .sample-card:nth-child(1) { transform: translate(40%,  20%) rotate(-6deg); }
.sample-grid:not(.is-revealed) .sample-card:nth-child(2) { transform: translate(20%,  10%) rotate(-2deg); }
.sample-grid:not(.is-revealed) .sample-card:nth-child(3) { transform: translate(-20%, 10%) rotate(2deg); }
.sample-grid:not(.is-revealed) .sample-card:nth-child(4) { transform: translate(-40%, 20%) rotate(6deg); }
.sample-grid.is-revealed .sample-card { opacity: 1; transform: none; }

/* Gold pulse on the "Auszug aus 12 Seiten" pill */
.sample-note__pill.is-pulsed {
    animation: pill-pulse 1400ms var(--ease) 1;
}
@keyframes pill-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    40%  { box-shadow: 0 0 0 12px rgba(201,168,76,0.25); }
    100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

@media (max-width: 768px) {
    .sample-grid:not(.is-revealed) .sample-card { transform: translateY(16px); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
    .sample-grid .sample-card { opacity: 1; transform: none; transition: none; }
    .sample-note__pill { animation: none; }
}

/* Contact card slide-in */
.contact-card {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 600ms var(--ease), transform 720ms var(--ease-emphasized);
}
.contact-card.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.contact-card__mark {
    display: inline-block;
    transform: rotate(-180deg) scale(0.8);
    opacity: 0;
    transition: transform 1000ms var(--ease-emphasized) 240ms, opacity 600ms var(--ease) 240ms;
}
.contact-card.is-revealed .contact-card__mark {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

.contact__direct > div {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.contact__direct.is-revealed > div { opacity: 1; transform: translateY(0); }
.contact__direct.is-revealed > div:nth-child(1) { transition-delay: 100ms; }
.contact__direct.is-revealed > div:nth-child(2) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    .contact-card, .contact-card__mark, .contact__direct > div {
        opacity: 1; transform: none; transition: none;
    }
}
