/* =============================================================================
   VIQ Studio — Brand Layer
   -----------------------------------------------------------------------------
   Loaded after style.css. style.css has been tokenised to use the variables
   below, so brand colours and typography are controlled from this one place.

   Source: VIQStudio Brand Guidelines (May 2026)
     Colour palette : Black #000000 · Violet #7D39EB · Lime #C6FF33 · White #FFFFFF
     Typography     : Helvetica
     Logo           : White V-mark (dark backgrounds) / black V-mark (light
                      backgrounds) + "VIQStudio" wordmark, taken from the PDF

   Only the four guideline colours are used. Surfaces and lines are
   transparent tints of Black/White, not extra colours.

   Website content rules (ViqStudio – Website Content):
     - Solid colours only: no gradients in backgrounds, CTAs or decorative details
     - No eyebrow headings / small all-caps pre-headline text
============================================================================= */

:root {
    /* Brand Guidelines palette — the only colours on the site */
    --viq-black: #000000;
    --viq-violet: #7D39EB;
    --viq-lime: #C6FF33;
    --viq-white: #FFFFFF;

    /* Semantic tokens used throughout style.css */
    --viq-primary: var(--viq-violet);
    --viq-primary-hover: var(--viq-lime);
    --viq-accent: var(--viq-lime);
    --viq-accent-10: rgba(198, 255, 51, 0.1);
    --viq-on-primary: var(--viq-white);
    --viq-on-accent: var(--viq-black);

    /* Surfaces: black with a faint white tint */
    --viq-bg: var(--viq-black);
    --viq-surface: #0B0B0B;      /* black + 4% white */
    --viq-surface-2: #141414;    /* black + 8% white */
    --viq-line: rgba(255, 255, 255, 0.1);
    --viq-text: var(--viq-white);
    --viq-text-muted: rgba(255, 255, 255, 0.7);

    /* Typography */
    --viq-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* -----------------------------------------------------------------------------
   Base
----------------------------------------------------------------------------- */
body {
    background-color: var(--viq-bg);
    color: var(--viq-text);
    font-family: var(--viq-font);
}

h1, h2, h3, h4, h5, h6,
p, a, span, li, input, textarea, select, button {
    font-family: var(--viq-font);
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

::selection {
    background: var(--viq-primary);
    color: var(--viq-on-primary);
}

.main-bg { background-color: var(--viq-bg); }
.sub-bg  { background-color: var(--viq-surface); }

/* Accent typography: Helvetica only, no decorative serif */
.sub-font {
    font-family: var(--viq-font);
    font-style: normal;
    font-weight: 300;
}

/* Sub-titles are used as labels next to content, not as eyebrow headings */
.sub-title {
    letter-spacing: 1px;
}

/* Violet backgrounds need white text; lime keeps black text */
.main-colorbg,
.main-colorbg2 {
    color: var(--viq-on-primary);
}

.main-colorbg3,
.main-colorbg4 {
    color: var(--viq-on-accent);
}

.butn-circle:after,
.blog-list .item .background .more a,
.swiper-pagination-bullet-active {
    color: var(--viq-on-primary);
}

.blog-list .item .background .more a span,
.blog-list .item .background .more a i,
.blog-list-half .item .cont .tags.colorbg a:hover,
.comments-post .item-box .replay-post a:hover {
    color: var(--viq-on-primary);
}

/* Solid colours only: edge fades now resolve to the black base */
.loader-wrap svg { fill: var(--viq-black); }
.loader-wrap { background: var(--viq-black); }

/* -----------------------------------------------------------------------------
   Logo
----------------------------------------------------------------------------- */
.logo.brand-logo,
.navbar .logo.brand-logo,
.topnav .logo.brand-logo,
footer .logo.brand-logo {
    width: auto;
    max-width: none !important;
}

.brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}

footer .brand-logo img {
    height: 36px;
}

@media screen and (max-width: 991px) {
    .brand-logo img { height: 32px; }
}

/* -----------------------------------------------------------------------------
   Navigation
----------------------------------------------------------------------------- */
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover {
    color: var(--viq-primary);
}

.navbar .nav-cta .butn {
    padding: 10px 24px;
    font-size: 13px;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .navbar .nav-cta { display: none; }
}

.hamenu .main-menu > li .link.active .fill-text {
    color: var(--viq-primary);
}

/* -----------------------------------------------------------------------------
   Buttons (solid fills only)
----------------------------------------------------------------------------- */
.butn.butn-violet {
    background: var(--viq-primary);
    border: 1px solid var(--viq-primary);
    color: var(--viq-on-primary);
}

.butn.butn-violet:hover,
.butn.butn-violet:hover span {
    background: var(--viq-primary-hover);
    border-color: var(--viq-primary-hover);
    color: var(--viq-black);
}

.butn.butn-bord:hover {
    background: var(--viq-primary);
    border-color: var(--viq-primary);
    color: var(--viq-on-primary);
}

/* -----------------------------------------------------------------------------
   Homepage helpers
----------------------------------------------------------------------------- */
/* Hero background video (sits under the theme's dark overlay) */
.viq-hero-video {
    position: relative;
    overflow: hidden;
    background-color: var(--viq-black);
    background-size: cover;
    background-position: center;
}

.viq-hero-video .viq-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.viq-hero-video .viq-hero-bg.is-active {
    opacity: 1;
}

.viq-hero-video .container.ontop {
    position: relative;
    z-index: 3;
}

.viq-video-toggle {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--viq-white);
    font-size: 13px;
    cursor: pointer;
    transition: background .3s, border-color .3s, color .3s;
}

