@font-face {
    font-family: Archy;
    src: url('../fonts/archybold.ttf')
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #f0efe9;
    color: #111;
    font-family: Arial, "Noto Sans Georgian", sans-serif;
    overflow-x: hidden
}

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

header {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.2vw;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    color: white
}

.brand {
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px
}


nav {
    display: flex;
    gap: 32px;
    font-size: 12px
}

nav a {
    opacity: .75;
    transition: .25s
}

nav a:hover {
    opacity: 1
}

.menu {
    font-size: 11px;
    letter-spacing: .1em
}

.menu i {
    font-size: 18px;
    margin-left: 7px
}

.hero {
    height: 100svh;
    min-height: 680px;
    background: #151515;
    color: white;
    padding: 150px 3.2vw 55px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2
}

.eyebrow b {
    font-weight: 400;
    color: #999
}

.hero h1 {
    font-family: Archy, Arial, sans-serif;
    font-size: clamp(72px, 10.4vw, 180px);
    line-height: .77;
    letter-spacing: -.045em;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 700
}

.hero h1 span {
    display: block
}

.hero h1 .outline {
    color: transparent;
    margin-left: 8vw
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    position: relative;
    z-index: 2
}

.hero-bottom p {
    max-width: 480px;
    font-size: 15px;
    line-height: 1.6;
    color: #bdbdbd;
    margin: 0
}

.round {
    width: 66px;
    height: 66px;
    border: 1px solid #777;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    transition: .3s
}

.round:hover {
    background: white;
    color: #111;
    transform: rotate(-45deg)
}

.orb {
    position: absolute;
    width: 47vw;
    height: 47vw;
    border-radius: 50%;
    right: 8vw;
    top: 18vh;
    background: radial-gradient(circle at 35% 30%, #ff7b60, #dc2d20 32%, #7c0905 68%, #190000);
    filter: saturate(.8);
    box-shadow: 0 0 90px #8f120844;
    animation: float 8s ease-in-out infinite
}

.orb div {
    position: absolute;
    inset: -12%;
    border: 1px solid #ffffff18;
    border-radius: 50%;
    transform: rotate(18deg) scaleY(.28)
}


section:not(.hero) {
    padding: 120px 3.2vw
}

.section-tag {
    font-size: 10px;
    letter-spacing: .18em;
    color: #777;
    border-top: 1px solid #bbb;
    padding-top: 16px
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 8vw;
    margin-top: 80px
}

.about h2 {
    font-family: Archy, Arial, sans-serif;
    font-size: clamp(52px, 6.2vw, 105px);
    line-height: .92;
    letter-spacing: -.035em;
    margin: 0
}

.about h2 em {
    font-style: normal;
    color: #d43a2d
}

.about-copy {
    padding-top: 10px
}

.about-copy>p {
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 25px;
    color: #383838
}


.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: end;
    margin-bottom: 70px
}

.section-head .section-tag {
    border: 0;
    padding: 0;
    color: #777
}

.section-head h2 {
    font-family: Archy, Arial, sans-serif;
    font-size: clamp(60px, 8vw, 120px);
    margin: 0;
    letter-spacing: -.04em
}

.section-head>p {
    font-size: 12px;
    color: #777;
    text-align: right
}




.services {
    background: #d43a2d;
    color: #111
}

.services .section-tag {
    border-color: #8f241b;
    color: #64180f
}

.service-title {
    display: grid;
    grid-template-columns: 0.9fr 2fr;
    align-items: end;
    margin: 55px 0 70px
}

.service-title p {
    font-size: x-large;
    font-weight: bold;

}

.service-title h2 {
    font-family: Archy, Arial, sans-serif;
    font-size: clamp(65px, 8vw, 130px);
    line-height: .8;
    margin: 0
}

.service {
    display: grid;
    border-top: 1px solid #8f241b;
    padding: 28px 0;
    align-items: start
}

.service span {
    font-size: xx-large;
    font-weight: bolder;


}

.service h3 {
    font-family: Archy, Arial, sans-serif;
    font-size: 32px;
    margin: 0;
}

.service p {
    font-size: large;
    line-height: 1.6;
    margin: 5px 0;
    max-width: 470px;
}

