/* =============================================================
   Vikingegaarden homepage - its own system, one bright uniform ground.
   Basic rule: ONE background across the whole page. No alternating
   dark and white bands. Photos sit in their frames, text sits on
   the ground, never over a photo.
   ============================================================= */

/* Technical labels used JetBrains Mono; the client rejected it
   ("looks very odd"), so --mono is now Inter, keeping only the
   treatment (uppercase, letter-spacing). The mono font is no longer loaded. */

html:has(.vg), body:has(.vg) { background: #fbfbfc; }

.vg {
  /* background: a single, very slightly warm tone across the page */
  --g0: #fbfbfc;          /* page background */
  --g1: #ffffff;          /* panels */
  --g2: #ffffff;          /* panels on hover */
  --hair: #e6e8ee;
  --hair-2: #d3d7e0;

  /* text */
  --t0: #10131a;
  --t1: #494f5c;
  --t2: #5b6270;   /* darker than before: #6b7280 failed contrast on small labels */

  /* brand */
  --gold: #fbcf2e;
  --gold-ink: #8a6a00;    /* yellow is unreadable on white: the text variant */
  --gold-soft: rgba(251,207,46,.16);
  --blue: #2563c9;
  --blue-soft: rgba(37,99,201,.10);

  --shadow-1: 0 2px 4px rgba(16,19,26,.025), 0 8px 24px rgba(16,19,26,.035);
  --shadow-2: 0 4px 8px rgba(16,19,26,.035), 0 18px 40px rgba(16,19,26,.08);

  /* division colour; set inline on .vg by each page */
  --dv: #2563c9;
  --dv-dark: #1b4a99;

  --mono: "Inter", ui-sans-serif, system-ui, sans-serif;
  --rail: clamp(1.5rem, 4vw, 3.5rem);
  --r-lg: 18px;
  --r-md: 12px;

  background: var(--g0);
  color: var(--t1);
  position: relative;
  isolation: isolate;
  overflow: clip;   /* the mega menu widened the page and the animated glow made it taller */
}

/* Atmosphere: a very fine grid and three spots of light across the page.
   Without them the ground is dead; with them there is no need for alternating bands. */
.vg::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(16,19,26,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,19,26,.027) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(130% 55% at 50% 0%, #000 6%, transparent 66%);
}
.vg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 26% at 0% 0%, color-mix(in srgb, var(--dv) 10%, transparent), transparent 58%),
    radial-gradient(54% 34% at 98% 6%, color-mix(in srgb, var(--dv) 7%, transparent), transparent 64%),
    radial-gradient(60% 28% at 20% 44%, color-mix(in srgb, var(--dv) 4%, transparent), transparent 68%),
    radial-gradient(66% 30% at 80% 96%, color-mix(in srgb, var(--dv) 5%, transparent), transparent 70%);
  background-size: 200% 200%; background-repeat: no-repeat;
  animation: vg-drift 26s ease-in-out infinite alternate;
}
@keyframes vg-drift { to { background-position: 0 -4%, 0 3%, 0 -3%, 0 2%; } }
@media (prefers-reduced-motion: reduce) { .vg::after { animation: none; } }

.vg-rv { opacity: 1; transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.vg-rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .vg-rv { transform: none; transition: none; } }

.vg-shell { width: min(100% - clamp(2rem, 5vw, 4.5rem), 1280px); margin-inline: auto; }
.vg-sec { padding-block: clamp(3rem, 5.5vw, 5rem); position: relative; }

/* ---------------------------------------------------------------- typography */
.vg h1, .vg h2, .vg h3, .vg h4 { color: var(--t0); font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.vg h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); letter-spacing: -.04em; }
.vg h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.032em; }
.vg h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.25; letter-spacing: -.015em; }
.vg p { margin: 0; }
.vg .lede { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; color: var(--t1); max-width: 52ch; }

/* Section label, in mono: the "technical" marker of the page */
.vg-label {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase;
  color: color-mix(in srgb, var(--dv-dark) 78%, var(--t0));
}
.vg-label::before { content: ""; width: 30px; height: 3px; background: var(--dv); border-radius: 2px; }
.vg-label--blue { color: var(--blue); }
.vg-label--blue::before { background: var(--blue); }

.vg-head { max-width: 62ch; margin-bottom: clamp(1.5rem, 2.75vw, 2.25rem); }
.vg-head h2 { margin: .95rem 0 .85rem; }
/* Section head with a link on the right: the bottom line ties the text to the
   link, and the link sits on the same baseline, in a pill - before it floated
   alone top-right and the section looked unbalanced. */
.vg-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; max-width: none;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--hair); margin-bottom: clamp(1.5rem, 2.75vw, 2.25rem); }
.vg-head--row > .vg-link { flex: none; margin-bottom: .2rem;
  padding: .55rem 1.1rem; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease; }
.vg-head--row > .vg-link:hover { border-color: color-mix(in srgb, var(--dv) 55%, var(--hair-2)); box-shadow: var(--shadow-1); }
.vg-head--row > .lede { margin-bottom: .3rem; }
.vg-head--row > div { max-width: 62ch; }
.vg-head--row h2 { margin-bottom: 0; }
.vg-head--row .lede { margin-top: .85rem; }
@media (max-width: 760px) { .vg-head--row { flex-direction: column; align-items: flex-start; gap: 1.25rem; } }

/* ------------------------------------------------------------------ buttons */
.vg-btn {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.4; min-height: 48px; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.vg-btn--gold { background: var(--gold); color: #10131a; box-shadow: 0 0 0 0 rgba(251,207,46,.5); }
.vg-btn--gold:hover { background: #f5c714; text-decoration: none; box-shadow: 0 6px 18px rgba(251,207,46,.22); transform: translateY(-1px); }
.vg-btn--line { background: #fff; color: var(--t0); border-color: var(--hair-2); }
.vg-btn--line:hover { background: #fff; border-color: var(--t2); text-decoration: none; color: var(--t0); }
.vg-btn--sm { padding: .65rem 1.15rem; font-size: .875rem; min-height: 44px; }
.vg-btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Link with arrow */
.vg-link {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--t0);
}
.vg-link i { font-style: normal; color: var(--dv-dark); transition: transform .2s ease; }
/* was color: #fff - white text on white background on hover (bug reported by the client) */
.vg-link:hover { text-decoration: none; color: var(--dv-dark); }
.vg-link:hover i { transform: translateX(4px); }

/* -------------------------------------------------------------------- panels */
.vg-panel {
  position: relative; background: var(--g1); border: 1px solid var(--hair);
  border-radius: var(--r-lg); overflow: hidden;
}
/* lit top edge: gives depth without changing the background */
.vg-panel { box-shadow: var(--shadow-1); }
a.vg-panel { text-decoration: none; display: block; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
a.vg-panel:hover { border-color: var(--hair-2); box-shadow: var(--shadow-2); transform: translateY(-3px); text-decoration: none; }

/* Photo frame: the photo always sits inside its frame.
   margin: 0 is mandatory: many frames are <figure>, and the browser default
   margin (1em 40px) made them narrower than the container. */
.vg-frame {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: #eef0f4; border: 0; margin: 0;
}
.vg-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transition: filter .4s ease, transform .6s cubic-bezier(.2,.6,.2,1);
}
a:hover > .vg-frame img, a:hover .vg-frame img { filter: none; transform: scale(1.03); }
/* subtle vignette so the photo edge does not cut the background abruptly */
.vg-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16,19,26,.06);
}
.vg-frame--43 { aspect-ratio: 4/3; }
.vg-frame--169 { aspect-ratio: 16/9; }
.vg-frame--11 { aspect-ratio: 1/1; }

/* ------------------------------------------------------------------ hero */
.vg-hero { padding-top: clamp(2.25rem, 4.5vw, 4rem); padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.vg-hero__grid { min-height: 0; }
.vg-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vg-hero h1 { margin: 1.2rem 0 1.25rem; max-width: 12ch; text-wrap: balance; }
.vg-hero h1 em {
  font-style: normal; color: var(--t0); position: relative; white-space: nowrap;
}
.vg-hero h1 em::before {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em;
  bottom: .02em; height: .48em; background: var(--gold); border-radius: 3px;
  transform: skewX(-6deg);
}
.vg-hero .lede { max-width: 46ch; }
.vg-hero .vg-btns { margin-top: 2rem; }
@media (max-width: 940px) { .vg-hero__grid { grid-template-columns: 1fr; } }

/* Product panel in the hero: photo on a lit plinth, with two chips */
.vg-stage { position: relative; }
.vg-stage__glow {
  position: absolute; inset: -10% -6% -14% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 48%, color-mix(in srgb, var(--dv) 13%, transparent), transparent 70%);
  filter: blur(10px);
}
.vg-stage__card {
  position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid #fff; background: #eef0f4;
  box-shadow: 0 16px 44px rgba(16,19,26,.10);
}
.vg-stage__card img { display: block; width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.vg-stage__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16,19,26,.05);
}
/* reflection under the plinth: gives the object weight without cluttering the background */
.vg-stage__floor {
  position: absolute; z-index: 0; left: 8%; right: 8%; bottom: -10%; height: 22%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(16,19,26,.16), transparent 70%);
  filter: blur(16px);
}
@keyframes vg-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .vg-stage__card { animation: none; } }
.vg-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem; border-radius: 999px; font-family: var(--mono);
  font-size: .75rem; letter-spacing: .02em; color: #fff; white-space: nowrap;
  background: rgba(12,16,22,.78); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); box-shadow: 0 4px 12px rgba(10,14,20,.15);
}
.vg-chip b { color: var(--gold); font-weight: 500; }
.vg-chip--a { left: 1rem; top: 1rem; }
.vg-chip--b { right: 1rem; bottom: 1rem; }
@media (max-width: 940px) {
  /* on tablets the chips overflowed the screen */
  .vg-chip--a { left: .75rem; top: 1rem; }
  .vg-chip--b { right: .75rem; bottom: 1rem; }
  .vg-stage__card img { aspect-ratio: 16/10; }
  .vg-stage__card { animation: none; }
}

