:root {
    /* Colors */
    --primary-color: #0047ff;
    --primary-hover: #0038cc;
    --bg-light: #f8f9fa;
    --bg-dark: #050505;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --black: #000000;

    /* Fonts */
    --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "Source Code Pro", monospace;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
}

/* =========================================
           FONT DECLARATIONS
           ========================================= */
/* Only use this if you have the actual rinter font files */
@font-face {
    font-family: 'rinter';
    src: url('../assets/fonts/rinter.woff2') format('woff2'),
        url('../assets/fonts/rinter.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

/* =========================================
           GLOBAL RESET & BASIC STYLES
           ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
}

p {
    font-family: var(--font-body);
}

/* ── Preloader ── */
.overflow-hidden {
    overflow: hidden !important;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.preloader__counter {
    font-family: var(--font-main);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--white);
}

.preloader__bar-track {
    width: min(300px, 60vw);
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader__bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--black), var(--white));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.preloader__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================
           REUSABLE COMPONENTS
           ========================================= */

/* Buttons */
.btn {
    font-family: var(--font-mono);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.btn-dots {
    display: flex;
    gap: 2px;
}

.btn-dots span {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-secondary:hover {
    opacity: 0.85;
}

.white-title {
    max-width: 980px;
    margin: 0 auto 34px;
    text-align: center;
}

.white-title h2 {
    font-family: var(--font-main);
    text-transform: capitalize;
    font-size: clamp(28px, 4vw, 55px);
    line-height: clamp(32px, 22.3px + 3.02vw, 61px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--white);
    max-width: 920px;
    margin: 0 auto 14px;
}

.white-title p {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: clamp(26px, 24.7px + 0.42vw, 30px);
    color: var(--white);
    max-width: 760px;
    margin: 0 auto;
}


.black-title {
    max-width: 980px;
    margin: 0 auto 34px;
    text-align: center;
}

.black-title h2 {
    font-family: var(--font-main);
    text-transform: capitalize;
    font-size: clamp(28px, 4vw, 55px);
    line-height: clamp(32px, 22.3px + 3.02vw, 61px);

    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--black);
    max-width: 920px;
    margin: 0 auto 14px;
}

.black-title p {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: clamp(26px, 24.7px + 0.42vw, 30px);
    color: var(--black);
    max-width: 760px;
    margin: 0 auto;
}

/* =========================================
    LAYOUT UTILITIES
           ========================================= */
.container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 180px;
}

.portfolio-eyebrow-white {
    font-family: "Source Code Pro", monospace;
    font-size: clamp(14px, 1.125rem + 0.635vw, 15px);
    font-weight: 400;
    letter-spacing: clamp(-0.42px, -0.03em, -0.2px);
    text-transform: uppercase;
    color: #ffffffb3;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.portfolio-eyebrow-white-left {
    font-family: "Source Code Pro", monospace;
    font-size: clamp(14px, 1.125rem + 0.635vw, 15px);
    font-weight: 400;
    letter-spacing: clamp(-0.42px, -0.03em, -0.2px);
    text-transform: uppercase;
    color: #ffffffb3;
    margin-bottom: 24px;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 15px;
}
.portfolio-eyebrow-black {
    font-family: "Source Code Pro", monospace;
    font-size: clamp(14px, 1.125rem + 0.635vw, 15px);
    font-weight: 400;
    letter-spacing: clamp(-0.42px, -0.03em, -0.2px);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}