/* =========================================================
   TRINITY SERVICES
   Main stylesheet
   ========================================================= */


/* ================= VARIABLES ================= */

:root {

    --black: #111111;
    --dark: #171717;
    --dark-2: #1f1f1f;

    --white: #ffffff;

    --grey: #f1f1f1;
    --mid-grey: #d8d8d8;
    --text-grey: #777777;

    --lime: #c8ff00;

    --border-dark: #363636;
    --border-light: #d5d5d5;

}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "DM Sans", Arial, sans-serif;

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

    line-height: 1.5;

    transition:
        background-color .3s ease,
        color .3s ease;

}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font: inherit;
}


button {
    border: 0;
}


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

.site-header {

    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(17, 17, 17, .96);

    border-bottom: 1px solid var(--border-dark);

    backdrop-filter: blur(12px);

}


.header-inner {

    max-width: 1500px;

    margin: auto;

    min-height: 76px;

    padding: 0 42px;

    display: flex;

    align-items: center;

    gap: 40px;

}


/* ================= LOGO ================= */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: "Space Grotesk", sans-serif;

    font-weight: 700;

    letter-spacing: -.04em;

}


.logo-symbol {

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

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

    font-size: 17px;
    font-weight: 700;

}


.logo-text {

    font-size: 18px;

    letter-spacing: .03em;

}


/* ================= NAV ================= */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 32px;

    margin-left: auto;

}


.desktop-nav a {

    font-size: 14px;

    color: #dddddd;

    transition: color .2s ease;

}


.desktop-nav a:hover {

    color: white;

}


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

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


/* ================= LOCATION ================= */

.location,
.language {

    position: relative;

}


.location-button,
.language-button {

    height: 34px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 0 8px;

    background: transparent;

    color: white;

    border: 1px solid #555555;

    cursor: pointer;

    font-size: 13px;

}


.location-button:hover,
.language-button:hover {

    border-color: #888888;

}


.arrow {

    font-size: 14px;

    margin-left: 2px;

}


.location-menu,
.language-menu {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 155px;

    padding: 6px;

    background: #1c1c1c;

    border: 1px solid #444444;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .5);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-5px);

    transition: .2s ease;

}


.location-menu.active,
.language-menu.active {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.location-menu button,
.language-menu button {

    display: block;

    width: 100%;

    padding: 10px;

    background: transparent;

    color: white;

    text-align: left;

    cursor: pointer;

    font-size: 13px;

}


.location-menu button:hover,
.language-menu button:hover {

    background: #292929;

}


/* ================= THEME ================= */

.theme-toggle {

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #555555;

    background: transparent;

    color: white;

    font-size: 15px;

    cursor: pointer;

    transition: .2s ease;

}


.theme-toggle:hover {

    background: #292929;

}


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

.contact-link {

    padding: 10px 17px;

    background: white;

    color: #111111;

    font-size: 13px;

    font-weight: 600;

    transition: .2s ease;

}


.contact-link:hover {

    transform: translateY(-1px);

}


/* ================= MOBILE MENU ================= */

.mobile-menu-button {

    display: none;

    margin-left: auto;

    background: transparent;

    color: white;

    font-size: 24px;

    cursor: pointer;

}


.mobile-nav {

    display: none;

}


/* ================= GENERAL ================= */

main {

    overflow: hidden;

}


.section-label {

    margin-bottom: 32px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .16em;

    color: #888888;

}


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

.hero {

    min-height: 760px;

    display: flex;

    align-items: flex-end;

    background: #1a1a1a;

}


.hero-content {

    width: 100%;

    max-width: 1500px;

    margin: auto;

    padding: 110px 42px 100px;

}


.hero-label {

    margin-bottom: 35px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;

    color: #888888;

}


.hero h1 {

    max-width: 1050px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(58px, 8vw, 128px);

    line-height: .92;

    letter-spacing: -.065em;

    font-weight: 500;

}


.hero-text {

    max-width: 590px;

    margin-top: 45px;

    color: #aaaaaa;

    font-size: 18px;

    line-height: 1.65;

}


.hero-button {

    display: inline-block;

    margin-top: 36px;

    padding: 15px 22px;

    background: white;

    color: #111111;

    font-size: 14px;

    font-weight: 600;

    transition: .2s ease;

}


.hero-button:hover {

    transform: translateY(-2px);

}


/* ================= INTRO ================= */

.intro {

    padding: 130px 42px;

    background: var(--black);

}


.intro > * {

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;

}


.intro-grid {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 100px;

}


.intro h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(40px, 5vw, 72px);

    line-height: 1;

    letter-spacing: -.05em;

    font-weight: 500;

}


