/* ==========================================================
   01. Root Variables
   ========================================================== */

:root {
    color-scheme: light;

    /* Brand colors */
    --accent: #ce5855;
    --accent-dark: #ad4442;

    /* Text colors */
    --ink: #25282b;
    --muted: #676b70;

    /* Surface colors */
    --paper: #ffffff;
    --soft: #f5f4f2;
    --line: #e5e2df;

    /* Layout */
    --site-gutter: clamp(24px, 4vw, 96px);

    /* Typography */
    font-family: Arial, Helvetica, sans-serif;
    font-synthesis: none;
}

/* ==========================================================
   02. Reset & Base Styles
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
    background: #e6e6e6;
    color: var(--ink);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

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

svg {
    display: block;
}

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

h1,
h2,
h3 {
    line-height: 1.14;
    letter-spacing: -0.04em;
}

h2 {
    margin: 19px 0 0;
    font-size: clamp(32px, 3.3vw, 49px);
}

/* ==========================================================
   03. Global Layout
   ========================================================== */

/* Full-width page wrapper */
.site-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    border-top: 38px solid var(--accent);
    box-shadow: 0 0 55px #0000000a;
}

/* Full-width content container */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
}

/* Legacy layout compatibility */
.page-container,
.site,
.site-wrapper,
.site-container,
.site-main,
.main,
.wrapper {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

/* ==========================================================
   04. Accessibility
   ========================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px;
    background: var(--paper);
}

.skip-link:focus {
    top: 10px;
}

/* ==========================================================
   05. Site Header
   ========================================================== */

.site-header {
    background: #f1f0ee;
    border-bottom: 1px solid #e2dfdc;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 112px;
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    background: var(--accent);
    border-radius: 10px;
    color: var(--paper);
}
.brand__mark svg {
    width: 31px;
    height: 31px;
}
.brand__name {
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.3px;
}
.brand__name strong {
    color: var(--accent);
}
.brand__name small {
    display: block;
    margin-top: 8px;
    color: #777777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    margin-left: auto;
}

.site-nav a {
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent-dark);
}

/* Header Contact */
.header-contact {
    padding: 12px 16px;
    border: 1px solid #cfcac6;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.header-contact span {
    margin-left: 12px;
    color: var(--accent);
}

/* ==========================================================
   06. Hero Section
   ========================================================== */

.hero {
    overflow: hidden;
    background: linear-gradient(
        125deg,
        #f3f2f0 0%,
        #eeedeb 58%,
        #e8e6e3 100%
    );
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
    min-height: 620px;
}

.hero__copy {
    padding: 75px 0;
}

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.eyebrow__line {
    width: 28px;
    height: 2px;
    background: var(--accent);
}

/* Hero Typography */
h1 {
    max-width: 680px;
    margin: 24px 0 23px;
    font-size: clamp(46px, 5.1vw, 76px);
}

h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero__lead {
    max-width: 540px;
    color: #5c6063;
    font-size: 18px;
    line-height: 1.75;
}

/* Hero Actions */
.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    padding: 15px 22px;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.button--primary {
    background: var(--accent);
    color: var(--paper);
}
.button--primary:hover {
    background: var(--accent-dark);
}

/* Text Links */
.text-link {
    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    margin-left: 10px;
    color: var(--accent);
}

/* Hero Metadata */
.hero__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 385px;
    margin-top: 64px;
    padding-top: 22px;
    border-top: 1px solid #d5d2ce;
    color: var(--muted);
    font-size: 12px;
}

.hero__meta strong {
    color: var(--ink);
    font-size: 18px;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
}

.network-art {
    width: min(100%, 560px);
    height: auto;
    color: #44484d;
}

.visual-caption {
    position: absolute;
    right: 8px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7b7b7b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}
.visual-caption__dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}


/* ==========================================================
   07. Introduction Section
   ========================================================== */