/* Services list alignment — desktop */
@media (min-width: 801px) {
    #services .service-list {
        margin-left: 34% !important;
        width: 66% !important;
    }

    #services .service {
        grid-template-columns: 45px 1fr 1.35fr;
    }
}

.partners {
    background: #f0efe9;
    overflow: hidden
}

.partners .section-head {
    margin-bottom: 80px
}

.partners .section-head h2 {
    font-size: clamp(50px, 6.8vw, 105px)
}

.logo-marquee {
    margin: 0 -3.2vw;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    overflow: hidden
}

.logo-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite
}

.logo-box {
    width: 190px;
    height: 115px;
    display: grid;
    place-items: center;
    border-right: 1px solid #ccc;
    background: #f0efe9
}

.logo-box img {
    max-width: 110px;
    max-height: 42px;
    filter: grayscale(1);
    opacity: .65
}

.logo-box:hover img {
    filter: none;
    opacity: 1
}


.archive {
    background: #111 !important;
    color: #eee;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.bigtype {
    font-size: 18vw;
    font-weight: 900;
    letter-spacing: -.075em;
    line-height: .8;
    white-space: nowrap;
    margin-left: -1vw
}

.bigtype span {
    font-size: 2vw;
    vertical-align: top;
    letter-spacing: 0
}

.archive-copy {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-top: 1px solid #333;
    padding-top: 25px
}

.archive-copy p {
    font-size: 28px;
    line-height: 1.1;
    margin: 0
}

.archive-copy small {
    color: #777
}

footer {
    padding: 35px 3.2vw;
    background: #111;
    color: #aaa;
    border-top: 1px solid #333;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr auto;
    align-items: center;
    font-size: 11px
}

