/* =========================================
   ROOT VARIABLES
========================================= */

:root {

    /* COLORS */

    --color-oxblood: #741521;
    --color-gold: #D6AC4A;

    --color-warm-white: #F4F1EB;
    --color-off-white: #E7E3DC;

    --color-graphite: #1A1D21;
    --color-charcoal: #111317;
    --color-soft-charcoal: #1B1F25;

    --color-cool-gray: #5E646E;
    --color-divider: #2A2F37;

    --color-nav: rgba(255,255,255,.62);
    --color-nav-active: rgba(255,255,255,.92);

    /* TYPOGRAPHY */

    --font-headline: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* LAYOUT */

    --container-width: 1280px;
    --section-spacing: 8rem;

    /* TRANSITIONS */

    --transition-fast: 180ms ease;

}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--color-warm-white);
    color: var(--color-graphite);

    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   GLOBAL LAYOUT
========================================= */

.container {

    width: min(100% - 48px, var(--container-width));
    margin-inline: auto;

}

section {
    padding: var(--section-spacing) 0;
}

.section-heading {

    max-width: 780px;
    margin-bottom: 4rem;

}

.section-label {

    margin-bottom: 1rem;

    color: var(--color-gold);

    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3 {

    font-family: var(--font-headline);
    font-weight: 400;

    letter-spacing: -.02em;

}

h1 {

    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: .95;

}

h2 {

    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;

}

h3 {

    font-size: 1.8rem;
    line-height: 1.2;

}

p {
    color: var(--color-cool-gray);
}

/* =========================================
   HEADER / NAV
========================================= */

.site-header {

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(17,19,23,.92);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,.04);

}

.nav-container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 84px;

}

.logo {

    color: white;

    font-family: var(--font-headline);
    font-size: 1.8rem;
    letter-spacing: .08em;

}

.logo img {

    display: block;

    height: 46px;
    width: auto;

}

.main-nav {

    display: flex;
    align-items: center;
    gap: 2.5rem;

}

.main-nav a {

    position: relative;

    color: var(--color-nav);

    font-size: .95rem;
    font-weight: 500;

    transition: color var(--transition-fast);

}

.main-nav a:hover {

    color: var(--color-nav-active);

}

.main-nav a::after {

    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background: var(--color-gold);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform var(--transition-fast);

}

.main-nav a:hover::after {

    transform: scaleX(1);

}

/* =========================================
   BUTTONS
========================================= */

.btn,
.nav-cta {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 1.6rem;

    border-radius: 999px;

    font-size: .92rem;
    font-weight: 500;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);

}

.btn-primary,
.nav-cta {

    background: var(--color-oxblood);
    color: white;

}

.btn-primary:hover,
.nav-cta:hover {

    background: #5d111b;

}

.btn-secondary {

    border: 1px solid var(--color-gold);

    color: var(--color-graphite);

}

.btn-secondary:hover {

    background: rgba(214,172,74,.08);

}



/* =========================================
   HERO
========================================= */

.hero-section {

    position: relative;

    padding-top: 7rem;
    padding-bottom: 10rem;

    overflow: hidden;

    background-image:
        url('../ssd_assets/hero-polygons-v1.png');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

}

/* =========================================
   HERO GRID
========================================= */

.hero-grid {

    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 4rem;
    align-items: center;

}

/* =========================================
   HERO CONTENT
========================================= */

.hero-content {

    max-width: 980px;

}

/* =========================================
   HERO TYPOGRAPHY
========================================= */

.hero-section h1 {

    max-width: 90%;

    color: white;

    font-size: clamp(2.0rem, 3vw, 3.0rem);
    line-height: .98;
    letter-spacing: -.03em;

    text-wrap: balance;

}


/* =========================================
   HERO TEXT
========================================= */

.hero-text {

    margin-top: 2rem;
    margin-bottom: 3rem;

    max-width: 760px;

    color: rgba(255,255,255,.78);

    font-size: 1.15rem;
    line-height: 1.8;

}

/* =========================================
   SECONDARY BUTTON
========================================= */

.btn-secondary {

    border: 1px solid var(--color-gold);

    color: rgba(255,255,255,.92);

    background: rgba(255,255,255,.02);

}

.btn-secondary:hover {

    background: rgba(214,172,74,.12);

    color: white;

}


/* =========================================
   CREDIBILITY / CAPABILITIES STRIP
========================================= */

.credibility-strip {

    position: relative;

    padding: 2.2rem 0;

    background: #171A1F;

    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.04);

}

.credibility-grid {

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 1.25rem;
    align-items: center;

}

.credibility-grid div {

    position: relative;

    padding-inline: 1rem;

    color: rgba(255,255,255,.74);

    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;

    text-align: center;

}

/* subtle separators */

.credibility-grid div:not(:last-child)::after {

    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 1px;
    height: 18px;

    background: rgba(255,255,255,.08);

    transform: translateY(-50%);

}


/* ========================================
    HERO INTERIOR
========================================= */

.page-hero {
    position: relative;
    height: 240px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    color: #ffffff;
    margin: 0;
}

.page-hero-content p {
    color: rgba(255,255,255,.85);
}

.page-hero .section-label {
    color: #d6ac4a;
}



/* =========================================
   SERVICES
========================================= */

.services-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

}

.service-card {

    padding: 2.5rem;

    background: white;

    border: 1px solid rgba(0,0,0,.05);
    border-radius: 24px;

}

