[hidden] { display: none !important; }
.resources-page button, .resources-page input { font: inherit; }
.resources-page button { cursor: pointer; }
.resources-page button:focus-visible, .resources-page input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px; background: var(--aqua); color: #08090d; }
.skip-link:focus { top: 12px; }
.resource-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding-top: 150px; padding-bottom: 84px; }
.resource-hero .eyebrow { color: var(--aqua); font-size: 10px; }
.resource-hero h1 { margin: 26px 0 23px; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.14; letter-spacing: -.07em; font-weight: 900; }
.resource-hero h1 em { color: var(--red-light); font-style: normal; }
.resource-lede { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0 0 26px; }
.resource-stats { display: flex; gap: 40px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.resource-stats dt { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.resource-stats dd { margin: 3px 0 0; font-size: 29px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-poster { margin: 0; padding: 13px; border: 1px solid var(--line); background: #12161b; box-shadow: 0 32px 80px #0006; transform: rotate(2deg); }
.poster-label, .hero-poster figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.poster-label { margin-bottom: 12px; color: #afb4ba; }
.hero-poster img { width: 100%; height: auto; }
.hero-poster figcaption { padding-top: 14px; color: #dce1e6; }
.hero-poster figcaption i { color: var(--aqua); font-style: normal; }
.resource-library { border-top: 1px solid var(--line); background: #0c0e13; padding: 36px 0 0; }
.library-topline { display: flex; align-items: center; justify-content: space-between; color: #737c88; font-size: 9px; letter-spacing: .12em; }
.library-topline .eyebrow { margin: 0; font-size: 10px; color: var(--aqua); }
.collection-tabs { display: flex; gap: 30px; margin-top: 30px; border-bottom: 1px solid var(--line); }
.collection-tabs button { padding: 17px 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 16px; font-weight: 750; text-align: left; }
.collection-tabs button[aria-pressed=true] { border-color: var(--red-light); color: white; }
.collection-tabs button span { display: inline-block; margin-left: 7px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 9px; font-weight: 500; vertical-align: middle; color: var(--muted); }
.collection-tabs button[aria-pressed=true] span { color: var(--aqua); }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 38px 0 30px; }
.collection-heading h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.05em; line-height: 1.3; }
.collection-heading p { max-width: 660px; margin: 0; color: var(--muted); font-size: 13px; }
.collection-heading > .button { flex-shrink: 0; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.format-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.format-tabs button { min-height: 44px; padding: 8px 16px; background: #11161e; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 12px; font-weight: 650; }
.format-tabs small { margin-left: 7px; font-size: 10px; opacity: .7; }
.format-tabs button[aria-pressed=true] { background: #e5e5df; border-color: #e5e5df; color: #10141b; }
.resource-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #555d69; color: #bac1c9; }
.resource-search span { font-size: 26px; }
.resource-search input { width: 210px; min-height: 44px; border: 0; background: transparent; color: var(--text); font-size: 12px; border-radius: 0; }
.resource-search input::placeholder { color: #9098a4; }
.collection-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #9aa2ae; font-size: 11px; margin: 20px 0; }
.collection-summary p { margin: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.resource-card { min-width: 0; }
.poster-open { display: block; position: relative; width: 100%; padding: 0; background: #151a22; border: 1px solid #ffffff18; overflow: hidden; border-radius: 6px; }
.poster-open img { width: 100%; height: auto; aspect-ratio: var(--poster-ratio, 4 / 3); object-fit: contain; transition: transform .3s ease; }
.poster-open:hover img { transform: scale(1.025); }
.open-indicator { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; color: white; background: #08090dcc; border: 1px solid #ffffff40; border-radius: 50%; font-size: 17px; }
.resource-card-heading { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.round-index { color: var(--aqua); font-size: 10px; font-variant-numeric: tabular-nums; }
.resource-card h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.resource-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.resource-card-bottom p { margin: 0; color: #9aa2ae; font-size: 10px; }
.resource-card-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0 8px 8px; color: #e8e9eb; text-decoration: none; font-size: 11px; white-space: nowrap; }
.resource-card-bottom a:hover { color: var(--aqua); }
.resource-empty { padding: 76px 24px; border: 1px solid var(--line); text-align: center; background: radial-gradient(ellipse at center, #20352f40, transparent 65%), #10141b; }
.empty-index { color: var(--aqua); letter-spacing: .17em; font-size: 10px; }
.resource-empty h3 { margin: 16px 0 12px; font-size: 27px; letter-spacing: -.04em; }
.resource-empty p { max-width: 540px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.resource-empty ul { list-style: none; padding: 20px 0 0; margin: 0; color: #a1abb7; font-size: 12px; line-height: 2; }
.resource-guide { display: flex; gap: 24px; align-items: start; border-top: 1px solid var(--line); margin-top: 64px; padding: 36px 0 48px; }
.guide-mark { color: var(--aqua); font-size: 36px; line-height: 1.2; }
.resource-guide h3 { margin: 0 0 9px; font-size: 15px; }
.resource-guide p { margin: 5px 0; max-width: 720px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.resource-guide > a { margin-left: auto; flex-shrink: 0; font-size: 11px; color: #dce1e6; }
#poster-dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #4b535f; border-radius: 10px; color: var(--text); background: #10141b; overflow: auto; }
#poster-dialog::backdrop { background: #000c; backdrop-filter: blur(8px); }
.preview-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.preview-header .eyebrow { color: var(--aqua); font-size: 9px; }
.preview-header h2 { margin: 5px 0 0; font-size: 23px; }
.close-preview { width: 44px; height: 44px; border: 1px solid var(--line); background: #ffffff08; color: white; border-radius: 50%; font-size: 28px !important; }
.preview-stage { display: grid; place-items: center; min-height: 160px; background: #05070a; padding: 12px; }
.preview-stage img { width: auto; height: auto; max-width: 100%; max-height: 65dvh; object-fit: contain; }
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; }
.preview-footer p { font-size: 12px; color: var(--muted); margin: 0; }
body:has(#poster-dialog[open]) { overflow: hidden; }
.resource-promo { margin-bottom: 68px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 32px; border: 1px solid var(--line); background: #10141b; overflow: hidden; }
.resource-promo h2 { font-size: clamp(25px, 3vw, 37px); margin: 10px 0; line-height: 1.3; letter-spacing: -.06em; }
.resource-promo p { color: var(--muted); font-size: 13px; }
.promo-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; transform: rotate(-5deg); }
.promo-posters img { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; border: 3px solid #e7d7b7; }
@media (max-width: 980px) {
  .resource-hero { gap: 30px; }
  .collection-heading { gap: 20px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .resource-hero { grid-template-columns: 1fr; gap: 44px; padding-top: 106px; padding-bottom: 54px; }
  .resource-hero h1 { font-size: clamp(35px, 8vw, 52px); }
  .resource-hero .eyebrow { font-size: 8px; }
  .resource-stats { margin-top: 25px; }
  .hero-poster { transform: none; }
  .library-topline > span { display: none; }
  .collection-tabs { gap: 18px; margin-top: 15px; }
  .collection-tabs button { font-size: 12px; padding: 16px 0; }
  .collection-tabs button span { display: block; width: fit-content; margin: 6px 0 0; font-size: 8px; }
  .collection-heading { flex-direction: column; align-items: start; margin-top: 28px; }
  .collection-heading h2 { font-size: 26px; }
  .collection-heading .button { width: 100%; }
  .collection-toolbar { align-items: stretch; flex-direction: column; gap: 18px; }
  .format-tabs button { flex: 1; padding-inline: 10px; }
  .format-tabs small { margin-left: 4px; }
  .resource-search input { width: 100%; }
  .collection-summary { align-items: start; font-size: 10px; }
  .resource-grid { gap: 26px 14px; }
  .resource-card h3 { font-size: 15px; }
  .resource-card-heading { gap: 6px; }
  .resource-card-bottom { align-items: start; flex-direction: column; }
  .resource-card-bottom a { padding: 5px 0; min-height: 44px; }
  .resource-card-bottom p { font-size: 9px; }
  .resource-guide { flex-wrap: wrap; gap: 12px; }
  .resource-guide > div { flex: 1; min-width: 200px; }
  .resource-guide > a { margin-left: 45px; }
  .resource-empty { padding: 50px 18px; }
  .resource-empty h3 { font-size: 23px; }
  .preview-header, .preview-footer { padding: 14px 16px; }
  .preview-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .preview-stage img { max-height: 58dvh; }
  .resource-promo { grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
}

.pack-options { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 28px; }
.pack-choice { display: flex; flex-direction: column; gap: 5px; padding: 15px 20px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #11161e; text-align: left; min-height: 70px; }
.pack-choice span { font-size: 14px; font-weight: 700; }
.pack-choice small { font-size: 10px; }
.pack-choice[aria-pressed=true] { color: white; border-color: var(--aqua); background: #14322d; }
.resource-source { display: inline-block; margin-top: 7px; padding-block: 7px; color: #97a3b2; font-size: 10px; text-decoration: none; }
.resource-source:hover { color: var(--aqua); }
@media (max-width: 720px) { .pack-options { gap: 8px; padding-top: 20px; } .pack-choice { flex: 1; padding: 12px; } .pack-choice span { font-size: 12px; } }
