/* Vigglo — main styles. Design source: Figma "Home · Desktop 1440" / "Home · Mobile 390". */
:root {
	--navy: #002b68;
	--electric: #0372ff;
	--sky: #30d1ff;
	--lav: #e0e3ff;
	--lav-soft: #ecedff;
	--orange: #f15928;
	--cream: #fffdf9;
	--dark: #001011;
	--ink: #464c4d;
	--card-dark: #00192f;
	--gutter: clamp(24px, 8.333vw, 120px);
	--f-head: "Space Grotesk", system-ui, sans-serif;
	--f-body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.vg { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, hr { margin: 0; }
section[id] { scroll-margin-top: 24px; }

.vg-skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 10000; }
.vg-skip:focus { left: 8px; }
.vg-wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); width: 100%; }

/* Type */
.vg-eyebrow { font: 500 13px/18px var(--f-head); letter-spacing: 3px; color: var(--electric); text-transform: uppercase; }
.vg-eyebrow--sky { color: var(--sky); }
.vg-h2 { font: 700 clamp(44px, 4.444vw, 64px)/1.0625 var(--f-head); letter-spacing: -0.025em; color: var(--navy); }
.vg-head { display: flex; flex-direction: column; gap: 14px; }
.vg-lead { font-size: 18px; line-height: 30px; color: var(--ink); }

/* Buttons */
.vg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 30px; border-radius: 999px; font: 500 15px/20px var(--f-body); color: var(--cream); border: 1.5px solid transparent; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.vg-btn--primary { background: var(--electric); border-color: var(--electric); }
.vg-btn--primary:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); transform: translateY(-2px); }
.vg-btn--ghost { border-color: var(--cream); background: transparent; }
.vg-btn--ghost:hover { background: var(--cream); color: var(--navy); transform: translateY(-2px); }
.vg-btns { display: flex; gap: 14px; flex-wrap: wrap; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* Nav */
.vg-nav { display: flex; align-items: center; justify-content: space-between; height: 54px; color: var(--cream); position: relative; z-index: 20; }
.vg-logo { display: block; color: var(--cream); line-height: 0; }
.vg-logo svg { width: 136px; height: auto; }
.vg-nav__right { display: flex; align-items: center; gap: 40px; font: 500 15px/20px var(--f-body); }
.vg-nav__links { display: flex; gap: 40px; }
.vg-nav__links a { position: relative; padding: 4px 0; }
.vg-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.vg-nav__links a:hover::after { transform: scaleX(1); }
.vg-lang { display: flex; gap: 6px; font: 500 14px/20px var(--f-head); letter-spacing: 1.2px; }
.vg-lang a { opacity: .6; }
.vg-lang a.is-current { font-weight: 700; opacity: 1; }
.vg-lang a:hover { opacity: 1; }
.vg-lang__sep { opacity: .4; }
.vg-burger { display: none; width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.vg-burger span { position: absolute; left: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--cream); transition: transform .25s ease, top .25s ease; }
.vg-burger span:nth-child(1) { top: 9px; }
.vg-burger span:nth-child(2) { top: 19px; }
.vg-burger[aria-expanded="true"] span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.vg-burger[aria-expanded="true"] span:nth-child(2) { top: 14px; transform: rotate(-45deg); }
.vg-topbar { background: var(--navy); padding: 36px 0 36px; }

/* Hero */
.vg-hero { position: relative; background: var(--navy); color: var(--cream); padding: 36px 0 96px; min-height: 820px; overflow: hidden; display: flex; flex-direction: column; }
.vg-hero__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vg-hero__line--m { display: none; height: 300px; }
.vg-hero__plane { position: absolute; width: 92px; color: var(--sky); left: calc(50% + 440px); top: 126px; animation: vg-float 6s ease-in-out infinite; pointer-events: none; }
@media (min-width: 1441px) { .vg-hero__plane { left: calc(50% + 440px); } }
.vg-hero__body { position: relative; z-index: 2; margin-top: 177px; }
.vg-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 1200px; }
.vg-hero__title { font: 700 clamp(58px, 7.222vw, 104px)/1 var(--f-head); letter-spacing: -0.029em; max-width: 760px; color: var(--cream); }
.vg-hero__sub { font-size: 19px; line-height: 30px; max-width: 640px; color: rgba(255, 253, 249, .78); }
.vg-hero__text .vg-btns { margin-top: 0; }
@keyframes vg-float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(8px, -10px) rotate(2deg); } }

