/* =========================================================
   TARAFI HOME V3
========================================================= */

:root {
    --navy: #0F172A;
    --blue: #2563EB;
    --light-blue: #60A5FA;
    --soft-grey: #E2E8F0;
    --white: #FFFFFF;

    --surface: #111C32;
    --surface-2: #152039;
    --border: #22304A;

    --muted: #94A3B8;
    --muted-dark: #64748B;

    --container: 1280px;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;

    background: var(--navy);

    color: var(--white);

    overflow-x: hidden;
}

a {
    color: inherit;
}

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

button,
input,
select,
textarea {
    font: inherit;
}


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

main {
    width: 92%;
    max-width: var(--container);

    margin: auto;
}

.eyebrow {
    color: var(--light-blue);

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

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 23px;

    border-radius: 10px;

    text-decoration: none;

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

    transition: 0.25s ease;
}

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

    border: 1px solid transparent;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--light-blue)
        );
}

.button-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(37, 99, 235, 0.28);
}

.inline-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--white);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.inline-link:hover {
    color: var(--light-blue);
}


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

.site-header {
    width: 100%;

    position: relative;

    z-index: 50;
}

.nav-container {
    width: 92%;
    max-width: var(--container);

    min-height: 92px;

    margin: auto;

    display: grid;

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

    align-items: center;

    gap: 30px;
}

.brand {
    justify-self: start;

    color: var(--white);

    text-decoration: none;

    font-size: 31px;
    font-weight: 800;

    letter-spacing: -1.5px;
}

.brand span,
.footer-logo span {
    color: var(--light-blue);
}

.nav-menu {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}

.nav-menu a {
    position: relative;

    color: #CBD5E1;

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;
}

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

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background: var(--light-blue);

    transition: 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-button {
    justify-self: end;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 11px 17px;

    color: var(--white);

    text-decoration: none;

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

    background:
        rgba(37, 99, 235, 0.12);

    border:
        1px solid
        rgba(96, 165, 250, 0.22);

    border-radius: 10px;

    transition: 0.25s ease;
}

.nav-button:hover {
    background: var(--blue);

    border-color: var(--blue);
}


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

.hero {
    padding: 55px 0 0;
}

.hero-main {
    min-height: 640px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;
}

.hero-copy {
    position: relative;

    z-index: 10;
}

.availability {
    width: fit-content;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 35px;

    padding: 8px 13px;

    color: #CBD5E1;

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

    border-radius: 999px;

    font-size: 10px;
    font-weight: 600;
}

.availability-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--light-blue);

    box-shadow:
        0 0 14px
        rgba(96, 165, 250, 0.9);
}

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

.hero h1 {
    max-width: 760px;

    margin-bottom: 29px;

    color: var(--white);

    font-size:
        clamp(
            58px,
            5.8vw,
            90px
        );

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -4.7px;
}

.hero h1 span {
    display: block;

    color: var(--light-blue);
}

.hero-description {
    max-width: 620px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.85;
}

.hero-actions {
    display: flex;

    align-items: center;

    gap: 28px;
}

.text-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--white);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.text-button:hover {
    color: var(--light-blue);
}


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

.hero-visual {
    min-height: 580px;

    position: relative;
}

.hero-panel {
    position: absolute;

    width: 88%;
    height: 510px;

    top: 20px;
    right: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(96, 165, 250, 0.20);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.25),
            rgba(17, 28, 50, 0.97) 48%,
            rgba(10, 18, 34, 1)
        );

    box-shadow:
        0 35px 80px
        rgba(0, 0, 0, 0.25);
}

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

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        );

    background-size:
        36px 36px;
}

.hero-panel-top {
    position: relative;

    z-index: 4;

    display: flex;

    justify-content: space-between;

    padding: 26px 28px;

    color: var(--light-blue);

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

    letter-spacing: 1px;

    text-transform: uppercase;
}

.hero-panel-center {
    position: absolute;

    inset: 0;
}

.hero-panel-center h2 {
    position: absolute;

    left: -17px;
    bottom: 74px;

    z-index: 5;

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

    font-size:
        clamp(
            75px,
            7vw,
            118px
        );

    font-weight: 800;

    letter-spacing: -8px;
}

.panel-circle {
    position: absolute;

    width: 285px;
    height: 285px;

    top: 102px;
    right: -48px;

    border:
        1px solid
        rgba(96, 165, 250, 0.25);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(96, 165, 250, 0.38),
            rgba(37, 99, 235, 0.12) 45%,
            transparent 70%
        );
}

