/* Brand Face Creators. Dan and Hasan's roster (Nov 2026) in the Brand Face tokens; paper mode only, like brand-face.com. */
@font-face { font-family: "Plus Jakarta Sans Fallback"; src: local("Arial");
  size-adjust: 105.22%; ascent-override: 98.84%; descent-override: 20.91%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans Fallback"; src: local("Arial Bold"), local("Arial"); font-weight: 700 800;
  size-adjust: 102.43%; ascent-override: 101.53%; descent-override: 21.48%; line-gap-override: 0%; }

:root {
  --violet: #4E18F3;
  --violet-deep: #3B0FC4;
  --ink: #16102B;
  --ink-soft: #5A5470;
  --lavender: #D1C3FC;
  --lavender-soft: #E9E2FD;
  --paper: #FAF9FE;
  --white: #FFFFFF;
  --line: #E6E1F5;
  --shadow-card: 0 1px 2px rgba(22,16,43,.05), 0 4px 12px rgba(22,16,43,.06), 0 12px 32px rgba(78,24,243,.07);
  --ease-state: cubic-bezier(.19, 1, .22, 1);
  --ease-spring: cubic-bezier(.36, 1.56, .36, 1);
  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --ease-spring: linear(0, 0.008 1.3%, 0.031 2.5%, 0.121 5.3%, 0.656 16%, 0.862 21%, 0.933 23.3%, 0.995 25.8%, 1.041 28.2%, 1.072 30.8%, 1.088 32.8%, 1.097 34.8%, 1.1 37%, 1.098 39.3%, 1.083 43.5%, 1.017 57.3%, 1.002 62.3%, 0.993 67.5%, 0.99 76.3%, 1); }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

nav { background: var(--white); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 8px; }
.logo i { width: 30px; height: 30px; border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; font-style: normal; font-weight: 800; }

.hero { text-align: center; padding-block: 56px 32px; }
.hero h1 { margin: 0; font-size: clamp(32px, 5.4vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.hl { background: var(--lavender-soft); border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p { color: var(--ink-soft); max-width: 520px; margin: 16px auto 0; font-size: 17px; text-wrap: pretty; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.grid li { min-width: 0; }
.card { display: grid; gap: 10px; align-content: start; width: 100%; border: 0; padding: 0; background: none; text-align: left; border-radius: 22px; }
.card:focus-visible { outline-offset: 4px; }
.video { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); background: linear-gradient(170deg, var(--lavender), var(--lavender-soft)); transition: transform .25s var(--ease-state); }
/* A faint inner edge so light posters keep their shape on the paper ground. */
.video::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(22,16,43,.06); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .card:hover .video { transform: translateY(-3px); } }
.card:active .video { transform: scale(.96); }
.video img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video video { opacity: 0; transition: opacity .3s var(--ease-state); }
.video video.on { opacity: 1; }
.play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(22,16,43,.15); transition: opacity .2s var(--ease-state); }
.play::after { content: ""; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.video.previewing .play { opacity: 0; }
.info { display: grid; gap: 2px; padding-inline: 2px; }
.name { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.where { font-size: 14px; font-weight: 500; color: var(--ink); margin: 0; }

footer { text-align: center; padding-block: 48px; font-size: 14px; }
footer a { color: var(--ink-soft); display: inline-block; padding: 12px; }

dialog { border: 0; border-radius: 24px; padding: 0; width: min(340px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
dialog::backdrop { background: rgba(22,16,43,.5); }
dialog[open] { animation: dlg-in .42s var(--ease-spring); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.dlg { display: grid; gap: 12px; padding: 14px 14px 18px; }
.dlg h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; padding-inline: 4px; }
.dlg .where { font-size: 15px; padding-inline: 4px; margin-top: 2px; }
.vplayer { width: 100%; height: auto; max-height: calc(100dvh - 170px); aspect-ratio: 9 / 16; border-radius: 10px; background: var(--ink); object-fit: cover; }
.close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(22,16,43,.15); }

@media (prefers-reduced-motion: reduce) {
  .video, .video video, .play { transition: none; }
  .card:hover .video, .card:active .video { transform: none; }
  dialog[open] { animation: none; }
}