.intro p {

    margin-bottom: 25px;

    color: #999999;

    font-size: 17px;

    line-height: 1.7;

}


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

.services {

    padding: 120px 42px;

    background: #eeeeee;

    color: #111111;

}


.services > * {

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;

}


.services .section-label {

    color: #666666;

}


.service-grid {

    display: grid;

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

    border-top: 1px solid #c7c7c7;

}


.service-card {

    min-height: 430px;

    padding: 30px;

    border-right: 1px solid #c7c7c7;

    display: flex;

    flex-direction: column;

}


.service-card:first-child {

    border-left: 1px solid #c7c7c7;

}


.service-number {

    margin-bottom: auto;

    color: #777777;

    font-size: 12px;

}


.service-card h3 {

    margin-bottom: 20px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 28px;

    line-height: 1.05;

    letter-spacing: -.03em;

}


.service-card p {

    margin-bottom: 28px;

    color: #666666;

    font-size: 15px;

    line-height: 1.6;

}


.service-card a {

    font-size: 14px;

    font-weight: 600;

}


.service-card a:hover {

    text-decoration: underline;

}


/* ================= FEATURE ================= */

.feature {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;

}


.feature-text {

    padding: 100px 10%;

    background: var(--lime);

    color: #111111;

}


.feature-text .section-label {

    color: #444444;

}


.feature-text h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(45px, 5vw, 75px);

    line-height: .95;

    letter-spacing: -.055em;

    font-weight: 500;

}


.feature-text p {

    max-width: 560px;

    margin-top: 35px;

    font-size: 17px;

    line-height: 1.65;

}


.feature-text a {

    display: inline-block;

    margin-top: 35px;

    font-weight: 700;

}


.feature-pattern {

    position: relative;

    overflow: hidden;

    background: #222222;

}