/* Row of figures in the hero */
.vg-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); box-shadow: var(--shadow-1);
  border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; margin-top: clamp(1.75rem,3vw,2.5rem); }
.vg-rail div { background: var(--g1); padding: 1.3rem 1.4rem; }
.vg-rail b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem,2vw,1.7rem); color: var(--dv-dark); letter-spacing: -.03em; }
.vg-rail span { display: block; font-size: .875rem; color: var(--t2); margin-top: .3rem; line-height: 1.45; }
@media (max-width: 720px) {
  .vg-rail { grid-template-columns: repeat(2, 1fr) !important; }
  .vg-rail div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ------------------------------------------------------ card grid */
.vg-grid { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); }
.vg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.vg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.vg-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .vg-grid--4 { grid-template-columns: repeat(2, 1fr); } .vg-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vg-grid--4, .vg-grid--3, .vg-grid--2 { grid-template-columns: 1fr; } }

.vg-card, a.vg-panel.vg-card { padding: clamp(1.15rem, 1.6vw, 1.5rem); display: flex; flex-direction: column; height: 100%; }
.vg-card .vg-frame { margin-bottom: .95rem; }
.vg-card__meta {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--t2); margin-bottom: .5rem; white-space: normal; overflow-wrap: anywhere;
}
.vg-card h3, .vg-card h4 { margin-bottom: .45rem; margin-top: .1rem; }
.vg-card p { font-size: 1rem; color: var(--t1); line-height: 1.55; margin-bottom: .15rem; }
.vg-card .vg-link { margin-top: auto; padding-top: 1rem; }

/* Wide presentation panel (the series) */
.vg-feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.vg-feature__media { position: relative; min-height: clamp(300px, 34vw, 440px); }
.vg-feature__media .vg-frame { position: absolute; inset: 0; border: 0; border-radius: 0; }
.vg-feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, var(--g1));
}
/* variant with the photo on the right: the gradient turns towards the text */
.vg-feature--flip .vg-feature__media::after { background: linear-gradient(270deg, transparent 55%, var(--g1)); }
.vg-feature--flip { grid-template-columns: .95fr 1.05fr; }
.vg-feature--noimg { grid-template-columns: 1fr; }
.vg-feature__body { padding: clamp(1.75rem, 3.2vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.vg-feature__body h2 { margin: 1rem 0 .9rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.vg-feature .vg-btns { margin-top: 1.6rem; }
@media (max-width: 900px) {
  .vg-feature, .vg-feature--flip { grid-template-columns: 1fr; }
  .vg-feature__body { padding: 0 clamp(1.25rem,3vw,2rem) clamp(1.5rem,3vw,2.25rem); margin-top: 1.25rem; }
  /* stacked, the photo sits above the text: the fade becomes vertical, towards the body */
  .vg-feature__media { min-height: clamp(220px, 52vw, 320px); }
  .vg-feature__media::after, .vg-feature--flip .vg-feature__media::after {
    background: linear-gradient(180deg, transparent 68%, var(--g1));
  }
  /* the photo moves on top in the flip variant too */
  .vg-feature--flip .vg-feature__media { order: -1; }
}

/* Specification chips */
.vg-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.vg-specs span {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: 0;
  padding: .4rem .75rem; border-radius: 999px; color: var(--t1);
  background: #fff; border: 1px solid var(--hair);
}

/* News list */
.vg-news { border-top: 1px solid var(--hair); }
.vg-news a {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--hair); text-decoration: none;
  transition: padding .2s ease;
}
.vg-news a:hover { text-decoration: none; padding-left: .6rem; }
.vg-news time { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--t2); }
.vg-news h3 { font-size: 1.02rem; color: var(--t0); }
.vg-news a:hover h3 { color: var(--dv-dark); }
.vg-news i { font-style: normal; color: var(--dv-dark); }
@media (max-width: 720px) { .vg-news a { grid-template-columns: 1fr; gap: .4rem; } .vg-news i { display: none; } }

/* CTA: white panel, like the rest of the system. The dark "bold" variant was
   rejected by the client on 30 Aug ("the colours and contrast are horrible");
   the only accent left is the yellow top line. */
.vg-cta { padding: clamp(2rem, 4.5vw, 3.5rem); text-align: center; }
.vg-cta::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--dv) 60%, var(--gold))); }
.vg-cta h2 { max-width: 22ch; margin: 1rem auto 1rem; }
.vg-cta .lede { margin-inline: auto; }
.vg-cta .vg-btns { justify-content: center; margin-top: 1.75rem; }

/* =============================================================
   Header: two rows. Utilities on top, division pills below
   (the current division is the yellow pill) - the structure of the
   old site, the only one the user liked, but rebuilt.
   ============================================================= */
.vg-hdr { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--hair); }
.vg-hdr__top { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0 .7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 70%, transparent); }
@media (max-width: 991.98px) { .vg-hdr__top { border-bottom: 0; padding: 1rem 0 .85rem; } }
.vg-hdr__logo { flex: none; display: block; }
.vg-hdr__logo img { height: 33px; width: auto; display: block; }
.vg-hdr__util { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; font-size: .82rem; }
.vg-hdr__util a { color: var(--t2); text-decoration: none; }
.vg-hdr__util a:hover { color: var(--t0); }
.vg-hdr__util .vg-phone { color: var(--t0); font-family: var(--font-head); font-weight: 600; }
.vg-hdr__logo img { filter: none; }

