/* Landing page: pure black background (the whole site is black now; see palette.css) */
body.is-home { background: #000; }

/* Landing page (templates/content/home.html): full-bleed imagery on black, from the approved template. */
body.is-home .header-height-fix { display: none; }
body.is-home header:not(.header-sticky-top) { background: linear-gradient(#000a, transparent); border-bottom-color: rgba(255, 255, 255, 0.2); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 28px 0; }
/* While scrolling, keep the photo visible behind the menu: a soft dark shade with a light blur, not a solid bar */
body.is-home header.header-sticky-top { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25)); border-bottom-color: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.eyebrow { color: var(--gold); letter-spacing: 0; font-size: 22.5px; font-weight: 500; }
.line { display: inline-block; border-bottom: 1px solid var(--orange); padding-bottom: 10px; margin-top: 22px; font-size: 15px; color: var(--ivory); }
.line:hover { color: var(--orange); }
.links .line { margin-inline-end: 28px; }

.hero, .interlude { position: relative; height: 100svh; min-height: 580px; overflow: hidden; background: #000; }
.hero > img, .interlude > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Cinematic rhythm: every full-screen photo melts into the black page at its lower edge (strong) and upper edge (soft) */
.hero::after, .interlude::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(0deg, #000 0%, #000c 9%, #0004 24%, transparent 42%),
  linear-gradient(270deg, #000d 0%, #0004 45%, transparent 85%); }
.interlude::after { background:
  linear-gradient(0deg, #000 0%, #000c 10%, #0004 26%, transparent 45%),
  linear-gradient(180deg, #000 0%, #0008 8%, transparent 26%),
  linear-gradient(270deg, #000c 0%, #0003 50%, transparent 85%); }
.lp-content { position: absolute; z-index: 2; top: 50%; inset-inline-start: 8%; transform: translateY(-40%); max-width: 580px; }
.interlude .lp-content { max-width: 700px; }
.hero h1, .interlude h2 { font-size: clamp(43px, 5.4vw, 85px); line-height: 1.35; font-weight: 300; margin: 22px 0; color: var(--ivory); }
.hero p, .interlude p { font-size: 18px; line-height: 2; color: var(--ivory); }
.hero-bottom { position: absolute; bottom: 32px; inset-inline-start: 8%; z-index: 3; color: var(--gold); font-size: 12px; letter-spacing: 3px; }
.interlude { margin: 0; }

/* Two-panel editorial composition: photo in one frame, text in a navy frame beside it, black space around */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); max-width: 1320px; margin: clamp(80px, 11vw, 160px) auto; padding: 0 clamp(20px, 8vw, 120px); box-sizing: content-box; align-items: stretch; }
.split.reverse { direction: ltr; }
.split.reverse > * { direction: rtl; }
.split .frame { overflow: hidden; border: 1px solid var(--line); background: #000; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.split .frame img { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; transition: transform 0.7s ease; }
/* 1px border + 2px ring = a 3px orange frame on hover, without shifting the layout */
.split .frame:hover { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.split .frame:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .split .frame, .split .frame img { transition: none; } .split .frame:hover img { transform: none; } }
.split .copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--navy); padding: clamp(32px, 5vw, 80px); border: 1px solid var(--line); }
.split h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; line-height: 1.5; margin: 22px 0; color: var(--ivory); }
/* The two panel headings stay on one line on desktop (they wrap naturally on phones); same size so they match */
@media (min-width: 801px) { #iranology h2, #arts h2 { white-space: nowrap; font-size: clamp(26px, 2.7vw, 42px); } }
.split p { line-height: 2.2; color: var(--ivory); font-size: 19px; }

/* Featured institutional video, right under the hero */
.featured-video { padding: 20px 0 0; }
#iranology { margin-top: clamp(40px, 5vw, 80px); } /* tighter gap below the featured video */
.featured-video .container { max-width: 1040px; }
.fv-player { margin: 28px 0 8px; border: 1px solid var(--line); }
.fv-player .video { border: 0; margin: 0; }
.featured-video .line { margin-top: 18px; }

.lp-section { padding: 40px 0 100px; }
.lp-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; margin: 14px 0 0; }
.lp-section .line { margin-top: 0; }

.closing { padding: 0 7% 90px; text-align: center; }
.closing p { color: var(--ivory); line-height: 2; font-size: 1.5em; }

@media (max-width: 800px) {
  .lp-content { inset-inline: 7%; }
  .split, .split.reverse { display: flex; flex-direction: column; direction: rtl; margin: 70px auto; padding: 0 5%; gap: 28px; }
  .split .frame img { height: 50vh; min-height: 0; }
  .split.reverse .frame { order: 2; }
  .split .copy { padding: 36px 24px; }
  .split p { font-size: 17px; }
  .lp-section { padding-bottom: 60px; }
}
.campaign > img { object-position: left center; }
.slider { border-radius: 4px; border: 1px solid var(--line); }
.closing .eyebrow { font-size: clamp(32px, 4.5vw, 60px); font-weight: 500; letter-spacing: 0; line-height: 1.5; margin-bottom: 8px; }