footer .brand {
    color: white
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:800px) {
    header {
        height: 68px;
        padding: 0 20px
    }

    nav {
        display: none
    }

    .hero {
        padding: 125px 20px 35px;
        min-height: 650px
    }

    .hero h1 {
        font-size: 18vw;
        line-height: .86
    }

    .hero h1 .outline {
        margin-left: 0
    }

    .eyebrow b {
        display: none
    }

    .orb {
        width: 90vw;
        height: 90vw;
        right: -25vw;
        top: 24vh
    }

    .hero-bottom p {
        max-width: 70%;
        font-size: 12px
    }

    .round {
        width: 50px;
        height: 50px
    }

    section:not(.hero) {
        padding: 80px 20px
    }

    .about-grid,
    .section-head,
    .service-title {
        grid-template-columns: 1fr
    }

    .about-grid {
        gap: 40px;
        margin-top: 50px
    }

    .about h2 {
        font-size: 14vw
    }


    .section-head {
        gap: 20px;
        margin-bottom: 45px
    }

    .section-head>p {
        text-align: left
    }


    .service-title {
        gap: 30px;
        margin: 40px 0
    }

    .service-title h2 {
        font-size: 17vw
    }

    .service {
        grid-template-columns: 35px 1fr
    }

    .service p {
        grid-column: 2
    }

    .logo-box {
        width: 150px;
        height: 90px
    }

    .archive {
        min-height: 55vh
    }

    .bigtype {
        font-size: 20vw
    }

    .archive-copy p {
        font-size: 20px
    }

    .archive-copy small {
        font-size: 8px
    }

    footer {
        grid-template-columns: 1fr auto;
        gap: 25px
    }

    footer p {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

.principles {
    margin-top: 100px;
    border-top: 1px solid #bbb
}

.principle {
    display: grid;
    grid-template-columns: 70px minmax(260px, .8fr) 1.2fr;
    gap: 30px;
    border-bottom: 1px solid #bbb;
    padding: 34px 0;
    align-items: start
}

.principle>span {
    font-size: 10px;
    color: #888;
    letter-spacing: .12em;
    padding-top: 7px
}

.principle h3 {
    font-family: Archy, Arial, sans-serif;
    font-size: clamp(25px, 2.25vw, 38px);
    line-height: 1.05;
    margin: 0;
    font-weight: 700
}

.principle p {
    font-size: 13px;
    line-height: 1.75;
    color: #4a4a4a;
    max-width: 680px;
    margin: 2px 0 0
}

.principle-tech {
    margin-top: 28px;
    border: 0;
    background: #111;
    color: #fff;
    padding: 40px 36px;
    position: relative;
    overflow: hidden
}

.principle-tech:after {
    content: "AI";
    position: absolute;
    right: -.02em;
    bottom: -.27em;
    font-family: Arial, sans-serif;
    font-size: 150px;
    font-weight: 900;
    letter-spacing: -.09em;
    color: #ffffff08;
    pointer-events: none
}

.principle-tech>span {
    color: #777
}

.principle-tech p {
    color: #aaa;
    position: relative;
    z-index: 1
}

.tech-label {
    font-size: 9px;
    letter-spacing: .2em;
    color: #d43a2d;
    margin-bottom: 12px;
    font-weight: 700
}

@media(max-width:800px) {
    .principles {
        margin-top: 65px
    }

    .principle {
        grid-template-columns: 32px 1fr;
        gap: 12px 8px;
        padding: 25px 0
    }

    .principle p {
        grid-column: 2;
        font-size: 12px
    }

    .principle-tech {
        padding: 28px 20px;
        margin-left: -20px;
        margin-right: -20px
    }

    .principle-tech:after {
        font-size: 100px
    }
}

/* Sticky navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

header {
    background: rgb(21, 21, 21);
}

/* Fixed header + viewport correction */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(21, 21, 21);
}

.hero {
    padding-top: var(--header-h, 88px);
    box-sizing: border-box;
}

/* Hero spacing refinement */
.hero-copy {
    font-size: large;
}

.hero {
    row-gap: 0;
}

.hero-kicker {
    align-self: end;
    margin-bottom: 28px;
}

.hero-title {
    margin-top: 0;
    margin-bottom: 28px;
}

.hero-copy {
    align-self: start;
    margin-top: 0;
}

/* Hero compact vertical composition */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero .eyebrow {
    width: 100%;
    margin: 0 0 32px 0;
}

.hero h1 {
    margin: 0;
}

.hero .hero-bottom {
    width: 100%;
    margin-top: 38px;
}

.hero .hero-bottom p {
    font-size: large;
}

/* Hero eyebrow typography & Tbilisi position */
.hero .eyebrow {
    font-size: large;
    position: relative;
}

.hero .eyebrow b {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    font-size: 11px;
}

.hero .eyebrow {
    margin-bottom: 80px;
}

.hero .eyebrow b {
    font-size: large;
    color: #e3342f;
    top: calc(100% + 12px);
}

.hero h1 .outline {
    color: #ffffff;
    margin-left: 8vw;
}

/* ==================================================
   CONCEPT — CLEAN CONTINUOUS RIPPLE
   ================================================== */

/*
   IMPORTANT:
   The original .orb position, size, gradient and
   responsive positioning remain untouched.
*/

.hero .orb {
    animation: none;
    transform: none;
    overflow: visible;
}

/* Three waves — exact same geometric centre as orb */

.hero .orb::before,
.hero .orb::after,
.hero .orb>div {
    position: absolute;
    content: "";
    box-sizing: border-box;

    left: 50%;
    top: 50%;

    width: 100%;
    height: 100%;

    border-radius: 50%;
    pointer-events: none;

    transform-origin: center center;
    transform: translate(-50%, -50%) scale(0);

    background: rgba(110, 10, 8, .16);
    border: 1px solid rgba(255, 255, 255, .18);

    opacity: 0;

    animation: conceptRipple 4.8s linear infinite;
}

.hero .orb::before {
    animation-delay: 0s;
}

.hero .orb::after {
    animation-delay: -1.6s;
}

.hero .orb>div {
    animation-delay: -3.2s;
}


/*
   0 → 1:
   wave travels through the red surface

   1 → 2.25:
   wave leaves the orb as a thin ring
*/


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

    .hero .orb::before,
    .hero .orb::after,
    .hero .orb>div {
        animation: none;
        opacity: 0;
    }
}

/* ==================================================
   ORB CORE — independent physical pulse
   Ripple geometry remains unchanged
   ================================================== */

/*
   Hide the original orb background visually.
   The exact same gradient is now rendered by .orb-core.
*/
.hero .orb {
    background: none !important;
    box-shadow: none !important;
}

