/* =========================================================
   VENACHAR TECHNOLOGY CONSULTING
   site.css
   ========================================================= */


/* ---------- BRAND / GLOBAL ---------- */

:root {
    --navy: #122F46;
    --navy-dark: #0A1F2F;
    --teal: #548F8B;
    --teal-light: #DDEBE9;

    --white: #FFFFFF;
    --off-white: #F7F9F9;
    --grey: #60717E;
    --grey-light: #E1E7EA;
    --text: #203744;

    --max-width: 1180px;

    --shadow:
        0 18px 50px rgba(18, 47, 70, 0.08);

    --radius: 4px;
}


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(var(--max-width), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy);
    line-height: 1.12;
}

h1 {
    margin-bottom: 28px;

    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 24px;

    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

h3 {
    margin-bottom: 14px;

    font-size: 1.35rem;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--teal);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.large-copy {
    max-width: 720px;

    font-size: clamp(1.25rem, 2vw, 1.65rem);

    line-height: 1.55;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(18, 47, 70, 0.08);

    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.brand-logo {
    width: 245px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;

    gap: 34px;
}

.site-nav a {
    position: relative;

    color: var(--navy);
    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 600;
}

.site-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--teal);

    transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 750px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            var(--white) 0%,
            var(--white) 63%,
            var(--off-white) 100%
        );
}

.hero-inner {
    min-height: 650px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);

    align-items: center;

    gap: 70px;

    padding-block: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-intro {
    max-width: 680px;

    margin-bottom: 36px;

    color: var(--grey);

    font-size: clamp(1.2rem, 2vw, 1.5rem);

    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;
}


/* ---------- HERO LOGO MARK ---------- */

.hero-mark {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mark::before {
    content: "";

    position: absolute;

    width: 470px;
    height: 470px;

    border: 1px solid rgba(84, 143, 139, 0.15);
    border-radius: 50%;
}

.hero-mark img {
    position: relative;
    z-index: 2;

    width: min(100%, 370px);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border: 1px solid transparent;
    border-radius: var(--radius);

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--navy);
}

.button-primary:hover {
    background: var(--teal);
}

.button-secondary {
    color: var(--navy);

    background: transparent;

    border-color: rgba(18, 47, 70, 0.3);
}

.button-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
}


/* =========================================================
   CREDENTIALS
   ========================================================= */