.panel-small {
    position: absolute;

    top: 150px;
    left: 40px;

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.panel-small-right {
    top: 195px;
    left: auto;
    right: 35px;

    color: var(--light-blue);
}

.hero-panel-bottom {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 25px;

    z-index: 8;

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* FLOATING */

.floating-card {
    position: absolute;

    z-index: 10;

    background:
        rgba(17, 28, 50, 0.94);

    border:
        1px solid
        rgba(96, 165, 250, 0.22);

    backdrop-filter: blur(14px);

    border-radius: 18px;

    box-shadow:
        0 22px 50px
        rgba(0, 0, 0, 0.24);
}

.floating-card-one {
    width: 188px;

    left: 0;
    bottom: 28px;

    padding: 21px;
}

.floating-number {
    display: block;

    margin-bottom: 40px;

    color: var(--light-blue);

    font-size: 11px;
    font-weight: 700;
}

.floating-card-one p {
    color: var(--white);

    font-size: 14px;

    line-height: 1.45;
}

.floating-card-two {
    width: 198px;

    top: 75px;
    right: -4px;

    padding: 19px;
}

.floating-card-two span {
    display: block;

    margin-bottom: 11px;

    color: var(--muted);

    font-size: 9px;
}

.floating-card-two strong {
    color: var(--white);

    font-size: 15px;
}


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

.hero-proof {
    margin-top: 32px;

    display: grid;

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

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

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

.proof-item {
    padding: 25px 22px;

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

.proof-item:last-child {
    border-right: none;
}

.proof-item span {
    display: block;

    margin-bottom: 8px;

    color: var(--muted-dark);

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

    letter-spacing: 1px;

    text-transform: uppercase;
}

.proof-item strong {
    color: var(--white);

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   SECTION COMMON
========================================================= */

.section-index {
    display: flex;

    align-items: center;

    gap: 14px;
}

.section-index span {
    color: var(--light-blue);

    font-size: 10px;
    font-weight: 700;
}

.section-index p {
    color: #CBD5E1;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.section-header {
    margin-bottom: 65px;
}

.section-header .section-index {
    margin-bottom: 44px;
}

.section-heading {
    display: grid;

    grid-template-columns:
        1fr
        0.55fr;

    gap: 60px;

    align-items: end;
}

.section-heading h2 {
    max-width: 850px;

    font-size:
        clamp(
            47px,
            4.7vw,
            69px
        );

    line-height: 1.04;

    letter-spacing: -3px;
}

.section-heading h2 span {
    display: block;

    color: var(--light-blue);
}

.section-heading > p {
    max-width: 440px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   WHO WE ARE
========================================================= */

.about-home {
    padding: 150px 0;
}

.about-home > .section-index {
    margin-bottom: 50px;
}

.about-home-main {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 85px;

    align-items: center;
}

.about-home-visual {
    min-height: 560px;

    position: relative;

    overflow: hidden;

    padding: 32px;

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

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #13213C,
            #0E1729
        );
}

.about-visual-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;
}

.about-visual-small {
    position: relative;

    z-index: 5;

    color: var(--light-blue);

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

    letter-spacing: 1px;

    text-transform: uppercase;
}

.about-symbol {
    position: absolute;

    top: 50%;
    left: 50%;

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

    color: var(--white);

    font-size: 260px;
    font-weight: 800;

    letter-spacing: -25px;
}

.about-home-visual > p {
    position: absolute;

    z-index: 5;

    left: 32px;
    bottom: 32px;

    max-width: 340px;

    color: #CBD5E1;

    font-size: 13px;

    line-height: 1.65;
}

.about-home-copy h2 {
    max-width: 700px;

    margin-bottom: 35px;

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

    line-height: 1.02;

    letter-spacing: -3.5px;
}

.about-home-copy h2 span {
    display: block;

    color: var(--light-blue);
}

.about-home-copy > p {
    max-width: 650px;

    margin-bottom: 20px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;
}

.about-home-copy .inline-link {
    margin-top: 20px;
}

.about-proof-grid {
    margin-top: 55px;

    display: grid;

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

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

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

.about-proof-grid div {
    padding: 23px 15px;

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

.about-proof-grid div:last-child {
    border-right: none;
}

.about-proof-grid strong {
    display: block;

    margin-bottom: 6px;

    color: var(--white);

    font-size: 13px;
}

.about-proof-grid span {
    color: var(--muted-dark);

    font-size: 9px;
}


/* =========================================================
   EXPERTISE
========================================================= */

.expertise {
    padding: 150px 0;
}

.expertise-grid {
    display: grid;

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

    gap: 18px;
}

.expertise-card {
    min-height: 510px;

    padding: 24px;

    display: flex;

    flex-direction: column;

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

    border-radius: 20px;

    background:
        var(--surface);

    transition:
        0.3s ease;
}

.expertise-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(96, 165, 250, 0.45);
}

.expertise-large {
    grid-column: span 2;
}

.expertise-top {
    display: flex;

    justify-content: space-between;

    color: var(--light-blue);

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

    text-transform: uppercase;

    letter-spacing: 1px;
}

.expertise-art {
    min-height: 230px;

    margin: 24px 0;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 14px;

    background:
        #0D1729;
}

.expertise-large .expertise-art {
    min-height: 260px;
}

.expertise-card h3 {
    margin-bottom: 11px;

    font-size: 25px;

    letter-spacing: -0.8px;
}

.expertise-card p {
    max-width: 430px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.expertise-card > a {
    margin-top: auto;
    padding-top: 20px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--white);

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}


/* service artwork */

.strategy-art {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(96, 165, 250, 0.25),
            #0C1729 58%
        );
}

.strategy-art strong {
    position: relative;

    z-index: 3;

    font-size: 54px;

    letter-spacing: -4px;
}

.strategy-orbit {
    position: absolute;

    width: 200px;
    height: 200px;

    border:
        1px solid
        rgba(96, 165, 250, 0.28);

    border-radius: 50%;
}

.strategy-line {
    position: absolute;

    width: 80%;

    height: 1px;

    background:
        var(--blue);

    transform: rotate(-18deg);
}

.social-art {
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.30),
            #0C1729
        );
}

.social-art strong {
    font-size: 48px;

    letter-spacing: -3px;
}

.social-art span {
    margin-top: 15px;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.brand-art {
    gap: 6px;
}

.brand-art span {
    font-size: 80px;
    font-weight: 800;

    color: var(--blue);
}

.brand-art span:nth-child(2) {
    color: var(--light-blue);

    transform:
        translateY(-12px);
}

.brand-art span:nth-child(3) {
    color: rgba(255,255,255,0.8);
}

.web-art {
    gap: 20px;

    color: var(--light-blue);

    font-size: 62px;
}

.web-art strong {
    color: var(--white);
}

.media-art {
    gap: 12px;
}

.media-art div {
    width: 22%;

    border-radius: 9px;

    background:
        linear-gradient(
            var(--blue),
            #17233C
        );
}

.media-art div:nth-child(1) {
    height: 90px;
}

.media-art div:nth-child(2) {
    height: 160px;
}

.media-art div:nth-child(3) {
    height: 115px;
}

.personal-art {
    flex-direction: column;

    gap: 15px;
}

.personal-circle {
    width: 115px;
    height: 115px;

    border:
        1px solid
        var(--light-blue);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 40% 30%,
            rgba(96, 165, 250, 0.35),
            transparent
        );
}

.personal-art span {
    color: var(--light-blue);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   WHY
========================================================= */

.why {
    padding: 150px 0;
}

.why > .section-index {
    margin-bottom: 55px;
}

.why-layout {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 95px;

    align-items: start;
}

.why-heading {
    position: sticky;

    top: 60px;
}

.why-heading h2 {
    max-width: 600px;

    margin-bottom: 28px;

    font-size:
        clamp(
            49px,
            4.8vw,
            70px
        );

    line-height: 1.03;

    letter-spacing: -3.5px;
}

.why-heading h2 span {
    display: block;

    color: var(--light-blue);
}

.why-heading p {
    max-width: 480px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}

.why-list {
    border-top:
        1px solid
        var(--border);
}

.why-item {
    min-height: 150px;

    display: grid;

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

    gap: 25px;

    align-items: center;

    padding: 28px 0;

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

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.why-item:hover {
    padding-left: 12px;

    background:
        linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.07),
            transparent
        );
}

.why-number {
    color: var(--light-blue);

    font-size: 10px;
    font-weight: 700;
}

.why-item h3 {
    margin-bottom: 9px;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.why-item p {
    max-width: 520px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.why-arrow {
    color: var(--light-blue);

    font-size: 19px;
}


/* =========================================================
   WORK
========================================================= */

.work {
    padding: 150px 0;
}

.work-grid {
    display: grid;

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

    gap: 24px;
}

.work-card-large {
    grid-column: span 2;
}

.work-visual {
    min-height: 440px;

    position: relative;

    overflow: hidden;

    padding: 28px;

    border-radius: 22px;

    border:
        1px solid
        var(--border);
}

.work-card-large .work-visual {
    min-height: 570px;
}

.work-top {
    position: relative;

    z-index: 5;

    display: flex;

    justify-content: space-between;

    color: #CBD5E1;

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

    letter-spacing: 1px;

    text-transform: uppercase;
}

.work-brand {
    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(96,165,250,0.30),
            rgba(37,99,235,0.09) 34%,
            #111B30 72%
        );
}

.work-brand-mark {
    position: absolute;

    left: 50%;
    top: 50%;

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

    font-size: 290px;
    font-weight: 800;

    letter-spacing: -25px;
}

.work-tags {
    position: absolute;

    bottom: 28px;
    left: 28px;

    display: flex;

    gap: 8px;
}

.work-tags span {
    padding: 8px 11px;

    color: #CBD5E1;

    background:
        rgba(15,23,42,0.70);

    border:
        1px solid
        rgba(96,165,250,0.18);

    border-radius: 999px;

    font-size: 9px;
}

.work-publicity {
    background:
        linear-gradient(
            145deg,
            #1F59CE,
            #101A2F 72%
        );
}

.work-publicity h4 {
    position: absolute;

    z-index: 5;

    left: 30px;
    bottom: 32px;

    font-size: 62px;

    line-height: 0.9;

    letter-spacing: -4px;
}

.publicity-circle {
    position: absolute;

    width: 320px;
    height: 320px;

    right: -70px;
    top: 75px;

    border:
        1px solid
        rgba(255,255,255,0.25);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,255,255,0.18),
            transparent 65%
        );
}

.work-platform {
    background:
        linear-gradient(
            145deg,
            #15213A,
            #0B1425
        );
}

.browser-frame {
    position: absolute;

    left: 50%;
    top: 55%;

    width: 77%;
    height: 270px;

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

    overflow: hidden;

    border:
        1px solid
        rgba(96,165,250,0.25);

    border-radius: 15px;

    background:
        #0F172A;
}

.browser-top {
    height: 35px;

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 0 12px;

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

.browser-top span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--muted-dark);
}