.vg-hdr__bar { display: flex; align-items: center; gap: .35rem; padding: .55rem 0 .8rem; }
.vg-pill {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px; font-family: var(--font-head);
  font-weight: 600; font-size: .88rem; color: var(--t1); text-decoration: none;
  border: 1px solid transparent; white-space: nowrap; transition: background .16s, color .16s, border-color .16s;
}
.vg-pill:hover { background: rgba(16,19,26,.05); color: var(--t0); text-decoration: none; }
.vg-pill svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .18s; }
.vg-nav__item:hover .vg-pill svg { transform: rotate(180deg); }
.vg-pill--on { background: var(--gold); color: #10131a; }
.vg-pill--on:hover { background: #ffdb52; color: #10131a; }
.vg-hdr__right { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.vg-hdr__right .vg-pill { font-weight: 500; color: var(--t2); }
.vg-hdr__right .vg-pill:hover { color: var(--t0); }
.vg-hdr .vg-btn { background: var(--t0); color: #fff; }
.vg-hdr .vg-btn:hover { background: #232936; box-shadow: 0 8px 24px rgba(16,19,26,.18); }

.vg-nav { display: flex; align-items: center; gap: .3rem; }
.vg-nav__item { position: static; }

/* Mega menu: a panel across the FULL width of the bar (it was a cramped box
   with tiny letters, rejected by the client on 30 Aug: "not really legible"). */
.vg-hdr__bar { position: relative; }
.vg-mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: 0 34px 90px rgba(16,19,26,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.vg-nav__item.is-open .vg-mega { opacity: 1; visibility: visible; transform: translateY(0); }
/* invisible bridge between the pill and the panel so the hover does not break in the gap */
.vg-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.vg-mega__in { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.25rem, 2vw, 2rem); }
.vg-mega__side { border-radius: var(--r-md); padding: 1.35rem;
  background: linear-gradient(165deg, color-mix(in srgb, var(--pill-acc, #2563c9) 15%, #fff), color-mix(in srgb, var(--pill-acc, #2563c9) 4%, #fff));
  border: 1px solid color-mix(in srgb, var(--pill-acc, #2563c9) 22%, var(--hair));
  display: flex; flex-direction: column; align-items: flex-start; }
.vg-mega__side strong { display: block; color: var(--t0); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.vg-mega__side p { font-size: .9rem; color: var(--t1); line-height: 1.55; margin-bottom: 1.1rem; }
.vg-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem 1.75rem; align-content: start; }
.vg-mega__col h5 {
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--t0); margin: 0 0 .35rem;
  padding: 0 .6rem .5rem; border-bottom: 2px solid color-mix(in srgb, var(--pill-acc, #2563c9) 45%, var(--hair));
}
.vg-mega a { display: block; padding: .44rem .6rem; border-radius: 8px; color: var(--t1); text-decoration: none; font-size: .95rem; font-family: var(--font-head); font-weight: 500; line-height: 1.35; }
.vg-mega a:hover { background: color-mix(in srgb, var(--pill-acc, #2563c9) 9%, #fff); color: var(--t0); text-decoration: none; }
.vg-mega__side a { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding: .55rem 1.05rem;
  border-radius: 999px; background: var(--t0); color: #fff; font-weight: 600; font-size: .86rem; }
.vg-mega__side a:hover { background: #232936; color: #fff; }
.vg-mega__side a i { font-style: normal; }

/* Mobile */
.vg-burger { display: none; margin-left: auto; background: #fff; border: 1px solid var(--hair-2); border-radius: 10px; padding: .45rem; color: var(--t0); cursor: pointer; }
.vg-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vg-burger .x { display: none; }
.vg-burger[aria-expanded="true"] .x { display: block; }
.vg-burger[aria-expanded="true"] .bars { display: none; }
@media (max-width: 991.98px) {
  .vg-hdr__util { display: none; }
  .vg-burger { display: inline-flex; }
  .vg-hdr__bar { display: none; flex-direction: column; align-items: stretch; gap: .3rem;
    padding: .75rem 0 1.1rem; max-height: calc(100dvh - 72px); overflow-y: auto;
    border-top: 1px solid var(--hair); overscroll-behavior: contain; }
  .vg-hdr__bar.is-open { display: flex; }
  .vg-hdr__right { margin-left: 0; flex-direction: column; align-items: stretch; gap: .3rem; margin-top: .6rem; padding-top: .75rem; border-top: 1px solid var(--hair); }
  .vg-hdr__right .vg-btn { justify-content: center; padding: .8rem 1.6rem; }
  .vg-nav { flex-direction: column; align-items: stretch; gap: .3rem; }
  .vg-pill { justify-content: space-between; width: 100%; padding: .8rem 1rem;
    background: #f3f4f8; border-radius: 12px; font-size: .95rem; color: var(--t0); }
  .vg-pill svg { width: 13px; height: 13px; }
  .vg-nav__item.is-open .vg-pill { background: var(--t0); color: #fff; }
  .vg-nav__item.is-open .vg-pill svg { transform: rotate(180deg); }
  .vg-nav__item.is-open .vg-pill.vg-pill--on { background: var(--gold); color: #10131a; }
  .vg-mega { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none;
    border: 0; border-left: 3px solid color-mix(in srgb, var(--pill-acc, #2563c9) 45%, var(--hair));
    border-radius: 0; background: transparent; padding: .35rem 0 .5rem .85rem; margin: .3rem 0 .2rem .5rem; display: none; }
  .vg-mega::before { display: none; }
  .vg-mega__side { display: none; }
  .vg-nav__item.is-open .vg-mega { display: block; }
  .vg-mega__in { grid-template-columns: 1fr; gap: .6rem; }
  .vg-mega__cols { grid-template-columns: 1fr; gap: .8rem; }
  .vg-mega__col h5 { border-bottom: 0; padding: 0 .6rem .1rem; margin-bottom: .1rem; font-size: .72rem;
    color: color-mix(in srgb, var(--pill-acc, #2563c9) 65%, var(--t0)); }
  .vg-mega a { padding: .5rem .6rem; font-size: .95rem; }
}

/* ------------------------------------------------ bento with hierarchy
   Five families in a grid of 3 left a gap and all cards looked
   the same. The first family gets a large card. */
.vg-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
.vg-bento > *:first-child { grid-column: span 2; grid-row: span 2; }
.vg-bento > *:first-child { display: flex; flex-direction: column; }
.vg-bento > *:first-child .vg-frame { aspect-ratio: auto; flex: 1; min-height: 300px; }
.vg-bento > *:first-child h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.vg-bento > *:first-child p { font-size: 1rem; }
@media (max-width: 1024px) {
  .vg-bento { grid-template-columns: repeat(2, 1fr); }
  .vg-bento > *:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) { .vg-bento { grid-template-columns: 1fr; } .vg-bento > *:first-child { grid-column: auto; } }

/* ------------------------------------------------ horizontal product rail
   A different shape from yet another grid: swiped with a finger on mobile. */
.vg-rail-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(292px, 1fr);
  gap: clamp(1rem, 1.4vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.vg-rail-x > * { scroll-snap-align: start; }
.vg-rail-x::-webkit-scrollbar { height: 6px; }
.vg-rail-x::-webkit-scrollbar-thumb { background: var(--hair-2); border-radius: 999px; }
.vg-rail-x::-webkit-scrollbar-track { background: transparent; }

/* ------------------------------------------------ port card
   The port name sits on a bar under the photo, not over it. */
.vg-place { display: flex; align-items: center; gap: .6rem; padding: 0 0 .5rem; }
.vg-place b { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dv-dark); font-weight: 500; }
.vg-place span { height: 1px; flex: 1; background: var(--hair); }

/* ------------------------------------------------ division card with its own glow */
.vg-div { position: relative; }
.vg-div::after {
  content: ""; position: absolute; inset: auto -1px -1px -1px; height: 55%;
  background: radial-gradient(70% 100% at 50% 100%, color-mix(in srgb, var(--dv) 10%, transparent), transparent 72%);
  pointer-events: none; border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.vg-div > * { position: relative; z-index: 1; }
.vg-div .vg-card__meta { color: color-mix(in srgb, var(--dv) 80%, #10131a); }

/* ------------------------------------------------ larger hero */
.vg-hero__grid { align-items: center; }
.vg-hero .vg-stage__card img { aspect-ratio: 4/3; }

/* Band with the brands we represent, scrolling slowly.
   Gives the page a sign of life without distracting. */
.vg-marquee { position: relative; overflow: hidden; border-block: 1px solid var(--hair); padding: .9rem 0; margin-bottom: clamp(.5rem, 1.5vw, 1.25rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.vg-marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: vg-slide 38s linear infinite; }
.vg-marquee span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--t2); white-space: nowrap; letter-spacing: .01em; }
.vg-marquee__label {
  display: block; margin-top: .25rem; font-family: var(--mono); font-weight: 500; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--t2);
  margin-bottom: .85rem;
}
@keyframes vg-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vg-marquee__track { animation: none; } }

/* ------------------------------------------------ light following the cursor
   Each panel has a spot of light that moves with the mouse. It is the detail
   that makes the surface feel material rather than a drawn rectangle. */
.vg-panel { --mx: 50%; --my: 0%; }
.vg-panel > .vg-sheen {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .35s ease; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my),
              color-mix(in srgb, var(--dv) 10%, transparent), transparent 62%);
}
.vg-panel:hover > .vg-sheen { opacity: 1; }
.vg-panel > *:not(.vg-sheen) { position: relative; z-index: 1; }

/* lit edge on hover, in yellow, very discreet */
a.vg-panel::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid transparent; transition: border-color .25s ease;
}
a.vg-panel:hover::after { border-color: color-mix(in srgb, var(--dv) 55%, transparent); }

/* Ports: one large card and two small ones, a different shape from the earlier grids */
.vg-cases { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1rem, 1.6vw, 1.4rem); }
.vg-cases__side { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); }
.vg-cases > a:first-child { display: flex; flex-direction: column; }
.vg-cases > a:first-child .vg-frame { aspect-ratio: auto; flex: 1; min-height: 260px; }
.vg-cases > a:first-child .vg-link { margin-top: auto; padding-top: 1rem; }
.vg-cases > a:first-child h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.vg-cases__side .vg-card { display: flex; flex-direction: column; }
.vg-cases__side .vg-frame { margin: 0 0 .95rem; aspect-ratio: 16/9; }
.vg-cases__side .vg-card > div:last-child { display: flex; flex-direction: column; flex: 1; }
@media (max-width: 860px) { .vg-cases { grid-template-columns: 1fr; } }

/* ------------------------------------------------ the promise + turnkey delivery
   The tagline has its own section, centred, with the yellow marker; below it,
   the five steps that say we deliver everything turnkey. */
.vg-manif { text-align: center; }
.vg-manif .vg-label { justify-content: center; }
.vg-manif h2 { max-width: 18ch; margin: 1.1rem auto .9rem; text-wrap: balance; }
.vg-manif h2 em { font-style: normal; color: var(--t0); position: relative; white-space: nowrap; }
.vg-manif h2 em::before {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em;
  bottom: .02em; height: .48em; background: var(--gold); border-radius: 3px;
  transform: skewX(-6deg);
}
.vg-manif .lede { margin-inline: auto; max-width: 58ch; }
.vg-proc {
  list-style: none; margin: clamp(2rem, 3.5vw, 3rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem);
  text-align: left; counter-reset: none;
}
.vg-proc li {
  position: relative; background: var(--g1); border: 1px solid var(--hair);
  border-radius: var(--r-md); padding: 1.15rem 1.15rem 1.3rem; box-shadow: var(--shadow-1);
}
.vg-proc li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 999px; margin-bottom: .85rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; font-weight: 500;
  color: var(--dv-dark); background: color-mix(in srgb, var(--dv) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--dv) 30%, transparent);
}
.vg-proc h3 { font-size: 1rem; margin-bottom: .4rem; }
.vg-proc p { font-size: .9375rem; line-height: 1.5; color: var(--t1); }
/* arrow linking the steps, desktop only */
.vg-proc li:not(:last-child)::after {
  content: "\2192"; position: absolute; top: 1.35rem; right: calc(-1 * clamp(1rem,1.6vw,1.4rem) + 2px);
  width: clamp(1rem, 1.6vw, 1.4rem); text-align: center;
  font-family: var(--mono); font-size: .8rem; color: color-mix(in srgb, var(--dv) 65%, var(--t2));
}
@media (max-width: 1024px) {
  .vg-proc { grid-template-columns: repeat(2, 1fr); }
  .vg-proc li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vg-proc li::after { display: none; }
}
@media (max-width: 560px) { .vg-proc { grid-template-columns: 1fr; } .vg-proc li:last-child:nth-child(odd) { grid-column: auto; } }

/* ------------------------------------------------ group head on the division page
   Mono index in a circle + the family name, with the description on the right. */
.vg-group { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.vg-group:last-child { margin-bottom: 0; }
.vg-group__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--hair);
}
.vg-group__head > div { display: flex; align-items: center; gap: .85rem; }
.vg-group__idx {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 999px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; font-weight: 500;
  color: var(--dv-dark); background: color-mix(in srgb, var(--dv) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--dv) 30%, transparent);
}
.vg-group__head h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.vg-group__head p { font-size: .88rem; color: var(--t2); max-width: 42ch; text-align: right; line-height: 1.5; }
@media (max-width: 760px) {
  .vg-group__head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .vg-group__head p { text-align: left; }
}

/* ------------------------------------------------ carousel with the centre highlighted
   Replaces the rail with a scrollbar: the middle card is raised and coloured,
   the neighbours recede; arrows + dots, no scrollbar. */
.vg-caro { position: relative; margin-top: clamp(.5rem, 1.5vw, 1rem); overflow: hidden; padding-block: 1.25rem .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.vg-caro__track {
  display: flex; gap: clamp(1rem, 1.4vw, 1.25rem); width: max-content;
  transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform;
}
.vg-caro__item {
  width: clamp(250px, 23vw, 320px); flex: none;
  transform: scale(.94); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .45s ease;
}
.vg-caro__item.on { transform: scale(1.04); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--dv) 45%, var(--hair)); z-index: 2; }
.vg-caro__item .vg-link { padding-top: .6rem; }
.vg-caro__nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.25rem; }
.vg-caro__btn {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  width: 2.6rem; height: 2.6rem; border-radius: 999px; font-size: 1rem;
  background: #fff; color: var(--t0); border: 1px solid var(--hair-2);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.vg-caro__btn:hover { border-color: var(--t2); transform: translateY(-1px); }
.vg-caro__dots { display: flex; gap: .45rem; }
.vg-caro__dots i {
  width: 7px; height: 7px; border-radius: 999px; background: var(--hair-2);
  transition: background .25s ease, transform .25s ease;
}
.vg-caro__dots i.on { background: var(--dv); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .vg-caro__track, .vg-caro__item { transition: none; }
}

/* =============================================================
   Sub-page components: product, catalogue, news, content.
   The same .vg system, the same shadows and mono labels.
   ============================================================= */

/* Breadcrumbs */
.vg-crumbs { padding: 1.25rem 0 0; font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; }
.vg-crumbs ol { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.vg-crumbs li { color: var(--t2); }
.vg-crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--hair-2); }
.vg-crumbs a { color: var(--t2); text-decoration: none; }
.vg-crumbs a:hover { color: var(--t0); }

/* Sub-page hero: lower than the division one */
.vg-hero--sub { padding-top: clamp(1.75rem, 3.5vw, 3rem); }
.vg-hero--sub h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16ch; }

/* Sticky subnav on the product page */
.vg-subnav { position: sticky; top: var(--vg-header-height, 128px); z-index: 60; background: rgba(251,251,252,.88); backdrop-filter: blur(14px) saturate(1.4); border-block: 1px solid var(--hair); }
.vg-subnav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none; }
.vg-subnav ul::-webkit-scrollbar { display: none; }
.vg-subnav a { display: flex; align-items: center; min-height: 44px; padding: .55rem .95rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--t1); text-decoration: none; white-space: nowrap; }
.vg-subnav a:hover { background: rgba(16,19,26,.05); color: var(--t0); text-decoration: none; }

/* Feature card, with the icon in a circle */
.vg-feat { display: flex; gap: .95rem; align-items: flex-start; padding: 1.15rem 1.2rem 1.25rem; }
.vg-feat__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; color: var(--dv-dark); background: color-mix(in srgb, var(--dv) 8%, #fff); border: 1px solid color-mix(in srgb, var(--dv) 30%, transparent); }
.vg-feat__ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vg-feat h3 { font-size: 1.02rem; margin: .2rem 0 .35rem; }
.vg-feat p { font-size: 1rem; line-height: 1.55; color: var(--t1); }

/* Checklist */
.vg-ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .7rem; }
.vg-ticks li { position: relative; padding-left: 1.9rem; font-size: .95rem; line-height: 1.55; color: var(--t1); }
.vg-ticks li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: color-mix(in srgb, var(--dv) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--dv) 30%, transparent);
}
.vg-ticks li::after {
  content: ""; position: absolute; left: .28rem; top: calc(.12em + .28rem); width: .62rem; height: .62rem;
  background: var(--dv-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.vg-ticks li strong { color: var(--t0); }
.vg-ticks--sm li { font-size: .9375rem; }

/* Model table */
.vg-tblwrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--g1); box-shadow: var(--shadow-1); }
.vg-tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 540px; }
.vg-tbl caption { caption-side: top; text-align: left; padding: 1rem 1.15rem .35rem; font-family: var(--font-head); font-weight: 600; color: var(--t0); }
.vg-tbl th, .vg-tbl td { padding: .7rem 1.15rem; text-align: left; border-bottom: 1px solid var(--hair); color: var(--t1); }
.vg-tbl thead th { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); background: color-mix(in srgb, var(--dv) 4%, #fff); }
.vg-tbl tbody tr:last-child td { border-bottom: 0; }
.vg-tbl tbody td:first-child { color: var(--t0); font-weight: 500; }

/* FAQ */
.vg-faq { max-width: 76ch; }
.vg-faq details { background: var(--g1); border: 1px solid var(--hair); border-radius: var(--r-md); box-shadow: var(--shadow-1); margin-bottom: .7rem; overflow: hidden; }
.vg-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-family: var(--font-head); font-weight: 600; color: var(--t0); }
.vg-faq summary::-webkit-details-marker { display: none; }
.vg-faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2px solid var(--t2); border-bottom: 2px solid var(--t2); transform: rotate(45deg); transition: transform .2s ease; }
.vg-faq details[open] summary::after { transform: rotate(-135deg); }
.vg-faq .vg-faq__a { padding: 0 1.2rem 1.15rem; font-size: .93rem; line-height: 1.6; color: var(--t1); }
.vg-faq .vg-faq__a p { margin-bottom: .7rem; }
.vg-faq .vg-faq__a > :last-child { margin-bottom: 0; }

/* Gallery: a 6-column grid with spans computed in the template, so the last
   row always fills the container (the client: "it is not as wide as the container
   and there are big gaps"). Tight gap, like a photo board. Click = lightbox. */
.vg-gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: .65rem; }
.vg-gal .vg-frame { aspect-ratio: 4/3; grid-column: span 2; cursor: zoom-in; margin: 0; }
.vg-gal .vg-frame--w3 { grid-column: span 3; }
.vg-gal .vg-frame--w6 { grid-column: span 6; aspect-ratio: 21/9; }
.vg-gal .vg-frame--tall { grid-row: span 2; aspect-ratio: auto; }
.vg-gal .vg-frame:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .vg-gal { grid-template-columns: repeat(2, 1fr); }
  .vg-gal .vg-frame, .vg-gal .vg-frame--w3 { grid-column: span 1; }
  .vg-gal .vg-frame--w6 { grid-column: span 2; aspect-ratio: 16/9; }
  .vg-gal .vg-frame--tall { grid-row: auto; aspect-ratio: 4/3; }
}
@media (max-width: 560px) { .vg-gal { grid-template-columns: 1fr; } .vg-gal .vg-frame--w6 { grid-column: span 1; } }

/* Gallery lightbox */
.vg-lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(8,11,17,.92); backdrop-filter: blur(6px); padding: clamp(1rem, 4vw, 3rem); }
.vg-lb.is-open { display: flex; }
.vg-lb img { max-width: min(1400px, 100%); max-height: 82vh; border-radius: 12px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
/* the client does not want captions under images in the lightbox (31 Aug 2026) */
.vg-lb figcaption { display: none; }
.vg-lb__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: 999px; cursor: pointer; font-size: 1.15rem;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  transition: background .18s ease; }
.vg-lb__btn:hover { background: rgba(255,255,255,.22); }
.vg-lb__close { top: 1.1rem; right: 1.1rem; }
.vg-lb__prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.vg-lb__next { right: 1.1rem; top: 50%; transform: translateY(-50%); }
.vg-lb__count { position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .vg-lb__prev { left: .4rem; } .vg-lb__next { right: .4rem; } }

/* Prose (news, legal pages): article sizes, not poster sizes */
.vg .prose { max-width: 72ch; color: var(--t1); }
.vg .prose h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 2.2rem 0 .8rem; }
.vg .prose h3 { font-size: 1.15rem; margin: 1.7rem 0 .6rem; }
.vg .prose p { margin-bottom: 1rem; line-height: 1.7; }
.vg .prose a { color: var(--dv-dark); text-decoration: underline; text-underline-offset: 2px; }
.vg .prose a:hover { color: var(--t0); }
.vg .prose img { border-radius: var(--r-md); margin: 1.4rem 0; box-shadow: var(--shadow-1); }
.vg .prose li::marker { color: var(--dv-dark); }
.vg .prose blockquote { border-left: 3px solid var(--dv); margin: 1.5rem 0; padding-left: 1.1rem; color: var(--t1); font-style: italic; }
/* Tables in prose (SLA, legal): white panel, and on mobile horizontal scroll
   with the first column pinned - 4 columns squeezed at 390px were illegible. */
.vg .prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4rem 0;
  background: var(--g1); border: 1px solid var(--hair); border-radius: var(--r-md);
  box-shadow: var(--shadow-1); font-size: .92rem; overflow: hidden; }
.vg .prose thead th { background: color-mix(in srgb, var(--dv) 5%, #fff); color: var(--t0);
  font-weight: 600; text-align: left; }
.vg .prose th, .vg .prose td { border-bottom: 1px solid var(--hair); padding: .65rem .85rem; vertical-align: top; }
.vg .prose tbody tr:last-child td { border-bottom: 0; }
.vg .prose tbody td:first-child { color: var(--t0); font-weight: 500; }
@media (max-width: 760px) {
  .vg .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vg .prose th, .vg .prose td { min-width: 8.5rem; }
  .vg .prose th:first-child, .vg .prose td:first-child { position: sticky; left: 0; min-width: 7.5rem;
    background: #fff; box-shadow: 1px 0 0 var(--hair); }
  .vg .prose thead th:first-child { background: color-mix(in srgb, var(--dv) 5%, #fff); }
}

/* Formular */
.vg-form .form__row { margin-bottom: 1rem; }
.vg-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--t0); margin-bottom: .4rem; }
.vg-form input, .vg-form select, .vg-form textarea {
  width: 100%; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--t0);
  background: #fff; border: 1px solid var(--hair-2); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vg-form input:focus, .vg-form select:focus, .vg-form textarea:focus {
  outline: none; border-color: var(--dv); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dv) 18%, transparent);
}
.vg-form .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .vg-form .form__grid { grid-template-columns: 1fr; } }
.vg-form .form__trap { position: absolute; left: -9999px; }
.vg-form .form__msg { margin-top: 1rem; font-size: .92rem; padding: .8rem 1rem; border-radius: 10px; }
.vg-form .form__msg--ok { background: #e8f6ec; color: #1c6b34; }
.vg-form .form__msg--err { background: #fbecec; color: #a13030; }

/* Contact page: form + information column */
.vg-contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1rem, 1.6vw, 1.4rem); align-items: start; }
@media (max-width: 900px) { .vg-contact { grid-template-columns: 1fr; } }