/* Tech strip */
.vg-tech { background: var(--electric); color: var(--cream); padding: 22px var(--gutter); text-align: center; }
.vg-tech p { font: 500 15px/20px var(--f-head); letter-spacing: 3px; }

/* Flight rail (scroll plane) */
.vg-flight { position: relative; }
.vg-flight__rail { position: absolute; left: 0; top: 16px; bottom: 200px; width: 120px; pointer-events: none; z-index: 1; display: none; }
.vg-flight__svg { position: absolute; left: 29px; top: 0; width: 62px; height: 100%; overflow: visible; }
.vg-flight__plane { position: absolute; left: 0; top: 0; width: 42px; height: 42px; margin: -21px 0 0 -21px; color: var(--electric); will-change: transform; }
.vg-flight__plane svg { width: 100%; height: 100%; }
@media (min-width: 1280px) { .vg-flight__rail { display: block; } }

/* Sections */
.vg-section { position: static; }
.vg-work { background: var(--cream); padding: 130px 0 120px; }
.vg-cols { display: flex; gap: 60px; margin-top: 56px; align-items: flex-start; }
.vg-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.vg-col--b { padding-top: 90px; }

.vg-card { display: flex; flex-direction: column; gap: 22px; color: inherit; }
.vg-card__shot { aspect-ratio: 570 / 356; border-radius: 22px; background: var(--lav); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.vg-card__shot span { font: 500 14px/20px var(--f-head); color: rgba(0, 43, 104, .45); }
.vg-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vg-card__shot:has(img) { aspect-ratio: auto; display: block; padding: 18px; }
.vg-card__shot:has(img) img { display: block; width: 100%; height: auto; border-radius: 12px; }
.vg-card.is-link:hover .vg-card__shot img { transform: scale(1.03); }
.vg-card.is-link:hover .vg-card__title { color: var(--electric); }
.vg-card:not(.is-link) { cursor: default; }
.vg-card__cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: -2px; font: 600 15px/22px var(--f-head); color: var(--electric); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.vg-card__cta svg { transition: transform .25s ease; }
.vg-card.is-link:hover .vg-card__cta svg { transform: translateX(5px); }
.vg-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.vg-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--electric); color: var(--cream); font: 500 13px/18px var(--f-body); }
.vg-tag--ghost { background: transparent; color: var(--navy); border: 1px solid rgba(0, 43, 104, .35); padding: 6px 14px; }
.vg-card__title { font: 700 30px/36px var(--f-head); letter-spacing: -0.4px; color: var(--navy); transition: color .2s ease; margin-top: -2px; }
.vg-card__desc { font-size: 16px; line-height: 26px; color: var(--ink); margin-top: -6px; }

.vg-services { background: var(--lav-soft); padding: 120px 0; }
.vg-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.vg-svc__card { background: #fff; border-radius: 26px; padding: 42px 38px 46px; display: flex; flex-direction: column; gap: 20px; }
.vg-svc__icon { width: 46px; height: 46px; color: var(--electric); }
.vg-svc__icon svg { width: 100%; height: 100%; }
.vg-svc__card h3 { font: 700 26px/32px var(--f-head); letter-spacing: -0.3px; color: var(--navy); margin-top: 0; }
.vg-svc__card p { font-size: 16px; line-height: 26px; color: var(--ink); }
.vg-note { margin-top: 56px; font: 500 18px/26px var(--f-head); color: var(--navy); }

.vg-about { background: var(--cream); padding: 130px 0; }
.vg-about__in { display: flex; gap: 90px; align-items: center; }
.vg-about__photo { position: relative; flex: 0 0 480px; max-width: 480px; aspect-ratio: 480 / 580; border-radius: 30px; background: var(--lav); display: flex; align-items: center; justify-content: center; }
.vg-about__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; position: absolute; inset: 0; }
.vg-about__photo > span { font: 500 15px/20px var(--f-head); color: rgba(0, 43, 104, .45); }
.vg-sticker { position: absolute; left: -24px; bottom: 20px; background: var(--orange); color: var(--cream); padding: 10px 18px; border-radius: 999px; font: 500 14px/20px var(--f-head); letter-spacing: 1px; white-space: nowrap; z-index: 2; }
.vg-about__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.vg-about__text .vg-h2 { margin-top: 0; }
.vg-stats { display: flex; gap: 40px; padding-top: 14px; }
.vg-stats > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vg-stats dt { font: 700 34px/38px var(--f-head); letter-spacing: -0.6px; color: var(--electric); }
.vg-stats dd { font-size: 14px; line-height: 21px; color: var(--ink); }

