/* AMP'd UP Images site. Layout: dark editorial frame, campaign work leads the page, two service paths (Brand Spotlight, Dream Weaver). */
:root {
  --bg: #080c14;
  --surface: #111827;
  --surface-2: #172033;
  --line: #243049;
  --text: #f4f1e9;
  --text-2: #b8c0cc;
  --gold: #d9ab52;
  --gold-deep: #b98c34;
  --cyan: #16d6e5;
  --on-gold: #1a1406;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --label: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #efc678; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 650; }
p { margin: 0; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 9vw, 112px); }
.lead { color: var(--text-2); font-size: 1.15rem; }
.label { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--gold); transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: #efc678; border-color: #efc678; color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8, 12, 20, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { height: 48px; width: auto; }
.brand span { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.1em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--gold); color: var(--text); }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.menu-btn {
  display: none; min-height: 44px; min-width: 44px; padding: 8px 14px;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: 700 0.95rem var(--body); cursor: pointer;
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-block: 14px 22px; }
.hero .lead { max-width: 46ch; margin-bottom: 30px; }
.hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--text-2); }
.hero-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); align-items: start; }
.hero-media figure { margin: 0; }
.hero-media figure:nth-child(2) { margin-top: clamp(20px, 4vw, 52px); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.hero-media figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--text-2); line-height: 1.35; }

/* Section heads */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--text-2); }

