/* ============== Van Elsen — site styles ============== */

.ve {
  --bg: #050505;
  --fg: #f4f1ea;
  --fg-dim: rgba(244,241,234,0.55);
  --line: rgba(244,241,234,0.14);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  width: 100%;
  overflow: hidden;
}

.ve * { box-sizing: border-box; }
.ve a { color: inherit; text-decoration: none; }

.ve-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------------- HERO ---------------- */
.ve-hero {
  position: relative;
  min-height: 1100px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.ve-hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}

.ve-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(calc(var(--ve-base-blur, 0px) + var(--ve-treatment-blur, 0px)));
  transform: scale(1.04);
  transition: filter 200ms linear;
}

.ve-hero__overlay {
  position: absolute; inset: 0;
  pointer-events: none;
}

.ve-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.4) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

/* nav */
.ve-nav {
  position: absolute; top: 32px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 56px;
  z-index: 4;
}
.ve-nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.ve-nav__mark {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  position: relative;
  overflow: hidden;
}
.ve-nav__mark::after {
  content: "";
  position: absolute; inset: 0 50% 0 0;
  background: var(--fg);
}
.ve-nav__name-thin { opacity: 0.5; margin-left: 6px; }
.ve-nav__links {
  display: flex; align-items: center; gap: 36px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ve-nav__links a { opacity: 0.85; }
.ve-nav__links a:hover { opacity: 1; }
.ve-nav__cta {
  border: 1px solid var(--fg);
  padding: 10px 18px;
  border-radius: 999px;
}

/* hero topbar (left brand label + percentage) */
.ve-hero__topbar {
  position: absolute; top: 96px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 56px;
  z-index: 3;
}

/* hero content */
.ve-hero__content {
  position: relative;
  z-index: 3;
  margin-top: 200px;
  padding: 0 56px 140px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 80px;
  align-items: end;
}
.ve-hero__copy { max-width: 720px; }
.ve-hero__meta { margin-bottom: 32px; }
.ve-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(96px, 13vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.ve-hero__title em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.95;
}
.ve-hero__sub {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
  max-width: 520px;
  color: rgba(244,241,234,0.78);
}

/* hero demo */
.ve-hero__demo-wrap {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* hero bottom: scroll indicator + bar loader */
.ve-hero__bottom {
  position: absolute; bottom: 36px; left: 56px; right: 56px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 3;
}
.ve-hero__scroll {
  display: flex; align-items: center; gap: 14px;
}
.ve-hero__scroll-line {
  width: 80px; height: 1px;
  background: rgba(244,241,234,0.25);
  position: relative;
  overflow: hidden;
}
.ve-hero__scroll-line i {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 30%;
  background: var(--fg);
  animation: ve-scroll 2.4s ease-in-out infinite;
}
@keyframes ve-scroll {
  0%   { transform: translateX(-110%); }
  60%  { transform: translateX(330%); }
  100% { transform: translateX(330%); }
}
.ve-hero__loader {
  width: 280px;
}
.ve-hero__loader-bar {
  height: 1px; background: rgba(244,241,234,0.22);
  position: relative;
}
.ve-hero__loader-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--fg);
  transition: width 200ms linear;
}

