/* Explore (/). Values from Sume's explore-draft, explore-promo, explore-invite, Landing and LandingFooter modules. */
body { overflow: hidden; }
.scroll { overflow-y: auto; display: block; }
.landing { position: relative; z-index: 1; background: var(--l-surface); color: var(--l-ink); border-radius: 0 0 64px 64px; font-size: 16px; }
.hero { --chip-bg: #00000073; --chip-ink: #fff; --scrim: #0000008c; --foot-shade: #0000009e;
  --title-size: 32px; --title-weight: 500; --title-leading: 36px; --title-tracking: -.64px; --body-size: 15px; --body-leading: 21px;
  display: flex; flex-direction: column; gap: 32px; min-width: 0; padding: 16px 16px 64px; }
.media-card { position: relative; border-radius: 16px; overflow: hidden; }

/* films carousel: two per view */
.films-frame { position: relative; }
.films { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; container-type: inline-size; outline: none; }
.films::-webkit-scrollbar { display: none; }
.film-list { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50cqi - 6px); gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; }
.film { scroll-snap-align: start; min-width: 0; position: relative; }
.film a { display: flex; flex-direction: column; gap: 12px; border-radius: 12px; }
.film-media { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--l-surface); }
.film-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-cap { display: flex; flex-direction: column; gap: 2px; }
.film-title { color: var(--l-ink); font-size: 16px; font-weight: 600; line-height: 22px; }
.film-line { color: var(--l-muted); font-size: 14px; line-height: 20px; }
.film-controls { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 16/9; pointer-events: none; }
.feature-controls { position: absolute; top: 0; right: 0; z-index: 2; }
.feature-controls .sound { top: 12px; bottom: auto; }
.sound { pointer-events: auto; position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.film-arrow { position: absolute; top: calc(50% - 28px); transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink);
  display: inline-flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .15s; }
.film-arrow.prev { left: 12px; } .film-arrow.next { right: 12px; }
.films-frame:hover .film-arrow:not(:disabled), .films-frame:focus-within .film-arrow:not(:disabled) { opacity: 1; pointer-events: auto; }