/* Contact */
.vg-contact { background: var(--navy); color: var(--cream); padding: 130px 0; }
.vg-contact__in { display: flex; gap: 80px; align-items: center; justify-content: space-between; }
.vg-contact__text { display: flex; flex-direction: column; gap: 24px; max-width: 690px; align-items: flex-start; }
.vg-contact__title { font: 700 clamp(48px, 5vw, 72px)/1.03 var(--f-head); letter-spacing: -0.028em; }
.vg-contact__sub { font-size: 18px; line-height: 30px; color: rgba(255, 253, 249, .78); max-width: 640px; }
.vg-contact__text .vg-btns { margin-top: 4px; }

.vg-clocks { flex: 0 0 430px; max-width: 430px; background: var(--card-dark); border: 1.5px solid rgba(48, 209, 255, .35); border-radius: 30px; padding: 40px 44px 44px; display: flex; flex-direction: column; gap: 26px; }
.vg-clocks__live { display: flex; align-items: center; gap: 10px; font: 500 13px/18px var(--f-head); letter-spacing: 2.4px; color: var(--sky); }
.vg-clocks__live i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; animation: vg-pulse 1.8s ease-out infinite; }
@keyframes vg-pulse { 0% { box-shadow: 0 0 0 0 rgba(241, 89, 40, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(241, 89, 40, 0); } }
.vg-clock { display: flex; flex-direction: column; gap: 4px; }
.vg-clock p { font: 500 13px/18px var(--f-head); letter-spacing: 2.4px; color: rgba(255, 253, 249, .6); }
.vg-clock time { font: 700 clamp(62px, 5.28vw, 76px)/1.05 var(--f-head); letter-spacing: -0.033em; color: var(--cream); font-variant-numeric: tabular-nums; display: block; }
.vg-clocks hr { border: 0; height: 1px; background: rgba(48, 209, 255, .25); }
.vg-clocks__diff { font: 500 15px/22px var(--f-head); color: var(--sky); min-height: 22px; }

/* Footer */
.vg-footer { background: var(--navy); color: var(--cream); padding: 0 0 44px; }
.vg-footer__in { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.vg-footer__copy { font-size: 14px; line-height: 20px; color: rgba(255, 253, 249, .6); padding-top: 7px; text-align: right; }

/* Inner pages */
.vg-page { padding: 100px 0 120px; min-height: 50vh; }
.vg-prose > article > * + * { margin-top: 1em; }
.vg-prose { max-width: 820px; margin-inline: auto; }

/* Cursor follower */
.vg-cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .25s ease; will-change: transform; }
.vg-cursor.is-on { opacity: 1; }
.vg-cursor__arrow { width: 27px; height: 27px; color: var(--orange); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.vg-cursor__chip { position: absolute; left: 20px; top: 27px; background: var(--orange); color: var(--cream); padding: 5px 12px; border-radius: 999px; font: 500 13px/18px var(--f-body); white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }

/* Tablet */
@media (max-width: 1100px) {
	.vg-nav__right { gap: 28px; }
	.vg-nav__links { gap: 28px; }
	.vg-cols { gap: 40px; }
	.vg-about__in { gap: 56px; }
	.vg-about__photo { flex-basis: 400px; max-width: 400px; }
	.vg-contact__in { flex-direction: column; align-items: flex-start; gap: 56px; }
	.vg-clocks { flex: none; max-width: 430px; width: 100%; }
	.vg-hero__plane { left: auto; right: 6%; }
}
@media (max-width: 900px) {
	.vg-svc { grid-template-columns: 1fr; gap: 20px; }
	.vg-about__in { flex-direction: column; align-items: stretch; gap: 56px; }
	.vg-about__photo { flex: none; max-width: none; width: 100%; aspect-ratio: 342 / 400; }
	.vg-sticker { left: 16px; }
}

/* Mobile */
@media (max-width: 760px) {
	body.vg { font-size: 15px; }
	.vg-logo svg { width: 112px; }
	.vg-nav { height: 28px; }
	.vg-nav__right { gap: 20px; font-size: 13px; }
	.vg-lang { font-size: 13px; }
	.vg-nav__cta { display: none; }
	.vg-burger { display: block; }
	.vg-nav__links { position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 28px; padding: 100px var(--gutter) 40px; font: 700 40px/1.1 var(--f-head); letter-spacing: -0.02em; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: -1; }
	.vg-nav__links.is-open { opacity: 1; visibility: visible; }
	.vg-nav__right .vg-lang, .vg-burger { position: relative; z-index: 21; }
	.vg-nav { z-index: 30; }
	.vg-topbar { padding: 24px 0; }

	.vg-hero { padding: 24px 0 64px; min-height: 763px; }
	.vg-hero__body { margin-top: 170px; }
	.vg-hero__text { gap: 22px; }
	.vg-eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 2.8px; }
	.vg-hero .vg-eyebrow { font-size: 11px; letter-spacing: 2.4px; }
	.vg-hero__title { font-size: 58px; line-height: 60px; letter-spacing: -2px; }
	.vg-hero__sub { font-size: 16px; line-height: 26px; }
	.vg-hero__text .vg-btns { flex-direction: column; width: 100%; gap: 12px; margin-top: 6px; }
	.vg-hero__text .vg-btn { width: 100%; justify-content: center; padding: 17px 24px; }
	.vg-hero__line { display: none; }
	.vg-hero__line--m { display: block; }
	.vg-hero__plane { width: 58px; top: 88px; right: 24px; }

	.vg-tech { padding: 20px 24px; }
	.vg-tech p { font-size: 12px; line-height: 20px; letter-spacing: 2.2px; }

	.vg-h2 { font-size: 44px; line-height: 48px; letter-spacing: -1.2px; }
	.vg-head { gap: 10px; }
	.vg-work { padding: 72px 0; }
	.vg-cols { flex-direction: column; gap: 44px; margin-top: 44px; }
	.vg-col { width: 100%; gap: 44px; }
	.vg-col--b { padding-top: 0; }
	.vg-card { gap: 16px; }
	.vg-card__shot { aspect-ratio: 342 / 214; border-radius: 18px; }
	.vg-card__shot span { font-size: 12px; line-height: 16px; }
	.vg-card__shot:has(img) { padding: 12px; }
	.vg-card__shot:has(img) img { border-radius: 9px; }
	.vg-tag { font-size: 12px; line-height: 16px; padding: 5px 12px; }
	.vg-tag--ghost { padding: 5px 12px; }
	.vg-card__title { font-size: 25px; line-height: 30px; letter-spacing: -0.3px; margin-top: 0; }
	.vg-card__desc { font-size: 15px; line-height: 24px; margin-top: -4px; }

	.vg-services { padding: 72px 0; }
	.vg-svc { margin-top: 36px; gap: 12px; }
	.vg-svc__card { border-radius: 22px; padding: 30px 26px 32px; gap: 12px; }
	.vg-svc__icon { width: 38px; height: 38px; }
	.vg-svc__card h3 { font-size: 23px; line-height: 28px; letter-spacing: -0.2px; }
	.vg-svc__card p { font-size: 15px; line-height: 24px; }
	.vg-note { margin-top: 36px; font-size: 16px; line-height: 24px; }

	.vg-about { padding: 72px 0; }
	.vg-about__in { gap: 28px; }
	.vg-about__photo { border-radius: 24px; }
	.vg-sticker { font-size: 13px; line-height: 18px; padding: 9px 16px; bottom: 20px; }
	.vg-lead { font-size: 16px; line-height: 26px; }
	.vg-stats { flex-direction: column; gap: 16px; padding-top: 8px; }
	.vg-stats > div { flex-direction: row; align-items: center; gap: 16px; }
	.vg-stats dt { font-size: 28px; line-height: 32px; letter-spacing: -0.4px; flex: none; }
	.vg-stats dd { font-size: 14px; line-height: 20px; }

	.vg-contact { padding: 72px 0 48px; }
	.vg-contact__in { gap: 36px; }
	.vg-contact__text { gap: 28px; width: 100%; }
	.vg-contact__title { font-size: 48px; line-height: 52px; letter-spacing: -1.6px; }
	.vg-contact__sub { font-size: 16px; line-height: 26px; }
	.vg-contact__text .vg-btns { flex-direction: column; width: 100%; gap: 12px; margin-top: 4px; }
	.vg-contact__text .vg-btn { width: 100%; }
	.vg-clocks { padding: 30px 28px 32px; border-radius: 26px; gap: 20px; max-width: none; }
	.vg-clocks__live, .vg-clock p { font-size: 12px; line-height: 16px; letter-spacing: 2px; }
	.vg-clock time { font-size: 62px; line-height: 66px; letter-spacing: -2px; }
	.vg-clocks__diff { font-size: 14px; line-height: 20px; }

	.vg-footer { padding-bottom: 40px; }
	.vg-footer__in { flex-direction: column; gap: 18px; }
	.vg-footer__copy { text-align: left; font-size: 13px; padding-top: 0; }
	.vg-page { padding: 56px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.vg-hero__plane, .vg-clocks__live i { animation: none; }
	.vg-btn, .vg-card__shot img { transition: none; }
}

/* Fixed header: stays at its original spot until the page scrolls, then pins to the top */
.vg-wrap:has(> .vg-nav) { height: 54px; }
.vg-nav { position: fixed; left: 0; right: 0; z-index: 50; padding-inline: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))); transition: background .25s ease, box-shadow .25s ease; }
html.vg-stuck .vg-nav { top: 0; height: 68px; background: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
html.vg-stuck .vg-case .vg-nav { background: var(--hero-bg); }
section[id] { scroll-margin-top: 84px; }
@media (max-width: 760px) {
	.vg-wrap:has(> .vg-nav) { height: 28px; }
	html.vg-stuck .vg-nav { height: 60px; }
}

html.vg-stuck body.admin-bar .vg-nav { top: 32px; }
@media (max-width: 782px) { html.vg-stuck body.admin-bar .vg-nav { top: 46px; } }

/* Header: explicit offsets (more reliable on phones) */
.vg-nav { top: 36px; }
html:not(.vg-stuck) body.admin-bar .vg-nav { top: 68px; }
@media (max-width: 760px) {
	.vg-nav { top: 24px; }
	html:not(.vg-stuck) body.admin-bar .vg-nav { top: 70px; }
}

/* Paper plane also on tablet and phone: a slim rail in the left gutter */
@media (max-width: 1279px) {
	.vg-flight__rail { display: block; width: 30px; bottom: 140px; }
	.vg-flight__svg { left: 14px; width: 10px; }
	.vg-flight__plane { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
}

/* Hero intro */
.vg-hero__plane { z-index: 3; }
.vg-intro-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.vg-iw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.vg-iw i { display: inline-block; font-style: normal; transition: transform .85s cubic-bezier(.2, .8, .2, 1); }
html.vg-intro-on .vg-iw i { transform: translateY(115%); animation: vgFS .01s linear 6s forwards; }
html.vg-intro-on.vg-intro-play .vg-iw i { transform: none; }
html.vg-intro-on .vg-hero .vg-eyebrow, html.vg-intro-on .vg-hero__sub, html.vg-intro-on .vg-hero .vg-btns { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; animation: vgFS .01s linear 6s forwards; }
html.vg-intro-on .vg-hero .vg-eyebrow { transition-delay: .25s; }
html.vg-intro-on .vg-hero__sub { transition-delay: 1.9s; }
html.vg-intro-on .vg-hero .vg-btns { transition-delay: 2.2s; }
html.vg-intro-on.vg-intro-play .vg-hero .vg-eyebrow, html.vg-intro-on.vg-intro-play .vg-hero__sub, html.vg-intro-on.vg-intro-play .vg-hero .vg-btns { opacity: 1; transform: none; }
html.vg-intro-on .vg-hero__line, html.vg-intro-ran .vg-hero__line { opacity: 0; }
@keyframes vgFS { to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.vg-hero__body { margin-top: 112px; }
}
