/* ============================================================
   V LINK — POLISH LAYER v1
   Sits on top of main.css. Adds depth, gold discipline and
   micro-interaction. Changes no layout, no copy, no tokens.
   ============================================================ */

:root{
  --gold-lo:#9c7a35;
  --gold-hi:#e8d9a8;
  --lift:cubic-bezier(.22,.61,.36,1);
}

/* ---------- 1. GRAIN -------------------------------------- */
/* 2.5% film grain over the whole canvas. On a pure-black page
   this is what stops large dark areas reading as flat ink.    */
body::after{
  content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;
  opacity:.035;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. FLOATING SOCIAL RAIL ----------------------- */
/* Was four saturated brand circles fighting the gold. Now dark
   glass with gold glyphs; the brand colour appears on hover
   only, as a reward rather than a permanent shout.            */
.vlink-social a{
  background:rgba(12,12,14,.72)!important;
  border:1px solid rgba(210,172,95,.28)!important;
  backdrop-filter:blur(10px) saturate(1.2);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
  box-shadow:0 6px 20px rgba(0,0,0,.45)!important;
  transition:transform .22s var(--lift),border-color .22s,box-shadow .22s,background .22s!important;
}
.vlink-social a svg,.vlink-social a svg path{ fill:var(--gold)!important;color:var(--gold)!important; }
.vlink-social a:hover{
  transform:translateX(-3px) scale(1.06);
  border-color:rgba(232,217,168,.6)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.6),0 0 0 4px rgba(210,172,95,.1)!important;
}
.vlink-social a.vlink-ig:hover{ background:linear-gradient(135deg,#6a2a8a,#d6306b 55%,#f0a63a)!important; }
.vlink-social a.vlink-fb:hover{ background:#1877f2!important; }
.vlink-social a.vlink-li:hover{ background:#0a66c2!important; }
.vlink-social a:hover svg,.vlink-social a:hover svg path{ fill:#fff!important; }

/* --- 2b. WHATSAPP BUTTON (Click to Chat plugin) ----------- */
/* Its icon is a <use> filled with a green gradient. Same
   treatment as the rail: dark glass, gold glyph, green on hover. */
.ht_ctc_chat_style svg use{ fill:#0c0c0e!important;transition:fill .22s; }
.ht_ctc_chat_style svg g path{ fill:var(--gold)!important;transition:fill .22s; }
.ht_ctc_chat_style svg{
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.5));
  transition:transform .22s var(--lift);
}
.ht-ctc:hover .ht_ctc_chat_style svg{ transform:translateX(-3px) scale(1.06); }
.ht-ctc:hover .ht_ctc_chat_style svg use{ fill:#1faf54!important; }
.ht-ctc:hover .ht_ctc_chat_style svg g path{ fill:#fff!important; }

/* ---------- 3. ILLUSTRATIONS → GOLD DUOTONE --------------- */
/* The process illustrations arrived in a blue-grey palette that
   belongs to no part of this brand. Rather than reshoot them,
   they are pushed into the house gold so the page reads as one
   object. Portraits and logos are deliberately excluded.       */
.vl-impact-card .vl-impact-card__bg img,
.vl-impact-card.is-figure .vl-impact-card__bg img,
.vl-spotlight img,
.vl-section--route img{
  /* the .is-figure rule in motion.css sets filter:none at a higher
     specificity, so this layer has to shout to be heard */
  filter:grayscale(1) sepia(.92) saturate(1.5) hue-rotate(-8deg) contrast(1.08) brightness(.92)!important;
  transition:filter .5s var(--lift),transform .6s var(--lift);
}
.vl-impact-card:hover .vl-impact-card__bg img,
.vl-spotlight figure:hover img{
  filter:grayscale(1) sepia(.88) saturate(1.8) hue-rotate(-8deg) contrast(1.12) brightness(1.02)!important;
  transform:scale(1.03);
}

/* ---------- 4. CARD DEPTH --------------------------------- */
.vl-card,.vl-tile,.vl-package,.vl-person,.vl-stage,.vl-portrait{
  transition:transform .28s var(--lift),border-color .28s,box-shadow .28s,background .28s;
}
.vl-card:hover,.vl-tile:hover,.vl-package:hover,.vl-person:hover,.vl-stage:hover{
  transform:translateY(-4px);
  border-color:rgba(210,172,95,.38);
  box-shadow:0 18px 40px -18px rgba(0,0,0,.9),0 0 0 1px rgba(210,172,95,.12),0 0 32px -14px rgba(210,172,95,.35);
}

/* ---------- 5. BUTTON SHEEN ------------------------------- */
.vl-btn,.vl-btn--primary{ position:relative;overflow:hidden; }
.vl-btn::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.38) 50%,transparent 62%);
  transform:translateX(-120%);transition:transform .7s var(--lift);
}
.vl-btn:hover::after{ transform:translateX(120%); }
.vl-btn:hover{ box-shadow:0 10px 30px -12px rgba(210,172,95,.55); }

/* ---------- 6. GOLD HAIRLINES ----------------------------- */
/* A flat 1px grey rule reads as a cheap divider. A gradient
   rule that fades at both ends reads as considered.           */
.vl-section + .vl-section::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(210,172,95,.32) 22%,rgba(210,172,95,.32) 78%,transparent);
}
.vl-section{ position:relative; }

/* ---------- 7. STAT NUMERALS ------------------------------ */
.vl-stats__n{
  background:linear-gradient(180deg,var(--gold-hi),var(--gold) 55%,var(--gold-lo));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  letter-spacing:-.03em;
}

/* ---------- 8. LINK UNDERLINE ----------------------------- */
.vl-prose a,.vl-faq a{
  background-image:linear-gradient(var(--gold),var(--gold));
  background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;
  transition:background-size .3s var(--lift);
  text-decoration:none;
}
.vl-prose a:hover,.vl-faq a:hover{ background-size:100% 1px; }

/* ---------- 9. FOCUS ------------------------------------- */
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--gold);outline-offset:3px;border-radius:2px;
}

/* ---------- 9b. STAT CELLS -------------------------------- */
.vl-stats__cell{ transition:transform .28s var(--lift); }
.vl-stats__cell:hover{ transform:translateY(-3px); }

/* ---------- 9c. SMALL SCREENS ----------------------------- */
@media (max-width:480px){
  /* "Prepared meetings." overflowed its column at 375px —
     scrollWidth 356 against clientWidth 335. The existing rule
     wins on specificity, hence the override. */
  .vl-display.vl-display--hero{ font-size:7.5vw!important; }
  /* the floating rail crowds the hero buttons on a phone */
  .vlink-social a,.ht_ctc_chat_style svg{ transform:scale(.82);transform-origin:right center; }
}

/* ---------- 10. REDUCED MOTION ---------------------------- */
@media (prefers-reduced-motion:reduce){
  .vlink-social a,.vl-card,.vl-tile,.vl-package,.vl-person,.vl-stage,
  .vl-spotlight img,.vl-section--signal img,.vl-btn::after{
    transition:none!important;transform:none!important;
  }
}