.viq-video-toggle:hover,
.viq-video-toggle:focus-visible {
    background: var(--viq-white);
    border-color: var(--viq-white);
    color: var(--viq-black);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .viq-hero-video .viq-hero-bg { display: none; }
}

.viq-hero h1 {
    line-height: 1.05;
}

.viq-hero h1 .line {
    display: block;
}

.viq-hero .lead {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--viq-text-muted);
}

.viq-hero .hero-ctas .butn + .butn {
    margin-left: 15px;
}

@media screen and (max-width: 575px) {
    .viq-hero .hero-ctas .butn {
        display: block;
        text-align: center;
    }
    .viq-hero .hero-ctas .butn + .butn {
        margin: 15px 0 0;
    }
}

.viq-story p.statement {
    font-size: 22px;
    line-height: 1.5;
    color: var(--viq-text);
}

.viq-story .facts span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 0;
    border-bottom: 1px solid var(--viq-line);
}

.viq-changes .problem {
    padding: 30px;
    background: var(--viq-surface-2);
    border-left: 3px solid var(--viq-primary);
    height: 100%;
}

.viq-changes .problem p {
    font-size: 17px;
    color: var(--viq-text);
}

.viq-changes .answer {
    font-size: 22px;
    font-weight: 700;
}

.viq-changes .answer span {
    color: var(--viq-accent);
}

/* VIQ in-house project tile: the supplied V-mark on black, never stretched */
.portfolio-fixed .viq-brand-tile {
    background-color: var(--viq-black) !important;
    background-size: 35% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.portfolio-fixed .img-hiden.viq-brand-tile img {
    background: var(--viq-black);
    padding: 15%;
}

.portfolio-fixed .cont .disclosure {
    display: inline-block;
    font-size: 13px;
    color: var(--viq-text-muted);
    margin-top: 10px;
}

/* Product content spotlight sits on a flat violet block */
.viq-spotlight {
    background: var(--viq-primary);
    color: var(--viq-on-primary);
}

.viq-spotlight h2,
.viq-spotlight p {
    color: var(--viq-on-primary);
}

.viq-spotlight .butn {
    background: var(--viq-black);
    border-color: var(--viq-black);
    color: var(--viq-white);
}

.viq-spotlight .butn:hover {
    background: var(--viq-white);
    border-color: var(--viq-white);
    color: var(--viq-black);
}

.viq-spotlight .formats li {
    display: inline-block;
    padding: 8px 18px;
    margin: 0 8px 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    font-size: 14px;
}

.back-image.states ul li h5 {
    text-transform: none;
}

.viq-pov ul li {
    max-width: 480px;
}

@media screen and (max-width: 767px) {
    .viq-pov ul {
        position: static;
        flex-direction: column;
    }
    .viq-pov ul li {
        min-width: 0;
        max-width: none;
        margin: 0 0 15px;
    }
}

.viq-pov .pov-lines p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--viq-text-muted);
}