/* Director Studio promo bar */
.promo { --ink: #fff; --muted: #ffffffc7; isolation: isolate; container: promo / inline-size; min-height: clamp(320px, 26vw, 420px); padding: clamp(28px, 3.4vw, 56px);
  display: flex; align-items: center; justify-content: center; background: #070708; color: var(--ink); }
.promo-backdrop { position: absolute; inset: 0; z-index: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .4s ease; }
.promo-scrim { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 46% 62% at 50% 50%, #000000b3 0%, #0000007a 58%, #00000057 100%); transition: opacity .4s; }
.promo:hover .promo-backdrop { filter: brightness(1.12); transform: scale(1.05); }
.promo:hover .promo-scrim { opacity: .86; }
.promo-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.4vw, 22px); text-align: center; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.promo:hover .promo-content { transform: translateY(-3px); }
.promo-lockup { display: flex; flex-direction: column; align-items: center; line-height: .86; }
.pl-brand { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; letter-spacing: -.3px; margin-bottom: 6px; line-height: 1.2; }
.pl-brand .mark { width: 1em; height: 1em; }
.pl-a { font: 400 clamp(56px, 6.4vw, 104px)/.86 'Anton', Impact, sans-serif; transform: scaleY(1.12); }
.pl-b { font: 400 clamp(44px, 5vw, 82px)/.9 'Anton', Impact, sans-serif; transform: scaleY(1.12); margin-top: .34em; }
.promo-line { margin: 0; max-width: 32rem; color: var(--muted); font-size: clamp(16px, 1.25vw, 20px); font-weight: 500; line-height: 1.4; letter-spacing: -.2px; }

/* feature + cards */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.feature { min-height: 320px; display: flex; align-items: flex-end; background: var(--l-surface); }
.feature-media { position: absolute; inset: 0; z-index: 0; }
.promo-backdrop video, .feature-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature::after { content: ''; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
.feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; }
.feature-headline { color: var(--chip-ink); font-size: var(--title-size); font-weight: var(--title-weight); line-height: var(--title-leading); letter-spacing: var(--title-tracking); }
.feature-line { max-width: 36ch; color: var(--chip-ink); font-size: var(--body-size); line-height: var(--body-leading); }
.feature-button { margin-top: 12px; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.feature-button:hover { background: color-mix(in oklab, var(--accent) 88%, transparent); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.card-link { height: 100%; min-height: 112px; padding: 16px; border-radius: 16px; background: var(--l-wash); color: var(--l-ink); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: background-color .12s; }
.card-link:hover { background: var(--l-track); }
.card-link[data-washed] { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 75%), var(--l-wash); }
.card-icon { width: 20px; height: 20px; color: var(--accent); }
.card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-title { font-size: 15px; font-weight: 400; line-height: 20px; }
.card-line { color: var(--l-muted); font-size: 13px; line-height: 18px; }

/* pay-as-you-go bar */
.invite { container: invite / inline-size; width: 100%; min-height: 132px; padding: 20px clamp(20px, 3.2vw, 48px); border-radius: 16px; background: var(--l-wash); color: var(--l-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2.4vw, 32px); text-align: start; transition: background-color .2s cubic-bezier(.2, .8, .2, 1); }
.invite:hover { background: var(--l-track); }
.invite-copy { display: grid; gap: 6px; min-width: 0; }
.invite-kicker { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.invite-headline { font-size: var(--title-size); font-weight: var(--title-weight); line-height: var(--title-leading); letter-spacing: var(--title-tracking); }
.invite-line { color: var(--l-ink); font-size: var(--body-size); line-height: var(--body-leading); }
.tickets { display: flex; align-items: center; justify-content: center; height: 100px; margin: -28px clamp(0px, 4vw, 64px) -12px 0; }
.ticket { width: 92px; height: 62px; margin-inline: -6px; padding: 8px 10px; border-radius: 8px; background: #f5f4ef; color: #0e0e0e; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 6px 16px #0006;
  transform: rotate(calc(var(--fan) * 8deg)) translateY(calc(var(--fan) * var(--fan) * 10px)); transform-origin: 50% 100%; transition: transform .42s cubic-bezier(.2, .8, .2, 1); position: relative;
  -webkit-mask: radial-gradient(circle at 100% 50%, transparent 6px, #000 6.5px); mask: radial-gradient(circle at 100% 50%, transparent 6px, #000 6.5px); }
.ticket:nth-child(2) { z-index: 1; }
.ticket b { font-size: 20px; font-weight: 700; line-height: 22px; }
.ticket small { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: #0e0e0e99; }
.invite:hover .ticket { transform: translateX(calc(var(--fan) * 14px)) rotate(calc(var(--fan) * 15deg)) translateY(calc(var(--fan) * var(--fan) * 4px - 12px)); }

/* showcase grid */
.remix { display: flex; flex-direction: column; gap: 16px; }
.lines { margin: 0; display: flex; flex-direction: column; color: var(--l-ink); font-size: 32px; font-weight: 400; line-height: 38px; letter-spacing: -.64px; text-wrap: balance; }
.grid { display: flex; flex-direction: column; gap: 8px; }
.grid-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.grid-row[data-shape=tall] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile-item { position: relative; min-width: 0; }
.tile { position: relative; display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--l-surface); }
[data-shape=tall] .tile { aspect-ratio: 9/16; }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 28px 10px 10px 12px; border-radius: 0 0 12px 12px;
  background: linear-gradient(to top, var(--foot-shade), transparent); opacity: 0; pointer-events: none; transition: opacity .15s; }
.tile-item:hover .tile-foot, .tile-item:focus-within .tile-foot { opacity: 1; }
/* sound on a tile: top right, so it never sits under the name and Recreate */
.tile-sound { top: 8px; right: 8px; bottom: auto; width: 28px; height: 28px; z-index: 3; }
.tile-sound svg { width: 15px; height: 15px; }
.tile-name { flex: auto; min-width: 0; color: var(--chip-ink); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-recreate { flex: none; padding: 5px 12px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 500; line-height: 16px; pointer-events: auto; }

/* footer (sits under the rounded landing card) */
.footer { position: relative; z-index: 0; margin-top: -64px; background: #101010; color: #f8f8f4; }
.f-main { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 56px; margin-inline: 8.5%; padding: calc(64px + 72px) 0 96px; }
.f-one { margin: 0; font-size: clamp(24px, 3.6vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.f-sub { margin: 12px 0 0; color: #ffffffb3; font-size: 14px; }
.f-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; font-size: 14px; line-height: 1.5; }
.f-group h2 { margin: 0 0 14px; font-size: inherit; font-weight: 500; line-height: inherit; color: #ffffffb3; }
.f-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.f-group a:hover, .f-links a:hover { color: #cb9fd2; }
.f-about { margin-inline: 8.5%; padding: 0 0 56px; color: #ffffffb3; font-size: 14px; line-height: 1.6; max-width: 880px; }
.f-about h2 { margin: 0 0 10px; color: #f8f8f4; font-size: 16px; font-weight: 500; }
.f-about p { margin: 0 0 14px; }
.f-models { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 14px; padding: 0; list-style: none; }
.f-models strong { color: #f8f8f4; font-weight: 500; }
.f-models span { font-family: var(--mono); font-size: 12px; }
.f-more a { color: var(--accent); }
.f-more a:hover { color: #cb9fd2; }
.f-fine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-inline: 8.5%; padding: 20px 0 40px; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); font-size: 14px; }
.f-fine small { font-size: inherit; color: #ffffffb3; }
.f-links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 280px; }
  .hero { --title-size: 26px; --title-leading: 30px; gap: 24px; padding: 12px 12px 48px; }
  .films { margin-inline: -12px; padding-inline: 12px; }
  .film-list { grid-auto-columns: calc(100cqi - 24px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* wide rows: one full-width clip, then two side by side; tall rows: a sideways-swipe strip */
  .grid-row[data-shape=wide] .tile-item:first-child { grid-column: 1 / -1; }
  .grid-row[data-shape=tall] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; }
  .grid-row[data-shape=tall]::-webkit-scrollbar { display: none; }
  .grid-row[data-shape=tall] .tile-item { flex: 0 0 calc((100% - 16px) / 2.4); scroll-snap-align: start; }
  .invite { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 18px; }
  .invite-copy { justify-items: center; }
  .tickets { margin: 8px 0 0; }
  .lines { font-size: 26px; line-height: 30px; }
  .f-main { grid-template-columns: 1fr; gap: 32px; margin-inline: 24px; }
  .f-fine { margin-inline: 24px; }
  .tile-foot { opacity: 1; }
}
@media (max-width: 760px) {
  body { overflow: auto; }
  .content.scroll { position: static; padding-top: 52px; overflow: visible; }
  .promo { min-height: 440px; padding: 24px; }
  .f-groups { grid-template-columns: minmax(0, 1fr); }
  /* phones: the feature card says it all; the eight icon cards stacked one per row took about 1000 px (owner 2026-11-21) */
  .cards { display: none; }
  /* phones: the whole tile opens Recreate, so just the name over a light fade */
  .tile-recreate { display: none; }
  .tile-foot { padding: 24px 10px 8px; }
  .tile-name { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .promo-backdrop, .promo-scrim, .promo-content, .ticket { transition: none; } }

/* sample viewer: a tapped clip plays large with sound, with the way into the studio under it */
.modal.viewer { background: #000e; }
.viewer-box { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: min(960px, 100%); }
.viewer-box video { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 14px; background: #000; }
.viewer-box .close { position: absolute; right: -4px; top: -40px; border: 0; background: transparent; color: #fff; font-size: 28px; }
.viewer-foot { display: flex; gap: 14px; align-items: center; justify-content: space-between; width: 100%; }
#viewerName { font-weight: 500; }