/* The visible red sphere */
.hero .orb .orb-core {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;

    border-radius: 50%;

    background:
        radial-gradient(circle at 35% 30%,
            #ff7b60,
            #dc2d20 32%,
            #7c0905 68%,
            #190000);

    box-shadow: 0 0 90px #8f120844;
    filter: saturate(.8);

    transform: scale(1);
    transform-origin: 50% 50%;

    animation: orbCoreImpact 4.8s ease-in-out infinite;

    pointer-events: none;
}

/* Keep ripple layers above the visible sphere */
.hero .orb::before,
.hero .orb::after,
.hero .orb>div {
    z-index: 1;
}

/*
   Short reaction synchronized with the beginning
   of the ripple cycle:

   normal → contract → expand → settle
*/


@media (prefers-reduced-motion: reduce) {
    .hero .orb .orb-core {
        animation: none;
        transform: scale(1);
    }
}


/* ==================================================
   RIPPLE — IMPRESSION SPREAD
   stronger rings travelling beyond the viewport
   ================================================== */

.hero .orb::before,
.hero .orb::after,
.hero .orb>div {
    animation-name: impressionSpread !important;
    animation-duration: 4.8s !important;
    animation-timing-function: cubic-bezier(.16, .55, .25, 1) !important;
    animation-iteration-count: infinite !important;
}

/* keep the same continuous spacing */
.hero .orb::before {
    animation-delay: 0s !important;
}

.hero .orb::after {
    animation-delay: -1.6s !important;
}

.hero .orb>div {
    animation-delay: -3.2s !important;
}


@keyframes impressionSpread {

    /* impulse begins in the centre */
    0% {
        transform: translate(-50%, -50%) scale(.04);
        opacity: .48;
        background: rgba(110, 10, 8, .16);
        border-color: rgba(190, 190, 190, .18);
    }

    /* travelling through the red sphere */
    22% {
        transform: translate(-50%, -50%) scale(.48);
        opacity: .44;
        background: rgba(110, 10, 8, .12);
        border-color: rgba(190, 190, 190, .22);
    }

    /* reaches the edge of the red sphere */
    43% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .42;
        background: rgba(110, 10, 8, .025);
        border-color: rgba(205, 205, 205, .34);
    }

    /* from here it becomes a clean grey wave */
    47% {
        transform: translate(-50%, -50%) scale(1.10);
        opacity: .42;
        background: transparent;
        border-color: rgba(205, 205, 205, .38);
    }

    /* clearly visible across the hero */
    65% {
        transform: translate(-50%, -50%) scale(1.90);
        opacity: .34;
        background: transparent;
        border-color: rgba(190, 190, 190, .34);
    }

    82% {
        transform: translate(-50%, -50%) scale(2.90);
        opacity: .24;
        background: transparent;
        border-color: rgba(180, 180, 180, .27);
    }

    /* travels beyond the viewport */
    96% {
        transform: translate(-50%, -50%) scale(4.20);
        opacity: .10;
        background: transparent;
        border-color: rgba(170, 170, 170, .18);
    }

    100% {
        transform: translate(-50%, -50%) scale(4.50);
        opacity: 0;
        background: transparent;
        border-color: rgba(170, 170, 170, .08);
    }
}

/* Red orb stays completely static */
.hero .orb .orb-core {
    animation: none !important;
    transform: scale(1) !important;
    filter: saturate(.8) !important;
}

/* ==================================================
   FINAL ORB COLOR CYCLE
   #c32219 -> #b61006 -> #c32219
   GOOD RIPPLE V1 remains unchanged
   ================================================== */

.hero .orb .orb-core {
    background: #c32219 !important;
    filter: none !important;
    transform: scale(1) !important;
    animation: finalOrbColorCycle 6s ease-in-out infinite !important;
}

/*
   We animate background-color, NOT background.
   This avoids conflict with the static background rule.
*/


/* Orb color */
.hero .orb .orb-core {
    background: #eb1919 !important;
    background-image: none !important;
    animation: none !important;
    filter: none !important;
}

/* Hero location / since color */
.hero .eyebrow b {
    color: #eb1919 !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 8vw;
    margin-top: 30px;
}


/* Services section background */
#services {
    background: #151515 !important;
}


/* =========================================
   SERVICES — DARK THEME
   ========================================= */

#services {
    background: #151515 !important;
    color: #fff !important;
}