.intro-section {
    padding: 105px 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 10%;
}
.intro-copy {
    color: #555a5d;
    font-size: 16px;
}
.intro-copy p {
    margin-bottom: 18px;
}

/* ==========================================================
   08. Services Section
   ========================================================== */

.services-section {
    padding: 105px 0 115px;

    background: var(--soft);
}

/* Section Heading */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 55px;

    margin-bottom: 40px;
}
.section-heading h2 {
    max-width: 670px;
}
.section-heading > p {
    max-width: 340px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 15px;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

/* Service Card */
.service-card {
    min-height: 315px;
    padding: 27px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.service-card__number {
    color: #888888;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.service-card svg {
    width: 48px;
    height: 48px;
    margin: 32px 0 28px;

    color: var(--accent);
}
.service-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}
.service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================================
   09. Partners Section
   ========================================================== */

.partners-section {
    padding: 105px 0 115px;
}

/* Partners Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

/* Partner Tile */
.partner-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;

    min-height: 115px;
    padding: 23px 20px;

    border: 1px solid var(--line);
}
.partner-tile span {
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.05em;
}
.partner-tile small {
    color: var(--muted);
    font-size: 11px;
}

/* Partners Note */
.partners-note {
    margin: 18px 0 0;

    color: #777777;
    font-size: 12px;
}

/* ==========================================================
   10. Contact Section
   ========================================================== */

.contact-section {
    padding: 90px 0;

    background: #292b2e;
    color: var(--paper);
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 90px;
}
.contact-grid h2 {
    max-width: 640px;
}
.contact-grid p {
    max-width: 590px;
    margin-top: 20px;

    color: #c7c7c7;
}

/* Contact Panel */
.contact-panel {
    padding: 35px;

    border: 1px solid #56585a;
}
.contact-panel__label {
    color: #f08b87;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}
.contact-panel p {
    margin: 15px 0 9px;

    color: var(--paper);
    font-size: 21px;
    font-weight: 700;
}
.contact-panel > span:last-child {
    color: #c3c3c3;
    font-size: 13px;
}

/* ==========================================================
   11. Site Footer
   ========================================================== */

.site-footer {
    background: #222427;
    color: #bfc0c2;
    font-size: 12px;
}
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 100px;
}
.site-footer nav {
    display: flex;
    gap: 26px;
}
.site-footer a:hover {
    color: var(--paper);
}

/* ==========================================================
   12. Responsive – Large Desktop
   ========================================================== */

@media (min-width: 1920px) {
    :root {
        --site-gutter: clamp(64px, 5vw, 128px);
    }
}

/* ==========================================================
   13. Responsive – Small Desktop & Tablet
   ========================================================== */

@media (max-width: 1100px) {
    .site-header__inner {
        gap: 22px;
    }

    .site-nav {
        gap: 17px;
    }

    .header-contact {
        display: none;
    }

    .hero__grid {
        min-height: 560px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================
   14. Responsive – Tablet & Mobile
   ========================================================== */

@media (max-width: 760px) {
    :root {
        --site-gutter: 20px;
    }

    /* Header */
    .site-shell {
        border-top-width: 16px;
    }

    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;

        padding-top: 22px;
        padding-bottom: 22px;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 14px 22px;

        margin-left: 0;
    }

    /* Hero */
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero__copy {
        padding: 65px 0 0;
    }

    .hero__visual {
        max-width: 450px;
        margin: 0 auto 30px;
    }

    .hero__meta {
        margin-top: 40px;
    }

    /* Sections */
    .intro-section,
    .services-section,
    .partners-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 18px;
    }

    /* Partners */
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Contact */
    .contact-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    /* Footer */
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;

        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* ==========================================================
   15. Responsive – Small Mobile
   ========================================================== */

@media (max-width: 480px) {
    h1 {
        font-size: 45px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__actions {
        gap: 20px;
    }

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

    .visual-caption {
        font-size: 8px;
    }
}

/* ==========================================================
   16. Accessibility – Reduced Motion
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