.pattern-grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(#444 1px, transparent 1px),
        linear-gradient(90deg, #444 1px, transparent 1px);

    background-size: 70px 70px;

    opacity: .35;

}


.pattern-word {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family: "Space Grotesk", sans-serif;

    font-size: 400px;

    line-height: 1;

    font-weight: 700;

    color: #333333;

}


/* ================= INDUSTRIES ================= */

.industries {

    padding: 130px 42px;

    background: var(--black);

}


.industries > * {

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;

}


.industry-heading {

    margin-bottom: 80px;

}


.industry-heading h2 {

    max-width: 900px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(45px, 5vw, 75px);

    line-height: .95;

    letter-spacing: -.05em;

    font-weight: 500;

}


.industry-grid {

    display: grid;

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

    border-top: 1px solid var(--border-dark);

}


.industry-grid article {

    min-height: 350px;

    padding: 28px;

    border-right: 1px solid var(--border-dark);

}


.industry-grid article:first-child {

    border-left: 1px solid var(--border-dark);

}


.industry-grid span {

    display: block;

    margin-bottom: 100px;

    color: #777777;

    font-size: 12px;

}


.industry-grid h3 {

    margin-bottom: 18px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 30px;

    letter-spacing: -.03em;

}


.industry-grid p {

    max-width: 390px;

    color: #999999;

    font-size: 15px;

    line-height: 1.65;

}


/* ================= INSIGHTS ================= */

.insights {

    padding: 130px 42px;

    background: #1a1a1a;

}


.insights > * {

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;

}


.insights h2 {

    max-width: 850px;

    margin-bottom: 70px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(45px, 5vw, 75px);

    line-height: .95;

    letter-spacing: -.05em;

    font-weight: 500;

}


.insight-grid {

    display: grid;

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

    gap: 18px;

}


.insight {

    min-height: 380px;

    padding: 32px;

    background: #252525;

    display: flex;

    flex-direction: column;

    transition: transform .25s ease;

}


.insight:hover {

    transform: translateY(-5px);

}


.insight-tag {

    margin-bottom: auto;

    color: #888888;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .15em;

}


.insight h3 {

    margin-bottom: 18px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 28px;

    line-height: 1.05;

    letter-spacing: -.03em;

}


.insight p {

    margin-bottom: 25px;

    color: #999999;

    font-size: 15px;

}


.insight a {

    font-size: 14px;

    font-weight: 600;

}


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

.about {

    padding: 130px 42px;

    background: var(--black);

}


.about > * {

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;

}


.about-grid {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 100px;

}


.about h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(45px, 5vw, 75px);

    line-height: .95;

    letter-spacing: -.05em;

    font-weight: 500;

}


.about p {

    margin-bottom: 25px;

    color: #999999;

    font-size: 17px;

    line-height: 1.7;

}


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

.contact {

    padding: 130px 42px;

    background: #050505;

}


.contact > * {

    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;

}


.contact-heading h2 {

    max-width: 900px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(50px, 7vw, 100px);

    line-height: .9;

    letter-spacing: -.06em;

    font-weight: 500;

}


.contact-heading p {

    margin-top: 30px;

    color: #999999;

    font-size: 17px;

}


.contact-form {

    margin-top: 70px;

}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.contact input,
.contact textarea {

    width: 100%;

    margin-bottom: 20px;

    padding: 18px 0;

    border: 0;

    border-bottom: 1px solid #444444;

    outline: none;

    background: transparent;

    color: white;

    font-size: 16px;

}


.contact input::placeholder,
.contact textarea::placeholder {

    color: #777777;

}


.contact textarea {

    min-height: 150px;

    resize: vertical;

}


.submit-button {

    margin-top: 15px;

    padding: 16px 23px;

    background: white;

    color: #111111;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;

}


.submit-button:hover {

    transform: translateY(-2px);

}


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

footer {

    padding: 70px 42px 30px;

    background: #050505;

    border-top: 1px solid #292929;

}


.footer-top {

    max-width: 1500px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 80px;

}


.footer-brand p {

    max-width: 260px;

    margin-top: 22px;

    color: #777777;

    font-size: 14px;

}


.footer-links {

    display: flex;

    gap: 120px;

}


