/* Orxan Hüseynov — portfolio. Huisstijl: antraciet, zand, vuuroranje · Space Grotesk + Inter */
:root {
  --ink: #141414;
  --sand: #F2F0EB;
  --sand-2: #E6E2DA;
  --fire: #FF4D1F;
  --stone: #5E5E5E;
  --mist: #A8A59E;
  --line: #B8B4AC;
  --display: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--sand); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--sand); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* logo */
.wm { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1; text-decoration: none; }
.wm svg { height: 1em; width: .75em; margin: 0 .01em; overflow: visible; }
.sw-a { --b: currentColor; --g: currentColor; }
.sw-b { --b: var(--fire); --g: currentColor; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--sand); border-bottom: 2px solid var(--ink); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.bar .wm { font-size: 30px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; display: inline-block; }
.nav a:hover { border-color: var(--line); }
.nav a[aria-current="page"] { border-color: var(--fire); }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); width: 46px; height: 46px; cursor: pointer; padding: 0; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--sand); cursor: pointer; transition: background .15s, color .15s, transform .15s; min-height: 48px; }
.btn:hover { background: var(--fire); border-color: var(--fire); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.dark .btn.ghost { color: var(--sand); border-color: var(--sand); }
.dark .btn.ghost:hover { background: var(--sand); color: var(--ink); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* type */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin: 0; }
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--fire); flex: none; }
.dark .eyebrow, .dark .muted { color: var(--mist); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h3 { font-size: 24px; letter-spacing: -0.01em; line-height: 1.15; }
.muted { color: var(--stone); }
.page-title { font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -0.035em; margin: 18px 0 0; }
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-block: 72px 48px; }
.intro p { margin: 0; font-size: 19px; max-width: 46ch; }
.band { padding-block: 72px; }
.dark { background: var(--ink); color: var(--sand); }
.deep { background: var(--sand-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1.5px solid currentColor; padding: 6px 14px; font-size: 14px; font-weight: 500; border-radius: 99px; }

/* home */
.hero { padding-block: 72px 56px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; letter-spacing: -0.035em; margin: 20px 0 24px; }
.hero h1 em { font-style: normal; color: var(--fire); }
.hero .lead { font-size: 20px; max-width: 34ch; color: #3A3A3A; margin: 0 0 32px; }
.mark { background: var(--fire); aspect-ratio: 1; display: grid; place-items: center; max-width: 100%; border: 0; padding: 0; cursor: pointer; width: 100%; }
.mark svg { width: 62%; height: auto; }
.mark .spark { opacity: 0; }
.mark.play .ring { animation: draw .8s ease-out both; }
.mark.play .s1 { animation: in-l .55s .55s cubic-bezier(.3,1.6,.5,1) both; }
.mark.play .s2 { animation: in-r .55s .55s cubic-bezier(.3,1.6,.5,1) both; }
.mark.play .spark { animation: spark .5s 1s ease-out both; }
.mark .ring { stroke-dasharray: 390; }
@keyframes draw { from { stroke-dashoffset: 390; } to { stroke-dashoffset: 0; } }
@keyframes in-l { from { transform: translateX(-60px) rotate(-30deg); } }
@keyframes in-r { from { transform: translateX(60px) rotate(30deg); } }
@keyframes spark { 0% { opacity: 0; transform: scale(.2); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.s1, .s2, .spark { transform-box: view-box; transform-origin: 80px 80px; }
@media (prefers-reduced-motion: reduce) { .mark.play * { animation: none !important; } }
.mark-hint { font-size: 13px; color: var(--stone); margin-top: 10px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--sand); border: 2px solid var(--ink); min-width: 0; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--fire); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card .go { margin-top: 6px; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--fire); }
.card .ph { aspect-ratio: 16 / 10; background: var(--ink); display: grid; place-items: center; }

/* motion */
.reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.clip { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.frame { aspect-ratio: 16 / 10; border: 1.5px dashed #4A4A4A; background: #1C1C1C; display: grid; place-items: center; position: relative; width: 100%; cursor: pointer; padding: 0; color: var(--sand); }
.frame:hover .play { background: var(--fire); border-color: var(--fire); }
.frame video { width: 100%; height: 100%; object-fit: contain; }
.frame .play { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--sand); display: grid; place-items: center; transition: background .15s; }
.frame .play::after { content: ""; border-left: 18px solid var(--sand); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.frame .tag { position: absolute; left: 12px; top: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.pipeline { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; border-top: 1px solid #3A3A3A; padding-top: 28px; }
.pipeline .step { font-family: var(--display); font-weight: 700; font-size: 22px; }
.pipeline .step small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--mist); }
.pipeline .arrow { color: var(--fire); font-size: 24px; }

/* illustratie */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { background: transparent; border: 2px solid var(--ink); padding: 10px 18px; font-weight: 600; font-size: 14px; letter-spacing: .04em; cursor: pointer; min-height: 44px; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--sand); }
.filter:hover:not([aria-pressed="true"]) { border-color: var(--fire); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { background: var(--sand-2); display: flex; flex-direction: column; min-width: 0; border: 0; padding: 0; text-align: left; cursor: zoom-in; }
.tile[hidden] { display: none !important; }
.tile .art { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.tile .art img { max-height: 100%; width: auto; box-shadow: 0 10px 30px rgba(20,20,20,.18); }
.tile .cap { padding: 14px 18px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tile .cap span { font-size: 13px; color: var(--stone); }
.tile:hover .cap h3 { color: var(--fire); }
.rar-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rar { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #E6ECF5; font-size: 12px; }
.rar i { width: 52px; height: 52px; border: 4px solid; border-radius: 6px; background: #13172F; display: block; }

/* game */
.game-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
.game-hero > button { padding: 0; border: 0; cursor: zoom-in; }
.game-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.facts { display: flex; flex-direction: column; border-top: 2px solid var(--ink); margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.facts dd { margin: 4px 0 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 32px; }
.tab { background: none; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; padding: 14px 22px; font-family: var(--display); font-weight: 700; font-size: 20px; cursor: pointer; color: var(--stone); min-height: 48px; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--fire); }
.tab:hover { color: var(--ink); }
.panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.panel[hidden] { display: none; }
.panel .shots { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.panel .shots button { padding: 0; border: 0; cursor: zoom-in; }
.panel .shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.panel h3 { font-size: 34px; margin: 6px 0 12px; }
.pal { display: flex; gap: 6px; margin: 20px 0; }
.pal i { flex: 1; height: 44px; display: flex; align-items: flex-end; padding: 4px; font-style: normal; font-size: 11px; font-family: var(--body); }
.mobs { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.mobs div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mobs dt { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); padding-top: 2px; }
.mobs dd { margin: 0; }
.city { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.city button { padding: 0; border: 0; cursor: zoom-in; text-align: left; background: none; }
.city img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.city span { display: block; font-size: 14px; color: var(--stone); padding-top: 8px; }
.made { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.made li { background: var(--ink); color: var(--sand); padding: 8px 16px; font-size: 14px; font-weight: 500; }

/* over mij */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; padding-block: 72px; }
.about .photo { position: relative; }
.about .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about .photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--fire); }
.about .text p { font-size: 19px; max-width: 58ch; margin: 0 0 18px; }
.quals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.quals div { border-top: 2px solid currentColor; padding-top: 14px; min-width: 0; }
.quals b { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.quals p { font-size: 15px !important; color: var(--mist); margin: 0 !important; }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.lists h3 { font-size: 18px; margin-bottom: 12px; }
.lang { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.lang li { display: flex; justify-content: space-between; gap: 12px; }
.dots { display: flex; gap: 5px; align-items: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #6A6A6A; display: block; }
.dots i.on { background: var(--fire); border-color: var(--fire); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--fire); }
.timeline small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.timeline b { font-family: var(--display); font-size: 18px; }
.timeline span { display: block; color: var(--stone); font-size: 15px; }
.edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; padding-block: 24px 88px; }
.cinfo { margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.cinfo div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.cinfo dd { margin: 6px 0 0; font-size: 19px; font-weight: 500; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.copy { font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; background: none; border: 1.5px solid var(--ink); padding: 6px 12px; cursor: pointer; min-height: 34px; }
.copy:hover { background: var(--ink); color: var(--sand); }
form.cform { display: flex; flex-direction: column; gap: 18px; background: var(--sand-2); padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border: 2px solid var(--ink); background: var(--sand); color: var(--ink); border-radius: 0; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fire); }
.field .err { color: #B3261E; font-size: 14px; min-height: 0; }
.field.bad input, .field.bad textarea { border-color: #B3261E; }
.sent { background: var(--ink); color: var(--sand); padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.sent h3 { font-size: 26px; }

/* footer + extras */
.site-foot { border-top: 2px solid var(--ink); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 13px; color: var(--stone); letter-spacing: .08em; text-transform: uppercase; }
.site-foot .wm { font-size: 22px; color: var(--ink); }
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; background: var(--fire); color: var(--ink); border: 0; cursor: pointer; font-size: 22px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; transform: translateY(10px); z-index: 15; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.lightbox { position: fixed; inset: 0; background: rgba(14,14,14,.94); z-index: 40; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr) auto; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); color: var(--sand); }
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; grid-row: 2; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
.lightbox p { grid-column: 2; grid-row: 3; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lb-btn { background: none; border: 2px solid var(--sand); color: var(--sand); width: 48px; height: 48px; cursor: pointer; font-size: 22px; align-self: center; justify-self: center; }
.lb-btn:hover { background: var(--fire); border-color: var(--fire); color: var(--ink); }
.lb-close { grid-column: 3; grid-row: 1; }
.lb-prev { grid-column: 1; grid-row: 2; }
.lb-next { grid-column: 3; grid-row: 2; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--sand); padding: 12px 20px; font-size: 15px; z-index: 45; max-width: calc(100% - 32px); }
.toast[hidden] { display: none; }
[data-view][hidden] { display: none !important; }

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--sand); border-bottom: 2px solid var(--ink); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px max(24px, env(safe-area-inset-right, 0px)) 16px max(24px, env(safe-area-inset-left, 0px)); }
  .nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero, .intro, .game-hero, .panel, .about, .contact-grid, .edu { grid-template-columns: minmax(0, 1fr); }
  .mark { max-width: 300px; }
  .cards, .reel, .gallery { grid-template-columns: minmax(0, 1fr); }
  .city { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quals, .lists { grid-template-columns: minmax(0, 1fr); }
  .lightbox { grid-template-columns: 52px minmax(0, 1fr) 52px; }
  form.cform { padding: 22px; }
}

.panel .chars { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.panel .chars button { position: relative; padding: 0; border: 0; cursor: zoom-in; background: #141414; overflow: hidden; }
.panel .chars img { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform .4s ease; }
.panel .chars button:hover img, .panel .chars button:focus-visible img { transform: scale(1.04); }
.panel .chars span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(20,20,20,.85)); color: #F2F0EB; font-size: 15px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.panel .chars span b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #FF4D1F; font-weight: 600; }
@media (max-width: 760px) { .panel .chars { grid-template-columns: 1fr; } .panel .chars img { height: auto; aspect-ratio: 16 / 9; } }

.clip[hidden] { display: none !important; }
.reel.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sub-h { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 8px 0 24px; padding-top: 24px; border-top: 2px solid currentColor; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 88px; }
.ph-tile { padding: 0; border: 0; cursor: zoom-in; background: #141414; overflow: hidden; display: block; }
.ph-tile img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .4s ease; }
.ph-tile.wide { grid-column: span 2; }
.ph-tile.wide img { aspect-ratio: 3 / 2; height: 100%; }
.ph-tile:hover img, .ph-tile:focus-visible img { transform: scale(1.03); }
.ph-note { background: var(--sand-2); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.ph-note p:last-child { margin: 0; font-size: 18px; line-height: 1.5; }
@media (max-width: 900px) { .photos, .reel.two { grid-template-columns: minmax(0, 1fr); } .ph-tile.wide { grid-column: auto; } }
.tile .art { min-height: 0; }
.tile .art img.tall { height: 100%; width: auto; max-height: none; }
.tile .art:has(img.tall) { grid-template-rows: minmax(0, 1fr); }
.dark .filter { border-color: var(--sand); color: var(--sand); }
.dark .filter[aria-pressed="true"] { background: var(--sand); color: var(--ink); }
.dark .filter:hover:not([aria-pressed="true"]) { border-color: var(--fire); }
.frame { overflow: hidden; }
.frame video.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.frame.ready { border-style: solid; border-color: #2A2A2A; background: #0E0E0E; }
.frame.ready .tag { z-index: 1; color: #F2F0EB; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.frame.ready .play { position: relative; z-index: 1; background: rgba(20,20,20,.45); }
.frame.playing video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0E0E0E; }
.mark.has-video { overflow: hidden; }
.mark.has-video svg { display: none; }
.mark.has-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame:has(.poster) { border-style: solid; border-color: #2A2A2A; }
.frame:has(.poster) .tag { z-index: 1; color: #F2F0EB; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.frame:has(.poster) .play { position: relative; z-index: 1; background: rgba(20,20,20,.45); }
.frame.ready:not(.yt) .poster { display: none; }
.frame.yt .poster { object-fit: cover; }
.frame.yt { border-style: solid; border-color: #2A2A2A; }
.frame.yt .tag { z-index: 1; color: #F2F0EB; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.frame.yt .play { position: relative; z-index: 1; background: rgba(20,20,20,.45); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip .credit { margin: 8px 0 0; font-size: 13px; color: var(--mist); }
.clip .credit b { color: var(--sand); font-weight: 600; }