.credentials {
    color: var(--white);
    background: var(--navy);
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.credential {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 32px 42px;

    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.credential:last-child {
    border-right: 0;
}

.credential strong {
    margin-bottom: 4px;

    color: var(--white);

    font-size: 1.25rem;
}

.credential span {
    color: rgba(255, 255, 255, 0.67);

    font-size: 0.88rem;
}


/* =========================================================
   GENERIC SECTION
   ========================================================= */

.section {
    padding-block: 120px;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 60px;
}

.section-heading > p:not(.eyebrow) {
    max-width: 650px;

    color: var(--grey);

    font-size: 1.12rem;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
    background: var(--white);
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--grey-light);
    border-left: 1px solid var(--grey-light);
}

.service-card {
    min-height: 320px;

    padding: 46px;

    border-right: 1px solid var(--grey-light);
    border-bottom: 1px solid var(--grey-light);

    background: var(--white);

    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.service-card:hover {
    position: relative;
    z-index: 2;

    background: var(--off-white);

    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.service-number {
    display: block;

    margin-bottom: 56px;

    color: var(--teal);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.1em;
}

.service-card p {
    max-width: 470px;

    margin-bottom: 0;

    color: var(--grey);
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience-section {
    background: var(--navy);
}

.experience-layout {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;

    align-items: center;
}

.experience-section h2 {
    color: var(--white);
}

.experience-section p {
    color: rgba(255, 255, 255, 0.7);
}

.experience-section .large-copy {
    color: rgba(255, 255, 255, 0.92);
}

.experience-list {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-list div {
    position: relative;

    padding: 17px 10px 17px 25px;

    color: var(--white);

    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    font-weight: 600;
}

.experience-list div::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 7px;
    height: 7px;

    background: var(--teal);

    transform: translateY(-50%) rotate(45deg);
}


/* =========================================================
   TECHNOLOGY
   ========================================================= */

.technology-section {
    padding-block: 80px;

    background: var(--off-white);
}

.technology-list {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.technology-list span {
    padding: 10px 17px;

    color: var(--navy);

    background: var(--white);

    border: 1px solid var(--grey-light);
    border-radius: 100px;

    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--white);
}

.about-layout {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 100px;

    align-items: start;
}

.about-content {
    padding-top: 46px;

    border-top: 3px solid var(--teal);
}

.about-content h3 {
    margin-bottom: 4px;

    font-size: 1.8rem;
}

.role {
    margin-bottom: 30px;

    color: var(--teal);

    font-weight: 700;
}

.about-content p:not(.role) {
    color: var(--grey);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    color: var(--white);
    background: var(--navy-dark);
}

.contact-layout {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: end;
}

.contact-section h2 {
    max-width: 650px;

    color: var(--white);
}

.contact-section .large-copy {
    color: rgba(255, 255, 255, 0.68);
}

.contact-details {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}

.contact-details > a:not(.button) {
    color: rgba(255, 255, 255, 0.82);

    text-decoration: none;

    font-size: 1.05rem;

    transition: color 160ms ease;
}

.contact-details > a:not(.button):hover {
    color: var(--teal);
}

.contact-email {
    word-break: break-word;
}

.contact-details .button {
    margin-top: 23px;

    color: var(--navy-dark);
    background: var(--white);
}

.contact-details .button:hover {
    color: var(--white);
    background: var(--teal);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-block: 36px;

    color: rgba(255, 255, 255, 0.52);

    background: #071824;

    font-size: 0.8rem;
}

.footer-inner {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: end;

    gap: 30px;
}

.footer-inner > p {
    margin: 0;
}

.footer-inner > p:last-child {
    text-align: right;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    color: var(--white);

    font-size: 1rem;

    letter-spacing: 0.08em;
}

.footer-brand span {
    color: var(--teal);

    font-size: 0.56rem;

    letter-spacing: 0.24em;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding-block: 90px;
    }


    /* HEADER */

    .header-inner {
        min-height: 74px;
    }

    .brand-logo {
        width: 195px;
    }

    .site-nav {
        gap: 20px;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 45px;

        padding-block: 80px;
    }

    .hero-mark {
        justify-content: flex-start;
    }

    .hero-mark::before {
        width: 340px;
        height: 340px;
    }

    .hero-mark img {
        width: 260px;
    }


    /* CREDENTIALS */

    .credential {
        padding: 28px 24px;
    }


    /* EXPERIENCE */

    .experience-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    /* ABOUT */

    .about-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* CONTACT */

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .container {
        width: min(100% - 30px, var(--max-width));
    }


    /* HEADER */

    .header-inner {
        min-height: 70px;
    }

    .brand-logo {
        width: 175px;
    }

    .site-nav {
        display: none;
    }


    /* HERO */

    .hero-inner {
        padding-block: 65px;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-mark {
        justify-content: center;
    }

    .hero-mark::before {
        width: 280px;
        height: 280px;
    }

    .hero-mark img {
        width: 220px;
    }


    /* CREDENTIALS */

    .credential-grid {
        grid-template-columns: 1fr;
    }

    .credential {
        min-height: 105px;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .credential:last-child {
        border-bottom: 0;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;

        padding: 36px 30px;
    }

    .service-number {
        margin-bottom: 35px;
    }


    /* TECHNOLOGY */

    .technology-section {
        padding-block: 65px;
    }

    .technology-list {
        gap: 8px;
    }

    .technology-list span {
        padding: 8px 13px;

        font-size: 0.8rem;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .footer-inner > p:last-child {
        text-align: left;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

}