/* Work grid */
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.78fr); gap: clamp(12px, 2vw, 24px); align-items: stretch; }
.tile {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  font: inherit; transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: var(--gold); transform: translateY(-4px); }
.tile-img { display: block; width: 100%; height: auto; background: #05080e; }
.tile-img.portrait { aspect-ratio: 9 / 16; object-fit: contain; }
.tile-img.wide { aspect-ratio: 16 / 9; object-fit: contain; }
.tile-text { display: grid; gap: 4px; padding: 16px 18px 20px; align-content: start; flex: 1; }
.tile-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.tile-cat { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.tile-open { color: var(--text-2); font-size: 0.9rem; margin-top: 6px; }
.tile-wide .tile-text { padding: 22px 24px 26px; gap: 10px; }
.tile-wide .tile-desc { color: var(--text-2); font-size: 0.98rem; }

/* Project dialogs */
dialog.project {
  width: min(1080px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text);
}
dialog.project::backdrop { background: rgba(3, 6, 12, 0.82); }
.dlg-inner { padding: clamp(18px, 3vw, 36px); display: grid; gap: 22px; }
.dlg-head { display: flex; gap: 16px; align-items: start; justify-content: space-between; }
.dlg-head h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.dlg-close {
  flex: none; min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); font: 700 0.95rem var(--body);
}
.dlg-close:hover { border-color: var(--gold); }
.disclosure { font-size: 0.92rem; color: var(--gold); font-weight: 600; }
.dlg-copy { display: grid; gap: 12px; color: var(--text-2); }
.dlg-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dlg-gallery a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #05080e; }
.dlg-gallery img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.dlg-note { font-size: 0.88rem; color: var(--text-2); }
.dlg-video { display: grid; gap: 8px; justify-items: start; }
.dlg-video video { width: min(100%, 360px); height: auto; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; border: 1px solid var(--line); }
.yt-facade { position: relative; display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-facade .play span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 1.6rem; padding-left: 5px; }
.yt-frame { width: 100%; max-width: 760px; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }

/* Brand Spotlight */
.spot { background: linear-gradient(180deg, var(--bg), #0a1120 40%, var(--bg)); }
.spot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.spot-copy { display: grid; gap: 20px; position: sticky; top: 100px; }
.spot-copy .lead { color: var(--text); }
.spot-sub { font-family: var(--display); font-size: 1.25rem; color: var(--gold); font-weight: 600; }
.price-card { background: var(--surface); border: 1px solid var(--gold); border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 1; }
.price span { color: var(--text-2); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.addons { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.addons h4 { font-size: 1.05rem; }
.addon { display: flex; justify-content: space-between; gap: 16px; }
.addon span:last-child { font-weight: 700; color: var(--gold); white-space: nowrap; }
.small { font-size: 0.9rem; color: var(--text-2); }
.paths { display: grid; gap: 10px; margin-top: 4px; }

/* Dream Weaver */
.dw-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.dw-feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.dw-feature figcaption { font-size: 0.88rem; color: var(--text-2); margin-top: 8px; }
.dw-feature .copy { display: grid; gap: 18px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.tier .amt { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.tier .len { color: var(--gold); font-weight: 600; }
.tier ul { display: grid; gap: 6px; color: var(--text-2); font-size: 0.98rem; }
.tier .btn { justify-self: start; margin-top: 4px; }
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.also .tier { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.also .tier > div { display: grid; gap: 6px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--gold); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Step " counter(s); font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--text-2); font-size: 0.98rem; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.svc p { color: var(--text-2); font-size: 0.96rem; }
.svc .tag { color: var(--gold); font-weight: 700; font-size: 0.9rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.mosaic { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #05080e; }
.mosaic img { width: 100%; height: auto; }
.mosaic canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-copy { display: grid; gap: 18px; }
.about-copy p { color: var(--text-2); }

/* Community */
.community { background: var(--surface); border-block: 1px solid var(--line); }
.community-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.community .copy { display: grid; gap: 16px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; background: var(--bg); }
.social a:hover { border-color: var(--gold); }
.join-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 52px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 20px 18px; color: var(--text-2); }

/* Final CTA and terms */
.final { text-align: left; }
.final-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 22px; }
.terms { display: grid; gap: 12px; max-width: 820px; }
.terms li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.terms strong { color: var(--text); }
.terms span { color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--text-2); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-size: 1rem; color: var(--text); margin-bottom: 10px; font-family: var(--body); font-weight: 700; }
.foot-grid ul { display: grid; gap: 6px; }
.foot-grid a { color: var(--text-2); }
.foot-grid a:hover { color: var(--gold); }
.foot-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; display: grid; gap: 6px; }

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: 1 / -1; }
  .tile-wide .tile-img.wide { aspect-ratio: 16 / 9; }
  .steps, .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { flex-wrap: wrap; gap: 8px 12px; }
  .nav .btn.nav-join { display: none; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 14px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; }
  .spot-copy { position: static; }
  .hero-grid, .spot-grid, .dw-feature, .about-grid, .community-grid { grid-template-columns: 1fr; }
  .also { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .steps, .svc { grid-template-columns: 1fr; }
  .dlg-gallery { grid-template-columns: 1fr; max-width: 320px; }
  .hero-media figcaption { display: none; }
  .brand span { display: none; }
  .also .tier { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .tile:hover { transform: none; }
}

.soon { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border: 1px dashed var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.founder-card { margin: 0; }
.founder-card img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.about-stack { display: grid; gap: 28px; min-width: 0; }
.nav-links a.btn { padding: 8px 18px; border: 2px solid var(--gold); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--on-gold); }
.nav-links a.btn-primary:hover { background: #efc678; border-color: #efc678; }
@media (min-width: 861px) { .founder-card { position: sticky; top: 100px; } }

.form { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.form .btn { justify-self: start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; color: var(--gold); }
.form-status.err { color: #ff9a8a; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-grid .sec-head { margin-bottom: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Brief pages */
.brief-wrap { max-width: 820px; display: grid; gap: 28px; }
.brief-wrap h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; color: var(--text-2); margin-top: 16px; }
.brief { gap: 28px; }
.brief-sec { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 30px); }
.brief-sec h2 { font-size: 1.5rem; }
.field { display: grid; gap: 6px; }
.hint { color: var(--text-2); font-size: 0.9rem; font-weight: 400; }
.req { color: var(--text-2); font-weight: 400; font-size: 0.85rem; }
.group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.group legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 6px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; line-height: 1.45; padding: 6px 0; min-height: 44px; }
.choice input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--gold); }
.choice.solo { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form input[type=file] { padding: 10px; }
.filelist { display: grid; gap: 6px; font-size: 0.92rem; }
.filelist li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.filelist li span { min-width: 0; overflow-wrap: anywhere; }
.upmsg { color: var(--gold); font-size: 0.9rem; }
.link-btn { background: none; border: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font: inherit; min-height: 44px; padding: 0 8px; }
.tierlist { display: grid; gap: 8px; color: var(--text-2); }
#done { display: grid; gap: 18px; }
#done h2 { font-size: 1.6rem; }

/* Music Videos & Selected Work */
.vlist { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vbtn { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 16px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s ease, transform .15s ease; min-height: 56px; }
.vbtn:hover { border-color: var(--gold); }
.vbtn:active { transform: scale(0.97); }
.vbtn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.vthumb { position: relative; flex: none; width: 84px; height: 48px; border-radius: 8px; overflow: hidden; background: #05080e; display: grid; place-items: center; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vbtn.is-portrait .vthumb img { object-fit: contain; }
.vplay { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 0.6rem; display: grid; place-items: center; padding-left: 2px; }
.vlabel { min-width: 0; overflow-wrap: anywhere; }
.vids-more { margin-top: 28px; }
.vids-more a { color: var(--text-2); text-underline-offset: 4px; }
.vids-more a:hover { color: var(--gold); }
.vmodal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--text); }
.vmodal::backdrop { background: rgba(5, 8, 14, 0.85); backdrop-filter: blur(4px); }
.vmodal[open] { display: grid; place-items: center; padding: 16px; }
.vmodal-box { position: relative; width: min(100%, 960px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; animation: vgrow .35s cubic-bezier(.25,.46,.45,.94); }
.vmodal-box.portrait { width: min(100%, 420px, calc((100dvh - 120px) * 9 / 16)); }
.vmodal-stage { aspect-ratio: 16 / 9; background: #000; }
.vmodal-box.portrait .vmodal-stage { aspect-ratio: 9 / 16; }
.vmodal-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.5); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.vmodal-close:focus-visible, .vmodal-bar a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.vmodal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 16px; }
.vmodal-bar p { font-weight: 600; min-width: 0; }
.vmodal-bar a { color: var(--text-2); text-underline-offset: 4px; }
@keyframes vgrow { from { opacity: 0; transform: scale(0.1); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .vmodal-box { animation: none; } .vbtn { transition: none; } }