#services h2,
#services h3,
#services p,
#services span,
#services .section-tag {
    color: #fff !important;
}

/* Dividing lines */
#services .section-head,
#services .service,
#services .services-list {
    border-color: rgba(255, 255, 255, 0.28) !important;
}


#services .service p {

    line-height: 1.6;
    margin: 5px 0;

}
/* Services — push description column to the right */
@media (min-width: 801px) {
    #services .service {
        grid-template-columns: 45px 1fr 1.15fr !important;
        column-gap: 55px !important;
    }

    #services .service p {
        justify-self: end;
        width: 100%;
        max-width: 470px;
    }
}


/* Services — extend list to the left, keep right edge fixed */
@media (min-width: 801px) {
    #services .service-list {
        margin-left: 26% !important;
        width: 74% !important;
    }

    #services .service {
        grid-template-columns: 45px 1fr 1.15fr !important;
        column-gap: 55px !important;
    }
}


/* Services — wider left content column */
@media (min-width: 801px) {
    #services .service {
        grid-template-columns: 45px 1.55fr 1fr !important;
        column-gap: 55px !important;
    }

    #services .service p {
        justify-self: end !important;
        width: 100% !important;
        max-width: 470px !important;
    }
}


/* Services — widen descriptions ONLY to the left */
@media (min-width: 801px) {
    #services .service p {
        justify-self: end !important;
        width: 620px !important;
        max-width: 620px !important;
    }
}


/* Hide services section tag / divider */
#services > .section-tag {
    display: none !important;
}


/* Services — final spacing adjustments */
@media (min-width: 801px) {

    #services .service-title {
        margin: 0 0 30px !important;
    }

    #services .service p {
        justify-self: end !important;
        width: 760px !important;
        max-width: 760px !important;
                color: #949494 !important;
    }
}


/* Services title — vertical center alignment */
#services .service-title {
    align-items: center !important;
}


/* Service title — prevent load jump */
#services .service-title.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#services .service-title.reveal.in {
    opacity: 1 !important;
    transform: none !important;
}


/* Services numbering */
#services .service span {
    font-size: xx-large !important;
    font-weight: bolder !important;
    color: #eb1919 !important;
}


/* =========================================
   PARTNERS — FULL WIDTH LOGO GRID
   ========================================= */

#partners .logo-marquee {
    width: 100% !important;
    overflow: visible !important;
}

#partners .logo-track {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
}

#partners .logo-box {
    width: auto !important;
    height: 170px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-right: 1px solid rgba(0, 0, 0, .16);
    border-bottom: 1px solid rgba(0, 0, 0, .16);

    transition:
        background-color .35s ease,
        transform .35s ease !important;
}

#partners .logo-box img {
    max-width: 65% !important;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;

    filter: grayscale(1) !important;
    opacity: .55 !important;

    transition:
        filter .35s ease,
        opacity .35s ease,
        transform .35s ease !important;
}

#partners .logo-box:hover img {
    filter: grayscale(0) !important;
    opacity: 1 !important;
    transform: scale(1.08);
}

/* Tablet */
@media (max-width: 1100px) {
    #partners .logo-track {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #partners .logo-track {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #partners .logo-box {
        height: 130px !important;
    }

    #partners .logo-box img {
        max-width: 70% !important;
        max-height: 55px !important;
    }
}


/* =========================================
   PARTNERS — COMPACT GRID + HEADER ALIGNMENT
   ========================================= */

/* Header */
#partners .section-head {
    align-items: center !important;
}

#partners .section-head h2 {
    text-align: center !important;
}

#partners .section-head > p {
    align-self: center !important;
}

/* Logo grid — 2x more compact */
#partners .logo-box {
    height: 85px !important;
    min-height: 85px !important;
}

/* Keep logos proportional inside smaller cells */
#partners .logo-box img {
    max-width: 60% !important;
    max-height: 42px !important;
    width: auto !important;
    height: auto !important;
}

/* Tablet */
@media (max-width: 1100px) {
    #partners .logo-box {
        height: 85px !important;
        min-height: 85px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #partners .logo-box {
        height: 75px !important;
        min-height: 75px !important;
    }

    #partners .logo-box img {
        max-height: 38px !important;
    }
}


/* Partners — logo frame with 10px padding */
#partners .logo-track {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
}