/* ---------------- MARQUEES ---------------- */
.ve-mq {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.ve-mq--big {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 96px;
  line-height: 1;
  padding: 32px 0;
}
.ve-mq--big .ve-mq__dot { font-style: normal; opacity: 0.4; padding: 0 24px; }

.ve-mq--small {
  padding: 18px 0;
  background: #0a0a0a;
}
.ve-mq--small .ve-mq__track { gap: 0; }
.ve-mq--small i { font-style: normal; opacity: 0.45; padding: 0 14px; }

.ve-mq__track {
  display: inline-flex;
  animation: ve-mq 38s linear infinite;
}
.ve-mq__track--rev {
  animation: ve-mq-rev 32s linear infinite;
}
@keyframes ve-mq    { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ve-mq-rev{ from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------------- SECTIONS ---------------- */
.ve-sec {
  position: relative;
  padding: 140px 56px 160px;
  border-bottom: 1px solid var(--line);
}
.ve-sec__meta { margin-bottom: 56px; }
.ve-sec__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.ve-sec--flip .ve-sec__grid { grid-template-columns: 1fr 1.05fr; }
.ve-sec--flip .ve-sec__copy { order: 2; }
.ve-sec--flip .ve-sec__visual { order: 1; }

.ve-sec__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6.8vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.ve-sec__title em { font-style: italic; font-weight: 300; opacity: 0.85; }
.ve-sec__body {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(244,241,234,0.7);
  max-width: 480px;
}

/* ---------------- VISUAL MOCKS (CSS-only) ---------------- */
.vm {
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}

/* voice */
.vm--voice { padding: 36px; }
.vm__phone {
  width: 280px;
  height: 100%;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex; flex-direction: column;
  background: #080808;
  overflow: hidden;
}
.vm__phone-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}
.vm__phone-top i {
  display: inline-block; width: 36px; height: 4px;
  background: var(--fg-dim); border-radius: 2px;
}
.vm__phone-top i:first-child { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.vm__phone-body {
  flex: 1;
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.vm__bubble {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 90%;
}
.vm__bubble--user {
  background: rgba(244,241,234,0.06);
  align-self: flex-end;
}
.vm__bubble--ai {
  background: rgba(244,241,234,0.02);
  align-self: flex-start;
  display: flex; flex-direction: column; gap: 6px;
}
.vm__wave {
  display: flex; gap: 3px; align-items: center; justify-content: center;
  height: 40px;
}
.vm__wave i {
  display: inline-block;
  width: 2px; background: var(--fg);
  opacity: 0.7;
  animation: vm-wave 1.6s ease-in-out infinite;
}
.vm__wave i:nth-child(odd)  { animation-duration: 1.2s; }
.vm__wave i:nth-child(3n)   { animation-duration: 2s; }
@keyframes vm-wave { 0%, 100% { transform: scaleY(0.5);} 50% { transform: scaleY(1.4);} }

/* app window */
.vm--app { padding: 0; align-items: stretch; }
.vm__win { display: flex; flex-direction: column; width: 100%; }
.vm__win-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.vm__dots { display: flex; gap: 6px; }
.vm__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244,241,234,0.18); display: inline-block; }
.vm__win-body {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
}
.vm__col { padding: 18px; }
.vm__col + .vm__col { border-left: 1px solid var(--line); }
.vm__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}
.vm__row--head {
  font-style: normal;
  border-bottom: 1px solid var(--line);
  padding-top: 0;
}
.vm__pill {
  font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--fg);
  border-radius: 999px;
}
.vm__pill--mid { opacity: 0.7; border-color: var(--fg-dim); }
.vm__pill--low { opacity: 0.5; border-color: var(--fg-dim); }
.vm__agent {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2;
  color: var(--fg-dim);
  padding: 12px 0;
}
.vm__agent-line { white-space: nowrap; }
.vm__agent-line--ok { color: var(--fg); }

/* flow */
.vm--flow { flex-direction: column; gap: 24px; }
.vm__svg { width: 100%; max-width: 420px; color: var(--fg); }
.vm__flow-tags {
  display: flex; gap: 24px;
}

/* stats */
.vm--stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  padding: 0;
  align-items: stretch;
  width: 100%;
}
.vm__stat {
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 180px;
}
.vm__stat-n {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.vm__stat-l { margin-top: 14px; }

/* human + ai */
.vm--human { padding: 36px; }
.vm__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.vm__head {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.vm__head ul {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 18px; line-height: 1.6;
  text-align: center;
}
.vm__head-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--fg);
}
.vm__head-circle--ai {
  background: var(--fg);
}
.vm__plus {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  opacity: 0.5;
}

/* ---------------- STACK ---------------- */
.ve-stack {
  padding: 100px 56px 80px;
  border-bottom: 1px solid var(--line);
}
.ve-stack__head { margin-bottom: 40px; text-align: center; }
.ve-stack__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ve-stack__cell {
  background: var(--bg);
  padding: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  min-height: 120px;
  justify-content: center;
}
.ve-stack__cell img {
  width: 32px; height: 32px;
  filter: brightness(0.95);
}
.ve-stack__cell span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}

/* ---------------- CTA ---------------- */
.ve-cta {
  padding: 180px 56px 200px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ve-cta__num { display: inline-block; margin-bottom: 40px; }
.ve-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.ve-cta__title em { font-style: italic; font-weight: 300; opacity: 0.9; }
.ve-cta__sub {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; opacity: 0.75;
  margin: 0 0 56px;
}
.ve-cta__btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 36px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}
.ve-cta__btn:hover { background: var(--fg); color: var(--bg); }
.ve-cta__arrow { font-size: 16px; }

/* ---------------- FOOT ---------------- */
.ve-foot { padding: 40px 56px 60px; }
.ve-foot__row {
  display: flex; justify-content: space-between;
  padding-bottom: 56px; border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.ve-foot__big {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 8vw, 140px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}

/* ---------------- TREATMENT TWEAKS ---------------- */
.ve--moody .ve-hero__title { letter-spacing: -0.05em; }
.ve--bare .ve-hero__title em { color: rgba(244,241,234,0.85); }