/* Contact information panel */
.vg-info { padding: 1.25rem 1.35rem; }
.vg-info h3 { font-family: var(--mono); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); margin: 1.1rem 0 .35rem; }
.vg-info h3:first-child { margin-top: 0; }
.vg-info p { font-size: .95rem; line-height: 1.55; color: var(--t1); }
.vg-info a { color: var(--t0); text-decoration: none; font-weight: 500; }
.vg-info a:hover { color: var(--dv-dark); }

/* ------------------------------------------------ subsol, in sistemul paginii */
.vg .foot { background: transparent; border-top: 1px solid var(--hair); color: var(--t2); padding-top: clamp(3rem,5vw,4.5rem); }
.vg .foot a { color: var(--t1); }
.vg .foot a:hover { color: var(--t0); }
.vg .foot__h { color: var(--t2) !important; font-family: var(--mono) !important; font-size: .75rem !important; letter-spacing: .08em !important; font-weight: 500 !important; }
.vg .foot__bar { border-top-color: var(--hair); color: var(--t2); }
.vg .foot__brand p { color: var(--t2); }
.vg .foot__logo img { height: 26px; }

/* =============================================================
   Design round of 30 Aug: photo band, news with thumbnails, SEO
   article on products, rebuilt News pages, header dropdowns,
   magazines (flipbook) and SIM activation.
   ============================================================= */