#partners .logo-box {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    flex: 0 0 auto !important;
}

#partners .logo-box img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: 42px !important;
    display: block !important;
}


/* Partners — distribute compact logo cells across full width */
#partners .logo-track {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    align-content: flex-start !important;
    width: 100% !important;
    gap: 0 !important;
}

#partners .logo-box {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
}


/* Partners — exactly 12 cells per row */
#partners .logo-track {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0 !important;
}

#partners .logo-box {
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

#partners .logo-box img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 50px !important;
    object-fit: contain !important;
}

/* Tablet */
@media (max-width: 1100px) {
    #partners .logo-track {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #partners .logo-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* Partners grid — horizontally centered */
#partners .logo-marquee {
    width: 94% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#partners .logo-track {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Partners — restore left outer border */
#partners .logo-box:nth-child(12n + 1) {
    border-left: 1px solid rgba(17, 17, 17, .16) !important;
}


/* Header Concept logo */
header .brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    flex: 0 0 30px;
}

header .brand {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* Footer Concept logo */
footer .brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

footer .brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    flex: 0 0 30px;
}



/* ==================================================
   RESPONSIVE REFINEMENT
   Tablet / small desktop
   ================================================== */

/* 801–1199px:
   prevent fixed-width service descriptions from overflowing */
@media (min-width: 801px) and (max-width: 1199px) {

    #services .service-list {
        margin-left: 12% !important;
        width: 88% !important;
    }

    #services .service {
        grid-template-columns: 42px minmax(210px, .9fr) minmax(0, 1.1fr) !important;
        column-gap: 32px !important;
    }

    #services .service p {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }
}


/* 801–1000px:
   give services more usable horizontal space */
@media (min-width: 801px) and (max-width: 1000px) {

    #services .service-list {
        margin-left: 0 !important;
        width: 100% !important;
    }

    #services .service {
        grid-template-columns: 42px minmax(190px, .85fr) minmax(0, 1.15fr) !important;
        column-gap: 26px !important;
    }

    #services .service h3 {
        font-size: 28px;
    }
}


/* Mobile:
   make long text and grid items intrinsically shrinkable */
@media (max-width: 800px) {

    #services .service {
        grid-template-columns: 35px minmax(0, 1fr) !important;
    }

    #services .service h3,
    #services .service p {
        min-width: 0;
        overflow-wrap: break-word;
    }

    #services .service p {
        width: auto !important;
        max-width: none !important;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .section-head {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* Very small phones */
@media (max-width: 420px) {

    section:not(.hero) {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-bottom p {
        max-width: 82%;
    }

    #services .service {
        grid-template-columns: 30px minmax(0, 1fr) !important;
        column-gap: 8px;
    }

    #services .service h3 {
        font-size: 27px;
    }
}


/* ==================================================
   RESPONSIVE FIX — 1200–1439px
   Laptop / compact desktop
   ================================================== */

@media (min-width: 1200px) and (max-width: 1439px) {

    /* Header must never exceed viewport */
    header {
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding-left: 3.2vw !important;
        padding-right: 3.2vw !important;
        box-sizing: border-box !important;
    }

    header nav {
        min-width: 0 !important;
    }

    /* Services */
    #services .service-list {
        margin-left: 20% !important;
        width: 80% !important;
    }

    #services .service {
        grid-template-columns:
            45px
            minmax(190px, .85fr)
            minmax(0, 1.15fr) !important;
        column-gap: 35px !important;
    }

    #services .service p {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }
}

/* About — compact desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
    .principles {
        margin-top: 20px;
        border-top: 1px solid #bbb;
    }
}

/* Services — compact laptop layout */
@media (min-width: 1200px) and (max-width: 1439px) {

    #services {
        padding-top: 55px !important;
        padding-bottom: 45px !important;
    }

    #services .service-title {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    #services .service {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    #services .service p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.45 !important;
    }
}

/* Services — vertical position correction for compact desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
    #services {
        padding-top: 85px !important;
        padding-bottom: 25px !important;
    }
}

/* ==================================================
   SERVICES — 1024px compact landscape
   1001–1199px only
   ================================================== */

