
/* =========================================
   MD FIRMANSYAH
   PERSONAL WEBSITE — MASTER STYLES
   ========================================= */

/* 01. DESIGN TOKENS */
:root {
    --black: #090909;
    --charcoal: #171717;
    --white: #F5F5F5;
    --grey: #A8A8A8;
    --accent: #BE9B6C;

    --page-padding: 6%;
    --nav-height: 88px;
}

/* 02. RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* 03. NAVIGATOR */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    min-height: var(--nav-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    padding: 18px var(--page-padding);

    background: rgba(9, 9, 9, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Signature */
.signature {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.signature img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

/* Navigation links */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.5vw, 36px);
}

.main-nav a {
    position: relative;
    padding: 8px 0;

    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent);
}


/* HERO */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: calc(var(--nav-height) + 50px)
             var(--page-padding) 70px;

    overflow: hidden;
    background-color: var(--charcoal);
    color: var(--white);
}

/* HERO BACKGROUND IMAGE */

.hero-background {
    position: absolute;
    z-index: -2;

    top: -5%;
    left: 0;
    width: 100%;
    height: 110%;

    background-image: url("../images/hero image.webp");
    background-position: center 15%;
    background-size: cover;
    background-repeat: no-repeat;

    will-change: transform;
}


/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(9, 9, 9, 0.78) 0%,
        rgba(9, 9, 9, 0.42) 52%,
        rgba(9, 9, 9, 0.12) 100%
    );

    pointer-events: none;
}

/* HERO TEXT */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.hero-content h1 {
    color: var(--white);

    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;

    margin-bottom: 30px;
}

.hero-subtitle {
    color: var(--accent);

    font-size: clamp(0.72rem, 1.4vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.28em;
    line-height: 1.8;
}

/* 05. EMPTY SECTIONS
   We will design each section separately. */
.about,
.work,
.explore,
.life,
.connect {
    position: relative;
    background: var(--black);
}

/* =========================================
   ABOUT — PERSONAL STATEMENT
========================================= */

.about {
    min-height: 75vh;
    padding: 120px var(--page-padding) 70px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--black);
    color: var(--white);
}

/* ABOUT INTRO */
.about-intro {
    max-width: 1100px;
    padding: 70px 0 55px;
}

.about-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    max-width: 1050px;
    margin-left: auto;
    padding-bottom: 80px;
}

.about-description p {
    color: var(--grey);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.9;
    max-width: 480px;
}


/* UNDOE CAPABILITIES */

.work-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 950px;
    margin-top: 55px;
}

.work-capability {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 15px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.capability-number {
    padding-top: 4px;
    color: var(--accent);
    font-size: 0.7rem;
}

.work-capability h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}

.work-capability p {
    max-width: 360px;
    color: var(--grey);
    font-size: 0.88rem;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .work-capabilities {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 40px;
    }
}


@media (max-width: 768px) {
    .about-intro {
        padding: 60px 0 35px;
    }

    .about-description {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-left: 0;
        padding-bottom: 55px;
    }
}



.about-label {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--grey);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-number {
    color: var(--accent);
}

.about-line {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--accent);
    opacity: 0.8;
}

.about-heading {
    color: var(--grey);
}


.about-content {
    max-width: 1100px;
    padding: 90px 0;
}

