/* =========================================================
   CASE STUDY — SHARED DESIGN SYSTEM
   Vishnu Vardhan Chowdam
========================================================= */

:root {
    --cs-bg: #0b0b0b;
    --cs-surface: #111111;
    --cs-surface-2: #171717;
    --cs-surface-3: #1d1d1d;

    --cs-text: #f5f3ee;
    --cs-muted: #a1a1a1;
    --cs-muted-2: #686868;

    --cs-line: rgba(255, 255, 255, 0.10);
    --cs-line-light: rgba(255, 255, 255, 0.16);

    --cs-accent: #d7ff4f;

    --cs-radius-sm: 14px;
    --cs-radius-md: 22px;
    --cs-radius-lg: 32px;

    --cs-container: 1240px;

    --cs-nav-height: 76px;

    --cs-transition:
        400ms cubic-bezier(0.22, 1, 0.36, 1);
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cs-bg);
    color: var(--cs-text);

    font-family:
        "DM Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

button {
    font: inherit;
}

::selection {
    background: var(--cs-accent);
    color: #0b0b0b;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.cs-container {
    width: min(
        calc(100% - 48px),
        var(--cs-container)
    );

    margin-inline: auto;
}


/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cs-bg);
}

::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484848;
}


/* =========================================================
   TOP PROGRESS BAR
========================================================= */

.cs-progress {
    position: fixed;
    inset: 0 0 auto 0;

    width: 0;
    height: 3px;

    background: var(--cs-accent);

    z-index: 9999;

    transform-origin: left;
}


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

.cs-nav {
    position: fixed;

    top: 18px;
    left: 50%;

    width: min(
        calc(100% - 36px),
        1180px
    );

    height: var(--cs-nav-height);

    transform: translateX(-50%);

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

    padding: 0 14px 0 24px;

    background: rgba(17, 17, 17, 0.76);

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

    border-radius: 999px;

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.30);

    z-index: 1000;

    transition:
        background var(--cs-transition),
        border-color var(--cs-transition),
        box-shadow var(--cs-transition);
}

.cs-nav.scrolled {
    background: rgba(11, 11, 11, 0.92);

    border-color:
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.48);
}

.cs-nav-brand {
    display: inline-flex;
    align-items: center;

    font-family:
        "Space Grotesk",
        sans-serif;

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

    letter-spacing: -0.02em;
}

.cs-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-nav-links a {
    position: relative;

    padding: 10px 14px;

    color: var(--cs-muted);

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

    border-radius: 999px;

    transition:
        color var(--cs-transition),
        background var(--cs-transition);
}

.cs-nav-links a:hover {
    color: var(--cs-text);
    background: rgba(255, 255, 255, 0.06);
}

.cs-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 17px;

    color: #0b0b0b;
    background: var(--cs-accent);

    border-radius: 999px;

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

    transition:
        transform var(--cs-transition),
        box-shadow var(--cs-transition);
}

.cs-nav-back:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(215, 255, 79, 0.18);
}


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

.cs-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

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

    color: var(--cs-text);

    background: var(--cs-surface-2);

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

    border-radius: 50%;

    cursor: pointer;
}

.cs-mobile-menu {
    display: none;
}


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

.cs-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding:
        170px
        0
        100px;

    overflow: hidden;
}

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

    position: absolute;

    width: 700px;
    height: 700px;

    top: 10%;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(215, 255, 79, 0.09),
            transparent 68%
        );

    pointer-events: none;
}

.cs-hero-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    gap: 90px;

    align-items: center;
}

.cs-hero-copy {
    position: relative;
    z-index: 2;
}

.cs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 28px;

    color: var(--cs-accent);

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

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.cs-eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    background: var(--cs-accent);

    border-radius: 50%;

    box-shadow:
        0 0 20px rgba(215, 255, 79, 0.55);
}

.cs-hero h1 {
    max-width: 900px;

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(54px, 7vw, 104px);

    font-weight: 500;

    line-height: 0.94;

    letter-spacing: -0.065em;
}

.cs-hero h1 span {
    color: var(--cs-muted-2);
}

.cs-hero-description {
    max-width: 650px;

    margin: 34px 0 0;

    color: var(--cs-muted);

    font-size:
        clamp(17px, 1.5vw, 21px);

    line-height: 1.7;
}

.cs-hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 34px;
}

.cs-meta-pill {
    padding: 9px 14px;

    color: var(--cs-muted);

    background:
        rgba(255, 255, 255, 0.045);

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

    border-radius: 999px;

    font-size: 12px;
}

.cs-hero-visual {
    position: relative;

    display: flex;
    justify-content: center;

    min-height: 520px;

    perspective: 1200px;
}