.footer-links > div {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links h4 {

    margin-bottom: 10px;

    color: #777777;

    font-size: 11px;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.footer-links a {

    color: #cccccc;

    font-size: 14px;

}


.footer-links a:hover {

    color: white;

}


.footer-bottom {

    max-width: 1500px;

    margin: 80px auto 0;

    padding-top: 20px;

    border-top: 1px solid #292929;

    display: flex;

    justify-content: space-between;

    color: #666666;

    font-size: 12px;

}


/* ================= LIGHT MODE ================= */

body.light-mode {

    background: white;

    color: #111111;

}


body.light-mode .site-header {

    background: rgba(255,255,255,.96);

    border-color: #dddddd;

}


body.light-mode .desktop-nav a {

    color: #444444;

}


body.light-mode .desktop-nav a:hover {

    color: #111111;

}


body.light-mode .location-button,
body.light-mode .language-button {

    color: #111111;

    border-color: #cccccc;

}


body.light-mode .theme-toggle {

    color: #111111;

    border-color: #cccccc;

}


body.light-mode .theme-toggle:hover {

    background: #eeeeee;

}


body.light-mode .logo-symbol {

    background: #111111;

    color: white;

}


body.light-mode .location-menu,
body.light-mode .language-menu {

    background: white;

    border-color: #dddddd;

    box-shadow: 0 15px 40px rgba(0,0,0,.15);

}


body.light-mode .location-menu button,
body.light-mode .language-menu button {

    color: #111111;

}


body.light-mode .location-menu button:hover,
body.light-mode .language-menu button:hover {

    background: #eeeeee;

}


body.light-mode .mobile-nav {

    background: white;

}


body.light-mode .mobile-nav a {

    color: #111111;

}


body.light-mode .hero {

    background: #f1f1f1;

    color: #111111;

}


body.light-mode .hero-text {

    color: #666666;

}


body.light-mode .hero-button {

    background: #111111;

    color: white;

}


body.light-mode .intro {

    background: white;

}


body.light-mode .intro p {

    color: #666666;

}


body.light-mode .industries {

    background: white;

}


body.light-mode .industry-grid {

    border-color: #dddddd;

}


body.light-mode .industry-grid article {

    border-color: #dddddd;

}


body.light-mode .industry-grid p {

    color: #666666;

}


body.light-mode .insights {

    background: #f1f1f1;

    color: #111111;

}


body.light-mode .insight {

    background: white;

}


body.light-mode .insight p {

    color: #666666;

}


body.light-mode .about {

    background: white;

}


body.light-mode .about p {

    color: #666666;

}


body.light-mode .contact {

    background: #111111;

    color: white;

}


body.light-mode .contact input,
body.light-mode .contact textarea {

    color: white;

}


body.light-mode footer {

    background: #111111;

}


/* ================= MOBILE ================= */

@media (max-width: 1000px) {

    .desktop-nav {

        display: none;

    }

    .mobile-menu-button {

        display: block;

    }

    .header-actions {

        margin-left: auto;

    }

    .contact-link {

        display: none;

    }

    .mobile-nav {

        padding: 20px 42px 30px;

        background: #111111;

        border-top: 1px solid #333333;

        flex-direction: column;

        gap: 20px;

    }

    .mobile-nav.active {

        display: flex;

    }

    .mobile-nav a {

        font-size: 18px;

        color: white;

    }

    .intro-grid,
    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .service-grid {

        grid-template-columns: 1fr 1fr;

    }

    .service-card {

        border-bottom: 1px solid #c7c7c7;

    }

    .feature {

        grid-template-columns: 1fr;

    }

    .feature-pattern {

        min-height: 450px;

    }

    .industry-grid {

        grid-template-columns: 1fr;

    }

    .industry-grid article {

        min-height: 280px;

        border-left: 1px solid var(--border-dark);

        border-bottom: 1px solid var(--border-dark);

    }

    .industry-grid span {

        margin-bottom: 60px;

    }

    .insight-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 650px) {

    .header-inner {

        padding: 0 20px;

        min-height: 68px;

        gap: 10px;

    }

    .logo-text {

        font-size: 16px;

    }

    .location-button {

        display: none;

    }

    .language-button {

        display: none;

    }

    .hero-content {

        padding: 90px 20px 80px;

    }

    .hero {

        min-height: 650px;

    }

    .hero h1 {

        font-size: 56px;

    }

    .hero-text {

        font-size: 16px;

    }

    .intro,
    .services,
    .industries,
    .insights,
    .about,
    .contact {

        padding: 90px 20px;

    }

    .service-grid {

        grid-template-columns: 1fr;

    }

    .service-card {

        min-height: 350px;

        border-left: 1px solid #c7c7c7;

    }

    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .footer-top {

        flex-direction: column;

    }

    .footer-links {

        flex-direction: column;

        gap: 40px;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 8px;

    }

}