.browser-content {
    height:
        calc(100% - 35px);

    display: grid;

    grid-template-columns:
        1fr
        0.8fr;

    gap: 18px;

    padding: 20px;
}

.browser-content > div:first-child {
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            var(--blue),
            #17243D
        );
}

.browser-content > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.browser-content > div:last-child span {
    flex: 1;

    border-radius: 7px;

    background:
        #18243C;
}

.work-caption {
    display: flex;

    justify-content: space-between;

    gap: 25px;

    padding: 22px 5px 5px;
}

.work-caption > div > span {
    display: block;

    margin-bottom: 8px;

    color: var(--light-blue);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.work-caption h3 {
    max-width: 560px;

    font-size: 21px;

    line-height: 1.3;

    letter-spacing: -0.5px;
}

.work-arrow {
    color: var(--light-blue);

    font-size: 20px;
}

.concept-note {
    margin-top: 32px;

    color: var(--muted-dark);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    padding: 150px 0;
}

.process > .section-index {
    margin-bottom: 50px;
}

.process-heading {
    display: grid;

    grid-template-columns:
        1fr
        0.5fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 70px;
}

.process-heading h2 {
    max-width: 780px;

    font-size:
        clamp(
            49px,
            4.8vw,
            70px
        );

    line-height: 1.03;

    letter-spacing: -3.4px;
}

.process-heading h2 span {
    color: var(--light-blue);
}

.process-heading p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.process-grid {
    display: grid;

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

    gap: 0;
}

.process-item {
    padding-right: 28px;
}

.process-line {
    display: flex;

    align-items: center;

    margin-bottom: 55px;
}

.process-line span {
    width: 34px;
    height: 34px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--light-blue);

    background:
        rgba(37,99,235,0.12);

    border:
        1px solid
        rgba(96,165,250,0.25);

    border-radius: 50%;

    font-size: 9px;
    font-weight: 700;
}

