/**
 * FilmMerge — resources.css
 * Page: /resources/
 * Extracted from filmmerge-resources.html.
 */

/* ── Hero ───────────────────────────────────────────────── */
.fm-res-hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.fm-res-hero__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 65% 55% at 50% 40%, rgba(200,151,58,.06) 0%, transparent 65%), linear-gradient(180deg, #0a0c10 0%, #0f1318 100%); }
.fm-res-hero__inner { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.fm-res-hero h1 { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; color: var(--white); line-height: 1.0; margin-bottom: 20px; }
.fm-res-hero h1 em { font-style: italic; color: var(--gold); }
.fm-res-hero__sub { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.8; margin-bottom: 40px; }
.fm-res-hero__quick { display: flex; gap: 10px; flex-wrap: wrap; }
.fm-res-quick-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--muted); padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border); background: transparent; cursor: pointer; transition: var(--transition); font-family: var(--sans); }
.fm-res-quick-link:hover { color: var(--gold); border-color: rgba(200,151,58,.3); }
.fm-res-quick-link.active { color: var(--gold); border-color: rgba(200,151,58,.3); background: rgba(200,151,58,.06); }

/* ── Two-column layout ───────────────────────────────────── */
.fm-res-layout { padding: 72px 0 96px; }
.fm-res-layout__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }

/* ── Side nav ────────────────────────────────────────────── */
.fm-res-sidenav { position: sticky; top: 88px; }
.fm-res-sidenav__title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-left: 12px; }
.fm-res-sidenav__links { display: flex; flex-direction: column; gap: 2px; }
.fm-res-sidenav__link { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--muted); padding: 10px 12px; border-radius: var(--radius); transition: var(--transition); background: transparent; border: none; cursor: pointer; font-family: var(--sans); text-align: left; width: 100%; }
.fm-res-sidenav__link:hover { color: var(--cream); background: var(--panel); }
.fm-res-sidenav__link.active { color: var(--gold); background: rgba(200,151,58,.07); border-left: 2px solid var(--gold); }
.fm-res-sidenav__link i { font-size: 0.9rem; }

/* ── Content area ────────────────────────────────────────── */
.fm-res-content { min-width: 0; }
.fm-res-section { display: none; animation: fadeIn 0.3s ease; }
.fm-res-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fm-res-section__title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 12px; }
.fm-res-section__title em { font-style: italic; color: var(--gold); }
.fm-res-section__intro { font-size: 0.97rem; color: var(--muted); line-height: 1.8; margin-bottom: 36px; max-width: 620px; }

/* ── Checklist ───────────────────────────────────────────── */
.fm-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.fm-checklist__item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--transition); }
.fm-checklist__item:hover { border-color: rgba(200,151,58,.15); }
.fm-checklist__check { width: 28px; height: 28px; border-radius: 50%; background: rgba(200,151,58,.1); border: 1px solid rgba(200,151,58,.2); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.fm-checklist__label { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.fm-checklist__desc { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ── Spec table ──────────────────────────────────────────── */
.fm-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.fm-spec-table thead th { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); padding: 10px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.fm-spec-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.fm-spec-table tbody tr:hover { background: rgba(255,255,255,.02); }
.fm-spec-table tbody td { padding: 13px 16px; font-size: 0.85rem; line-height: 1.5; }
.fm-spec-table td:first-child { font-weight: 700; color: var(--cream); width: 35%; }
.fm-spec-table td:last-child { color: var(--muted); }
.fm-spec-badge { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-right: 4px; vertical-align: middle; }
.fm-spec-badge--req { background: rgba(200,151,58,.12); color: var(--gold); }
.fm-spec-badge--opt { background: rgba(138,146,160,.1); color: var(--muted); }

/* ── Tips grid ───────────────────────────────────────────── */
.fm-tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 36px; }
.fm-tip-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: var(--transition); }
.fm-tip-card:hover { border-color: rgba(200,151,58,.2); }
.fm-tip-card__num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: rgba(200,151,58,.25); line-height: 1; margin-bottom: 12px; }
.fm-tip-card__title { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.fm-tip-card__text { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* ── FAQ list (resources variant) ───────────────────────── */
.fm-faq-list { display: flex; flex-direction: column; gap: 0; }
.fm-faq-item { border-bottom: 1px solid var(--border); }
.fm-faq-item:first-child { border-top: 1px solid var(--border); }
.fm-faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--cream); text-align: left; transition: color var(--transition); }
.fm-faq-toggle:hover { color: var(--gold); }
.fm-faq-toggle i { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; transition: transform var(--transition); }
.fm-faq-toggle.open i { transform: rotate(45deg); }
.fm-faq-body { display: none; padding: 0 0 18px; font-size: 0.88rem; color: var(--muted); line-height: 1.8; max-width: 680px; }
.fm-faq-body.open { display: block; }

/* ── Glossary ────────────────────────────────────────────── */
.fm-glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fm-gloss-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.fm-gloss-card__term { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.fm-gloss-card__def { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ── Section CTA ─────────────────────────────────────────── */
.fm-res-cta { background: linear-gradient(135deg, rgba(200,151,58,.08), rgba(200,151,58,.02)); border: 1px solid rgba(200,151,58,.15); border-radius: 12px; padding: 36px 40px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fm-res-cta h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.fm-res-cta h3 em { font-style: italic; color: var(--gold); }
.fm-res-cta p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.fm-res-cta__actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fm-res-layout__inner { grid-template-columns: 1fr; gap: 36px; }
  .fm-res-sidenav { position: static; display: flex; gap: 6px; flex-wrap: wrap; }
  .fm-res-sidenav__title { display: none; }
  .fm-res-sidenav__links { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fm-res-sidenav__link { border-radius: 100px; border: 1px solid var(--border); border-left: none; padding: 7px 16px; }
  .fm-res-sidenav__link.active { border-radius: 100px; border-left: none; }
}
@media (max-width: 768px) {
  .fm-tips-grid { grid-template-columns: 1fr; }
  .fm-glossary { grid-template-columns: 1fr; }
}