/* Photo band under the features: always fills the container, whatever the
   source size (before it came out smaller and looked broken). */
.vg-frame--band { aspect-ratio: 21/9; }
.vg-frame--band img { position: absolute; inset: 0; }
@media (max-width: 760px) { .vg-frame--band { aspect-ratio: 4/3; } }

/* News rows with thumbnail */
.vg-news a { grid-template-columns: 96px 108px 1fr auto; }
.vg-news__thumb { width: 96px; aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; background: #eef0f4; }
.vg-news__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .vg-news a { grid-template-columns: 96px 1fr; grid-template-rows: auto auto; }
  .vg-news__thumb { grid-row: 1 / 3; }
}

/* ------------------------------------------------ the SEO article on the product page
   Sticky title on the left, prose on the right: gives the page weight without
   looking like a wall of text. */
.vg-article { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.vg-article__head { position: sticky; top: calc(var(--vg-header-height, 128px) + var(--vg-subnav-height, 64px) + 24px); }
.vg-article__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: .95rem 0 .85rem; }
.vg-article__head .lede { font-size: .98rem; }
.vg-article__body h3 { font-size: 1.18rem; margin: 0 0 .7rem; }
.vg-article__body section { padding: 1.35rem 0; border-top: 1px solid var(--hair); }
.vg-article__body section:first-child { border-top: 0; padding-top: .2rem; }
.vg-article__body p { margin: 0 0 .9rem; line-height: 1.72; color: var(--t1); font-size: .97rem; }
.vg-article__body p:last-child { margin-bottom: 0; }
.vg-article__body a { color: var(--dv-dark); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .vg-article { grid-template-columns: 1fr; } .vg-article__head { position: static; } }

/* ------------------------------------------------ News: card index */
.vg-newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
@media (max-width: 1024px) { .vg-newsgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vg-newsgrid { grid-template-columns: 1fr; } }
.vg-ncard { display: flex; flex-direction: column; padding: clamp(1.05rem, 1.5vw, 1.25rem); }
.vg-ncard .vg-frame { aspect-ratio: 4/3; margin-bottom: 1rem; }
/* square/portrait news images: not cropped, fitted */
.vg-frame--fit img { object-fit: contain; background: #eef0f4; }
.vg-ncard time { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t2); margin-bottom: .5rem; display: block; }
.vg-ncard h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.vg-ncard p { font-size: .89rem; color: var(--t1); line-height: 1.55; }
.vg-ncard .vg-link { margin-top: auto; padding-top: 1rem; }
/* primul articol, mare */
.vg-newsfeat { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; margin-bottom: clamp(1rem, 1.6vw, 1.4rem); }
.vg-newsfeat .vg-feature__media { min-height: clamp(260px, 30vw, 400px); }
@media (max-width: 900px) { .vg-newsfeat { grid-template-columns: 1fr; } }

