/* Realtor page: the giveaway's printables and its videos. Shares tokens with styles.css; the top bar
   and footer match the trailer page. */
body.realtor { padding: 0; overflow-x: hidden; }
.realtor .story-top { position: fixed; inset: 0 0 auto 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.realtor .story-top a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; }
.realtor .story-top .btn { flex: 0 0 auto; white-space: nowrap; padding: 6px 12px; }

.rl-hero { padding: 104px 16px 56px; text-align: center; background: var(--dusk); color: var(--dusk-ink); position: relative; overflow: hidden; isolation: isolate; }
.rl-hero::before { content: ""; position: absolute; inset: -80px; z-index: -1; background: url("assets/realtor/claude-poster.jpg") center / cover; filter: blur(40px) saturate(1.1); opacity: 0.35; }
.rl-hero .eyebrow { color: var(--dusk-warm); }
.rl-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.6rem); line-height: 1.02; margin: 10px 0 14px; }
.rl-sub { max-width: 40rem; margin: 0 auto; font-size: 1.12rem; line-height: 1.55; color: var(--dusk-ink); }
.rl-author { margin: 16px 0 0; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dusk-ink-2); }

.rl-section { max-width: 1100px; margin: 0 auto; padding: 56px 16px 8px; }
.rl-section h2 { text-align: center; margin-bottom: 8px; }
.rl-section > .measure { text-align: center; margin: 0 auto 24px; }

.rl-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rl-file { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.rl-file:hover, .rl-file:focus-visible { border-color: var(--primary); transform: translateY(-2px); }
.rl-file b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; }
.rl-file .go { margin-top: auto; padding-top: 6px; color: color-mix(in srgb, var(--primary) 78%, var(--ink)); font-weight: 600; font-size: 0.9rem; }

.rl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
.rl-video { margin: 0; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rl-video h3 { margin: 2px 0 10px; font-family: var(--font-display); font-size: 1.3rem; }
.rl-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #1E1C26; border-radius: 8px; }
.rl-video figcaption { margin-top: 8px; }
.rl-missing { margin: 8px 0 0; color: var(--ink-2); }

.rl-more { margin-top: 20px; }
.rl-more summary { cursor: pointer; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.rl-next { text-align: center; padding-bottom: 24px; }
.realtor .tr-foot { max-width: 1100px; margin: 40px auto 0; padding-inline: 16px; padding-bottom: 32px; }
/* Video guide (videos.html) reuses this page's cards. */
.rl-file-tag { display: inline-block; margin-top: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.78em; color: var(--ink-2); background: var(--surface-2); border-radius: 4px; padding: 1px 6px; word-break: break-all; }
.rl-wide { margin-top: 18px; }

/* The agents' section (realtor.html): the scroll story comes from journey.css; below it the kit, the video and
   the book sit on the same dusk, with the handouts' first pages fanned like paper on a desk. */
.agents .ag-kit, .agents .ag-watch, .agents .ag-book { min-height: auto; padding: 88px 16px; }
.agents .ag-watch { padding-top: 24px; }
.agents .ag-kit { padding-top: 120px; }
.ag-lede { max-width: 40rem; margin: 10px auto 30px; font-size: 1.08rem; line-height: 1.6; color: var(--dusk-ink); }
.ag-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; width: min(1100px, 100%); }
.ag-file { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; text-align: left; border-radius: 14px; text-decoration: none; color: var(--dusk-ink); background: rgba(36, 34, 46, 0.45); border: 1px solid rgba(244, 238, 228, 0.22); transition: border-color .2s, transform .2s, background .2s; }
.ag-file:hover, .ag-file:focus-visible { border-color: var(--dusk-warm); background: rgba(36, 34, 46, 0.6); transform: translateY(-3px); }
.ag-file .eyebrow { color: var(--dusk-warm); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.ag-file b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.ag-what { color: var(--dusk-ink-2); line-height: 1.5; }
.ag-file .go { margin-top: auto; padding-top: 8px; color: var(--dusk-warm); font-weight: 600; }
/* Two pages, the second peeking out behind the first; they spread a little on hover. */
.ag-pages { position: relative; display: block; height: 230px; margin: 0 0 16px; }
.ag-pages img { position: absolute; top: 6px; left: 50%; height: 216px; width: auto; aspect-ratio: 510 / 660; border-radius: 3px; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); transition: transform .35s ease; }
.ag-pages img:first-child { transform: translateX(-38%) rotate(5deg); }
.ag-pages img:last-child { transform: translateX(-62%) rotate(-3deg); }
.ag-file:hover .ag-pages img:first-child, .ag-file:focus-visible .ag-pages img:first-child { transform: translateX(-24%) rotate(8deg); }
.ag-file:hover .ag-pages img:last-child, .ag-file:focus-visible .ag-pages img:last-child { transform: translateX(-74%) rotate(-5deg) translateY(-4px); }
.ag-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.ag-shared { margin: 12px 0 0; color: var(--dusk-ink-2); font-size: 0.9rem; word-break: break-all; }
.ag-shared[hidden] { display: none; }
.agents .ag-book img { width: 160px; height: auto; border-radius: 4px; }
.agents .ag-book .jr-subtitle { margin-bottom: 4px; }
.ag-foot { width: min(860px, 100%); margin-top: 48px; color: var(--dusk-ink-2); justify-content: center; }
.ag-foot a { color: var(--dusk-ink); }
@media (prefers-reduced-motion: reduce) { .ag-pages img, .ag-file { transition: none; } }