@media (min-width: 1001px) and (max-width: 1199px) {

    #services {
        padding-top: 55px !important;
        padding-bottom: 30px !important;
    }

    #services .service-title {
        margin: 0 0 18px !important;
        align-items: center !important;
    }

    #services .service-list {
        margin-left: 10% !important;
        width: 90% !important;
    }

    #services .service {
        grid-template-columns:
            38px
            minmax(190px, .9fr)
            minmax(0, 1.1fr) !important;

        column-gap: 24px !important;

        padding-top: 13px !important;
        padding-bottom: 13px !important;
    }

    #services .service span {
        font-size: 25px !important;
        line-height: 1.1 !important;
    }

    #services .service h3 {
        font-size: 25px !important;
        line-height: 1.08 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #services .service p {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        font-size: 13px !important;
        line-height: 1.4 !important;

        justify-self: stretch !important;
    }
}

/* Services — use full viewport height on 1024-class screens */
@media (min-width: 1001px) and (max-width: 1199px) and (min-height: 700px) {

    #services {
        min-height: calc(100svh - 68px) !important;
        padding-top: 55px !important;
        padding-bottom: 35px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #services .service-title {
        margin: 0 0 22px !important;
        flex: 0 0 auto !important;
    }

    #services .service-list {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    #services .service {
        flex: 1 1 0 !important;
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #services .service span,
    #services .service h3,
    #services .service p {
        align-self: center !important;
    }
}

/* Services — final vertical balance for 1024-class landscape */
@media (min-width: 1001px) and (max-width: 1199px) and (min-height: 700px) {

    #services {
        min-height: calc(100svh - 68px) !important;
        padding-top: 90px !important;
        padding-bottom: 20px !important;
    }

    #services .service-title {
        margin-bottom: 25px !important;
    }

    #services .service-list {
        flex: 1 1 auto !important;
    }
}


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

.menu-toggle {
    display: none;
}

@media (max-width: 800px) {

    header {
        height: 68px !important;
        padding: 0 20px !important;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        width: 38px;
        height: 38px;
        padding: 8px;
        margin: 0;
        margin-left: auto;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 1.5px;
        background: #fff;
        transition: transform .3s ease, opacity .3s ease;
        transform-origin: center;
    }

    header nav {
        display: flex !important;
        position: fixed;
        z-index: 1001;
        inset: 68px 0 auto 0;
        width: 100%;
        padding: 28px 20px 32px;
        background: #151515;
        border-top: 1px solid rgba(255,255,255,.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;
    }

    header.menu-open nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    header nav a {
        display: block;
        width: 100%;
        padding: 13px 0;
        font-size: 17px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    header.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* Hero typography */
    .hero h1 {
        font-size: clamp(54px, 13.5vw, 104px) !important;
        line-height: .88 !important;
    }

    .hero h1 .outline {
        margin-left: 0 !important;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: clamp(48px, 14vw, 60px) !important;
    }
}

/* Services — tablet/mobile spacing */
@media (max-width: 800px) {

    #services .service-title h2 {
        font-size: clamp(48px, 10.5vw, 78px) !important;
        line-height: .95 !important;
        white-space: nowrap !important;
    }

    #services .service {
        grid-template-columns: 46px minmax(0, 1fr) !important;
        column-gap: 16px !important;
    }

    #services .service span {
        grid-column: 1 !important;
        padding-right: 0 !important;
    }

    #services .service h3 {
        grid-column: 2 !important;
        margin-left: 0 !important;
    }

    #services .service p {
        grid-column: 2 !important;
        margin-left: 0 !important;
    }
}

/* Services — reduce top gap on tablet/mobile */
@media (max-width: 800px) {
    #services {
        padding-top: 45px !important;
    }
}

/* About title — tablet/mobile */
@media (max-width: 800px) {
    #about h2 {
        font-size: clamp(48px, 10.5vw, 78px) !important;
        line-height: .95 !important;
    }
}

/* ==================================================
   SMALL MOBILE — 360px overflow fix
   ================================================== */

@media (max-width: 380px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    header {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    header nav {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    #about .principles,
    #about .principle {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    section:not(.hero) {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Archive CONCEPT — mobile 20% smaller */
@media (max-width: 800px) {
    .bigtype {
        font-size: 16vw !important;
    }

    .bigtype span {
        font-size: 1.6vw !important;
    }
}