.viq-pov .pov-lines p strong {
    color: var(--viq-text);
    font-weight: 700;
}

.serv-items-crev .item .num {
    display: block;
    font-size: 13px;
    color: var(--viq-accent);
    margin-bottom: 30px;
}

/* Contact form microcopy */
.contact-crev .form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--viq-text-muted);
}

.contact-crev select {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--viq-text);
}

.contact-crev select:focus {
    border-color: var(--viq-primary);
    outline: none;
}

.contact-crev select option {
    background: var(--viq-surface);
    color: var(--viq-text);
}

.contact-crev .form-note {
    font-size: 13px;
    color: var(--viq-text-muted);
}

.contact-crev .form-note a {
    color: var(--viq-text);
    text-decoration: underline;
}

.alert-success { color: var(--viq-black); background: var(--viq-lime); border: 0; }
.alert-danger  { color: var(--viq-white); background: var(--viq-violet); border: 0; }

/* Footer */
footer .viq-tagline {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

footer .footer-links a + a:before,
footer .footer-links span + a:before {
    content: "/";
    margin: 0 10px;
    opacity: .4;
}

/* Reduced motion: keep everything readable without animation */
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -----------------------------------------------------------------------------
   Inner pages (work, projects, services, studio, approach, notes)
----------------------------------------------------------------------------- */

/* Work cards: consistent landscape crop */
.viq-work-card .inner img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* VIQ in-house project card: V-mark on black, never cropped */
.viq-brand-card .inner {
    background: var(--viq-black);
}

.viq-brand-card .inner img {
    object-fit: contain;
    padding: 18%;
}

.viq-card-text p.disclosure {
    color: var(--viq-text-muted);
}

/* Project hero for the in-house project */
.viq-proj-brand {
    background: var(--viq-black);
}

.viq-proj-mark {
    width: 160px;
    height: auto;
    display: inline-block;
}

.viq-proj-intro {
    line-height: 1.6;
}

/* Label / title / text rows */
.viq-proj-story h3 {
    font-size: 30px;
    line-height: 1.3;
}

.viq-list li {
    font-size: 18px;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--viq-line);
    position: relative;
}

.viq-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 10px;
    height: 10px;
    background: var(--viq-primary);
}

/* Project gallery */
.viq-gallery-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

/* Services overview */
.viq-service-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.viq-services-list h2 {
    line-height: 1.2;
}

/* Featured project panel (service pages) */
.viq-featured .viq-featured-img {
    min-height: 520px;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.viq-featured .viq-featured-cont {
    padding: 80px 60px;
}

.viq-featured .disclosure {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--viq-text-muted);
}

@media screen and (max-width: 991px) {
    .viq-featured .viq-featured-img { min-height: 320px; }
    .viq-featured .viq-featured-cont { padding: 50px 20px; }
}

/* Studio images */
.pg-about .bg-img {
    min-height: 420px;
    background-size: cover;
    background-position: center;
}

/* Approach steps: equal height cards */
.serv-box .serv-item.full-height {
    height: 100%;
}

/* Article */
.viq-author-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--viq-black);
    border: 1px solid var(--viq-line);
}

.viq-author-mark img {
    width: 60%;
    height: auto;
}

.viq-article p {
    line-height: 1.8;
}

/* Notes cards: consistent crop */
.blog-list-half .item .img img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

/* 404 */
.viq-404-mark {
    width: 120px;
    height: auto;
}

/* FAQ anchor offset under the fixed navbar */
#questions,
#start-a-project {
    scroll-margin-top: 100px;
}