.about-content h2 {
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.about-statement {
    margin-top: 12px;

    color: var(--grey);
    font-size: clamp(1.8rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.accent {
    color: var(--accent);
}

.about-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;

    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);

    color: var(--grey);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

@media (max-width: 768px) {
    .about {
        min-height: 65vh;
        padding-top: 90px;
        padding-bottom: 36px;
    }

    .about-content {
        padding: 75px 0;
    }

    .about-bottom {
        gap: 12px 20px;
        font-size: 0.62rem;
    }
}


/* 06. FOOTER */
.site-footer {
    background: var(--black);
    color: var(--grey);
}

/* 07. TABLET AND MOBILE */
@media (max-width: 768px) {

    :root {
        --page-padding: 24px;
        --nav-height: 76px;
    }

    .site-header {
        gap: 18px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .signature img {
        width: 76px;
    }

    .main-nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    .main-nav a {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    
.hero {
    min-height: 85vh;
    min-height: 85svh;

    padding-top: calc(var(--nav-height) + 50px);
    padding-bottom: 48px;
}

.hero-background {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;

    background-image: url("../images/hero image.webp");
    background-position: 75% center;
    background-size: cover;
    background-repeat: no-repeat;

    will-change: auto;
}


    .hero-content h1 {
        font-size: clamp(3rem, 11vw, 5.5rem);
        letter-spacing: -0.04em;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        max-width: 300px;
        font-size: 0.7rem;
        letter-spacing: 0.16em;
    }
}

/* 08. SMALL MOBILE */
@media (max-width: 420px) {

    .site-header {
        align-items: flex-start;
        gap: 12px;
    }

    .signature img {
        width: 62px;
    }

    .main-nav {
        gap: 8px 12px;
        max-width: 260px;
    }

    .main-nav a {
        font-size: 0.57rem;
    }

    .hero-content h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }
}

/* ABOUT — TYPOGRAPHIC HIERARCHY */
.about-intro h2 {
    color: var(--white);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.about-statement {
    margin-top: 12px;
    color: var(--grey);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

@media (max-width: 768px) {
    .about-intro h2 {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .about-statement {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }
}

/* UNDOE SERVICE CARDS — RESTORED */

.work-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 950px;
    margin-top: 50px;
}

.work-capability {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid #414141;
    border-radius: 6px;
    background: #191919;
    transition: border-color 0.25s ease,
                background 0.25s ease;
}

.work-capability:hover {
    border-color: var(--accent);
    background: #202020;
}

.work-capability .capability-icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.work-capability h3 {
    margin: 0 0 9px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.work-capability p {
    margin: 0;
    color: #C0C0C0;
    font-size: 0.85rem;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .work-capabilities {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* UNDOE SECTION — LAYOUT FIX */

.work {
    width: 100%;
    padding: 0 6% 100px;
    background-color: #171717;
background-image: url("../images/Undoe Lab d.webp");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
    overflow: hidden;
}

.work-separator {
    width: 100%;
}

.work-intro {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 40px;
}

.work-description {
    max-width: 760px;
    width: 100%;
    line-height: 1.8;
}

/* SERVICE CARDS */

.work .work-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    width: 100%;
    max-width: 1100px;
    margin: 42px auto 0;
}

.work .work-capability {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 108px;

    padding: 16px;
    border: 1px solid #414141;
    border-radius: 6px;
    background: #191919;

    transition: border-color 0.25s ease,
                background 0.25s ease;
}

.work .work-capability:hover {
    border-color: var(--accent);
    background: #202020;
}

.work .work-capability .capability-icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-bottom: 12px;

    fill: none;
    stroke: var(--accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.work .work-capability h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

.work .work-capability p {
    width: 100%;
    max-width: none;
    margin: 0;

    color: #C0C0C0;
    font-size: 0.85rem;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
}

/* MOBILE */

@media (max-width: 600px) {
    .work {
        padding-right: 24px;
        padding-left: 24px;
    }

    .work-intro {
        padding-top: 60px;
    }

    .work .work-capabilities {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 32px;
    }

    .work .work-capability {
        min-height: auto;
        padding: 16px;
    }
}

/* UNDOE CTA — BUTTON STYLE */

.work .work-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    margin-top: 38px;
    padding: 15px 22px;

    border: 1px solid var(--accent);
    border-radius: 3px;
    background: var(--accent);

    color: #090909;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        gap 0.25s ease;
}

.work .work-link span {
    color: inherit;
    font-size: 1.1rem;
}

.work .work-link:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    gap: 32px;
}

.work .work-link:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

/* ALIGN UNDOE CTA TO THE RIGHT */

.work .work-link {
    display: flex;
    width: fit-content;
    margin-top: 18px;
    margin-left: auto;
}

/* UNDOE CTA — CENTERED */

.work .work-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    width: min(100%, 420px);
    min-height: 58px;

    margin: 28px auto 0;
    padding: 16px 24px;

    border: 1px solid var(--accent);
    border-radius: 3px;
    background: var(--accent);

    color: #090909;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        gap 0.25s ease;
}

.work .work-link span {
    color: inherit;
}

.work .work-link:hover {
    background: transparent;
    color: var(--accent);
    gap: 36px;
}

.work .work-link:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

/* SPIRITUMIND SECTION */

.explore {
    width: 100%;
    padding: 0 6% 100px;
    background: #FFFFFF;
    color: #202321;
    overflow: hidden;
}

.explore-separator {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #E5E5E5;
}

.spiritumind-logo {
    display: block;
    width: clamp(120px, 15vw, 180px);
    height: auto;
    object-fit: contain;
}

.explore-quote {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 85px 30px 75px;
    text-align: center;
}

.quote-mark {
    display: block;
    margin-bottom: 8px;
    color: #28718A;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.8;
}

.explore-quote blockquote {
    color: #252827;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.035em;
}

.quote-credit {
    display: inline-block;
    margin-top: 25px;
    color: #28718A;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.explore-intro {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0 65px;
}

.explore-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 45px;
    color: #777777;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.explore-number {
    color: #28718A;
}

.explore-line {
    width: 34px;
    height: 1px;
    background: #28718A;
}

.explore-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8%;
    align-items: start;
}

.explore-heading h2 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.explore-heading h2 span {
    color: #28718A;
}

.explore-description {
    max-width: 470px;
}

.explore-description p {
    margin-bottom: 18px;
    color: #626562;
    font-size: 0.96rem;
    line-height: 1.9;
}


/* THREE PILLARS */

.explore-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.pillar {
    padding: 35px 28px 40px;
    border-right: 1px solid #DDDDDD;
}

.pillar:first-child {
    padding-left: 0;
}

.pillar:last-child {
    padding-right: 0;
    border-right: none;
}

.pillar-icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 28px;
    fill: none;
    stroke: #28718A;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar-number {
    color: #28718A;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.pillar h3 {
    margin: 10px 0 12px;
    font-size: 1.35rem;
    font-weight: 500;
}

.pillar p {
    max-width: 300px;
    color: #626562;
    font-size: 0.9rem;
    line-height: 1.8;
}


/* FOUNDATION */

.explore-foundation {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 0;
    border-bottom: 1px solid #DDDDDD;
}

.foundation-label {
    color: #28718A;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.foundation-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 500;
}

.foundation-content p {
    max-width: 600px;
    color: #626562;
    font-size: 0.95rem;
    line-height: 1.85;
}


/* CTA */

.explore-action {
    max-width: 1100px;
    margin: 35px auto 0;
    display: flex;
    justify-content: center;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid #28718A;
    border-radius: 3px;
    background: #28718A;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background 0.25s ease,
                color 0.25s ease,
                gap 0.25s ease;
}

.explore-link:hover {
    background: #FFFFFF;
    color: #28718A;
    gap: 32px;
}

.explore-link:focus-visible {
    outline: 2px solid #202321;
    outline-offset: 4px;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .explore {
        padding-right: 24px;
        padding-left: 24px;
    }

    .explore-separator {
        min-height: 120px;
    }

    .explore-quote {
        padding: 65px 5px;
    }

    .explore-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .explore-pillars {
        grid-template-columns: 1fr;
    }

    .pillar,
    .pillar:first-child,
    .pillar:last-child {
        padding: 28px 0;
        border-right: none;
        border-bottom: 1px solid #DDDDDD;
    }

    .pillar:last-child {
        border-bottom: none;
    }

    .pillar-icon {
        margin-bottom: 18px;
    }

    .explore-foundation {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .explore-quote {
        padding: 55px 0;
    }

    .quote-mark {
        font-size: 4rem;
    }

    .explore-quote blockquote {
        font-size: 1.45rem;
    }

    .explore-heading h2 {
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .explore-description p,
    .foundation-content p {
        font-size: 0.9rem;
    }

    .explore-link {
        width: 100%;
        gap: 18px;
    }
}

/* LIFE SECTION */

.life {
    width: 100%;
    padding: 0 6% 110px;
    background: #090909;
    color: #F5F5F5;
    overflow: hidden;
}

.life-label {
    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 0;

    color: #A8A8A8;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.life-label > span:first-child {
    color: #BE9B6C;
}

.life-label-line {
    width: 34px;
    height: 1px;
    background: #BE9B6C;
}

.life-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #171717;
}

.life-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transition: transform 0.5s ease;
}

.life-image:hover img {
    transform: scale(1.015);
}

.life-content {
    display: grid;
    grid-template-columns: 1.1fr 0.6fr;
    align-items: start;
    gap: 8%;

    max-width: 1200px;
    margin: 0 auto;
    padding-top: 42px;
}

.life-content h2 {
    max-width: 800px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.life-content h2 span {
    color: #BE9B6C;
}

.life-content p {
    max-width: 400px;
    padding-top: 8px;

    color: #A8A8A8;
    font-size: 0.98rem;
    line-height: 1.9;
}


/* LIFE RESPONSIVE */

@media (max-width: 768px) {
    .life {
        padding-right: 24px;
        padding-bottom: 75px;
        padding-left: 24px;
    }

    .life-label {
        padding: 28px 0;
    }

    .life-image {
        aspect-ratio: 4 / 3;
    }

    .life-image img {
        object-position: center;
    }

    .life-content {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 30px;
    }

    .life-content h2 {
        font-size: clamp(2.3rem, 7vw, 3.8rem);
    }

    .life-content p {
        padding-top: 0;
    }
}


@media (max-width: 480px) {
    .life-image {
        aspect-ratio: 4 / 3;
    }

    .life-image img {
        object-position: 75% center;
    }
}


    .life-content h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .life-content p {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .life-image img {
        transition: none;
    }
}


/* CONNECT SECTION */

.connect {
    width: 100%;
    padding: 0 6% 100px;
    background: #090909;
    color: #F5F5F5;
}

.connect-label {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 0;

    color: #A8A8A8;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.connect-label > span:first-child {
    color: #BE9B6C;
}

.connect-label-line {
    width: 34px;
    height: 1px;
    background: #BE9B6C;
}

.connect-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 65px 0 30px;
}

.connect-eyebrow {
    margin-bottom: 25px;
    color: #BE9B6C;
    font-size: 0.7rem;
    letter-spacing: 0.17em;
}

.connect-content h2 {
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.connect-content h2 span {
    color: #BE9B6C;
}

.connect-description {
    max-width: 500px;
    margin-top: 28px;
    color: #A8A8A8;
    font-size: 0.98rem;
    line-height: 1.9;
}


/* CONTACT BUTTONS */

.connect-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.connect-contact-links .connect-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    min-height: 52px;
    padding: 14px 22px;

    border: 1px solid #BE9B6C;
    border-radius: 3px;
    background: #BE9B6C;
    color: #090909;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;

    transition: background 0.25s ease,
                color 0.25s ease,
                gap 0.25s ease;
}

.connect-contact-links .connect-link span {
    font-size: 1.1rem;
}

.connect-contact-links .connect-link:hover {
    background: transparent;
    color: #BE9B6C;
    gap: 32px;
}

.connect-contact-links .connect-email {
    background: transparent;
    color: #BE9B6C;
}

.connect-contact-links .connect-email:hover {
    background: #BE9B6C;
    color: #090909;
}

.connect-contact-links .connect-link:focus-visible,
.connect-social-links a:focus-visible,
.back-to-top:focus-visible,
.footer-signature:focus-visible {
    outline: 2px solid #BE9B6C;
    outline-offset: 4px;
}


/* SOCIAL LINKS */

.connect-socials {
    margin-top: 42px;
}

.connect-socials-label {
    margin-bottom: 18px;
    color: #777777;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.connect-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.connect-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 7px;

    border-bottom: 1px solid #414141;
    color: #F5F5F5;
    font-size: 0.85rem;

    transition: color 0.25s ease,
                border-color 0.25s ease;
}

.connect-social-links a span {
    color: #BE9B6C;
}

.connect-social-links a:hover {
    color: #BE9B6C;
    border-color: #BE9B6C;
}


/* FOOTER */

.site-footer {
    width: 100%;
    padding: 35px 6% 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #090909;
    color: #F5F5F5;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    align-items: center;
    gap: 35px;

    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 35px;
}

.footer-signature {
    display: inline-block;
    width: fit-content;
}

.footer-signature img {
    display: block;
    width: 105px;
    height: auto;
    object-fit: contain;
}

.footer-description {
    max-width: 300px;
    color: #A8A8A8;
    font-size: 0.82rem;
    line-height: 1.8;
}

.back-to-top {
    color: #BE9B6C;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    transition: color 0.25s ease;
}

.back-to-top:hover {
    color: #F5F5F5;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;

    max-width: 1200px;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright,
.footer-identity {
    color: #777777;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .connect {
        padding-right: 24px;
        padding-bottom: 75px;
        padding-left: 24px;
    }

    .connect-content {
        padding-top: 45px;
    }

    .connect-content h2 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
    }

    .footer-top {
        grid-template-columns: 1fr auto;
        gap: 22px;
    }

    .footer-description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .back-to-top {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 480px) {
    .connect-content h2 {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
    }

    .connect-description {
        font-size: 0.9rem;
    }

    .connect-contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .connect-contact-links .connect-link {
        width: 100%;
    }

    .connect-socials {
        margin-top: 32px;
    }

    .connect-social-links {
        gap: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-description,
    .back-to-top {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
