/* Shared reset and accessibility helpers. Every template loads this first, then its own style.css. */
/* base.css without its Google Fonts @import: the looks load that font themselves, without blocking (2026-09-30) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; margin: 0; }
button:disabled { cursor: default; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
template { display: none !important; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; font-size: 16px; border-radius: 8px; background: #111; color: #fff; text-decoration: none; }
.skip-link:focus { top: 16px; outline: 3px solid #fff; }

[data-va="agent.phone"], [data-va$="duration"] { white-space: nowrap; }

/* headshot injected by VA.bind into any [data-va-photo] box; the box sets size and shape */
[data-va-photo] { position: relative; overflow: hidden; }
.va-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-pos, 50% 20%); }

/* social icon anchors from VA.bind */
.va-social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.va-social svg { width: 24px; height: 24px; flex: none; }

/* every focusable control gets a visible ring; templates may restyle via --focus */
:focus-visible { outline: 3px solid var(--focus, #ffbf47); outline-offset: 3px; }

/* ---------- top navigation (behaviour shared, look per template via the --nav-* variables) ---------- */
html { scroll-padding-top: 84px; }
.va-nav {
  position: fixed; top: var(--nav-top, 0); left: 0; right: 0; z-index: 80; height: var(--nav-h, 64px);
  display: flex; align-items: center; gap: 18px;
  /* the bar spans the window, its contents line up with the page's content width */
  padding: 0 max(clamp(16px, 3vw, 32px), calc((100vw - var(--nav-max, 1240px)) / 2));
  color: var(--nav-fg, #fff); font-family: var(--nav-font, inherit); font-size: var(--nav-size, 15px); font-weight: var(--nav-weight, 600);
  letter-spacing: var(--nav-tracking, 0.04em); text-transform: var(--nav-case, none);
  background: var(--nav-bg-top, transparent); transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
/* "Back to all sites" (only when arriving from our showcase pages): the gallery's own control, so one neutral
   look on every site, pinned far left of the always-visible top bar */
.va-back {
  order: -1; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 11px;
  border-radius: 999px; background: #fff; color: #16121F; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; text-transform: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(22, 18, 31, 0.14); transition: transform 0.15s, box-shadow 0.15s;
}
.va-back:hover { transform: translateX(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(22, 18, 31, 0.2); }
.va-back:focus-visible { outline: 3px solid #FFC53D; outline-offset: 3px; }
.va-back-short { display: none; }
/* the pill must never cost the actor their name: the spacer that centres the links gives way first */
.va-nav.has-back::after { flex-grow: 0; }
.va-nav.has-back .va-nav-brand { flex: 1 1 auto; }
@media (max-width: 700px) {
  .va-nav.has-back { gap: 10px; }
  .va-nav.has-back .va-nav-mark { display: none; }
  .va-back { height: 38px; padding: 0 13px 0 9px; }
  .va-back-long { display: none; }
  .va-back-short { display: inline; }
}
.va-nav.is-stuck { background: var(--nav-bg, rgba(0, 0, 0, 0.82)); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--nav-line, rgba(255, 255, 255, 0.1)); }
/* brand left, links centred, one call to action right */
.va-nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; flex: 1 1 0; }
.va-nav-cta { flex: none; }
.va-nav::after { content: ""; flex: 1 1 0; order: 3; }
.va-nav-cta { order: 4; }
.va-nav-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--nav-mark-radius, 50%); background: var(--nav-accent, #fff); color: var(--nav-accent-fg, #000); font-family: var(--nav-mark-font, inherit); font-size: 15px; font-weight: 700; letter-spacing: 0; flex: none; }
.va-nav-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--nav-name-size, 16px); font-family: var(--nav-name-font, inherit); text-transform: var(--nav-name-case, none); letter-spacing: var(--nav-name-tracking, 0.02em); }
.va-nav-links { display: flex; align-items: center; justify-content: center; gap: var(--nav-gap, 6px); flex: 0 1 auto; order: 2; }
.va-nav-links a { display: inline-block; padding: 8px 12px; border-radius: var(--nav-link-radius, 6px); text-decoration: none; color: inherit; opacity: 0.86; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.va-nav-links a:hover { opacity: 1; background: var(--nav-hover, rgba(255, 255, 255, 0.1)); }
.va-nav-links a[aria-current="true"] { opacity: 1; color: var(--nav-accent, #fff); box-shadow: inset 0 -2px 0 var(--nav-accent, #fff); border-radius: var(--nav-link-radius, 6px) var(--nav-link-radius, 6px) 0 0; }
.va-nav-cta { display: inline-block; background: var(--nav-accent, #fff); color: var(--nav-accent-fg, #000); text-decoration: none; padding: 9px 16px; border-radius: var(--nav-link-radius, 6px); white-space: nowrap; }
.va-nav-cta:hover { filter: brightness(1.08); }
.va-nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; order: 5; }
.va-nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
.is-open .va-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .va-nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .va-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .va-nav-toggle { display: flex; }
  .va-nav-links { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--nav-bg, rgba(0, 0, 0, 0.94)); backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
  .is-open .va-nav-links { display: flex; }
  .va-nav-links a { padding: 12px 14px; font-size: 17px; }
  .va-nav-links a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--nav-accent, #fff); border-radius: 6px; }
  .va-nav::after { display: none; }
  .va-nav-brand { flex: 1 1 auto; }
  .va-nav-cta { font-size: 14px; padding: 8px 12px; }
  .va-nav.is-open { background: var(--nav-bg, rgba(0, 0, 0, 0.94)); }
}

/* ---------- promo band (same on every template, injected by VA.promo) ---------- */
.va-promo {
  position: relative; isolation: isolate; overflow: hidden; background: #0b0d12; color: #f4f6fa;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; text-align: center; padding: 64px 24px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.va-promo::before {
  content: ""; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none; opacity: 0.55; filter: blur(60px);
  background:
    radial-gradient(circle at 12% 60%, #15a2c2 0, transparent 26%),
    radial-gradient(circle at 34% 25%, #f26b21 0, transparent 22%),
    radial-gradient(circle at 58% 75%, #8dc63f 0, transparent 22%),
    radial-gradient(circle at 80% 30%, #e0338c 0, transparent 24%),
    radial-gradient(circle at 92% 80%, #1f5898 0, transparent 26%);
}
.va-promo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #15a2c2, #8dc63f, #f7b32b, #f26b21, #e0338c, #7c5cff, #15a2c2); }
.va-promo-inner { width: min(100%, 880px); margin: 0 auto; }
.va-promo-head { font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 30px; }
.va-promo-head em { font-style: normal; background: linear-gradient(90deg, #4ad4ee, #8dc63f 45%, #f7b32b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.va-promo-lockup { display: inline-flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-decoration: none; color: inherit; padding: 16px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.va-promo-lockup:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.va-promo-logo { height: 64px; width: auto; max-width: 100%; display: block; }
.va-promo-cta { display: inline-block; margin-top: 26px; font-weight: 700; font-size: 16px; color: #0b0d12; background: #f4f6fa; padding: 12px 24px; border-radius: 999px; text-decoration: none; transition: transform 0.2s, background 0.2s; }
.va-promo-cta:hover { background: #fff; transform: translateY(-2px); }
.va-promo-small { margin: 22px 0 0; font-size: 14px; font-weight: 500; color: rgba(244, 246, 250, 0.62); }
@media (max-width: 600px) {
  .va-promo { padding: 48px 16px 44px; }
  .va-promo-lockup { gap: 12px; padding: 14px 18px; }
  .va-promo-logo { height: 44px; }
}

/* an element revealed after it was already scrolled past shows its finished state: no entrance played unseen */
.is-settled { transition: none !important; }
.va-nomotion *, .va-nomotion *::before, .va-nomotion *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- scroll entrances, every look (VA.motion). The look chooses the flavour with --va-enter and its
   feel with --va-enter-dur / --va-enter-ease / --va-stagger. Individual transform properties only (translate,
   scale, rotate), so a look's own transform on the same element still applies, and nothing below ever moves. */
html.va-motion .va-enter:not(.is-in) { opacity: 0; }
html.va-motion .va-enter.is-in:not(.is-settled) {
  animation: var(--va-enter, va-rise) var(--va-enter-dur, 0.7s) var(--va-enter-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) calc(var(--va-i, 0) * var(--va-stagger, 70ms)) backwards;
}
@keyframes va-rise  { from { opacity: 0; translate: 0 34px; } }
@keyframes va-drop  { from { opacity: 0; translate: 0 -28px; } }
@keyframes va-pop   { from { opacity: 0; scale: 0.55; } }
@keyframes va-fade  { from { opacity: 0; } }
@keyframes va-blur  { from { opacity: 0; filter: blur(14px); scale: 1.05; } }
@keyframes va-slide { from { opacity: 0; translate: -56px 0; } }
@keyframes va-flip  { from { opacity: 0; rotate: x 88deg; } }
@keyframes va-slam  { from { opacity: 0; scale: 1.6; } }
@media (prefers-reduced-motion: reduce) { html.va-motion .va-enter { opacity: 1 !important; animation: none !important; } }

/* ---------- sample label (VA.sampleLabel): only on the made-up sample sites, never on a real actor's ---------- */
.va-sample {
  position: fixed; z-index: 90; left: 16px; bottom: calc(var(--bar, 0px) + 14px); max-width: min(620px, calc(100vw - 32px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 16px; border-radius: 16px;
  background: rgba(18, 16, 24, 0.94); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); backdrop-filter: blur(8px);
  font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; text-transform: none;
}
.va-sample p { margin: 0; flex: 1 1 260px; }
.va-sample b { color: #FFC53D; }
.va-sample a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.va-sample-go { background: #FFC53D; color: #16121F; }
.va-sample-real { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.va-sample a:focus-visible { outline: 3px solid #FFC53D; outline-offset: 2px; }
.va-sample-short { display: none; }
@media (max-width: 640px) {
  .va-sample { left: 8px; right: 8px; bottom: calc(var(--bar, 0px) + 8px); max-width: none; gap: 6px 8px; padding: 8px 8px 8px 12px; font-size: 14px; border-radius: 14px; }
  .va-sample p { flex-basis: 100%; }
  .va-sample-long { display: none; }
  .va-sample-short { display: inline; }
  .va-sample a { min-height: 32px; padding: 0 11px; font-size: 14px; }
  html.has-va-sample body { padding-bottom: 96px; }
}
@media (min-width: 641px) { html.has-va-sample body { padding-bottom: 84px; } }
