/* Version A's cover: the site's front page (#/). Option 1 "Cinema" from 樣品\封面\v1.html, chosen 2026-11-29: the
   Black Warrant trailer's biggest blasts play behind the promise; the real start box and all seven features sit on the
   first screen; under it the six videos made with Reel Studio, then one more way in.
   Every class starts with rsc- and lives under .rsc, so nothing here touches the app's kit classes (the kit's own
   start box is the one thing restyled, and only its background, inside .rsc). Tokens and fonts come from
   ../kit/system.css. Type: at most six body sizes per width (13 / 15 / 17 / 20 / 24, one step up from 2200 px),
   headlines above 36 px. */

.rsc {
  --f-s: 13px;  /* labels, pills, credits */
  --f-b: 15px;  /* buttons, card titles, body */
  --f-l: 17px;  /* the lead line */
  --f-t: 20px;  /* section titles */
  --f-h: 64px;  /* the headline (serif) */
  --pad: clamp(24px, 3.2vw, 72px);
  --top-h: 76px;
  --rsc-card: rgba(15, 16, 21, 0.84);
  --rsc-card-hover: rgba(24, 26, 32, 0.92);
  position: relative; min-height: 100vh; overflow-x: clip; background: #07080B; color: var(--fg-2);
}
@media (min-width: 2200px) { .rsc { --f-s: 15px; --f-b: 17px; --f-l: 20px; --f-t: 24px; --f-h: 96px; --top-h: 92px; } }
@media (max-width: 1280px) { .rsc { --f-h: 52px; } }
@media (max-width: 760px) { .rsc { --f-h: 40px; --f-l: 15px; --f-t: 17px; --top-h: 64px; --pad: 16px; } }
.rsc h1 { font-family: var(--font-serif); font-weight: 400; color: #fff; letter-spacing: -0.012em; }
.rsc h2 { font-size: var(--f-t); font-weight: 600; color: #fff; }

/* ---------- the top bar (landing style, over the film) ---------- */
.rsc-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: var(--top-h); display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); padding: 0 var(--pad); }
.rsc-logo { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: #fff; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.rsc-logo i { font-style: italic; }
@media (min-width: 2200px) { .rsc-logo { font-size: 36px; } }
.rsc-links { display: flex; gap: clamp(16px, 1.8vw, 32px); }
.rsc-links a, .rsc-links button { display: inline-flex; align-items: center; min-height: 40px; color: var(--fg-2); text-decoration: none; font-size: var(--f-b); white-space: nowrap; }
.rsc-links a:hover, .rsc-links button:hover { color: #fff; }
.rsc-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .rsc-links { display: none; } }

/* ---------- buttons and pills ---------- */
.rsc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: var(--f-b); font-weight: 600; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.rsc-btn--primary { background: var(--accent); color: #fff; }
.rsc-btn--primary:hover { background: var(--accent-hover); }
.rsc-btn--ghost { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.rsc-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.rsc-btn--light { background: #fff; color: #0A0B0E; }
.rsc-btn--light:hover { background: #E6E9F0; }
/* the quiet one sits over the brightest fire: its own dark ground */
.rsc-btn--quiet { color: var(--fg-1); background: rgba(8, 9, 12, 0.66); border-color: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 0 18px; }
.rsc-btn--quiet:hover { color: #fff; }
@media (min-width: 2200px) { .rsc-btn { height: 52px; padding: 0 26px; } }

.rsc-pill { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(6, 7, 10, 0.82); color: #fff; font-size: var(--f-s); font-weight: 600; line-height: 1; white-space: nowrap; }
.rsc-pill--top { bottom: auto; top: 8px; }
@media (min-width: 2200px) { .rsc-pill { height: 30px; padding: 0 12px; } }

/* ---------- the first screen ---------- */
.rsc-hero { position: relative; min-height: min(100vh, 1200px); display: flex; flex-direction: column; isolation: isolate; background: #07080B; }
/* the film fills the right three quarters (the whole frame, so the fire is not cropped away); the left quarter, where
   the headline sits, stays dark */
.rsc-reel { position: absolute; top: 0; bottom: 0; right: 0; left: 24%; z-index: -2; overflow: hidden; background: #07080B; }
.rsc-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 5% 50%; }
.rsc-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #07080B 0%, #07080B 26%, rgba(7, 8, 11, 0.9) 34%, rgba(7, 8, 11, 0.5) 46%, rgba(7, 8, 11, 0.12) 60%, rgba(7, 8, 11, 0) 100%),
    linear-gradient(0deg, rgba(7, 8, 11, 0.96) 0%, rgba(7, 8, 11, 0.66) 22%, rgba(7, 8, 11, 0) 44%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.7) 0%, rgba(7, 8, 11, 0) 12%); }
.rsc-in { flex: 1; width: 100%; max-width: 2800px; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--top-h) + clamp(16px, 3.4vh, 64px)) var(--pad) clamp(20px, 3vh, 40px); }
.rsc-copy { width: min(940px, 66vw); }
@media (min-width: 2200px) { .rsc-copy { width: 1280px; } }
.rsc-copy h1 { font-size: var(--f-h); line-height: 1.02; }
.rsc-lead { margin-top: 14px; max-width: 30em; font-size: var(--f-l); line-height: 1.5; color: #D5D9E2; }
/* the two ways in, side by side (2026-11-30: the start box that took everything at once is gone; each way has its own page) */
.rsc-ways { margin-top: clamp(20px, 3vh, 36px); display: flex; flex-wrap: wrap; gap: 12px; }
.rsc-btn--lg { height: 52px; padding: 0 24px; font-size: var(--f-l); }
.rsc-btn .i { width: 20px; height: 20px; }
@media (min-width: 2200px) { .rsc-btn--lg { height: 62px; padding: 0 32px; } .rsc-btn--lg .i { width: 24px; height: 24px; } }
@media (max-width: 760px) { .rsc-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } .rsc-ways .rsc-btn { width: 100%; } }
.rsc-credit { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: var(--f-s); color: var(--fg-3); }
.rsc-credit .i { width: 16px; height: 16px; }

/* back again: the video she was on, under the two ways in */
.rsc-back { margin-top: 10px; }
.rsc-cont { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 6px 16px 6px 6px; border-radius: 16px; background: var(--rsc-card); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: inherit; text-align: left; transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.rsc-cont:hover { background: var(--rsc-card-hover); border-color: rgba(255, 255, 255, 0.2); }
.rsc-cont__pic { flex: none; width: 96px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #05060A; }
.rsc-cont__pic img { width: 100%; height: 100%; object-fit: cover; }
.rsc-cont__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rsc-cont__k { font-size: var(--f-s); color: var(--fg-3); }
.rsc-cont__t { font-size: var(--f-b); font-weight: 600; color: #fff; }
.rsc-cont__p { font-size: var(--f-s); color: var(--fg-2); }
.rsc-cont > .i { flex: none; color: var(--fg-2); }


/* ---------- the seven features, each a way in ---------- */
.rsc-feats h2 { margin: 0 0 12px; }
.rsc-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 2200px) { .rsc-row { gap: 16px; } }
@media (max-width: 1180px) { .rsc-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rsc-feat { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 8px 8px 14px; border-radius: 18px; background: var(--rsc-card); border: 1px solid rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; text-align: left; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background var(--t-med) var(--ease); }
.rsc-feat:hover { transform: translateY(-3px); background: var(--rsc-card-hover); border-color: rgba(255, 255, 255, 0.2); }
.rsc-feat__t { display: flex; align-items: center; gap: 8px; padding: 2px 6px 0; font-size: var(--f-b); font-weight: 600; color: #fff; line-height: 1.3; }
.rsc-feat__t .i { width: 18px; height: 18px; color: var(--accent-fg); }
.rsc-feat__d { padding: 0 6px; font-size: var(--f-s); line-height: 1.45; color: var(--fg-3); }
@media (min-width: 2200px) { .rsc-feat { padding: 10px 10px 18px; border-radius: 22px; gap: 10px; } .rsc-feat__t .i { width: 22px; height: 22px; } }

/* small pictures that show each feature (real media) */
.rsc-mini { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #05060A; aspect-ratio: 16 / 10; }
.rsc-mini > img, .rsc-mini > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rsc-mini--covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.rsc-mini--rebuild { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.rsc-mini--covers > img, .rsc-mini--rebuild > img { position: static; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.rsc-prompt { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; padding: 6px 9px; border-radius: 9px; background: rgba(8, 9, 13, 0.86); color: #E6E9F0; font-size: var(--f-s); line-height: 1.35; }
.rsc-prompt b { color: var(--accent-fg); font-weight: 600; }
.rsc-cuts { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; height: 22px; display: flex; gap: 2px; padding: 3px; border-radius: 7px; background: rgba(6, 7, 10, 0.72); }
.rsc-cuts i { flex: var(--d) 1 0; border-radius: 2px; background: #fff; opacity: 0.9; }
.rsc-cuts i:nth-child(even) { opacity: 0.45; }
.rsc-cuts i.on { background: var(--accent); opacity: 1; }
.rsc-arrow { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
.rsc-arrow .i { width: 18px; height: 18px; }
.rsc-sub { position: absolute; left: 4px; right: 4px; bottom: 34px; z-index: 2; text-align: center; color: #fff; font-size: var(--f-s); line-height: 1.35; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); }
.rsc-sub span { background: rgba(0, 0, 0, 0.72); padding: 2px 6px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rsc-tl { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; height: 18px; display: flex; gap: 2px; padding: 3px; border-radius: 6px; background: rgba(6, 7, 10, 0.78); }
.rsc-tl i { flex: 1 1 0; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.rsc-tl i.c { background: #6EA0FF; }
.rsc-tl i.y { background: var(--success); }
.rsc-ig { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(6, 7, 10, 0.82); color: #fff; font-size: var(--f-s); font-weight: 600; }
.rsc-ig svg { width: 18px; height: 18px; flex: none; }
.rsc-ig__when { margin-left: auto; color: #7FE3B4; white-space: nowrap; }

/* ---------- under the first screen: what people made with it, then one more way in ---------- */
.rsc-made { width: 100%; max-width: 2800px; margin: 0 auto; padding: clamp(48px, 7vh, 96px) var(--pad) 32px; scroll-margin-top: 16px; }
.rsc-made > p { margin-top: 6px; font-size: var(--f-b); color: var(--fg-3); }
.rsc-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 2200px) { .rsc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rsc-film { display: block; width: 100%; color: inherit; text-align: left; border-radius: 14px; }
.rsc-film__pic { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: #05060A; }
.rsc-film__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.rsc-film:hover .rsc-film__pic img { transform: scale(1.03); }
.rsc-film b { display: block; margin-top: 10px; font-size: var(--f-b); font-weight: 600; color: #fff; }
.rsc-film > span:last-child { font-size: var(--f-s); color: var(--fg-3); }
.rsc-end { width: 100%; max-width: 2800px; margin: 0 auto; padding: 40px var(--pad) 72px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rsc-end p { font-family: var(--font-serif); font-size: 40px; line-height: 1.1; color: #fff; margin-right: auto; }
@media (min-width: 2200px) { .rsc-end p { font-size: 56px; } }

/* a short laptop window (1536 x 730, 1366 x 657): everything still in the first screen; the help line under the idea
   comes back as soon as it has something to warn about */
@media (min-width: 1101px) and (max-height: 860px) {
  .rsc-copy h1 { font-size: min(var(--f-h), 7.2vh); }
  .rsc-lead { margin-top: 10px; }
  .rsc-ways { margin-top: 16px; }
  .rsc-credit { display: none; }
  .rsc-mini { aspect-ratio: 2 / 1; }
  .rsc-feat[data-feat="write"] .rsc-pill--top { display: none; }   /* the shorter picture has room for its prompt only */
}
@media (min-width: 1101px) and (max-height: 700px) { .rsc { --top-h: 64px; } .rsc-in { padding-top: calc(var(--top-h) + 8px); gap: 16px; } .rsc-feat__d { display: none; } }

/* a tablet or a phone: the film on top as a picture (nothing over the fire), the words and the two ways in under it */
@media (max-width: 1100px) {
  .rsc-hero { min-height: 0; }
  .rsc-reel { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; z-index: 0; }
  .rsc-reel video { object-position: 50% 50%; }
  .rsc-shade { inset: 0 0 auto 0; height: 56.25vw; z-index: 1; background: linear-gradient(180deg, rgba(7, 8, 11, 0.86) 0%, rgba(7, 8, 11, 0.5) 14%, rgba(7, 8, 11, 0) 32%, rgba(7, 8, 11, 0) 52%, #07080B 100%); }
  /* the name and the buttons sit on the top of the film: a darker top edge, and a soft shadow under the name */
  .rsc-logo { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6); }
  .rsc-in { position: relative; z-index: 2; flex: none; margin-top: -72px; padding: 0 var(--pad) 32px; gap: 28px; }
  .rsc-copy { width: min(100%, 860px); }
}
/* ---------- a phone: the film on top as a picture, the words and the two ways in under it ---------- */
@media (max-width: 760px) {
  .rsc-top { gap: 12px; }
  .rsc-logo { font-size: 26px; }
  .rsc-right .rsc-btn { height: 40px; padding: 0 16px; }
  .rsc-right .rsc-btn--quiet { display: none; }
  .rsc-reel { aspect-ratio: 4 / 3; }
  .rsc-shade { height: 75vw; }
  .rsc-in { margin-top: -60px; padding-bottom: 28px; }
  .rsc-copy { width: 100%; }
  .rsc-lead { max-width: none; }
  .rsc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rsc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rsc-made { padding-top: 40px; }
  .rsc-end { padding: 32px var(--pad) 56px; gap: 12px; }
  .rsc-end p { flex-basis: 100%; font-size: 32px; }
  .rsc-cont { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rsc-feat, .rsc-feat:hover { transition: none; transform: none; }
  .rsc-film__pic img, .rsc-film:hover .rsc-film__pic img { transition: none; transform: none; }
}
