/* =========================================================================
   Homepage — Founder Video section (.vh-fv)
   Native to the .vh dark-theme homepage. Consumes the remapped tokens in
   home.css (1129-1144): navy surfaces, white ink, lime accent.
   Isolated file — delete it (and its <link>) to remove the feature.
   ========================================================================= */

/* ---- Section shell: subtle premium panel vs. neighbours ----------------- */
.vh-fv {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(232, 180, 0, 0.05), transparent 60%),
    radial-gradient(90% 80% at 50% 100%, rgba(17, 38, 84, 0.55), transparent 60%),
    var(--color-surface-elev);
}
.vh-fv__inner { max-width: 920px; }
.vh-fv__head  { margin-bottom: 40px; }
.vh-fv__eyebrow { letter-spacing: 0.16em; }

/* ---- 16:9 video poster + yellow play button ----------------------------- */
.vh-fv__player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(232, 180, 0, 0.30);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(180deg, #16264E 0%, #0C1838 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .30), 0 24px 60px rgba(0, 0, 0, .40);
  transition: transform 280ms var(--ease-out-soft), box-shadow 280ms var(--ease-out-soft);
}
.vh-fv__player:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .30), 0 32px 72px rgba(0, 0, 0, .50);
}
.vh-fv__player:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }

.vh-fv__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;           /* show the full frame so the name + captions aren't clipped */
  display: block;
  background: #0C1838;            /* navy until the first frame loads */
}
/* once playing: hide the play icon, let the native controls receive clicks
   (the player is a <button>, so re-enable pointer events on the video) */
.vh-fv[data-playing="true"] .vh-fv__play { display: none; }
.vh-fv[data-playing="true"] .vh-fv__player { cursor: default; pointer-events: none; }
.vh-fv[data-playing="true"] .vh-fv__video-el { pointer-events: auto; }

.vh-fv__poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(232, 180, 0, 0.10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 16px);
}
.vh-fv__poster-lbl {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.vh-fv__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  box-shadow: 0 16px 40px -10px rgba(232, 180, 0, 0.55);
  transition: transform 280ms var(--ease-out-soft), background 200ms ease;
}
.vh-fv__player:hover .vh-fv__play { transform: scale(1.06); background: var(--color-accent-dark); }
.vh-fv__play svg { width: 26px; height: 26px; margin-left: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .vh-fv__play::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0;
    animation: vh-fv-ping 2.4s ease-out infinite;
  }
}
@keyframes vh-fv-ping {
  0%   { opacity: .55; transform: scale(.92); }
  60%  { opacity: 0;   transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.18); }
}

/* ---- White rounded quote/comment bar + circular FN avatar --------------- */
.vh-fv__quoterow {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 20px 24px;
  text-align: left;
  background: linear-gradient(180deg, var(--color-accent-hi), var(--color-accent));
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(204, 158, 0, 0.6);
}
.vh-fv__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1A2A4F 100%);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  border: 2px solid rgba(10, 26, 63, 0.18);
}
/* Quote sits on the WHITE bar, so override the dark-theme light tokens. */
.vh-fv__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
.vh-fv__quote-attr {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(10, 26, 63, 0.72);
}

/* ---- Transcript accordion ----------------------------------------------- */
.vh-fv__transcript {
  max-width: 760px;
  margin: 16px auto 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.vh-fv__transcript-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
  transition: background 200ms ease;
}
.vh-fv__transcript-toggle:hover { background: rgba(255, 255, 255, 0.04); }
.vh-fv__transcript-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(232, 180, 0, 0.18);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  transition: transform 280ms var(--ease-out-soft);
}
.vh-fv__transcript-icon svg { width: 14px; height: 14px; }
.vh-fv__transcript[data-open="true"] .vh-fv__transcript-icon { transform: rotate(180deg); }
.vh-fv__transcript-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms var(--ease-out-soft);
}
.vh-fv__transcript[data-open="true"] .vh-fv__transcript-body { max-height: 600px; }
.vh-fv__transcript-content {
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink-soft);
  max-width: 70ch;
}
.vh-fv__transcript-content p { margin: 0 0 12px; }
.vh-fv__transcript-content p:last-child { margin-bottom: 0; }

/* ---- CTA + fee subtext (reuses .vh-btn--accent) ------------------------- */
.vh-fv__cta-wrap { text-align: center; margin-top: 40px; }
.vh-fv__cta { font-size: 16px; padding: 16px 28px; }
.vh-fv__cta-fee {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.02em;
}
.vh-fv__cta-fee::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
}

/* ---- Coming-soon modal -------------------------------------------------- */
.vh-fv__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 13, 46, 0.80);
  opacity: 0;
  transition: opacity 240ms ease;
}
.vh-fv__modal[data-open="true"] { display: flex; opacity: 1; }
.vh-fv__modal-card {
  width: 100%;
  max-width: 460px;
  background: #0E2149;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
}
.vh-fv__modal-eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.vh-fv__modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: var(--color-ink);
  margin-bottom: 12px;
}
.vh-fv__modal-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

/* ---- ENTRANCE ANIMATIONS — mirrors services.css 255-292 ----------------- */
.vh-fv.is-animating [data-fv-anim] { opacity: 0; }
.vh-fv.is-animating.is-in .vh-fv__eyebrow    { animation: vh-fv-rise-sm 400ms var(--ease-out-soft)   0ms both; }
.vh-fv.is-animating.is-in .vh-fv__title      { animation: vh-fv-rise-md 500ms var(--ease-out-soft) 100ms both; }
.vh-fv.is-animating.is-in .vh-fv__player     { animation: vh-fv-rise-lg 560ms var(--ease-out-soft) 250ms both; }
.vh-fv.is-animating.is-in .vh-fv__quoterow   { animation: vh-fv-rise-md 500ms var(--ease-out-soft) 420ms both; }
.vh-fv.is-animating.is-in .vh-fv__transcript { animation: vh-fv-rise-sm 400ms var(--ease-out-soft) 560ms both; }
.vh-fv.is-animating.is-in .vh-fv__cta-wrap   { animation: vh-fv-rise-sm 400ms var(--ease-out-soft) 680ms both; }
@keyframes vh-fv-rise-sm { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vh-fv-rise-md { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes vh-fv-rise-lg { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- RESPONSIVE --------------------------------------------------------- */
@media (max-width: 640px) {
  .vh-fv__head { margin-bottom: 28px; }
  .vh-fv__player { border-radius: 14px; }
  .vh-fv__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .vh-fv__play svg { width: 22px; height: 22px; }
  .vh-fv__quoterow { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; }
  .vh-fv__avatar { width: 48px; height: 48px; font-size: 16px; }
  .vh-fv__quote { font-size: 16px; }
  .vh-fv__transcript-toggle { padding: 14px 18px; }
  .vh-fv__transcript-content { padding: 0 18px 18px; }
  .vh-fv__cta { font-size: 15px; padding: 14px 22px; }
}

/* ---- REDUCED MOTION ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vh-fv.is-animating [data-fv-anim] { opacity: 1; animation: none; }
  .vh-fv__player,
  .vh-fv__play,
  .vh-fv__cta,
  .vh-fv__transcript-body,
  .vh-fv__transcript-icon { transition: none; }
  .vh-fv__player:hover { transform: none; }
  .vh-fv__player:hover .vh-fv__play { transform: none; }
  .vh-fv__play::before { animation: none; }
}
