File: /var/www/viitorx.stgviitor.com/wp-content/themes/viitorx/css/marketing-shared.css
/* ─── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--black: #0a0a0a;
--black-rich: #0a0a0a;
--dark: #121212;
--dark-mid: #1a1917;
--cream: #edeae3;
--cream-light: #f5f3ef;
--white: #ffffff;
--off-white: #fcfcfc;
--copper: #c8996a;
--copper-light: #d4a97a;
--copper-glow: rgba(200, 153, 106, 0.35);
--text-muted: rgba(255, 255, 255, 0.65);
--text-dim: rgba(255, 255, 255, 0.4);
--border: rgba(255, 255, 255, 0.12);
--border-mid: rgba(255, 255, 255, 0.18);
--font-main: 'Archivo', sans-serif;
--font-heading: 'Lenia Sans', sans-serif;
--font-serif: 'DM Serif Display', serif;
--ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
/*
* Unified horizontal gutters (equal L/R), max 100px like #work —
* tuned per breakpoint below for responsive parity across sections.
*/
--section-inline: clamp(20px, 7vw, 100px);
--offerings-inline-start: var(--section-inline);
/* Flush to viewport on the right; left uses --offerings-inline-start (see #offerings). */
--offerings-inline-end: env(safe-area-inset-right, 0px);
/* Padding when pinned to viewport — breathing room top/bottom (Figma-aligned) */
--offerings-pin-padding-block: clamp(72px, 12svh, 136px);
/* Hash / scroll-padding: nav + small cushion (layout uses --nav-bar-outer-height for flush UI) */
--nav-bar-outer-height: calc(80px + env(safe-area-inset-top, 0px));
--anchor-under-nav-offset: calc(80px + env(safe-area-inset-top, 0px) + 8px);
}
html {
scroll-behavior: smooth;
/* Keeps scrollbar width stable so pinSpacing + Lenis doesn't layout-jump when a section pins */
scrollbar-gutter: stable;
scroll-padding-top: var(--nav-bar-outer-height);
}
/* Lenis owns smooth scrolling — native scroll-behavior + Lenis "smooth" fights and causes sticky/stack jitter */
html.lenis {
height: auto;
}
html.lenis.lenis-smooth {
scroll-behavior: auto !important;
}
/* Lenis captures touch deltas — give the browser clean vertical pans (less jitter vs gestures). */
body {
font-family: var(--font-main);
background: var(--black);
color: var(--white);
overflow-x: clip;
overflow-y: auto;
cursor: none;
}
/* clip avoids the overflow-x/y coupling that kills position:sticky + Lenis on mobile */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-heading);
}
/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
#cursor {
position: fixed;
width: 10px;
height: 10px;
background: var(--white);
border-radius: 50%;
pointer-events: none;
z-index: 99999;
transform: translate(-50%, -50%);
transition: width 0.2s, height 0.2s, background 0.2s;
mix-blend-mode: difference;
}
#cursor-ring {
position: fixed;
width: 36px;
height: 36px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 50%;
pointer-events: none;
z-index: 99998;
transform: translate(-50%, -50%);
transition: transform 0.08s linear, width 0.3s var(--ease-expo), height 0.3s var(--ease-expo);
}
body:has(a:hover) #cursor {
width: 20px;
height: 20px;
}
body:has(button:hover) #cursor {
width: 20px;
height: 20px;
}
/* Restore system cursor on touch / no-hover devices */
/* Screen-reader-only (accessible menu labels, etc.) */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* ─── STICKY NAV ─────────────────────────────────────────── */
/* Sticky bar matches Figma hero wordmark strip: 80px row, glass, thin bottom rule */
#sticky-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1002;
box-sizing: border-box;
min-height: calc(80px + env(safe-area-inset-top, 0px));
padding-top: env(safe-area-inset-top, 0px);
padding-bottom: 0;
padding-left: max(var(--section-inline), env(safe-area-inset-left, 0px));
padding-right: max(var(--section-inline), env(safe-area-inset-right, 0px));
display: flex;
align-items: center;
justify-content: center;
transform: translateY(-100%);
-webkit-transform: translateY(-100%);
transition:
transform 0.5s var(--ease-expo),
background 0.35s ease,
backdrop-filter 0.35s ease;
background: rgba(19, 19, 19, 0.3);
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
backface-visibility: hidden;
}
#sticky-nav.visible {
transform: translateY(0);
-webkit-transform: translateY(0);
}
html.nav-drawer-open {
overflow: hidden;
overscroll-behavior: none;
}
/*
* Desktop (≥901px): one centered row — [ Offerings · Work · Process ] logo [ Reviews · About · Contact ].
* Mobile (≤900px): logo left, drawer toggle right; link lists hidden.
*/
.nav-inner {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
gap: clamp(14px, 1.85vw, 26px);
width: min(1440px, 100%);
min-height: 80px;
box-sizing: border-box;
position: relative;
}
.nav-menu-toggle {
display: none;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
margin: 0;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
background: transparent;
color: var(--white);
cursor: pointer;
flex-shrink: 0;
box-sizing: border-box;
transition:
border-color 0.2s,
background 0.2s;
}
.nav-menu-toggle:focus-visible {
outline: 2px solid var(--copper);
outline-offset: 3px;
}
.nav-toggle-lines {
display: grid;
gap: 5px;
width: 20px;
}
.nav-toggle-lines span {
display: block;
height: 2px;
width: 100%;
background: var(--white);
border-radius: 2px;
transition: transform 0.3s var(--ease-expo), opacity 0.25s ease;
transform-origin: center;
}
#sticky-nav.menu-open .nav-toggle-lines span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
#sticky-nav.menu-open .nav-toggle-lines span:nth-child(2) {
opacity: 0;
transform: scaleX(0.5);
}
#sticky-nav.menu-open .nav-toggle-lines span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
.nav-brand {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 0;
}
.nav-logo-icon {
display: block;
width: clamp(48px, 10vw, 60px);
height: clamp(48px, 10vw, 60px);
aspect-ratio: 1 / 1;
flex-shrink: 0;
object-fit: contain;
object-position: center;
max-width: 100%;
}
.nav-links {
display: flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
}
/* Tight spacing between items in each cluster */
.nav-links--cluster {
gap: clamp(12px, 1.35vw, 20px);
}
/* Figma-style link text (desktop bar); frosted glass bar inherits base #sticky-nav styling */
/*
* Full-screen drawer MUST be a sibling of #sticky-nav, not nested:
* #sticky-nav uses transform, which fixes descendants to the transformed box.
*/
#nav-drawer {
position: fixed;
inset: 0;
z-index: 1001;
padding: 0;
/* JS overrides with measured nav height (match 80px Figma bar + safe area fallback) */
--nav-under-sticky-offset: calc(80px + env(safe-area-inset-top, 0px));
visibility: hidden;
opacity: 0;
pointer-events: none;
transition:
visibility 0.36s linear,
opacity 0.36s var(--ease-expo),
backdrop-filter 0.36s var(--ease-expo);
}
body.nav-drawer-visible #nav-drawer {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
.nav-drawer-scrim {
position: absolute;
inset: 0;
z-index: 0;
background: rgba(0, 0, 0, 0.72);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.nav-drawer-panel {
/* Full width; top = measured sticky bar height so list is never clipped under #sticky-nav */
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: var(--nav-under-sticky-offset, calc(80px + env(safe-area-inset-top, 0px)));
z-index: 1;
display: flex;
flex-direction: column;
min-height: 0;
box-sizing: border-box;
width: 100%;
max-width: none;
margin: 0;
padding-bottom: env(safe-area-inset-bottom, 0px);
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
border: none;
border-top: 1px solid var(--border);
border-radius: 0;
background: rgba(6, 6, 6, 0.98);
box-shadow: none;
}
.nav-drawer-list {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
.nav-drawer-list li+li {
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-drawer-list a {
display: flex;
align-items: center;
min-height: 52px;
padding-inline: max(var(--section-inline), env(safe-area-inset-left, 0px)) max(var(--section-inline), env(safe-area-inset-right, 0px));
font-size: clamp(0.9375rem, 2.8vw + 0.55rem, 1.0625rem);
font-weight: 500;
letter-spacing: 0.02em;
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease;
border-radius: 0;
}
.nav-drawer-list a:active {
background: rgba(255, 255, 255, 0.1);
}
.nav-drawer-list a:focus-visible {
outline: 2px solid var(--copper);
outline-offset: -2px;
}
/* Mobile: logo | drawer toggle — clustered link lists use the drawer */
/* Nav — small phones: --section-inline scales via :root (380px) */
/* ─── FOOTER ─────────────────────────────────────────────── */
#footer {
position: relative;
background: rgba(32, 32, 32, 1);
color: rgba(240, 240, 229, 1);
padding-inline: max(var(--section-inline), env(safe-area-inset-left, 0px)) max(var(--section-inline), env(safe-area-inset-right, 0px));
box-sizing: border-box;
overflow: hidden;
min-height: 800px;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
width: 100%;
min-height: 800px;
padding-bottom: 30px;
position: relative;
z-index: 2;
}
.footer-logo-wrap {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-bottom: clamp(24px, 4vw, 40px);
margin-top: clamp(24px, 4vw, 40px);
}
.footer-logo-wrap .footer-logo {
display: block;
width: 100%;
max-width: 560px;
height: auto;
}
.footer-social {
display: flex;
gap: 16px;
margin-bottom: 32px;
position: relative;
z-index: 2;
}
.footer-social a {
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
text-decoration: none;
transition: border-color 0.25s, background 0.25s;
}
.footer-social a:hover {
border-color: var(--white);
background: rgba(255, 255, 255, 0.06);
}
.footer-social img {
width: 100%;
height: 100%;
}
.footer-nav {
display: flex;
gap: 32px;
margin-bottom: 20px;
flex-wrap: wrap;
justify-content: center;
position: relative;
}
.footer-nav a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: color 0.2s;
font-weight: 400;
font-size: 24px;
line-height: 25px;
letter-spacing: 0%;
vertical-align: middle;
}
.footer-nav a:hover {
color: var(--white);
}
.footer-bottom {
width: 100%;
padding-block: 32px;
padding-inline: 0;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
position: relative;
z-index: 2;
}
.footer-bottom-left {
color: rgba(255, 255, 255, 0.4);
justify-self: start;
font-weight: 400;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
}
.footer-bottom-left strong {
color: rgba(255, 255, 255, 0.6);
font-weight: 800;
font-style: italic;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
}
.footer-bottom-left strong a {
color: inherit;
text-decoration: none;
transition: color 0.2s;
}
.footer-bottom-left strong a:hover {
color: rgba(255, 255, 255, 0.88);
}
.footer-bottom-center {
color: rgba(255, 255, 255, 0.4);
display: flex;
align-items: center;
gap: 8px;
justify-self: center;
font-family: Archivo;
font-weight: 300;
font-size: 20px;
line-height: 100%;
letter-spacing: -1%;
text-align: center;
vertical-align: middle;
}
.footer-bottom-center a {
color: rgba(255, 255, 255, 0.4);
text-decoration: none;
transition: color 0.2s;
}
/* ─── HERO WORDMARK (shared across all marketing pages) ───── */
/* Strip height / safe-area — shared by #hero and other marketing heroes. */
.hero-blog,
.blog-hero,
.hero-contact,
.hero-offerings,
.hero-industries,
.hero-cs,
.hero-detail,
.thank-you,
.error-404-hero {
--hero-inline: var(--section-inline);
--hero-top-bar-h: 80px;
--hero-top-bar-total: calc(var(--hero-top-bar-h) + env(safe-area-inset-top, 0px));
}
/*
* Top wordmark strip — Figma: 1920×80, rgba(19,19,19,.3), blur 50px, 1px bottom rule.
* Content "V I I T O R X" centered horizontally + vertically inside the strip.
*/
.hero-wordmark {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 10;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: var(--hero-top-bar-total);
padding-top: env(safe-area-inset-top, 0px);
padding-inline: max(var(--section-inline), env(safe-area-inset-left, 0px)) max(var(--section-inline), env(safe-area-inset-right, 0px));
margin: 0;
color: rgba(255, 255, 255, 0.92);
text-transform: uppercase;
white-space: nowrap;
pointer-events: none;
animation: heroWordmarkIn 1.15s var(--ease-expo) 0.25s both;
font-family: Archivo;
font-weight: 400;
font-size: 24px;
line-height: 30px;
letter-spacing: 60%;
text-align: right;
vertical-align: middle;
}
.hero-wordmark__link {
pointer-events: auto;
color: inherit;
text-decoration: none;
display: inline-block;
border-radius: 4px;
}
.hero-wordmark__link:hover {
color: rgba(255, 255, 255, 1);
}
.hero-wordmark__link:focus-visible {
outline: 2px solid rgba(240, 240, 229, 0.55);
outline-offset: 4px;
}
.footer-bottom-center a:hover {
color: rgba(255, 255, 255, 0.7);
}
.footer-bottom-center .footer-bottom-sep {
user-select: none;
opacity: 0.45;
}
/* ─── INNER PAGE HERO — shared layout & typography ─────────── */
.hero-inner__video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.82;
pointer-events: none;
}
.hero-inner__overlay {
position: absolute;
inset: 0;
background:
radial-gradient(60% 60% at 50% 35%, rgba(184, 92, 32, 0.22) 0%, rgba(19, 19, 19, 0) 60%),
linear-gradient(180deg, rgba(19, 19, 19, 0.12) 0%, rgba(19, 19, 19, 0.45) 60%, #131313 100%);
pointer-events: none;
}
.hero-inner__content {
position: relative;
z-index: 2;
display: grid;
gap: 20px;
justify-items: center;
text-align: center;
}
.hero-breadcrumb {
color: #fff;
display: flex;
align-items: center;
gap: 0.35rem 0.5rem;
font-family: Archivo;
font-weight: 700;
font-size: 24px;
line-height: 100%;
text-align: center;
}
.hero-breadcrumb a {
font-weight: 300;
}
.hero-inner__title {
color: var(--color-text, rgba(240, 240, 229, 1));
font-family: 'Lenia Sans', var(--font-heading), sans-serif;
font-weight: 700;
font-size: clamp(32px, 6vw, 80px);
line-height: 1.1;
letter-spacing: -0.01em;
text-align: center;
}
.hero-inner__subtitle {
color: var(--color-text, rgba(240, 240, 229, 1));
font-family: Archivo, var(--font-main), sans-serif;
font-weight: 300;
font-size: clamp(18px, 2.4vw, 24px);
line-height: 1.35;
text-align: center;
}
/* Back to top */
.back-to-top {
position: absolute;
bottom: 60px;
right: max(var(--section-inline), env(safe-area-inset-right, 0px));
width: 80px;
height: 80px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.25);
background: transparent;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: border-color 0.25s, background 0.25s;
text-decoration: none;
color: var(--white);
z-index: 3;
}
.back-to-top:hover {
border-color: var(--white);
background: rgba(255, 255, 255, 0.06);
}
.back-to-top img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
/* Footer responsive — tablet / mobile */
/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */
.reveal {
opacity: 0;
transform: translateY(32px);
transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
backface-visibility: hidden;
}
.reveal.in-view {
opacity: 1;
transform: translateY(0);
will-change: opacity, transform;
}
.reveal-delay-1 {
transition-delay: 0.1s;
}
.reveal-delay-2 {
transition-delay: 0.2s;
}
.reveal-delay-3 {
transition-delay: 0.3s;
}
/* ─── KEYFRAMES ──────────────────────────────────────────── */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateX(-50%) translateY(-12px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
}
@keyframes heroWordmarkIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 767px) {
.hero-inner__title {
font-size: 24px;
}
.hero-inner__subtitle {
font-size: 16px;
}
.hero-breadcrumb {
font-size: 18px;
}
}