.process-line i {
    width: 100%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--border)
        );
}

.process-item h3 {
    margin-bottom: 12px;

    font-size: 23px;
}

.process-item p {
    max-width: 235px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   TEAM
========================================================= */

.team {
    padding: 150px 0;
}

.team-grid {
    display: grid;

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

    gap: 22px;
}

.team-photo {
    height: 510px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

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

    border-radius: 22px;
}

.team-photo-one {
    background:
        radial-gradient(
            circle at 40% 30%,
            rgba(96,165,250,0.25),
            #111C32 60%
        );
}

.team-photo-two {
    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(37,99,235,0.30),
            #101A30 63%
        );
}

.team-photo > span {
    font-size: 160px;
    font-weight: 800;

    letter-spacing: -12px;
}

.team-photo-label {
    position: absolute;

    left: 22px;
    bottom: 22px;

    padding: 8px 11px;

    color: #CBD5E1;

    background:
        rgba(15,23,42,0.7);

    border:
        1px solid
        rgba(96,165,250,0.20);

    border-radius: 999px;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.team-info {
    display: flex;

    justify-content: space-between;

    padding: 20px 4px;
}

.team-info h3 {
    margin-bottom: 4px;

    font-size: 20px;
}

.team-info p {
    color: var(--muted);

    font-size: 11px;
}

.team-info > span {
    color: var(--light-blue);

    font-size: 18px;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    padding: 150px 0;

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 100px;

    align-items: start;
}

.faq-heading {
    position: sticky;

    top: 60px;
}

.faq-heading .section-index {
    margin-bottom: 45px;
}

.faq-heading h2 {
    max-width: 550px;

    margin-bottom: 25px;

    font-size:
        clamp(
            48px,
            4.6vw,
            67px
        );

    line-height: 1.03;

    letter-spacing: -3px;
}

.faq-heading h2 span {
    display: block;

    color: var(--light-blue);
}

.faq-heading > p {
    max-width: 420px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.faq-list {
    border-top:
        1px solid
        var(--border);
}

.faq-list details {
    border-bottom:
        1px solid
        var(--border);
}

.faq-list summary {
    min-height: 92px;

    display: flex;

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

    gap: 20px;

    list-style: none;

    cursor: pointer;

    color: var(--white);

    font-size: 16px;
    font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary i {
    color: var(--light-blue);

    font-size: 21px;

    font-style: normal;

    transition:
        transform 0.25s ease;
}

.faq-list details[open] summary i {
    transform:
        rotate(45deg);
}

.faq-list details p {
    max-width: 630px;

    padding:
        0
        40px
        28px
        0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.75;
}


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

.home-contact {
    margin: 100px 0 130px;

    padding: 65px;

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 85px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #14213A,
            #0D1728
        );

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

    border-radius: 26px;
}

.home-contact::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -200px;
    top: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,0.24),
            transparent 70%
        );
}