.cs-hero-image {
    position: relative;

    width: 100%;

    max-width: 570px;

    overflow: hidden;

    border-radius: var(--cs-radius-lg);

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

    background: var(--cs-surface);

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.48);

    transform:
        perspective(1200px)
        rotateY(-5deg)
        rotateX(2deg);

    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-hero-image:hover {
    transform:
        perspective(1200px)
        rotateY(0deg)
        rotateX(0deg)
        translateY(-8px);
}

.cs-hero-image img {
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-hero-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   PROJECT INFO STRIP
========================================================= */

.cs-info-strip {
    padding: 0 0 110px;
}

.cs-info-grid {
    display: grid;

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

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

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

.cs-info-item {
    min-height: 125px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px;

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

.cs-info-item:last-child {
    border-right: 0;
}

.cs-info-label {
    margin-bottom: 8px;

    color: var(--cs-muted-2);

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

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.cs-info-value {
    color: var(--cs-text);

    font-size: 15px;
}


/* =========================================================
   SECTION SYSTEM
========================================================= */

.cs-section {
    position: relative;

    padding: 130px 0;
}

.cs-section + .cs-section {
    border-top:
        1px solid rgba(255, 255, 255, 0.045);
}

.cs-section-header {
    display: grid;

    grid-template-columns:
        0.4fr 1fr;

    gap: 80px;

    margin-bottom: 70px;
}

.cs-section-number {
    color: var(--cs-accent);

    font-family:
        "Space Grotesk",
        sans-serif;

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

    letter-spacing: 0.12em;
}

.cs-section-title {
    max-width: 820px;

    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(38px, 5vw, 68px);

    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -0.055em;
}

.cs-section-intro {
    max-width: 700px;

    margin-top: 25px;

    color: var(--cs-muted);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   TEXT BLOCK
========================================================= */

.cs-copy {
    max-width: 820px;

    color: var(--cs-muted);

    font-size: 18px;

    line-height: 1.85;
}

.cs-copy p {
    margin: 0 0 24px;
}

.cs-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TWO COLUMN CONTENT
========================================================= */

.cs-two-column {
    display: grid;

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

    gap: 28px;
}

.cs-column-card {
    padding: 38px;

    background: var(--cs-surface);

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

    border-radius: var(--cs-radius-md);

    transition:
        transform var(--cs-transition),
        border-color var(--cs-transition),
        background var(--cs-transition);
}

.cs-column-card:hover {
    transform: translateY(-6px);

    background: var(--cs-surface-2);

    border-color:
        var(--cs-line-light);
}

.cs-column-card h3 {
    margin: 0 0 16px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 24px;
    font-weight: 500;

    letter-spacing: -0.03em;
}

.cs-column-card p {
    margin: 0;

    color: var(--cs-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   IMAGE SHOWCASE
========================================================= */

.cs-showcase {
    position: relative;

    overflow: hidden;

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

    border-radius: var(--cs-radius-lg);

    background: var(--cs-surface);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.30);
}

.cs-showcase img {
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-showcase:hover img {
    transform: scale(1.018);
}

.cs-showcase + .cs-showcase {
    margin-top: 28px;
}


/* =========================================================
   IMAGE GRID
========================================================= */

.cs-image-grid {
    display: grid;

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

    gap: 24px;
}

.cs-image-grid.three {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.cs-image-card {
    overflow: hidden;

    background: var(--cs-surface);

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

    border-radius: var(--cs-radius-md);
}

.cs-image-card img {
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-image-card:hover img {
    transform: scale(1.025);
}


/* =========================================================
   FEATURE IMAGE
========================================================= */

.cs-feature-image {
    margin-top: 60px;
}

.cs-feature-image img {
    width: 100%;

    border-radius: var(--cs-radius-lg);

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

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TAGS
========================================================= */

.cs-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;
}

.cs-tag {
    padding: 8px 13px;

    color: var(--cs-muted);

    background:
        rgba(255, 255, 255, 0.045);

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

    border-radius: 999px;

    font-size: 12px;
}


/* =========================================================
   LIST
========================================================= */

.cs-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.cs-list li {
    position: relative;

    padding: 17px 0 17px 25px;

    color: var(--cs-muted);

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

    font-size: 15px;

    line-height: 1.7;
}

.cs-list li:first-child {
    border-top:
        1px solid var(--cs-line);
}

.cs-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 27px;

    width: 6px;
    height: 6px;

    background: var(--cs-accent);

    border-radius: 50%;
}


/* =========================================================
   PERSONA CARD
========================================================= */

.cs-persona {
    display: grid;

    grid-template-columns:
        280px 1fr;

    overflow: hidden;

    background: var(--cs-surface);

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

    border-radius: var(--cs-radius-lg);
}

.cs-persona-image {
    min-height: 380px;

    overflow: hidden;
}

.cs-persona-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cs-persona-content {
    padding: 50px;
}

.cs-persona-name {
    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 38px;

    font-weight: 500;

    letter-spacing: -0.04em;
}

.cs-persona-role {
    margin-top: 7px;

    color: var(--cs-accent);

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

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cs-persona-description {
    max-width: 700px;

    margin-top: 25px;

    color: var(--cs-muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   PERSONA DETAILS
========================================================= */

.cs-persona-details {
    display: grid;

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

    gap: 25px;

    margin-top: 38px;
}

.cs-persona-detail h4 {
    margin: 0 0 10px;

    color: var(--cs-text);

    font-size: 13px;
}

.cs-persona-detail p {
    margin: 0;

    color: var(--cs-muted);

    font-size: 14px;

    line-height: 1.7;
}


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

.cs-process {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}

.cs-process-item {
    position: relative;

    min-height: 180px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--cs-surface);

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

    border-radius: var(--cs-radius-md);

    transition:
        transform var(--cs-transition),
        background var(--cs-transition),
        border-color var(--cs-transition);
}

.cs-process-item:hover {
    transform: translateY(-7px);

    background: var(--cs-surface-2);

    border-color:
        rgba(215, 255, 79, 0.25);
}

.cs-process-number {
    color: var(--cs-accent);

    font-family:
        "Space Grotesk",
        sans-serif;

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

.cs-process-item h3 {
    margin: 25px 0 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 21px;
    font-weight: 500;

    letter-spacing: -0.025em;
}


/* =========================================================
   DESIGN SYSTEM
========================================================= */

.cs-design-system {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 24px;
}

.cs-design-card {
    padding: 36px;

    background: var(--cs-surface);

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

    border-radius: var(--cs-radius-md);
}

.cs-design-card h3 {
    margin: 0 0 25px;

    font-family:
        "Space Grotesk",
        sans-serif;

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


/* =========================================================
   COLOR SWATCHES
========================================================= */

.cs-color-grid {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.cs-color {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.cs-color-swatch {
    width: 80px;
    height: 80px;

    border-radius: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.14);
}

.cs-color-code {
    color: var(--cs-muted);

    font-family:
        "Space Grotesk",
        monospace;

    font-size: 11px;
}


/* =========================================================
   QUOTE
========================================================= */

.cs-quote {
    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}

.cs-quote-mark {
    margin-bottom: 22px;

    color: var(--cs-accent);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 55px;

    line-height: 1;
}

.cs-quote p {
    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(28px, 4vw, 54px);

    line-height: 1.12;

    letter-spacing: -0.045em;
}


/* =========================================================
   FINAL UI SECTION
========================================================= */

.cs-final-ui {
    padding-bottom: 150px;
}

.cs-final-ui .cs-showcase {
    margin-top: 50px;
}


/* =========================================================
   NEXT PROJECT
========================================================= */

.cs-next {
    padding: 100px 0 130px;

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

    background: var(--cs-surface);
}

.cs-next-label {
    margin-bottom: 22px;

    color: var(--cs-muted-2);

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

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.cs-next-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.cs-next-title {
    margin: 0;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(44px, 7vw, 92px);

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -0.065em;

    transition:
        color var(--cs-transition);
}

.cs-next-link:hover .cs-next-title {
    color: var(--cs-accent);
}

.cs-next-arrow {
    flex: 0 0 auto;

    width: 68px;
    height: 68px;

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

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

    border-radius: 50%;

    font-size: 25px;

    transition:
        transform var(--cs-transition),
        background var(--cs-transition),
        color var(--cs-transition);
}

.cs-next-link:hover .cs-next-arrow {
    transform: translate(5px, -5px);

    background: var(--cs-accent);

    color: #0b0b0b;
}


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

.cs-footer {
    padding: 34px 0;

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

    color: var(--cs-muted-2);

    font-size: 12px;
}

.cs-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.cs-footer a {
    transition:
        color var(--cs-transition);
}

.cs-footer a:hover {
    color: var(--cs-text);
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.cs-reveal {
    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}

.cs-reveal-left {
    opacity: 0;

    transform:
        translateX(-45px);

    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal-left.visible {
    opacity: 1;

    transform:
        translateX(0);
}

.cs-reveal-right {
    opacity: 0;

    transform:
        translateX(45px);

    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal-right.visible {
    opacity: 1;

    transform:
        translateX(0);
}


/* =========================================================
   STAGGER DELAYS
========================================================= */

.cs-delay-1 {
    transition-delay: 80ms;
}

.cs-delay-2 {
    transition-delay: 160ms;
}

.cs-delay-3 {
    transition-delay: 240ms;
}

.cs-delay-4 {
    transition-delay: 320ms;
}

.cs-delay-5 {
    transition-delay: 400ms;
}


/* =========================================================
   IMAGE LOADING EFFECT
========================================================= */

.cs-image-reveal {
    overflow: hidden;
}

.cs-image-reveal img {
    opacity: 0;

    transform:
        scale(1.06);

    transition:
        opacity 900ms ease,
        transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-image-reveal.loaded img {
    opacity: 1;

    transform:
        scale(1);
}


/* =========================================================
   FLOATING ELEMENT
========================================================= */

.cs-floating {
    animation:
        csFloat 6s ease-in-out infinite;
}

@keyframes csFloat {
    0%,
    100% {
        transform: translateY(0);
    }

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


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

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

        gap: 60px;
    }

    .cs-hero {
        padding-top: 150px;
    }

    .cs-hero-copy {
        max-width: 850px;
    }

    .cs-hero-visual {
        min-height: auto;
    }

    .cs-hero-image {
        max-width: 720px;

        transform:
            perspective(1200px)
            rotateY(-3deg);
    }

    .cs-section-header {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .cs-process {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

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

    .cs-info-item:nth-child(2) {
        border-right: 0;
    }

    .cs-info-item:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--cs-line);
    }

    .cs-design-system {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 800px) {

    .cs-container {
        width:
            min(
                calc(100% - 32px),
                var(--cs-container)
            );
    }

    .cs-nav {
        top: 10px;

        width:
            calc(100% - 20px);

        height: 64px;

        padding:
            0
            9px
            0
            18px;
    }

    .cs-nav-links,
    .cs-nav-back {
        display: none;
    }

    .cs-mobile-toggle {
        display: flex;
    }

    .cs-mobile-menu {
        position: fixed;

        top: 84px;
        left: 10px;
        right: 10px;

        padding: 15px;

        background:
            rgba(17, 17, 17, 0.95);

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

        border-radius: 24px;

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        box-shadow:
            0 30px 70px rgba(0, 0, 0, 0.45);

        z-index: 999;

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity var(--cs-transition),
            visibility var(--cs-transition),
            transform var(--cs-transition);
    }

    .cs-mobile-menu.open {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(0);
    }

    .cs-mobile-menu a {
        display: block;

        padding: 14px 15px;

        color: var(--cs-muted);

        border-radius: 14px;

        font-size: 14px;
    }

    .cs-mobile-menu a:hover {
        color: var(--cs-text);

        background:
            rgba(255, 255, 255, 0.05);
    }

    .cs-hero {
        min-height: auto;

        padding:
            145px
            0
            80px;
    }

    .cs-hero h1 {
        font-size:
            clamp(48px, 15vw, 76px);
    }

    .cs-hero-description {
        font-size: 16px;
    }

    .cs-hero-image {
        border-radius: 24px;

        transform: none;
    }

    .cs-section {
        padding: 90px 0;
    }

    .cs-section-header {
        margin-bottom: 45px;
    }

    .cs-section-title {
        font-size:
            clamp(36px, 11vw, 56px);
    }

    .cs-copy {
        font-size: 16px;
    }

    .cs-two-column,
    .cs-image-grid,
    .cs-image-grid.three {
        grid-template-columns: 1fr;
    }

    .cs-column-card {
        padding: 28px;
    }

    .cs-persona {
        grid-template-columns: 1fr;
    }

    .cs-persona-image {
        min-height: 320px;
    }

    .cs-persona-content {
        padding: 30px;
    }

    .cs-persona-name {
        font-size: 32px;
    }

    .cs-persona-details {
        grid-template-columns: 1fr;
    }

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

    .cs-process-item {
        min-height: 160px;

        padding: 23px;
    }

    .cs-info-grid {
        grid-template-columns: 1fr;
    }

    .cs-info-item,
    .cs-info-item:nth-child(2) {
        border-right: 0;
        border-bottom:
            1px solid var(--cs-line);
    }

    .cs-info-item:last-child {
        border-bottom: 0;
    }

    .cs-next {
        padding: 80px 0 100px;
    }

    .cs-next-link {
        align-items: center;
    }

    .cs-next-title {
        font-size:
            clamp(42px, 13vw, 70px);
    }

    .cs-next-arrow {
        width: 55px;
        height: 55px;

        font-size: 20px;
    }

    .cs-footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }
}


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

@media (max-width: 520px) {

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

    .cs-meta-pill {
        font-size: 11px;
    }

    .cs-design-card {
        padding: 26px;
    }

    .cs-color-swatch {
        width: 65px;
        height: 65px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

    .cs-reveal,
    .cs-reveal-left,
    .cs-reveal-right {
        opacity: 1;
        transform: none;
    }

    .cs-image-reveal img {
        opacity: 1;
        transform: none;
    }
}