/* VENTURES HARBOR — 2026 design system */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --vh-ink: #081421;
  --vh-black: #000;
  --vh-panel: #0D0D0D;
  --vh-blue: #2563EB;
  --vh-blue-dark: #1D4ED8;
  --vh-sky: #3B82F6;
  --vh-gold: #F5C518;
  --vh-gold-ink: #8A6D00;
  --vh-gold-soft: rgba(245, 197, 24, .14);
  --vh-blue-soft: #EFF4FF;
  --vh-slate: #5A6B85;
  --vh-slate-light: #7A8AA3;
  --vh-slate-mid: #33415C;
  --vh-line: #E8ECF2;
  --vh-line-soft: #EDF0F4;
  --vh-line-mid: #DCE3EC;
  --vh-surface: #F7F8FA;
  --vh-white: #fff;
  --vh-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vh-ink);
  color: var(--vh-ink);
  font-family: var(--vh-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--vh-blue); text-decoration: none; }
a:hover { color: var(--vh-blue-dark); }
img { max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--vh-gold); color: var(--vh-ink); }

/* ---------- keyframes ---------- */
@keyframes vh-spin { to { transform: rotate(360deg); } }
@keyframes vh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes vh-rise {
  0%   { bottom: 0;   opacity: 1; transform: scale(1); }
  100% { bottom: 65%; opacity: 0; transform: scale(.25); }
}

.vh-btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .5);
  color: #fff;
}
.vh-btn-blue-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(37, 99, 235, .55);
  color: #fff;
}
.vh-btn-blue-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
  color: #fff;
}

.splash-cursor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.vh-btn-ghost-lg:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transform: translateY(-3px);
}
.vh-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(8, 20, 33, .3);
  color: #fff;
}
.vh-btn-outline:hover {
  border-color: var(--vh-blue);
  background: #F5F8FF;
  color: var(--vh-ink);
}
.vh-btn-outline-blue:hover { background: var(--vh-blue); color: #fff; }
.vh-filter:hover { border-color: var(--vh-blue); }
.vh-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(8, 20, 33, .12);
  border-color: rgba(245, 197, 24, .55);
}
.vh-step:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 197, 24, .4);
  background: rgba(255, 255, 255, .05);
}
.vh-feature:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 20px 44px rgba(8, 20, 33, .1);
}
.vh-quote:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(8, 20, 33, .1); }
.vh-flink:hover { color: var(--vh-gold); }
.vh-social:hover { border-color: var(--vh-gold); color: var(--vh-gold); }
a:hover > [data-arrow] { transform: translateX(4px); }


.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--vh-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  cursor: pointer;
}
.toast.show { transform: translateX(0); }
.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.toast--success .toast-icon { background: #E7F7EF; color: #157347; }
.toast--error   .toast-icon { background: #FDECEA; color: #B3261E; }
.toast--warning .toast-icon { background: var(--vh-gold-soft); color: var(--vh-gold-ink); }
.toast--info    .toast-icon { background: var(--vh-blue-soft); color: var(--vh-blue); }
.toast-body { flex: 1; }
.toast-title { font-size: .85rem; font-weight: 700; color: var(--vh-ink); line-height: 1.3; }
.toast-msg { font-size: .78rem; color: var(--vh-slate); margin-top: .15rem; line-height: 1.4; }
.toast-close { color: var(--vh-slate-light); flex-shrink: 0; }
.toast-progress {
  height: 3px;
  margin: -.9rem -1.1rem 0;
  border-radius: 0 0 14px 14px;
  background: var(--vh-ink);
  transform-origin: left;
  animation: vh-toast-timer 4s linear forwards;
}
@keyframes vh-toast-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* The sailboat is positioned inline on #vh-hero-img with */
@media (max-width: 900px) {
  #vh-hero-img {
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;

    object-position: right center !important;
    opacity: .6 !important;
  }
  #vh-hero-scrim-x {
    background: linear-gradient(90deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.72) 38%,
      rgba(0,0,0,.42) 70%,
      rgba(0,0,0,.28) 100%) !important;
  }
}