.contact-intro,
.home-contact-form {
    position: relative;

    z-index: 3;
}

.contact-intro .eyebrow {
    margin-bottom: 25px;
}

.contact-intro h2 {
    max-width: 600px;

    margin-bottom: 27px;

    font-size:
        clamp(
            48px,
            4.8vw,
            68px
        );

    line-height: 1.03;

    letter-spacing: -3px;
}

.contact-intro h2 span {
    display: block;

    color: var(--light-blue);
}

.contact-intro > p:not(.eyebrow) {
    max-width: 500px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.contact-details {
    margin-top: 55px;

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

.contact-details > div {
    padding: 18px 0;

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

.contact-details span {
    display: block;

    margin-bottom: 6px;

    color: var(--muted-dark);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-details a,
.contact-details p {
    color: var(--white);

    text-decoration: none;

    font-size: 13px;
}

.home-contact-form {
    padding: 35px;

    background:
        rgba(15,23,42,0.65);

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

    border-radius: 19px;
}

.form-row {
    display: grid;

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

    gap: 15px;
}

.form-field {
    margin-bottom: 19px;
}

.form-field label {
    display: block;

    margin-bottom: 9px;

    color: #CBD5E1;

    font-size: 10px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 14px 15px;

    color: var(--white);

    outline: none;

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

    border-radius: 9px;

    background:
        #0D1728;

    font-size: 12px;

    transition:
        border-color 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color:
        var(--light-blue);
}

.form-field textarea {
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #536078;
}

.form-button {
    width: 100%;

    border: none;

    cursor: pointer;
}

.form-note {
    margin-top: 14px;

    color: var(--muted-dark);

    font-size: 9px;

    line-height: 1.5;
}


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

.footer {
    width: 92%;
    max-width: var(--container);

    margin: auto;

    padding:
        70px 0
        28px;

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

.footer-main {
    display: grid;

    grid-template-columns:
        1.5fr
        0.6fr
        0.85fr
        0.9fr;

    gap: 60px;

    padding-bottom: 75px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 30px;

    color: var(--white);

    text-decoration: none;

    font-size: 32px;
    font-weight: 800;

    letter-spacing: -1.5px;
}

.footer-brand h2 {
    max-width: 390px;

    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}

.footer-label {
    margin-bottom: 10px;

    color: var(--muted-dark);

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

    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: #CBD5E1;

    text-decoration: none;

    font-size: 12px;

    line-height: 1.5;
}

.footer-column a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    min-height: 60px;

    display: grid;

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

    align-items: center;

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

    color: var(--muted-dark);

    font-size: 9px;
}

.footer-bottom > div {
    display: flex;

    gap: 20px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.footer-bottom > p:last-child {
    justify-self: end;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-container {
        grid-template-columns:
            auto
            1fr;
    }

    .nav-menu {
        justify-self: end;
    }

    .nav-button {
        display: none;
    }


    .hero-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-visual {
        min-height: 570px;
    }

    .hero-proof {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .proof-item:nth-child(2) {
        border-right: none;
    }


    .section-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .about-home-main {
        grid-template-columns: 1fr;

        gap: 50px;
    }


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

    .expertise-large {
        grid-column: span 2;
    }


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

        gap: 50px;
    }

    .why-heading {
        position: static;
    }


    .process-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

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

        gap: 55px 0;
    }


    .faq {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .faq-heading {
        position: static;
    }


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

        gap: 55px;
    }


    .footer-main {
        grid-template-columns:
            1.3fr
            1fr
            1fr;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }
}


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

@media (max-width: 650px) {

    main,
    .nav-container,
    .footer {
        width: 92%;
    }


    /* NAV */

    .nav-container {
        min-height: auto;

        padding: 22px 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;
    }

    .nav-menu {
        width: 100%;

        gap: 15px;

        flex-wrap: wrap;
    }

    .nav-menu a {
        font-size: 11px;
    }


    /* HERO */

    .hero {
        padding-top: 55px;
    }

    .hero-main {
        min-height: auto;
    }

    .hero h1 {
        font-size: 48px;

        line-height: 0.98;

        letter-spacing: -2.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-visual {
        min-height: 465px;
    }

    .hero-panel {
        width: 100%;
        height: 400px;
    }

    .hero-panel-center h2 {
        font-size: 68px;

        letter-spacing: -5px;
    }

    .panel-circle {
        width: 220px;
        height: 220px;

        right: -70px;
    }

    .floating-card-one {
        width: 150px;

        padding: 17px;
    }

    .floating-card-two {
        width: 165px;

        padding: 16px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .proof-item {
        border-right: none;

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

    .proof-item:last-child {
        border-bottom: none;
    }


    /* SPACING */

    .about-home,
    .expertise,
    .why,
    .work,
    .process,
    .team,
    .faq {
        padding: 95px 0;
    }


    /* HEADINGS */

    .section-heading h2,
    .about-home-copy h2,
    .why-heading h2,
    .process-heading h2,
    .faq-heading h2,
    .contact-intro h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    /* ABOUT */

    .about-home-visual {
        min-height: 420px;
    }

    .about-symbol {
        font-size: 190px;
    }

    .about-proof-grid {
        grid-template-columns: 1fr;
    }

    .about-proof-grid div {
        border-right: none;

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

    .about-proof-grid div:last-child {
        border-bottom: none;
    }


    /* EXPERTISE */

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

    .expertise-large {
        grid-column: span 1;
    }

    .expertise-card {
        min-height: auto;
    }

    .expertise-art,
    .expertise-large .expertise-art {
        min-height: 220px;
    }


    /* WHY */

    .why-item {
        grid-template-columns:
            38px
            1fr;

        gap: 15px;
    }

    .why-arrow {
        display: none;
    }


    /* WORK */

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

    .work-card-large {
        grid-column: span 1;
    }

    .work-card-large .work-visual,
    .work-visual {
        min-height: 390px;
    }

    .work-brand-mark {
        font-size: 180px;
    }

    .work-publicity h4 {
        font-size: 48px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    /* TEAM */

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

    .team-photo {
        height: 410px;
    }


    /* FAQ */

    .faq-list summary {
        min-height: 80px;

        font-size: 14px;
    }


    /* CONTACT */

    .home-contact {
        margin-top: 60px;

        padding: 35px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .home-contact-form {
        padding: 22px;
    }


    /* FOOTER */

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

        gap: 38px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 22px 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .footer-bottom > div {
        flex-wrap: wrap;
    }

    .footer-bottom > p:last-child {
        justify-self: auto;
    }
}
/* =========================================================
   TARAFI V3 — LAYOUT CORRECTION OVERRIDES
   Purpose: remove oversized gaps, balance all 6 services,
   tighten sections, and create a cleaner agency rhythm.
========================================================= */

/* tighter global rhythm */
.about-home,
.expertise,
.why,
.work,
.process,
.team,
.faq {
    padding: 105px 0;
}

.section-header {
    margin-bottom: 46px;
}

.section-header .section-index,
.about-home > .section-index,
.why > .section-index,
.process > .section-index,
.faq-heading .section-index {
    margin-bottom: 30px;
}

.section-heading {
    gap: 40px;
}

/* hero: slightly denser */
.hero {
    padding-top: 28px;
}

.hero-main {
    min-height: 575px;
    gap: 54px;
}

.hero-visual {
    min-height: 520px;
}

.hero-panel {
    height: 465px;
}

.hero-proof {
    margin-top: 18px;
}

/* WHO WE ARE: reduce oversized visual */
.about-home-main {
    gap: 60px;
}

.about-home-visual {
    min-height: 430px;
}

.about-symbol {
    font-size: 210px;
}

.about-home-copy h2 {
    margin-bottom: 26px;
}

.about-proof-grid {
    margin-top: 38px;
}

/* EXPERTISE: six balanced cards, 2 x 3 */
.expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.expertise-large {
    grid-column: span 1;
}

.expertise-card,
.expertise-large {
    min-height: 405px;
    padding: 20px;
}

.expertise-art,
.expertise-large .expertise-art {
    min-height: 185px;
    margin: 18px 0 20px;
}

.expertise-card h3 {
    font-size: 23px;
}

.expertise-card p {
    font-size: 12px;
}

.strategy-art strong {
    font-size: 44px;
}

.social-art strong {
    font-size: 40px;
}

.brand-art span {
    font-size: 64px;
}

.web-art {
    font-size: 50px;
}

.personal-circle {
    width: 96px;
    height: 96px;
}

/* WHY */
.why-layout {
    gap: 70px;
}

.why-item {
    min-height: 122px;
    padding: 20px 0;
}

/* WORK: tighter and more proportional */
.work-grid {
    gap: 18px;
}

.work-visual {
    min-height: 350px;
}

.work-card-large .work-visual {
    min-height: 450px;
}

.work-brand-mark {
    font-size: 230px;
}

.work-publicity h4 {
    font-size: 52px;
}

.browser-frame {
    height: 220px;
}

.work-caption {
    padding-top: 16px;
}

.concept-note {
    margin-top: 20px;
}

/* PROCESS */
.process-heading {
    margin-bottom: 48px;
    gap: 40px;
}

.process-line {
    margin-bottom: 34px;
}

.process-item {
    padding-right: 18px;
}

/* TEAM */
.team-photo {
    height: 365px;
}

.team-photo > span {
    font-size: 120px;
}

.team-info {
    padding-top: 14px;
}

/* FAQ */
.faq {
    gap: 72px;
}

.faq-list summary {
    min-height: 78px;
}

/* CONTACT */
.home-contact {
    margin: 70px 0 90px;
    padding: 48px;
    gap: 60px;
}

.contact-details {
    margin-top: 38px;
}

.home-contact-form {
    padding: 28px;
}

/* FOOTER */
.footer {
    padding-top: 52px;
}

.footer-main {
    gap: 42px;
    padding-bottom: 52px;
}

/* TABLET */
@media (max-width: 1000px) {
    .about-home,
    .expertise,
    .why,
    .work,
    .process,
    .team,
    .faq {
        padding: 85px 0;
    }

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

    .expertise-large {
        grid-column: span 1;
    }

    .team-photo {
        height: 330px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .about-home,
    .expertise,
    .why,
    .work,
    .process,
    .team,
    .faq {
        padding: 72px 0;
    }

    .hero {
        padding-top: 30px;
    }

    .hero-main {
        min-height: auto;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-panel {
        height: 370px;
    }

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

    .expertise-card,
    .expertise-large {
        min-height: auto;
    }

    .work-card-large .work-visual,
    .work-visual {
        min-height: 330px;
    }

    .team-photo {
        height: 330px;
    }

    .home-contact {
        margin: 50px 0 70px;
        padding: 28px 20px;
    }
}

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

.galaxy-hero {
    padding-top: 55px;
}

.galaxy-hero .hero-main {
    min-height: 650px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   GALAXY VISUAL
========================================================= */

.galaxy-visual {
    min-height: 580px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* glow */

.galaxy-glow {
    position: absolute;

    width: 470px;
    height: 470px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.32) 0%,
            rgba(96, 165, 250, 0.12) 34%,
            rgba(15, 23, 42, 0) 72%
        );

    filter: blur(16px);
}


/* grid */

.galaxy-grid {
    position: absolute;

    width: 500px;
    height: 500px;

    background-image:
        linear-gradient(
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.05) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    border-radius: 50%;

    mask-image:
        radial-gradient(
            circle,
            black 35%,
            transparent 75%
        );

    -webkit-mask-image:
        radial-gradient(
            circle,
            black 35%,
            transparent 75%
        );
}


/* orbits */

.galaxy-orbit {
    position: absolute;

    border:
        1px solid
        rgba(96, 165, 250, 0.14);

    border-radius: 50%;
}

.orbit-a {
    width: 260px;
    height: 260px;
}

.orbit-b {
    width: 370px;
    height: 370px;
}

.orbit-c {
    width: 490px;
    height: 490px;
}


/* center */

.galaxy-center {
    position: relative;

    z-index: 5;

    width: 210px;
    height: 210px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(96, 165, 250, 0.22),
            rgba(17, 28, 50, 0.96)
        );

    border:
        1px solid
        rgba(96, 165, 250, 0.30);

    box-shadow:
        0 0 70px
        rgba(37, 99, 235, 0.18);

    backdrop-filter: blur(14px);
}

.galaxy-label {
    margin-bottom: 10px;

    color: var(--light-blue);

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

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.galaxy-center h2 {
    margin-bottom: 10px;

    color: var(--white);

    font-size: 34px;

    letter-spacing: -1px;
}

.galaxy-center p {
    max-width: 140px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;
}


/* nodes */

.galaxy-node {
    position: absolute;

    z-index: 7;

    padding: 9px 15px;

    border-radius: 999px;

    background:
        rgba(17, 28, 50, 0.92);

    border:
        1px solid
        rgba(96, 165, 250, 0.20);

    color: #CBD5E1;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.3px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.18);

    transition: 0.25s ease;
}

.galaxy-node:hover {
    transform: translateY(-4px);

    color: var(--white);

    border-color: var(--light-blue);
}


/* positions */

.node-strategy {
    top: 48px;

    left: 50%;

    transform:
        translateX(-50%);
}

.node-branding {
    top: 150px;

    left: 20px;
}

.node-media {
    top: 150px;

    right: 20px;
}

.node-web {
    bottom: 110px;

    left: 30px;
}

.node-growth {
    bottom: 110px;

    right: 30px;
}

.node-tech {
    bottom: 30px;

    left: 50%;

    transform:
        translateX(-50%);
}


/* stars */

.galaxy-star {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--light-blue);

    box-shadow:
        0 0 14px
        rgba(96, 165, 250, 0.9);
}

.star-1 {
    top: 95px;
    right: 85px;
}

.star-2 {
    top: 220px;
    left: 55px;
}

.star-3 {
    bottom: 165px;
    right: 75px;
}

.star-4 {
    bottom: 75px;
    left: 110px;
}


/* subtle animation */

@keyframes galaxyFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.galaxy-center {
    animation:
        galaxyFloat
        6s ease-in-out
        infinite;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .galaxy-hero .hero-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .galaxy-visual {
        min-height: 520px;
    }
}


@media (max-width: 650px) {

    .galaxy-visual {
        min-height: 430px;
    }

    .galaxy-glow,
    .galaxy-grid {
        width: 350px;
        height: 350px;
    }

    .orbit-a {
        width: 210px;
        height: 210px;
    }

    .orbit-b {
        width: 285px;
        height: 285px;
    }

    .orbit-c {
        width: 360px;
        height: 360px;
    }

    .galaxy-center {
        width: 165px;
        height: 165px;
    }

    .galaxy-center h2 {
        font-size: 27px;
    }

    .galaxy-node {
        padding:
            7px
            10px;

        font-size: 8px;
    }

    .node-branding {
        left: 0;
    }

    .node-media {
        right: 0;
    }

    .node-web {
        left: 6px;
    }

    .node-growth {
        right: 6px;
    }
}