/* Article page */
.vg-artmeta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; margin-top: 1.1rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); }
.vg-artmeta a { color: var(--dv-dark); font-weight: 600; text-underline-offset: 3px; }
.vg-arthero { margin: clamp(1.5rem, 3vw, 2.25rem) auto 0; max-width: 1040px;
  aspect-ratio: auto; background: #eef0f4; }
.vg-arthero img { position: static; display: block; width: 100%; height: auto;
  max-height: 580px; object-fit: contain; }
.vg-artgrid { display: grid; grid-template-columns: 1fr minmax(0, 72ch) 1fr; }
.vg-artgrid > * { grid-column: 2; }
.vg .prose .vg-artcontents { padding: 1.25rem 1.4rem; margin-bottom: 2rem;
  border: 1px solid var(--hair); border-left: 3px solid var(--dv); border-radius: var(--r-md); background: #f7f9fc; }
.vg .prose .vg-artcontents p { margin: 0 0 .6rem; color: var(--t0); font-weight: 600; }
.vg .prose .vg-artcontents ol { margin: 0; padding-left: 1.2rem; }
.vg .prose .vg-artcontents li { padding: .18rem 0; line-height: 1.5; }
.vg .prose h2[id] { scroll-margin-top: calc(var(--vg-header-height, 128px) + 24px); }
.vg-ncard .vg-ncard__category { font-size: .72rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--dv-dark); margin: 0 0 .4rem; }

/* ------------------------------------------------ dropdown in bara de utilitati */
.vg-hdr__util { position: relative; }
.vg-udrop { position: relative; }
.vg-udrop > :is(a, summary) { display: inline-flex; align-items: center; gap: .35rem; }
.vg-udrop > summary { color: var(--t2); cursor: pointer; list-style: none; white-space: nowrap; }
.vg-udrop > summary:hover { color: var(--t0); }
.vg-udrop > summary::-webkit-details-marker { display: none; }
.vg-udrop > :is(a, summary) svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.vg-udrop__menu { position: absolute; top: calc(100% + .55rem); right: -0.5rem; z-index: 95; min-width: 220px;
  background: #fff; border: 1px solid var(--hair); border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(16,19,26,.16); padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.vg-udrop:hover .vg-udrop__menu, .vg-udrop:focus-within .vg-udrop__menu, .vg-udrop[open] .vg-udrop__menu { opacity: 1; visibility: visible; transform: none; }
.vg-udrop__menu a { display: block; padding: .5rem .7rem; border-radius: 8px; color: var(--t1); font-size: .86rem; font-weight: 500; }
.vg-udrop__menu a:hover { background: rgba(16,19,26,.05); color: var(--t0); }
.vg-udrop__menu .sep { height: 1px; background: var(--hair); margin: .35rem .5rem; }
.vg-udrop__menu small { display: block; padding: .45rem .7rem .15rem; font-family: var(--mono); font-size: .62rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
/* keep the dropdown open while the cursor crosses the gap under the link */
.vg-udrop::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: .7rem; }

/* utilities on mobile: reappear in the burger panel, in two columns */
.vg-mobiletools { display: none; }
@media (max-width: 991.98px) {
  .vg-mobiletools { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .6rem;
    margin-top: .6rem; padding-top: .75rem; border-top: 1px solid var(--hair); }
  .vg-mobiletools a { display: block; padding: .65rem .9rem; border-radius: 10px; color: var(--t1);
    background: #f7f8fa; text-decoration: none; font-size: .92rem; font-weight: 500; }
  .vg-mobiletools a:hover { background: rgba(16,19,26,.07); color: var(--t0); }
  .vg-mobiletools small { display: block; grid-column: 1 / -1; padding: .6rem .2rem .1rem; font-family: var(--mono); font-size: .66rem;
    font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
}

/* ------------------------------------------------ reviste (flipbook) */
.vg-mags { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
@media (max-width: 1024px) { .vg-mags { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vg-mags { grid-template-columns: 1fr; } }
.vg-mag { display: flex; flex-direction: column; padding: clamp(1.05rem, 1.5vw, 1.25rem); }
.vg-mag__cover { display: block; position: relative; aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--dv) 14%, #fff), #eef0f4); margin-bottom: 1rem;
  box-shadow: inset 0 0 0 1px rgba(16,19,26,.06); }
.vg-mag__cover canvas, .vg-mag__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vg-mag h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.vg-mag p { font-size: .89rem; color: var(--t1); line-height: 1.55; }
.vg-mag .vg-link { margin-top: auto; padding-top: 1rem; }
.vg-mag__meta { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t2); margin-bottom: .5rem; }

/* Magazine reader: on WHITE (the dark-background variant was rejected by the
   client, 30 Aug), with a fullscreen button. */
.vg-book { position: relative; background: var(--g1); border-radius: var(--r-lg); border: 1px solid var(--hair);
  padding: clamp(1rem, 2.5vw, 2rem); box-shadow: var(--shadow-1); }
.vg-book__stage { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 320px; }
.vg-book__stage canvas { max-width: 100%; height: auto; border-radius: 4px; background: #fff;
  border: 1px solid var(--hair); box-shadow: 0 14px 44px rgba(16,19,26,.16); }
.vg-book__stage canvas + canvas { border-radius: 0 4px 4px 0; border-left: 0; }
.vg-book__stage canvas:first-child:not(:only-child) { border-radius: 4px 0 0 4px; }
.vg-book__bar { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.vg-book__page { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; color: var(--t2); min-width: 7ch; text-align: center; }
.vg-book__dl { color: var(--t1); font-size: .84rem; text-decoration: underline; text-underline-offset: 2px; }
.vg-book__dl:hover { color: var(--t0); }
/* fullscreen: the reader fills the screen, still on white */
.vg-book:fullscreen { border-radius: 0; border: 0; display: flex; flex-direction: column; justify-content: center; background: #fbfbfc; }
.vg-book:fullscreen .vg-book__stage { flex: 1; min-height: 0; }

/* ------------------------------------------------ activare SIM */
.vg-steps { display: flex; gap: .5rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); flex-wrap: wrap; }
.vg-steps span { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--t2); background: #fff; border: 1px solid var(--hair); }
.vg-steps span.on { color: #10131a; background: var(--gold); border-color: var(--gold); }
.vg-steps span.done { color: var(--dv-dark); border-color: color-mix(in srgb, var(--dv) 35%, var(--hair)); }
.vg-sim__phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: .5rem; }
@media (max-width: 640px) { .vg-sim__phones { grid-template-columns: repeat(2, 1fr); } }
.vg-sim__phones label { display: block; }
.vg-sim__phones input { position: absolute; opacity: 0; pointer-events: none; }
.vg-sim__phones span { display: block; text-align: center; padding: .65rem .4rem; border: 1px solid var(--hair-2);
  border-radius: 10px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--t0); cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.vg-sim__phones input:checked + span { border-color: var(--dv); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dv) 18%, transparent); background: color-mix(in srgb, var(--dv) 6%, #fff); }
.vg-sim__ops { display: flex; gap: .55rem; }
.vg-sim__ops label { flex: 1; }
.vg-sim__hide { display: none !important; }

/* Placeholder for news without an image: gradient in the division colour + logo */
.vg-frame--ph { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--dv) 16%, #fff), color-mix(in srgb, var(--dv) 5%, #f2f4f8)); }
.vg-frame--ph img { width: 55% !important; height: auto !important; object-fit: contain !important; opacity: .55; filter: grayscale(.2); }

/* September polish: quieter surfaces, stable media and consistent navigation. */
.vg::before { max-height: 1100px; background-size: 96px 96px; opacity: .65; }
.vg::after {
  background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--dv) 6%, transparent), transparent 65%);
  height: 1000px; animation: none;
}
.vg-stage__floor { display: none; }
.vg-stage__glow { opacity: .45; }
.vg-hero__grid > *, .vg-grid > *, .vg-bento > *, .vg-feature > * { min-width: 0; }
.vg h1, .vg h2, .vg h3 { text-wrap: balance; }
.vg h1 { overflow-wrap: anywhere; }
.vg-label::before { flex: none; }
.vg-hero.vg-hero--sub .vg-stage__card img { aspect-ratio: auto; height: auto; object-fit: contain; background: #eef0f4; }
.vg-hero__grid:not(:has(.vg-stage, .vg-harbor-scene, .vg-hero-products)) { grid-template-columns: 1fr; max-width: 900px; }
.vg-hero__grid:not(:has(.vg-stage, .vg-harbor-scene, .vg-hero-products)) h1 { max-width: 22ch; }
.vg-card .vg-card__meta { font-size: .75rem; letter-spacing: .07em; line-height: 1.5; margin-bottom: .5rem; }
.vg-card > .vg-frame { flex-shrink: 0; }
.vg-frame[class*="vg-frame--"]:not(.vg-frame--ph) > img, .vg-bento > :first-child .vg-frame > img,
.vg-cases > a:first-child .vg-frame > img { position: absolute; inset: 0; }
.vg-bento > :first-child .vg-frame, .vg-cases > a:first-child .vg-frame { overflow: hidden; }
.vg-feature__media::after { display: none; }
.vg-feature__media .vg-frame img { position: absolute; inset: 0; }
.vg-card .vg-link { align-self: flex-start; }
.vg-card:focus-visible, .vg-btn:focus-visible { outline: 3px solid var(--dv-dark); outline-offset: 4px; }
.vg-rail { box-shadow: none; }
.vg-proc li { box-shadow: none; }
.vg-proc li span { border-radius: 8px; }
.vg-feat { padding: 1.5rem; }
.vg-feat__ico { border-radius: 10px; border-color: transparent; }
.vg-tbl th, .vg-tbl td { padding-block: .95rem; vertical-align: top; }
.vg-tbl tbody tr { transition: background .15s; }
.vg-tbl tbody tr:hover { background: color-mix(in srgb, var(--dv) 4%, #fff); }
.vg-tblwrap { scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.vg-faq details { box-shadow: none; }
.vg-faq details[open] { border-color: color-mix(in srgb, var(--dv) 35%, var(--hair)); }
.vg-faq details[open] summary { color: var(--dv-dark); }
.vg-news a { min-height: 104px; border-radius: 8px; }
.vg-news a:hover { background: rgba(255,255,255,.85); }
.vg-panel.vg-ncard, .vg-panel.vg-mag { display: flex; flex-direction: column; height: 100%; }
.vg-panel.vg-newsfeat { display: grid; }
.vg-ncard p { font-size: 1rem; }
.vg-ncard time { font-size: .75rem; letter-spacing: .05em; }
.vg-info { padding: 1.5rem; }
.vg-form label { font-size: .9375rem; }
.vg-form input, .vg-form select { min-height: 50px; }
.vg-form textarea { resize: vertical; }
.vg-contact { gap: clamp(1.5rem, 3vw, 3rem); }
.vg-contact > :last-child > .vg-info { border-top: 3px solid var(--gold); }
.vg .foot__top { gap: 2rem; }
.vg .foot__logo img { height: auto; width: 225px; max-width: 100%; }
.vg .foot__brand p, .vg .foot li { font-size: .875rem; line-height: 1.7; }
.vg .foot__h { margin-bottom: .9rem; }
.vg .foot__bar { padding-block: 1.35rem; gap: 1rem; }

/* Header: utility actions above, five divisions and company links below. */
.vg-hdr { background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.vg-hdr__top { padding-block: 1rem; gap: 1.25rem; }
.vg-hdr__util { gap: 1.15rem; font-size: .875rem; }
.vg-hdr__cta { flex: none; }
.vg-hdr__mobile-cta { display: none; }
.vg-hdr__bar { gap: .65rem; padding-block: .6rem; }
.vg-nav { gap: .6rem; }
.vg-nav__entry { display: flex; align-items: stretch; border-radius: 999px; }
.vg-nav__label-compact { display: none; }
.vg-nav__entry:hover, .vg-nav__item.is-open .vg-nav__entry { background: #f1f3f6; }
.vg-nav__entry--current, .vg-nav__entry--current:hover,
.vg-nav__item.is-open .vg-nav__entry--current { background: var(--gold); }
.vg-nav__entry .vg-pill { padding: .65rem 0 .65rem .9rem; font-size: .875rem; background: transparent; }
.vg-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; min-height: 44px; padding: 0; border: 0; border-radius: 999px;
  cursor: pointer; background: transparent; color: var(--t1);
}
.vg-nav__toggle:hover { background: rgba(16,19,26,.07); }
.vg-nav__toggle svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s; }
.vg-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.vg-mega { border-radius: 0 0 18px 18px; }
.vg-mega__in { max-height: calc(100dvh - var(--vg-header-height, 140px) - 80px); overflow-y: auto; overscroll-behavior: contain; }
.vg-mega__cols { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1.5rem; }
.vg-mega__side { border: 0; }
.vg-mega__col h5 { font-size: .75rem; line-height: 1.5; }
.vg-mega a { padding-block: .6rem; }
.vg-hdr__right > .vg-pill { padding-inline: .7rem; }
.vg-burger { width: 44px; height: 44px; align-items: center; justify-content: center; }
.vg-subnav a[aria-current="location"] { background: var(--gold); color: var(--t0); }
.vg-subnav ul { scroll-padding-inline: 1rem; }
.vg-subnav li { margin: 0; }
html:has(.vg) { scroll-padding-top: calc(var(--vg-header-height, 128px) + var(--vg-subnav-height, 0px) + 20px); }
body.vg-menu-open { overflow: hidden; }
.vg-crumbs li { margin: 0; }

@media (min-width: 992px) {
  .vg-hdr__right { padding-left: .65rem; border-left: 1px solid var(--hair); }
}
@media (max-width: 991.98px) {
  .vg-hdr__top { padding-block: .75rem; }
  .vg-hdr__cta { display: none; }
  .vg-hdr__mobile-cta { display: flex; }
  .vg-hdr__bar { padding: 1rem 0 max(1.5rem, env(safe-area-inset-bottom)); }
  .vg-nav { gap: .45rem; }
  .vg-nav__entry { border-radius: 10px; background: #f3f4f6; }
  .vg-nav__entry .vg-pill { flex: 1; width: auto; padding: .9rem 1rem; font-size: .9375rem; white-space: normal; }
  .vg-nav__toggle { width: 48px; border-radius: 0 10px 10px 0; }
  .vg-nav__toggle svg { width: 12px; height: 12px; }
  .vg-nav__item.is-open .vg-pill { color: var(--t0); background: transparent; }
  .vg-nav__item.is-open .vg-pill.vg-pill--on { background: transparent; }
  .vg-mega { border-radius: 0; }
  .vg-mega__in { max-height: none; overflow: visible; }
  .vg-mega__cols { grid-template-columns: 1fr; gap: .8rem; }
  .vg-mega a { min-height: 44px; }
  .vg-hdr__right .vg-pill { padding-inline: 1rem; }
  .vg-hdr__logo img { max-width: min(240px, 65vw); height: auto; }
}
@media (max-width: 940px) {
  .vg-hero__grid { gap: 2rem; }
  .vg-hero .vg-stage__card img { aspect-ratio: 16/10; }
  .vg-hero h1 { max-width: 16ch; }
  .vg-hero--sub h1 { max-width: 20ch; }
}
@media (max-width: 640px) {
  .vg-shell { width: calc(100% - 2.5rem); }
  .vg-hero { padding-top: 2rem; }
  .vg-hero h1 { margin-block: 1rem; }
  .vg-hero .vg-btns { margin-top: 1.5rem; gap: .65rem; }
  .vg-hero .vg-btns .vg-btn { padding-inline: 1.2rem; }
  .vg-hero .vg-label { font-size: .75rem; letter-spacing: .06em; }
  .vg-stage__card { border-radius: 14px; }
  .vg-chip { font-size: .75rem; padding: .4rem .6rem; }
  .vg-chip--a { left: .65rem; top: .65rem; }
  .vg-chip--b { right: .65rem; bottom: .65rem; }
  .vg-rail div { padding: 1.1rem; }
  .vg-bento > :first-child .vg-frame { min-height: 0; aspect-ratio: 4/3; flex: auto; }
  .vg-bento > :first-child h3 { font-size: 1.25rem; }
  .vg-proc li { padding: 1.25rem 1.25rem 1.25rem 4.5rem; }
  .vg-proc li span { position: absolute; top: 1.25rem; left: 1.25rem; }
  .vg-proc p { font-size: 1rem; }
  .vg-feature__body { padding: .25rem 1.4rem 1.5rem; }
  .vg-feat { padding: 1.25rem; }
  .vg-cases > a:first-child .vg-frame { min-height: 0; aspect-ratio: 4/3; flex: auto; }
  .vg-subnav .vg-shell { width: calc(100% - 1.5rem); }
  .vg-subnav a { padding-inline: .8rem; font-size: .8125rem; }
  .vg-form .vg-btn { width: 100%; }
  .vg .foot__bar, .vg .foot__legal { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.vg) { scroll-behavior: auto; }
  .vg *, .vg *::before, .vg *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Editorial page titles use a readable measure without forcing narrow hero columns. */
.vg-hero--sub:not(.vg-hero) h1 { max-width: 27ch; }
.vg-frame--ph img { position: static; }
/* Text enlargement may require extra header rows even on a wide viewport. */
@media (min-width: 992px) {
  .vg-hdr__top, .vg-hdr__bar, .vg-nav, .vg-hdr__util { flex-wrap: wrap; }
  .vg-nav, .vg-hdr__util { max-width: 100%; }
}

/* Keep the complete two-row header readable on smaller desktop screens. */
@media (min-width: 992px) and (max-width: 1240px) {
  .vg-hdr > .vg-shell { width: calc(100% - 3rem); }
  .vg-hdr__top { gap: .8rem; padding-block: .8rem; }
  .vg-hdr__logo img { height: 29px; }
  .vg-hdr__util { gap: clamp(.65rem, 1vw, .85rem); font-size: .8125rem; }
  .vg-hdr__util > a { white-space: nowrap; }
  .vg-hdr__cta { padding-inline: 1rem; font-size: .8125rem; }
  .vg-hdr__bar { gap: .4rem; padding-block: .4rem; }
  .vg-nav { gap: .15rem; }
  .vg-nav__entry .vg-pill { padding-inline-start: .45rem; font-size: .84375rem; }
  .vg-nav__label-full { display: none; }
  .vg-nav__label-compact { display: inline; }
  .vg-nav__toggle { width: 28px; }
  .vg-hdr__right { gap: .1rem; padding-left: .4rem; }
  .vg-hdr__right > .vg-pill { padding-inline: .45rem; font-size: .8125rem; }
  .vg-mega { padding: 1.25rem; }
  .vg-mega__in { grid-template-columns: 200px minmax(0, 1fr); gap: 1.25rem; }
  .vg-mega__cols { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
}

/* Green Harbor homepage and Marinella NEO: a shared, more focused introduction. */
.vg .vg-hero__promise {
  font-family: var(--font-head); font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.23; letter-spacing: -.025em; font-weight: 500; color: var(--t0);
  max-width: 28ch; margin: -.15rem 0 1.2rem; text-wrap: balance;
}
.vg-home .vg-hero__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4.5vw, 4rem); }
.vg-home .vg-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.vg-harbor-scene { position: relative; padding-bottom: 4.5rem; }
.vg-harbor-scene__main { aspect-ratio: 6/5; border-radius: 20px; box-shadow: var(--shadow-1); }
.vg-harbor-scene__main img { position: absolute; inset: 0; object-position: 48% 50%; }
.vg-harbor-scene__product {
  display: block; position: absolute; width: 40%; max-width: 250px; bottom: 0; right: 1.5rem;
  border: 6px solid var(--g1); border-radius: 16px; background: var(--g1); box-shadow: var(--shadow-2);
  color: var(--t0); overflow: hidden; text-decoration: none;
}
.vg-harbor-scene__product:hover { text-decoration: none; }
.vg-harbor-scene__product > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; }
.vg-harbor-scene__product > span { display: block; padding: .65rem .5rem .45rem; }
.vg-harbor-scene__product small { display: block; color: var(--t2); font-size: .75rem; margin-bottom: .15rem; }
.vg-harbor-scene__product strong { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: var(--font-head); font-size: 1rem; line-height: 1.4; }
.vg-harbor-scene__product i { color: var(--dv-dark); font-style: normal; transition: transform .2s; }
.vg-harbor-scene__product:hover i { transform: translateX(3px); }
.vg-harbor-audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid var(--hair-2); }
.vg-harbor-audiences > div { padding: 1.4rem 1.5rem 0; position: relative; }
.vg-harbor-audiences > div:first-child { padding-left: 0; }
.vg-harbor-audiences > div:last-child { padding-right: 0; }
.vg-harbor-audiences > div + div { border-left: 1px solid var(--hair); }
.vg-harbor-audiences__index { display: block; font-size: .75rem; color: var(--dv-dark); font-weight: 600; margin-bottom: .5rem; }
.vg-harbor-audiences h2 { font-size: 1.2rem; line-height: 1.25; text-wrap: initial; margin-bottom: .65rem; letter-spacing: -.02em; }
.vg-harbor-audiences p { font-size: .9375rem; line-height: 1.6; }
.vg-harbor-ranges { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.25rem; }
.vg-harbor-ranges > .vg-card { grid-column: span 2; }
.vg-harbor-ranges > .vg-card:nth-last-child(-n+2) { grid-column: span 3; }
.vg-harbor-ranges .vg-frame { aspect-ratio: auto; height: clamp(190px, 17vw, 240px); }
.vg-harbor-ranges .vg-frame img { position: absolute; inset: 0; }
.vg-harbor-ranges h3 { font-size: 1.35rem; }
.vg-home .vg-manif > .vg-shell > h2 { max-width: 25ch; }
.vg .vg-process-note { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.5rem; font-size: .8125rem; color: var(--t2); }
.vg-feat--stacked { flex-direction: column; gap: .8rem; }
.vg-feat--stacked h3 { font-size: 1.1rem; }
.vg-feat--stacked p { font-size: .9375rem; }
.vg-how-steps { counter-reset: service-step; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.vg-how-steps li { counter-increment: service-step; position: relative; padding: 0 0 1.2rem 3rem; margin: 0; }
.vg-how-steps li:last-child { padding-bottom: 0; }
.vg-how-steps li::before {
  content: counter(service-step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  width: 2.1rem; height: 2.1rem; border: 1px solid var(--hair-2); border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; color: var(--dv-dark);
}
.vg-how-steps strong { font-family: var(--font-head); font-weight: 600; color: var(--t0); }
.vg-how-steps p { font-size: .9375rem; line-height: 1.6; margin-top: .25rem; }
.vg-catalog-family { margin-top: 2rem; }
.vg-catalog-family > h3 { font-size: 1.125rem; font-weight: 500; margin-bottom: 1rem; color: var(--t1); }
.vg-catalog-family .vg-card h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.25; letter-spacing: -.015em; }
.vg-group__head h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.vg [hidden] { display: none !important; }
@media (max-width: 940px) {
  .vg-home .vg-hero__grid { grid-template-columns: 1fr; }
  .vg-harbor-scene__main { aspect-ratio: 16/9; }
  .vg-harbor-scene__product { width: 30%; }
  .vg-harbor-audiences { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vg-harbor-audiences > div { padding: 1.25rem 1.25rem 1.25rem 0; }
  .vg-harbor-audiences > div:nth-child(odd) { border-left: 0; }
  .vg-harbor-audiences > div:nth-child(even) { padding-left: 1.25rem; padding-right: 0; }
  .vg-harbor-audiences > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .vg-harbor-ranges { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vg-harbor-ranges > .vg-card, .vg-harbor-ranges > .vg-card:nth-last-child(-n+2) { grid-column: auto; }
  .vg-harbor-ranges > .vg-card:last-child { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  .vg-harbor-scene { padding-bottom: 4rem; }
  .vg-harbor-scene__main { aspect-ratio: 6/5; }
  .vg-harbor-scene__product { width: 46%; right: .75rem; border-width: 4px; }
  .vg-harbor-scene__product > span { padding: .4rem; }
  .vg-harbor-scene__product strong { font-size: .875rem; }
  .vg-harbor-scene__product small { font-size: .75rem; }
  .vg-harbor-audiences { margin-top: 2rem; }
  .vg-harbor-audiences h2 { font-size: 1.125rem; }
  .vg-harbor-audiences p { font-size: .875rem; }
  .vg-harbor-ranges { grid-template-columns: 1fr; }
  .vg-harbor-ranges > .vg-card:last-child { grid-column: auto; }
  .vg-harbor-ranges .vg-frame { height: auto; aspect-ratio: 16/10; }
  .vg-feat--stacked { flex-direction: row; gap: 1rem; }
  .vg-feat--stacked p { font-size: 1rem; }
}

/* Homepage product selection: compact portrait cards centered in the hero column. */
.vg-hero-products { width: 100%; max-width: 440px; margin-inline: auto; }
.vg-hero-products__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vg-hero-product { display: block; padding: .4rem; background: #fff; border: 1px solid var(--hair); border-radius: 17px; box-shadow: var(--shadow-1); color: var(--t0); transition: border-color .2s, box-shadow .2s, transform .2s; }
.vg-hero-product:hover { text-decoration: none; border-color: #cfb851; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.vg-hero-product__image { aspect-ratio: 5/6; overflow: hidden; border-radius: 11px; background: #edf1f4; }
.vg-hero-product__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .35s; }
.vg-hero-product:hover img { transform: scale(1.025); }
.vg-hero-product__body { position: relative; padding: .8rem .55rem .45rem; padding-right: 1.4rem; }
.vg-hero-product__body > span { display: block; color: var(--t2); font-size: .6875rem; line-height: 1.4; margin-bottom: .3rem; }
.vg-hero-product__body strong { display: block; font: 600 1rem/1.3 var(--font-head); }
.vg-hero-product__body i { position: absolute; bottom: .6rem; right: .3rem; color: var(--dv-dark); font-style: normal; }
.vg-hero-products .vg-hero-products__all { display: flex; justify-content: center; margin: 1.25rem auto 0; width: fit-content; font-size: .875rem; }
.vg #faq > .vg-shell { max-width: 860px; }
.vg #faq .vg-head { text-align: center; }
.vg #faq .vg-head h2, .vg #faq .vg-head .lede, .vg #faq .vg-faq { margin-inline: auto; }
.vg #faq .vg-head .vg-label { justify-content: center; }
@media (min-width: 941px) {
  .vg-home .vg-hero { padding-top: 2.5rem; }
  .vg-home .vg-hero__grid { gap: 3rem; }
}
@media (max-width: 640px) {
  .vg-hero-products { max-width: 420px; }
  .vg-hero-products__grid { gap: .75rem; }
  .vg-hero-product { padding: .3rem; border-radius: 14px; }
  .vg-hero-product__image { aspect-ratio: 4/5; border-radius: 9px; }
  .vg-hero-product__body { padding-left: .4rem; padding-bottom: .55rem; }
  .vg-hero-product__body strong { font-size: .875rem; }
}
