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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: #131314;
    color: #e4e2e2;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}

body::selection,
body ::selection {
    background-color: #f0bf5c;
    color: #412d00;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
blockquote {
    margin: 0;

    font-size: inherit;
    font-weight: inherit;
}

ul {
    list-style: none;
    padding: 0;
}

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

button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-align: inherit;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

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

.pt-20 {
    padding-top: 100px;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.-top-24 {
    top: -96px;
}

.-right-24 {
    right: -96px;
}

.-bottom-24 {
    bottom: -96px;
}

.-left-24 {
    left: -96px;
}

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

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

.col-span-2 {
    grid-column: span 2 / span 2;
}

.w-16 {
    width: 64px;
}

.w-64 {
    width: 256px;
}

.w-full {
    width: 100%;
}

.h-20 {
    height: 80px;
}

.h-64 {
    height: 256px;
}

.h-full {
    height: 100%;
}

.max-w-2xl {
    max-width: 672px;
}

.max-w-5xl {
    max-width: 1024px;
}

.max-w-7xl {
    max-width: 1280px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-margin {
    padding-left: max(24px, 4vw);
    padding-right: max(24px, 4vw);
}

.px-md {
    padding-left: 24px;
    padding-right: 24px;
}

.px-lg {
    padding-left: 48px;
    padding-right: 48px;
}

.px-xl {
    padding-left: 80px;
    padding-right: 80px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-sm {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-xl {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.p-lg {
    padding: 48px;
}

.pt-lg {
    padding-top: 48px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-lg {
    margin-bottom: 48px;
}

.mb-xl {
    margin-bottom: 80px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-lg {
    margin-top: 48px;
}

.mt-xl {
    margin-top: 80px;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-md {
    gap: 24px;
}

.gap-lg {
    gap: 48px;
}

.gap-gutter {
    gap: 32px;
}

.translate-y-4 {
    transform: translateY(16px);
}

.rounded-lg {
    border-radius: 8px;
}

.rounded-xl {
    border-radius: 12px;
}

.rounded-3xl {
    border-radius: 24px;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.blur-3xl {
    filter: blur(64px);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.opacity-0 {
    opacity: 0;
}

.opacity-60 {
    opacity: 0.6;
}

.bg-cover {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-center {
    background-position: center;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: 14px;
    line-height: 20px;
}

.text-lg {
    font-size: 18px;
    line-height: 28px;
}

.bg-background {
    background-color: #131314;
}

.bg-background\/80,
.dark\:bg-background\/80 {
    background-color: rgba(19, 19, 20, 0.8);
}

.bg-primary {
    background-color: #f0bf5c;
}

.bg-primary\/5 {
    background-color: rgba(240, 191, 92, 0.05);
}

.bg-primary\/10 {
    background-color: rgba(240, 191, 92, 0.1);
}

.bg-surface-container-lowest,
.dark\:bg-surface-container-lowest {
    background-color: #0d0e0f;
}

.border-outline {
    border-color: #9b8f7d;
}

.border-outline-variant {
    border-color: #4e4637;
}

.border-primary {
    border-color: #f0bf5c;
}

.border-l-primary {
    border-left-color: #f0bf5c;
}

.border-primary\/20 {
    border-color: rgba(240, 191, 92, 0.2);
}

.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.text-on-background {
    color: #e4e2e2;
}

.text-on-primary {
    color: #412d00;
}

.text-on-primary-fixed {
    color: #261900;
}

.text-on-surface {
    color: #e4e2e2;
}

.text-on-surface-variant {
    color: #d2c5b1;
}

.text-primary {
    color: #f0bf5c;
}

.bg-gradient-to-t.from-background.via-background\/20.to-transparent {
    background-image: linear-gradient(to top, #131314 0%, rgba(19, 19, 20, 0.92) 35%, rgba(19, 19, 20, 0.35) 70%, transparent 100%);
}

.font-display-2xl,
.font-display-xl,
.font-headline-lg,
.font-headline-md {
    font-family: 'Space Grotesk', sans-serif;
}

.font-body-lg,
.font-body-md,
.font-label-caps {
    font-family: 'Manrope', sans-serif;
}

.font-headline-md {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.01em;
    font-weight: 600;
}

@media (min-width: 1025px) {
    .font-headline-md {
        font-size: 32px;
        line-height: 40px;
    }
}

.text-label-caps {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.text-display-xl-mobile {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.text-display-xl {
    font-size: 72px;
    line-height: 80px;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.text-headline-md {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 500;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.hover\:bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hover\:border-primary:hover {
    border-color: #f0bf5c;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:text-primary:hover {
    color: #f0bf5c;
}

.hover\:translate-x-1:hover {
    transform: translateX(4px);
}

.active\:scale-95:active {
    transform: scale(0.95);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
    display: flex;
    justify-content: center;
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group\/btn:hover .group-hover\/btn\:translate-x-1 {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }

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

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .md\:p-xl {
        padding: 80px;
    }

    .md\:w-auto {
        width: auto;
    }

    .md\:text-display-2xl {
        font-size: 96px;
        line-height: 104px;
        letter-spacing: -0.04em;
        font-weight: 700;
    }

    .md\:text-headline-lg {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -0.02em;
        font-weight: 500;
    }
}

.gold-gradient {
    background: linear-gradient(135deg, #f0bf5c 0%, #c89b3c 100%);
}

.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 155, 60, 0.1);
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #f0bf5c;
    border-radius: 10px;
}

.project-bg-1 {
    background-color: #2a2117;
}

.project-bg-2 {
    background-color: #1f2420;
}

.project-bg-3 {
    background-color: #211f2a;
}

.project-bg-4 {
    background-color: #1f1f1f;
}

.project-card-hidden {
    display: none;
}

.project-card-height {
    height: 450px;
}

.icon-20 {
    font-size: 20px;
}

.divider-2 {
    height: 2px;
}

.label-10 {
    font-size: 10px;
}

.portfolio-hero-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.portfolio-hero-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #f0bf5c;
    margin-bottom: 16px;
}

.portfolio-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 32px;
}

@media (min-width: 1025px) {
    .portfolio-hero-title {
        font-size: 68px;
        line-height: 76px;
        letter-spacing: -0.03em;
        font-weight: 700;
    }
}

.portfolio-filter-wrap {
    gap: 16px;
    margin-top: 48px;
}

.portfolio-filter-btn {
    padding: 8px 48px;
}

.portfolio-grid-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.portfolio-card-content {
    padding: 48px;
    background: linear-gradient(to top, rgba(19, 19, 20, 0.85), rgba(19, 19, 20, 0.55) 60%, transparent);
}

.portfolio-card-tags {
    gap: 16px;
    margin-bottom: 16px;
}

.portfolio-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    background-color: rgba(240, 191, 92, 0.1);
    color: #f0bf5c;
    padding: 4px 12px;
}

.portfolio-tag-standalone {
    margin-bottom: 16px;
}

.portfolio-card-dot {
    color: #d2c5b1;
    font-family: 'Manrope', sans-serif;
}

.portfolio-card-client {
    font-family: 'Manrope', sans-serif;
    color: #d2c5b1;
}

.portfolio-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: #e4e2e2;
    margin-bottom: 16px;
}

@media (min-width: 1025px) {
    .portfolio-card-title {
        font-size: 28px;
        line-height: 36px;
    }
}

.portfolio-card-tech {
    gap: 16px;
    color: #d2c5b1;
}

.portfolio-card-cta {
    padding: 12px 48px;
    gap: 8px;
}

.portfolio-card-cta-full {
    padding-top: 12px;
    padding-bottom: 12px;
}

.portfolio-card-link {
    color: #f0bf5c;
}

.portfolio-impact-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #0d0e0f;
}

.portfolio-impact-header {
    margin-bottom: 80px;
    gap: 48px;
}

.portfolio-impact-text {
    max-width: 672px;
}

.portfolio-impact-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #f0bf5c;
    margin-bottom: 16px;
}

.portfolio-impact-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 16px;
}

@media (min-width: 1025px) {
    .portfolio-impact-heading {
        font-size: 48px;
        line-height: 56px;
        font-weight: 500;
    }
}

.portfolio-impact-desc {
    font-family: 'Manrope', sans-serif;
    color: #d2c5b1;
}

.portfolio-impact-divider-wrap {
    gap: 16px;
}

.portfolio-impact-divider {
    width: 64px;
    background-color: #f0bf5c;
    margin-bottom: 16px;
}

.portfolio-impact-card {
    padding: 48px;
}

.portfolio-impact-metric {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #f0bf5c;
    margin-bottom: 8px;
}

@media (min-width: 1025px) {
    .portfolio-impact-metric {
        font-size: 72px;
        line-height: 80px;
        letter-spacing: -0.03em;
    }
}

.portfolio-impact-label {
    font-family: 'Manrope', sans-serif;
    color: #d2c5b1;
    margin-bottom: 48px;
}

.portfolio-impact-card-desc {
    font-family: 'Manrope', sans-serif;
    color: #e4e2e2;
}

.portfolio-cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.portfolio-cta-panel {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px;
}

@media (min-width: 768px) {
    .portfolio-cta-panel {
        padding: 80px;
    }
}

.portfolio-cta-glow-1 {
    top: -96px;
    right: -96px;
    width: 256px;
    height: 256px;
    background-color: rgba(240, 191, 92, 0.1);
}

.portfolio-cta-glow-2 {
    bottom: -96px;
    left: -96px;
    width: 256px;
    height: 256px;
    background-color: rgba(240, 191, 92, 0.05);
}

.portfolio-cta-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 48px;
}

@media (min-width: 1025px) {
    .portfolio-cta-heading {
        font-size: 48px;
        line-height: 56px;
        font-weight: 500;
    }
}

.portfolio-cta-desc {
    font-family: 'Manrope', sans-serif;
    color: #d2c5b1;
    margin-bottom: 80px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta-actions {
    gap: 24px;
}

.portfolio-cta-btn-primary {
    padding: 16px 80px;
}

.portfolio-cta-btn-secondary {
    padding: 16px 80px;
}

/* Section spacing must stay a flat 60px top/bottom on tablet and mobile
   (<=1024px) instead of inheriting the desktop 80px on every screen size. */
@media (max-width: 1024px) {

    .portfolio-hero-section,
    .portfolio-grid-section,
    .portfolio-impact-section,
    .portfolio-cta-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .portfolio-impact-header {
        margin-bottom: 40px;
    }

    .portfolio-cta-desc {
        margin-bottom: 40px;
    }
}

/* App-like mobile pass: tighter rhythm and smaller display type below 700px. */
@media (max-width: 699px) {
    .portfolio-hero-section {
        padding-top: 100px;
        padding-bottom: 32px;
    }

    .portfolio-grid-section,
    .portfolio-impact-section,
    .portfolio-cta-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .portfolio-hero-title {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 20px;
    }

    .portfolio-card-content {
        padding: 24px;
    }

    .portfolio-card-title {
        font-size: 20px;
        line-height: 26px;
    }

    .portfolio-impact-heading,
    .portfolio-cta-heading {
        font-size: 26px;
        line-height: 32px;
    }

    .portfolio-impact-header {
        margin-bottom: 24px;
        gap: 24px;
    }

    .portfolio-cta-panel {
        padding: 28px;
    }

    .portfolio-cta-heading {
        margin-bottom: 24px;
    }

    .portfolio-cta-desc {
        margin-bottom: 24px;
    }
}

.portfolio-footer-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: #f0bf5c;
    margin-bottom: 24px;
}