/* ===========================================================================
 * Vestris landing — polished buttons + the Diamond-Rose-style split panel.
 * Watercolor backgrounds, green + cream overlays; a stage list on the left,
 * a live product visual on the right.
 * =========================================================================== */

/* ---------------- Polished buttons (typewriter-blur sweep on hover) ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.015em; border-radius: 4px; cursor: pointer; border: 1px solid transparent;
  transition: filter 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.975); }
.btn .btn-label { display: inline-flex; }
.btn .btn-label .ch { display: inline-block; white-space: pre; }
.btn:hover .btn-label .ch,
.blur-link:hover .btn-label .ch { animation: chSweep 0.5s var(--ease-out) both; animation-delay: calc(var(--i) * 0.024s); }
@keyframes chSweep {
  0% { filter: blur(0); opacity: 1; }
  40% { filter: blur(3.5px); opacity: 0.45; }
  100% { filter: blur(0); opacity: 1; }
}
.btn .arr { margin-left: 9px; transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ONE consistent button system across the whole page */
.btn-solid { background: var(--green-deep); color: var(--cream); }
.btn-solid:hover { filter: brightness(1.1); }
.btn-dash { background: transparent; border: 1px dashed rgba(26,26,26,0.4); color: var(--ink); }
.btn-dash:hover { border-color: var(--ink); background: rgba(26,26,26,0.03); }

/* secondary adapts its outline on a dark panel; primary stays the same green everywhere */
.on-dark .btn-dash { border-color: rgba(245,243,238,0.5); color: var(--cream); }
.on-dark .btn-dash:hover { border-color: var(--cream); background: rgba(245,243,238,0.08); }

/* ---------------- SPLIT PANEL ("What Vestris does") ---------------- */
.split {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
  background: var(--green-mid);
}

/* left: green panel with a watercolor wash */
.split-left {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 84px);
  color: var(--cream);
}
.split-left::before { /* watercolor texture over the green */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/sky-clear-desktop.png") no-repeat center center; background-size: cover;
  opacity: 0.16; mix-blend-mode: soft-light;
}
.split-left::after { /* deepen toward the divider so right-side image meets cleanly */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(20,40,22,0) 55%, rgba(15,30,16,0.55) 100%);
}
.split-left > * { position: relative; z-index: 1; }

.split-stages { list-style: none; margin: 0 0 clamp(34px, 6vh, 60px); padding: 0; }
.split-stage {
  font-family: var(--font-serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 52px); line-height: 1.2; letter-spacing: 0.005em;
  color: rgba(245,243,238,0.32); cursor: pointer; position: relative;
  transition: color 0.35s var(--ease-out);
  display: flex; align-items: center;
}
.split-stage .arw {
  margin-left: 0.5em; font-family: var(--font-sans); font-weight: 400;
  font-size: 0.5em; color: var(--green-dim, #a9cfb7);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-spring);
}
.split-stage:hover { color: rgba(245,243,238,0.66); }
.split-stage.active { color: var(--cream); }
.split-stage.active .arw { opacity: 1; transform: translateX(0); }

.split-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* right: watercolor image panel with a floating product visual */
.split-right {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #cdd8e2, #e7e3d6 60%, #d9e0cf);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(36px, 4vw, 72px);
}
.split-right::before { /* watercolor sky wash */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/sky-clear-desktop.png") no-repeat center top; background-size: cover;
  opacity: 0.85;
}
.split-right::after { /* cream→green tint to tie to the palette */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(155deg, rgba(245,243,238,0.5), rgba(45,77,42,0.22) 70%, rgba(29,58,32,0.4));
}

.split-art-wrap { position: relative; z-index: 2; width: min(440px, 92%); height: min(440px, 64vh); }
.fv-art {
  position: absolute; inset: 0; opacity: 0; transform: translateY(16px) scale(0.985);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  display: flex; flex-direction: column; justify-content: center; pointer-events: none;
}
.fv-art.active { opacity: 1; transform: none; pointer-events: auto; }

.fv-card {
  background: var(--cream-card); border: 1px solid rgba(26,26,26,0.1); border-radius: 14px;
  box-shadow: 0 40px 80px -36px rgba(20,40,22,0.5), 0 8px 22px -12px rgba(20,40,22,0.25);
  overflow: hidden;
}
.fv-card-head {
  display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-bottom: 1px solid rgba(26,26,26,0.07);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint);
}
.fv-card-head .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green-mid); flex-shrink: 0; }
.fv-card-body { padding: 16px 17px 18px; }
.fv-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(26,26,26,0.06); font-size: 13px; color: var(--ink-soft); }
.fv-row:last-child { border-bottom: none; }
.fv-row b { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); font-weight: 500; }
.fv-row .ok { color: var(--green-mid); }
.fv-art.run .fv-row { animation: fvRow 0.45s var(--ease-out) both; }
.fv-art.run .fv-row:nth-child(1) { animation-delay: 0.10s; }
.fv-art.run .fv-row:nth-child(2) { animation-delay: 0.20s; }
.fv-art.run .fv-row:nth-child(3) { animation-delay: 0.30s; }
.fv-art.run .fv-row:nth-child(4) { animation-delay: 0.40s; }
.fv-art.run .fv-row:nth-child(5) { animation-delay: 0.50s; }
@keyframes fvRow { from { transform: translateX(-10px); } to { transform: none; } }

.fv-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.fv-chip { font-family: var(--font-mono); font-size: 10.5px; color: var(--green-deep); background: var(--green-wash); border-radius: 6px; padding: 5px 9px; }
.fv-art.run .fv-chip { animation: fvChip 0.45s var(--ease-out) both; }
.fv-art.run .fv-chip:nth-child(1){animation-delay:.14s}.fv-art.run .fv-chip:nth-child(2){animation-delay:.22s}.fv-art.run .fv-chip:nth-child(3){animation-delay:.30s}.fv-art.run .fv-chip:nth-child(4){animation-delay:.38s}.fv-art.run .fv-chip:nth-child(5){animation-delay:.46s}.fv-art.run .fv-chip:nth-child(6){animation-delay:.54s}
@keyframes fvChip { from { transform: translateY(7px); } to { transform: none; } }

.fv-mailrow { display: flex; align-items: center; gap: 11px; padding: 12px 13px; background: #fff; border: 1px solid rgba(26,26,26,0.08); border-radius: 10px; margin-bottom: 12px; }
.fv-mailic { width: 30px; height: 30px; border-radius: 8px; background: var(--green-wash); color: var(--green-deep); display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.fv-mail-t { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.fv-mail-s { font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); margin-top: 2px; }
.fv-mail-tag { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; color: var(--green-mid); }
.fv-stamp { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 6px 12px; border: 1.5px solid var(--green-mid); color: var(--green-mid); font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 7px; }

/* progress strip */
.split-progress { display: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split-right { min-height: 64vh; order: 2; }
  .split-left { order: 1; padding: 96px 28px 56px; }
  .split-desc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover .btn-label .ch { animation: none; }
  .fv-art.run .fv-row, .fv-art.run .fv-chip { animation: none; opacity: 1; transform: none; }
}