.service-card h3 {

    margin-bottom: 1.5rem;

}

.service-card ul {

    display: flex;
    flex-direction: column;
    gap: .8rem;

    margin-bottom: 2rem;

}

.service-card li {

    position: relative;
    padding-left: 1.4rem;

}

.service-card li::before {

    content: "";

    position: absolute;

    left: 0;
    top: .62rem;

    width: 7px;
    height: 7px;

    border: 1px solid var(--color-oxblood);

    transform: rotate(45deg);

}

.service-card a {

    color: var(--color-oxblood);
    font-weight: 600;

}

/* =========================================
   WORK
========================================= */

.work-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

}

/* =========================================
   WORK CARDS
========================================= */

.work-card {

    position: relative;
    overflow: hidden;

    min-height: 420px;

    padding: 2.5rem;

    background: var(--color-soft-charcoal);

    border-radius: 28px;

}

.work-content {

    position: relative;
    z-index: 5;

    max-width: 52%;

}

.work-category {

    display: inline-block;

    margin-bottom: 1rem;

    color: var(--color-gold);

    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

}

.work-card h3 {

    color: white;

    margin-bottom: 1rem;

}

.work-card p {

    color: rgba(255,255,255,.72);

    margin-bottom: 2rem;

}

.work-card a {

    color: white;

    font-weight: 600;

}

.work-preview {

    position: absolute;

    right: -2%;
    bottom: -2%;

    width: 55%;

    z-index: 1;

}

.work-preview img {

    display: block;

    width: 100%;
    height: auto;

}


/* =========================================
   PROCESS
========================================= */

.process-grid {

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;

}

.process-step {

    padding-top: 1.5rem;

    border-top: 1px solid rgba(0,0,0,.08);

}

.process-step span {

    display: inline-block;

    margin-bottom: 1rem;

    color: var(--color-gold);

    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;

}

/* =========================================
   AI SECTION
========================================= */

.ai-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;

}

.ai-list ul {

    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.ai-list li {

    padding-bottom: 1rem;

    border-bottom: 1px solid rgba(0,0,0,.06);

}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonials-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

}

.testimonial-card {

    padding: 2.5rem;

    background: white;

    border-radius: 24px;
    border: 1px solid rgba(0,0,0,.05);

}

.testimonial-card p {

    margin-bottom: 2rem;

    font-size: 1.05rem;

}

.testimonial-card cite {

    color: var(--color-graphite);

    font-style: normal;
    font-weight: 600;

}

/* ============================
   CONTACT PAGE CONTENT
============================*/

.contact-page {
    padding: 80px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-main h2 {
    margin-bottom: 20px;
}

.intro-text {
    max-width: 800px;
    margin-bottom: 40px;
}

.hubspot-form-wrapper {
    margin-top: 40px;
}

.contact-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    margin-bottom: 50px;
}

.sidebar-card h3 {
    margin-bottom: 20px;
}

.sidebar-card ul,
.sidebar-card ol {
    margin: 0;
    padding-left: 20px;
}

.sidebar-card li {
    margin-bottom: 12px;
    color: var(--color-body);
}

/* =========================================
   FINAL CTA
========================================= */

.final-cta-section {

    background: var(--color-charcoal);

    color: white;

}

.final-cta-section p {

    color: rgba(255,255,255,.72);

}

.final-cta-content {

    max-width: 760px;

}

.final-cta-content h2 {

    margin-bottom: 2rem;

}

/* =========================================
   FOOTER
========================================= */

.site-footer {

    padding-top: 5rem;

    background: var(--color-charcoal);

    color: white;

}

.footer-grid {

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;

    padding-bottom: 4rem;

}

.footer-brand h3 {

    margin-bottom: 1rem;

}

.footer-brand p {

    max-width: 420px;

    color: rgba(255,255,255,.65);

}

.footer-nav,
.footer-contact {

    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.footer-nav a,
.footer-contact a {

    color: rgba(255,255,255,.72);

    transition: color var(--transition-fast);

}

.footer-nav a:hover,
.footer-contact a:hover {

    color: white;

}

.footer-bottom {

    padding: 2rem 0;

    border-top: 1px solid rgba(255,255,255,.06);

    text-align: center;

}

.footer-bottom p {

    color: rgba(255,255,255,.5);
    font-size: .85rem;

}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .hero-grid,
    .services-grid,
    .ai-grid,
    .footer-grid {

        grid-template-columns: 1fr;

    }

    .process-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 900px) {

    .main-nav {

        display: none;

    }

    .work-grid,
    .testimonials-grid {

        grid-template-columns: 1fr;

    }
	
	.credibility-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 640px) {

    :root {

        --section-spacing: 6rem;

    }

    .hero-section {

        padding-top: 7rem;

    }

    h1 {

        line-height: 1;

    }

    .process-grid {

        grid-template-columns: 1fr;

    }

    .hero-actions {

        flex-direction: column;

    }

    .btn,
    .nav-cta {

        width: 100%;

    }

    .credibility-strip {

        padding: 1.5rem 0;

    }

    .credibility-grid {

        grid-template-columns: 1fr;
        gap: .75rem;

    }

    .credibility-grid div {

        padding: .85rem 0;

        border-bottom: 1px solid rgba(255,255,255,.06);

    }

    .credibility-grid div::after {

        display: none;

    }

}



