:root {
  --ink: #171717;
  --muted: #6f6d69;
  --paper: #f7f5f0;
  --white: #fff;
  --red: #e7372f;
  --red-dark: #b92721;
  --line: #dedbd4;
  --dark: #111;
  --shell: min(1200px, calc(100vw - 40px));
  --shadow: 0 18px 50px rgb(0 0 0 / 14%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; color: #fff; background: var(--red); }
.skip-link:focus { top: 16px; }

.topline { color: #d6d3cc; background: #050505; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.topline-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
.social-links { display: flex; gap: 18px; }
.social-links a { text-decoration: none; }
.site-header { position: relative; z-index: 30; color: #fff; background: var(--dark); }
.nav-wrap { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; text-transform: uppercase; }
.brand-ifi { display: grid; width: 56px; height: 56px; place-items: center; color: #fff; background: var(--red); font-size: 1.45rem; font-weight: 900; letter-spacing: -.08em; }
.brand-copy { font-size: .82rem; font-weight: 800; line-height: .92; letter-spacing: .08em; }
.primary-nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.primary-nav a { color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #ff817b; }
.header-search { display: flex; width: 230px; border-bottom: 1px solid #666; }
.header-search input { min-width: 0; width: 100%; padding: 8px 2px; color: #fff; background: transparent; border: 0; outline: 0; }
.header-search button { width: 32px; color: transparent; background: transparent; border: 0; cursor: pointer; position: relative; }
.header-search button::after { content: "⌕"; position: absolute; inset: 5px 0 auto; color: #fff; font-size: 1.3rem; }
.menu-toggle { display: none; }

.hero { position: relative; height: clamp(480px, 65vw, 720px); overflow: hidden; color: #fff; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 45%) 48%, rgb(0 0 0 / 12%) 100%), linear-gradient(0deg, rgb(0 0 0 / 60%), transparent 50%); }
.hero-content { position: absolute; inset: auto 0 90px; }
.hero-content h1 { max-width: 860px; margin: 8px 0 18px; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: .94; letter-spacing: -.045em; }
.hero-content > p:not(.eyebrow) { max-width: 660px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: #e6e3df; font-size: 1.05rem; }
.hero-controls { position: absolute; inset: auto 0 24px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.hero-controls > button { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: rgb(0 0 0 / 35%); border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; cursor: pointer; }
.hero-dots { display: flex; gap: 7px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; background: #aaa; border: 0; cursor: pointer; }
.hero-dots button.is-active { background: var(--red); }

.eyebrow { margin: 0 0 8px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; color: #fff; background: var(--red); border: 1px solid var(--red); text-decoration: none; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-outline:hover, .button-outline:focus-visible { color: #fff; background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: #fff; border-color: #fff; }

.home-content { padding-block: 20px 80px; }
.shelf-section, .related-section { padding-block: 38px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.2rem); letter-spacing: -.03em; }
.section-heading > a { color: var(--red-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 31%); gap: 18px; padding: 2px 2px 20px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--red) #dedbd4; scroll-snap-type: inline proximity; }
.shelf-square { grid-auto-columns: minmax(190px, 20%); }
.media-card { min-width: 0; scroll-snap-align: start; }
.card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #d7d3cc; }
.shelf-square .card-image, .product-card .card-image { aspect-ratio: 1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.card-image:hover img { transform: scale(1.035); filter: contrast(1.04); }
.image-placeholder { display: grid; height: 100%; place-items: center; color: #fff; background: linear-gradient(135deg, #282828, #555); font-size: 2rem; font-weight: 900; }
.play-badge { position: absolute; right: 12px; bottom: 12px; display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: .7rem; }
.card-copy { padding-top: 11px; }
.card-copy h3 { margin: 2px 0 0; font-size: 1rem; line-height: 1.25; }
.card-copy h3 a { text-decoration: none; }
.card-copy h3 a:hover { color: var(--red-dark); }
.card-meta { margin: 0; color: var(--red-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-summary { margin: 9px 0 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.map-promo { margin-block: 35px; color: #fff; background: #292827; }
.map-promo-inner { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background-image: radial-gradient(circle at 80% 30%, rgb(231 55 47 / 30%), transparent 35%); }
.map-promo h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.045em; }
.map-promo p:not(.eyebrow) { max-width: 680px; color: #d0ccc5; }

.page-hero { padding-block: clamp(55px, 8vw, 105px) 45px; }
.page-hero h1, .static-page h1, .error-page h1 { margin: 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.06em; }
.page-hero > p:not(.eyebrow), .lead { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.result-count { font-size: .8rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 100px; }
.category-card { position: relative; min-height: 230px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #272727; text-decoration: none; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 80%), transparent 70%); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-card span { position: relative; z-index: 1; padding: 24px; font-size: clamp(1.35rem, 2.4vw, 2.1rem); font-weight: 900; letter-spacing: -.03em; }

.listing-section { padding-bottom: 100px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; }
.collection-list .card-grid { grid-template-columns: repeat(3, 1fr); }
.collection-list .card-summary { -webkit-line-clamp: 4; }
.pagination { display: flex; justify-content: center; margin-top: 55px; }
.empty-state { grid-column: 1 / -1; padding: 50px; color: var(--muted); background: #eeebe5; text-align: center; }

.collection-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: #242322; }
.collection-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 88%), rgb(0 0 0 / 10%)); }
.collection-hero-copy { position: relative; padding-block: 100px 48px; }
.collection-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .98; letter-spacing: -.055em; }
.collection-intro { padding-block: 55px 15px; }
.collection-intro .prose { max-width: 920px; }
.collection-intro .button { margin-top: 25px; }

.player-stage { color: #fff; background: #000; }
.player-shell { position: relative; max-width: 1120px; min-height: 260px; display: grid; place-items: center; aspect-ratio: 16 / 9; }
.player-shell video { width: 100%; height: 100%; background: #000; }
.player-start { position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; color: #fff; background: rgb(0 0 0 / 72%); border: 1px solid rgb(255 255 255 / 60%); cursor: pointer; font-weight: 800; }
.player-start span { display: grid; width: 34px; height: 34px; place-items: center; background: var(--red); border-radius: 50%; font-size: .7rem; }
.player-start:disabled { opacity: .65; }
.player-status { position: absolute; left: 20px; bottom: 12px; margin: 0; color: #ddd; }
.asset-layout { display: grid; grid-template-columns: minmax(0, 880px) 1fr; padding-block: 60px 35px; }
.asset-main h1 { margin: 0 0 25px; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.asset-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 16px; border-block: 1px solid var(--line); }
.asset-facts span { display: grid; gap: 2px; min-width: 100px; font-size: .88rem; }
.asset-facts b { color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.asset-facts a { text-decoration-color: #bbb; }
.prose { font-family: Georgia, serif; font-size: 1.06rem; line-height: 1.75; }
.preline { margin-top: 28px; white-space: pre-line; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.tag-list span { padding: 6px 10px; background: #e9e5dd; border-radius: 100px; font-size: .72rem; }

.search-hero { padding-bottom: 25px; }
.search-hero h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.search-form { margin-top: 35px; max-width: 900px; }
.search-form > label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; }
.search-form > div { display: flex; }
.search-form input[type=search] { flex: 1; min-width: 0; padding: 14px 16px; background: #fff; border: 1px solid #bbb; }
.search-hero h2 { margin: 44px 0 10px; font-size: 1.45rem; }
.search-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.search-tabs a { padding: 12px 0; color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 800; }
.search-tabs a.is-active { color: var(--ink); border-bottom: 3px solid var(--red); }

.map-heading { padding-bottom: 30px; }
.map-layout { min-height: 650px; display: grid; grid-template-columns: 340px 1fr; margin-bottom: 80px; background: #fff; box-shadow: var(--shadow); }
.map-sidebar { min-height: 650px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.map-sidebar > label { padding: 20px 20px 5px; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.map-sidebar > input { margin: 4px 20px 8px; padding: 11px 12px; border: 1px solid #bbb; }
.map-sidebar > p { margin: 0; padding: 5px 20px 13px; color: var(--muted); font-size: .75rem; }
.map-results { overflow-y: auto; border-top: 1px solid var(--line); }
.map-results a { display: block; padding: 13px 20px; border-bottom: 1px solid #eee; text-decoration: none; font-size: .84rem; line-height: 1.3; }
.map-results a:hover { color: var(--red-dark); background: #faf8f4; }
.archive-map { min-height: 650px; }
.map-popup { max-width: 260px; }
.map-popup img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-popup h2 { font-size: .95rem; line-height: 1.25; }
.map-popup a { color: var(--red-dark); font-weight: 800; }

.exhibition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 100px; }
.exhibition-card { min-height: 330px; padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(145deg, #171717, #3c3935); }
.exhibition-card:nth-child(2) { background: linear-gradient(145deg, #6c261f, #1b1716); }
.exhibition-card:nth-child(3) { background: linear-gradient(145deg, #303947, #14181e); }
.exhibition-card:nth-child(4) { background: linear-gradient(145deg, #314036, #101713); }
.exhibition-card h2 { margin: 5px 0 12px; font-size: clamp(1.7rem, 3.3vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.exhibition-card h2 a { text-decoration: none; }
.exhibition-card > p:not(.eyebrow) { color: #d8d5ce; }
.text-link { color: #fff; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.exhibition-hero { padding-block: 110px; color: #fff; background: radial-gradient(circle at 75% 30%, #6f2923, transparent 35%), #171717; }
.exhibition-hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .92; letter-spacing: -.06em; }
.exhibition-hero p:not(.eyebrow) { max-width: 720px; color: #d9d5ce; font-size: 1.2rem; }
.editorial-section { padding-block: 60px 15px; }
.editorial-section .prose { max-width: 760px; }

.static-page { padding-block: 100px; }
.static-page .lead { font-size: 1.45rem; }
.static-page .prose { margin-block: 40px; }
.error-page { min-height: 60vh; padding-block: 100px; }
.error-code { margin: 0; color: var(--red); font-size: .78rem; font-weight: 900; }
.error-page > p:not(.error-code) { margin-block: 24px; color: var(--muted); font-size: 1.1rem; }

.site-footer { padding-top: 70px; color: #d0ccc5; background: #111; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-brand { color: #fff; }
.footer-grid p { max-width: 470px; color: #97938d; }
.footer-grid h2 { margin: 0 0 15px; color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:not(.brand) { color: #bbb; text-decoration: none; font-size: .85rem; }
.footer-bottom { margin-top: 55px; padding-block: 22px; border-top: 1px solid #333; color: #777; font-size: .7rem; }

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: block; color: #fff; background: transparent; border: 1px solid #666; padding: 7px 10px; }
  .primary-nav { position: absolute; top: 124px; left: 0; right: 0; display: none; padding: 22px 20px; flex-direction: column; background: #181818; }
  .primary-nav.is-open { display: flex; }
  .header-search { justify-self: end; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-list .card-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout { grid-template-columns: 290px 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1200px); }
  .topline { display: none; }
  .nav-wrap { min-height: 76px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand-ifi { width: 45px; height: 45px; }
  .brand-copy { display: none; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .primary-nav { top: 76px; }
  .header-search { grid-column: 2; grid-row: 1; width: 100%; max-width: 220px; }
  .hero { height: 560px; }
  .hero-shade { background: linear-gradient(0deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 25%) 85%); }
  .hero-content { bottom: 80px; }
  .hero-content h1 { font-size: clamp(2.2rem, 11vw, 3.8rem); }
  .hero-content > p:not(.eyebrow) { -webkit-line-clamp: 2; }
  .hero-controls { bottom: 18px; justify-content: space-between; }
  .shelf { grid-auto-columns: 78%; }
  .shelf-square { grid-auto-columns: 56%; }
  .map-promo-inner { padding-block: 45px; flex-direction: column; align-items: flex-start; }
  .category-grid, .card-grid, .collection-list .card-grid, .exhibition-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 190px; }
  .card-grid { gap-block: 30px; }
  .collection-hero { min-height: 380px; }
  .asset-layout { display: block; }
  .map-layout { display: flex; flex-direction: column-reverse; }
  .map-sidebar, .archive-map { min-height: 480px; }
  .map-results { max-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
